@codemem/opencode-plugin 0.47.5 → 0.48.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.
@@ -0,0 +1,1712 @@
1
+ [
2
+ {
3
+ "name": "memory_search",
4
+ "description": "Keyword-search memories when you know exact terms or identifiers. Returns full body text for each match; use memory_search_index when you only need compact candidates.",
5
+ "input": {
6
+ "type": "object",
7
+ "properties": {
8
+ "query": {
9
+ "type": "string",
10
+ "description": "Search query"
11
+ },
12
+ "limit": {
13
+ "type": "integer",
14
+ "minimum": 1,
15
+ "maximum": 50,
16
+ "description": "Max results",
17
+ "default": 5
18
+ },
19
+ "kind": {
20
+ "type": "string",
21
+ "description": "Filter by memory kind"
22
+ },
23
+ "project": {
24
+ "type": "string",
25
+ "description": "Filter by project scope (matches sessions.project)"
26
+ },
27
+ "scope_id": {
28
+ "type": "string",
29
+ "description": "Filter by a single sharing domain scope_id"
30
+ },
31
+ "include_scope_ids": {
32
+ "type": "array",
33
+ "items": {
34
+ "type": "string"
35
+ },
36
+ "description": "Sharing domain scope_ids to include"
37
+ },
38
+ "exclude_scope_ids": {
39
+ "type": "array",
40
+ "items": {
41
+ "type": "string"
42
+ },
43
+ "description": "Sharing domain scope_ids to exclude"
44
+ },
45
+ "visibility": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "string"
49
+ }
50
+ },
51
+ "include_visibility": {
52
+ "type": "array",
53
+ "items": {
54
+ "type": "string"
55
+ }
56
+ },
57
+ "exclude_visibility": {
58
+ "type": "array",
59
+ "items": {
60
+ "type": "string"
61
+ }
62
+ },
63
+ "include_workspace_ids": {
64
+ "type": "array",
65
+ "items": {
66
+ "type": "string"
67
+ }
68
+ },
69
+ "exclude_workspace_ids": {
70
+ "type": "array",
71
+ "items": {
72
+ "type": "string"
73
+ }
74
+ },
75
+ "include_workspace_kinds": {
76
+ "type": "array",
77
+ "items": {
78
+ "type": "string"
79
+ }
80
+ },
81
+ "exclude_workspace_kinds": {
82
+ "type": "array",
83
+ "items": {
84
+ "type": "string"
85
+ }
86
+ },
87
+ "include_actor_ids": {
88
+ "type": "array",
89
+ "items": {
90
+ "type": "string"
91
+ }
92
+ },
93
+ "exclude_actor_ids": {
94
+ "type": "array",
95
+ "items": {
96
+ "type": "string"
97
+ }
98
+ },
99
+ "include_trust_states": {
100
+ "type": "array",
101
+ "items": {
102
+ "type": "string"
103
+ }
104
+ },
105
+ "exclude_trust_states": {
106
+ "type": "array",
107
+ "items": {
108
+ "type": "string"
109
+ }
110
+ },
111
+ "ownership_scope": {
112
+ "type": "string"
113
+ },
114
+ "personal_first": {
115
+ "anyOf": [
116
+ {
117
+ "type": "boolean"
118
+ },
119
+ {
120
+ "type": "string"
121
+ }
122
+ ]
123
+ },
124
+ "trust_bias": {
125
+ "type": "string"
126
+ },
127
+ "widen_shared_when_weak": {
128
+ "anyOf": [
129
+ {
130
+ "type": "boolean"
131
+ },
132
+ {
133
+ "type": "string"
134
+ }
135
+ ]
136
+ },
137
+ "widen_shared_min_personal_results": {
138
+ "type": "integer"
139
+ },
140
+ "widen_shared_min_personal_score": {
141
+ "type": "number"
142
+ }
143
+ },
144
+ "required": ["query"]
145
+ }
146
+ },
147
+ {
148
+ "name": "memory_search_index",
149
+ "description": "Keyword-search memories when you know exact terms or identifiers. Returns compact entries with IDs and titles, without bodies; expand selected IDs with memory_get or memory_get_observations.",
150
+ "input": {
151
+ "type": "object",
152
+ "properties": {
153
+ "query": {
154
+ "type": "string",
155
+ "description": "Search query"
156
+ },
157
+ "limit": {
158
+ "type": "integer",
159
+ "minimum": 1,
160
+ "maximum": 50,
161
+ "description": "Max results",
162
+ "default": 8
163
+ },
164
+ "kind": {
165
+ "type": "string",
166
+ "description": "Filter by memory kind"
167
+ },
168
+ "project": {
169
+ "type": "string",
170
+ "description": "Filter by project scope (matches sessions.project)"
171
+ },
172
+ "scope_id": {
173
+ "type": "string",
174
+ "description": "Filter by a single sharing domain scope_id"
175
+ },
176
+ "include_scope_ids": {
177
+ "type": "array",
178
+ "items": {
179
+ "type": "string"
180
+ },
181
+ "description": "Sharing domain scope_ids to include"
182
+ },
183
+ "exclude_scope_ids": {
184
+ "type": "array",
185
+ "items": {
186
+ "type": "string"
187
+ },
188
+ "description": "Sharing domain scope_ids to exclude"
189
+ },
190
+ "visibility": {
191
+ "type": "array",
192
+ "items": {
193
+ "type": "string"
194
+ }
195
+ },
196
+ "include_visibility": {
197
+ "type": "array",
198
+ "items": {
199
+ "type": "string"
200
+ }
201
+ },
202
+ "exclude_visibility": {
203
+ "type": "array",
204
+ "items": {
205
+ "type": "string"
206
+ }
207
+ },
208
+ "include_workspace_ids": {
209
+ "type": "array",
210
+ "items": {
211
+ "type": "string"
212
+ }
213
+ },
214
+ "exclude_workspace_ids": {
215
+ "type": "array",
216
+ "items": {
217
+ "type": "string"
218
+ }
219
+ },
220
+ "include_workspace_kinds": {
221
+ "type": "array",
222
+ "items": {
223
+ "type": "string"
224
+ }
225
+ },
226
+ "exclude_workspace_kinds": {
227
+ "type": "array",
228
+ "items": {
229
+ "type": "string"
230
+ }
231
+ },
232
+ "include_actor_ids": {
233
+ "type": "array",
234
+ "items": {
235
+ "type": "string"
236
+ }
237
+ },
238
+ "exclude_actor_ids": {
239
+ "type": "array",
240
+ "items": {
241
+ "type": "string"
242
+ }
243
+ },
244
+ "include_trust_states": {
245
+ "type": "array",
246
+ "items": {
247
+ "type": "string"
248
+ }
249
+ },
250
+ "exclude_trust_states": {
251
+ "type": "array",
252
+ "items": {
253
+ "type": "string"
254
+ }
255
+ },
256
+ "ownership_scope": {
257
+ "type": "string"
258
+ },
259
+ "personal_first": {
260
+ "anyOf": [
261
+ {
262
+ "type": "boolean"
263
+ },
264
+ {
265
+ "type": "string"
266
+ }
267
+ ]
268
+ },
269
+ "trust_bias": {
270
+ "type": "string"
271
+ },
272
+ "widen_shared_when_weak": {
273
+ "anyOf": [
274
+ {
275
+ "type": "boolean"
276
+ },
277
+ {
278
+ "type": "string"
279
+ }
280
+ ]
281
+ },
282
+ "widen_shared_min_personal_results": {
283
+ "type": "integer"
284
+ },
285
+ "widen_shared_min_personal_score": {
286
+ "type": "number"
287
+ }
288
+ },
289
+ "required": ["query"]
290
+ }
291
+ },
292
+ {
293
+ "name": "memory_explain",
294
+ "description": "Explain search results with detailed scoring breakdown.",
295
+ "input": {
296
+ "type": "object",
297
+ "properties": {
298
+ "query": {
299
+ "type": "string",
300
+ "description": "Search query"
301
+ },
302
+ "ids": {
303
+ "type": "array",
304
+ "items": {
305
+ "type": "integer"
306
+ },
307
+ "maxItems": 200,
308
+ "description": "Specific memory IDs to explain"
309
+ },
310
+ "limit": {
311
+ "type": "integer",
312
+ "minimum": 1,
313
+ "maximum": 50,
314
+ "description": "Max results",
315
+ "default": 10
316
+ },
317
+ "include_pack_context": {
318
+ "type": "boolean",
319
+ "description": "Include formatted pack context",
320
+ "default": false
321
+ },
322
+ "kind": {
323
+ "type": "string",
324
+ "description": "Filter by memory kind"
325
+ },
326
+ "project": {
327
+ "type": "string",
328
+ "description": "Filter by project scope (matches sessions.project)"
329
+ },
330
+ "scope_id": {
331
+ "type": "string",
332
+ "description": "Filter by a single sharing domain scope_id"
333
+ },
334
+ "include_scope_ids": {
335
+ "type": "array",
336
+ "items": {
337
+ "type": "string"
338
+ },
339
+ "description": "Sharing domain scope_ids to include"
340
+ },
341
+ "exclude_scope_ids": {
342
+ "type": "array",
343
+ "items": {
344
+ "type": "string"
345
+ },
346
+ "description": "Sharing domain scope_ids to exclude"
347
+ },
348
+ "visibility": {
349
+ "type": "array",
350
+ "items": {
351
+ "type": "string"
352
+ }
353
+ },
354
+ "include_visibility": {
355
+ "type": "array",
356
+ "items": {
357
+ "type": "string"
358
+ }
359
+ },
360
+ "exclude_visibility": {
361
+ "type": "array",
362
+ "items": {
363
+ "type": "string"
364
+ }
365
+ },
366
+ "include_workspace_ids": {
367
+ "type": "array",
368
+ "items": {
369
+ "type": "string"
370
+ }
371
+ },
372
+ "exclude_workspace_ids": {
373
+ "type": "array",
374
+ "items": {
375
+ "type": "string"
376
+ }
377
+ },
378
+ "include_workspace_kinds": {
379
+ "type": "array",
380
+ "items": {
381
+ "type": "string"
382
+ }
383
+ },
384
+ "exclude_workspace_kinds": {
385
+ "type": "array",
386
+ "items": {
387
+ "type": "string"
388
+ }
389
+ },
390
+ "include_actor_ids": {
391
+ "type": "array",
392
+ "items": {
393
+ "type": "string"
394
+ }
395
+ },
396
+ "exclude_actor_ids": {
397
+ "type": "array",
398
+ "items": {
399
+ "type": "string"
400
+ }
401
+ },
402
+ "include_trust_states": {
403
+ "type": "array",
404
+ "items": {
405
+ "type": "string"
406
+ }
407
+ },
408
+ "exclude_trust_states": {
409
+ "type": "array",
410
+ "items": {
411
+ "type": "string"
412
+ }
413
+ },
414
+ "ownership_scope": {
415
+ "type": "string"
416
+ },
417
+ "personal_first": {
418
+ "anyOf": [
419
+ {
420
+ "type": "boolean"
421
+ },
422
+ {
423
+ "type": "string"
424
+ }
425
+ ]
426
+ },
427
+ "trust_bias": {
428
+ "type": "string"
429
+ },
430
+ "widen_shared_when_weak": {
431
+ "anyOf": [
432
+ {
433
+ "type": "boolean"
434
+ },
435
+ {
436
+ "type": "string"
437
+ }
438
+ ]
439
+ },
440
+ "widen_shared_min_personal_results": {
441
+ "type": "integer"
442
+ },
443
+ "widen_shared_min_personal_score": {
444
+ "type": "number"
445
+ }
446
+ }
447
+ }
448
+ },
449
+ {
450
+ "name": "memory_recent",
451
+ "description": "Return recent memories, newest first.",
452
+ "input": {
453
+ "type": "object",
454
+ "properties": {
455
+ "limit": {
456
+ "type": "integer",
457
+ "minimum": 1,
458
+ "maximum": 100,
459
+ "description": "Max results",
460
+ "default": 8
461
+ },
462
+ "kind": {
463
+ "type": "string",
464
+ "description": "Filter by memory kind"
465
+ },
466
+ "project": {
467
+ "type": "string",
468
+ "description": "Filter by project scope (matches sessions.project)"
469
+ },
470
+ "scope_id": {
471
+ "type": "string",
472
+ "description": "Filter by a single sharing domain scope_id"
473
+ },
474
+ "include_scope_ids": {
475
+ "type": "array",
476
+ "items": {
477
+ "type": "string"
478
+ },
479
+ "description": "Sharing domain scope_ids to include"
480
+ },
481
+ "exclude_scope_ids": {
482
+ "type": "array",
483
+ "items": {
484
+ "type": "string"
485
+ },
486
+ "description": "Sharing domain scope_ids to exclude"
487
+ },
488
+ "visibility": {
489
+ "type": "array",
490
+ "items": {
491
+ "type": "string"
492
+ }
493
+ },
494
+ "include_visibility": {
495
+ "type": "array",
496
+ "items": {
497
+ "type": "string"
498
+ }
499
+ },
500
+ "exclude_visibility": {
501
+ "type": "array",
502
+ "items": {
503
+ "type": "string"
504
+ }
505
+ },
506
+ "include_workspace_ids": {
507
+ "type": "array",
508
+ "items": {
509
+ "type": "string"
510
+ }
511
+ },
512
+ "exclude_workspace_ids": {
513
+ "type": "array",
514
+ "items": {
515
+ "type": "string"
516
+ }
517
+ },
518
+ "include_workspace_kinds": {
519
+ "type": "array",
520
+ "items": {
521
+ "type": "string"
522
+ }
523
+ },
524
+ "exclude_workspace_kinds": {
525
+ "type": "array",
526
+ "items": {
527
+ "type": "string"
528
+ }
529
+ },
530
+ "include_actor_ids": {
531
+ "type": "array",
532
+ "items": {
533
+ "type": "string"
534
+ }
535
+ },
536
+ "exclude_actor_ids": {
537
+ "type": "array",
538
+ "items": {
539
+ "type": "string"
540
+ }
541
+ },
542
+ "include_trust_states": {
543
+ "type": "array",
544
+ "items": {
545
+ "type": "string"
546
+ }
547
+ },
548
+ "exclude_trust_states": {
549
+ "type": "array",
550
+ "items": {
551
+ "type": "string"
552
+ }
553
+ },
554
+ "ownership_scope": {
555
+ "type": "string"
556
+ },
557
+ "personal_first": {
558
+ "anyOf": [
559
+ {
560
+ "type": "boolean"
561
+ },
562
+ {
563
+ "type": "string"
564
+ }
565
+ ]
566
+ },
567
+ "trust_bias": {
568
+ "type": "string"
569
+ },
570
+ "widen_shared_when_weak": {
571
+ "anyOf": [
572
+ {
573
+ "type": "boolean"
574
+ },
575
+ {
576
+ "type": "string"
577
+ }
578
+ ]
579
+ },
580
+ "widen_shared_min_personal_results": {
581
+ "type": "integer"
582
+ },
583
+ "widen_shared_min_personal_score": {
584
+ "type": "number"
585
+ }
586
+ }
587
+ }
588
+ },
589
+ {
590
+ "name": "memory_pack",
591
+ "description": "Build a formatted context block for a concept or task using keyword and semantic search when embeddings are available, with automatic keyword-only fallback. Use for conceptually relevant context; use memory_search or memory_search_index for exact identifiers.",
592
+ "input": {
593
+ "type": "object",
594
+ "properties": {
595
+ "context": {
596
+ "type": "string",
597
+ "description": "Context description to search for"
598
+ },
599
+ "limit": {
600
+ "type": "integer",
601
+ "minimum": 1,
602
+ "maximum": 50,
603
+ "description": "Max items to include"
604
+ },
605
+ "compact": {
606
+ "type": "boolean",
607
+ "description": "When true, render a scannable index of all items with full detail only for the top N (default 3). Saves tokens when broad overview matters more than per-item detail."
608
+ },
609
+ "compact_detail_count": {
610
+ "type": "integer",
611
+ "minimum": 0,
612
+ "maximum": 50,
613
+ "description": "Number of items to show in full detail in compact mode (default 3)"
614
+ },
615
+ "compression_mode": {
616
+ "type": "string",
617
+ "enum": ["off", "compact", "ids"],
618
+ "description": "Near-related compression mode: off disables it, compact applies only to compact rendering, ids applies in all modes. Defaults to CODEMEM_PACK_COMPRESSION or compact."
619
+ },
620
+ "kind": {
621
+ "type": "string",
622
+ "description": "Filter by memory kind"
623
+ },
624
+ "project": {
625
+ "type": "string",
626
+ "description": "Filter by project scope (matches sessions.project)"
627
+ },
628
+ "scope_id": {
629
+ "type": "string",
630
+ "description": "Filter by a single sharing domain scope_id"
631
+ },
632
+ "include_scope_ids": {
633
+ "type": "array",
634
+ "items": {
635
+ "type": "string"
636
+ },
637
+ "description": "Sharing domain scope_ids to include"
638
+ },
639
+ "exclude_scope_ids": {
640
+ "type": "array",
641
+ "items": {
642
+ "type": "string"
643
+ },
644
+ "description": "Sharing domain scope_ids to exclude"
645
+ },
646
+ "visibility": {
647
+ "type": "array",
648
+ "items": {
649
+ "type": "string"
650
+ }
651
+ },
652
+ "include_visibility": {
653
+ "type": "array",
654
+ "items": {
655
+ "type": "string"
656
+ }
657
+ },
658
+ "exclude_visibility": {
659
+ "type": "array",
660
+ "items": {
661
+ "type": "string"
662
+ }
663
+ },
664
+ "include_workspace_ids": {
665
+ "type": "array",
666
+ "items": {
667
+ "type": "string"
668
+ }
669
+ },
670
+ "exclude_workspace_ids": {
671
+ "type": "array",
672
+ "items": {
673
+ "type": "string"
674
+ }
675
+ },
676
+ "include_workspace_kinds": {
677
+ "type": "array",
678
+ "items": {
679
+ "type": "string"
680
+ }
681
+ },
682
+ "exclude_workspace_kinds": {
683
+ "type": "array",
684
+ "items": {
685
+ "type": "string"
686
+ }
687
+ },
688
+ "include_actor_ids": {
689
+ "type": "array",
690
+ "items": {
691
+ "type": "string"
692
+ }
693
+ },
694
+ "exclude_actor_ids": {
695
+ "type": "array",
696
+ "items": {
697
+ "type": "string"
698
+ }
699
+ },
700
+ "include_trust_states": {
701
+ "type": "array",
702
+ "items": {
703
+ "type": "string"
704
+ }
705
+ },
706
+ "exclude_trust_states": {
707
+ "type": "array",
708
+ "items": {
709
+ "type": "string"
710
+ }
711
+ },
712
+ "ownership_scope": {
713
+ "type": "string"
714
+ },
715
+ "personal_first": {
716
+ "anyOf": [
717
+ {
718
+ "type": "boolean"
719
+ },
720
+ {
721
+ "type": "string"
722
+ }
723
+ ]
724
+ },
725
+ "trust_bias": {
726
+ "type": "string"
727
+ },
728
+ "widen_shared_when_weak": {
729
+ "anyOf": [
730
+ {
731
+ "type": "boolean"
732
+ },
733
+ {
734
+ "type": "string"
735
+ }
736
+ ]
737
+ },
738
+ "widen_shared_min_personal_results": {
739
+ "type": "integer"
740
+ },
741
+ "widen_shared_min_personal_score": {
742
+ "type": "number"
743
+ }
744
+ },
745
+ "required": ["context"]
746
+ }
747
+ },
748
+ {
749
+ "name": "memory_timeline",
750
+ "description": "Get a chronological window of memories around an anchor (by ID or query).",
751
+ "input": {
752
+ "type": "object",
753
+ "properties": {
754
+ "query": {
755
+ "type": "string",
756
+ "description": "Search query to find anchor"
757
+ },
758
+ "memory_id": {
759
+ "type": "integer",
760
+ "description": "Anchor memory ID"
761
+ },
762
+ "depth_before": {
763
+ "type": "integer",
764
+ "minimum": 0,
765
+ "description": "Items before anchor",
766
+ "default": 3
767
+ },
768
+ "depth_after": {
769
+ "type": "integer",
770
+ "minimum": 0,
771
+ "description": "Items after anchor",
772
+ "default": 3
773
+ },
774
+ "kind": {
775
+ "type": "string",
776
+ "description": "Filter by memory kind"
777
+ },
778
+ "project": {
779
+ "type": "string",
780
+ "description": "Filter by project scope (matches sessions.project)"
781
+ },
782
+ "scope_id": {
783
+ "type": "string",
784
+ "description": "Filter by a single sharing domain scope_id"
785
+ },
786
+ "include_scope_ids": {
787
+ "type": "array",
788
+ "items": {
789
+ "type": "string"
790
+ },
791
+ "description": "Sharing domain scope_ids to include"
792
+ },
793
+ "exclude_scope_ids": {
794
+ "type": "array",
795
+ "items": {
796
+ "type": "string"
797
+ },
798
+ "description": "Sharing domain scope_ids to exclude"
799
+ },
800
+ "visibility": {
801
+ "type": "array",
802
+ "items": {
803
+ "type": "string"
804
+ }
805
+ },
806
+ "include_visibility": {
807
+ "type": "array",
808
+ "items": {
809
+ "type": "string"
810
+ }
811
+ },
812
+ "exclude_visibility": {
813
+ "type": "array",
814
+ "items": {
815
+ "type": "string"
816
+ }
817
+ },
818
+ "include_workspace_ids": {
819
+ "type": "array",
820
+ "items": {
821
+ "type": "string"
822
+ }
823
+ },
824
+ "exclude_workspace_ids": {
825
+ "type": "array",
826
+ "items": {
827
+ "type": "string"
828
+ }
829
+ },
830
+ "include_workspace_kinds": {
831
+ "type": "array",
832
+ "items": {
833
+ "type": "string"
834
+ }
835
+ },
836
+ "exclude_workspace_kinds": {
837
+ "type": "array",
838
+ "items": {
839
+ "type": "string"
840
+ }
841
+ },
842
+ "include_actor_ids": {
843
+ "type": "array",
844
+ "items": {
845
+ "type": "string"
846
+ }
847
+ },
848
+ "exclude_actor_ids": {
849
+ "type": "array",
850
+ "items": {
851
+ "type": "string"
852
+ }
853
+ },
854
+ "include_trust_states": {
855
+ "type": "array",
856
+ "items": {
857
+ "type": "string"
858
+ }
859
+ },
860
+ "exclude_trust_states": {
861
+ "type": "array",
862
+ "items": {
863
+ "type": "string"
864
+ }
865
+ },
866
+ "ownership_scope": {
867
+ "type": "string"
868
+ },
869
+ "personal_first": {
870
+ "anyOf": [
871
+ {
872
+ "type": "boolean"
873
+ },
874
+ {
875
+ "type": "string"
876
+ }
877
+ ]
878
+ },
879
+ "trust_bias": {
880
+ "type": "string"
881
+ },
882
+ "widen_shared_when_weak": {
883
+ "anyOf": [
884
+ {
885
+ "type": "boolean"
886
+ },
887
+ {
888
+ "type": "string"
889
+ }
890
+ ]
891
+ },
892
+ "widen_shared_min_personal_results": {
893
+ "type": "integer"
894
+ },
895
+ "widen_shared_min_personal_score": {
896
+ "type": "number"
897
+ }
898
+ }
899
+ }
900
+ },
901
+ {
902
+ "name": "memory_expand",
903
+ "description": "Fetch memories by ID with surrounding timeline context.",
904
+ "input": {
905
+ "type": "object",
906
+ "properties": {
907
+ "ids": {
908
+ "type": "array",
909
+ "items": {
910
+ "anyOf": [
911
+ {
912
+ "type": "number"
913
+ },
914
+ {
915
+ "type": "string"
916
+ }
917
+ ]
918
+ },
919
+ "maxItems": 200,
920
+ "description": "Memory IDs to expand"
921
+ },
922
+ "depth_before": {
923
+ "type": "integer",
924
+ "minimum": 0,
925
+ "description": "Timeline items before",
926
+ "default": 3
927
+ },
928
+ "depth_after": {
929
+ "type": "integer",
930
+ "minimum": 0,
931
+ "description": "Timeline items after",
932
+ "default": 3
933
+ },
934
+ "include_observations": {
935
+ "type": "boolean",
936
+ "description": "Include full observation details",
937
+ "default": false
938
+ },
939
+ "kind": {
940
+ "type": "string",
941
+ "description": "Filter by memory kind"
942
+ },
943
+ "project": {
944
+ "type": "string",
945
+ "description": "Filter by project scope (matches sessions.project)"
946
+ },
947
+ "scope_id": {
948
+ "type": "string",
949
+ "description": "Filter by a single sharing domain scope_id"
950
+ },
951
+ "include_scope_ids": {
952
+ "type": "array",
953
+ "items": {
954
+ "type": "string"
955
+ },
956
+ "description": "Sharing domain scope_ids to include"
957
+ },
958
+ "exclude_scope_ids": {
959
+ "type": "array",
960
+ "items": {
961
+ "type": "string"
962
+ },
963
+ "description": "Sharing domain scope_ids to exclude"
964
+ },
965
+ "visibility": {
966
+ "type": "array",
967
+ "items": {
968
+ "type": "string"
969
+ }
970
+ },
971
+ "include_visibility": {
972
+ "type": "array",
973
+ "items": {
974
+ "type": "string"
975
+ }
976
+ },
977
+ "exclude_visibility": {
978
+ "type": "array",
979
+ "items": {
980
+ "type": "string"
981
+ }
982
+ },
983
+ "include_workspace_ids": {
984
+ "type": "array",
985
+ "items": {
986
+ "type": "string"
987
+ }
988
+ },
989
+ "exclude_workspace_ids": {
990
+ "type": "array",
991
+ "items": {
992
+ "type": "string"
993
+ }
994
+ },
995
+ "include_workspace_kinds": {
996
+ "type": "array",
997
+ "items": {
998
+ "type": "string"
999
+ }
1000
+ },
1001
+ "exclude_workspace_kinds": {
1002
+ "type": "array",
1003
+ "items": {
1004
+ "type": "string"
1005
+ }
1006
+ },
1007
+ "include_actor_ids": {
1008
+ "type": "array",
1009
+ "items": {
1010
+ "type": "string"
1011
+ }
1012
+ },
1013
+ "exclude_actor_ids": {
1014
+ "type": "array",
1015
+ "items": {
1016
+ "type": "string"
1017
+ }
1018
+ },
1019
+ "include_trust_states": {
1020
+ "type": "array",
1021
+ "items": {
1022
+ "type": "string"
1023
+ }
1024
+ },
1025
+ "exclude_trust_states": {
1026
+ "type": "array",
1027
+ "items": {
1028
+ "type": "string"
1029
+ }
1030
+ },
1031
+ "ownership_scope": {
1032
+ "type": "string"
1033
+ },
1034
+ "personal_first": {
1035
+ "anyOf": [
1036
+ {
1037
+ "type": "boolean"
1038
+ },
1039
+ {
1040
+ "type": "string"
1041
+ }
1042
+ ]
1043
+ },
1044
+ "trust_bias": {
1045
+ "type": "string"
1046
+ },
1047
+ "widen_shared_when_weak": {
1048
+ "anyOf": [
1049
+ {
1050
+ "type": "boolean"
1051
+ },
1052
+ {
1053
+ "type": "string"
1054
+ }
1055
+ ]
1056
+ },
1057
+ "widen_shared_min_personal_results": {
1058
+ "type": "integer"
1059
+ },
1060
+ "widen_shared_min_personal_score": {
1061
+ "type": "number"
1062
+ }
1063
+ },
1064
+ "required": ["ids"]
1065
+ }
1066
+ },
1067
+ {
1068
+ "name": "memory_get",
1069
+ "description": "Fetch one memory by exact ID. Does not inherit the default project; optional filters constrain the lookup, and a mismatch returns not_found.",
1070
+ "input": {
1071
+ "type": "object",
1072
+ "properties": {
1073
+ "memory_id": {
1074
+ "type": "integer",
1075
+ "description": "Memory ID"
1076
+ },
1077
+ "kind": {
1078
+ "type": "string",
1079
+ "description": "Filter by memory kind"
1080
+ },
1081
+ "project": {
1082
+ "type": "string",
1083
+ "description": "Filter by project scope (matches sessions.project)"
1084
+ },
1085
+ "scope_id": {
1086
+ "type": "string",
1087
+ "description": "Filter by a single sharing domain scope_id"
1088
+ },
1089
+ "include_scope_ids": {
1090
+ "type": "array",
1091
+ "items": {
1092
+ "type": "string"
1093
+ },
1094
+ "description": "Sharing domain scope_ids to include"
1095
+ },
1096
+ "exclude_scope_ids": {
1097
+ "type": "array",
1098
+ "items": {
1099
+ "type": "string"
1100
+ },
1101
+ "description": "Sharing domain scope_ids to exclude"
1102
+ },
1103
+ "visibility": {
1104
+ "type": "array",
1105
+ "items": {
1106
+ "type": "string"
1107
+ }
1108
+ },
1109
+ "include_visibility": {
1110
+ "type": "array",
1111
+ "items": {
1112
+ "type": "string"
1113
+ }
1114
+ },
1115
+ "exclude_visibility": {
1116
+ "type": "array",
1117
+ "items": {
1118
+ "type": "string"
1119
+ }
1120
+ },
1121
+ "include_workspace_ids": {
1122
+ "type": "array",
1123
+ "items": {
1124
+ "type": "string"
1125
+ }
1126
+ },
1127
+ "exclude_workspace_ids": {
1128
+ "type": "array",
1129
+ "items": {
1130
+ "type": "string"
1131
+ }
1132
+ },
1133
+ "include_workspace_kinds": {
1134
+ "type": "array",
1135
+ "items": {
1136
+ "type": "string"
1137
+ }
1138
+ },
1139
+ "exclude_workspace_kinds": {
1140
+ "type": "array",
1141
+ "items": {
1142
+ "type": "string"
1143
+ }
1144
+ },
1145
+ "include_actor_ids": {
1146
+ "type": "array",
1147
+ "items": {
1148
+ "type": "string"
1149
+ }
1150
+ },
1151
+ "exclude_actor_ids": {
1152
+ "type": "array",
1153
+ "items": {
1154
+ "type": "string"
1155
+ }
1156
+ },
1157
+ "include_trust_states": {
1158
+ "type": "array",
1159
+ "items": {
1160
+ "type": "string"
1161
+ }
1162
+ },
1163
+ "exclude_trust_states": {
1164
+ "type": "array",
1165
+ "items": {
1166
+ "type": "string"
1167
+ }
1168
+ },
1169
+ "ownership_scope": {
1170
+ "type": "string"
1171
+ },
1172
+ "personal_first": {
1173
+ "anyOf": [
1174
+ {
1175
+ "type": "boolean"
1176
+ },
1177
+ {
1178
+ "type": "string"
1179
+ }
1180
+ ]
1181
+ },
1182
+ "trust_bias": {
1183
+ "type": "string"
1184
+ },
1185
+ "widen_shared_when_weak": {
1186
+ "anyOf": [
1187
+ {
1188
+ "type": "boolean"
1189
+ },
1190
+ {
1191
+ "type": "string"
1192
+ }
1193
+ ]
1194
+ },
1195
+ "widen_shared_min_personal_results": {
1196
+ "type": "integer"
1197
+ },
1198
+ "widen_shared_min_personal_score": {
1199
+ "type": "number"
1200
+ }
1201
+ },
1202
+ "required": ["memory_id"]
1203
+ }
1204
+ },
1205
+ {
1206
+ "name": "memory_get_observations",
1207
+ "description": "Fetch multiple memories by exact IDs. Does not inherit the default project. Missing or filtered-out IDs are omitted from results, not reported as not_found.",
1208
+ "input": {
1209
+ "type": "object",
1210
+ "properties": {
1211
+ "ids": {
1212
+ "type": "array",
1213
+ "items": {
1214
+ "type": "integer"
1215
+ },
1216
+ "maxItems": 200,
1217
+ "description": "Memory IDs to fetch"
1218
+ },
1219
+ "kind": {
1220
+ "type": "string",
1221
+ "description": "Filter by memory kind"
1222
+ },
1223
+ "project": {
1224
+ "type": "string",
1225
+ "description": "Filter by project scope (matches sessions.project)"
1226
+ },
1227
+ "scope_id": {
1228
+ "type": "string",
1229
+ "description": "Filter by a single sharing domain scope_id"
1230
+ },
1231
+ "include_scope_ids": {
1232
+ "type": "array",
1233
+ "items": {
1234
+ "type": "string"
1235
+ },
1236
+ "description": "Sharing domain scope_ids to include"
1237
+ },
1238
+ "exclude_scope_ids": {
1239
+ "type": "array",
1240
+ "items": {
1241
+ "type": "string"
1242
+ },
1243
+ "description": "Sharing domain scope_ids to exclude"
1244
+ },
1245
+ "visibility": {
1246
+ "type": "array",
1247
+ "items": {
1248
+ "type": "string"
1249
+ }
1250
+ },
1251
+ "include_visibility": {
1252
+ "type": "array",
1253
+ "items": {
1254
+ "type": "string"
1255
+ }
1256
+ },
1257
+ "exclude_visibility": {
1258
+ "type": "array",
1259
+ "items": {
1260
+ "type": "string"
1261
+ }
1262
+ },
1263
+ "include_workspace_ids": {
1264
+ "type": "array",
1265
+ "items": {
1266
+ "type": "string"
1267
+ }
1268
+ },
1269
+ "exclude_workspace_ids": {
1270
+ "type": "array",
1271
+ "items": {
1272
+ "type": "string"
1273
+ }
1274
+ },
1275
+ "include_workspace_kinds": {
1276
+ "type": "array",
1277
+ "items": {
1278
+ "type": "string"
1279
+ }
1280
+ },
1281
+ "exclude_workspace_kinds": {
1282
+ "type": "array",
1283
+ "items": {
1284
+ "type": "string"
1285
+ }
1286
+ },
1287
+ "include_actor_ids": {
1288
+ "type": "array",
1289
+ "items": {
1290
+ "type": "string"
1291
+ }
1292
+ },
1293
+ "exclude_actor_ids": {
1294
+ "type": "array",
1295
+ "items": {
1296
+ "type": "string"
1297
+ }
1298
+ },
1299
+ "include_trust_states": {
1300
+ "type": "array",
1301
+ "items": {
1302
+ "type": "string"
1303
+ }
1304
+ },
1305
+ "exclude_trust_states": {
1306
+ "type": "array",
1307
+ "items": {
1308
+ "type": "string"
1309
+ }
1310
+ },
1311
+ "ownership_scope": {
1312
+ "type": "string"
1313
+ },
1314
+ "personal_first": {
1315
+ "anyOf": [
1316
+ {
1317
+ "type": "boolean"
1318
+ },
1319
+ {
1320
+ "type": "string"
1321
+ }
1322
+ ]
1323
+ },
1324
+ "trust_bias": {
1325
+ "type": "string"
1326
+ },
1327
+ "widen_shared_when_weak": {
1328
+ "anyOf": [
1329
+ {
1330
+ "type": "boolean"
1331
+ },
1332
+ {
1333
+ "type": "string"
1334
+ }
1335
+ ]
1336
+ },
1337
+ "widen_shared_min_personal_results": {
1338
+ "type": "integer"
1339
+ },
1340
+ "widen_shared_min_personal_score": {
1341
+ "type": "number"
1342
+ }
1343
+ },
1344
+ "required": ["ids"]
1345
+ }
1346
+ },
1347
+ {
1348
+ "name": "memory_remember",
1349
+ "description": "Create a new memory. Use for milestones, decisions, and notable facts.",
1350
+ "input": {
1351
+ "type": "object",
1352
+ "properties": {
1353
+ "kind": {
1354
+ "type": "string",
1355
+ "enum": [
1356
+ "discovery",
1357
+ "change",
1358
+ "feature",
1359
+ "bugfix",
1360
+ "refactor",
1361
+ "decision",
1362
+ "exploration"
1363
+ ],
1364
+ "description": "Memory kind"
1365
+ },
1366
+ "title": {
1367
+ "type": "string",
1368
+ "description": "Short title"
1369
+ },
1370
+ "body": {
1371
+ "type": "string",
1372
+ "description": "Body text (high-signal content)"
1373
+ },
1374
+ "confidence": {
1375
+ "type": "number",
1376
+ "minimum": 0,
1377
+ "maximum": 1,
1378
+ "description": "Confidence 0-1",
1379
+ "default": 0.5
1380
+ },
1381
+ "project": {
1382
+ "type": "string",
1383
+ "description": "Project identifier"
1384
+ }
1385
+ },
1386
+ "required": ["kind", "title", "body"]
1387
+ }
1388
+ },
1389
+ {
1390
+ "name": "memory_forget",
1391
+ "description": "Soft-delete a memory by exact ID so it no longer appears in normal retrieval; this is not secure erasure. Does not inherit the default project; optional filters must match or the tool returns not_found.",
1392
+ "input": {
1393
+ "type": "object",
1394
+ "properties": {
1395
+ "memory_id": {
1396
+ "type": "integer",
1397
+ "description": "Memory ID to forget"
1398
+ },
1399
+ "kind": {
1400
+ "type": "string",
1401
+ "description": "Filter by memory kind"
1402
+ },
1403
+ "project": {
1404
+ "type": "string",
1405
+ "description": "Filter by project scope (matches sessions.project)"
1406
+ },
1407
+ "scope_id": {
1408
+ "type": "string",
1409
+ "description": "Filter by a single sharing domain scope_id"
1410
+ },
1411
+ "include_scope_ids": {
1412
+ "type": "array",
1413
+ "items": {
1414
+ "type": "string"
1415
+ },
1416
+ "description": "Sharing domain scope_ids to include"
1417
+ },
1418
+ "exclude_scope_ids": {
1419
+ "type": "array",
1420
+ "items": {
1421
+ "type": "string"
1422
+ },
1423
+ "description": "Sharing domain scope_ids to exclude"
1424
+ },
1425
+ "visibility": {
1426
+ "type": "array",
1427
+ "items": {
1428
+ "type": "string"
1429
+ }
1430
+ },
1431
+ "include_visibility": {
1432
+ "type": "array",
1433
+ "items": {
1434
+ "type": "string"
1435
+ }
1436
+ },
1437
+ "exclude_visibility": {
1438
+ "type": "array",
1439
+ "items": {
1440
+ "type": "string"
1441
+ }
1442
+ },
1443
+ "include_workspace_ids": {
1444
+ "type": "array",
1445
+ "items": {
1446
+ "type": "string"
1447
+ }
1448
+ },
1449
+ "exclude_workspace_ids": {
1450
+ "type": "array",
1451
+ "items": {
1452
+ "type": "string"
1453
+ }
1454
+ },
1455
+ "include_workspace_kinds": {
1456
+ "type": "array",
1457
+ "items": {
1458
+ "type": "string"
1459
+ }
1460
+ },
1461
+ "exclude_workspace_kinds": {
1462
+ "type": "array",
1463
+ "items": {
1464
+ "type": "string"
1465
+ }
1466
+ },
1467
+ "include_actor_ids": {
1468
+ "type": "array",
1469
+ "items": {
1470
+ "type": "string"
1471
+ }
1472
+ },
1473
+ "exclude_actor_ids": {
1474
+ "type": "array",
1475
+ "items": {
1476
+ "type": "string"
1477
+ }
1478
+ },
1479
+ "include_trust_states": {
1480
+ "type": "array",
1481
+ "items": {
1482
+ "type": "string"
1483
+ }
1484
+ },
1485
+ "exclude_trust_states": {
1486
+ "type": "array",
1487
+ "items": {
1488
+ "type": "string"
1489
+ }
1490
+ },
1491
+ "ownership_scope": {
1492
+ "type": "string"
1493
+ },
1494
+ "personal_first": {
1495
+ "anyOf": [
1496
+ {
1497
+ "type": "boolean"
1498
+ },
1499
+ {
1500
+ "type": "string"
1501
+ }
1502
+ ]
1503
+ },
1504
+ "trust_bias": {
1505
+ "type": "string"
1506
+ },
1507
+ "widen_shared_when_weak": {
1508
+ "anyOf": [
1509
+ {
1510
+ "type": "boolean"
1511
+ },
1512
+ {
1513
+ "type": "string"
1514
+ }
1515
+ ]
1516
+ },
1517
+ "widen_shared_min_personal_results": {
1518
+ "type": "integer"
1519
+ },
1520
+ "widen_shared_min_personal_score": {
1521
+ "type": "number"
1522
+ }
1523
+ },
1524
+ "required": ["memory_id"]
1525
+ }
1526
+ },
1527
+ {
1528
+ "name": "memory_distill_candidates",
1529
+ "description": "Mine recurring memories into reviewable context candidates. Reads project/user context files without modifying them and can call the optional observer when judge=true.",
1530
+ "input": {
1531
+ "type": "object",
1532
+ "properties": {
1533
+ "limit": {
1534
+ "type": "integer",
1535
+ "minimum": 1,
1536
+ "maximum": 50,
1537
+ "description": "Max candidates",
1538
+ "default": 10
1539
+ },
1540
+ "min_recurrence": {
1541
+ "type": "integer",
1542
+ "minimum": 1,
1543
+ "maximum": 50,
1544
+ "description": "Minimum member count per candidate",
1545
+ "default": 2
1546
+ },
1547
+ "all_projects": {
1548
+ "type": "boolean",
1549
+ "description": "Mine memories across all projects",
1550
+ "default": false
1551
+ },
1552
+ "include_documented": {
1553
+ "type": "boolean",
1554
+ "description": "Include candidates already represented in context files",
1555
+ "default": false
1556
+ },
1557
+ "max_evidence_items": {
1558
+ "type": "integer",
1559
+ "minimum": 1,
1560
+ "maximum": 20,
1561
+ "description": "Evidence snippets per candidate",
1562
+ "default": 5
1563
+ },
1564
+ "judge": {
1565
+ "type": "boolean",
1566
+ "description": "Judge candidates with the observer model and drop routine-activity clusters (on by default; falls back to unjudged output when no observer model is configured)",
1567
+ "default": true
1568
+ },
1569
+ "kind": {
1570
+ "type": "string",
1571
+ "description": "Filter by memory kind"
1572
+ },
1573
+ "project": {
1574
+ "type": "string",
1575
+ "description": "Filter by project scope (matches sessions.project)"
1576
+ },
1577
+ "scope_id": {
1578
+ "type": "string",
1579
+ "description": "Filter by a single sharing domain scope_id"
1580
+ },
1581
+ "include_scope_ids": {
1582
+ "type": "array",
1583
+ "items": {
1584
+ "type": "string"
1585
+ },
1586
+ "description": "Sharing domain scope_ids to include"
1587
+ },
1588
+ "exclude_scope_ids": {
1589
+ "type": "array",
1590
+ "items": {
1591
+ "type": "string"
1592
+ },
1593
+ "description": "Sharing domain scope_ids to exclude"
1594
+ },
1595
+ "visibility": {
1596
+ "type": "array",
1597
+ "items": {
1598
+ "type": "string"
1599
+ }
1600
+ },
1601
+ "include_visibility": {
1602
+ "type": "array",
1603
+ "items": {
1604
+ "type": "string"
1605
+ }
1606
+ },
1607
+ "exclude_visibility": {
1608
+ "type": "array",
1609
+ "items": {
1610
+ "type": "string"
1611
+ }
1612
+ },
1613
+ "include_workspace_ids": {
1614
+ "type": "array",
1615
+ "items": {
1616
+ "type": "string"
1617
+ }
1618
+ },
1619
+ "exclude_workspace_ids": {
1620
+ "type": "array",
1621
+ "items": {
1622
+ "type": "string"
1623
+ }
1624
+ },
1625
+ "include_workspace_kinds": {
1626
+ "type": "array",
1627
+ "items": {
1628
+ "type": "string"
1629
+ }
1630
+ },
1631
+ "exclude_workspace_kinds": {
1632
+ "type": "array",
1633
+ "items": {
1634
+ "type": "string"
1635
+ }
1636
+ },
1637
+ "include_actor_ids": {
1638
+ "type": "array",
1639
+ "items": {
1640
+ "type": "string"
1641
+ }
1642
+ },
1643
+ "exclude_actor_ids": {
1644
+ "type": "array",
1645
+ "items": {
1646
+ "type": "string"
1647
+ }
1648
+ },
1649
+ "include_trust_states": {
1650
+ "type": "array",
1651
+ "items": {
1652
+ "type": "string"
1653
+ }
1654
+ },
1655
+ "exclude_trust_states": {
1656
+ "type": "array",
1657
+ "items": {
1658
+ "type": "string"
1659
+ }
1660
+ },
1661
+ "ownership_scope": {
1662
+ "type": "string"
1663
+ },
1664
+ "personal_first": {
1665
+ "anyOf": [
1666
+ {
1667
+ "type": "boolean"
1668
+ },
1669
+ {
1670
+ "type": "string"
1671
+ }
1672
+ ]
1673
+ },
1674
+ "trust_bias": {
1675
+ "type": "string"
1676
+ },
1677
+ "widen_shared_when_weak": {
1678
+ "anyOf": [
1679
+ {
1680
+ "type": "boolean"
1681
+ },
1682
+ {
1683
+ "type": "string"
1684
+ }
1685
+ ]
1686
+ },
1687
+ "widen_shared_min_personal_results": {
1688
+ "type": "integer"
1689
+ },
1690
+ "widen_shared_min_personal_score": {
1691
+ "type": "number"
1692
+ }
1693
+ }
1694
+ }
1695
+ },
1696
+ {
1697
+ "name": "memory_schema",
1698
+ "description": "Return the memory schema — kinds, fields, and available filters.",
1699
+ "input": {
1700
+ "type": "object",
1701
+ "properties": {}
1702
+ }
1703
+ },
1704
+ {
1705
+ "name": "memory_learn",
1706
+ "description": "Learn how to use codemem memory tools. Call this first if unfamiliar.",
1707
+ "input": {
1708
+ "type": "object",
1709
+ "properties": {}
1710
+ }
1711
+ }
1712
+ ]