co-mono/packages/coding-agent/docs
Mario Zechner 03159d2f4b Add agent state methods to CustomToolContext and fix abort signature
CustomToolContext now has:
- isIdle() - check if agent is streaming
- hasQueuedMessages() - check if user has queued messages
- abort() - abort current operation (fire-and-forget)

Changed abort() signature from Promise<void> to void in both
HookContext and CustomToolContext. The abort is fire-and-forget:
it calls session.abort() without awaiting, so the abort signal
is set immediately while waitForIdle() runs in the background.

Fixes #388
2026-01-02 00:31:23 +01:00
..
compaction.md Update custom-compaction example to use serializeConversation 2025-12-31 13:24:23 +01:00
custom-tools.md Add agent state methods to CustomToolContext and fix abort signature 2026-01-02 00:31:23 +01:00
extension-loading.md Update extension-loading.md with install/remove/update commands 2025-12-26 20:51:15 +01:00
hooks.md Split HookContext and HookCommandContext to prevent deadlocks 2026-01-02 00:24:58 +01:00
rpc.md Consolidate session events: remove session_before_new/session_new, add reason field to switch events 2026-01-01 23:31:26 +01:00
sdk.md Consolidate session events: remove session_before_new/session_new, add reason field to switch events 2026-01-01 23:31:26 +01:00
session-tree-plan.md Update session-tree-plan.md: tree selector details, theme.md done, add Before Release section 2025-12-30 22:42:25 +01:00
session.md Consolidate session events: remove session_before_new/session_new, add reason field to switch events 2026-01-01 23:31:26 +01:00
skills.md Add creation hints to docs and update system prompt 2025-12-31 13:16:44 +01:00
theme.md Add theme-configurable HTML export colors (from PR #387) 2026-01-01 22:21:40 +01:00
tree.md feat(coding-agent): implement /tree command for session tree navigation 2025-12-30 22:42:22 +01:00
tui.md Add creation hints to docs and update system prompt 2025-12-31 13:16:44 +01:00