Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,13 @@ For any MCP-compatible client, use stdio transport:
| `add_note` | Add a note for other AI agents |
| `set_phase` | Update project phase (planning/execution/review/completed) |

### Dependency Management

| Tool | Description |
|------|-------------|
| `validate_task_dependencies` | Validate all task dependencies (detect circular dependencies, missing tasks) |
| `get_task_graph` | Get visual representation of task dependencies and execution order |

### Project Management

| Tool | Description |
Expand Down
44 changes: 44 additions & 0 deletions dist/models.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,50 @@ export declare function setPhase(context: ProjectContext, phase: Phase): Project
export declare function getTask(context: ProjectContext, taskId: string): Task | undefined;
export declare function getPendingTasks(context: ProjectContext): Task[];
export declare function getProjectSummary(context: ProjectContext): string;
export interface ValidationResult {
isValid: boolean;
errors: string[];
warnings: string[];
}
export interface TaskGraph {
nodes: TaskNode[];
executionOrder: string[];
blockedTasks: string[];
readyTasks: string[];
}
export interface TaskNode {
id: string;
title: string;
status: TaskStatus;
dependencies: string[];
dependents: string[];
}
/**
* Validates all task dependencies in a project
* Checks for circular dependencies and missing task references
*/
export declare function validateTaskDependencies(context: ProjectContext): ValidationResult;
/**
* Returns tasks in topological order (dependencies first)
* Returns empty array if circular dependencies exist
*/
export declare function getTaskExecutionOrder(context: ProjectContext): Task[];
/**
* Checks if a task can be started (all dependencies are completed)
*/
export declare function canStartTask(context: ProjectContext, taskId: string): boolean;
/**
* Returns tasks that are blocked by incomplete dependencies
*/
export declare function getBlockedTasks(context: ProjectContext): Task[];
/**
* Returns tasks that can be started right now
*/
export declare function getReadyTasks(context: ProjectContext): Task[];
/**
* Generates a graph representation of task dependencies
*/
export declare function getTaskGraph(context: ProjectContext): TaskGraph;
export declare function serializeContext(context: ProjectContext): string;
export declare function deserializeContext(json: string): ProjectContext;
//# sourceMappingURL=models.d.ts.map
2 changes: 1 addition & 1 deletion dist/models.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

167 changes: 167 additions & 0 deletions dist/models.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading