📄 index.ts  •  579 bytes
/**
 * CmdCode V0.5 - 执行计划模块
 * Phase 2: 计划生成 + 执行
 */

// 导出类型
export type { 
  StepStatus, 
  ToolParams, 
  PlanStep, 
  Risk评估, 
  ExecutionPlan, 
  ConfirmOption 
} from './types'

export type { StepResult, RunnerOptions } from './runner'

// 导出函数
export {
  generatePlan,
  formatPlan,
} from './generator'

export {
  executePlan,
  getPlanSummary,
} from './runner'

// 导出常量
export {
  CONFIRM_OPTIONS,
  STATUS_LABELS,
  RISK_LABELS,
} from './types'

/** 版本信息 */
export const PLANNER_VERSION = '0.6.0-phase2'