docs(coding-agent): link to tool-execution.ts in Custom Rendering section

This commit is contained in:
Mario Zechner 2026-01-26 11:47:31 +01:00
parent d726c81faf
commit 530826ba07

View file

@ -127,7 +127,7 @@ Additional paths via `settings.json`:
}
```
To share extensions via npm or git, see [packages.md](packages.md).
To share extensions via npm or git as pi packages, see [packages.md](packages.md).
## Available Imports
@ -1263,7 +1263,7 @@ export default function (pi: ExtensionAPI) {
### Custom Rendering
Tools can provide `renderCall` and `renderResult` for custom TUI display. See [tui.md](tui.md) for the full component API.
Tools can provide `renderCall` and `renderResult` for custom TUI display. See [tui.md](tui.md) for the full component API and [tool-execution.ts](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/src/modes/interactive/components/tool-execution.ts) for how built-in tools render.
Tool output is wrapped in a `Box` that handles padding and background. Your render methods return `Component` instances (typically `Text`).