UNPKG

@code-yeongyu/senpi

Version:

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

12 lines • 778 B
import type { ExtensionAPI, ExtensionContext } from "../../types.ts"; import type { Goal, GoalAccountingMode, GoalStoreRef } from "./types.ts"; export type GoalToolRegistrationDeps = { readonly goalStoreRef: (ctx: ExtensionContext) => GoalStoreRef; readonly accountCurrentAgentTurn: (ctx: ExtensionContext, mode: GoalAccountingMode) => Promise<Goal | null>; readonly beginAgentGoalAccounting: (goal: Goal) => void; readonly markGoalBlockedThisTurn: (goal: Goal) => void; readonly markGoalCompletedThisTurn: (goal: Goal) => void; readonly refreshGoalUi: (ctx: ExtensionContext, goal: Goal | null) => void; }; export declare function registerGoalTools(pi: ExtensionAPI, deps: GoalToolRegistrationDeps): void; //# sourceMappingURL=tool-registration.d.ts.map