Interface: ConsoleRendererOptions
Defined in: tui/consoleRenderer.ts:8
Options of createConsoleRenderer().
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
agentLabel? | string | Printed (already styled) before the first text of each turn, e.g. "my-agent>". | tui/consoleRenderer.ts:12 |
formatAction? | (toolName, toolInput) => string | Turns a tool call into its console label; defaults to createFriendlyToolLabel(). | tui/consoleRenderer.ts:10 |
onWrite? | (text) => void | Called after every write with the same text, e.g. to mirror it into a log file. | tui/consoleRenderer.ts:16 |
output? | (text) => void | Where the text goes; defaults to process.stdout. | tui/consoleRenderer.ts:14 |