mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 12:03:49 +00:00
HookContext (all events): - isIdle() - read-only state check - hasQueuedMessages() - read-only state check - abort() - fire-and-forget, does not wait HookCommandContext (slash commands only): - waitForIdle() - waits for agent to finish - newSession(options?) - create new session - branch(entryId) - branch from entry - navigateTree(targetId, options?) - navigate session tree Session control methods moved from HookAPI (pi.*) to HookCommandContext (ctx.*) because they can deadlock when called from event handlers that run inside the agent loop (tool_call, tool_result, context events). |
||
|---|---|---|
| .. | ||
| compaction.md | ||
| custom-tools.md | ||
| extension-loading.md | ||
| hooks.md | ||
| rpc.md | ||
| sdk.md | ||
| session-tree-plan.md | ||
| session.md | ||
| skills.md | ||
| theme.md | ||
| tree.md | ||
| tui.md | ||