co-mono/packages/coding-agent/docs
Mario Zechner 7210086677 Extensions: add pi.sendUserMessage() for sending user messages
Adds sendUserMessage() to the extension API, allowing extensions to send
actual user messages (role: user) rather than custom messages. Unlike
sendMessage(), this always triggers a turn and behaves as if the user
typed the message.

- Add SendUserMessageHandler type and sendUserMessage() to ExtensionAPI
- Wire handler through loader, runner, and all modes
- Implement via prompt() with expandPromptTemplates: false
- Add send-user-message.ts example with /ask, /steer, /followup commands
- Document in extensions.md

fixes #483
2026-01-06 13:40:24 +01:00
..
compaction.md Update custom-compaction example to use serializeConversation 2025-12-31 13:24:23 +01:00
extensions.md Extensions: add pi.sendUserMessage() for sending user messages 2026-01-06 13:40:24 +01:00
rpc.md Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
sdk.md docs: clarify SDK extension discovery and settings.json support 2026-01-05 18:00:32 +01:00
session.md Add extensions option to createAgentSession SDK 2026-01-05 03:38:56 +01:00
skills.md Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +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 Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00