@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 809 B
TypeScript
import type { ToolExecutionComponent } from "./tool-execution.ts";
/** One exploration call as the collapsed group shows it: an action plus a label, never output. */
export type ExplorationCall = {
readonly action: "Read" | "Search" | "List";
/** Read: file basename, or `<skill>/<path inside the skill>` for a file in a skill directory. Search: the pattern plus ` in <dir>` for an explicit path. List: directory basename. */
readonly label: string;
readonly pending: boolean;
readonly failed: boolean;
};
/**
* Group only the built-in read/grep/find/ls presentation; custom renderers, semantic reads, and other
* tools stay cards.
*/
export declare function explorationCall(component: ToolExecutionComponent): ExplorationCall | undefined;
//# sourceMappingURL=exploration-call.d.ts.map