@aman_asmuei/amem 0.3.0 → 0.4.1

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/schemas.d.ts CHANGED
@@ -9,18 +9,18 @@ export declare const StoreResultSchema: z.ZodUnion<[z.ZodObject<{
9
9
  reinforced: z.ZodNumber;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  type: string;
12
- action: "stored";
13
- id: string;
14
12
  confidence: number;
15
13
  tags: string[];
14
+ action: "stored";
15
+ id: string;
16
16
  total: number;
17
17
  reinforced: number;
18
18
  }, {
19
19
  type: string;
20
- action: "stored";
21
- id: string;
22
20
  confidence: number;
23
21
  tags: string[];
22
+ action: "stored";
23
+ id: string;
24
24
  total: number;
25
25
  reinforced: number;
26
26
  }>, z.ZodObject<{
@@ -52,18 +52,18 @@ export declare const RecallResultSchema: z.ZodObject<{
52
52
  age: z.ZodString;
53
53
  }, "strip", z.ZodTypeAny, {
54
54
  type: string;
55
- id: string;
55
+ content: string;
56
56
  confidence: number;
57
57
  tags: string[];
58
- content: string;
58
+ id: string;
59
59
  score: number;
60
60
  age: string;
61
61
  }, {
62
62
  type: string;
63
- id: string;
63
+ content: string;
64
64
  confidence: number;
65
65
  tags: string[];
66
- content: string;
66
+ id: string;
67
67
  score: number;
68
68
  age: string;
69
69
  }>, "many">;
@@ -72,10 +72,10 @@ export declare const RecallResultSchema: z.ZodObject<{
72
72
  total: number;
73
73
  memories: {
74
74
  type: string;
75
- id: string;
75
+ content: string;
76
76
  confidence: number;
77
77
  tags: string[];
78
- content: string;
78
+ id: string;
79
79
  score: number;
80
80
  age: string;
81
81
  }[];
@@ -84,10 +84,10 @@ export declare const RecallResultSchema: z.ZodObject<{
84
84
  total: number;
85
85
  memories: {
86
86
  type: string;
87
- id: string;
87
+ content: string;
88
88
  confidence: number;
89
89
  tags: string[];
90
- content: string;
90
+ id: string;
91
91
  score: number;
92
92
  age: string;
93
93
  }[];
@@ -100,23 +100,23 @@ export declare const ContextResultSchema: z.ZodObject<{
100
100
  content: z.ZodString;
101
101
  confidence: z.ZodNumber;
102
102
  }, "strip", z.ZodTypeAny, {
103
- confidence: number;
104
103
  content: string;
105
- }, {
106
104
  confidence: number;
105
+ }, {
107
106
  content: string;
107
+ confidence: number;
108
108
  }>, "many">;
109
109
  }, "strip", z.ZodTypeAny, {
110
110
  type: string;
111
111
  memories: {
112
- confidence: number;
113
112
  content: string;
113
+ confidence: number;
114
114
  }[];
115
115
  }, {
116
116
  type: string;
117
117
  memories: {
118
- confidence: number;
119
118
  content: string;
119
+ confidence: number;
120
120
  }[];
121
121
  }>, "many">;
122
122
  memoriesUsed: z.ZodNumber;
@@ -125,8 +125,8 @@ export declare const ContextResultSchema: z.ZodObject<{
125
125
  groups: {
126
126
  type: string;
127
127
  memories: {
128
- confidence: number;
129
128
  content: string;
129
+ confidence: number;
130
130
  }[];
131
131
  }[];
132
132
  memoriesUsed: number;
@@ -135,8 +135,8 @@ export declare const ContextResultSchema: z.ZodObject<{
135
135
  groups: {
136
136
  type: string;
137
137
  memories: {
138
- confidence: number;
139
138
  content: string;
139
+ confidence: number;
140
140
  }[];
141
141
  }[];
142
142
  memoriesUsed: number;
@@ -148,14 +148,14 @@ export declare const ForgetResultSchema: z.ZodUnion<[z.ZodObject<{
148
148
  type: z.ZodString;
149
149
  }, "strip", z.ZodTypeAny, {
150
150
  type: string;
151
+ content: string;
151
152
  action: "deleted";
152
153
  id: string;
153
- content: string;
154
154
  }, {
155
155
  type: string;
156
+ content: string;
156
157
  action: "deleted";
157
158
  id: string;
158
- content: string;
159
159
  }>, z.ZodObject<{
160
160
  action: z.ZodLiteral<"preview">;
161
161
  query: z.ZodString;
@@ -164,27 +164,27 @@ export declare const ForgetResultSchema: z.ZodUnion<[z.ZodObject<{
164
164
  id: z.ZodString;
165
165
  content: z.ZodString;
166
166
  }, "strip", z.ZodTypeAny, {
167
- id: string;
168
167
  content: string;
169
- }, {
170
168
  id: string;
169
+ }, {
171
170
  content: string;
171
+ id: string;
172
172
  }>, "many">;
173
173
  }, "strip", z.ZodTypeAny, {
174
174
  query: string;
175
175
  action: "preview";
176
176
  total: number;
177
177
  previewed: {
178
- id: string;
179
178
  content: string;
179
+ id: string;
180
180
  }[];
181
181
  }, {
182
182
  query: string;
183
183
  action: "preview";
184
184
  total: number;
185
185
  previewed: {
186
- id: string;
187
186
  content: string;
187
+ id: string;
188
188
  }[];
189
189
  }>, z.ZodObject<{
190
190
  action: z.ZodLiteral<"bulk_deleted">;
@@ -211,15 +211,15 @@ export declare const ExtractResultSchema: z.ZodObject<{
211
211
  matchedContent: z.ZodOptional<z.ZodString>;
212
212
  similarity: z.ZodOptional<z.ZodNumber>;
213
213
  }, "strip", z.ZodTypeAny, {
214
- action: "stored" | "reinforced";
215
214
  content: string;
215
+ action: "stored" | "reinforced";
216
216
  type?: string | undefined;
217
217
  id?: string | undefined;
218
218
  similarity?: number | undefined;
219
219
  matchedContent?: string | undefined;
220
220
  }, {
221
- action: "stored" | "reinforced";
222
221
  content: string;
222
+ action: "stored" | "reinforced";
223
223
  type?: string | undefined;
224
224
  id?: string | undefined;
225
225
  similarity?: number | undefined;
@@ -230,8 +230,8 @@ export declare const ExtractResultSchema: z.ZodObject<{
230
230
  total: number;
231
231
  reinforced: number;
232
232
  details: {
233
- action: "stored" | "reinforced";
234
233
  content: string;
234
+ action: "stored" | "reinforced";
235
235
  type?: string | undefined;
236
236
  id?: string | undefined;
237
237
  similarity?: number | undefined;
@@ -242,8 +242,8 @@ export declare const ExtractResultSchema: z.ZodObject<{
242
242
  total: number;
243
243
  reinforced: number;
244
244
  details: {
245
- action: "stored" | "reinforced";
246
245
  content: string;
246
+ action: "stored" | "reinforced";
247
247
  type?: string | undefined;
248
248
  id?: string | undefined;
249
249
  similarity?: number | undefined;
@@ -401,3 +401,296 @@ export declare const ConsolidateResultSchema: z.ZodObject<{
401
401
  description: string;
402
402
  }[];
403
403
  }>;
404
+ export declare const PatchResultSchema: z.ZodUnion<[z.ZodObject<{
405
+ action: z.ZodLiteral<"patched">;
406
+ id: z.ZodString;
407
+ field: z.ZodString;
408
+ previousContent: z.ZodString;
409
+ reason: z.ZodString;
410
+ versionSaved: z.ZodBoolean;
411
+ }, "strip", z.ZodTypeAny, {
412
+ action: "patched";
413
+ id: string;
414
+ field: string;
415
+ previousContent: string;
416
+ reason: string;
417
+ versionSaved: boolean;
418
+ }, {
419
+ action: "patched";
420
+ id: string;
421
+ field: string;
422
+ previousContent: string;
423
+ reason: string;
424
+ versionSaved: boolean;
425
+ }>, z.ZodObject<{
426
+ action: z.ZodLiteral<"not_found">;
427
+ id: z.ZodString;
428
+ }, "strip", z.ZodTypeAny, {
429
+ action: "not_found";
430
+ id: string;
431
+ }, {
432
+ action: "not_found";
433
+ id: string;
434
+ }>]>;
435
+ export declare const LogAppendResultSchema: z.ZodObject<{
436
+ id: z.ZodString;
437
+ sessionId: z.ZodString;
438
+ role: z.ZodString;
439
+ appended: z.ZodBoolean;
440
+ }, "strip", z.ZodTypeAny, {
441
+ role: string;
442
+ id: string;
443
+ sessionId: string;
444
+ appended: boolean;
445
+ }, {
446
+ role: string;
447
+ id: string;
448
+ sessionId: string;
449
+ appended: boolean;
450
+ }>;
451
+ export declare const LogRecallResultSchema: z.ZodObject<{
452
+ query: z.ZodOptional<z.ZodString>;
453
+ sessionId: z.ZodOptional<z.ZodString>;
454
+ total: z.ZodNumber;
455
+ entries: z.ZodArray<z.ZodObject<{
456
+ id: z.ZodString;
457
+ role: z.ZodString;
458
+ content: z.ZodString;
459
+ timestamp: z.ZodNumber;
460
+ age: z.ZodString;
461
+ project: z.ZodString;
462
+ }, "strip", z.ZodTypeAny, {
463
+ content: string;
464
+ role: string;
465
+ id: string;
466
+ age: string;
467
+ timestamp: number;
468
+ project: string;
469
+ }, {
470
+ content: string;
471
+ role: string;
472
+ id: string;
473
+ age: string;
474
+ timestamp: number;
475
+ project: string;
476
+ }>, "many">;
477
+ }, "strip", z.ZodTypeAny, {
478
+ entries: {
479
+ content: string;
480
+ role: string;
481
+ id: string;
482
+ age: string;
483
+ timestamp: number;
484
+ project: string;
485
+ }[];
486
+ total: number;
487
+ query?: string | undefined;
488
+ sessionId?: string | undefined;
489
+ }, {
490
+ entries: {
491
+ content: string;
492
+ role: string;
493
+ id: string;
494
+ age: string;
495
+ timestamp: number;
496
+ project: string;
497
+ }[];
498
+ total: number;
499
+ query?: string | undefined;
500
+ sessionId?: string | undefined;
501
+ }>;
502
+ export declare const RelateResultSchema: z.ZodUnion<[z.ZodObject<{
503
+ action: z.ZodLiteral<"related">;
504
+ relationId: z.ZodString;
505
+ fromId: z.ZodString;
506
+ toId: z.ZodString;
507
+ type: z.ZodString;
508
+ strength: z.ZodNumber;
509
+ }, "strip", z.ZodTypeAny, {
510
+ type: string;
511
+ action: "related";
512
+ relationId: string;
513
+ fromId: string;
514
+ toId: string;
515
+ strength: number;
516
+ }, {
517
+ type: string;
518
+ action: "related";
519
+ relationId: string;
520
+ fromId: string;
521
+ toId: string;
522
+ strength: number;
523
+ }>, z.ZodObject<{
524
+ action: z.ZodLiteral<"unrelated">;
525
+ relationId: z.ZodString;
526
+ }, "strip", z.ZodTypeAny, {
527
+ action: "unrelated";
528
+ relationId: string;
529
+ }, {
530
+ action: "unrelated";
531
+ relationId: string;
532
+ }>, z.ZodObject<{
533
+ action: z.ZodLiteral<"graph">;
534
+ memoryId: z.ZodString;
535
+ relations: z.ZodArray<z.ZodObject<{
536
+ relatedId: z.ZodString;
537
+ direction: z.ZodEnum<["outgoing", "incoming"]>;
538
+ type: z.ZodString;
539
+ strength: z.ZodNumber;
540
+ content: z.ZodOptional<z.ZodString>;
541
+ }, "strip", z.ZodTypeAny, {
542
+ type: string;
543
+ strength: number;
544
+ relatedId: string;
545
+ direction: "outgoing" | "incoming";
546
+ content?: string | undefined;
547
+ }, {
548
+ type: string;
549
+ strength: number;
550
+ relatedId: string;
551
+ direction: "outgoing" | "incoming";
552
+ content?: string | undefined;
553
+ }>, "many">;
554
+ }, "strip", z.ZodTypeAny, {
555
+ action: "graph";
556
+ memoryId: string;
557
+ relations: {
558
+ type: string;
559
+ strength: number;
560
+ relatedId: string;
561
+ direction: "outgoing" | "incoming";
562
+ content?: string | undefined;
563
+ }[];
564
+ }, {
565
+ action: "graph";
566
+ memoryId: string;
567
+ relations: {
568
+ type: string;
569
+ strength: number;
570
+ relatedId: string;
571
+ direction: "outgoing" | "incoming";
572
+ content?: string | undefined;
573
+ }[];
574
+ }>]>;
575
+ export declare const VersionResultSchema: z.ZodUnion<[z.ZodObject<{
576
+ action: z.ZodLiteral<"history">;
577
+ memoryId: z.ZodString;
578
+ currentContent: z.ZodString;
579
+ versions: z.ZodArray<z.ZodObject<{
580
+ versionId: z.ZodString;
581
+ content: z.ZodString;
582
+ confidence: z.ZodNumber;
583
+ editedAt: z.ZodNumber;
584
+ age: z.ZodString;
585
+ reason: z.ZodString;
586
+ }, "strip", z.ZodTypeAny, {
587
+ content: string;
588
+ confidence: number;
589
+ age: string;
590
+ reason: string;
591
+ versionId: string;
592
+ editedAt: number;
593
+ }, {
594
+ content: string;
595
+ confidence: number;
596
+ age: string;
597
+ reason: string;
598
+ versionId: string;
599
+ editedAt: number;
600
+ }>, "many">;
601
+ }, "strip", z.ZodTypeAny, {
602
+ action: "history";
603
+ memoryId: string;
604
+ currentContent: string;
605
+ versions: {
606
+ content: string;
607
+ confidence: number;
608
+ age: string;
609
+ reason: string;
610
+ versionId: string;
611
+ editedAt: number;
612
+ }[];
613
+ }, {
614
+ action: "history";
615
+ memoryId: string;
616
+ currentContent: string;
617
+ versions: {
618
+ content: string;
619
+ confidence: number;
620
+ age: string;
621
+ reason: string;
622
+ versionId: string;
623
+ editedAt: number;
624
+ }[];
625
+ }>, z.ZodObject<{
626
+ action: z.ZodLiteral<"restored">;
627
+ memoryId: z.ZodString;
628
+ restoredContent: z.ZodString;
629
+ versionId: z.ZodString;
630
+ }, "strip", z.ZodTypeAny, {
631
+ action: "restored";
632
+ memoryId: string;
633
+ versionId: string;
634
+ restoredContent: string;
635
+ }, {
636
+ action: "restored";
637
+ memoryId: string;
638
+ versionId: string;
639
+ restoredContent: string;
640
+ }>]>;
641
+ export declare const TemporalResultSchema: z.ZodObject<{
642
+ from: z.ZodOptional<z.ZodString>;
643
+ to: z.ZodOptional<z.ZodString>;
644
+ total: z.ZodNumber;
645
+ memories: z.ZodArray<z.ZodObject<{
646
+ id: z.ZodString;
647
+ content: z.ZodString;
648
+ type: z.ZodString;
649
+ confidence: z.ZodNumber;
650
+ createdAt: z.ZodNumber;
651
+ age: z.ZodString;
652
+ tags: z.ZodArray<z.ZodString, "many">;
653
+ }, "strip", z.ZodTypeAny, {
654
+ type: string;
655
+ content: string;
656
+ confidence: number;
657
+ tags: string[];
658
+ id: string;
659
+ age: string;
660
+ createdAt: number;
661
+ }, {
662
+ type: string;
663
+ content: string;
664
+ confidence: number;
665
+ tags: string[];
666
+ id: string;
667
+ age: string;
668
+ createdAt: number;
669
+ }>, "many">;
670
+ }, "strip", z.ZodTypeAny, {
671
+ total: number;
672
+ memories: {
673
+ type: string;
674
+ content: string;
675
+ confidence: number;
676
+ tags: string[];
677
+ id: string;
678
+ age: string;
679
+ createdAt: number;
680
+ }[];
681
+ from?: string | undefined;
682
+ to?: string | undefined;
683
+ }, {
684
+ total: number;
685
+ memories: {
686
+ type: string;
687
+ content: string;
688
+ confidence: number;
689
+ tags: string[];
690
+ id: string;
691
+ age: string;
692
+ createdAt: number;
693
+ }[];
694
+ from?: string | undefined;
695
+ to?: string | undefined;
696
+ }>;
package/dist/schemas.js CHANGED
@@ -116,4 +116,97 @@ export const ConsolidateResultSchema = z.object({
116
116
  description: z.string(),
117
117
  })),
118
118
  });
119
+ export const PatchResultSchema = z.union([
120
+ z.object({
121
+ action: z.literal("patched"),
122
+ id: z.string(),
123
+ field: z.string(),
124
+ previousContent: z.string(),
125
+ reason: z.string(),
126
+ versionSaved: z.boolean(),
127
+ }),
128
+ z.object({
129
+ action: z.literal("not_found"),
130
+ id: z.string(),
131
+ }),
132
+ ]);
133
+ export const LogAppendResultSchema = z.object({
134
+ id: z.string(),
135
+ sessionId: z.string(),
136
+ role: z.string(),
137
+ appended: z.boolean(),
138
+ });
139
+ export const LogRecallResultSchema = z.object({
140
+ query: z.string().optional(),
141
+ sessionId: z.string().optional(),
142
+ total: z.number(),
143
+ entries: z.array(z.object({
144
+ id: z.string(),
145
+ role: z.string(),
146
+ content: z.string(),
147
+ timestamp: z.number(),
148
+ age: z.string(),
149
+ project: z.string(),
150
+ })),
151
+ });
152
+ export const RelateResultSchema = z.union([
153
+ z.object({
154
+ action: z.literal("related"),
155
+ relationId: z.string(),
156
+ fromId: z.string(),
157
+ toId: z.string(),
158
+ type: z.string(),
159
+ strength: z.number(),
160
+ }),
161
+ z.object({
162
+ action: z.literal("unrelated"),
163
+ relationId: z.string(),
164
+ }),
165
+ z.object({
166
+ action: z.literal("graph"),
167
+ memoryId: z.string(),
168
+ relations: z.array(z.object({
169
+ relatedId: z.string(),
170
+ direction: z.enum(["outgoing", "incoming"]),
171
+ type: z.string(),
172
+ strength: z.number(),
173
+ content: z.string().optional(),
174
+ })),
175
+ }),
176
+ ]);
177
+ export const VersionResultSchema = z.union([
178
+ z.object({
179
+ action: z.literal("history"),
180
+ memoryId: z.string(),
181
+ currentContent: z.string(),
182
+ versions: z.array(z.object({
183
+ versionId: z.string(),
184
+ content: z.string(),
185
+ confidence: z.number(),
186
+ editedAt: z.number(),
187
+ age: z.string(),
188
+ reason: z.string(),
189
+ })),
190
+ }),
191
+ z.object({
192
+ action: z.literal("restored"),
193
+ memoryId: z.string(),
194
+ restoredContent: z.string(),
195
+ versionId: z.string(),
196
+ }),
197
+ ]);
198
+ export const TemporalResultSchema = z.object({
199
+ from: z.string().optional(),
200
+ to: z.string().optional(),
201
+ total: z.number(),
202
+ memories: z.array(z.object({
203
+ id: z.string(),
204
+ content: z.string(),
205
+ type: z.string(),
206
+ confidence: z.number(),
207
+ createdAt: z.number(),
208
+ age: z.string(),
209
+ tags: z.array(z.string()),
210
+ })),
211
+ });
119
212
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC;IACvC,CAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QAC3B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;QACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QACzB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;QACjB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;KACvB,CAAC;IACF,CAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;QACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;KAC5B,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzB,GAAG,EAAE,CA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