Module plan

Module plan 

Source
Expand description

Plan Interface - Declarative Task Management

Provides a declarative API for creating and updating task structures, inspired by TodoWrite pattern. Simplifies complex operations into single atomic calls.

Structs§

ExistingTaskInfo
Information about an existing task for validation
FileIncludeResult
Result of processing @file directives in a PlanRequest
FlatTask
Flatten task tree into a linear list with parent information
PlanExecutor
Plan executor for creating/updating task structures
PlanRequest
Request for creating/updating task structure declaratively
PlanResult
Result of plan execution
TaskTree
Hierarchical task definition with nested children

Enums§

Operation
Operation classification result
PriorityValue
Priority value as string enum for JSON API
TaskStatus
Task status for workflow management

Functions§

classify_operations
Classify tasks into create/update/delete operations based on existing task IDs
cleanup_included_files
Clean up files that were included via @file directive
extract_all_names
Extract all task names from a task tree (recursive) Only includes tasks that have a name (skips delete-only tasks)
find_duplicate_names
Find duplicate names in a task list
flatten_task_tree
process_file_includes
Process @file directives in a PlanRequest