@aman_asmuei/amem 0.18.1 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +83 -11
  2. package/dist/cli.js +6 -7
  3. package/dist/cli.js.map +1 -1
  4. package/dist/dashboard.d.ts +1 -1
  5. package/dist/dashboard.js +1 -1
  6. package/dist/dashboard.js.map +1 -1
  7. package/dist/index.js +3 -7
  8. package/dist/index.js.map +1 -1
  9. package/dist/tools/advanced.d.ts +1 -1
  10. package/dist/tools/advanced.js +167 -4
  11. package/dist/tools/advanced.js.map +1 -1
  12. package/dist/tools/graph.d.ts +1 -1
  13. package/dist/tools/graph.js +1 -2
  14. package/dist/tools/graph.js.map +1 -1
  15. package/dist/tools/index.d.ts +2 -2
  16. package/dist/tools/index.js +2 -2
  17. package/dist/tools/index.js.map +1 -1
  18. package/dist/tools/log.d.ts +1 -1
  19. package/dist/tools/log.js +1 -2
  20. package/dist/tools/log.js.map +1 -1
  21. package/dist/tools/memory.d.ts +1 -2
  22. package/dist/tools/memory.js +35 -19
  23. package/dist/tools/memory.js.map +1 -1
  24. package/dist/tools/reminders.d.ts +1 -1
  25. package/dist/tools/reminders.js +4 -5
  26. package/dist/tools/reminders.js.map +1 -1
  27. package/dist/tools/versions.d.ts +1 -1
  28. package/dist/tools/versions.js +3 -4
  29. package/dist/tools/versions.js.map +1 -1
  30. package/dist/tools.test.js +1 -2
  31. package/dist/tools.test.js.map +1 -1
  32. package/package.json +3 -9
  33. package/dist/ann.d.ts +0 -26
  34. package/dist/ann.js +0 -155
  35. package/dist/ann.js.map +0 -1
  36. package/dist/auto-relate.d.ts +0 -14
  37. package/dist/auto-relate.js +0 -47
  38. package/dist/auto-relate.js.map +0 -1
  39. package/dist/config.d.ts +0 -51
  40. package/dist/config.js +0 -130
  41. package/dist/config.js.map +0 -1
  42. package/dist/database.d.ts +0 -146
  43. package/dist/database.js +0 -746
  44. package/dist/database.js.map +0 -1
  45. package/dist/database.test.d.ts +0 -1
  46. package/dist/database.test.js +0 -275
  47. package/dist/database.test.js.map +0 -1
  48. package/dist/doctor.d.ts +0 -23
  49. package/dist/doctor.js +0 -107
  50. package/dist/doctor.js.map +0 -1
  51. package/dist/embeddings.d.ts +0 -38
  52. package/dist/embeddings.js +0 -251
  53. package/dist/embeddings.js.map +0 -1
  54. package/dist/embeddings.test.d.ts +0 -1
  55. package/dist/embeddings.test.js +0 -106
  56. package/dist/embeddings.test.js.map +0 -1
  57. package/dist/extractor.d.ts +0 -13
  58. package/dist/extractor.js +0 -89
  59. package/dist/extractor.js.map +0 -1
  60. package/dist/memory.d.ts +0 -133
  61. package/dist/memory.js +0 -432
  62. package/dist/memory.js.map +0 -1
  63. package/dist/memory.test.d.ts +0 -1
  64. package/dist/memory.test.js +0 -172
  65. package/dist/memory.test.js.map +0 -1
  66. package/dist/query-expand.d.ts +0 -9
  67. package/dist/query-expand.js +0 -71
  68. package/dist/query-expand.js.map +0 -1
  69. package/dist/repair.d.ts +0 -8
  70. package/dist/repair.js +0 -90
  71. package/dist/repair.js.map +0 -1
  72. package/dist/schemas.d.ts +0 -885
  73. package/dist/schemas.js +0 -268
  74. package/dist/schemas.js.map +0 -1
  75. package/dist/sync.d.ts +0 -85
  76. package/dist/sync.js +0 -304
  77. package/dist/sync.js.map +0 -1
  78. package/dist/tools/helpers.d.ts +0 -7
  79. package/dist/tools/helpers.js +0 -23
  80. package/dist/tools/helpers.js.map +0 -1
package/dist/schemas.d.ts DELETED
@@ -1,885 +0,0 @@
1
- import { z } from "zod";
2
- export declare const StoreResultSchema: z.ZodUnion<[z.ZodObject<{
3
- action: z.ZodLiteral<"stored">;
4
- id: z.ZodString;
5
- type: z.ZodString;
6
- confidence: z.ZodNumber;
7
- tags: z.ZodArray<z.ZodString, "many">;
8
- total: z.ZodNumber;
9
- reinforced: z.ZodNumber;
10
- }, "strip", z.ZodTypeAny, {
11
- id: string;
12
- type: string;
13
- confidence: number;
14
- tags: string[];
15
- action: "stored";
16
- total: number;
17
- reinforced: number;
18
- }, {
19
- id: string;
20
- type: string;
21
- confidence: number;
22
- tags: string[];
23
- action: "stored";
24
- total: number;
25
- reinforced: number;
26
- }>, z.ZodObject<{
27
- action: z.ZodLiteral<"conflict_resolved">;
28
- existingId: z.ZodString;
29
- similarity: z.ZodNumber;
30
- existingContent: z.ZodString;
31
- }, "strip", z.ZodTypeAny, {
32
- action: "conflict_resolved";
33
- existingId: string;
34
- similarity: number;
35
- existingContent: string;
36
- }, {
37
- action: "conflict_resolved";
38
- existingId: string;
39
- similarity: number;
40
- existingContent: string;
41
- }>]>;
42
- export declare const RecallResultSchema: z.ZodObject<{
43
- query: z.ZodString;
44
- total: z.ZodNumber;
45
- compact: z.ZodOptional<z.ZodBoolean>;
46
- tokenEstimate: z.ZodOptional<z.ZodNumber>;
47
- memories: z.ZodArray<z.ZodObject<{
48
- id: z.ZodString;
49
- content: z.ZodOptional<z.ZodString>;
50
- preview: z.ZodOptional<z.ZodString>;
51
- type: z.ZodString;
52
- score: z.ZodNumber;
53
- confidence: z.ZodNumber;
54
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
55
- age: z.ZodOptional<z.ZodString>;
56
- }, "strip", z.ZodTypeAny, {
57
- id: string;
58
- type: string;
59
- confidence: number;
60
- score: number;
61
- content?: string | undefined;
62
- tags?: string[] | undefined;
63
- preview?: string | undefined;
64
- age?: string | undefined;
65
- }, {
66
- id: string;
67
- type: string;
68
- confidence: number;
69
- score: number;
70
- content?: string | undefined;
71
- tags?: string[] | undefined;
72
- preview?: string | undefined;
73
- age?: string | undefined;
74
- }>, "many">;
75
- }, "strip", z.ZodTypeAny, {
76
- query: string;
77
- memories: {
78
- id: string;
79
- type: string;
80
- confidence: number;
81
- score: number;
82
- content?: string | undefined;
83
- tags?: string[] | undefined;
84
- preview?: string | undefined;
85
- age?: string | undefined;
86
- }[];
87
- total: number;
88
- compact?: boolean | undefined;
89
- tokenEstimate?: number | undefined;
90
- }, {
91
- query: string;
92
- memories: {
93
- id: string;
94
- type: string;
95
- confidence: number;
96
- score: number;
97
- content?: string | undefined;
98
- tags?: string[] | undefined;
99
- preview?: string | undefined;
100
- age?: string | undefined;
101
- }[];
102
- total: number;
103
- compact?: boolean | undefined;
104
- tokenEstimate?: number | undefined;
105
- }>;
106
- export declare const ContextResultSchema: z.ZodObject<{
107
- topic: z.ZodString;
108
- groups: z.ZodArray<z.ZodObject<{
109
- type: z.ZodString;
110
- memories: z.ZodArray<z.ZodObject<{
111
- content: z.ZodString;
112
- confidence: z.ZodNumber;
113
- }, "strip", z.ZodTypeAny, {
114
- content: string;
115
- confidence: number;
116
- }, {
117
- content: string;
118
- confidence: number;
119
- }>, "many">;
120
- }, "strip", z.ZodTypeAny, {
121
- type: string;
122
- memories: {
123
- content: string;
124
- confidence: number;
125
- }[];
126
- }, {
127
- type: string;
128
- memories: {
129
- content: string;
130
- confidence: number;
131
- }[];
132
- }>, "many">;
133
- memoriesUsed: z.ZodNumber;
134
- }, "strip", z.ZodTypeAny, {
135
- topic: string;
136
- groups: {
137
- type: string;
138
- memories: {
139
- content: string;
140
- confidence: number;
141
- }[];
142
- }[];
143
- memoriesUsed: number;
144
- }, {
145
- topic: string;
146
- groups: {
147
- type: string;
148
- memories: {
149
- content: string;
150
- confidence: number;
151
- }[];
152
- }[];
153
- memoriesUsed: number;
154
- }>;
155
- export declare const ForgetResultSchema: z.ZodUnion<[z.ZodObject<{
156
- action: z.ZodLiteral<"deleted">;
157
- id: z.ZodString;
158
- content: z.ZodString;
159
- type: z.ZodString;
160
- }, "strip", z.ZodTypeAny, {
161
- id: string;
162
- type: string;
163
- content: string;
164
- action: "deleted";
165
- }, {
166
- id: string;
167
- type: string;
168
- content: string;
169
- action: "deleted";
170
- }>, z.ZodObject<{
171
- action: z.ZodLiteral<"preview">;
172
- query: z.ZodString;
173
- total: z.ZodNumber;
174
- previewed: z.ZodArray<z.ZodObject<{
175
- id: z.ZodString;
176
- content: z.ZodString;
177
- }, "strip", z.ZodTypeAny, {
178
- id: string;
179
- content: string;
180
- }, {
181
- id: string;
182
- content: string;
183
- }>, "many">;
184
- }, "strip", z.ZodTypeAny, {
185
- query: string;
186
- action: "preview";
187
- total: number;
188
- previewed: {
189
- id: string;
190
- content: string;
191
- }[];
192
- }, {
193
- query: string;
194
- action: "preview";
195
- total: number;
196
- previewed: {
197
- id: string;
198
- content: string;
199
- }[];
200
- }>, z.ZodObject<{
201
- action: z.ZodLiteral<"bulk_deleted">;
202
- query: z.ZodString;
203
- deleted: z.ZodNumber;
204
- }, "strip", z.ZodTypeAny, {
205
- query: string;
206
- action: "bulk_deleted";
207
- deleted: number;
208
- }, {
209
- query: string;
210
- action: "bulk_deleted";
211
- deleted: number;
212
- }>]>;
213
- export declare const ExtractResultSchema: z.ZodObject<{
214
- stored: z.ZodNumber;
215
- reinforced: z.ZodNumber;
216
- total: z.ZodNumber;
217
- details: z.ZodArray<z.ZodObject<{
218
- action: z.ZodEnum<["stored", "reinforced"]>;
219
- content: z.ZodString;
220
- type: z.ZodOptional<z.ZodString>;
221
- id: z.ZodOptional<z.ZodString>;
222
- matchedContent: z.ZodOptional<z.ZodString>;
223
- similarity: z.ZodOptional<z.ZodNumber>;
224
- }, "strip", z.ZodTypeAny, {
225
- content: string;
226
- action: "stored" | "reinforced";
227
- id?: string | undefined;
228
- type?: string | undefined;
229
- similarity?: number | undefined;
230
- matchedContent?: string | undefined;
231
- }, {
232
- content: string;
233
- action: "stored" | "reinforced";
234
- id?: string | undefined;
235
- type?: string | undefined;
236
- similarity?: number | undefined;
237
- matchedContent?: string | undefined;
238
- }>, "many">;
239
- }, "strip", z.ZodTypeAny, {
240
- stored: number;
241
- total: number;
242
- reinforced: number;
243
- details: {
244
- content: string;
245
- action: "stored" | "reinforced";
246
- id?: string | undefined;
247
- type?: string | undefined;
248
- similarity?: number | undefined;
249
- matchedContent?: string | undefined;
250
- }[];
251
- }, {
252
- stored: number;
253
- total: number;
254
- reinforced: number;
255
- details: {
256
- content: string;
257
- action: "stored" | "reinforced";
258
- id?: string | undefined;
259
- type?: string | undefined;
260
- similarity?: number | undefined;
261
- matchedContent?: string | undefined;
262
- }[];
263
- }>;
264
- export declare const StatsResultSchema: z.ZodObject<{
265
- total: z.ZodNumber;
266
- byType: z.ZodRecord<z.ZodString, z.ZodNumber>;
267
- confidence: z.ZodObject<{
268
- high: z.ZodNumber;
269
- medium: z.ZodNumber;
270
- low: z.ZodNumber;
271
- }, "strip", z.ZodTypeAny, {
272
- high: number;
273
- medium: number;
274
- low: number;
275
- }, {
276
- high: number;
277
- medium: number;
278
- low: number;
279
- }>;
280
- embeddingCoverage: z.ZodObject<{
281
- withEmbeddings: z.ZodNumber;
282
- total: z.ZodNumber;
283
- }, "strip", z.ZodTypeAny, {
284
- total: number;
285
- withEmbeddings: number;
286
- }, {
287
- total: number;
288
- withEmbeddings: number;
289
- }>;
290
- }, "strip", z.ZodTypeAny, {
291
- confidence: {
292
- high: number;
293
- medium: number;
294
- low: number;
295
- };
296
- total: number;
297
- byType: Record<string, number>;
298
- embeddingCoverage: {
299
- total: number;
300
- withEmbeddings: number;
301
- };
302
- }, {
303
- confidence: {
304
- high: number;
305
- medium: number;
306
- low: number;
307
- };
308
- total: number;
309
- byType: Record<string, number>;
310
- embeddingCoverage: {
311
- total: number;
312
- withEmbeddings: number;
313
- };
314
- }>;
315
- export declare const ExportResultSchema: z.ZodObject<{
316
- exportedAt: z.ZodString;
317
- total: z.ZodNumber;
318
- markdown: z.ZodString;
319
- truncated: z.ZodBoolean;
320
- }, "strip", z.ZodTypeAny, {
321
- total: number;
322
- exportedAt: string;
323
- markdown: string;
324
- truncated: boolean;
325
- }, {
326
- total: number;
327
- exportedAt: string;
328
- markdown: string;
329
- truncated: boolean;
330
- }>;
331
- export declare const InjectResultSchema: z.ZodObject<{
332
- topic: z.ZodString;
333
- corrections: z.ZodArray<z.ZodString, "many">;
334
- decisions: z.ZodArray<z.ZodString, "many">;
335
- context: z.ZodString;
336
- memoriesUsed: z.ZodNumber;
337
- }, "strip", z.ZodTypeAny, {
338
- topic: string;
339
- memoriesUsed: number;
340
- corrections: string[];
341
- decisions: string[];
342
- context: string;
343
- }, {
344
- topic: string;
345
- memoriesUsed: number;
346
- corrections: string[];
347
- decisions: string[];
348
- context: string;
349
- }>;
350
- export declare const ConsolidateResultSchema: z.ZodObject<{
351
- merged: z.ZodNumber;
352
- pruned: z.ZodNumber;
353
- promoted: z.ZodNumber;
354
- decayed: z.ZodNumber;
355
- healthScore: z.ZodNumber;
356
- before: z.ZodObject<{
357
- total: z.ZodNumber;
358
- }, "strip", z.ZodTypeAny, {
359
- total: number;
360
- }, {
361
- total: number;
362
- }>;
363
- after: z.ZodObject<{
364
- total: z.ZodNumber;
365
- }, "strip", z.ZodTypeAny, {
366
- total: number;
367
- }, {
368
- total: number;
369
- }>;
370
- actions: z.ZodArray<z.ZodObject<{
371
- action: z.ZodEnum<["merged", "pruned", "promoted", "decayed"]>;
372
- memoryIds: z.ZodArray<z.ZodString, "many">;
373
- description: z.ZodString;
374
- }, "strip", z.ZodTypeAny, {
375
- action: "merged" | "pruned" | "promoted" | "decayed";
376
- memoryIds: string[];
377
- description: string;
378
- }, {
379
- action: "merged" | "pruned" | "promoted" | "decayed";
380
- memoryIds: string[];
381
- description: string;
382
- }>, "many">;
383
- }, "strip", z.ZodTypeAny, {
384
- merged: number;
385
- pruned: number;
386
- promoted: number;
387
- decayed: number;
388
- healthScore: number;
389
- before: {
390
- total: number;
391
- };
392
- after: {
393
- total: number;
394
- };
395
- actions: {
396
- action: "merged" | "pruned" | "promoted" | "decayed";
397
- memoryIds: string[];
398
- description: string;
399
- }[];
400
- }, {
401
- merged: number;
402
- pruned: number;
403
- promoted: number;
404
- decayed: number;
405
- healthScore: number;
406
- before: {
407
- total: number;
408
- };
409
- after: {
410
- total: number;
411
- };
412
- actions: {
413
- action: "merged" | "pruned" | "promoted" | "decayed";
414
- memoryIds: string[];
415
- description: string;
416
- }[];
417
- }>;
418
- export declare const PatchResultSchema: z.ZodUnion<[z.ZodObject<{
419
- action: z.ZodLiteral<"patched">;
420
- id: z.ZodString;
421
- field: z.ZodString;
422
- previousContent: z.ZodString;
423
- reason: z.ZodString;
424
- versionSaved: z.ZodBoolean;
425
- }, "strip", z.ZodTypeAny, {
426
- id: string;
427
- action: "patched";
428
- field: string;
429
- previousContent: string;
430
- reason: string;
431
- versionSaved: boolean;
432
- }, {
433
- id: string;
434
- action: "patched";
435
- field: string;
436
- previousContent: string;
437
- reason: string;
438
- versionSaved: boolean;
439
- }>, z.ZodObject<{
440
- action: z.ZodLiteral<"not_found">;
441
- id: z.ZodString;
442
- }, "strip", z.ZodTypeAny, {
443
- id: string;
444
- action: "not_found";
445
- }, {
446
- id: string;
447
- action: "not_found";
448
- }>]>;
449
- export declare const LogAppendResultSchema: z.ZodObject<{
450
- id: z.ZodString;
451
- sessionId: z.ZodString;
452
- role: z.ZodString;
453
- appended: z.ZodBoolean;
454
- }, "strip", z.ZodTypeAny, {
455
- id: string;
456
- role: string;
457
- sessionId: string;
458
- appended: boolean;
459
- }, {
460
- id: string;
461
- role: string;
462
- sessionId: string;
463
- appended: boolean;
464
- }>;
465
- export declare const LogRecallResultSchema: z.ZodObject<{
466
- query: z.ZodOptional<z.ZodString>;
467
- sessionId: z.ZodOptional<z.ZodString>;
468
- total: z.ZodNumber;
469
- entries: z.ZodArray<z.ZodObject<{
470
- id: z.ZodString;
471
- role: z.ZodString;
472
- content: z.ZodString;
473
- timestamp: z.ZodNumber;
474
- age: z.ZodString;
475
- project: z.ZodString;
476
- }, "strip", z.ZodTypeAny, {
477
- id: string;
478
- content: string;
479
- role: string;
480
- age: string;
481
- timestamp: number;
482
- project: string;
483
- }, {
484
- id: string;
485
- content: string;
486
- role: string;
487
- age: string;
488
- timestamp: number;
489
- project: string;
490
- }>, "many">;
491
- }, "strip", z.ZodTypeAny, {
492
- entries: {
493
- id: string;
494
- content: string;
495
- role: string;
496
- age: string;
497
- timestamp: number;
498
- project: string;
499
- }[];
500
- total: number;
501
- query?: string | undefined;
502
- sessionId?: string | undefined;
503
- }, {
504
- entries: {
505
- id: string;
506
- content: string;
507
- role: string;
508
- age: string;
509
- timestamp: number;
510
- project: string;
511
- }[];
512
- total: number;
513
- query?: string | undefined;
514
- sessionId?: string | undefined;
515
- }>;
516
- export declare const RelateResultSchema: z.ZodUnion<[z.ZodObject<{
517
- action: z.ZodLiteral<"related">;
518
- relationId: z.ZodString;
519
- fromId: z.ZodString;
520
- toId: z.ZodString;
521
- type: z.ZodString;
522
- strength: z.ZodNumber;
523
- }, "strip", z.ZodTypeAny, {
524
- type: string;
525
- action: "related";
526
- relationId: string;
527
- fromId: string;
528
- toId: string;
529
- strength: number;
530
- }, {
531
- type: string;
532
- action: "related";
533
- relationId: string;
534
- fromId: string;
535
- toId: string;
536
- strength: number;
537
- }>, z.ZodObject<{
538
- action: z.ZodLiteral<"unrelated">;
539
- relationId: z.ZodString;
540
- }, "strip", z.ZodTypeAny, {
541
- action: "unrelated";
542
- relationId: string;
543
- }, {
544
- action: "unrelated";
545
- relationId: string;
546
- }>, z.ZodObject<{
547
- action: z.ZodLiteral<"graph">;
548
- memoryId: z.ZodString;
549
- relations: z.ZodArray<z.ZodObject<{
550
- relatedId: z.ZodString;
551
- direction: z.ZodEnum<["outgoing", "incoming"]>;
552
- type: z.ZodString;
553
- strength: z.ZodNumber;
554
- content: z.ZodOptional<z.ZodString>;
555
- }, "strip", z.ZodTypeAny, {
556
- type: string;
557
- strength: number;
558
- relatedId: string;
559
- direction: "outgoing" | "incoming";
560
- content?: string | undefined;
561
- }, {
562
- type: string;
563
- strength: number;
564
- relatedId: string;
565
- direction: "outgoing" | "incoming";
566
- content?: string | undefined;
567
- }>, "many">;
568
- }, "strip", z.ZodTypeAny, {
569
- action: "graph";
570
- memoryId: string;
571
- relations: {
572
- type: string;
573
- strength: number;
574
- relatedId: string;
575
- direction: "outgoing" | "incoming";
576
- content?: string | undefined;
577
- }[];
578
- }, {
579
- action: "graph";
580
- memoryId: string;
581
- relations: {
582
- type: string;
583
- strength: number;
584
- relatedId: string;
585
- direction: "outgoing" | "incoming";
586
- content?: string | undefined;
587
- }[];
588
- }>]>;
589
- export declare const VersionResultSchema: z.ZodUnion<[z.ZodObject<{
590
- action: z.ZodLiteral<"history">;
591
- memoryId: z.ZodString;
592
- currentContent: z.ZodString;
593
- versions: z.ZodArray<z.ZodObject<{
594
- versionId: z.ZodString;
595
- content: z.ZodString;
596
- confidence: z.ZodNumber;
597
- editedAt: z.ZodNumber;
598
- age: z.ZodString;
599
- reason: z.ZodString;
600
- }, "strip", z.ZodTypeAny, {
601
- content: string;
602
- confidence: number;
603
- age: string;
604
- reason: string;
605
- versionId: string;
606
- editedAt: number;
607
- }, {
608
- content: string;
609
- confidence: number;
610
- age: string;
611
- reason: string;
612
- versionId: string;
613
- editedAt: number;
614
- }>, "many">;
615
- }, "strip", z.ZodTypeAny, {
616
- action: "history";
617
- memoryId: string;
618
- currentContent: string;
619
- versions: {
620
- content: string;
621
- confidence: number;
622
- age: string;
623
- reason: string;
624
- versionId: string;
625
- editedAt: number;
626
- }[];
627
- }, {
628
- action: "history";
629
- memoryId: string;
630
- currentContent: string;
631
- versions: {
632
- content: string;
633
- confidence: number;
634
- age: string;
635
- reason: string;
636
- versionId: string;
637
- editedAt: number;
638
- }[];
639
- }>, z.ZodObject<{
640
- action: z.ZodLiteral<"restored">;
641
- memoryId: z.ZodString;
642
- restoredContent: z.ZodString;
643
- versionId: z.ZodString;
644
- }, "strip", z.ZodTypeAny, {
645
- action: "restored";
646
- memoryId: string;
647
- versionId: string;
648
- restoredContent: string;
649
- }, {
650
- action: "restored";
651
- memoryId: string;
652
- versionId: string;
653
- restoredContent: string;
654
- }>]>;
655
- export declare const TemporalResultSchema: z.ZodObject<{
656
- from: z.ZodOptional<z.ZodString>;
657
- to: z.ZodOptional<z.ZodString>;
658
- total: z.ZodNumber;
659
- memories: z.ZodArray<z.ZodObject<{
660
- id: z.ZodString;
661
- content: z.ZodString;
662
- type: z.ZodString;
663
- confidence: z.ZodNumber;
664
- createdAt: z.ZodNumber;
665
- age: z.ZodString;
666
- tags: z.ZodArray<z.ZodString, "many">;
667
- }, "strip", z.ZodTypeAny, {
668
- id: string;
669
- type: string;
670
- content: string;
671
- confidence: number;
672
- tags: string[];
673
- age: string;
674
- createdAt: number;
675
- }, {
676
- id: string;
677
- type: string;
678
- content: string;
679
- confidence: number;
680
- tags: string[];
681
- age: string;
682
- createdAt: number;
683
- }>, "many">;
684
- }, "strip", z.ZodTypeAny, {
685
- memories: {
686
- id: string;
687
- type: string;
688
- content: string;
689
- confidence: number;
690
- tags: string[];
691
- age: string;
692
- createdAt: number;
693
- }[];
694
- total: number;
695
- from?: string | undefined;
696
- to?: string | undefined;
697
- }, {
698
- memories: {
699
- id: string;
700
- type: string;
701
- content: string;
702
- confidence: number;
703
- tags: string[];
704
- age: string;
705
- createdAt: number;
706
- }[];
707
- total: number;
708
- from?: string | undefined;
709
- to?: string | undefined;
710
- }>;
711
- export declare const DetailResultSchema: z.ZodObject<{
712
- total: z.ZodNumber;
713
- tokenEstimate: z.ZodNumber;
714
- memories: z.ZodArray<z.ZodObject<{
715
- id: z.ZodString;
716
- content: z.ZodString;
717
- type: z.ZodString;
718
- confidence: z.ZodNumber;
719
- tags: z.ZodArray<z.ZodString, "many">;
720
- age: z.ZodString;
721
- scope: z.ZodString;
722
- }, "strip", z.ZodTypeAny, {
723
- id: string;
724
- type: string;
725
- scope: string;
726
- content: string;
727
- confidence: number;
728
- tags: string[];
729
- age: string;
730
- }, {
731
- id: string;
732
- type: string;
733
- scope: string;
734
- content: string;
735
- confidence: number;
736
- tags: string[];
737
- age: string;
738
- }>, "many">;
739
- }, "strip", z.ZodTypeAny, {
740
- memories: {
741
- id: string;
742
- type: string;
743
- scope: string;
744
- content: string;
745
- confidence: number;
746
- tags: string[];
747
- age: string;
748
- }[];
749
- total: number;
750
- tokenEstimate: number;
751
- }, {
752
- memories: {
753
- id: string;
754
- type: string;
755
- scope: string;
756
- content: string;
757
- confidence: number;
758
- tags: string[];
759
- age: string;
760
- }[];
761
- total: number;
762
- tokenEstimate: number;
763
- }>;
764
- export declare const ReminderSetResultSchema: z.ZodObject<{
765
- id: z.ZodString;
766
- content: z.ZodString;
767
- dueAt: z.ZodNullable<z.ZodNumber>;
768
- scope: z.ZodString;
769
- }, "strip", z.ZodTypeAny, {
770
- id: string;
771
- scope: string;
772
- content: string;
773
- dueAt: number | null;
774
- }, {
775
- id: string;
776
- scope: string;
777
- content: string;
778
- dueAt: number | null;
779
- }>;
780
- export declare const ReminderListResultSchema: z.ZodObject<{
781
- total: z.ZodNumber;
782
- reminders: z.ZodArray<z.ZodObject<{
783
- id: z.ZodString;
784
- content: z.ZodString;
785
- dueAt: z.ZodNullable<z.ZodNumber>;
786
- completed: z.ZodBoolean;
787
- scope: z.ZodString;
788
- }, "strip", z.ZodTypeAny, {
789
- id: string;
790
- scope: string;
791
- content: string;
792
- dueAt: number | null;
793
- completed: boolean;
794
- }, {
795
- id: string;
796
- scope: string;
797
- content: string;
798
- dueAt: number | null;
799
- completed: boolean;
800
- }>, "many">;
801
- }, "strip", z.ZodTypeAny, {
802
- total: number;
803
- reminders: {
804
- id: string;
805
- scope: string;
806
- content: string;
807
- dueAt: number | null;
808
- completed: boolean;
809
- }[];
810
- }, {
811
- total: number;
812
- reminders: {
813
- id: string;
814
- scope: string;
815
- content: string;
816
- dueAt: number | null;
817
- completed: boolean;
818
- }[];
819
- }>;
820
- export declare const ReminderCheckResultSchema: z.ZodObject<{
821
- total: z.ZodNumber;
822
- reminders: z.ZodArray<z.ZodObject<{
823
- id: z.ZodString;
824
- content: z.ZodString;
825
- dueAt: z.ZodNullable<z.ZodNumber>;
826
- status: z.ZodEnum<["overdue", "today", "upcoming"]>;
827
- scope: z.ZodString;
828
- }, "strip", z.ZodTypeAny, {
829
- id: string;
830
- scope: string;
831
- content: string;
832
- status: "overdue" | "today" | "upcoming";
833
- dueAt: number | null;
834
- }, {
835
- id: string;
836
- scope: string;
837
- content: string;
838
- status: "overdue" | "today" | "upcoming";
839
- dueAt: number | null;
840
- }>, "many">;
841
- }, "strip", z.ZodTypeAny, {
842
- total: number;
843
- reminders: {
844
- id: string;
845
- scope: string;
846
- content: string;
847
- status: "overdue" | "today" | "upcoming";
848
- dueAt: number | null;
849
- }[];
850
- }, {
851
- total: number;
852
- reminders: {
853
- id: string;
854
- scope: string;
855
- content: string;
856
- status: "overdue" | "today" | "upcoming";
857
- dueAt: number | null;
858
- }[];
859
- }>;
860
- export declare const ReminderCompleteResultSchema: z.ZodObject<{
861
- id: z.ZodString;
862
- completed: z.ZodBoolean;
863
- content: z.ZodOptional<z.ZodString>;
864
- }, "strip", z.ZodTypeAny, {
865
- id: string;
866
- completed: boolean;
867
- content?: string | undefined;
868
- }, {
869
- id: string;
870
- completed: boolean;
871
- content?: string | undefined;
872
- }>;
873
- export declare const LogCleanupResultSchema: z.ZodObject<{
874
- deleted: z.ZodNumber;
875
- remaining: z.ZodNumber;
876
- cutoffDate: z.ZodString;
877
- }, "strip", z.ZodTypeAny, {
878
- deleted: number;
879
- remaining: number;
880
- cutoffDate: string;
881
- }, {
882
- deleted: number;
883
- remaining: number;
884
- cutoffDate: string;
885
- }>;