co-mono/packages
Helmut Januschka c956a726ed feat(coding-agent): add hook API for CLI flags, shortcuts, and tool control
Hook API additions:
- pi.getTools() / pi.setTools(toolNames) - dynamically enable/disable tools
- pi.registerFlag(name, options) / pi.getFlag(name) - register custom CLI flags
- pi.registerShortcut(shortcut, options) - register keyboard shortcuts

Plan mode hook (examples/hooks/plan-mode.ts):
- /plan command or Shift+P shortcut to toggle
- --plan CLI flag to start in plan mode
- Read-only tools: read, bash, grep, find, ls
- Bash restricted to non-destructive commands (blocks rm, mv, git commit, etc.)
- Interactive prompt after each response: execute, stay, or refine
- Shows plan indicator in footer when active
- State persists across sessions
2026-01-04 18:13:28 +01:00
..
agent Add [Unreleased] section for next cycle 2026-01-04 01:08:11 +01:00
ai fix duplicated thinking tokens in chutes (#443) 2026-01-04 18:12:09 +01:00
coding-agent feat(coding-agent): add hook API for CLI flags, shortcuts, and tool control 2026-01-04 18:13:28 +01:00
mom Add [Unreleased] section for next cycle 2026-01-04 01:08:11 +01:00
pods Release v0.33.0 2026-01-04 01:07:24 +01:00
tui fix(tui): expand paste markers when opening external editor (#444) 2026-01-04 18:11:42 +01:00
web-ui Add [Unreleased] section for next cycle 2026-01-04 01:08:11 +01:00