UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

15 lines • 930 B
import type { AssistantMessage } from "@earendil-works/pi-ai"; import type { Component } from "@earendil-works/pi-tui"; import type { ToolExecutionComponent } from "./components/tool-execution.ts"; type ReplayToolHost = { readonly expanded: boolean; /** `ownsTurnNotice`: this part is the one that shows the turn's error, abort or length notice (senpi#4958). */ readonly addMessage: (message: AssistantMessage, ownsTurnNotice: boolean) => void; readonly addChild: (component: Component) => void; readonly createTool: (name: string, id: string, args: unknown) => ToolExecutionComponent; readonly pending: Map<string, ToolExecutionComponent>; }; /** Keep text/thinking in its original position, matching the live head and trailing segments. */ export declare function replayAssistantTools(message: AssistantMessage, host: ReplayToolHost): void; export {}; //# sourceMappingURL=replay-assistant-tools.d.ts.map