/** * Long-Running Agent CLI Commands */ interface Feature { id: string; category: string; priority: 'critical' | 'high' | 'medium' | 'low'; description: string; steps: string[]; acceptance_criteria: string[]; dependencies: string[]; status: 'pending' | 'in_progress' | 'completed'; passes: boolean; attempts: number; notes: string; completed_at?: string; testResult?: 'passed' | 'failed'; lastTestAt?: string; testError?: string; } interface FeaturesData { version: string; project_id: string; project_name: string; project_type: string; created_at: string; updated_at: string; features: Feature[]; metadata: { total_features: number; completed_features: number; completion_percentage: number; by_priority: Record; by_category: Record; }; sessions: string[]; } interface InitOptions { type: string; dir: string; agentTeams?: boolean; } interface StatusOptions { json?: boolean; } interface AddOptions { priority?: string; category?: string; steps?: string[]; agentTeams?: boolean; } interface NextOptions { json?: boolean; } interface DoneOptions { notes?: string; } interface CommitOptions { message?: string; } interface ListOptions { filter?: string; priority?: string; } interface ExportOptions { output?: string; } /** * 初始化项目 */ declare function initProject(name: string | undefined, options: InitOptions): Promise; /** * 显示状态 */ declare function showStatus(options: StatusOptions): Promise; /** * 添加功能 */ declare function addFeature(description: string, options: AddOptions): Promise; /** * 获取下一个功能 */ declare function getNextFeature(options: NextOptions): Promise; /** * 标记完成 */ declare function markDone(featureId: string, options: DoneOptions): Promise; /** * 提交进度 */ declare function commitProgress(featureId: string | undefined, options: CommitOptions): Promise; /** * 列出功能 */ declare function listFeatures(options: ListOptions): Promise; /** * 导出项目 */ declare function exportProject(options: ExportOptions): Promise; export { addFeature, commitProgress, exportProject, getNextFeature, initProject, listFeatures, markDone, showStatus }; export type { AddOptions, CommitOptions, DoneOptions, ExportOptions, Feature, FeaturesData, InitOptions, ListOptions, NextOptions, StatusOptions }; //# sourceMappingURL=index.d.ts.map