co-mono/packages/coding-agent/docs
Mario Zechner 7c553acd1e Add hooks system with pi.send() for external message injection
- Hook discovery from ~/.pi/agent/hooks/, .pi/hooks/, --hook flag
- Events: session_start, session_switch, agent_start/end, turn_start/end, tool_call, tool_result, branch
- tool_call can block execution, tool_result can modify results
- pi.send(text, attachments?) to inject messages from external sources
- UI primitives: ctx.ui.select/confirm/input/notify
- Context: ctx.exec(), ctx.cwd, ctx.sessionFile, ctx.hasUI
- Docs shipped with npm package and binary builds
- System prompt references docs folder
2025-12-10 00:50:30 +01:00
..
compaction.md fix: normalize OpenAI token counting, add branch source tracking 2025-12-03 17:11:22 +01:00
hooks.md Add hooks system with pi.send() for external message injection 2025-12-10 00:50:30 +01:00
rpc.md Simplify compaction: remove proactive abort, use Agent.continue() for retry 2025-12-09 21:43:49 +01:00
session.md Add bash mode for executing shell commands 2025-12-08 22:40:32 +01:00
theme.md Release v0.8.0 2025-11-21 03:12:42 +01:00
truncation.md Implement tool result truncation with actionable notices (#134) 2025-12-07 01:11:31 +01:00
undercompaction.md docs: add under-compaction analysis 2025-12-06 14:53:05 +01:00