mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 08:04:44 +00:00
docs(coding-agent): link to tool-execution.ts in Custom Rendering section
This commit is contained in:
parent
d726c81faf
commit
530826ba07
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
## Available Imports
|
||||||
|
|
||||||
|
|
@ -1263,7 +1263,7 @@ export default function (pi: ExtensionAPI) {
|
||||||
|
|
||||||
### Custom Rendering
|
### 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`).
|
Tool output is wrapped in a `Box` that handles padding and background. Your render methods return `Component` instances (typically `Text`).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue