mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 05:02:07 +00:00
- 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
12 lines
No EOL
120 B
Text
12 lines
No EOL
120 B
Text
{
|
|
"folders": [
|
|
{
|
|
"name": "pi-mono",
|
|
"path": "."
|
|
},
|
|
{
|
|
"path": "../../.pi/hooks"
|
|
}
|
|
],
|
|
"settings": {}
|
|
} |