erosolar-cli
Version:
Unified AI agent framework for the command line - Multi-provider support with schema-driven tools, code intelligence, and transparent reasoning
21 lines • 764 B
TypeScript
import type { ToolDefinition } from '../core/toolRuntime.js';
type PlanApprovalCallback = (steps: Array<{
description: string;
}>, explanation?: string) => void;
/**
* Register a callback for plan approval UI
*/
export declare function setPlanApprovalCallback(callback: PlanApprovalCallback | null): void;
/**
* Creates planning workflow tools
*
* Tools:
* - UpdatePlan: Present or refresh a structured plan with step status
* - ExitPlanMode: Signal completion of planning phase
* - ProposePlan: Present a plan for user approval with step selection
*
* These tools help structure agent workflows with explicit planning phases.
*/
export declare function createPlanningTools(): ToolDefinition[];
export {};
//# sourceMappingURL=planningTools.d.ts.map