Adapter Testing
From CONTRIBUTING.md and the Adapter Playbook:
Type Check
bash
pnpm typecheckAdapter Tests
bash
# OpenClaw adapter
npm --prefix components/tokenpilot/adapters/openclaw test
# Codex adapter
npm --prefix components/tokenpilot/adapters/codex test
# Claude Code adapter
npm --prefix components/tokenpilot/adapters/claude-code testDoctor Self-Check
Each adapter provides a doctor command for runtime self-verification:
bash
lightmem2 <host> doctorOr per-adapter:
bash
npm --prefix components/tokenpilot/adapters/openclaw run doctor:openclaw
npm --prefix components/tokenpilot/adapters/codex run doctor:codex
npm --prefix components/tokenpilot/adapters/claude-code run doctor:claude-codeTest directories exist at adapters/<host>/tests/.