npm install
npm run buildThe Claude plugin manifest points at dist/index.js, so rebuild after changing
TypeScript source.
For the normal local install/update path:
npm run install:local
npm run update:localinstall:local builds, validates plugin wiring, and symlinks Claude's local
plugin cache to this working tree. update:local first runs git pull --ff-only.
For active development, link Claude's installed plugin cache back to this working tree:
npm run dev:link
npm run dev:watchdev:watch rebuilds dist/index.js as source changes. The symlinked install lets
Claude Code CLI and the Claude Desktop bundled Claude Code binary load the same
working tree.
Portable CI suite:
npm run test:ciThis uses the fake Codex binary and does not require Claude Code, Codex desktop, or live model credentials.
Focused checks:
npm run build
npm test
npm run smoke:mcp
npm run test:reliability
npm run test:stress
npm run test:progress
npm run test:advanced
npm run test:plugin-manifest
npm run validate:pluginReal-runtime checks that do not invoke a model:
npm run test:codex-runtime
npm run test:app-server-contract
npm run test:real-matrixOpt-in live Claude/Codex checks:
npm run test:claude-autodiscovery
npm run test:claude-orchestration
npm run test:claude-session-steering
npm run test:real-app-server-steering
npm run test:claude-large-output
npm run test:claude-real-codex
npm run test:claude-real-sessionThe live tests spend Claude and/or Codex tokens. Use them when changing tool descriptions, session behavior, app-server integration, or real runtime handling.
Longer soak:
CODEX_SUBAGENTS_REAL_SOAK_ROUNDS=10 npm run test:real-soakSet CODEX_SUBAGENTS_REAL_SOAK_FULL=1 to include the real Claude-to-real Codex
scenario in every round.
- Keep defaults read-only unless the change explicitly concerns full-access mode.
- Update tests in the same change as behavior changes.
- Run
npm run test:ci. - Run relevant real-runtime or live tests for the touched area.
- Run
npm run check:dist. - For release candidates, run
npm run test:real-soak. - Check for local artifacts and secrets before committing.
- Push and verify GitHub Actions on Node 20 and Node 22.
- Create the GitHub release from
docs/RELEASE.md.
Tracked wiki source lives in docs/wiki/.
npm run wiki:publishIf GitHub returns Repository not found for the .wiki.git remote, create the
first wiki page once in the GitHub web UI, then rerun npm run wiki:publish.
GitHub does not expose an initialized wiki git remote until that first page
exists.
| Script | Purpose |
|---|---|
npm run build |
Type-check and bundle dist/index.js |
npm run check:dist |
Rebuild and verify committed dist has no diff |
npm run install:local |
Build, validate, and symlink the local Claude plugin install |
npm run update:local |
Pull latest main, then run the local install flow |
npm run dev:link |
Symlink Claude's plugin cache to this repo |
npm run dev:watch |
Rebuild dist on TypeScript changes |
npm run wiki:publish |
Publish docs/wiki/*.md to the GitHub wiki repo |
npm run diagnostics |
Write a sanitized local diagnostics bundle |
npm run validate:plugin |
Run Claude's plugin manifest validator |