@zeliper/zscode-mcp-server 1.0.2 → 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.
- package/dist/state/manager.d.ts +42 -1
- package/dist/state/manager.d.ts.map +1 -1
- package/dist/state/manager.js +210 -0
- package/dist/state/manager.js.map +1 -1
- package/dist/state/schema.d.ts +254 -13
- package/dist/state/schema.d.ts.map +1 -1
- package/dist/state/schema.js +67 -1
- package/dist/state/schema.js.map +1 -1
- package/dist/state/types.d.ts +43 -1
- package/dist/state/types.d.ts.map +1 -1
- package/dist/state/types.js.map +1 -1
- package/dist/tools/context.js +6 -6
- package/dist/tools/context.js.map +1 -1
- package/dist/tools/files.d.ts +7 -0
- package/dist/tools/files.d.ts.map +1 -0
- package/dist/tools/files.js +131 -0
- package/dist/tools/files.js.map +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +6 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/modify.d.ts.map +1 -1
- package/dist/tools/modify.js +36 -3
- package/dist/tools/modify.js.map +1 -1
- package/dist/tools/plan.d.ts.map +1 -1
- package/dist/tools/plan.js +74 -1
- package/dist/tools/plan.js.map +1 -1
- package/dist/tools/staging.d.ts.map +1 -1
- package/dist/tools/staging.js +101 -3
- package/dist/tools/staging.js.map +1 -1
- package/dist/tools/summary.d.ts +7 -0
- package/dist/tools/summary.d.ts.map +1 -0
- package/dist/tools/summary.js +127 -0
- package/dist/tools/summary.js.map +1 -0
- package/package.json +1 -1
package/dist/state/schema.d.ts
CHANGED
|
@@ -10,7 +10,29 @@ export declare const TaskPrioritySchema: z.ZodEnum<["high", "medium", "low"]>;
|
|
|
10
10
|
export declare const StagingStatusSchema: z.ZodEnum<["pending", "in_progress", "completed", "failed", "cancelled"]>;
|
|
11
11
|
export declare const PlanStatusSchema: z.ZodEnum<["draft", "active", "completed", "archived", "cancelled"]>;
|
|
12
12
|
export declare const ExecutionTypeSchema: z.ZodEnum<["parallel", "sequential"]>;
|
|
13
|
+
export declare const ModelTypeSchema: z.ZodEnum<["opus", "sonnet", "haiku"]>;
|
|
14
|
+
export declare const SessionBudgetSchema: z.ZodEnum<["minimal", "standard", "extensive"]>;
|
|
13
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
|
+
}>;
|
|
14
36
|
export declare const TaskOutputInputSchema: z.ZodObject<{
|
|
15
37
|
status: z.ZodEnum<["success", "failure", "partial"]>;
|
|
16
38
|
summary: z.ZodString;
|
|
@@ -61,7 +83,19 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
61
83
|
priority: z.ZodDefault<z.ZodEnum<["high", "medium", "low"]>>;
|
|
62
84
|
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "done", "blocked", "cancelled"]>>;
|
|
63
85
|
execution_mode: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
|
|
86
|
+
model: z.ZodOptional<z.ZodEnum<["opus", "sonnet", "haiku"]>>;
|
|
64
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">>;
|
|
65
99
|
order: z.ZodOptional<z.ZodNumber>;
|
|
66
100
|
notes: z.ZodOptional<z.ZodString>;
|
|
67
101
|
output: z.ZodOptional<z.ZodObject<{
|
|
@@ -92,17 +126,23 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
92
126
|
completedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
93
127
|
}, "strip", z.ZodTypeAny, {
|
|
94
128
|
status: "pending" | "in_progress" | "done" | "blocked" | "cancelled";
|
|
129
|
+
stagingId: string;
|
|
95
130
|
id: string;
|
|
96
131
|
planId: string;
|
|
97
|
-
stagingId: string;
|
|
98
132
|
title: string;
|
|
99
133
|
priority: "high" | "medium" | "low";
|
|
100
134
|
execution_mode: "parallel" | "sequential";
|
|
101
135
|
depends_on: string[];
|
|
136
|
+
cross_staging_refs: {
|
|
137
|
+
stagingId: string;
|
|
138
|
+
taskId: string;
|
|
139
|
+
}[];
|
|
140
|
+
memory_tags: string[];
|
|
102
141
|
createdAt: string;
|
|
103
142
|
updatedAt: string;
|
|
104
143
|
completedAt?: string | undefined;
|
|
105
144
|
description?: string | undefined;
|
|
145
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
106
146
|
order?: number | undefined;
|
|
107
147
|
notes?: string | undefined;
|
|
108
148
|
output?: {
|
|
@@ -115,9 +155,9 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
115
155
|
} | undefined;
|
|
116
156
|
startedAt?: string | undefined;
|
|
117
157
|
}, {
|
|
158
|
+
stagingId: string;
|
|
118
159
|
id: string;
|
|
119
160
|
planId: string;
|
|
120
|
-
stagingId: string;
|
|
121
161
|
title: string;
|
|
122
162
|
createdAt: string;
|
|
123
163
|
updatedAt: string;
|
|
@@ -126,7 +166,13 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
126
166
|
description?: string | undefined;
|
|
127
167
|
priority?: "high" | "medium" | "low" | undefined;
|
|
128
168
|
execution_mode?: "parallel" | "sequential" | undefined;
|
|
169
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
129
170
|
depends_on?: string[] | undefined;
|
|
171
|
+
cross_staging_refs?: {
|
|
172
|
+
stagingId: string;
|
|
173
|
+
taskId: string;
|
|
174
|
+
}[] | undefined;
|
|
175
|
+
memory_tags?: string[] | undefined;
|
|
130
176
|
order?: number | undefined;
|
|
131
177
|
notes?: string | undefined;
|
|
132
178
|
output?: {
|
|
@@ -147,7 +193,21 @@ export declare const StagingSchema: z.ZodObject<{
|
|
|
147
193
|
order: z.ZodNumber;
|
|
148
194
|
execution_type: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
|
|
149
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>;
|
|
150
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>;
|
|
151
211
|
artifacts_path: z.ZodString;
|
|
152
212
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
153
213
|
startedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
@@ -161,10 +221,18 @@ export declare const StagingSchema: z.ZodObject<{
|
|
|
161
221
|
name: string;
|
|
162
222
|
execution_type: "parallel" | "sequential";
|
|
163
223
|
tasks: string[];
|
|
224
|
+
depends_on_stagings: {
|
|
225
|
+
stagingId: string;
|
|
226
|
+
taskIds?: string[] | undefined;
|
|
227
|
+
}[];
|
|
228
|
+
auto_include_artifacts: boolean;
|
|
164
229
|
artifacts_path: string;
|
|
165
230
|
completedAt?: string | undefined;
|
|
166
231
|
description?: string | undefined;
|
|
167
232
|
startedAt?: string | undefined;
|
|
233
|
+
default_model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
234
|
+
session_budget?: "minimal" | "standard" | "extensive" | undefined;
|
|
235
|
+
recommended_sessions?: number | undefined;
|
|
168
236
|
}, {
|
|
169
237
|
id: string;
|
|
170
238
|
planId: string;
|
|
@@ -177,7 +245,15 @@ export declare const StagingSchema: z.ZodObject<{
|
|
|
177
245
|
description?: string | undefined;
|
|
178
246
|
startedAt?: string | undefined;
|
|
179
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;
|
|
180
251
|
tasks?: string[] | undefined;
|
|
252
|
+
depends_on_stagings?: {
|
|
253
|
+
stagingId: string;
|
|
254
|
+
taskIds?: string[] | undefined;
|
|
255
|
+
}[] | undefined;
|
|
256
|
+
auto_include_artifacts?: boolean | undefined;
|
|
181
257
|
}>;
|
|
182
258
|
export declare const PlanSchema: z.ZodObject<{
|
|
183
259
|
id: z.ZodString;
|
|
@@ -279,7 +355,7 @@ export declare const DecisionSchema: z.ZodObject<{
|
|
|
279
355
|
relatedPlanId?: string | undefined;
|
|
280
356
|
relatedStagingId?: string | undefined;
|
|
281
357
|
}>;
|
|
282
|
-
export declare const DEFAULT_MEMORY_CATEGORIES: readonly ["general", "planning", "coding", "review"];
|
|
358
|
+
export declare const DEFAULT_MEMORY_CATEGORIES: readonly ["general", "planning", "coding", "review", "staging-start", "task-start", "task-complete", "staging-complete", "plan-complete", "project-summary"];
|
|
283
359
|
export declare const MemorySchema: z.ZodObject<{
|
|
284
360
|
id: z.ZodString;
|
|
285
361
|
category: z.ZodString;
|
|
@@ -495,7 +571,21 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
495
571
|
order: z.ZodNumber;
|
|
496
572
|
execution_type: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
|
|
497
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>;
|
|
498
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>;
|
|
499
589
|
artifacts_path: z.ZodString;
|
|
500
590
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
501
591
|
startedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
@@ -509,10 +599,18 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
509
599
|
name: string;
|
|
510
600
|
execution_type: "parallel" | "sequential";
|
|
511
601
|
tasks: string[];
|
|
602
|
+
depends_on_stagings: {
|
|
603
|
+
stagingId: string;
|
|
604
|
+
taskIds?: string[] | undefined;
|
|
605
|
+
}[];
|
|
606
|
+
auto_include_artifacts: boolean;
|
|
512
607
|
artifacts_path: string;
|
|
513
608
|
completedAt?: string | undefined;
|
|
514
609
|
description?: string | undefined;
|
|
515
610
|
startedAt?: string | undefined;
|
|
611
|
+
default_model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
612
|
+
session_budget?: "minimal" | "standard" | "extensive" | undefined;
|
|
613
|
+
recommended_sessions?: number | undefined;
|
|
516
614
|
}, {
|
|
517
615
|
id: string;
|
|
518
616
|
planId: string;
|
|
@@ -525,7 +623,15 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
525
623
|
description?: string | undefined;
|
|
526
624
|
startedAt?: string | undefined;
|
|
527
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;
|
|
528
629
|
tasks?: string[] | undefined;
|
|
630
|
+
depends_on_stagings?: {
|
|
631
|
+
stagingId: string;
|
|
632
|
+
taskIds?: string[] | undefined;
|
|
633
|
+
}[] | undefined;
|
|
634
|
+
auto_include_artifacts?: boolean | undefined;
|
|
529
635
|
}>>>;
|
|
530
636
|
tasks: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
531
637
|
id: z.ZodString;
|
|
@@ -536,7 +642,19 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
536
642
|
priority: z.ZodDefault<z.ZodEnum<["high", "medium", "low"]>>;
|
|
537
643
|
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "done", "blocked", "cancelled"]>>;
|
|
538
644
|
execution_mode: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
|
|
645
|
+
model: z.ZodOptional<z.ZodEnum<["opus", "sonnet", "haiku"]>>;
|
|
539
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">>;
|
|
540
658
|
order: z.ZodOptional<z.ZodNumber>;
|
|
541
659
|
notes: z.ZodOptional<z.ZodString>;
|
|
542
660
|
output: z.ZodOptional<z.ZodObject<{
|
|
@@ -567,17 +685,23 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
567
685
|
completedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
568
686
|
}, "strip", z.ZodTypeAny, {
|
|
569
687
|
status: "pending" | "in_progress" | "done" | "blocked" | "cancelled";
|
|
688
|
+
stagingId: string;
|
|
570
689
|
id: string;
|
|
571
690
|
planId: string;
|
|
572
|
-
stagingId: string;
|
|
573
691
|
title: string;
|
|
574
692
|
priority: "high" | "medium" | "low";
|
|
575
693
|
execution_mode: "parallel" | "sequential";
|
|
576
694
|
depends_on: string[];
|
|
695
|
+
cross_staging_refs: {
|
|
696
|
+
stagingId: string;
|
|
697
|
+
taskId: string;
|
|
698
|
+
}[];
|
|
699
|
+
memory_tags: string[];
|
|
577
700
|
createdAt: string;
|
|
578
701
|
updatedAt: string;
|
|
579
702
|
completedAt?: string | undefined;
|
|
580
703
|
description?: string | undefined;
|
|
704
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
581
705
|
order?: number | undefined;
|
|
582
706
|
notes?: string | undefined;
|
|
583
707
|
output?: {
|
|
@@ -590,9 +714,9 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
590
714
|
} | undefined;
|
|
591
715
|
startedAt?: string | undefined;
|
|
592
716
|
}, {
|
|
717
|
+
stagingId: string;
|
|
593
718
|
id: string;
|
|
594
719
|
planId: string;
|
|
595
|
-
stagingId: string;
|
|
596
720
|
title: string;
|
|
597
721
|
createdAt: string;
|
|
598
722
|
updatedAt: string;
|
|
@@ -601,7 +725,13 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
601
725
|
description?: string | undefined;
|
|
602
726
|
priority?: "high" | "medium" | "low" | undefined;
|
|
603
727
|
execution_mode?: "parallel" | "sequential" | undefined;
|
|
728
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
604
729
|
depends_on?: string[] | undefined;
|
|
730
|
+
cross_staging_refs?: {
|
|
731
|
+
stagingId: string;
|
|
732
|
+
taskId: string;
|
|
733
|
+
}[] | undefined;
|
|
734
|
+
memory_tags?: string[] | undefined;
|
|
605
735
|
order?: number | undefined;
|
|
606
736
|
notes?: string | undefined;
|
|
607
737
|
output?: {
|
|
@@ -748,17 +878,23 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
748
878
|
}, "strip", z.ZodTypeAny, {
|
|
749
879
|
tasks: Record<string, {
|
|
750
880
|
status: "pending" | "in_progress" | "done" | "blocked" | "cancelled";
|
|
881
|
+
stagingId: string;
|
|
751
882
|
id: string;
|
|
752
883
|
planId: string;
|
|
753
|
-
stagingId: string;
|
|
754
884
|
title: string;
|
|
755
885
|
priority: "high" | "medium" | "low";
|
|
756
886
|
execution_mode: "parallel" | "sequential";
|
|
757
887
|
depends_on: string[];
|
|
888
|
+
cross_staging_refs: {
|
|
889
|
+
stagingId: string;
|
|
890
|
+
taskId: string;
|
|
891
|
+
}[];
|
|
892
|
+
memory_tags: string[];
|
|
758
893
|
createdAt: string;
|
|
759
894
|
updatedAt: string;
|
|
760
895
|
completedAt?: string | undefined;
|
|
761
896
|
description?: string | undefined;
|
|
897
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
762
898
|
order?: number | undefined;
|
|
763
899
|
notes?: string | undefined;
|
|
764
900
|
output?: {
|
|
@@ -780,10 +916,18 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
780
916
|
name: string;
|
|
781
917
|
execution_type: "parallel" | "sequential";
|
|
782
918
|
tasks: string[];
|
|
919
|
+
depends_on_stagings: {
|
|
920
|
+
stagingId: string;
|
|
921
|
+
taskIds?: string[] | undefined;
|
|
922
|
+
}[];
|
|
923
|
+
auto_include_artifacts: boolean;
|
|
783
924
|
artifacts_path: string;
|
|
784
925
|
completedAt?: string | undefined;
|
|
785
926
|
description?: string | undefined;
|
|
786
927
|
startedAt?: string | undefined;
|
|
928
|
+
default_model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
929
|
+
session_budget?: "minimal" | "standard" | "extensive" | undefined;
|
|
930
|
+
recommended_sessions?: number | undefined;
|
|
787
931
|
}>;
|
|
788
932
|
version: "2.0.0";
|
|
789
933
|
project: {
|
|
@@ -878,9 +1022,9 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
878
1022
|
sessionSummary?: string | undefined;
|
|
879
1023
|
};
|
|
880
1024
|
tasks?: Record<string, {
|
|
1025
|
+
stagingId: string;
|
|
881
1026
|
id: string;
|
|
882
1027
|
planId: string;
|
|
883
|
-
stagingId: string;
|
|
884
1028
|
title: string;
|
|
885
1029
|
createdAt: string;
|
|
886
1030
|
updatedAt: string;
|
|
@@ -889,7 +1033,13 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
889
1033
|
description?: string | undefined;
|
|
890
1034
|
priority?: "high" | "medium" | "low" | undefined;
|
|
891
1035
|
execution_mode?: "parallel" | "sequential" | undefined;
|
|
1036
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
892
1037
|
depends_on?: string[] | undefined;
|
|
1038
|
+
cross_staging_refs?: {
|
|
1039
|
+
stagingId: string;
|
|
1040
|
+
taskId: string;
|
|
1041
|
+
}[] | undefined;
|
|
1042
|
+
memory_tags?: string[] | undefined;
|
|
893
1043
|
order?: number | undefined;
|
|
894
1044
|
notes?: string | undefined;
|
|
895
1045
|
output?: {
|
|
@@ -914,7 +1064,15 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
914
1064
|
description?: string | undefined;
|
|
915
1065
|
startedAt?: string | undefined;
|
|
916
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;
|
|
917
1070
|
tasks?: string[] | undefined;
|
|
1071
|
+
depends_on_stagings?: {
|
|
1072
|
+
stagingId: string;
|
|
1073
|
+
taskIds?: string[] | undefined;
|
|
1074
|
+
}[] | undefined;
|
|
1075
|
+
auto_include_artifacts?: boolean | undefined;
|
|
918
1076
|
}> | undefined;
|
|
919
1077
|
plans?: Record<string, {
|
|
920
1078
|
id: string;
|
|
@@ -936,6 +1094,16 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
936
1094
|
details?: Record<string, unknown> | undefined;
|
|
937
1095
|
}[] | undefined;
|
|
938
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
|
+
}>;
|
|
939
1107
|
export declare const CreatePlanInputSchema: z.ZodObject<{
|
|
940
1108
|
title: z.ZodString;
|
|
941
1109
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -943,24 +1111,53 @@ export declare const CreatePlanInputSchema: z.ZodObject<{
|
|
|
943
1111
|
name: z.ZodString;
|
|
944
1112
|
description: z.ZodOptional<z.ZodString>;
|
|
945
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>;
|
|
946
1119
|
tasks: z.ZodArray<z.ZodObject<{
|
|
947
1120
|
title: z.ZodString;
|
|
948
1121
|
description: z.ZodOptional<z.ZodString>;
|
|
949
1122
|
priority: z.ZodDefault<z.ZodEnum<["high", "medium", "low"]>>;
|
|
950
1123
|
execution_mode: z.ZodDefault<z.ZodEnum<["parallel", "sequential"]>>;
|
|
1124
|
+
model: z.ZodOptional<z.ZodEnum<["opus", "sonnet", "haiku"]>>;
|
|
951
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">>;
|
|
952
1137
|
}, "strip", z.ZodTypeAny, {
|
|
953
1138
|
title: string;
|
|
954
1139
|
priority: "high" | "medium" | "low";
|
|
955
1140
|
execution_mode: "parallel" | "sequential";
|
|
1141
|
+
memory_tags: string[];
|
|
956
1142
|
depends_on_index: number[];
|
|
1143
|
+
cross_staging_task_refs: {
|
|
1144
|
+
staging_index: number;
|
|
1145
|
+
task_index: number;
|
|
1146
|
+
}[];
|
|
957
1147
|
description?: string | undefined;
|
|
1148
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
958
1149
|
}, {
|
|
959
1150
|
title: string;
|
|
960
1151
|
description?: string | undefined;
|
|
961
1152
|
priority?: "high" | "medium" | "low" | undefined;
|
|
962
1153
|
execution_mode?: "parallel" | "sequential" | undefined;
|
|
1154
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
1155
|
+
memory_tags?: string[] | undefined;
|
|
963
1156
|
depends_on_index?: number[] | undefined;
|
|
1157
|
+
cross_staging_task_refs?: {
|
|
1158
|
+
staging_index: number;
|
|
1159
|
+
task_index: number;
|
|
1160
|
+
}[] | undefined;
|
|
964
1161
|
}>, "many">;
|
|
965
1162
|
}, "strip", z.ZodTypeAny, {
|
|
966
1163
|
name: string;
|
|
@@ -969,10 +1166,21 @@ export declare const CreatePlanInputSchema: z.ZodObject<{
|
|
|
969
1166
|
title: string;
|
|
970
1167
|
priority: "high" | "medium" | "low";
|
|
971
1168
|
execution_mode: "parallel" | "sequential";
|
|
1169
|
+
memory_tags: string[];
|
|
972
1170
|
depends_on_index: number[];
|
|
1171
|
+
cross_staging_task_refs: {
|
|
1172
|
+
staging_index: number;
|
|
1173
|
+
task_index: number;
|
|
1174
|
+
}[];
|
|
973
1175
|
description?: string | undefined;
|
|
1176
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
974
1177
|
}[];
|
|
1178
|
+
auto_include_artifacts: boolean;
|
|
1179
|
+
depends_on_staging_indices: number[];
|
|
975
1180
|
description?: string | undefined;
|
|
1181
|
+
default_model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
1182
|
+
session_budget?: "minimal" | "standard" | "extensive" | undefined;
|
|
1183
|
+
recommended_sessions?: number | undefined;
|
|
976
1184
|
}, {
|
|
977
1185
|
name: string;
|
|
978
1186
|
tasks: {
|
|
@@ -980,10 +1188,21 @@ export declare const CreatePlanInputSchema: z.ZodObject<{
|
|
|
980
1188
|
description?: string | undefined;
|
|
981
1189
|
priority?: "high" | "medium" | "low" | undefined;
|
|
982
1190
|
execution_mode?: "parallel" | "sequential" | undefined;
|
|
1191
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
1192
|
+
memory_tags?: string[] | undefined;
|
|
983
1193
|
depends_on_index?: number[] | undefined;
|
|
1194
|
+
cross_staging_task_refs?: {
|
|
1195
|
+
staging_index: number;
|
|
1196
|
+
task_index: number;
|
|
1197
|
+
}[] | undefined;
|
|
984
1198
|
}[];
|
|
985
1199
|
description?: string | undefined;
|
|
986
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;
|
|
987
1206
|
}>, "many">;
|
|
988
1207
|
}, "strip", z.ZodTypeAny, {
|
|
989
1208
|
title: string;
|
|
@@ -994,10 +1213,21 @@ export declare const CreatePlanInputSchema: z.ZodObject<{
|
|
|
994
1213
|
title: string;
|
|
995
1214
|
priority: "high" | "medium" | "low";
|
|
996
1215
|
execution_mode: "parallel" | "sequential";
|
|
1216
|
+
memory_tags: string[];
|
|
997
1217
|
depends_on_index: number[];
|
|
1218
|
+
cross_staging_task_refs: {
|
|
1219
|
+
staging_index: number;
|
|
1220
|
+
task_index: number;
|
|
1221
|
+
}[];
|
|
998
1222
|
description?: string | undefined;
|
|
1223
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
999
1224
|
}[];
|
|
1225
|
+
auto_include_artifacts: boolean;
|
|
1226
|
+
depends_on_staging_indices: number[];
|
|
1000
1227
|
description?: string | undefined;
|
|
1228
|
+
default_model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
1229
|
+
session_budget?: "minimal" | "standard" | "extensive" | undefined;
|
|
1230
|
+
recommended_sessions?: number | undefined;
|
|
1001
1231
|
}[];
|
|
1002
1232
|
description?: string | undefined;
|
|
1003
1233
|
}, {
|
|
@@ -1009,10 +1239,21 @@ export declare const CreatePlanInputSchema: z.ZodObject<{
|
|
|
1009
1239
|
description?: string | undefined;
|
|
1010
1240
|
priority?: "high" | "medium" | "low" | undefined;
|
|
1011
1241
|
execution_mode?: "parallel" | "sequential" | undefined;
|
|
1242
|
+
model?: "opus" | "sonnet" | "haiku" | undefined;
|
|
1243
|
+
memory_tags?: string[] | undefined;
|
|
1012
1244
|
depends_on_index?: number[] | undefined;
|
|
1245
|
+
cross_staging_task_refs?: {
|
|
1246
|
+
staging_index: number;
|
|
1247
|
+
task_index: number;
|
|
1248
|
+
}[] | undefined;
|
|
1013
1249
|
}[];
|
|
1014
1250
|
description?: string | undefined;
|
|
1015
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;
|
|
1016
1257
|
}[];
|
|
1017
1258
|
description?: string | undefined;
|
|
1018
1259
|
}>;
|
|
@@ -1020,11 +1261,11 @@ export declare const StartStagingInputSchema: z.ZodObject<{
|
|
|
1020
1261
|
planId: z.ZodString;
|
|
1021
1262
|
stagingId: z.ZodString;
|
|
1022
1263
|
}, "strip", z.ZodTypeAny, {
|
|
1023
|
-
planId: string;
|
|
1024
1264
|
stagingId: string;
|
|
1025
|
-
}, {
|
|
1026
1265
|
planId: string;
|
|
1266
|
+
}, {
|
|
1027
1267
|
stagingId: string;
|
|
1268
|
+
planId: string;
|
|
1028
1269
|
}>;
|
|
1029
1270
|
export declare const StatusInputSchema: z.ZodObject<{
|
|
1030
1271
|
planId: z.ZodOptional<z.ZodString>;
|
|
@@ -1083,8 +1324,9 @@ export declare const SaveTaskOutputInputSchema: z.ZodObject<{
|
|
|
1083
1324
|
error?: string | undefined;
|
|
1084
1325
|
}>;
|
|
1085
1326
|
}, "strip", z.ZodTypeAny, {
|
|
1086
|
-
planId: string;
|
|
1087
1327
|
stagingId: string;
|
|
1328
|
+
taskId: string;
|
|
1329
|
+
planId: string;
|
|
1088
1330
|
output: {
|
|
1089
1331
|
status: "success" | "failure" | "partial";
|
|
1090
1332
|
summary: string;
|
|
@@ -1093,10 +1335,10 @@ export declare const SaveTaskOutputInputSchema: z.ZodObject<{
|
|
|
1093
1335
|
data?: Record<string, unknown> | undefined;
|
|
1094
1336
|
error?: string | undefined;
|
|
1095
1337
|
};
|
|
1096
|
-
taskId: string;
|
|
1097
1338
|
}, {
|
|
1098
|
-
planId: string;
|
|
1099
1339
|
stagingId: string;
|
|
1340
|
+
taskId: string;
|
|
1341
|
+
planId: string;
|
|
1100
1342
|
output: {
|
|
1101
1343
|
status: "success" | "failure" | "partial";
|
|
1102
1344
|
summary: string;
|
|
@@ -1105,7 +1347,6 @@ export declare const SaveTaskOutputInputSchema: z.ZodObject<{
|
|
|
1105
1347
|
data?: Record<string, unknown> | undefined;
|
|
1106
1348
|
error?: string | undefined;
|
|
1107
1349
|
};
|
|
1108
|
-
taskId: string;
|
|
1109
1350
|
}>;
|
|
1110
1351
|
export declare const UpdateTaskStatusInputSchema: z.ZodObject<{
|
|
1111
1352
|
taskId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/state/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,EAAG,OAAgB,CAAC;AAS9C,eAAO,MAAM,mBAAmB,wCAAkE,CAAC;AAEnG,eAAO,MAAM,YAAY,aAAsF,CAAC;AAChH,eAAO,MAAM,eAAe,aAA2F,CAAC;AACxH,eAAO,MAAM,YAAY,aAAsF,CAAC;AAChH,eAAO,MAAM,cAAc,aAAyF,CAAC;AAGrH,eAAO,MAAM,gBAAgB,uEAAqE,CAAC;AACnG,eAAO,MAAM,kBAAkB,sCAAoC,CAAC;AACpE,eAAO,MAAM,mBAAmB,2EAAyE,CAAC;AAC1G,eAAO,MAAM,gBAAgB,sEAAoE,CAAC;AAClG,eAAO,MAAM,mBAAmB,uCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/state/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,EAAG,OAAgB,CAAC;AAS9C,eAAO,MAAM,mBAAmB,wCAAkE,CAAC;AAEnG,eAAO,MAAM,YAAY,aAAsF,CAAC;AAChH,eAAO,MAAM,eAAe,aAA2F,CAAC;AACxH,eAAO,MAAM,YAAY,aAAsF,CAAC;AAChH,eAAO,MAAM,cAAc,aAAyF,CAAC;AAGrH,eAAO,MAAM,gBAAgB,uEAAqE,CAAC;AACnG,eAAO,MAAM,kBA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