@zeliper/zscode-mcp-server 1.0.1 → 1.0.2
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/errors/index.d.ts +28 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +50 -0
- package/dist/errors/index.js.map +1 -1
- package/dist/state/manager.d.ts +33 -2
- package/dist/state/manager.d.ts.map +1 -1
- package/dist/state/manager.js +341 -138
- package/dist/state/manager.js.map +1 -1
- package/dist/state/manager.test.d.ts +2 -0
- package/dist/state/manager.test.d.ts.map +1 -0
- package/dist/state/manager.test.js +310 -0
- package/dist/state/manager.test.js.map +1 -0
- package/dist/state/schema.d.ts +190 -9
- package/dist/state/schema.d.ts.map +1 -1
- package/dist/state/schema.js +33 -1
- package/dist/state/schema.js.map +1 -1
- package/dist/state/schema.test.d.ts +2 -0
- package/dist/state/schema.test.d.ts.map +1 -0
- package/dist/state/schema.test.js +300 -0
- package/dist/state/schema.test.js.map +1 -0
- package/dist/state/types.d.ts +5 -1
- package/dist/state/types.d.ts.map +1 -1
- package/dist/state/types.js +3 -1
- package/dist/state/types.js.map +1 -1
- package/dist/tools/archive.d.ts.map +1 -1
- package/dist/tools/archive.js +57 -0
- package/dist/tools/archive.js.map +1 -1
- package/dist/tools/context.d.ts.map +1 -1
- package/dist/tools/context.js +14 -0
- package/dist/tools/context.js.map +1 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +3 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/memory.d.ts +7 -0
- package/dist/tools/memory.d.ts.map +1 -0
- package/dist/tools/memory.js +243 -0
- package/dist/tools/memory.js.map +1 -0
- package/dist/tools/modify.d.ts.map +1 -1
- package/dist/tools/modify.js +9 -6
- package/dist/tools/modify.js.map +1 -1
- package/dist/tools/plan.js +3 -3
- package/dist/tools/plan.js.map +1 -1
- package/dist/tools/staging.d.ts.map +1 -1
- package/dist/tools/staging.js +3 -3
- package/dist/tools/staging.js.map +1 -1
- package/dist/utils/paths.d.ts +34 -0
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +94 -2
- package/dist/utils/paths.js.map +1 -1
- package/package.json +10 -3
package/dist/state/schema.d.ts
CHANGED
|
@@ -1,14 +1,35 @@
|
|
|
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 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"]>;
|
|
14
|
+
export declare const TaskOutputInputSchema: z.ZodObject<{
|
|
15
|
+
status: z.ZodEnum<["success", "failure", "partial"]>;
|
|
16
|
+
summary: z.ZodString;
|
|
17
|
+
artifacts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
18
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
+
error: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
status: "success" | "failure" | "partial";
|
|
22
|
+
summary: string;
|
|
23
|
+
artifacts: string[];
|
|
24
|
+
data?: Record<string, unknown> | undefined;
|
|
25
|
+
error?: string | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
status: "success" | "failure" | "partial";
|
|
28
|
+
summary: string;
|
|
29
|
+
artifacts?: string[] | undefined;
|
|
30
|
+
data?: Record<string, unknown> | undefined;
|
|
31
|
+
error?: string | undefined;
|
|
32
|
+
}>;
|
|
12
33
|
export declare const TaskOutputSchema: z.ZodObject<{
|
|
13
34
|
status: z.ZodEnum<["success", "failure", "partial"]>;
|
|
14
35
|
summary: z.ZodString;
|
|
@@ -220,15 +241,15 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
220
241
|
export declare const HistoryEntrySchema: z.ZodObject<{
|
|
221
242
|
id: z.ZodString;
|
|
222
243
|
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"]>;
|
|
244
|
+
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
245
|
details: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
225
246
|
}, "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";
|
|
247
|
+
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
248
|
id: string;
|
|
228
249
|
timestamp: string;
|
|
229
250
|
details: Record<string, unknown>;
|
|
230
251
|
}, {
|
|
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";
|
|
252
|
+
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
253
|
id: string;
|
|
233
254
|
timestamp: string;
|
|
234
255
|
details?: Record<string, unknown> | undefined;
|
|
@@ -258,6 +279,38 @@ export declare const DecisionSchema: z.ZodObject<{
|
|
|
258
279
|
relatedPlanId?: string | undefined;
|
|
259
280
|
relatedStagingId?: string | undefined;
|
|
260
281
|
}>;
|
|
282
|
+
export declare const DEFAULT_MEMORY_CATEGORIES: readonly ["general", "planning", "coding", "review"];
|
|
283
|
+
export declare const MemorySchema: z.ZodObject<{
|
|
284
|
+
id: z.ZodString;
|
|
285
|
+
category: z.ZodString;
|
|
286
|
+
title: z.ZodString;
|
|
287
|
+
content: z.ZodString;
|
|
288
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
289
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
290
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
291
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
292
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
293
|
+
}, "strip", z.ZodTypeAny, {
|
|
294
|
+
id: string;
|
|
295
|
+
title: string;
|
|
296
|
+
priority: number;
|
|
297
|
+
createdAt: string;
|
|
298
|
+
updatedAt: string;
|
|
299
|
+
category: string;
|
|
300
|
+
content: string;
|
|
301
|
+
tags: string[];
|
|
302
|
+
enabled: boolean;
|
|
303
|
+
}, {
|
|
304
|
+
id: string;
|
|
305
|
+
title: string;
|
|
306
|
+
createdAt: string;
|
|
307
|
+
updatedAt: string;
|
|
308
|
+
category: string;
|
|
309
|
+
content: string;
|
|
310
|
+
priority?: number | undefined;
|
|
311
|
+
tags?: string[] | undefined;
|
|
312
|
+
enabled?: boolean | undefined;
|
|
313
|
+
}>;
|
|
261
314
|
export declare const ContextSchema: z.ZodObject<{
|
|
262
315
|
lastUpdated: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
263
316
|
activeFiles: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -288,6 +341,37 @@ export declare const ContextSchema: z.ZodObject<{
|
|
|
288
341
|
relatedPlanId?: string | undefined;
|
|
289
342
|
relatedStagingId?: string | undefined;
|
|
290
343
|
}>, "many">>;
|
|
344
|
+
memories: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
345
|
+
id: z.ZodString;
|
|
346
|
+
category: z.ZodString;
|
|
347
|
+
title: z.ZodString;
|
|
348
|
+
content: z.ZodString;
|
|
349
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
350
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
351
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
352
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
353
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
354
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
id: string;
|
|
356
|
+
title: string;
|
|
357
|
+
priority: number;
|
|
358
|
+
createdAt: string;
|
|
359
|
+
updatedAt: string;
|
|
360
|
+
category: string;
|
|
361
|
+
content: string;
|
|
362
|
+
tags: string[];
|
|
363
|
+
enabled: boolean;
|
|
364
|
+
}, {
|
|
365
|
+
id: string;
|
|
366
|
+
title: string;
|
|
367
|
+
createdAt: string;
|
|
368
|
+
updatedAt: string;
|
|
369
|
+
category: string;
|
|
370
|
+
content: string;
|
|
371
|
+
priority?: number | undefined;
|
|
372
|
+
tags?: string[] | undefined;
|
|
373
|
+
enabled?: boolean | undefined;
|
|
374
|
+
}>, "many">>;
|
|
291
375
|
sessionSummary: z.ZodOptional<z.ZodString>;
|
|
292
376
|
}, "strip", z.ZodTypeAny, {
|
|
293
377
|
lastUpdated: string;
|
|
@@ -301,6 +385,17 @@ export declare const ContextSchema: z.ZodObject<{
|
|
|
301
385
|
relatedPlanId?: string | undefined;
|
|
302
386
|
relatedStagingId?: string | undefined;
|
|
303
387
|
}[];
|
|
388
|
+
memories: {
|
|
389
|
+
id: string;
|
|
390
|
+
title: string;
|
|
391
|
+
priority: number;
|
|
392
|
+
createdAt: string;
|
|
393
|
+
updatedAt: string;
|
|
394
|
+
category: string;
|
|
395
|
+
content: string;
|
|
396
|
+
tags: string[];
|
|
397
|
+
enabled: boolean;
|
|
398
|
+
}[];
|
|
304
399
|
currentStagingId?: string | undefined;
|
|
305
400
|
currentPlanId?: string | undefined;
|
|
306
401
|
sessionSummary?: string | undefined;
|
|
@@ -318,6 +413,17 @@ export declare const ContextSchema: z.ZodObject<{
|
|
|
318
413
|
relatedPlanId?: string | undefined;
|
|
319
414
|
relatedStagingId?: string | undefined;
|
|
320
415
|
}[] | undefined;
|
|
416
|
+
memories?: {
|
|
417
|
+
id: string;
|
|
418
|
+
title: string;
|
|
419
|
+
createdAt: string;
|
|
420
|
+
updatedAt: string;
|
|
421
|
+
category: string;
|
|
422
|
+
content: string;
|
|
423
|
+
priority?: number | undefined;
|
|
424
|
+
tags?: string[] | undefined;
|
|
425
|
+
enabled?: boolean | undefined;
|
|
426
|
+
}[] | undefined;
|
|
321
427
|
sessionSummary?: string | undefined;
|
|
322
428
|
}>;
|
|
323
429
|
export declare const StateSchema: z.ZodObject<{
|
|
@@ -511,15 +617,15 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
511
617
|
history: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
512
618
|
id: z.ZodString;
|
|
513
619
|
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"]>;
|
|
620
|
+
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
621
|
details: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
516
622
|
}, "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";
|
|
623
|
+
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
624
|
id: string;
|
|
519
625
|
timestamp: string;
|
|
520
626
|
details: Record<string, unknown>;
|
|
521
627
|
}, {
|
|
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";
|
|
628
|
+
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
629
|
id: string;
|
|
524
630
|
timestamp: string;
|
|
525
631
|
details?: Record<string, unknown> | undefined;
|
|
@@ -554,6 +660,37 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
554
660
|
relatedPlanId?: string | undefined;
|
|
555
661
|
relatedStagingId?: string | undefined;
|
|
556
662
|
}>, "many">>;
|
|
663
|
+
memories: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
664
|
+
id: z.ZodString;
|
|
665
|
+
category: z.ZodString;
|
|
666
|
+
title: z.ZodString;
|
|
667
|
+
content: z.ZodString;
|
|
668
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
669
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
670
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
671
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
672
|
+
updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
673
|
+
}, "strip", z.ZodTypeAny, {
|
|
674
|
+
id: string;
|
|
675
|
+
title: string;
|
|
676
|
+
priority: number;
|
|
677
|
+
createdAt: string;
|
|
678
|
+
updatedAt: string;
|
|
679
|
+
category: string;
|
|
680
|
+
content: string;
|
|
681
|
+
tags: string[];
|
|
682
|
+
enabled: boolean;
|
|
683
|
+
}, {
|
|
684
|
+
id: string;
|
|
685
|
+
title: string;
|
|
686
|
+
createdAt: string;
|
|
687
|
+
updatedAt: string;
|
|
688
|
+
category: string;
|
|
689
|
+
content: string;
|
|
690
|
+
priority?: number | undefined;
|
|
691
|
+
tags?: string[] | undefined;
|
|
692
|
+
enabled?: boolean | undefined;
|
|
693
|
+
}>, "many">>;
|
|
557
694
|
sessionSummary: z.ZodOptional<z.ZodString>;
|
|
558
695
|
}, "strip", z.ZodTypeAny, {
|
|
559
696
|
lastUpdated: string;
|
|
@@ -567,6 +704,17 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
567
704
|
relatedPlanId?: string | undefined;
|
|
568
705
|
relatedStagingId?: string | undefined;
|
|
569
706
|
}[];
|
|
707
|
+
memories: {
|
|
708
|
+
id: string;
|
|
709
|
+
title: string;
|
|
710
|
+
priority: number;
|
|
711
|
+
createdAt: string;
|
|
712
|
+
updatedAt: string;
|
|
713
|
+
category: string;
|
|
714
|
+
content: string;
|
|
715
|
+
tags: string[];
|
|
716
|
+
enabled: boolean;
|
|
717
|
+
}[];
|
|
570
718
|
currentStagingId?: string | undefined;
|
|
571
719
|
currentPlanId?: string | undefined;
|
|
572
720
|
sessionSummary?: string | undefined;
|
|
@@ -584,6 +732,17 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
584
732
|
relatedPlanId?: string | undefined;
|
|
585
733
|
relatedStagingId?: string | undefined;
|
|
586
734
|
}[] | undefined;
|
|
735
|
+
memories?: {
|
|
736
|
+
id: string;
|
|
737
|
+
title: string;
|
|
738
|
+
createdAt: string;
|
|
739
|
+
updatedAt: string;
|
|
740
|
+
category: string;
|
|
741
|
+
content: string;
|
|
742
|
+
priority?: number | undefined;
|
|
743
|
+
tags?: string[] | undefined;
|
|
744
|
+
enabled?: boolean | undefined;
|
|
745
|
+
}[] | undefined;
|
|
587
746
|
sessionSummary?: string | undefined;
|
|
588
747
|
}>;
|
|
589
748
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -649,7 +808,7 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
649
808
|
archivedAt?: string | undefined;
|
|
650
809
|
}>;
|
|
651
810
|
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";
|
|
811
|
+
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
812
|
id: string;
|
|
654
813
|
timestamp: string;
|
|
655
814
|
details: Record<string, unknown>;
|
|
@@ -666,6 +825,17 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
666
825
|
relatedPlanId?: string | undefined;
|
|
667
826
|
relatedStagingId?: string | undefined;
|
|
668
827
|
}[];
|
|
828
|
+
memories: {
|
|
829
|
+
id: string;
|
|
830
|
+
title: string;
|
|
831
|
+
priority: number;
|
|
832
|
+
createdAt: string;
|
|
833
|
+
updatedAt: string;
|
|
834
|
+
category: string;
|
|
835
|
+
content: string;
|
|
836
|
+
tags: string[];
|
|
837
|
+
enabled: boolean;
|
|
838
|
+
}[];
|
|
669
839
|
currentStagingId?: string | undefined;
|
|
670
840
|
currentPlanId?: string | undefined;
|
|
671
841
|
sessionSummary?: string | undefined;
|
|
@@ -694,6 +864,17 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
694
864
|
relatedPlanId?: string | undefined;
|
|
695
865
|
relatedStagingId?: string | undefined;
|
|
696
866
|
}[] | undefined;
|
|
867
|
+
memories?: {
|
|
868
|
+
id: string;
|
|
869
|
+
title: string;
|
|
870
|
+
createdAt: string;
|
|
871
|
+
updatedAt: string;
|
|
872
|
+
category: string;
|
|
873
|
+
content: string;
|
|
874
|
+
priority?: number | undefined;
|
|
875
|
+
tags?: string[] | undefined;
|
|
876
|
+
enabled?: boolean | undefined;
|
|
877
|
+
}[] | undefined;
|
|
697
878
|
sessionSummary?: string | undefined;
|
|
698
879
|
};
|
|
699
880
|
tasks?: Record<string, {
|
|
@@ -749,7 +930,7 @@ export declare const StateSchema: z.ZodObject<{
|
|
|
749
930
|
archivedAt?: string | undefined;
|
|
750
931
|
}> | undefined;
|
|
751
932
|
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";
|
|
933
|
+
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
934
|
id: string;
|
|
754
935
|
timestamp: string;
|
|
755
936
|
details?: Record<string, unknown> | undefined;
|
|
@@ -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;
|
|
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;AACtE,eAAO,MAAM,sBAAsB,qbAyBjC,CAAC;AAIH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EAMhC,CAAC;AAGH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;EAO3B,CAAC;AAGH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBrB,CAAC;AAGH,eAAO,MAAM,aAAa;;;;;;;;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;;;EAQtB,CAAC;AAGH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAehC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;EAE5B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;EAG7B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;EAItC,CAAC"}
|
package/dist/state/schema.js
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
// ============ Constants ============
|
|
3
|
+
export const STATE_VERSION = "2.0.0";
|
|
2
4
|
// ============ ID Patterns ============
|
|
3
5
|
const PlanIdPattern = /^plan-[a-z0-9]{8}$/;
|
|
4
6
|
const StagingIdPattern = /^staging-[a-z0-9]{4}$/;
|
|
5
7
|
const TaskIdPattern = /^task-[a-z0-9]{8}$/;
|
|
8
|
+
const MemoryIdPattern = /^mem-[a-z0-9]{8}$/;
|
|
6
9
|
// ============ Basic Types ============
|
|
7
10
|
export const ISODateStringSchema = z.string().datetime({ offset: true }).or(z.string().datetime());
|
|
8
11
|
export const PlanIdSchema = z.string().regex(PlanIdPattern, "Invalid Plan ID format (expected: plan-xxxxxxxx)");
|
|
9
12
|
export const StagingIdSchema = z.string().regex(StagingIdPattern, "Invalid Staging ID format (expected: staging-xxxx)");
|
|
10
13
|
export const TaskIdSchema = z.string().regex(TaskIdPattern, "Invalid Task ID format (expected: task-xxxxxxxx)");
|
|
14
|
+
export const MemoryIdSchema = z.string().regex(MemoryIdPattern, "Invalid Memory ID format (expected: mem-xxxxxxxx)");
|
|
11
15
|
// ============ Enums ============
|
|
12
16
|
export const TaskStatusSchema = z.enum(["pending", "in_progress", "done", "blocked", "cancelled"]);
|
|
13
17
|
export const TaskPrioritySchema = z.enum(["high", "medium", "low"]);
|
|
@@ -19,6 +23,7 @@ export const HistoryEntryTypeSchema = z.enum([
|
|
|
19
23
|
"plan_created",
|
|
20
24
|
"plan_updated",
|
|
21
25
|
"plan_archived",
|
|
26
|
+
"plan_unarchived",
|
|
22
27
|
"plan_cancelled",
|
|
23
28
|
"staging_started",
|
|
24
29
|
"staging_completed",
|
|
@@ -33,10 +38,22 @@ export const HistoryEntryTypeSchema = z.enum([
|
|
|
33
38
|
"task_removed",
|
|
34
39
|
"task_updated",
|
|
35
40
|
"decision_added",
|
|
41
|
+
"memory_added",
|
|
42
|
+
"memory_updated",
|
|
43
|
+
"memory_removed",
|
|
36
44
|
"session_started",
|
|
37
45
|
"session_ended",
|
|
38
46
|
]);
|
|
39
47
|
// ============ Task Output Schema ============
|
|
48
|
+
// Input schema for tools (completedAt is auto-generated)
|
|
49
|
+
export const TaskOutputInputSchema = z.object({
|
|
50
|
+
status: z.enum(["success", "failure", "partial"]),
|
|
51
|
+
summary: z.string(),
|
|
52
|
+
artifacts: z.array(z.string()).default([]),
|
|
53
|
+
data: z.record(z.unknown()).optional(),
|
|
54
|
+
error: z.string().optional(),
|
|
55
|
+
});
|
|
56
|
+
// Full schema with completedAt (for storage)
|
|
40
57
|
export const TaskOutputSchema = z.object({
|
|
41
58
|
status: z.enum(["success", "failure", "partial"]),
|
|
42
59
|
summary: z.string(),
|
|
@@ -119,6 +136,20 @@ export const DecisionSchema = z.object({
|
|
|
119
136
|
relatedStagingId: StagingIdSchema.optional(),
|
|
120
137
|
timestamp: ISODateStringSchema,
|
|
121
138
|
});
|
|
139
|
+
// ============ Memory Schema ============
|
|
140
|
+
// Default categories (can be extended dynamically)
|
|
141
|
+
export const DEFAULT_MEMORY_CATEGORIES = ["general", "planning", "coding", "review"];
|
|
142
|
+
export const MemorySchema = z.object({
|
|
143
|
+
id: MemoryIdSchema,
|
|
144
|
+
category: z.string().min(1), // Dynamic category support
|
|
145
|
+
title: z.string().min(1, "Memory title is required"),
|
|
146
|
+
content: z.string().min(1, "Memory content is required"),
|
|
147
|
+
tags: z.array(z.string()).default([]),
|
|
148
|
+
priority: z.number().int().min(0).max(100).default(50), // Higher = applied first
|
|
149
|
+
enabled: z.boolean().default(true),
|
|
150
|
+
createdAt: ISODateStringSchema,
|
|
151
|
+
updatedAt: ISODateStringSchema,
|
|
152
|
+
});
|
|
122
153
|
// ============ Context Schema ============
|
|
123
154
|
export const ContextSchema = z.object({
|
|
124
155
|
lastUpdated: ISODateStringSchema,
|
|
@@ -126,11 +157,12 @@ export const ContextSchema = z.object({
|
|
|
126
157
|
currentPlanId: PlanIdSchema.optional(),
|
|
127
158
|
currentStagingId: StagingIdSchema.optional(),
|
|
128
159
|
decisions: z.array(DecisionSchema).default([]),
|
|
160
|
+
memories: z.array(MemorySchema).default([]), // Memory/Rule storage
|
|
129
161
|
sessionSummary: z.string().optional(),
|
|
130
162
|
});
|
|
131
163
|
// ============ Full State Schema ============
|
|
132
164
|
export const StateSchema = z.object({
|
|
133
|
-
version: z.literal(
|
|
165
|
+
version: z.literal(STATE_VERSION),
|
|
134
166
|
project: ProjectSchema,
|
|
135
167
|
plans: z.record(PlanIdSchema, PlanSchema).default({}),
|
|
136
168
|
stagings: z.record(StagingIdSchema, StagingSchema).default({}),
|
package/dist/state/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/state/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,wCAAwC;AACxC,MAAM,aAAa,GAAG,oBAAoB,CAAC;AAC3C,MAAM,gBAAgB,GAAG,uBAAuB,CAAC;AACjD,MAAM,aAAa,GAAG,oBAAoB,CAAC;
|
|
1
|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