Skip to content

CapabilityManagerAgent 1.9.0

Choose a tag to compare

@xhqing xhqing released this 31 Oct 09:57
· 150 commits to main since this release
dd8fd5e

Highlights

  • Control both switches straight from the pi input box: six new slash commands, no need to switch to a terminal.

Details

  • Input-box commands registered in the guard extensions (pi.registerCommand, executed directly — the model is not involved and no tokens are consumed):
    • add-mode-guard.ts → /manual-add (pause automatic add for the current project, optional path), /auto-add (resume), /add-mode (show status).
    • commit-mode-guard.ts → /manual-commit, /auto-commit, /commit-mode.
  • Handlers call the module scripts by absolute path via python3 — they do not depend on ~/.local/bin or PATH, so the commands work even when install.sh was never run. Results are shown with ctx.ui.notify; the default target is the session working directory.
  • User entry point only — the commands are not part of the agent's tool set, so the model cannot invoke them. The agent still changes a switch through the shell command, and only when the user explicitly asks. This boundary is written into CLAUDE.md and both READMEs.
  • Docs — both patch/add-mode/README.md and patch/commit-mode/README.md gained an "input-box slash commands" section covering the command list, the default path rule, and the /reload requirement.

Notes

  • Purely additive: the shell commands, state file formats, and guard blocking logic are unchanged.
  • Run /reload or start a new session for the new commands to appear in completion.