UNPKG

@code-yeongyu/senpi

Version:

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

13 lines • 881 B
import type { ExtensionAPI, ExtensionContext } from "../../types.ts"; import type { Goal, GoalAccountingMode, GoalStoreRef } from "./types.ts"; export type GoalCommandRegistrationDeps = { readonly goalStoreRef: (ctx: ExtensionContext) => GoalStoreRef; readonly accountCurrentAgentTurn: (ctx: ExtensionContext, mode: GoalAccountingMode) => Promise<Goal | null>; readonly beginAgentGoalAccounting: (goal: Goal) => void; readonly stopAgentGoalAccounting: (goalId: string) => void; readonly clearAgentGoalAccounting: () => void; readonly queueGoalContinuation: (pi: ExtensionAPI, ctx: ExtensionContext, goal: Goal) => void; readonly refreshGoalUi: (ctx: ExtensionContext, goal: Goal | null) => void; }; export declare function registerGoalCommand(pi: ExtensionAPI, deps: GoalCommandRegistrationDeps): void; //# sourceMappingURL=command-registration.d.ts.map