superplanners-mcp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +160 -0
  2. package/dist/file-manager.d.ts +99 -0
  3. package/dist/file-manager.d.ts.map +1 -0
  4. package/dist/file-manager.js +364 -0
  5. package/dist/file-manager.js.map +1 -0
  6. package/dist/index.d.ts +3 -0
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +65 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/renderer.d.ts +10 -0
  11. package/dist/renderer.d.ts.map +1 -0
  12. package/dist/renderer.js +170 -0
  13. package/dist/renderer.js.map +1 -0
  14. package/dist/server.d.ts +6 -0
  15. package/dist/server.d.ts.map +1 -0
  16. package/dist/server.js +438 -0
  17. package/dist/server.js.map +1 -0
  18. package/dist/task-engine/dependency-resolver.d.ts +43 -0
  19. package/dist/task-engine/dependency-resolver.d.ts.map +1 -0
  20. package/dist/task-engine/dependency-resolver.js +94 -0
  21. package/dist/task-engine/dependency-resolver.js.map +1 -0
  22. package/dist/task-engine/index.d.ts +6 -0
  23. package/dist/task-engine/index.d.ts.map +1 -0
  24. package/dist/task-engine/index.js +6 -0
  25. package/dist/task-engine/index.js.map +1 -0
  26. package/dist/task-engine/next-task-selector.d.ts +18 -0
  27. package/dist/task-engine/next-task-selector.d.ts.map +1 -0
  28. package/dist/task-engine/next-task-selector.js +99 -0
  29. package/dist/task-engine/next-task-selector.js.map +1 -0
  30. package/dist/task-engine/parser.d.ts +20 -0
  31. package/dist/task-engine/parser.d.ts.map +1 -0
  32. package/dist/task-engine/parser.js +77 -0
  33. package/dist/task-engine/parser.js.map +1 -0
  34. package/dist/task-engine/progress-calculator.d.ts +15 -0
  35. package/dist/task-engine/progress-calculator.d.ts.map +1 -0
  36. package/dist/task-engine/progress-calculator.js +58 -0
  37. package/dist/task-engine/progress-calculator.js.map +1 -0
  38. package/dist/task-engine/status-reducer.d.ts +18 -0
  39. package/dist/task-engine/status-reducer.d.ts.map +1 -0
  40. package/dist/task-engine/status-reducer.js +88 -0
  41. package/dist/task-engine/status-reducer.js.map +1 -0
  42. package/dist/types.d.ts +999 -0
  43. package/dist/types.d.ts.map +1 -0
  44. package/dist/types.js +228 -0
  45. package/dist/types.js.map +1 -0
  46. package/package.json +51 -0
@@ -0,0 +1,999 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * 任务状态
4
+ * - pending: 待开始
5
+ * - in_progress: 进行中
6
+ * - completed: 已完成
7
+ * - blocked: 阻塞中
8
+ * - skipped: 已跳过
9
+ */
10
+ export declare const TaskStatusSchema: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "skipped"]>;
11
+ export type TaskStatus = z.infer<typeof TaskStatusSchema>;
12
+ /**
13
+ * 任务优先级
14
+ * - critical: 紧急
15
+ * - high: 高
16
+ * - medium: 中
17
+ * - low: 低
18
+ */
19
+ export declare const TaskPrioritySchema: z.ZodEnum<["critical", "high", "medium", "low"]>;
20
+ export type TaskPriority = z.infer<typeof TaskPrioritySchema>;
21
+ export declare const SubTaskSchema: z.ZodObject<{
22
+ id: z.ZodString;
23
+ title: z.ZodString;
24
+ status: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "skipped"]>;
25
+ notes: z.ZodOptional<z.ZodString>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
28
+ id: string;
29
+ title: string;
30
+ notes?: string | undefined;
31
+ }, {
32
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
33
+ id: string;
34
+ title: string;
35
+ notes?: string | undefined;
36
+ }>;
37
+ export type SubTask = z.infer<typeof SubTaskSchema>;
38
+ export declare const TaskSchema: z.ZodObject<{
39
+ id: z.ZodString;
40
+ title: z.ZodString;
41
+ description: z.ZodOptional<z.ZodString>;
42
+ status: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "skipped"]>;
43
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
44
+ estimate: z.ZodOptional<z.ZodString>;
45
+ actual: z.ZodOptional<z.ZodString>;
46
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47
+ subtasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
+ id: z.ZodString;
49
+ title: z.ZodString;
50
+ status: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "skipped"]>;
51
+ notes: z.ZodOptional<z.ZodString>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
54
+ id: string;
55
+ title: string;
56
+ notes?: string | undefined;
57
+ }, {
58
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
59
+ id: string;
60
+ title: string;
61
+ notes?: string | undefined;
62
+ }>, "many">>;
63
+ notes: z.ZodOptional<z.ZodString>;
64
+ started_at: z.ZodOptional<z.ZodString>;
65
+ completed_at: z.ZodOptional<z.ZodString>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
68
+ id: string;
69
+ title: string;
70
+ priority: "critical" | "high" | "medium" | "low";
71
+ notes?: string | undefined;
72
+ description?: string | undefined;
73
+ estimate?: string | undefined;
74
+ actual?: string | undefined;
75
+ dependencies?: string[] | undefined;
76
+ subtasks?: {
77
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
78
+ id: string;
79
+ title: string;
80
+ notes?: string | undefined;
81
+ }[] | undefined;
82
+ started_at?: string | undefined;
83
+ completed_at?: string | undefined;
84
+ }, {
85
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
86
+ id: string;
87
+ title: string;
88
+ priority: "critical" | "high" | "medium" | "low";
89
+ notes?: string | undefined;
90
+ description?: string | undefined;
91
+ estimate?: string | undefined;
92
+ actual?: string | undefined;
93
+ dependencies?: string[] | undefined;
94
+ subtasks?: {
95
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
96
+ id: string;
97
+ title: string;
98
+ notes?: string | undefined;
99
+ }[] | undefined;
100
+ started_at?: string | undefined;
101
+ completed_at?: string | undefined;
102
+ }>;
103
+ export type Task = z.infer<typeof TaskSchema>;
104
+ export declare const ProjectMetaSchema: z.ZodObject<{
105
+ project: z.ZodString;
106
+ project_id: z.ZodString;
107
+ created: z.ZodString;
108
+ updated: z.ZodString;
109
+ version: z.ZodNumber;
110
+ description: z.ZodOptional<z.ZodString>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ project: string;
113
+ project_id: string;
114
+ created: string;
115
+ updated: string;
116
+ version: number;
117
+ description?: string | undefined;
118
+ }, {
119
+ project: string;
120
+ project_id: string;
121
+ created: string;
122
+ updated: string;
123
+ version: number;
124
+ description?: string | undefined;
125
+ }>;
126
+ export type ProjectMeta = z.infer<typeof ProjectMetaSchema>;
127
+ export declare const TaskSummarySchema: z.ZodObject<{
128
+ total: z.ZodNumber;
129
+ completed: z.ZodNumber;
130
+ in_progress: z.ZodNumber;
131
+ blocked: z.ZodNumber;
132
+ pending: z.ZodNumber;
133
+ skipped: z.ZodNumber;
134
+ }, "strip", z.ZodTypeAny, {
135
+ pending: number;
136
+ in_progress: number;
137
+ completed: number;
138
+ blocked: number;
139
+ skipped: number;
140
+ total: number;
141
+ }, {
142
+ pending: number;
143
+ in_progress: number;
144
+ completed: number;
145
+ blocked: number;
146
+ skipped: number;
147
+ total: number;
148
+ }>;
149
+ export type TaskSummary = z.infer<typeof TaskSummarySchema>;
150
+ export declare const ProjectDataSchema: z.ZodObject<{
151
+ meta: z.ZodObject<{
152
+ project: z.ZodString;
153
+ project_id: z.ZodString;
154
+ created: z.ZodString;
155
+ updated: z.ZodString;
156
+ version: z.ZodNumber;
157
+ description: z.ZodOptional<z.ZodString>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ project: string;
160
+ project_id: string;
161
+ created: string;
162
+ updated: string;
163
+ version: number;
164
+ description?: string | undefined;
165
+ }, {
166
+ project: string;
167
+ project_id: string;
168
+ created: string;
169
+ updated: string;
170
+ version: number;
171
+ description?: string | undefined;
172
+ }>;
173
+ tasks: z.ZodArray<z.ZodObject<{
174
+ id: z.ZodString;
175
+ title: z.ZodString;
176
+ description: z.ZodOptional<z.ZodString>;
177
+ status: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "skipped"]>;
178
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
179
+ estimate: z.ZodOptional<z.ZodString>;
180
+ actual: z.ZodOptional<z.ZodString>;
181
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
182
+ subtasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
183
+ id: z.ZodString;
184
+ title: z.ZodString;
185
+ status: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "skipped"]>;
186
+ notes: z.ZodOptional<z.ZodString>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
189
+ id: string;
190
+ title: string;
191
+ notes?: string | undefined;
192
+ }, {
193
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
194
+ id: string;
195
+ title: string;
196
+ notes?: string | undefined;
197
+ }>, "many">>;
198
+ notes: z.ZodOptional<z.ZodString>;
199
+ started_at: z.ZodOptional<z.ZodString>;
200
+ completed_at: z.ZodOptional<z.ZodString>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
203
+ id: string;
204
+ title: string;
205
+ priority: "critical" | "high" | "medium" | "low";
206
+ notes?: string | undefined;
207
+ description?: string | undefined;
208
+ estimate?: string | undefined;
209
+ actual?: string | undefined;
210
+ dependencies?: string[] | undefined;
211
+ subtasks?: {
212
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
213
+ id: string;
214
+ title: string;
215
+ notes?: string | undefined;
216
+ }[] | undefined;
217
+ started_at?: string | undefined;
218
+ completed_at?: string | undefined;
219
+ }, {
220
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
221
+ id: string;
222
+ title: string;
223
+ priority: "critical" | "high" | "medium" | "low";
224
+ notes?: string | undefined;
225
+ description?: string | undefined;
226
+ estimate?: string | undefined;
227
+ actual?: string | undefined;
228
+ dependencies?: string[] | undefined;
229
+ subtasks?: {
230
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
231
+ id: string;
232
+ title: string;
233
+ notes?: string | undefined;
234
+ }[] | undefined;
235
+ started_at?: string | undefined;
236
+ completed_at?: string | undefined;
237
+ }>, "many">;
238
+ }, "strip", z.ZodTypeAny, {
239
+ meta: {
240
+ project: string;
241
+ project_id: string;
242
+ created: string;
243
+ updated: string;
244
+ version: number;
245
+ description?: string | undefined;
246
+ };
247
+ tasks: {
248
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
249
+ id: string;
250
+ title: string;
251
+ priority: "critical" | "high" | "medium" | "low";
252
+ notes?: string | undefined;
253
+ description?: string | undefined;
254
+ estimate?: string | undefined;
255
+ actual?: string | undefined;
256
+ dependencies?: string[] | undefined;
257
+ subtasks?: {
258
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
259
+ id: string;
260
+ title: string;
261
+ notes?: string | undefined;
262
+ }[] | undefined;
263
+ started_at?: string | undefined;
264
+ completed_at?: string | undefined;
265
+ }[];
266
+ }, {
267
+ meta: {
268
+ project: string;
269
+ project_id: string;
270
+ created: string;
271
+ updated: string;
272
+ version: number;
273
+ description?: string | undefined;
274
+ };
275
+ tasks: {
276
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
277
+ id: string;
278
+ title: string;
279
+ priority: "critical" | "high" | "medium" | "low";
280
+ notes?: string | undefined;
281
+ description?: string | undefined;
282
+ estimate?: string | undefined;
283
+ actual?: string | undefined;
284
+ dependencies?: string[] | undefined;
285
+ subtasks?: {
286
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
287
+ id: string;
288
+ title: string;
289
+ notes?: string | undefined;
290
+ }[] | undefined;
291
+ started_at?: string | undefined;
292
+ completed_at?: string | undefined;
293
+ }[];
294
+ }>;
295
+ export type ProjectData = z.infer<typeof ProjectDataSchema>;
296
+ export declare const ProjectStatusSchema: z.ZodEnum<["active", "completed"]>;
297
+ export type ProjectStatus = z.infer<typeof ProjectStatusSchema>;
298
+ export declare const ProjectEntrySchema: z.ZodObject<{
299
+ project_id: z.ZodString;
300
+ project: z.ZodString;
301
+ status: z.ZodEnum<["active", "completed"]>;
302
+ updated: z.ZodString;
303
+ path: z.ZodString;
304
+ }, "strip", z.ZodTypeAny, {
305
+ path: string;
306
+ status: "completed" | "active";
307
+ project: string;
308
+ project_id: string;
309
+ updated: string;
310
+ }, {
311
+ path: string;
312
+ status: "completed" | "active";
313
+ project: string;
314
+ project_id: string;
315
+ updated: string;
316
+ }>;
317
+ export type ProjectEntry = z.infer<typeof ProjectEntrySchema>;
318
+ export declare const TaskPlanMetaSchema: z.ZodObject<{
319
+ name: z.ZodString;
320
+ version: z.ZodString;
321
+ updated: z.ZodString;
322
+ }, "strip", z.ZodTypeAny, {
323
+ updated: string;
324
+ version: string;
325
+ name: string;
326
+ }, {
327
+ updated: string;
328
+ version: string;
329
+ name: string;
330
+ }>;
331
+ export type TaskPlanMeta = z.infer<typeof TaskPlanMetaSchema>;
332
+ export declare const TaskPlanSchema: z.ZodObject<{
333
+ meta: z.ZodObject<{
334
+ name: z.ZodString;
335
+ version: z.ZodString;
336
+ updated: z.ZodString;
337
+ }, "strip", z.ZodTypeAny, {
338
+ updated: string;
339
+ version: string;
340
+ name: string;
341
+ }, {
342
+ updated: string;
343
+ version: string;
344
+ name: string;
345
+ }>;
346
+ projects: z.ZodArray<z.ZodObject<{
347
+ project_id: z.ZodString;
348
+ project: z.ZodString;
349
+ status: z.ZodEnum<["active", "completed"]>;
350
+ updated: z.ZodString;
351
+ path: z.ZodString;
352
+ }, "strip", z.ZodTypeAny, {
353
+ path: string;
354
+ status: "completed" | "active";
355
+ project: string;
356
+ project_id: string;
357
+ updated: string;
358
+ }, {
359
+ path: string;
360
+ status: "completed" | "active";
361
+ project: string;
362
+ project_id: string;
363
+ updated: string;
364
+ }>, "many">;
365
+ }, "strip", z.ZodTypeAny, {
366
+ meta: {
367
+ updated: string;
368
+ version: string;
369
+ name: string;
370
+ };
371
+ projects: {
372
+ path: string;
373
+ status: "completed" | "active";
374
+ project: string;
375
+ project_id: string;
376
+ updated: string;
377
+ }[];
378
+ }, {
379
+ meta: {
380
+ updated: string;
381
+ version: string;
382
+ name: string;
383
+ };
384
+ projects: {
385
+ path: string;
386
+ status: "completed" | "active";
387
+ project: string;
388
+ project_id: string;
389
+ updated: string;
390
+ }[];
391
+ }>;
392
+ export type TaskPlan = z.infer<typeof TaskPlanSchema>;
393
+ export declare const PlanInputSchema: z.ZodObject<{
394
+ requirement: z.ZodString;
395
+ project_name: z.ZodOptional<z.ZodString>;
396
+ }, "strip", z.ZodTypeAny, {
397
+ requirement: string;
398
+ project_name?: string | undefined;
399
+ }, {
400
+ requirement: string;
401
+ project_name?: string | undefined;
402
+ }>;
403
+ export type PlanInput = z.infer<typeof PlanInputSchema>;
404
+ export declare const StatusInputSchema: z.ZodObject<{
405
+ project_id: z.ZodOptional<z.ZodString>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ project_id?: string | undefined;
408
+ }, {
409
+ project_id?: string | undefined;
410
+ }>;
411
+ export type StatusInput = z.infer<typeof StatusInputSchema>;
412
+ export declare const UpdateInputSchema: z.ZodObject<{
413
+ project_id: z.ZodString;
414
+ task_id: z.ZodString;
415
+ status: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "skipped"]>;
416
+ notes: z.ZodOptional<z.ZodString>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
419
+ project_id: string;
420
+ task_id: string;
421
+ notes?: string | undefined;
422
+ }, {
423
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
424
+ project_id: string;
425
+ task_id: string;
426
+ notes?: string | undefined;
427
+ }>;
428
+ export type UpdateInput = z.infer<typeof UpdateInputSchema>;
429
+ export declare const ResetActionSchema: z.ZodEnum<["cleanup", "list", "restore"]>;
430
+ export type ResetAction = z.infer<typeof ResetActionSchema>;
431
+ export declare const ResetInputSchema: z.ZodObject<{
432
+ action: z.ZodEnum<["cleanup", "list", "restore"]>;
433
+ project_id: z.ZodOptional<z.ZodString>;
434
+ archive_id: z.ZodOptional<z.ZodString>;
435
+ }, "strip", z.ZodTypeAny, {
436
+ action: "cleanup" | "list" | "restore";
437
+ project_id?: string | undefined;
438
+ archive_id?: string | undefined;
439
+ }, {
440
+ action: "cleanup" | "list" | "restore";
441
+ project_id?: string | undefined;
442
+ archive_id?: string | undefined;
443
+ }>;
444
+ export type ResetInput = z.infer<typeof ResetInputSchema>;
445
+ export declare const ProgressInfoSchema: z.ZodObject<{
446
+ completed: z.ZodNumber;
447
+ total: z.ZodNumber;
448
+ percentage: z.ZodNumber;
449
+ }, "strip", z.ZodTypeAny, {
450
+ completed: number;
451
+ total: number;
452
+ percentage: number;
453
+ }, {
454
+ completed: number;
455
+ total: number;
456
+ percentage: number;
457
+ }>;
458
+ export type ProgressInfo = z.infer<typeof ProgressInfoSchema>;
459
+ export declare const NextTaskInfoSchema: z.ZodNullable<z.ZodObject<{
460
+ id: z.ZodString;
461
+ title: z.ZodString;
462
+ }, "strip", z.ZodTypeAny, {
463
+ id: string;
464
+ title: string;
465
+ }, {
466
+ id: string;
467
+ title: string;
468
+ }>>;
469
+ export type NextTaskInfo = z.infer<typeof NextTaskInfoSchema>;
470
+ export declare const PlanOutputSchema: z.ZodObject<{
471
+ success: z.ZodBoolean;
472
+ project_id: z.ZodString;
473
+ project_name: z.ZodString;
474
+ summary: z.ZodObject<{
475
+ total_tasks: z.ZodNumber;
476
+ total_estimate: z.ZodString;
477
+ }, "strip", z.ZodTypeAny, {
478
+ total_tasks: number;
479
+ total_estimate: string;
480
+ }, {
481
+ total_tasks: number;
482
+ total_estimate: string;
483
+ }>;
484
+ files: z.ZodObject<{
485
+ index_yaml: z.ZodString;
486
+ index_md: z.ZodString;
487
+ project_yaml: z.ZodString;
488
+ project_md: z.ZodString;
489
+ }, "strip", z.ZodTypeAny, {
490
+ index_yaml: string;
491
+ index_md: string;
492
+ project_yaml: string;
493
+ project_md: string;
494
+ }, {
495
+ index_yaml: string;
496
+ index_md: string;
497
+ project_yaml: string;
498
+ project_md: string;
499
+ }>;
500
+ next_task: z.ZodNullable<z.ZodObject<{
501
+ id: z.ZodString;
502
+ title: z.ZodString;
503
+ }, "strip", z.ZodTypeAny, {
504
+ id: string;
505
+ title: string;
506
+ }, {
507
+ id: string;
508
+ title: string;
509
+ }>>;
510
+ }, "strip", z.ZodTypeAny, {
511
+ project_id: string;
512
+ project_name: string;
513
+ success: boolean;
514
+ summary: {
515
+ total_tasks: number;
516
+ total_estimate: string;
517
+ };
518
+ files: {
519
+ index_yaml: string;
520
+ index_md: string;
521
+ project_yaml: string;
522
+ project_md: string;
523
+ };
524
+ next_task: {
525
+ id: string;
526
+ title: string;
527
+ } | null;
528
+ }, {
529
+ project_id: string;
530
+ project_name: string;
531
+ success: boolean;
532
+ summary: {
533
+ total_tasks: number;
534
+ total_estimate: string;
535
+ };
536
+ files: {
537
+ index_yaml: string;
538
+ index_md: string;
539
+ project_yaml: string;
540
+ project_md: string;
541
+ };
542
+ next_task: {
543
+ id: string;
544
+ title: string;
545
+ } | null;
546
+ }>;
547
+ export type PlanOutput = z.infer<typeof PlanOutputSchema>;
548
+ export declare const StatusGlobalOutputSchema: z.ZodObject<{
549
+ success: z.ZodBoolean;
550
+ total_projects: z.ZodNumber;
551
+ projects: z.ZodArray<z.ZodObject<{
552
+ id: z.ZodString;
553
+ name: z.ZodString;
554
+ status: z.ZodEnum<["active", "completed"]>;
555
+ progress: z.ZodString;
556
+ updated: z.ZodString;
557
+ }, "strip", z.ZodTypeAny, {
558
+ status: "completed" | "active";
559
+ id: string;
560
+ updated: string;
561
+ name: string;
562
+ progress: string;
563
+ }, {
564
+ status: "completed" | "active";
565
+ id: string;
566
+ updated: string;
567
+ name: string;
568
+ progress: string;
569
+ }>, "many">;
570
+ }, "strip", z.ZodTypeAny, {
571
+ projects: {
572
+ status: "completed" | "active";
573
+ id: string;
574
+ updated: string;
575
+ name: string;
576
+ progress: string;
577
+ }[];
578
+ success: boolean;
579
+ total_projects: number;
580
+ }, {
581
+ projects: {
582
+ status: "completed" | "active";
583
+ id: string;
584
+ updated: string;
585
+ name: string;
586
+ progress: string;
587
+ }[];
588
+ success: boolean;
589
+ total_projects: number;
590
+ }>;
591
+ export type StatusGlobalOutput = z.infer<typeof StatusGlobalOutputSchema>;
592
+ export declare const StatusProjectOutputSchema: z.ZodObject<{
593
+ success: z.ZodBoolean;
594
+ project: z.ZodObject<{
595
+ id: z.ZodString;
596
+ name: z.ZodString;
597
+ description: z.ZodOptional<z.ZodString>;
598
+ updated: z.ZodString;
599
+ }, "strip", z.ZodTypeAny, {
600
+ id: string;
601
+ updated: string;
602
+ name: string;
603
+ description?: string | undefined;
604
+ }, {
605
+ id: string;
606
+ updated: string;
607
+ name: string;
608
+ description?: string | undefined;
609
+ }>;
610
+ summary: z.ZodObject<{
611
+ total: z.ZodNumber;
612
+ completed: z.ZodNumber;
613
+ in_progress: z.ZodNumber;
614
+ blocked: z.ZodNumber;
615
+ pending: z.ZodNumber;
616
+ skipped: z.ZodNumber;
617
+ }, "strip", z.ZodTypeAny, {
618
+ pending: number;
619
+ in_progress: number;
620
+ completed: number;
621
+ blocked: number;
622
+ skipped: number;
623
+ total: number;
624
+ }, {
625
+ pending: number;
626
+ in_progress: number;
627
+ completed: number;
628
+ blocked: number;
629
+ skipped: number;
630
+ total: number;
631
+ }>;
632
+ progress: z.ZodObject<{
633
+ completed: z.ZodNumber;
634
+ total: z.ZodNumber;
635
+ percentage: z.ZodNumber;
636
+ }, "strip", z.ZodTypeAny, {
637
+ completed: number;
638
+ total: number;
639
+ percentage: number;
640
+ }, {
641
+ completed: number;
642
+ total: number;
643
+ percentage: number;
644
+ }>;
645
+ current_task: z.ZodNullable<z.ZodObject<{
646
+ id: z.ZodString;
647
+ title: z.ZodString;
648
+ }, "strip", z.ZodTypeAny, {
649
+ id: string;
650
+ title: string;
651
+ }, {
652
+ id: string;
653
+ title: string;
654
+ }>>;
655
+ tasks: z.ZodArray<z.ZodObject<{
656
+ id: z.ZodString;
657
+ title: z.ZodString;
658
+ description: z.ZodOptional<z.ZodString>;
659
+ status: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "skipped"]>;
660
+ priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
661
+ estimate: z.ZodOptional<z.ZodString>;
662
+ actual: z.ZodOptional<z.ZodString>;
663
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
664
+ subtasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
665
+ id: z.ZodString;
666
+ title: z.ZodString;
667
+ status: z.ZodEnum<["pending", "in_progress", "completed", "blocked", "skipped"]>;
668
+ notes: z.ZodOptional<z.ZodString>;
669
+ }, "strip", z.ZodTypeAny, {
670
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
671
+ id: string;
672
+ title: string;
673
+ notes?: string | undefined;
674
+ }, {
675
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
676
+ id: string;
677
+ title: string;
678
+ notes?: string | undefined;
679
+ }>, "many">>;
680
+ notes: z.ZodOptional<z.ZodString>;
681
+ started_at: z.ZodOptional<z.ZodString>;
682
+ completed_at: z.ZodOptional<z.ZodString>;
683
+ }, "strip", z.ZodTypeAny, {
684
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
685
+ id: string;
686
+ title: string;
687
+ priority: "critical" | "high" | "medium" | "low";
688
+ notes?: string | undefined;
689
+ description?: string | undefined;
690
+ estimate?: string | undefined;
691
+ actual?: string | undefined;
692
+ dependencies?: string[] | undefined;
693
+ subtasks?: {
694
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
695
+ id: string;
696
+ title: string;
697
+ notes?: string | undefined;
698
+ }[] | undefined;
699
+ started_at?: string | undefined;
700
+ completed_at?: string | undefined;
701
+ }, {
702
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
703
+ id: string;
704
+ title: string;
705
+ priority: "critical" | "high" | "medium" | "low";
706
+ notes?: string | undefined;
707
+ description?: string | undefined;
708
+ estimate?: string | undefined;
709
+ actual?: string | undefined;
710
+ dependencies?: string[] | undefined;
711
+ subtasks?: {
712
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
713
+ id: string;
714
+ title: string;
715
+ notes?: string | undefined;
716
+ }[] | undefined;
717
+ started_at?: string | undefined;
718
+ completed_at?: string | undefined;
719
+ }>, "many">;
720
+ }, "strip", z.ZodTypeAny, {
721
+ project: {
722
+ id: string;
723
+ updated: string;
724
+ name: string;
725
+ description?: string | undefined;
726
+ };
727
+ tasks: {
728
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
729
+ id: string;
730
+ title: string;
731
+ priority: "critical" | "high" | "medium" | "low";
732
+ notes?: string | undefined;
733
+ description?: string | undefined;
734
+ estimate?: string | undefined;
735
+ actual?: string | undefined;
736
+ dependencies?: string[] | undefined;
737
+ subtasks?: {
738
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
739
+ id: string;
740
+ title: string;
741
+ notes?: string | undefined;
742
+ }[] | undefined;
743
+ started_at?: string | undefined;
744
+ completed_at?: string | undefined;
745
+ }[];
746
+ success: boolean;
747
+ summary: {
748
+ pending: number;
749
+ in_progress: number;
750
+ completed: number;
751
+ blocked: number;
752
+ skipped: number;
753
+ total: number;
754
+ };
755
+ progress: {
756
+ completed: number;
757
+ total: number;
758
+ percentage: number;
759
+ };
760
+ current_task: {
761
+ id: string;
762
+ title: string;
763
+ } | null;
764
+ }, {
765
+ project: {
766
+ id: string;
767
+ updated: string;
768
+ name: string;
769
+ description?: string | undefined;
770
+ };
771
+ tasks: {
772
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
773
+ id: string;
774
+ title: string;
775
+ priority: "critical" | "high" | "medium" | "low";
776
+ notes?: string | undefined;
777
+ description?: string | undefined;
778
+ estimate?: string | undefined;
779
+ actual?: string | undefined;
780
+ dependencies?: string[] | undefined;
781
+ subtasks?: {
782
+ status: "pending" | "in_progress" | "completed" | "blocked" | "skipped";
783
+ id: string;
784
+ title: string;
785
+ notes?: string | undefined;
786
+ }[] | undefined;
787
+ started_at?: string | undefined;
788
+ completed_at?: string | undefined;
789
+ }[];
790
+ success: boolean;
791
+ summary: {
792
+ pending: number;
793
+ in_progress: number;
794
+ completed: number;
795
+ blocked: number;
796
+ skipped: number;
797
+ total: number;
798
+ };
799
+ progress: {
800
+ completed: number;
801
+ total: number;
802
+ percentage: number;
803
+ };
804
+ current_task: {
805
+ id: string;
806
+ title: string;
807
+ } | null;
808
+ }>;
809
+ export type StatusProjectOutput = z.infer<typeof StatusProjectOutputSchema>;
810
+ export declare const UpdateOutputSchema: z.ZodObject<{
811
+ success: z.ZodBoolean;
812
+ updated: z.ZodObject<{
813
+ task_id: z.ZodString;
814
+ status: z.ZodString;
815
+ notes: z.ZodOptional<z.ZodString>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ status: string;
818
+ task_id: string;
819
+ notes?: string | undefined;
820
+ }, {
821
+ status: string;
822
+ task_id: string;
823
+ notes?: string | undefined;
824
+ }>;
825
+ summary: z.ZodObject<{
826
+ total: z.ZodNumber;
827
+ completed: z.ZodNumber;
828
+ in_progress: z.ZodNumber;
829
+ blocked: z.ZodNumber;
830
+ pending: z.ZodNumber;
831
+ skipped: z.ZodNumber;
832
+ }, "strip", z.ZodTypeAny, {
833
+ pending: number;
834
+ in_progress: number;
835
+ completed: number;
836
+ blocked: number;
837
+ skipped: number;
838
+ total: number;
839
+ }, {
840
+ pending: number;
841
+ in_progress: number;
842
+ completed: number;
843
+ blocked: number;
844
+ skipped: number;
845
+ total: number;
846
+ }>;
847
+ progress: z.ZodObject<{
848
+ completed: z.ZodNumber;
849
+ total: z.ZodNumber;
850
+ percentage: z.ZodNumber;
851
+ }, "strip", z.ZodTypeAny, {
852
+ completed: number;
853
+ total: number;
854
+ percentage: number;
855
+ }, {
856
+ completed: number;
857
+ total: number;
858
+ percentage: number;
859
+ }>;
860
+ next_task: z.ZodNullable<z.ZodObject<{
861
+ id: z.ZodString;
862
+ title: z.ZodString;
863
+ }, "strip", z.ZodTypeAny, {
864
+ id: string;
865
+ title: string;
866
+ }, {
867
+ id: string;
868
+ title: string;
869
+ }>>;
870
+ }, "strip", z.ZodTypeAny, {
871
+ updated: {
872
+ status: string;
873
+ task_id: string;
874
+ notes?: string | undefined;
875
+ };
876
+ success: boolean;
877
+ summary: {
878
+ pending: number;
879
+ in_progress: number;
880
+ completed: number;
881
+ blocked: number;
882
+ skipped: number;
883
+ total: number;
884
+ };
885
+ next_task: {
886
+ id: string;
887
+ title: string;
888
+ } | null;
889
+ progress: {
890
+ completed: number;
891
+ total: number;
892
+ percentage: number;
893
+ };
894
+ }, {
895
+ updated: {
896
+ status: string;
897
+ task_id: string;
898
+ notes?: string | undefined;
899
+ };
900
+ success: boolean;
901
+ summary: {
902
+ pending: number;
903
+ in_progress: number;
904
+ completed: number;
905
+ blocked: number;
906
+ skipped: number;
907
+ total: number;
908
+ };
909
+ next_task: {
910
+ id: string;
911
+ title: string;
912
+ } | null;
913
+ progress: {
914
+ completed: number;
915
+ total: number;
916
+ percentage: number;
917
+ };
918
+ }>;
919
+ export type UpdateOutput = z.infer<typeof UpdateOutputSchema>;
920
+ export declare const ResetCleanupOutputSchema: z.ZodObject<{
921
+ success: z.ZodBoolean;
922
+ action: z.ZodLiteral<"cleanup">;
923
+ archived_count: z.ZodNumber;
924
+ archived: z.ZodArray<z.ZodString, "many">;
925
+ }, "strip", z.ZodTypeAny, {
926
+ action: "cleanup";
927
+ success: boolean;
928
+ archived_count: number;
929
+ archived: string[];
930
+ }, {
931
+ action: "cleanup";
932
+ success: boolean;
933
+ archived_count: number;
934
+ archived: string[];
935
+ }>;
936
+ export declare const ResetListOutputSchema: z.ZodObject<{
937
+ success: z.ZodBoolean;
938
+ action: z.ZodLiteral<"list">;
939
+ total: z.ZodNumber;
940
+ archives: z.ZodArray<z.ZodObject<{
941
+ archive_id: z.ZodString;
942
+ project_id: z.ZodString;
943
+ archived_at: z.ZodString;
944
+ }, "strip", z.ZodTypeAny, {
945
+ project_id: string;
946
+ archive_id: string;
947
+ archived_at: string;
948
+ }, {
949
+ project_id: string;
950
+ archive_id: string;
951
+ archived_at: string;
952
+ }>, "many">;
953
+ }, "strip", z.ZodTypeAny, {
954
+ total: number;
955
+ action: "list";
956
+ success: boolean;
957
+ archives: {
958
+ project_id: string;
959
+ archive_id: string;
960
+ archived_at: string;
961
+ }[];
962
+ }, {
963
+ total: number;
964
+ action: "list";
965
+ success: boolean;
966
+ archives: {
967
+ project_id: string;
968
+ archive_id: string;
969
+ archived_at: string;
970
+ }[];
971
+ }>;
972
+ export declare const ResetRestoreOutputSchema: z.ZodObject<{
973
+ success: z.ZodBoolean;
974
+ action: z.ZodLiteral<"restore">;
975
+ restored_project_id: z.ZodString;
976
+ from_archive: z.ZodString;
977
+ }, "strip", z.ZodTypeAny, {
978
+ action: "restore";
979
+ success: boolean;
980
+ restored_project_id: string;
981
+ from_archive: string;
982
+ }, {
983
+ action: "restore";
984
+ success: boolean;
985
+ restored_project_id: string;
986
+ from_archive: string;
987
+ }>;
988
+ export declare const ErrorOutputSchema: z.ZodObject<{
989
+ success: z.ZodLiteral<false>;
990
+ error: z.ZodString;
991
+ }, "strip", z.ZodTypeAny, {
992
+ success: false;
993
+ error: string;
994
+ }, {
995
+ success: false;
996
+ error: string;
997
+ }>;
998
+ export type ErrorOutput = z.infer<typeof ErrorOutputSchema>;
999
+ //# sourceMappingURL=types.d.ts.map