UNPKG

@code-yeongyu/senpi

Version:

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

24 lines • 1.08 kB
import { type Static, Type } from "typebox"; import { type TerminalToolContext, type TerminalToolResult } from "./context.ts"; import { renderBashOutputCall, renderBashOutputResult } from "./render.ts"; export declare const bashOutputSchema: Type.TObject<{ bash_id: Type.TString; filter: Type.TOptional<Type.TString>; view: Type.TOptional<Type.TUnion<[Type.TLiteral<"log">, Type.TLiteral<"screen">]>>; }>; export type BashOutputInput = Static<typeof bashOutputSchema>; export declare function createBashOutputTool(ctx: TerminalToolContext): { name: string; label: string; description: string; promptSnippet: string; parameters: Type.TObject<{ bash_id: Type.TString; filter: Type.TOptional<Type.TString>; view: Type.TOptional<Type.TUnion<[Type.TLiteral<"log">, Type.TLiteral<"screen">]>>; }>; execute(_toolCallId: string, input: BashOutputInput): Promise<TerminalToolResult>; renderCall: typeof renderBashOutputCall; renderResult: typeof renderBashOutputResult; }; //# sourceMappingURL=bash-output.d.ts.map