What's Changed
Bug Fixes
- Soft-fail for shell exit code 1:
ctx_executeno longer reports grep/ripgrep "no matches" (exit code 1 with stdout) as errors. Extracted into pureclassifyNonZeroExit()function with full test coverage. - Hook PATH reliability: All adapter hook commands now use absolute
nodepaths (node "<pluginRoot>/hooks/<script>.mjs") instead of relying oncontext-modeCLI being in PATH. Fixes "hook error" on systems where/opt/homebrew/binor npm global bin isn't in the hook subprocess PATH.
Internal
- New
src/exit-classify.tsmodule with 10 unit tests - Updated all 3 adapters (Claude Code, VS Code Copilot, Gemini CLI) for absolute path hooks