co-mono/packages/coding-agent/examples
Mario Zechner 02175d908b Update docs for ctx.ui.editor() and handoff example
- Added ctx.ui.editor() to hooks.md and custom-tools.md
- Added ctx.ui.editor() to CHANGELOG.md
- Added handoff.ts to examples/hooks/README.md
2026-01-02 01:26:21 +01:00
..
custom-tools Reorder execute params: (toolCallId, params, onUpdate, ctx, signal?) 2025-12-31 12:14:28 +01:00
hooks Update docs for ctx.ui.editor() and handoff example 2026-01-02 01:26:21 +01:00
sdk Add setEditorText/getEditorText to hook UI context, improve custom() API 2026-01-01 00:04:56 +01:00
README.md Update docs for ctx.ui.editor() and handoff example 2026-01-02 01:26:21 +01:00

Examples

Example code for pi-coding-agent SDK, hooks, and custom tools.

Directories

sdk/

Programmatic usage via createAgentSession(). Shows how to customize models, prompts, tools, hooks, and session management.

hooks/

Example hooks for intercepting tool calls, adding safety gates, and integrating with external systems.

custom-tools/

Example custom tools that extend the agent's capabilities.

Documentation