snow-flow
Version:
Snow-Flow v3.2.0: Complete ServiceNow Enterprise Suite with 180+ MCP Tools. ATF Testing, Knowledge Management, Service Catalog, Change Management with CAB scheduling, Virtual Agent chatbots with NLU, Performance Analytics KPIs, Flow Designer automation, A
61 lines • 1.5 kB
TypeScript
/**
* TodoWrite Integration Types
* Types for integrating with Claude Code's TodoWrite tool
*/
export interface TodoItem {
id: string;
content: string;
status: TodoStatus;
priority: TodoPriority;
assignedAgent?: string;
dependencies?: string[];
metadata?: Record<string, any>;
createdAt?: Date;
updatedAt?: Date;
completedAt?: Date;
}
export type TodoStatus = 'pending' | 'in_progress' | 'completed' | 'cancelled';
export type TodoPriority = 'low' | 'medium' | 'high' | 'critical';
export interface TodoCoordination {
taskId: string;
todos: TodoItem[];
agentAssignments: Map<string, string>;
dependencies: Map<string, string[]>;
}
export interface TodoUpdate {
todoId: string;
updates: Partial<TodoItem>;
updatedBy: string;
timestamp: Date;
}
export interface TodoProgress {
total: number;
pending: number;
inProgress: number;
completed: number;
cancelled: number;
percentComplete: number;
}
export interface TodoAgentAssignment {
todoId: string;
agentId: string;
agentType: string;
assignedAt: Date;
estimatedDuration?: number;
}
export interface TodoDependencyGraph {
nodes: TodoNode[];
edges: TodoEdge[];
}
export interface TodoNode {
id: string;
todo: TodoItem;
level: number;
criticalPath: boolean;
}
export interface TodoEdge {
from: string;
to: string;
type: 'blocks' | 'requires' | 'optional';
}
//# sourceMappingURL=todo.types.d.ts.map