File tree Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 24
24
└── tools.ts # MCP tool definitions
25
25
```
26
26
27
+ ## Data Schema and Storage
28
+
29
+ The task manager stores data in a JSON file:
30
+ - ** Default location** : ` ~/Documents/tasks.json ` (in user's home directory)
31
+ - ** Custom location** : Set via ` TASK_MANAGER_FILE_PATH ` environment variable
32
+
33
+ ``` bash
34
+ # Example of setting custom storage location
35
+ TASK_MANAGER_FILE_PATH=/path/to/custom/tasks.json npm start
36
+ ```
37
+
38
+ The data schema is organized as follows:
39
+
40
+ ```
41
+ TaskManagerFile
42
+ ├── requests: RequestEntry[]
43
+ ├── requestId: string # Format: "req-{number}"
44
+ ├── originalRequest: string # Original user request text
45
+ ├── splitDetails: string # Additional request details
46
+ ├── completed: boolean # Request completion status
47
+ └── tasks: Task[] # Array of tasks
48
+ ├── id: string # Format: "task-{number}"
49
+ ├── title: string # Short task title
50
+ ├── description: string # Detailed task description
51
+ ├── done: boolean # Task completion status
52
+ ├── approved: boolean # Task approval status
53
+ └── completedDetails: string # Completion information
54
+ ```
55
+
56
+ The system persists this structure to the JSON file after each operation.
57
+
27
58
## Installation
28
59
29
60
``` bash
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments