@scitrera/memorylayer-mcp-server 0.0.3 → 0.0.4

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 (40) hide show
  1. package/README.md +115 -10
  2. package/dist/bin/memorylayer-mcp.js +19 -0
  3. package/dist/bin/memorylayer-mcp.js.map +1 -1
  4. package/dist/src/client.d.ts +153 -0
  5. package/dist/src/client.d.ts.map +1 -0
  6. package/dist/src/client.js +330 -0
  7. package/dist/src/client.js.map +1 -0
  8. package/dist/src/handlers.d.ts +33 -0
  9. package/dist/src/handlers.d.ts.map +1 -0
  10. package/dist/src/handlers.js +466 -0
  11. package/dist/src/handlers.js.map +1 -0
  12. package/dist/src/index.d.ts +15 -0
  13. package/dist/src/index.d.ts.map +1 -0
  14. package/dist/src/index.js +13 -0
  15. package/dist/src/index.js.map +1 -0
  16. package/dist/src/server.d.ts +42 -0
  17. package/dist/src/server.d.ts.map +1 -0
  18. package/dist/src/server.js +249 -0
  19. package/dist/src/server.js.map +1 -0
  20. package/dist/src/session.d.ts +68 -0
  21. package/dist/src/session.d.ts.map +1 -0
  22. package/dist/src/session.js +103 -0
  23. package/dist/src/session.js.map +1 -0
  24. package/dist/src/tools.d.ts +1977 -0
  25. package/dist/src/tools.d.ts.map +1 -0
  26. package/dist/src/tools.js +696 -0
  27. package/dist/src/tools.js.map +1 -0
  28. package/dist/src/types.d.ts +136 -0
  29. package/dist/src/types.d.ts.map +1 -0
  30. package/dist/src/types.js +7 -0
  31. package/dist/src/types.js.map +1 -0
  32. package/dist/src/workspace.d.ts +6 -0
  33. package/dist/src/workspace.d.ts.map +1 -0
  34. package/dist/src/workspace.js +35 -0
  35. package/dist/src/workspace.js.map +1 -0
  36. package/package.json +8 -9
  37. package/dist/bin/memorylayer-hook.d.ts +0 -19
  38. package/dist/bin/memorylayer-hook.d.ts.map +0 -1
  39. package/dist/bin/memorylayer-hook.js +0 -223
  40. package/dist/bin/memorylayer-hook.js.map +0 -1
@@ -0,0 +1,1977 @@
1
+ /**
2
+ * MCP tool definitions for MemoryLayer.ai
3
+ *
4
+ * Mirrors the Python tool definitions from server/memorylayer/mcp/tools.py
5
+ */
6
+ /**
7
+ * All available MCP tools for MemoryLayer
8
+ */
9
+ export declare const TOOLS: ({
10
+ name: string;
11
+ description: string;
12
+ inputSchema: {
13
+ type: string;
14
+ properties: {
15
+ content: {
16
+ type: string;
17
+ description: string;
18
+ };
19
+ type: {
20
+ type: string;
21
+ enum: string[];
22
+ description: string;
23
+ };
24
+ importance: {
25
+ type: string;
26
+ minimum: number;
27
+ maximum: number;
28
+ default: number;
29
+ description: string;
30
+ };
31
+ tags: {
32
+ type: string;
33
+ items: {
34
+ type: string;
35
+ };
36
+ description: string;
37
+ };
38
+ subtype: {
39
+ type: string;
40
+ enum: string[];
41
+ description: string;
42
+ };
43
+ query?: undefined;
44
+ types?: undefined;
45
+ limit?: undefined;
46
+ min_relevance?: undefined;
47
+ detail_level?: undefined;
48
+ include_sources?: undefined;
49
+ depth?: undefined;
50
+ memory_id?: undefined;
51
+ reason?: undefined;
52
+ hard?: undefined;
53
+ source_id?: undefined;
54
+ target_id?: undefined;
55
+ relationship?: undefined;
56
+ strength?: undefined;
57
+ time_window_minutes?: undefined;
58
+ include_memories?: undefined;
59
+ include_contradictions?: undefined;
60
+ include_breakdown?: undefined;
61
+ start_memory_id?: undefined;
62
+ relationship_types?: undefined;
63
+ max_depth?: undefined;
64
+ direction?: undefined;
65
+ max_paths?: undefined;
66
+ auto_resolve?: undefined;
67
+ };
68
+ required: string[];
69
+ };
70
+ } | {
71
+ name: string;
72
+ description: string;
73
+ inputSchema: {
74
+ type: string;
75
+ properties: {
76
+ query: {
77
+ type: string;
78
+ description: string;
79
+ };
80
+ types: {
81
+ type: string;
82
+ items: {
83
+ type: string;
84
+ enum: string[];
85
+ };
86
+ description: string;
87
+ };
88
+ limit: {
89
+ type: string;
90
+ default: number;
91
+ minimum: number;
92
+ maximum: number;
93
+ description: string;
94
+ };
95
+ min_relevance: {
96
+ type: string;
97
+ minimum: number;
98
+ maximum: number;
99
+ description: string;
100
+ };
101
+ tags: {
102
+ type: string;
103
+ items: {
104
+ type: string;
105
+ };
106
+ description: string;
107
+ };
108
+ content?: undefined;
109
+ type?: undefined;
110
+ importance?: undefined;
111
+ subtype?: undefined;
112
+ detail_level?: undefined;
113
+ include_sources?: undefined;
114
+ depth?: undefined;
115
+ memory_id?: undefined;
116
+ reason?: undefined;
117
+ hard?: undefined;
118
+ source_id?: undefined;
119
+ target_id?: undefined;
120
+ relationship?: undefined;
121
+ strength?: undefined;
122
+ time_window_minutes?: undefined;
123
+ include_memories?: undefined;
124
+ include_contradictions?: undefined;
125
+ include_breakdown?: undefined;
126
+ start_memory_id?: undefined;
127
+ relationship_types?: undefined;
128
+ max_depth?: undefined;
129
+ direction?: undefined;
130
+ max_paths?: undefined;
131
+ auto_resolve?: undefined;
132
+ };
133
+ required: string[];
134
+ };
135
+ } | {
136
+ name: string;
137
+ description: string;
138
+ inputSchema: {
139
+ type: string;
140
+ properties: {
141
+ query: {
142
+ type: string;
143
+ description: string;
144
+ };
145
+ detail_level: {
146
+ type: string;
147
+ enum: string[];
148
+ description: string;
149
+ default?: undefined;
150
+ };
151
+ include_sources: {
152
+ type: string;
153
+ default: boolean;
154
+ description: string;
155
+ };
156
+ depth: {
157
+ type: string;
158
+ default: number;
159
+ minimum: number;
160
+ maximum: number;
161
+ description: string;
162
+ };
163
+ content?: undefined;
164
+ type?: undefined;
165
+ importance?: undefined;
166
+ tags?: undefined;
167
+ subtype?: undefined;
168
+ types?: undefined;
169
+ limit?: undefined;
170
+ min_relevance?: undefined;
171
+ memory_id?: undefined;
172
+ reason?: undefined;
173
+ hard?: undefined;
174
+ source_id?: undefined;
175
+ target_id?: undefined;
176
+ relationship?: undefined;
177
+ strength?: undefined;
178
+ time_window_minutes?: undefined;
179
+ include_memories?: undefined;
180
+ include_contradictions?: undefined;
181
+ include_breakdown?: undefined;
182
+ start_memory_id?: undefined;
183
+ relationship_types?: undefined;
184
+ max_depth?: undefined;
185
+ direction?: undefined;
186
+ max_paths?: undefined;
187
+ auto_resolve?: undefined;
188
+ };
189
+ required: string[];
190
+ };
191
+ } | {
192
+ name: string;
193
+ description: string;
194
+ inputSchema: {
195
+ type: string;
196
+ properties: {
197
+ memory_id: {
198
+ type: string;
199
+ description: string;
200
+ };
201
+ reason: {
202
+ type: string;
203
+ description: string;
204
+ };
205
+ hard: {
206
+ type: string;
207
+ default: boolean;
208
+ description: string;
209
+ };
210
+ content?: undefined;
211
+ type?: undefined;
212
+ importance?: undefined;
213
+ tags?: undefined;
214
+ subtype?: undefined;
215
+ query?: undefined;
216
+ types?: undefined;
217
+ limit?: undefined;
218
+ min_relevance?: undefined;
219
+ detail_level?: undefined;
220
+ include_sources?: undefined;
221
+ depth?: undefined;
222
+ source_id?: undefined;
223
+ target_id?: undefined;
224
+ relationship?: undefined;
225
+ strength?: undefined;
226
+ time_window_minutes?: undefined;
227
+ include_memories?: undefined;
228
+ include_contradictions?: undefined;
229
+ include_breakdown?: undefined;
230
+ start_memory_id?: undefined;
231
+ relationship_types?: undefined;
232
+ max_depth?: undefined;
233
+ direction?: undefined;
234
+ max_paths?: undefined;
235
+ auto_resolve?: undefined;
236
+ };
237
+ required: string[];
238
+ };
239
+ } | {
240
+ name: string;
241
+ description: string;
242
+ inputSchema: {
243
+ type: string;
244
+ properties: {
245
+ source_id: {
246
+ type: string;
247
+ description: string;
248
+ };
249
+ target_id: {
250
+ type: string;
251
+ description: string;
252
+ };
253
+ relationship: {
254
+ type: string;
255
+ description: string;
256
+ };
257
+ strength: {
258
+ type: string;
259
+ minimum: number;
260
+ maximum: number;
261
+ default: number;
262
+ description: string;
263
+ };
264
+ content?: undefined;
265
+ type?: undefined;
266
+ importance?: undefined;
267
+ tags?: undefined;
268
+ subtype?: undefined;
269
+ query?: undefined;
270
+ types?: undefined;
271
+ limit?: undefined;
272
+ min_relevance?: undefined;
273
+ detail_level?: undefined;
274
+ include_sources?: undefined;
275
+ depth?: undefined;
276
+ memory_id?: undefined;
277
+ reason?: undefined;
278
+ hard?: undefined;
279
+ time_window_minutes?: undefined;
280
+ include_memories?: undefined;
281
+ include_contradictions?: undefined;
282
+ include_breakdown?: undefined;
283
+ start_memory_id?: undefined;
284
+ relationship_types?: undefined;
285
+ max_depth?: undefined;
286
+ direction?: undefined;
287
+ max_paths?: undefined;
288
+ auto_resolve?: undefined;
289
+ };
290
+ required: string[];
291
+ };
292
+ } | {
293
+ name: string;
294
+ description: string;
295
+ inputSchema: {
296
+ type: string;
297
+ properties: {
298
+ time_window_minutes: {
299
+ type: string;
300
+ default: number;
301
+ description: string;
302
+ };
303
+ detail_level: {
304
+ type: string;
305
+ enum: string[];
306
+ default: string;
307
+ description: string;
308
+ };
309
+ limit: {
310
+ type: string;
311
+ default: number;
312
+ description: string;
313
+ minimum?: undefined;
314
+ maximum?: undefined;
315
+ };
316
+ include_memories: {
317
+ type: string;
318
+ default: boolean;
319
+ description: string;
320
+ };
321
+ include_contradictions: {
322
+ type: string;
323
+ default: boolean;
324
+ description: string;
325
+ };
326
+ content?: undefined;
327
+ type?: undefined;
328
+ importance?: undefined;
329
+ tags?: undefined;
330
+ subtype?: undefined;
331
+ query?: undefined;
332
+ types?: undefined;
333
+ min_relevance?: undefined;
334
+ include_sources?: undefined;
335
+ depth?: undefined;
336
+ memory_id?: undefined;
337
+ reason?: undefined;
338
+ hard?: undefined;
339
+ source_id?: undefined;
340
+ target_id?: undefined;
341
+ relationship?: undefined;
342
+ strength?: undefined;
343
+ include_breakdown?: undefined;
344
+ start_memory_id?: undefined;
345
+ relationship_types?: undefined;
346
+ max_depth?: undefined;
347
+ direction?: undefined;
348
+ max_paths?: undefined;
349
+ auto_resolve?: undefined;
350
+ };
351
+ required?: undefined;
352
+ };
353
+ } | {
354
+ name: string;
355
+ description: string;
356
+ inputSchema: {
357
+ type: string;
358
+ properties: {
359
+ include_breakdown: {
360
+ type: string;
361
+ default: boolean;
362
+ description: string;
363
+ };
364
+ content?: undefined;
365
+ type?: undefined;
366
+ importance?: undefined;
367
+ tags?: undefined;
368
+ subtype?: undefined;
369
+ query?: undefined;
370
+ types?: undefined;
371
+ limit?: undefined;
372
+ min_relevance?: undefined;
373
+ detail_level?: undefined;
374
+ include_sources?: undefined;
375
+ depth?: undefined;
376
+ memory_id?: undefined;
377
+ reason?: undefined;
378
+ hard?: undefined;
379
+ source_id?: undefined;
380
+ target_id?: undefined;
381
+ relationship?: undefined;
382
+ strength?: undefined;
383
+ time_window_minutes?: undefined;
384
+ include_memories?: undefined;
385
+ include_contradictions?: undefined;
386
+ start_memory_id?: undefined;
387
+ relationship_types?: undefined;
388
+ max_depth?: undefined;
389
+ direction?: undefined;
390
+ max_paths?: undefined;
391
+ auto_resolve?: undefined;
392
+ };
393
+ required?: undefined;
394
+ };
395
+ } | {
396
+ name: string;
397
+ description: string;
398
+ inputSchema: {
399
+ type: string;
400
+ properties: {
401
+ start_memory_id: {
402
+ type: string;
403
+ description: string;
404
+ };
405
+ relationship_types: {
406
+ type: string;
407
+ items: {
408
+ type: string;
409
+ };
410
+ description: string;
411
+ };
412
+ max_depth: {
413
+ type: string;
414
+ default: number;
415
+ minimum: number;
416
+ maximum: number;
417
+ description: string;
418
+ };
419
+ direction: {
420
+ type: string;
421
+ enum: string[];
422
+ default: string;
423
+ description: string;
424
+ };
425
+ max_paths: {
426
+ type: string;
427
+ default: number;
428
+ description: string;
429
+ };
430
+ content?: undefined;
431
+ type?: undefined;
432
+ importance?: undefined;
433
+ tags?: undefined;
434
+ subtype?: undefined;
435
+ query?: undefined;
436
+ types?: undefined;
437
+ limit?: undefined;
438
+ min_relevance?: undefined;
439
+ detail_level?: undefined;
440
+ include_sources?: undefined;
441
+ depth?: undefined;
442
+ memory_id?: undefined;
443
+ reason?: undefined;
444
+ hard?: undefined;
445
+ source_id?: undefined;
446
+ target_id?: undefined;
447
+ relationship?: undefined;
448
+ strength?: undefined;
449
+ time_window_minutes?: undefined;
450
+ include_memories?: undefined;
451
+ include_contradictions?: undefined;
452
+ include_breakdown?: undefined;
453
+ auto_resolve?: undefined;
454
+ };
455
+ required: string[];
456
+ };
457
+ } | {
458
+ name: string;
459
+ description: string;
460
+ inputSchema: {
461
+ type: string;
462
+ properties: {
463
+ memory_id: {
464
+ type: string;
465
+ description: string;
466
+ };
467
+ auto_resolve: {
468
+ type: string;
469
+ default: boolean;
470
+ description: string;
471
+ };
472
+ content?: undefined;
473
+ type?: undefined;
474
+ importance?: undefined;
475
+ tags?: undefined;
476
+ subtype?: undefined;
477
+ query?: undefined;
478
+ types?: undefined;
479
+ limit?: undefined;
480
+ min_relevance?: undefined;
481
+ detail_level?: undefined;
482
+ include_sources?: undefined;
483
+ depth?: undefined;
484
+ reason?: undefined;
485
+ hard?: undefined;
486
+ source_id?: undefined;
487
+ target_id?: undefined;
488
+ relationship?: undefined;
489
+ strength?: undefined;
490
+ time_window_minutes?: undefined;
491
+ include_memories?: undefined;
492
+ include_contradictions?: undefined;
493
+ include_breakdown?: undefined;
494
+ start_memory_id?: undefined;
495
+ relationship_types?: undefined;
496
+ max_depth?: undefined;
497
+ direction?: undefined;
498
+ max_paths?: undefined;
499
+ };
500
+ required?: undefined;
501
+ };
502
+ })[];
503
+ /**
504
+ * Session-aware tools for working memory management.
505
+ * These are only available when session mode is enabled.
506
+ */
507
+ export declare const SESSION_TOOLS: ({
508
+ name: string;
509
+ description: string;
510
+ inputSchema: {
511
+ type: string;
512
+ properties: {
513
+ metadata: {
514
+ type: string;
515
+ description: string;
516
+ };
517
+ commit?: undefined;
518
+ importance_threshold?: undefined;
519
+ clear_after_commit?: undefined;
520
+ };
521
+ };
522
+ } | {
523
+ name: string;
524
+ description: string;
525
+ inputSchema: {
526
+ type: string;
527
+ properties: {
528
+ commit: {
529
+ type: string;
530
+ default: boolean;
531
+ description: string;
532
+ };
533
+ importance_threshold: {
534
+ type: string;
535
+ minimum: number;
536
+ maximum: number;
537
+ default: number;
538
+ description: string;
539
+ };
540
+ metadata?: undefined;
541
+ clear_after_commit?: undefined;
542
+ };
543
+ };
544
+ } | {
545
+ name: string;
546
+ description: string;
547
+ inputSchema: {
548
+ type: string;
549
+ properties: {
550
+ importance_threshold: {
551
+ type: string;
552
+ minimum: number;
553
+ maximum: number;
554
+ default: number;
555
+ description: string;
556
+ };
557
+ clear_after_commit: {
558
+ type: string;
559
+ default: boolean;
560
+ description: string;
561
+ };
562
+ metadata?: undefined;
563
+ commit?: undefined;
564
+ };
565
+ };
566
+ } | {
567
+ name: string;
568
+ description: string;
569
+ inputSchema: {
570
+ type: string;
571
+ properties: {
572
+ metadata?: undefined;
573
+ commit?: undefined;
574
+ importance_threshold?: undefined;
575
+ clear_after_commit?: undefined;
576
+ };
577
+ };
578
+ })[];
579
+ /**
580
+ * Context Environment tools for server-side sandbox execution.
581
+ * These replace the old key-value context tools (memory_context_set/get/list/delete)
582
+ * with a powerful code execution environment backed by the Python API server.
583
+ */
584
+ export declare const CONTEXT_ENVIRONMENT_TOOLS: ({
585
+ name: string;
586
+ description: string;
587
+ inputSchema: {
588
+ type: string;
589
+ properties: {
590
+ code: {
591
+ type: string;
592
+ description: string;
593
+ };
594
+ result_var: {
595
+ type: string;
596
+ description: string;
597
+ };
598
+ return_result: {
599
+ type: string;
600
+ default: boolean;
601
+ description: string;
602
+ };
603
+ max_return_chars: {
604
+ type: string;
605
+ default: number;
606
+ description: string;
607
+ };
608
+ variable?: undefined;
609
+ preview_chars?: undefined;
610
+ var?: undefined;
611
+ query?: undefined;
612
+ limit?: undefined;
613
+ types?: undefined;
614
+ tags?: undefined;
615
+ min_relevance?: undefined;
616
+ include_embeddings?: undefined;
617
+ key?: undefined;
618
+ value?: undefined;
619
+ parse_json?: undefined;
620
+ prompt?: undefined;
621
+ variables?: undefined;
622
+ max_context_chars?: undefined;
623
+ goal?: undefined;
624
+ memory_query?: undefined;
625
+ memory_limit?: undefined;
626
+ max_iterations?: undefined;
627
+ detail_level?: undefined;
628
+ };
629
+ required: string[];
630
+ };
631
+ } | {
632
+ name: string;
633
+ description: string;
634
+ inputSchema: {
635
+ type: string;
636
+ properties: {
637
+ variable: {
638
+ type: string;
639
+ description: string;
640
+ };
641
+ preview_chars: {
642
+ type: string;
643
+ default: number;
644
+ description: string;
645
+ };
646
+ code?: undefined;
647
+ result_var?: undefined;
648
+ return_result?: undefined;
649
+ max_return_chars?: undefined;
650
+ var?: undefined;
651
+ query?: undefined;
652
+ limit?: undefined;
653
+ types?: undefined;
654
+ tags?: undefined;
655
+ min_relevance?: undefined;
656
+ include_embeddings?: undefined;
657
+ key?: undefined;
658
+ value?: undefined;
659
+ parse_json?: undefined;
660
+ prompt?: undefined;
661
+ variables?: undefined;
662
+ max_context_chars?: undefined;
663
+ goal?: undefined;
664
+ memory_query?: undefined;
665
+ memory_limit?: undefined;
666
+ max_iterations?: undefined;
667
+ detail_level?: undefined;
668
+ };
669
+ required?: undefined;
670
+ };
671
+ } | {
672
+ name: string;
673
+ description: string;
674
+ inputSchema: {
675
+ type: string;
676
+ properties: {
677
+ var: {
678
+ type: string;
679
+ description: string;
680
+ };
681
+ query: {
682
+ type: string;
683
+ description: string;
684
+ };
685
+ limit: {
686
+ type: string;
687
+ default: number;
688
+ description: string;
689
+ };
690
+ types: {
691
+ type: string;
692
+ items: {
693
+ type: string;
694
+ enum: string[];
695
+ };
696
+ description: string;
697
+ };
698
+ tags: {
699
+ type: string;
700
+ items: {
701
+ type: string;
702
+ };
703
+ description: string;
704
+ };
705
+ min_relevance: {
706
+ type: string;
707
+ minimum: number;
708
+ maximum: number;
709
+ description: string;
710
+ };
711
+ include_embeddings: {
712
+ type: string;
713
+ default: boolean;
714
+ description: string;
715
+ };
716
+ code?: undefined;
717
+ result_var?: undefined;
718
+ return_result?: undefined;
719
+ max_return_chars?: undefined;
720
+ variable?: undefined;
721
+ preview_chars?: undefined;
722
+ key?: undefined;
723
+ value?: undefined;
724
+ parse_json?: undefined;
725
+ prompt?: undefined;
726
+ variables?: undefined;
727
+ max_context_chars?: undefined;
728
+ goal?: undefined;
729
+ memory_query?: undefined;
730
+ memory_limit?: undefined;
731
+ max_iterations?: undefined;
732
+ detail_level?: undefined;
733
+ };
734
+ required: string[];
735
+ };
736
+ } | {
737
+ name: string;
738
+ description: string;
739
+ inputSchema: {
740
+ type: string;
741
+ properties: {
742
+ key: {
743
+ type: string;
744
+ description: string;
745
+ };
746
+ value: {
747
+ type: string;
748
+ description: string;
749
+ };
750
+ parse_json: {
751
+ type: string;
752
+ default: boolean;
753
+ description: string;
754
+ };
755
+ code?: undefined;
756
+ result_var?: undefined;
757
+ return_result?: undefined;
758
+ max_return_chars?: undefined;
759
+ variable?: undefined;
760
+ preview_chars?: undefined;
761
+ var?: undefined;
762
+ query?: undefined;
763
+ limit?: undefined;
764
+ types?: undefined;
765
+ tags?: undefined;
766
+ min_relevance?: undefined;
767
+ include_embeddings?: undefined;
768
+ prompt?: undefined;
769
+ variables?: undefined;
770
+ max_context_chars?: undefined;
771
+ goal?: undefined;
772
+ memory_query?: undefined;
773
+ memory_limit?: undefined;
774
+ max_iterations?: undefined;
775
+ detail_level?: undefined;
776
+ };
777
+ required: string[];
778
+ };
779
+ } | {
780
+ name: string;
781
+ description: string;
782
+ inputSchema: {
783
+ type: string;
784
+ properties: {
785
+ prompt: {
786
+ type: string;
787
+ description: string;
788
+ };
789
+ variables: {
790
+ type: string;
791
+ items: {
792
+ type: string;
793
+ };
794
+ description: string;
795
+ };
796
+ max_context_chars: {
797
+ type: string;
798
+ description: string;
799
+ };
800
+ result_var: {
801
+ type: string;
802
+ description: string;
803
+ };
804
+ code?: undefined;
805
+ return_result?: undefined;
806
+ max_return_chars?: undefined;
807
+ variable?: undefined;
808
+ preview_chars?: undefined;
809
+ var?: undefined;
810
+ query?: undefined;
811
+ limit?: undefined;
812
+ types?: undefined;
813
+ tags?: undefined;
814
+ min_relevance?: undefined;
815
+ include_embeddings?: undefined;
816
+ key?: undefined;
817
+ value?: undefined;
818
+ parse_json?: undefined;
819
+ goal?: undefined;
820
+ memory_query?: undefined;
821
+ memory_limit?: undefined;
822
+ max_iterations?: undefined;
823
+ detail_level?: undefined;
824
+ };
825
+ required: string[];
826
+ };
827
+ } | {
828
+ name: string;
829
+ description: string;
830
+ inputSchema: {
831
+ type: string;
832
+ properties: {
833
+ goal: {
834
+ type: string;
835
+ description: string;
836
+ };
837
+ memory_query: {
838
+ type: string;
839
+ description: string;
840
+ };
841
+ memory_limit: {
842
+ type: string;
843
+ default: number;
844
+ description: string;
845
+ };
846
+ max_iterations: {
847
+ type: string;
848
+ default: number;
849
+ minimum: number;
850
+ maximum: number;
851
+ description: string;
852
+ };
853
+ variables: {
854
+ type: string;
855
+ items: {
856
+ type: string;
857
+ };
858
+ description: string;
859
+ };
860
+ result_var: {
861
+ type: string;
862
+ description: string;
863
+ };
864
+ detail_level: {
865
+ type: string;
866
+ enum: string[];
867
+ default: string;
868
+ description: string;
869
+ };
870
+ code?: undefined;
871
+ return_result?: undefined;
872
+ max_return_chars?: undefined;
873
+ variable?: undefined;
874
+ preview_chars?: undefined;
875
+ var?: undefined;
876
+ query?: undefined;
877
+ limit?: undefined;
878
+ types?: undefined;
879
+ tags?: undefined;
880
+ min_relevance?: undefined;
881
+ include_embeddings?: undefined;
882
+ key?: undefined;
883
+ value?: undefined;
884
+ parse_json?: undefined;
885
+ prompt?: undefined;
886
+ max_context_chars?: undefined;
887
+ };
888
+ required: string[];
889
+ };
890
+ } | {
891
+ name: string;
892
+ description: string;
893
+ inputSchema: {
894
+ type: string;
895
+ properties: {
896
+ code?: undefined;
897
+ result_var?: undefined;
898
+ return_result?: undefined;
899
+ max_return_chars?: undefined;
900
+ variable?: undefined;
901
+ preview_chars?: undefined;
902
+ var?: undefined;
903
+ query?: undefined;
904
+ limit?: undefined;
905
+ types?: undefined;
906
+ tags?: undefined;
907
+ min_relevance?: undefined;
908
+ include_embeddings?: undefined;
909
+ key?: undefined;
910
+ value?: undefined;
911
+ parse_json?: undefined;
912
+ prompt?: undefined;
913
+ variables?: undefined;
914
+ max_context_chars?: undefined;
915
+ goal?: undefined;
916
+ memory_query?: undefined;
917
+ memory_limit?: undefined;
918
+ max_iterations?: undefined;
919
+ detail_level?: undefined;
920
+ };
921
+ required?: undefined;
922
+ };
923
+ })[];
924
+ /**
925
+ * Tool profiles for different use cases.
926
+ *
927
+ * The "cc" (Claude Code) profile is the recommended default - it provides
928
+ * the essential tools for agent memory without overwhelming the tool list.
929
+ */
930
+ /** All tool names by category */
931
+ export declare const TOOL_NAMES: {
932
+ readonly remember: "memory_remember";
933
+ readonly recall: "memory_recall";
934
+ readonly reflect: "memory_reflect";
935
+ readonly forget: "memory_forget";
936
+ readonly associate: "memory_associate";
937
+ readonly briefing: "memory_briefing";
938
+ readonly statistics: "memory_statistics";
939
+ readonly graphQuery: "memory_graph_query";
940
+ readonly audit: "memory_audit";
941
+ readonly sessionStart: "memory_session_start";
942
+ readonly sessionEnd: "memory_session_end";
943
+ readonly sessionCommit: "memory_session_commit";
944
+ readonly sessionStatus: "memory_session_status";
945
+ readonly contextExec: "memory_context_exec";
946
+ readonly contextInspect: "memory_context_inspect";
947
+ readonly contextLoad: "memory_context_load";
948
+ readonly contextInject: "memory_context_inject";
949
+ readonly contextQuery: "memory_context_query";
950
+ readonly contextRlm: "memory_context_rlm";
951
+ readonly contextStatus: "memory_context_status";
952
+ readonly contextCheckpoint: "memory_context_checkpoint";
953
+ };
954
+ /**
955
+ * Tool profile definitions.
956
+ *
957
+ * - "cc": Claude Code profile (default) - 9 essential tools for agent memory
958
+ * - "full": All tools enabled - for power users and advanced use cases
959
+ * - "minimal": Just remember/recall - absolute minimum
960
+ */
961
+ export type ToolProfile = "cc" | "full" | "minimal";
962
+ export declare const TOOL_PROFILES: Record<ToolProfile, string[]>;
963
+ /** Default profile for MCP server */
964
+ export declare const DEFAULT_PROFILE: ToolProfile;
965
+ /** Tool definition shape */
966
+ export interface ToolDefinition {
967
+ name: string;
968
+ description: string;
969
+ inputSchema: {
970
+ type: string;
971
+ properties?: Record<string, unknown>;
972
+ required?: string[];
973
+ };
974
+ }
975
+ /**
976
+ * Get tools for a given profile.
977
+ */
978
+ export declare function getToolsForProfile(profile: ToolProfile): ToolDefinition[];
979
+ /**
980
+ * Check if a tool is enabled for a given profile.
981
+ */
982
+ export declare function isToolEnabled(toolName: string, profile: ToolProfile): boolean;
983
+ /**
984
+ * @deprecated Use getToolsForProfile("cc") or TOOL_PROFILES instead
985
+ */
986
+ export declare const CORE_TOOLS: ({
987
+ name: string;
988
+ description: string;
989
+ inputSchema: {
990
+ type: string;
991
+ properties: {
992
+ content: {
993
+ type: string;
994
+ description: string;
995
+ };
996
+ type: {
997
+ type: string;
998
+ enum: string[];
999
+ description: string;
1000
+ };
1001
+ importance: {
1002
+ type: string;
1003
+ minimum: number;
1004
+ maximum: number;
1005
+ default: number;
1006
+ description: string;
1007
+ };
1008
+ tags: {
1009
+ type: string;
1010
+ items: {
1011
+ type: string;
1012
+ };
1013
+ description: string;
1014
+ };
1015
+ subtype: {
1016
+ type: string;
1017
+ enum: string[];
1018
+ description: string;
1019
+ };
1020
+ query?: undefined;
1021
+ types?: undefined;
1022
+ limit?: undefined;
1023
+ min_relevance?: undefined;
1024
+ detail_level?: undefined;
1025
+ include_sources?: undefined;
1026
+ depth?: undefined;
1027
+ memory_id?: undefined;
1028
+ reason?: undefined;
1029
+ hard?: undefined;
1030
+ source_id?: undefined;
1031
+ target_id?: undefined;
1032
+ relationship?: undefined;
1033
+ strength?: undefined;
1034
+ time_window_minutes?: undefined;
1035
+ include_memories?: undefined;
1036
+ include_contradictions?: undefined;
1037
+ include_breakdown?: undefined;
1038
+ start_memory_id?: undefined;
1039
+ relationship_types?: undefined;
1040
+ max_depth?: undefined;
1041
+ direction?: undefined;
1042
+ max_paths?: undefined;
1043
+ auto_resolve?: undefined;
1044
+ };
1045
+ required: string[];
1046
+ };
1047
+ } | {
1048
+ name: string;
1049
+ description: string;
1050
+ inputSchema: {
1051
+ type: string;
1052
+ properties: {
1053
+ query: {
1054
+ type: string;
1055
+ description: string;
1056
+ };
1057
+ types: {
1058
+ type: string;
1059
+ items: {
1060
+ type: string;
1061
+ enum: string[];
1062
+ };
1063
+ description: string;
1064
+ };
1065
+ limit: {
1066
+ type: string;
1067
+ default: number;
1068
+ minimum: number;
1069
+ maximum: number;
1070
+ description: string;
1071
+ };
1072
+ min_relevance: {
1073
+ type: string;
1074
+ minimum: number;
1075
+ maximum: number;
1076
+ description: string;
1077
+ };
1078
+ tags: {
1079
+ type: string;
1080
+ items: {
1081
+ type: string;
1082
+ };
1083
+ description: string;
1084
+ };
1085
+ content?: undefined;
1086
+ type?: undefined;
1087
+ importance?: undefined;
1088
+ subtype?: undefined;
1089
+ detail_level?: undefined;
1090
+ include_sources?: undefined;
1091
+ depth?: undefined;
1092
+ memory_id?: undefined;
1093
+ reason?: undefined;
1094
+ hard?: undefined;
1095
+ source_id?: undefined;
1096
+ target_id?: undefined;
1097
+ relationship?: undefined;
1098
+ strength?: undefined;
1099
+ time_window_minutes?: undefined;
1100
+ include_memories?: undefined;
1101
+ include_contradictions?: undefined;
1102
+ include_breakdown?: undefined;
1103
+ start_memory_id?: undefined;
1104
+ relationship_types?: undefined;
1105
+ max_depth?: undefined;
1106
+ direction?: undefined;
1107
+ max_paths?: undefined;
1108
+ auto_resolve?: undefined;
1109
+ };
1110
+ required: string[];
1111
+ };
1112
+ } | {
1113
+ name: string;
1114
+ description: string;
1115
+ inputSchema: {
1116
+ type: string;
1117
+ properties: {
1118
+ query: {
1119
+ type: string;
1120
+ description: string;
1121
+ };
1122
+ detail_level: {
1123
+ type: string;
1124
+ enum: string[];
1125
+ description: string;
1126
+ default?: undefined;
1127
+ };
1128
+ include_sources: {
1129
+ type: string;
1130
+ default: boolean;
1131
+ description: string;
1132
+ };
1133
+ depth: {
1134
+ type: string;
1135
+ default: number;
1136
+ minimum: number;
1137
+ maximum: number;
1138
+ description: string;
1139
+ };
1140
+ content?: undefined;
1141
+ type?: undefined;
1142
+ importance?: undefined;
1143
+ tags?: undefined;
1144
+ subtype?: undefined;
1145
+ types?: undefined;
1146
+ limit?: undefined;
1147
+ min_relevance?: undefined;
1148
+ memory_id?: undefined;
1149
+ reason?: undefined;
1150
+ hard?: undefined;
1151
+ source_id?: undefined;
1152
+ target_id?: undefined;
1153
+ relationship?: undefined;
1154
+ strength?: undefined;
1155
+ time_window_minutes?: undefined;
1156
+ include_memories?: undefined;
1157
+ include_contradictions?: undefined;
1158
+ include_breakdown?: undefined;
1159
+ start_memory_id?: undefined;
1160
+ relationship_types?: undefined;
1161
+ max_depth?: undefined;
1162
+ direction?: undefined;
1163
+ max_paths?: undefined;
1164
+ auto_resolve?: undefined;
1165
+ };
1166
+ required: string[];
1167
+ };
1168
+ } | {
1169
+ name: string;
1170
+ description: string;
1171
+ inputSchema: {
1172
+ type: string;
1173
+ properties: {
1174
+ memory_id: {
1175
+ type: string;
1176
+ description: string;
1177
+ };
1178
+ reason: {
1179
+ type: string;
1180
+ description: string;
1181
+ };
1182
+ hard: {
1183
+ type: string;
1184
+ default: boolean;
1185
+ description: string;
1186
+ };
1187
+ content?: undefined;
1188
+ type?: undefined;
1189
+ importance?: undefined;
1190
+ tags?: undefined;
1191
+ subtype?: undefined;
1192
+ query?: undefined;
1193
+ types?: undefined;
1194
+ limit?: undefined;
1195
+ min_relevance?: undefined;
1196
+ detail_level?: undefined;
1197
+ include_sources?: undefined;
1198
+ depth?: undefined;
1199
+ source_id?: undefined;
1200
+ target_id?: undefined;
1201
+ relationship?: undefined;
1202
+ strength?: undefined;
1203
+ time_window_minutes?: undefined;
1204
+ include_memories?: undefined;
1205
+ include_contradictions?: undefined;
1206
+ include_breakdown?: undefined;
1207
+ start_memory_id?: undefined;
1208
+ relationship_types?: undefined;
1209
+ max_depth?: undefined;
1210
+ direction?: undefined;
1211
+ max_paths?: undefined;
1212
+ auto_resolve?: undefined;
1213
+ };
1214
+ required: string[];
1215
+ };
1216
+ } | {
1217
+ name: string;
1218
+ description: string;
1219
+ inputSchema: {
1220
+ type: string;
1221
+ properties: {
1222
+ source_id: {
1223
+ type: string;
1224
+ description: string;
1225
+ };
1226
+ target_id: {
1227
+ type: string;
1228
+ description: string;
1229
+ };
1230
+ relationship: {
1231
+ type: string;
1232
+ description: string;
1233
+ };
1234
+ strength: {
1235
+ type: string;
1236
+ minimum: number;
1237
+ maximum: number;
1238
+ default: number;
1239
+ description: string;
1240
+ };
1241
+ content?: undefined;
1242
+ type?: undefined;
1243
+ importance?: undefined;
1244
+ tags?: undefined;
1245
+ subtype?: undefined;
1246
+ query?: undefined;
1247
+ types?: undefined;
1248
+ limit?: undefined;
1249
+ min_relevance?: undefined;
1250
+ detail_level?: undefined;
1251
+ include_sources?: undefined;
1252
+ depth?: undefined;
1253
+ memory_id?: undefined;
1254
+ reason?: undefined;
1255
+ hard?: undefined;
1256
+ time_window_minutes?: undefined;
1257
+ include_memories?: undefined;
1258
+ include_contradictions?: undefined;
1259
+ include_breakdown?: undefined;
1260
+ start_memory_id?: undefined;
1261
+ relationship_types?: undefined;
1262
+ max_depth?: undefined;
1263
+ direction?: undefined;
1264
+ max_paths?: undefined;
1265
+ auto_resolve?: undefined;
1266
+ };
1267
+ required: string[];
1268
+ };
1269
+ } | {
1270
+ name: string;
1271
+ description: string;
1272
+ inputSchema: {
1273
+ type: string;
1274
+ properties: {
1275
+ time_window_minutes: {
1276
+ type: string;
1277
+ default: number;
1278
+ description: string;
1279
+ };
1280
+ detail_level: {
1281
+ type: string;
1282
+ enum: string[];
1283
+ default: string;
1284
+ description: string;
1285
+ };
1286
+ limit: {
1287
+ type: string;
1288
+ default: number;
1289
+ description: string;
1290
+ minimum?: undefined;
1291
+ maximum?: undefined;
1292
+ };
1293
+ include_memories: {
1294
+ type: string;
1295
+ default: boolean;
1296
+ description: string;
1297
+ };
1298
+ include_contradictions: {
1299
+ type: string;
1300
+ default: boolean;
1301
+ description: string;
1302
+ };
1303
+ content?: undefined;
1304
+ type?: undefined;
1305
+ importance?: undefined;
1306
+ tags?: undefined;
1307
+ subtype?: undefined;
1308
+ query?: undefined;
1309
+ types?: undefined;
1310
+ min_relevance?: undefined;
1311
+ include_sources?: undefined;
1312
+ depth?: undefined;
1313
+ memory_id?: undefined;
1314
+ reason?: undefined;
1315
+ hard?: undefined;
1316
+ source_id?: undefined;
1317
+ target_id?: undefined;
1318
+ relationship?: undefined;
1319
+ strength?: undefined;
1320
+ include_breakdown?: undefined;
1321
+ start_memory_id?: undefined;
1322
+ relationship_types?: undefined;
1323
+ max_depth?: undefined;
1324
+ direction?: undefined;
1325
+ max_paths?: undefined;
1326
+ auto_resolve?: undefined;
1327
+ };
1328
+ required?: undefined;
1329
+ };
1330
+ } | {
1331
+ name: string;
1332
+ description: string;
1333
+ inputSchema: {
1334
+ type: string;
1335
+ properties: {
1336
+ include_breakdown: {
1337
+ type: string;
1338
+ default: boolean;
1339
+ description: string;
1340
+ };
1341
+ content?: undefined;
1342
+ type?: undefined;
1343
+ importance?: undefined;
1344
+ tags?: undefined;
1345
+ subtype?: undefined;
1346
+ query?: undefined;
1347
+ types?: undefined;
1348
+ limit?: undefined;
1349
+ min_relevance?: undefined;
1350
+ detail_level?: undefined;
1351
+ include_sources?: undefined;
1352
+ depth?: undefined;
1353
+ memory_id?: undefined;
1354
+ reason?: undefined;
1355
+ hard?: undefined;
1356
+ source_id?: undefined;
1357
+ target_id?: undefined;
1358
+ relationship?: undefined;
1359
+ strength?: undefined;
1360
+ time_window_minutes?: undefined;
1361
+ include_memories?: undefined;
1362
+ include_contradictions?: undefined;
1363
+ start_memory_id?: undefined;
1364
+ relationship_types?: undefined;
1365
+ max_depth?: undefined;
1366
+ direction?: undefined;
1367
+ max_paths?: undefined;
1368
+ auto_resolve?: undefined;
1369
+ };
1370
+ required?: undefined;
1371
+ };
1372
+ } | {
1373
+ name: string;
1374
+ description: string;
1375
+ inputSchema: {
1376
+ type: string;
1377
+ properties: {
1378
+ start_memory_id: {
1379
+ type: string;
1380
+ description: string;
1381
+ };
1382
+ relationship_types: {
1383
+ type: string;
1384
+ items: {
1385
+ type: string;
1386
+ };
1387
+ description: string;
1388
+ };
1389
+ max_depth: {
1390
+ type: string;
1391
+ default: number;
1392
+ minimum: number;
1393
+ maximum: number;
1394
+ description: string;
1395
+ };
1396
+ direction: {
1397
+ type: string;
1398
+ enum: string[];
1399
+ default: string;
1400
+ description: string;
1401
+ };
1402
+ max_paths: {
1403
+ type: string;
1404
+ default: number;
1405
+ description: string;
1406
+ };
1407
+ content?: undefined;
1408
+ type?: undefined;
1409
+ importance?: undefined;
1410
+ tags?: undefined;
1411
+ subtype?: undefined;
1412
+ query?: undefined;
1413
+ types?: undefined;
1414
+ limit?: undefined;
1415
+ min_relevance?: undefined;
1416
+ detail_level?: undefined;
1417
+ include_sources?: undefined;
1418
+ depth?: undefined;
1419
+ memory_id?: undefined;
1420
+ reason?: undefined;
1421
+ hard?: undefined;
1422
+ source_id?: undefined;
1423
+ target_id?: undefined;
1424
+ relationship?: undefined;
1425
+ strength?: undefined;
1426
+ time_window_minutes?: undefined;
1427
+ include_memories?: undefined;
1428
+ include_contradictions?: undefined;
1429
+ include_breakdown?: undefined;
1430
+ auto_resolve?: undefined;
1431
+ };
1432
+ required: string[];
1433
+ };
1434
+ } | {
1435
+ name: string;
1436
+ description: string;
1437
+ inputSchema: {
1438
+ type: string;
1439
+ properties: {
1440
+ memory_id: {
1441
+ type: string;
1442
+ description: string;
1443
+ };
1444
+ auto_resolve: {
1445
+ type: string;
1446
+ default: boolean;
1447
+ description: string;
1448
+ };
1449
+ content?: undefined;
1450
+ type?: undefined;
1451
+ importance?: undefined;
1452
+ tags?: undefined;
1453
+ subtype?: undefined;
1454
+ query?: undefined;
1455
+ types?: undefined;
1456
+ limit?: undefined;
1457
+ min_relevance?: undefined;
1458
+ detail_level?: undefined;
1459
+ include_sources?: undefined;
1460
+ depth?: undefined;
1461
+ reason?: undefined;
1462
+ hard?: undefined;
1463
+ source_id?: undefined;
1464
+ target_id?: undefined;
1465
+ relationship?: undefined;
1466
+ strength?: undefined;
1467
+ time_window_minutes?: undefined;
1468
+ include_memories?: undefined;
1469
+ include_contradictions?: undefined;
1470
+ include_breakdown?: undefined;
1471
+ start_memory_id?: undefined;
1472
+ relationship_types?: undefined;
1473
+ max_depth?: undefined;
1474
+ direction?: undefined;
1475
+ max_paths?: undefined;
1476
+ };
1477
+ required?: undefined;
1478
+ };
1479
+ })[];
1480
+ /**
1481
+ * @deprecated Use getToolsForProfile("full") or TOOL_PROFILES instead
1482
+ */
1483
+ export declare const EXTENDED_TOOLS: ({
1484
+ name: string;
1485
+ description: string;
1486
+ inputSchema: {
1487
+ type: string;
1488
+ properties: {
1489
+ content: {
1490
+ type: string;
1491
+ description: string;
1492
+ };
1493
+ type: {
1494
+ type: string;
1495
+ enum: string[];
1496
+ description: string;
1497
+ };
1498
+ importance: {
1499
+ type: string;
1500
+ minimum: number;
1501
+ maximum: number;
1502
+ default: number;
1503
+ description: string;
1504
+ };
1505
+ tags: {
1506
+ type: string;
1507
+ items: {
1508
+ type: string;
1509
+ };
1510
+ description: string;
1511
+ };
1512
+ subtype: {
1513
+ type: string;
1514
+ enum: string[];
1515
+ description: string;
1516
+ };
1517
+ query?: undefined;
1518
+ types?: undefined;
1519
+ limit?: undefined;
1520
+ min_relevance?: undefined;
1521
+ detail_level?: undefined;
1522
+ include_sources?: undefined;
1523
+ depth?: undefined;
1524
+ memory_id?: undefined;
1525
+ reason?: undefined;
1526
+ hard?: undefined;
1527
+ source_id?: undefined;
1528
+ target_id?: undefined;
1529
+ relationship?: undefined;
1530
+ strength?: undefined;
1531
+ time_window_minutes?: undefined;
1532
+ include_memories?: undefined;
1533
+ include_contradictions?: undefined;
1534
+ include_breakdown?: undefined;
1535
+ start_memory_id?: undefined;
1536
+ relationship_types?: undefined;
1537
+ max_depth?: undefined;
1538
+ direction?: undefined;
1539
+ max_paths?: undefined;
1540
+ auto_resolve?: undefined;
1541
+ };
1542
+ required: string[];
1543
+ };
1544
+ } | {
1545
+ name: string;
1546
+ description: string;
1547
+ inputSchema: {
1548
+ type: string;
1549
+ properties: {
1550
+ query: {
1551
+ type: string;
1552
+ description: string;
1553
+ };
1554
+ types: {
1555
+ type: string;
1556
+ items: {
1557
+ type: string;
1558
+ enum: string[];
1559
+ };
1560
+ description: string;
1561
+ };
1562
+ limit: {
1563
+ type: string;
1564
+ default: number;
1565
+ minimum: number;
1566
+ maximum: number;
1567
+ description: string;
1568
+ };
1569
+ min_relevance: {
1570
+ type: string;
1571
+ minimum: number;
1572
+ maximum: number;
1573
+ description: string;
1574
+ };
1575
+ tags: {
1576
+ type: string;
1577
+ items: {
1578
+ type: string;
1579
+ };
1580
+ description: string;
1581
+ };
1582
+ content?: undefined;
1583
+ type?: undefined;
1584
+ importance?: undefined;
1585
+ subtype?: undefined;
1586
+ detail_level?: undefined;
1587
+ include_sources?: undefined;
1588
+ depth?: undefined;
1589
+ memory_id?: undefined;
1590
+ reason?: undefined;
1591
+ hard?: undefined;
1592
+ source_id?: undefined;
1593
+ target_id?: undefined;
1594
+ relationship?: undefined;
1595
+ strength?: undefined;
1596
+ time_window_minutes?: undefined;
1597
+ include_memories?: undefined;
1598
+ include_contradictions?: undefined;
1599
+ include_breakdown?: undefined;
1600
+ start_memory_id?: undefined;
1601
+ relationship_types?: undefined;
1602
+ max_depth?: undefined;
1603
+ direction?: undefined;
1604
+ max_paths?: undefined;
1605
+ auto_resolve?: undefined;
1606
+ };
1607
+ required: string[];
1608
+ };
1609
+ } | {
1610
+ name: string;
1611
+ description: string;
1612
+ inputSchema: {
1613
+ type: string;
1614
+ properties: {
1615
+ query: {
1616
+ type: string;
1617
+ description: string;
1618
+ };
1619
+ detail_level: {
1620
+ type: string;
1621
+ enum: string[];
1622
+ description: string;
1623
+ default?: undefined;
1624
+ };
1625
+ include_sources: {
1626
+ type: string;
1627
+ default: boolean;
1628
+ description: string;
1629
+ };
1630
+ depth: {
1631
+ type: string;
1632
+ default: number;
1633
+ minimum: number;
1634
+ maximum: number;
1635
+ description: string;
1636
+ };
1637
+ content?: undefined;
1638
+ type?: undefined;
1639
+ importance?: undefined;
1640
+ tags?: undefined;
1641
+ subtype?: undefined;
1642
+ types?: undefined;
1643
+ limit?: undefined;
1644
+ min_relevance?: undefined;
1645
+ memory_id?: undefined;
1646
+ reason?: undefined;
1647
+ hard?: undefined;
1648
+ source_id?: undefined;
1649
+ target_id?: undefined;
1650
+ relationship?: undefined;
1651
+ strength?: undefined;
1652
+ time_window_minutes?: undefined;
1653
+ include_memories?: undefined;
1654
+ include_contradictions?: undefined;
1655
+ include_breakdown?: undefined;
1656
+ start_memory_id?: undefined;
1657
+ relationship_types?: undefined;
1658
+ max_depth?: undefined;
1659
+ direction?: undefined;
1660
+ max_paths?: undefined;
1661
+ auto_resolve?: undefined;
1662
+ };
1663
+ required: string[];
1664
+ };
1665
+ } | {
1666
+ name: string;
1667
+ description: string;
1668
+ inputSchema: {
1669
+ type: string;
1670
+ properties: {
1671
+ memory_id: {
1672
+ type: string;
1673
+ description: string;
1674
+ };
1675
+ reason: {
1676
+ type: string;
1677
+ description: string;
1678
+ };
1679
+ hard: {
1680
+ type: string;
1681
+ default: boolean;
1682
+ description: string;
1683
+ };
1684
+ content?: undefined;
1685
+ type?: undefined;
1686
+ importance?: undefined;
1687
+ tags?: undefined;
1688
+ subtype?: undefined;
1689
+ query?: undefined;
1690
+ types?: undefined;
1691
+ limit?: undefined;
1692
+ min_relevance?: undefined;
1693
+ detail_level?: undefined;
1694
+ include_sources?: undefined;
1695
+ depth?: undefined;
1696
+ source_id?: undefined;
1697
+ target_id?: undefined;
1698
+ relationship?: undefined;
1699
+ strength?: undefined;
1700
+ time_window_minutes?: undefined;
1701
+ include_memories?: undefined;
1702
+ include_contradictions?: undefined;
1703
+ include_breakdown?: undefined;
1704
+ start_memory_id?: undefined;
1705
+ relationship_types?: undefined;
1706
+ max_depth?: undefined;
1707
+ direction?: undefined;
1708
+ max_paths?: undefined;
1709
+ auto_resolve?: undefined;
1710
+ };
1711
+ required: string[];
1712
+ };
1713
+ } | {
1714
+ name: string;
1715
+ description: string;
1716
+ inputSchema: {
1717
+ type: string;
1718
+ properties: {
1719
+ source_id: {
1720
+ type: string;
1721
+ description: string;
1722
+ };
1723
+ target_id: {
1724
+ type: string;
1725
+ description: string;
1726
+ };
1727
+ relationship: {
1728
+ type: string;
1729
+ description: string;
1730
+ };
1731
+ strength: {
1732
+ type: string;
1733
+ minimum: number;
1734
+ maximum: number;
1735
+ default: number;
1736
+ description: string;
1737
+ };
1738
+ content?: undefined;
1739
+ type?: undefined;
1740
+ importance?: undefined;
1741
+ tags?: undefined;
1742
+ subtype?: undefined;
1743
+ query?: undefined;
1744
+ types?: undefined;
1745
+ limit?: undefined;
1746
+ min_relevance?: undefined;
1747
+ detail_level?: undefined;
1748
+ include_sources?: undefined;
1749
+ depth?: undefined;
1750
+ memory_id?: undefined;
1751
+ reason?: undefined;
1752
+ hard?: undefined;
1753
+ time_window_minutes?: undefined;
1754
+ include_memories?: undefined;
1755
+ include_contradictions?: undefined;
1756
+ include_breakdown?: undefined;
1757
+ start_memory_id?: undefined;
1758
+ relationship_types?: undefined;
1759
+ max_depth?: undefined;
1760
+ direction?: undefined;
1761
+ max_paths?: undefined;
1762
+ auto_resolve?: undefined;
1763
+ };
1764
+ required: string[];
1765
+ };
1766
+ } | {
1767
+ name: string;
1768
+ description: string;
1769
+ inputSchema: {
1770
+ type: string;
1771
+ properties: {
1772
+ time_window_minutes: {
1773
+ type: string;
1774
+ default: number;
1775
+ description: string;
1776
+ };
1777
+ detail_level: {
1778
+ type: string;
1779
+ enum: string[];
1780
+ default: string;
1781
+ description: string;
1782
+ };
1783
+ limit: {
1784
+ type: string;
1785
+ default: number;
1786
+ description: string;
1787
+ minimum?: undefined;
1788
+ maximum?: undefined;
1789
+ };
1790
+ include_memories: {
1791
+ type: string;
1792
+ default: boolean;
1793
+ description: string;
1794
+ };
1795
+ include_contradictions: {
1796
+ type: string;
1797
+ default: boolean;
1798
+ description: string;
1799
+ };
1800
+ content?: undefined;
1801
+ type?: undefined;
1802
+ importance?: undefined;
1803
+ tags?: undefined;
1804
+ subtype?: undefined;
1805
+ query?: undefined;
1806
+ types?: undefined;
1807
+ min_relevance?: undefined;
1808
+ include_sources?: undefined;
1809
+ depth?: undefined;
1810
+ memory_id?: undefined;
1811
+ reason?: undefined;
1812
+ hard?: undefined;
1813
+ source_id?: undefined;
1814
+ target_id?: undefined;
1815
+ relationship?: undefined;
1816
+ strength?: undefined;
1817
+ include_breakdown?: undefined;
1818
+ start_memory_id?: undefined;
1819
+ relationship_types?: undefined;
1820
+ max_depth?: undefined;
1821
+ direction?: undefined;
1822
+ max_paths?: undefined;
1823
+ auto_resolve?: undefined;
1824
+ };
1825
+ required?: undefined;
1826
+ };
1827
+ } | {
1828
+ name: string;
1829
+ description: string;
1830
+ inputSchema: {
1831
+ type: string;
1832
+ properties: {
1833
+ include_breakdown: {
1834
+ type: string;
1835
+ default: boolean;
1836
+ description: string;
1837
+ };
1838
+ content?: undefined;
1839
+ type?: undefined;
1840
+ importance?: undefined;
1841
+ tags?: undefined;
1842
+ subtype?: undefined;
1843
+ query?: undefined;
1844
+ types?: undefined;
1845
+ limit?: undefined;
1846
+ min_relevance?: undefined;
1847
+ detail_level?: undefined;
1848
+ include_sources?: undefined;
1849
+ depth?: undefined;
1850
+ memory_id?: undefined;
1851
+ reason?: undefined;
1852
+ hard?: undefined;
1853
+ source_id?: undefined;
1854
+ target_id?: undefined;
1855
+ relationship?: undefined;
1856
+ strength?: undefined;
1857
+ time_window_minutes?: undefined;
1858
+ include_memories?: undefined;
1859
+ include_contradictions?: undefined;
1860
+ start_memory_id?: undefined;
1861
+ relationship_types?: undefined;
1862
+ max_depth?: undefined;
1863
+ direction?: undefined;
1864
+ max_paths?: undefined;
1865
+ auto_resolve?: undefined;
1866
+ };
1867
+ required?: undefined;
1868
+ };
1869
+ } | {
1870
+ name: string;
1871
+ description: string;
1872
+ inputSchema: {
1873
+ type: string;
1874
+ properties: {
1875
+ start_memory_id: {
1876
+ type: string;
1877
+ description: string;
1878
+ };
1879
+ relationship_types: {
1880
+ type: string;
1881
+ items: {
1882
+ type: string;
1883
+ };
1884
+ description: string;
1885
+ };
1886
+ max_depth: {
1887
+ type: string;
1888
+ default: number;
1889
+ minimum: number;
1890
+ maximum: number;
1891
+ description: string;
1892
+ };
1893
+ direction: {
1894
+ type: string;
1895
+ enum: string[];
1896
+ default: string;
1897
+ description: string;
1898
+ };
1899
+ max_paths: {
1900
+ type: string;
1901
+ default: number;
1902
+ description: string;
1903
+ };
1904
+ content?: undefined;
1905
+ type?: undefined;
1906
+ importance?: undefined;
1907
+ tags?: undefined;
1908
+ subtype?: undefined;
1909
+ query?: undefined;
1910
+ types?: undefined;
1911
+ limit?: undefined;
1912
+ min_relevance?: undefined;
1913
+ detail_level?: undefined;
1914
+ include_sources?: undefined;
1915
+ depth?: undefined;
1916
+ memory_id?: undefined;
1917
+ reason?: undefined;
1918
+ hard?: undefined;
1919
+ source_id?: undefined;
1920
+ target_id?: undefined;
1921
+ relationship?: undefined;
1922
+ strength?: undefined;
1923
+ time_window_minutes?: undefined;
1924
+ include_memories?: undefined;
1925
+ include_contradictions?: undefined;
1926
+ include_breakdown?: undefined;
1927
+ auto_resolve?: undefined;
1928
+ };
1929
+ required: string[];
1930
+ };
1931
+ } | {
1932
+ name: string;
1933
+ description: string;
1934
+ inputSchema: {
1935
+ type: string;
1936
+ properties: {
1937
+ memory_id: {
1938
+ type: string;
1939
+ description: string;
1940
+ };
1941
+ auto_resolve: {
1942
+ type: string;
1943
+ default: boolean;
1944
+ description: string;
1945
+ };
1946
+ content?: undefined;
1947
+ type?: undefined;
1948
+ importance?: undefined;
1949
+ tags?: undefined;
1950
+ subtype?: undefined;
1951
+ query?: undefined;
1952
+ types?: undefined;
1953
+ limit?: undefined;
1954
+ min_relevance?: undefined;
1955
+ detail_level?: undefined;
1956
+ include_sources?: undefined;
1957
+ depth?: undefined;
1958
+ reason?: undefined;
1959
+ hard?: undefined;
1960
+ source_id?: undefined;
1961
+ target_id?: undefined;
1962
+ relationship?: undefined;
1963
+ strength?: undefined;
1964
+ time_window_minutes?: undefined;
1965
+ include_memories?: undefined;
1966
+ include_contradictions?: undefined;
1967
+ include_breakdown?: undefined;
1968
+ start_memory_id?: undefined;
1969
+ relationship_types?: undefined;
1970
+ max_depth?: undefined;
1971
+ direction?: undefined;
1972
+ max_paths?: undefined;
1973
+ };
1974
+ required?: undefined;
1975
+ };
1976
+ })[];
1977
+ //# sourceMappingURL=tools.d.ts.map