@zeliper/zscode-mcp-server 1.0.1 → 1.0.3

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 (59) hide show
  1. package/dist/errors/index.d.ts +28 -0
  2. package/dist/errors/index.d.ts.map +1 -1
  3. package/dist/errors/index.js +50 -0
  4. package/dist/errors/index.js.map +1 -1
  5. package/dist/state/manager.d.ts +74 -2
  6. package/dist/state/manager.d.ts.map +1 -1
  7. package/dist/state/manager.js +551 -138
  8. package/dist/state/manager.js.map +1 -1
  9. package/dist/state/manager.test.d.ts +2 -0
  10. package/dist/state/manager.test.d.ts.map +1 -0
  11. package/dist/state/manager.test.js +310 -0
  12. package/dist/state/manager.test.js.map +1 -0
  13. package/dist/state/schema.d.ts +443 -21
  14. package/dist/state/schema.d.ts.map +1 -1
  15. package/dist/state/schema.js +99 -1
  16. package/dist/state/schema.js.map +1 -1
  17. package/dist/state/schema.test.d.ts +2 -0
  18. package/dist/state/schema.test.d.ts.map +1 -0
  19. package/dist/state/schema.test.js +300 -0
  20. package/dist/state/schema.test.js.map +1 -0
  21. package/dist/state/types.d.ts +47 -1
  22. package/dist/state/types.d.ts.map +1 -1
  23. package/dist/state/types.js +3 -1
  24. package/dist/state/types.js.map +1 -1
  25. package/dist/tools/archive.d.ts.map +1 -1
  26. package/dist/tools/archive.js +57 -0
  27. package/dist/tools/archive.js.map +1 -1
  28. package/dist/tools/context.d.ts.map +1 -1
  29. package/dist/tools/context.js +14 -0
  30. package/dist/tools/context.js.map +1 -1
  31. package/dist/tools/files.d.ts +7 -0
  32. package/dist/tools/files.d.ts.map +1 -0
  33. package/dist/tools/files.js +131 -0
  34. package/dist/tools/files.js.map +1 -0
  35. package/dist/tools/index.d.ts.map +1 -1
  36. package/dist/tools/index.js +9 -0
  37. package/dist/tools/index.js.map +1 -1
  38. package/dist/tools/memory.d.ts +7 -0
  39. package/dist/tools/memory.d.ts.map +1 -0
  40. package/dist/tools/memory.js +243 -0
  41. package/dist/tools/memory.js.map +1 -0
  42. package/dist/tools/modify.d.ts.map +1 -1
  43. package/dist/tools/modify.js +43 -7
  44. package/dist/tools/modify.js.map +1 -1
  45. package/dist/tools/plan.d.ts.map +1 -1
  46. package/dist/tools/plan.js +77 -4
  47. package/dist/tools/plan.js.map +1 -1
  48. package/dist/tools/staging.d.ts.map +1 -1
  49. package/dist/tools/staging.js +104 -6
  50. package/dist/tools/staging.js.map +1 -1
  51. package/dist/tools/summary.d.ts +7 -0
  52. package/dist/tools/summary.d.ts.map +1 -0
  53. package/dist/tools/summary.js +127 -0
  54. package/dist/tools/summary.js.map +1 -0
  55. package/dist/utils/paths.d.ts +34 -0
  56. package/dist/utils/paths.d.ts.map +1 -1
  57. package/dist/utils/paths.js +94 -2
  58. package/dist/utils/paths.js.map +1 -1
  59. package/package.json +10 -3
@@ -1,14 +1,57 @@
1
1
  import { z } from "zod";
2
+ export declare const STATE_VERSION: "2.0.0";
2
3
  export declare const ISODateStringSchema: z.ZodUnion<[z.ZodString, z.ZodString]>;
3
4
  export declare const PlanIdSchema: z.ZodString;
4
5
  export declare const StagingIdSchema: z.ZodString;
5
6
  export declare const TaskIdSchema: z.ZodString;
7
+ export declare const MemoryIdSchema: z.ZodString;
6
8
  export declare const TaskStatusSchema: z.ZodEnum<["pending", "in_progress", "done", "blocked", "cancelled"]>;
7
9
  export declare const TaskPrioritySchema: z.ZodEnum<["high", "medium", "low"]>;
8
10
  export declare const StagingStatusSchema: z.ZodEnum<["pending", "in_progress", "completed", "failed", "cancelled"]>;
9
11
  export declare const PlanStatusSchema: z.ZodEnum<["draft", "active", "completed", "archived", "cancelled"]>;
10
12
  export declare const ExecutionTypeSchema: z.ZodEnum<["parallel", "sequential"]>;
11
- export declare const HistoryEntryTypeSchema: z.ZodEnum<["project_initialized", "plan_created", "plan_updated", "plan_archived", "plan_cancelled", "staging_started", "staging_completed", "staging_failed", "staging_updated", "staging_added", "staging_removed", "task_started", "task_completed", "task_blocked", "task_added", "task_removed", "task_updated", "decision_added", "session_started", "session_ended"]>;
13
+ export declare const ModelTypeSchema: z.ZodEnum<["opus", "sonnet", "haiku"]>;
14
+ export declare const SessionBudgetSchema: z.ZodEnum<["minimal", "standard", "extensive"]>;
15
+ export declare const HistoryEntryTypeSchema: z.ZodEnum<["project_initialized", "plan_created", "plan_updated", "plan_archived", "plan_unarchived", "plan_cancelled", "staging_started", "staging_completed", "staging_failed", "staging_updated", "staging_added", "staging_removed", "task_started", "task_completed", "task_blocked", "task_added", "task_removed", "task_updated", "decision_added", "memory_added", "memory_updated", "memory_removed", "session_started", "session_ended"]>;
16
+ export declare const CrossStagingRefSchema: z.ZodObject<{
17
+ stagingId: z.ZodString;
18
+ taskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ stagingId: string;
21
+ taskIds?: string[] | undefined;
22
+ }, {
23
+ stagingId: string;
24
+ taskIds?: string[] | undefined;
25
+ }>;
26
+ export declare const CrossTaskRefSchema: z.ZodObject<{
27
+ taskId: z.ZodString;
28
+ stagingId: z.ZodString;
29
+ }, "strip", z.ZodTypeAny, {
30
+ stagingId: string;
31
+ taskId: string;
32
+ }, {
33
+ stagingId: string;
34
+ taskId: string;
35
+ }>;
36
+ export declare const TaskOutputInputSchema: z.ZodObject<{
37
+ status: z.ZodEnum<["success", "failure", "partial"]>;
38
+ summary: z.ZodString;
39
+ artifacts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
40
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
41
+ error: z.ZodOptional<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ status: "success" | "failure" | "partial";
44
+ summary: string;
45
+ artifacts: string[];
46
+ data?: Record<string, unknown> | undefined;
47
+ error?: string | undefined;
48
+ }, {
49
+ status: "success" | "failure" | "partial";
50
+ summary: string;
51
+ artifacts?: string[] | undefined;
52
+ data?: Record<string, unknown> | undefined;
53
+ error?: string | undefined;
54
+ }>;
12
55
  export declare const TaskOutputSchema: z.ZodObject<{
13
56
  status: z.ZodEnum<["success", "failure", "partial"]>;
14
57
  summary: z.ZodString;
@@ -40,7 +83,19 @@ export declare const TaskSchema: z.ZodObject<{
40
83
  priority: z.ZodDefault<z.ZodEnum<["high", "medium", "low"]>>;
41
84
  status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "done", "blocked", "cancelled"]>>;
42
85
  execution_mode: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
86
+ model: z.ZodOptional<z.ZodEnum<["opus", "sonnet", "haiku"]>>;
43
87
  depends_on: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
88
+ cross_staging_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
89
+ taskId: z.ZodString;
90
+ stagingId: z.ZodString;
91
+ }, "strip", z.ZodTypeAny, {
92
+ stagingId: string;
93
+ taskId: string;
94
+ }, {
95
+ stagingId: string;
96
+ taskId: string;
97
+ }>, "many">>;
98
+ memory_tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
44
99
  order: z.ZodOptional<z.ZodNumber>;
45
100
  notes: z.ZodOptional<z.ZodString>;
46
101
  output: z.ZodOptional<z.ZodObject<{
@@ -71,17 +126,23 @@ export declare const TaskSchema: z.ZodObject<{
71
126
  completedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
72
127
  }, "strip", z.ZodTypeAny, {
73
128
  status: "pending" | "in_progress" | "done" | "blocked" | "cancelled";
129
+ stagingId: string;
74
130
  id: string;
75
131
  planId: string;
76
- stagingId: string;
77
132
  title: string;
78
133
  priority: "high" | "medium" | "low";
79
134
  execution_mode: "parallel" | "sequential";
80
135
  depends_on: string[];
136
+ cross_staging_refs: {
137
+ stagingId: string;
138
+ taskId: string;
139
+ }[];
140
+ memory_tags: string[];
81
141
  createdAt: string;
82
142
  updatedAt: string;
83
143
  completedAt?: string | undefined;
84
144
  description?: string | undefined;
145
+ model?: "opus" | "sonnet" | "haiku" | undefined;
85
146
  order?: number | undefined;
86
147
  notes?: string | undefined;
87
148
  output?: {
@@ -94,9 +155,9 @@ export declare const TaskSchema: z.ZodObject<{
94
155
  } | undefined;
95
156
  startedAt?: string | undefined;
96
157
  }, {
158
+ stagingId: string;
97
159
  id: string;
98
160
  planId: string;
99
- stagingId: string;
100
161
  title: string;
101
162
  createdAt: string;
102
163
  updatedAt: string;
@@ -105,7 +166,13 @@ export declare const TaskSchema: z.ZodObject<{
105
166
  description?: string | undefined;
106
167
  priority?: "high" | "medium" | "low" | undefined;
107
168
  execution_mode?: "parallel" | "sequential" | undefined;
169
+ model?: "opus" | "sonnet" | "haiku" | undefined;
108
170
  depends_on?: string[] | undefined;
171
+ cross_staging_refs?: {
172
+ stagingId: string;
173
+ taskId: string;
174
+ }[] | undefined;
175
+ memory_tags?: string[] | undefined;
109
176
  order?: number | undefined;
110
177
  notes?: string | undefined;
111
178
  output?: {
@@ -126,7 +193,21 @@ export declare const StagingSchema: z.ZodObject<{
126
193
  order: z.ZodNumber;
127
194
  execution_type: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
128
195
  status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "failed", "cancelled"]>>;
196
+ default_model: z.ZodOptional<z.ZodEnum<["opus", "sonnet", "haiku"]>>;
197
+ session_budget: z.ZodOptional<z.ZodEnum<["minimal", "standard", "extensive"]>>;
198
+ recommended_sessions: z.ZodOptional<z.ZodNumber>;
129
199
  tasks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
200
+ depends_on_stagings: z.ZodDefault<z.ZodArray<z.ZodObject<{
201
+ stagingId: z.ZodString;
202
+ taskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ stagingId: string;
205
+ taskIds?: string[] | undefined;
206
+ }, {
207
+ stagingId: string;
208
+ taskIds?: string[] | undefined;
209
+ }>, "many">>;
210
+ auto_include_artifacts: z.ZodDefault<z.ZodBoolean>;
130
211
  artifacts_path: z.ZodString;
131
212
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
132
213
  startedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
@@ -140,10 +221,18 @@ export declare const StagingSchema: z.ZodObject<{
140
221
  name: string;
141
222
  execution_type: "parallel" | "sequential";
142
223
  tasks: string[];
224
+ depends_on_stagings: {
225
+ stagingId: string;
226
+ taskIds?: string[] | undefined;
227
+ }[];
228
+ auto_include_artifacts: boolean;
143
229
  artifacts_path: string;
144
230
  completedAt?: string | undefined;
145
231
  description?: string | undefined;
146
232
  startedAt?: string | undefined;
233
+ default_model?: "opus" | "sonnet" | "haiku" | undefined;
234
+ session_budget?: "minimal" | "standard" | "extensive" | undefined;
235
+ recommended_sessions?: number | undefined;
147
236
  }, {
148
237
  id: string;
149
238
  planId: string;
@@ -156,7 +245,15 @@ export declare const StagingSchema: z.ZodObject<{
156
245
  description?: string | undefined;
157
246
  startedAt?: string | undefined;
158
247
  execution_type?: "parallel" | "sequential" | undefined;
248
+ default_model?: "opus" | "sonnet" | "haiku" | undefined;
249
+ session_budget?: "minimal" | "standard" | "extensive" | undefined;
250
+ recommended_sessions?: number | undefined;
159
251
  tasks?: string[] | undefined;
252
+ depends_on_stagings?: {
253
+ stagingId: string;
254
+ taskIds?: string[] | undefined;
255
+ }[] | undefined;
256
+ auto_include_artifacts?: boolean | undefined;
160
257
  }>;
161
258
  export declare const PlanSchema: z.ZodObject<{
162
259
  id: z.ZodString;
@@ -220,15 +317,15 @@ export declare const ProjectSchema: z.ZodObject<{
220
317
  export declare const HistoryEntrySchema: z.ZodObject<{
221
318
  id: z.ZodString;
222
319
  timestamp: z.ZodUnion<[z.ZodString, z.ZodString]>;
223
- type: z.ZodEnum<["project_initialized", "plan_created", "plan_updated", "plan_archived", "plan_cancelled", "staging_started", "staging_completed", "staging_failed", "staging_updated", "staging_added", "staging_removed", "task_started", "task_completed", "task_blocked", "task_added", "task_removed", "task_updated", "decision_added", "session_started", "session_ended"]>;
320
+ type: z.ZodEnum<["project_initialized", "plan_created", "plan_updated", "plan_archived", "plan_unarchived", "plan_cancelled", "staging_started", "staging_completed", "staging_failed", "staging_updated", "staging_added", "staging_removed", "task_started", "task_completed", "task_blocked", "task_added", "task_removed", "task_updated", "decision_added", "memory_added", "memory_updated", "memory_removed", "session_started", "session_ended"]>;
224
321
  details: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
225
322
  }, "strip", z.ZodTypeAny, {
226
- type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "session_started" | "session_ended";
323
+ type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_unarchived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "memory_added" | "memory_updated" | "memory_removed" | "session_started" | "session_ended";
227
324
  id: string;
228
325
  timestamp: string;
229
326
  details: Record<string, unknown>;
230
327
  }, {
231
- type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "session_started" | "session_ended";
328
+ type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_unarchived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "memory_added" | "memory_updated" | "memory_removed" | "session_started" | "session_ended";
232
329
  id: string;
233
330
  timestamp: string;
234
331
  details?: Record<string, unknown> | undefined;
@@ -258,6 +355,38 @@ export declare const DecisionSchema: z.ZodObject<{
258
355
  relatedPlanId?: string | undefined;
259
356
  relatedStagingId?: string | undefined;
260
357
  }>;
358
+ export declare const DEFAULT_MEMORY_CATEGORIES: readonly ["general", "planning", "coding", "review", "staging-start", "task-start", "task-complete", "staging-complete", "plan-complete", "project-summary"];
359
+ export declare const MemorySchema: z.ZodObject<{
360
+ id: z.ZodString;
361
+ category: z.ZodString;
362
+ title: z.ZodString;
363
+ content: z.ZodString;
364
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
365
+ priority: z.ZodDefault<z.ZodNumber>;
366
+ enabled: z.ZodDefault<z.ZodBoolean>;
367
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
368
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
369
+ }, "strip", z.ZodTypeAny, {
370
+ id: string;
371
+ title: string;
372
+ priority: number;
373
+ createdAt: string;
374
+ updatedAt: string;
375
+ category: string;
376
+ content: string;
377
+ tags: string[];
378
+ enabled: boolean;
379
+ }, {
380
+ id: string;
381
+ title: string;
382
+ createdAt: string;
383
+ updatedAt: string;
384
+ category: string;
385
+ content: string;
386
+ priority?: number | undefined;
387
+ tags?: string[] | undefined;
388
+ enabled?: boolean | undefined;
389
+ }>;
261
390
  export declare const ContextSchema: z.ZodObject<{
262
391
  lastUpdated: z.ZodUnion<[z.ZodString, z.ZodString]>;
263
392
  activeFiles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -288,6 +417,37 @@ export declare const ContextSchema: z.ZodObject<{
288
417
  relatedPlanId?: string | undefined;
289
418
  relatedStagingId?: string | undefined;
290
419
  }>, "many">>;
420
+ memories: z.ZodDefault<z.ZodArray<z.ZodObject<{
421
+ id: z.ZodString;
422
+ category: z.ZodString;
423
+ title: z.ZodString;
424
+ content: z.ZodString;
425
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
426
+ priority: z.ZodDefault<z.ZodNumber>;
427
+ enabled: z.ZodDefault<z.ZodBoolean>;
428
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
429
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
430
+ }, "strip", z.ZodTypeAny, {
431
+ id: string;
432
+ title: string;
433
+ priority: number;
434
+ createdAt: string;
435
+ updatedAt: string;
436
+ category: string;
437
+ content: string;
438
+ tags: string[];
439
+ enabled: boolean;
440
+ }, {
441
+ id: string;
442
+ title: string;
443
+ createdAt: string;
444
+ updatedAt: string;
445
+ category: string;
446
+ content: string;
447
+ priority?: number | undefined;
448
+ tags?: string[] | undefined;
449
+ enabled?: boolean | undefined;
450
+ }>, "many">>;
291
451
  sessionSummary: z.ZodOptional<z.ZodString>;
292
452
  }, "strip", z.ZodTypeAny, {
293
453
  lastUpdated: string;
@@ -301,6 +461,17 @@ export declare const ContextSchema: z.ZodObject<{
301
461
  relatedPlanId?: string | undefined;
302
462
  relatedStagingId?: string | undefined;
303
463
  }[];
464
+ memories: {
465
+ id: string;
466
+ title: string;
467
+ priority: number;
468
+ createdAt: string;
469
+ updatedAt: string;
470
+ category: string;
471
+ content: string;
472
+ tags: string[];
473
+ enabled: boolean;
474
+ }[];
304
475
  currentStagingId?: string | undefined;
305
476
  currentPlanId?: string | undefined;
306
477
  sessionSummary?: string | undefined;
@@ -318,6 +489,17 @@ export declare const ContextSchema: z.ZodObject<{
318
489
  relatedPlanId?: string | undefined;
319
490
  relatedStagingId?: string | undefined;
320
491
  }[] | undefined;
492
+ memories?: {
493
+ id: string;
494
+ title: string;
495
+ createdAt: string;
496
+ updatedAt: string;
497
+ category: string;
498
+ content: string;
499
+ priority?: number | undefined;
500
+ tags?: string[] | undefined;
501
+ enabled?: boolean | undefined;
502
+ }[] | undefined;
321
503
  sessionSummary?: string | undefined;
322
504
  }>;
323
505
  export declare const StateSchema: z.ZodObject<{
@@ -389,7 +571,21 @@ export declare const StateSchema: z.ZodObject<{
389
571
  order: z.ZodNumber;
390
572
  execution_type: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
391
573
  status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "completed", "failed", "cancelled"]>>;
574
+ default_model: z.ZodOptional<z.ZodEnum<["opus", "sonnet", "haiku"]>>;
575
+ session_budget: z.ZodOptional<z.ZodEnum<["minimal", "standard", "extensive"]>>;
576
+ recommended_sessions: z.ZodOptional<z.ZodNumber>;
392
577
  tasks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
578
+ depends_on_stagings: z.ZodDefault<z.ZodArray<z.ZodObject<{
579
+ stagingId: z.ZodString;
580
+ taskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ stagingId: string;
583
+ taskIds?: string[] | undefined;
584
+ }, {
585
+ stagingId: string;
586
+ taskIds?: string[] | undefined;
587
+ }>, "many">>;
588
+ auto_include_artifacts: z.ZodDefault<z.ZodBoolean>;
393
589
  artifacts_path: z.ZodString;
394
590
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
395
591
  startedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
@@ -403,10 +599,18 @@ export declare const StateSchema: z.ZodObject<{
403
599
  name: string;
404
600
  execution_type: "parallel" | "sequential";
405
601
  tasks: string[];
602
+ depends_on_stagings: {
603
+ stagingId: string;
604
+ taskIds?: string[] | undefined;
605
+ }[];
606
+ auto_include_artifacts: boolean;
406
607
  artifacts_path: string;
407
608
  completedAt?: string | undefined;
408
609
  description?: string | undefined;
409
610
  startedAt?: string | undefined;
611
+ default_model?: "opus" | "sonnet" | "haiku" | undefined;
612
+ session_budget?: "minimal" | "standard" | "extensive" | undefined;
613
+ recommended_sessions?: number | undefined;
410
614
  }, {
411
615
  id: string;
412
616
  planId: string;
@@ -419,7 +623,15 @@ export declare const StateSchema: z.ZodObject<{
419
623
  description?: string | undefined;
420
624
  startedAt?: string | undefined;
421
625
  execution_type?: "parallel" | "sequential" | undefined;
626
+ default_model?: "opus" | "sonnet" | "haiku" | undefined;
627
+ session_budget?: "minimal" | "standard" | "extensive" | undefined;
628
+ recommended_sessions?: number | undefined;
422
629
  tasks?: string[] | undefined;
630
+ depends_on_stagings?: {
631
+ stagingId: string;
632
+ taskIds?: string[] | undefined;
633
+ }[] | undefined;
634
+ auto_include_artifacts?: boolean | undefined;
423
635
  }>>>;
424
636
  tasks: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
425
637
  id: z.ZodString;
@@ -430,7 +642,19 @@ export declare const StateSchema: z.ZodObject<{
430
642
  priority: z.ZodDefault<z.ZodEnum<["high", "medium", "low"]>>;
431
643
  status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "done", "blocked", "cancelled"]>>;
432
644
  execution_mode: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
645
+ model: z.ZodOptional<z.ZodEnum<["opus", "sonnet", "haiku"]>>;
433
646
  depends_on: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
647
+ cross_staging_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
648
+ taskId: z.ZodString;
649
+ stagingId: z.ZodString;
650
+ }, "strip", z.ZodTypeAny, {
651
+ stagingId: string;
652
+ taskId: string;
653
+ }, {
654
+ stagingId: string;
655
+ taskId: string;
656
+ }>, "many">>;
657
+ memory_tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
434
658
  order: z.ZodOptional<z.ZodNumber>;
435
659
  notes: z.ZodOptional<z.ZodString>;
436
660
  output: z.ZodOptional<z.ZodObject<{
@@ -461,17 +685,23 @@ export declare const StateSchema: z.ZodObject<{
461
685
  completedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
462
686
  }, "strip", z.ZodTypeAny, {
463
687
  status: "pending" | "in_progress" | "done" | "blocked" | "cancelled";
688
+ stagingId: string;
464
689
  id: string;
465
690
  planId: string;
466
- stagingId: string;
467
691
  title: string;
468
692
  priority: "high" | "medium" | "low";
469
693
  execution_mode: "parallel" | "sequential";
470
694
  depends_on: string[];
695
+ cross_staging_refs: {
696
+ stagingId: string;
697
+ taskId: string;
698
+ }[];
699
+ memory_tags: string[];
471
700
  createdAt: string;
472
701
  updatedAt: string;
473
702
  completedAt?: string | undefined;
474
703
  description?: string | undefined;
704
+ model?: "opus" | "sonnet" | "haiku" | undefined;
475
705
  order?: number | undefined;
476
706
  notes?: string | undefined;
477
707
  output?: {
@@ -484,9 +714,9 @@ export declare const StateSchema: z.ZodObject<{
484
714
  } | undefined;
485
715
  startedAt?: string | undefined;
486
716
  }, {
717
+ stagingId: string;
487
718
  id: string;
488
719
  planId: string;
489
- stagingId: string;
490
720
  title: string;
491
721
  createdAt: string;
492
722
  updatedAt: string;
@@ -495,7 +725,13 @@ export declare const StateSchema: z.ZodObject<{
495
725
  description?: string | undefined;
496
726
  priority?: "high" | "medium" | "low" | undefined;
497
727
  execution_mode?: "parallel" | "sequential" | undefined;
728
+ model?: "opus" | "sonnet" | "haiku" | undefined;
498
729
  depends_on?: string[] | undefined;
730
+ cross_staging_refs?: {
731
+ stagingId: string;
732
+ taskId: string;
733
+ }[] | undefined;
734
+ memory_tags?: string[] | undefined;
499
735
  order?: number | undefined;
500
736
  notes?: string | undefined;
501
737
  output?: {
@@ -511,15 +747,15 @@ export declare const StateSchema: z.ZodObject<{
511
747
  history: z.ZodDefault<z.ZodArray<z.ZodObject<{
512
748
  id: z.ZodString;
513
749
  timestamp: z.ZodUnion<[z.ZodString, z.ZodString]>;
514
- type: z.ZodEnum<["project_initialized", "plan_created", "plan_updated", "plan_archived", "plan_cancelled", "staging_started", "staging_completed", "staging_failed", "staging_updated", "staging_added", "staging_removed", "task_started", "task_completed", "task_blocked", "task_added", "task_removed", "task_updated", "decision_added", "session_started", "session_ended"]>;
750
+ type: z.ZodEnum<["project_initialized", "plan_created", "plan_updated", "plan_archived", "plan_unarchived", "plan_cancelled", "staging_started", "staging_completed", "staging_failed", "staging_updated", "staging_added", "staging_removed", "task_started", "task_completed", "task_blocked", "task_added", "task_removed", "task_updated", "decision_added", "memory_added", "memory_updated", "memory_removed", "session_started", "session_ended"]>;
515
751
  details: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
516
752
  }, "strip", z.ZodTypeAny, {
517
- type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "session_started" | "session_ended";
753
+ type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_unarchived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "memory_added" | "memory_updated" | "memory_removed" | "session_started" | "session_ended";
518
754
  id: string;
519
755
  timestamp: string;
520
756
  details: Record<string, unknown>;
521
757
  }, {
522
- type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "session_started" | "session_ended";
758
+ type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_unarchived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "memory_added" | "memory_updated" | "memory_removed" | "session_started" | "session_ended";
523
759
  id: string;
524
760
  timestamp: string;
525
761
  details?: Record<string, unknown> | undefined;
@@ -554,6 +790,37 @@ export declare const StateSchema: z.ZodObject<{
554
790
  relatedPlanId?: string | undefined;
555
791
  relatedStagingId?: string | undefined;
556
792
  }>, "many">>;
793
+ memories: z.ZodDefault<z.ZodArray<z.ZodObject<{
794
+ id: z.ZodString;
795
+ category: z.ZodString;
796
+ title: z.ZodString;
797
+ content: z.ZodString;
798
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
799
+ priority: z.ZodDefault<z.ZodNumber>;
800
+ enabled: z.ZodDefault<z.ZodBoolean>;
801
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
802
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
803
+ }, "strip", z.ZodTypeAny, {
804
+ id: string;
805
+ title: string;
806
+ priority: number;
807
+ createdAt: string;
808
+ updatedAt: string;
809
+ category: string;
810
+ content: string;
811
+ tags: string[];
812
+ enabled: boolean;
813
+ }, {
814
+ id: string;
815
+ title: string;
816
+ createdAt: string;
817
+ updatedAt: string;
818
+ category: string;
819
+ content: string;
820
+ priority?: number | undefined;
821
+ tags?: string[] | undefined;
822
+ enabled?: boolean | undefined;
823
+ }>, "many">>;
557
824
  sessionSummary: z.ZodOptional<z.ZodString>;
558
825
  }, "strip", z.ZodTypeAny, {
559
826
  lastUpdated: string;
@@ -567,6 +834,17 @@ export declare const StateSchema: z.ZodObject<{
567
834
  relatedPlanId?: string | undefined;
568
835
  relatedStagingId?: string | undefined;
569
836
  }[];
837
+ memories: {
838
+ id: string;
839
+ title: string;
840
+ priority: number;
841
+ createdAt: string;
842
+ updatedAt: string;
843
+ category: string;
844
+ content: string;
845
+ tags: string[];
846
+ enabled: boolean;
847
+ }[];
570
848
  currentStagingId?: string | undefined;
571
849
  currentPlanId?: string | undefined;
572
850
  sessionSummary?: string | undefined;
@@ -584,22 +862,39 @@ export declare const StateSchema: z.ZodObject<{
584
862
  relatedPlanId?: string | undefined;
585
863
  relatedStagingId?: string | undefined;
586
864
  }[] | undefined;
865
+ memories?: {
866
+ id: string;
867
+ title: string;
868
+ createdAt: string;
869
+ updatedAt: string;
870
+ category: string;
871
+ content: string;
872
+ priority?: number | undefined;
873
+ tags?: string[] | undefined;
874
+ enabled?: boolean | undefined;
875
+ }[] | undefined;
587
876
  sessionSummary?: string | undefined;
588
877
  }>;
589
878
  }, "strip", z.ZodTypeAny, {
590
879
  tasks: Record<string, {
591
880
  status: "pending" | "in_progress" | "done" | "blocked" | "cancelled";
881
+ stagingId: string;
592
882
  id: string;
593
883
  planId: string;
594
- stagingId: string;
595
884
  title: string;
596
885
  priority: "high" | "medium" | "low";
597
886
  execution_mode: "parallel" | "sequential";
598
887
  depends_on: string[];
888
+ cross_staging_refs: {
889
+ stagingId: string;
890
+ taskId: string;
891
+ }[];
892
+ memory_tags: string[];
599
893
  createdAt: string;
600
894
  updatedAt: string;
601
895
  completedAt?: string | undefined;
602
896
  description?: string | undefined;
897
+ model?: "opus" | "sonnet" | "haiku" | undefined;
603
898
  order?: number | undefined;
604
899
  notes?: string | undefined;
605
900
  output?: {
@@ -621,10 +916,18 @@ export declare const StateSchema: z.ZodObject<{
621
916
  name: string;
622
917
  execution_type: "parallel" | "sequential";
623
918
  tasks: string[];
919
+ depends_on_stagings: {
920
+ stagingId: string;
921
+ taskIds?: string[] | undefined;
922
+ }[];
923
+ auto_include_artifacts: boolean;
624
924
  artifacts_path: string;
625
925
  completedAt?: string | undefined;
626
926
  description?: string | undefined;
627
927
  startedAt?: string | undefined;
928
+ default_model?: "opus" | "sonnet" | "haiku" | undefined;
929
+ session_budget?: "minimal" | "standard" | "extensive" | undefined;
930
+ recommended_sessions?: number | undefined;
628
931
  }>;
629
932
  version: "2.0.0";
630
933
  project: {
@@ -649,7 +952,7 @@ export declare const StateSchema: z.ZodObject<{
649
952
  archivedAt?: string | undefined;
650
953
  }>;
651
954
  history: {
652
- type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "session_started" | "session_ended";
955
+ type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_unarchived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "memory_added" | "memory_updated" | "memory_removed" | "session_started" | "session_ended";
653
956
  id: string;
654
957
  timestamp: string;
655
958
  details: Record<string, unknown>;
@@ -666,6 +969,17 @@ export declare const StateSchema: z.ZodObject<{
666
969
  relatedPlanId?: string | undefined;
667
970
  relatedStagingId?: string | undefined;
668
971
  }[];
972
+ memories: {
973
+ id: string;
974
+ title: string;
975
+ priority: number;
976
+ createdAt: string;
977
+ updatedAt: string;
978
+ category: string;
979
+ content: string;
980
+ tags: string[];
981
+ enabled: boolean;
982
+ }[];
669
983
  currentStagingId?: string | undefined;
670
984
  currentPlanId?: string | undefined;
671
985
  sessionSummary?: string | undefined;
@@ -694,12 +1008,23 @@ export declare const StateSchema: z.ZodObject<{
694
1008
  relatedPlanId?: string | undefined;
695
1009
  relatedStagingId?: string | undefined;
696
1010
  }[] | undefined;
1011
+ memories?: {
1012
+ id: string;
1013
+ title: string;
1014
+ createdAt: string;
1015
+ updatedAt: string;
1016
+ category: string;
1017
+ content: string;
1018
+ priority?: number | undefined;
1019
+ tags?: string[] | undefined;
1020
+ enabled?: boolean | undefined;
1021
+ }[] | undefined;
697
1022
  sessionSummary?: string | undefined;
698
1023
  };
699
1024
  tasks?: Record<string, {
1025
+ stagingId: string;
700
1026
  id: string;
701
1027
  planId: string;
702
- stagingId: string;
703
1028
  title: string;
704
1029
  createdAt: string;
705
1030
  updatedAt: string;
@@ -708,7 +1033,13 @@ export declare const StateSchema: z.ZodObject<{
708
1033
  description?: string | undefined;
709
1034
  priority?: "high" | "medium" | "low" | undefined;
710
1035
  execution_mode?: "parallel" | "sequential" | undefined;
1036
+ model?: "opus" | "sonnet" | "haiku" | undefined;
711
1037
  depends_on?: string[] | undefined;
1038
+ cross_staging_refs?: {
1039
+ stagingId: string;
1040
+ taskId: string;
1041
+ }[] | undefined;
1042
+ memory_tags?: string[] | undefined;
712
1043
  order?: number | undefined;
713
1044
  notes?: string | undefined;
714
1045
  output?: {
@@ -733,7 +1064,15 @@ export declare const StateSchema: z.ZodObject<{
733
1064
  description?: string | undefined;
734
1065
  startedAt?: string | undefined;
735
1066
  execution_type?: "parallel" | "sequential" | undefined;
1067
+ default_model?: "opus" | "sonnet" | "haiku" | undefined;
1068
+ session_budget?: "minimal" | "standard" | "extensive" | undefined;
1069
+ recommended_sessions?: number | undefined;
736
1070
  tasks?: string[] | undefined;
1071
+ depends_on_stagings?: {
1072
+ stagingId: string;
1073
+ taskIds?: string[] | undefined;
1074
+ }[] | undefined;
1075
+ auto_include_artifacts?: boolean | undefined;
737
1076
  }> | undefined;
738
1077
  plans?: Record<string, {
739
1078
  id: string;
@@ -749,12 +1088,22 @@ export declare const StateSchema: z.ZodObject<{
749
1088
  archivedAt?: string | undefined;
750
1089
  }> | undefined;
751
1090
  history?: {
752
- type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "session_started" | "session_ended";
1091
+ type: "project_initialized" | "plan_created" | "plan_updated" | "plan_archived" | "plan_unarchived" | "plan_cancelled" | "staging_started" | "staging_completed" | "staging_failed" | "staging_updated" | "staging_added" | "staging_removed" | "task_started" | "task_completed" | "task_blocked" | "task_added" | "task_removed" | "task_updated" | "decision_added" | "memory_added" | "memory_updated" | "memory_removed" | "session_started" | "session_ended";
753
1092
  id: string;
754
1093
  timestamp: string;
755
1094
  details?: Record<string, unknown> | undefined;
756
1095
  }[] | undefined;
757
1096
  }>;
1097
+ export declare const CrossStagingTaskRefInputSchema: z.ZodObject<{
1098
+ staging_index: z.ZodNumber;
1099
+ task_index: z.ZodNumber;
1100
+ }, "strip", z.ZodTypeAny, {
1101
+ staging_index: number;
1102
+ task_index: number;
1103
+ }, {
1104
+ staging_index: number;
1105
+ task_index: number;
1106
+ }>;
758
1107
  export declare const CreatePlanInputSchema: z.ZodObject<{
759
1108
  title: z.ZodString;
760
1109
  description: z.ZodOptional<z.ZodString>;
@@ -762,24 +1111,53 @@ export declare const CreatePlanInputSchema: z.ZodObject<{
762
1111
  name: z.ZodString;
763
1112
  description: z.ZodOptional<z.ZodString>;
764
1113
  execution_type: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
1114
+ default_model: z.ZodOptional<z.ZodEnum<["opus", "sonnet", "haiku"]>>;
1115
+ session_budget: z.ZodOptional<z.ZodEnum<["minimal", "standard", "extensive"]>>;
1116
+ recommended_sessions: z.ZodOptional<z.ZodNumber>;
1117
+ depends_on_staging_indices: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
1118
+ auto_include_artifacts: z.ZodDefault<z.ZodBoolean>;
765
1119
  tasks: z.ZodArray<z.ZodObject<{
766
1120
  title: z.ZodString;
767
1121
  description: z.ZodOptional<z.ZodString>;
768
1122
  priority: z.ZodDefault<z.ZodEnum<["high", "medium", "low"]>>;
769
1123
  execution_mode: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
1124
+ model: z.ZodOptional<z.ZodEnum<["opus", "sonnet", "haiku"]>>;
770
1125
  depends_on_index: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
1126
+ cross_staging_task_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1127
+ staging_index: z.ZodNumber;
1128
+ task_index: z.ZodNumber;
1129
+ }, "strip", z.ZodTypeAny, {
1130
+ staging_index: number;
1131
+ task_index: number;
1132
+ }, {
1133
+ staging_index: number;
1134
+ task_index: number;
1135
+ }>, "many">>;
1136
+ memory_tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
771
1137
  }, "strip", z.ZodTypeAny, {
772
1138
  title: string;
773
1139
  priority: "high" | "medium" | "low";
774
1140
  execution_mode: "parallel" | "sequential";
1141
+ memory_tags: string[];
775
1142
  depends_on_index: number[];
1143
+ cross_staging_task_refs: {
1144
+ staging_index: number;
1145
+ task_index: number;
1146
+ }[];
776
1147
  description?: string | undefined;
1148
+ model?: "opus" | "sonnet" | "haiku" | undefined;
777
1149
  }, {
778
1150
  title: string;
779
1151
  description?: string | undefined;
780
1152
  priority?: "high" | "medium" | "low" | undefined;
781
1153
  execution_mode?: "parallel" | "sequential" | undefined;
1154
+ model?: "opus" | "sonnet" | "haiku" | undefined;
1155
+ memory_tags?: string[] | undefined;
782
1156
  depends_on_index?: number[] | undefined;
1157
+ cross_staging_task_refs?: {
1158
+ staging_index: number;
1159
+ task_index: number;
1160
+ }[] | undefined;
783
1161
  }>, "many">;
784
1162
  }, "strip", z.ZodTypeAny, {
785
1163
  name: string;
@@ -788,10 +1166,21 @@ export declare const CreatePlanInputSchema: z.ZodObject<{
788
1166
  title: string;
789
1167
  priority: "high" | "medium" | "low";
790
1168
  execution_mode: "parallel" | "sequential";
1169
+ memory_tags: string[];
791
1170
  depends_on_index: number[];
1171
+ cross_staging_task_refs: {
1172
+ staging_index: number;
1173
+ task_index: number;
1174
+ }[];
792
1175
  description?: string | undefined;
1176
+ model?: "opus" | "sonnet" | "haiku" | undefined;
793
1177
  }[];
1178
+ auto_include_artifacts: boolean;
1179
+ depends_on_staging_indices: number[];
794
1180
  description?: string | undefined;
1181
+ default_model?: "opus" | "sonnet" | "haiku" | undefined;
1182
+ session_budget?: "minimal" | "standard" | "extensive" | undefined;
1183
+ recommended_sessions?: number | undefined;
795
1184
  }, {
796
1185
  name: string;
797
1186
  tasks: {
@@ -799,10 +1188,21 @@ export declare const CreatePlanInputSchema: z.ZodObject<{
799
1188
  description?: string | undefined;
800
1189
  priority?: "high" | "medium" | "low" | undefined;
801
1190
  execution_mode?: "parallel" | "sequential" | undefined;
1191
+ model?: "opus" | "sonnet" | "haiku" | undefined;
1192
+ memory_tags?: string[] | undefined;
802
1193
  depends_on_index?: number[] | undefined;
1194
+ cross_staging_task_refs?: {
1195
+ staging_index: number;
1196
+ task_index: number;
1197
+ }[] | undefined;
803
1198
  }[];
804
1199
  description?: string | undefined;
805
1200
  execution_type?: "parallel" | "sequential" | undefined;
1201
+ default_model?: "opus" | "sonnet" | "haiku" | undefined;
1202
+ session_budget?: "minimal" | "standard" | "extensive" | undefined;
1203
+ recommended_sessions?: number | undefined;
1204
+ auto_include_artifacts?: boolean | undefined;
1205
+ depends_on_staging_indices?: number[] | undefined;
806
1206
  }>, "many">;
807
1207
  }, "strip", z.ZodTypeAny, {
808
1208
  title: string;
@@ -813,10 +1213,21 @@ export declare const CreatePlanInputSchema: z.ZodObject<{
813
1213
  title: string;
814
1214
  priority: "high" | "medium" | "low";
815
1215
  execution_mode: "parallel" | "sequential";
1216
+ memory_tags: string[];
816
1217
  depends_on_index: number[];
1218
+ cross_staging_task_refs: {
1219
+ staging_index: number;
1220
+ task_index: number;
1221
+ }[];
817
1222
  description?: string | undefined;
1223
+ model?: "opus" | "sonnet" | "haiku" | undefined;
818
1224
  }[];
1225
+ auto_include_artifacts: boolean;
1226
+ depends_on_staging_indices: number[];
819
1227
  description?: string | undefined;
1228
+ default_model?: "opus" | "sonnet" | "haiku" | undefined;
1229
+ session_budget?: "minimal" | "standard" | "extensive" | undefined;
1230
+ recommended_sessions?: number | undefined;
820
1231
  }[];
821
1232
  description?: string | undefined;
822
1233
  }, {
@@ -828,10 +1239,21 @@ export declare const CreatePlanInputSchema: z.ZodObject<{
828
1239
  description?: string | undefined;
829
1240
  priority?: "high" | "medium" | "low" | undefined;
830
1241
  execution_mode?: "parallel" | "sequential" | undefined;
1242
+ model?: "opus" | "sonnet" | "haiku" | undefined;
1243
+ memory_tags?: string[] | undefined;
831
1244
  depends_on_index?: number[] | undefined;
1245
+ cross_staging_task_refs?: {
1246
+ staging_index: number;
1247
+ task_index: number;
1248
+ }[] | undefined;
832
1249
  }[];
833
1250
  description?: string | undefined;
834
1251
  execution_type?: "parallel" | "sequential" | undefined;
1252
+ default_model?: "opus" | "sonnet" | "haiku" | undefined;
1253
+ session_budget?: "minimal" | "standard" | "extensive" | undefined;
1254
+ recommended_sessions?: number | undefined;
1255
+ auto_include_artifacts?: boolean | undefined;
1256
+ depends_on_staging_indices?: number[] | undefined;
835
1257
  }[];
836
1258
  description?: string | undefined;
837
1259
  }>;
@@ -839,11 +1261,11 @@ export declare const StartStagingInputSchema: z.ZodObject<{
839
1261
  planId: z.ZodString;
840
1262
  stagingId: z.ZodString;
841
1263
  }, "strip", z.ZodTypeAny, {
842
- planId: string;
843
1264
  stagingId: string;
844
- }, {
845
1265
  planId: string;
1266
+ }, {
846
1267
  stagingId: string;
1268
+ planId: string;
847
1269
  }>;
848
1270
  export declare const StatusInputSchema: z.ZodObject<{
849
1271
  planId: z.ZodOptional<z.ZodString>;
@@ -902,8 +1324,9 @@ export declare const SaveTaskOutputInputSchema: z.ZodObject<{
902
1324
  error?: string | undefined;
903
1325
  }>;
904
1326
  }, "strip", z.ZodTypeAny, {
905
- planId: string;
906
1327
  stagingId: string;
1328
+ taskId: string;
1329
+ planId: string;
907
1330
  output: {
908
1331
  status: "success" | "failure" | "partial";
909
1332
  summary: string;
@@ -912,10 +1335,10 @@ export declare const SaveTaskOutputInputSchema: z.ZodObject<{
912
1335
  data?: Record<string, unknown> | undefined;
913
1336
  error?: string | undefined;
914
1337
  };
915
- taskId: string;
916
1338
  }, {
917
- planId: string;
918
1339
  stagingId: string;
1340
+ taskId: string;
1341
+ planId: string;
919
1342
  output: {
920
1343
  status: "success" | "failure" | "partial";
921
1344
  summary: string;
@@ -924,7 +1347,6 @@ export declare const SaveTaskOutputInputSchema: z.ZodObject<{
924
1347
  data?: Record<string, unknown> | undefined;
925
1348
  error?: string | undefined;
926
1349
  };
927
- taskId: string;
928
1350
  }>;
929
1351
  export declare const UpdateTaskStatusInputSchema: z.ZodObject<{
930
1352
  taskId: z.ZodString;