@vheins/local-memory-mcp 0.5.27 → 0.5.29

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 (32) hide show
  1. package/dist/mcp/prompts/definitions/task-management-guidelines.md +1 -1
  2. package/dist/mcp/prompts/definitions/task-memory-executor.md +2 -2
  3. package/dist/mcp/router.d.ts.map +1 -1
  4. package/dist/mcp/router.js +8 -0
  5. package/dist/mcp/router.js.map +1 -1
  6. package/dist/mcp/storage/sqlite.d.ts +1 -0
  7. package/dist/mcp/storage/sqlite.d.ts.map +1 -1
  8. package/dist/mcp/storage/sqlite.js +9 -0
  9. package/dist/mcp/storage/sqlite.js.map +1 -1
  10. package/dist/mcp/tests/detail-tools.test.d.ts +2 -0
  11. package/dist/mcp/tests/detail-tools.test.d.ts.map +1 -0
  12. package/dist/mcp/tests/detail-tools.test.js +109 -0
  13. package/dist/mcp/tests/detail-tools.test.js.map +1 -0
  14. package/dist/mcp/tests/tasks.bulk.test.js +1 -1
  15. package/dist/mcp/tests/tasks.bulk.test.js.map +1 -1
  16. package/dist/mcp/tools/memory.get.d.ts +3 -0
  17. package/dist/mcp/tools/memory.get.d.ts.map +1 -0
  18. package/dist/mcp/tools/memory.get.js +24 -0
  19. package/dist/mcp/tools/memory.get.js.map +1 -0
  20. package/dist/mcp/tools/memory.recap.js +1 -1
  21. package/dist/mcp/tools/memory.search.js +1 -1
  22. package/dist/mcp/tools/schemas.d.ts +161 -13
  23. package/dist/mcp/tools/schemas.d.ts.map +1 -1
  24. package/dist/mcp/tools/schemas.js +44 -10
  25. package/dist/mcp/tools/schemas.js.map +1 -1
  26. package/dist/mcp/tools/task.get.d.ts +3 -0
  27. package/dist/mcp/tools/task.get.d.ts.map +1 -0
  28. package/dist/mcp/tools/task.get.js +32 -0
  29. package/dist/mcp/tools/task.get.js.map +1 -0
  30. package/dist/mcp/tools/task.manage.js +3 -3
  31. package/dist/mcp/tools/task.manage.js.map +1 -1
  32. package/package.json +1 -1
@@ -143,7 +143,7 @@ export async function handleMemorySearch(params, db, vectors) {
143
143
  },
144
144
  }));
145
145
  const contentSummary = paginatedResults.length > 0
146
- ? `Found ${total} memories for "${validated.query}" (showing ${paginatedResults.length} at offset ${validated.offset}). Use memory://<id> to read full content.`
146
+ ? `Found ${total} memories for "${validated.query}" (showing ${paginatedResults.length} at offset ${validated.offset}). Use memory-detail to read full content.`
147
147
  : `No memories found for "${validated.query}" in repo "${validated.repo}".`;
148
148
  return createMcpResponse(structuredContent, contentSummary, {
149
149
  contentSummary,
@@ -274,6 +274,14 @@ export declare const TaskDeleteSchema: z.ZodObject<{
274
274
  repo: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
275
275
  id: z.ZodString;
276
276
  }, z.core.$strip>;
277
+ export declare const MemoryGetSchema: z.ZodObject<{
278
+ id: z.ZodString;
279
+ }, z.core.$strip>;
280
+ export declare const TaskGetSchema: z.ZodObject<{
281
+ repo: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
282
+ id: z.ZodOptional<z.ZodString>;
283
+ task_code: z.ZodOptional<z.ZodString>;
284
+ }, z.core.$strip>;
277
285
  export declare const TaskActiveSchema: z.ZodObject<{
278
286
  repo: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
279
287
  status: z.ZodOptional<z.ZodEnum<{
@@ -345,6 +353,7 @@ export declare const TOOL_DEFINITIONS: ({
345
353
  agent?: undefined;
346
354
  role?: undefined;
347
355
  doc_path?: undefined;
356
+ id?: undefined;
348
357
  type?: undefined;
349
358
  content?: undefined;
350
359
  importance?: undefined;
@@ -357,7 +366,6 @@ export declare const TOOL_DEFINITIONS: ({
357
366
  supersedes?: undefined;
358
367
  memory_id?: undefined;
359
368
  application_context?: undefined;
360
- id?: undefined;
361
369
  completed_at?: undefined;
362
370
  query?: undefined;
363
371
  prompt?: undefined;
@@ -503,6 +511,7 @@ export declare const TOOL_DEFINITIONS: ({
503
511
  use_tools?: undefined;
504
512
  max_iterations?: undefined;
505
513
  max_tokens?: undefined;
514
+ id?: undefined;
506
515
  type?: undefined;
507
516
  content?: undefined;
508
517
  importance?: undefined;
@@ -515,7 +524,6 @@ export declare const TOOL_DEFINITIONS: ({
515
524
  supersedes?: undefined;
516
525
  memory_id?: undefined;
517
526
  application_context?: undefined;
518
- id?: undefined;
519
527
  completed_at?: undefined;
520
528
  query?: undefined;
521
529
  prompt?: undefined;
@@ -595,6 +603,146 @@ export declare const TOOL_DEFINITIONS: ({
595
603
  required: string[];
596
604
  };
597
605
  execution?: undefined;
606
+ } | {
607
+ name: string;
608
+ title: string;
609
+ description: string;
610
+ inputSchema: {
611
+ type: string;
612
+ properties: {
613
+ id: {
614
+ type: string;
615
+ format: string;
616
+ description: string;
617
+ };
618
+ repo?: undefined;
619
+ objective?: undefined;
620
+ current_file_path?: undefined;
621
+ include_summary?: undefined;
622
+ include_tasks?: undefined;
623
+ use_tools?: undefined;
624
+ max_iterations?: undefined;
625
+ max_tokens?: undefined;
626
+ task_code?: undefined;
627
+ phase?: undefined;
628
+ title?: undefined;
629
+ description?: undefined;
630
+ status?: undefined;
631
+ priority?: undefined;
632
+ agent?: undefined;
633
+ role?: undefined;
634
+ doc_path?: undefined;
635
+ type?: undefined;
636
+ content?: undefined;
637
+ importance?: undefined;
638
+ model?: undefined;
639
+ scope?: undefined;
640
+ tags?: undefined;
641
+ metadata?: undefined;
642
+ is_global?: undefined;
643
+ ttlDays?: undefined;
644
+ supersedes?: undefined;
645
+ memory_id?: undefined;
646
+ application_context?: undefined;
647
+ completed_at?: undefined;
648
+ query?: undefined;
649
+ prompt?: undefined;
650
+ current_tags?: undefined;
651
+ types?: undefined;
652
+ minImportance?: undefined;
653
+ limit?: undefined;
654
+ offset?: undefined;
655
+ includeRecap?: undefined;
656
+ include_archived?: undefined;
657
+ signals?: undefined;
658
+ ids?: undefined;
659
+ parent_id?: undefined;
660
+ depends_on?: undefined;
661
+ est_tokens?: undefined;
662
+ comment?: undefined;
663
+ search?: undefined;
664
+ action?: undefined;
665
+ tasks?: undefined;
666
+ updates?: undefined;
667
+ };
668
+ required: string[];
669
+ };
670
+ annotations?: undefined;
671
+ execution?: undefined;
672
+ outputSchema?: undefined;
673
+ } | {
674
+ name: string;
675
+ title: string;
676
+ description: string;
677
+ inputSchema: {
678
+ type: string;
679
+ properties: {
680
+ repo: {
681
+ type: string;
682
+ description: string;
683
+ };
684
+ id: {
685
+ type: string;
686
+ format: string;
687
+ description: string;
688
+ };
689
+ task_code: {
690
+ type: string;
691
+ description: string;
692
+ };
693
+ objective?: undefined;
694
+ current_file_path?: undefined;
695
+ include_summary?: undefined;
696
+ include_tasks?: undefined;
697
+ use_tools?: undefined;
698
+ max_iterations?: undefined;
699
+ max_tokens?: undefined;
700
+ phase?: undefined;
701
+ title?: undefined;
702
+ description?: undefined;
703
+ status?: undefined;
704
+ priority?: undefined;
705
+ agent?: undefined;
706
+ role?: undefined;
707
+ doc_path?: undefined;
708
+ type?: undefined;
709
+ content?: undefined;
710
+ importance?: undefined;
711
+ model?: undefined;
712
+ scope?: undefined;
713
+ tags?: undefined;
714
+ metadata?: undefined;
715
+ is_global?: undefined;
716
+ ttlDays?: undefined;
717
+ supersedes?: undefined;
718
+ memory_id?: undefined;
719
+ application_context?: undefined;
720
+ completed_at?: undefined;
721
+ query?: undefined;
722
+ prompt?: undefined;
723
+ current_tags?: undefined;
724
+ types?: undefined;
725
+ minImportance?: undefined;
726
+ limit?: undefined;
727
+ offset?: undefined;
728
+ includeRecap?: undefined;
729
+ include_archived?: undefined;
730
+ signals?: undefined;
731
+ ids?: undefined;
732
+ parent_id?: undefined;
733
+ depends_on?: undefined;
734
+ est_tokens?: undefined;
735
+ comment?: undefined;
736
+ search?: undefined;
737
+ action?: undefined;
738
+ tasks?: undefined;
739
+ updates?: undefined;
740
+ };
741
+ required: string[];
742
+ };
743
+ annotations?: undefined;
744
+ execution?: undefined;
745
+ outputSchema?: undefined;
598
746
  } | {
599
747
  name: string;
600
748
  title: string;
@@ -698,9 +846,9 @@ export declare const TOOL_DEFINITIONS: ({
698
846
  status?: undefined;
699
847
  priority?: undefined;
700
848
  doc_path?: undefined;
849
+ id?: undefined;
701
850
  memory_id?: undefined;
702
851
  application_context?: undefined;
703
- id?: undefined;
704
852
  completed_at?: undefined;
705
853
  query?: undefined;
706
854
  prompt?: undefined;
@@ -825,6 +973,7 @@ export declare const TOOL_DEFINITIONS: ({
825
973
  agent?: undefined;
826
974
  role?: undefined;
827
975
  doc_path?: undefined;
976
+ id?: undefined;
828
977
  type?: undefined;
829
978
  content?: undefined;
830
979
  importance?: undefined;
@@ -835,7 +984,6 @@ export declare const TOOL_DEFINITIONS: ({
835
984
  is_global?: undefined;
836
985
  ttlDays?: undefined;
837
986
  supersedes?: undefined;
838
- id?: undefined;
839
987
  completed_at?: undefined;
840
988
  query?: undefined;
841
989
  prompt?: undefined;
@@ -1183,6 +1331,7 @@ export declare const TOOL_DEFINITIONS: ({
1183
1331
  agent?: undefined;
1184
1332
  role?: undefined;
1185
1333
  doc_path?: undefined;
1334
+ id?: undefined;
1186
1335
  type?: undefined;
1187
1336
  content?: undefined;
1188
1337
  importance?: undefined;
@@ -1194,7 +1343,6 @@ export declare const TOOL_DEFINITIONS: ({
1194
1343
  supersedes?: undefined;
1195
1344
  memory_id?: undefined;
1196
1345
  application_context?: undefined;
1197
- id?: undefined;
1198
1346
  completed_at?: undefined;
1199
1347
  signals?: undefined;
1200
1348
  ids?: undefined;
@@ -1329,6 +1477,7 @@ export declare const TOOL_DEFINITIONS: ({
1329
1477
  agent?: undefined;
1330
1478
  role?: undefined;
1331
1479
  doc_path?: undefined;
1480
+ id?: undefined;
1332
1481
  type?: undefined;
1333
1482
  content?: undefined;
1334
1483
  importance?: undefined;
@@ -1341,7 +1490,6 @@ export declare const TOOL_DEFINITIONS: ({
1341
1490
  supersedes?: undefined;
1342
1491
  memory_id?: undefined;
1343
1492
  application_context?: undefined;
1344
- id?: undefined;
1345
1493
  completed_at?: undefined;
1346
1494
  query?: undefined;
1347
1495
  prompt?: undefined;
@@ -1578,6 +1726,7 @@ export declare const TOOL_DEFINITIONS: ({
1578
1726
  agent?: undefined;
1579
1727
  role?: undefined;
1580
1728
  doc_path?: undefined;
1729
+ id?: undefined;
1581
1730
  type?: undefined;
1582
1731
  content?: undefined;
1583
1732
  importance?: undefined;
@@ -1590,7 +1739,6 @@ export declare const TOOL_DEFINITIONS: ({
1590
1739
  supersedes?: undefined;
1591
1740
  memory_id?: undefined;
1592
1741
  application_context?: undefined;
1593
- id?: undefined;
1594
1742
  completed_at?: undefined;
1595
1743
  query?: undefined;
1596
1744
  prompt?: undefined;
@@ -1714,6 +1862,7 @@ export declare const TOOL_DEFINITIONS: ({
1714
1862
  agent?: undefined;
1715
1863
  role?: undefined;
1716
1864
  doc_path?: undefined;
1865
+ id?: undefined;
1717
1866
  type?: undefined;
1718
1867
  content?: undefined;
1719
1868
  importance?: undefined;
@@ -1726,7 +1875,6 @@ export declare const TOOL_DEFINITIONS: ({
1726
1875
  supersedes?: undefined;
1727
1876
  memory_id?: undefined;
1728
1877
  application_context?: undefined;
1729
- id?: undefined;
1730
1878
  completed_at?: undefined;
1731
1879
  query?: undefined;
1732
1880
  prompt?: undefined;
@@ -1924,6 +2072,7 @@ export declare const TOOL_DEFINITIONS: ({
1924
2072
  use_tools?: undefined;
1925
2073
  max_iterations?: undefined;
1926
2074
  max_tokens?: undefined;
2075
+ id?: undefined;
1927
2076
  type?: undefined;
1928
2077
  content?: undefined;
1929
2078
  importance?: undefined;
@@ -1934,7 +2083,6 @@ export declare const TOOL_DEFINITIONS: ({
1934
2083
  supersedes?: undefined;
1935
2084
  memory_id?: undefined;
1936
2085
  application_context?: undefined;
1937
- id?: undefined;
1938
2086
  completed_at?: undefined;
1939
2087
  query?: undefined;
1940
2088
  prompt?: undefined;
@@ -2372,6 +2520,7 @@ export declare const TOOL_DEFINITIONS: ({
2372
2520
  agent?: undefined;
2373
2521
  role?: undefined;
2374
2522
  doc_path?: undefined;
2523
+ id?: undefined;
2375
2524
  type?: undefined;
2376
2525
  content?: undefined;
2377
2526
  importance?: undefined;
@@ -2384,7 +2533,6 @@ export declare const TOOL_DEFINITIONS: ({
2384
2533
  supersedes?: undefined;
2385
2534
  memory_id?: undefined;
2386
2535
  application_context?: undefined;
2387
- id?: undefined;
2388
2536
  completed_at?: undefined;
2389
2537
  query?: undefined;
2390
2538
  prompt?: undefined;
@@ -2534,6 +2682,7 @@ export declare const TOOL_DEFINITIONS: ({
2534
2682
  agent?: undefined;
2535
2683
  role?: undefined;
2536
2684
  doc_path?: undefined;
2685
+ id?: undefined;
2537
2686
  type?: undefined;
2538
2687
  content?: undefined;
2539
2688
  importance?: undefined;
@@ -2546,7 +2695,6 @@ export declare const TOOL_DEFINITIONS: ({
2546
2695
  supersedes?: undefined;
2547
2696
  memory_id?: undefined;
2548
2697
  application_context?: undefined;
2549
- id?: undefined;
2550
2698
  completed_at?: undefined;
2551
2699
  query?: undefined;
2552
2700
  prompt?: undefined;
@@ -2694,6 +2842,7 @@ export declare const TOOL_DEFINITIONS: ({
2694
2842
  agent?: undefined;
2695
2843
  role?: undefined;
2696
2844
  doc_path?: undefined;
2845
+ id?: undefined;
2697
2846
  type?: undefined;
2698
2847
  content?: undefined;
2699
2848
  importance?: undefined;
@@ -2706,7 +2855,6 @@ export declare const TOOL_DEFINITIONS: ({
2706
2855
  supersedes?: undefined;
2707
2856
  memory_id?: undefined;
2708
2857
  application_context?: undefined;
2709
- id?: undefined;
2710
2858
  completed_at?: undefined;
2711
2859
  prompt?: undefined;
2712
2860
  current_tags?: undefined;
@@ -2927,6 +3075,7 @@ export declare const TOOL_DEFINITIONS: ({
2927
3075
  agent?: undefined;
2928
3076
  role?: undefined;
2929
3077
  doc_path?: undefined;
3078
+ id?: undefined;
2930
3079
  type?: undefined;
2931
3080
  content?: undefined;
2932
3081
  importance?: undefined;
@@ -2939,7 +3088,6 @@ export declare const TOOL_DEFINITIONS: ({
2939
3088
  supersedes?: undefined;
2940
3089
  memory_id?: undefined;
2941
3090
  application_context?: undefined;
2942
- id?: undefined;
2943
3091
  completed_at?: undefined;
2944
3092
  query?: undefined;
2945
3093
  prompt?: undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/mcp/tools/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;EAA6H,CAAC;AAG3J,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAc5B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiB9B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAa7B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;iBAIlC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;iBAI5B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;iBASjC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;EAAoF,CAAC;AAClH,eAAO,MAAM,kBAAkB,aAA2B,CAAC;AAE3D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;iBAgB3B,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;iBAEtC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsB5B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;iBAOzB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;iBAM3B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+3B5B,CAAC"}
@@ -168,6 +168,14 @@ export const TaskDeleteSchema = z.object({
168
168
  repo: z.string().min(1).transform(normalizeRepo),
169
169
  id: z.string().uuid()
170
170
  });
171
+ export const MemoryGetSchema = z.object({
172
+ id: z.string().uuid()
173
+ });
174
+ export const TaskGetSchema = z.object({
175
+ repo: z.string().min(1).transform(normalizeRepo),
176
+ id: z.string().uuid().optional(),
177
+ task_code: z.string().optional()
178
+ }).refine((data) => data.id !== undefined || data.task_code !== undefined, { message: "Either id or task_code must be provided" });
171
179
  export const TaskActiveSchema = z.object({
172
180
  repo: z.string().min(1).transform(normalizeRepo),
173
181
  status: z.enum(["in_progress", "pending"]).optional(),
@@ -253,6 +261,32 @@ export const TOOL_DEFINITIONS = [
253
261
  required: ["repo", "task_code", "phase", "title", "status", "priority"]
254
262
  }
255
263
  },
264
+ {
265
+ name: "memory-detail",
266
+ title: "Memory Detail",
267
+ description: "Fetch full details of a specific memory by ID. Use this when you have a memory ID (e.g. from search results) and need to read the full content.",
268
+ inputSchema: {
269
+ type: "object",
270
+ properties: {
271
+ id: { type: "string", format: "uuid", description: "Memory entry ID" }
272
+ },
273
+ required: ["id"]
274
+ }
275
+ },
276
+ {
277
+ name: "task-detail",
278
+ title: "Task Detail",
279
+ description: "Fetch full details of a specific task by ID or task code. Use this when you have a task ID or code and need to read the full description and comments.",
280
+ inputSchema: {
281
+ type: "object",
282
+ properties: {
283
+ repo: { type: "string", description: "Repository name" },
284
+ id: { type: "string", format: "uuid", description: "Task ID (optional if task_code is provided)" },
285
+ task_code: { type: "string", description: "Task code (e.g. TASK-001) (optional if id is provided)" }
286
+ },
287
+ required: ["repo"]
288
+ }
289
+ },
256
290
  {
257
291
  name: "memory-store",
258
292
  title: "Memory Store",
@@ -416,7 +450,7 @@ export const TOOL_DEFINITIONS = [
416
450
  {
417
451
  name: "memory-search",
418
452
  title: "Memory Search",
419
- description: "NAVIGATION LAYER: Returns a pointer table of matching memory IDs only. Returns columns [id, title, type, importance] — NO content. Retrieve full memory via memory://<id>. Use 'current_tags' to find tech-stack specific knowledge from other projects.",
453
+ description: "NAVIGATION LAYER: Returns a pointer table of matching memory IDs only. Returns columns [id, title, type, importance] — NO content. Retrieve full memory via memory-detail. Use 'current_tags' to find tech-stack specific knowledge from other projects.",
420
454
  annotations: {
421
455
  readOnlyHint: true,
422
456
  idempotentHint: true,
@@ -475,7 +509,7 @@ export const TOOL_DEFINITIONS = [
475
509
  rows: {
476
510
  type: "array",
477
511
  items: { type: "array" },
478
- description: "Each row: [id, title, type, importance]. Fetch full content via memory://<id>"
512
+ description: "Each row: [id, title, type, importance]. Fetch full content via memory-detail"
479
513
  }
480
514
  },
481
515
  required: ["columns", "rows"]
@@ -579,7 +613,7 @@ export const TOOL_DEFINITIONS = [
579
613
  {
580
614
  name: "memory-recap",
581
615
  title: "Memory Recap",
582
- description: "AGGREGATED OVERVIEW LAYER: Returns stats (counts by type) and a pointer table of top memories [id, title, type, importance]. NO content. Use for orientation only — retrieve full memory via memory://<id>.",
616
+ description: "AGGREGATED OVERVIEW LAYER: Returns stats (counts by type) and a pointer table of top memories [id, title, type, importance]. NO content. Use for orientation only — retrieve full memory via memory-detail.",
583
617
  annotations: {
584
618
  readOnlyHint: true,
585
619
  idempotentHint: true,
@@ -635,7 +669,7 @@ export const TOOL_DEFINITIONS = [
635
669
  rows: {
636
670
  type: "array",
637
671
  items: { type: "array" },
638
- description: "Each row: [id, title, type, importance]. Fetch full content via memory://<id>"
672
+ description: "Each row: [id, title, type, importance]. Fetch full content via memory-detail"
639
673
  }
640
674
  },
641
675
  required: ["columns", "rows"]
@@ -769,7 +803,7 @@ export const TOOL_DEFINITIONS = [
769
803
  {
770
804
  name: "task-active",
771
805
  title: "Task Active",
772
- description: "PRIMARY task navigation tool. Call this FIRST at session start. Returns a minimal tabular list of active tasks (id, title, status, priority). Default behavior: returns in_progress tasks; falls back to pending if none exist. Use task://<id> to fetch full task details. AGENTS: call this once, pick ONE task, then fetch task://<id> for full context before starting work.",
806
+ description: "PRIMARY task navigation tool. Call this FIRST at session start. Returns a minimal tabular list of active tasks (id, title, status, priority). Default behavior: returns in_progress tasks; falls back to pending if none exist. Use task-detail to fetch full task details. AGENTS: call this once, pick ONE task, then call task-detail for full context before starting work.",
773
807
  annotations: {
774
808
  readOnlyHint: true,
775
809
  idempotentHint: true,
@@ -812,7 +846,7 @@ export const TOOL_DEFINITIONS = [
812
846
  rows: {
813
847
  type: "array",
814
848
  items: { type: "array" },
815
- description: "Each row: [id, task_code, title, status, priority, comments_count]. Use task://<id> to fetch full task."
849
+ description: "Each row: [id, task_code, title, status, priority, comments_count]. Use task-detail to fetch full task."
816
850
  }
817
851
  },
818
852
  required: ["columns", "rows"]
@@ -825,7 +859,7 @@ export const TOOL_DEFINITIONS = [
825
859
  {
826
860
  name: "task-list",
827
861
  title: "Task List",
828
- description: "List or filtered search of tasks for a repository. Returns a compact tabular pointer list. Use 'search' to filter by code, title, or description. Use 'status' (comma-separated) to filter by status (backlog, pending, in_progress, completed, canceled, blocked). Defaults to active tasks. AGENTS: read columns array to interpret rows, then fetch task://<id>.",
862
+ description: "List or filtered search of tasks for a repository. Returns a compact tabular pointer list. Use 'search' to filter by code, title, or description. Use 'status' (comma-separated) to filter by status (backlog, pending, in_progress, completed, canceled, blocked). Defaults to active tasks. AGENTS: read columns array to interpret rows, then call task-detail.",
829
863
  annotations: {
830
864
  readOnlyHint: true,
831
865
  idempotentHint: true,
@@ -881,7 +915,7 @@ export const TOOL_DEFINITIONS = [
881
915
  rows: {
882
916
  type: "array",
883
917
  items: { type: "array" },
884
- description: "Each row: [id, task_code, title, status, priority, comments_count]. Use task://<id> to fetch full task."
918
+ description: "Each row: [id, task_code, title, status, priority, comments_count]. Use task-detail to fetch full task."
885
919
  }
886
920
  },
887
921
  required: ["columns", "rows"]
@@ -895,7 +929,7 @@ export const TOOL_DEFINITIONS = [
895
929
  {
896
930
  name: "task-search",
897
931
  title: "Task Search",
898
- description: "Search tasks by code, title, or description and return a compact tabular pointer list. Use task://<id> to fetch full task details after selecting from results. Defaults to searching all statuses. AGENTS: call once, read columns array to interpret rows, then fetch task://<id>.",
932
+ description: "Search tasks by code, title, or description and return a compact tabular pointer list. Use task-detail to fetch full task details after selecting from results. Defaults to searching all statuses. AGENTS: call once, read columns array to interpret rows, then call task-detail.",
899
933
  annotations: {
900
934
  readOnlyHint: true,
901
935
  idempotentHint: true,
@@ -948,7 +982,7 @@ export const TOOL_DEFINITIONS = [
948
982
  rows: {
949
983
  type: "array",
950
984
  items: { type: "array" },
951
- description: "Each row: [id, task_code, title, status, priority, comments_count]. Use task://<id> to fetch full task."
985
+ description: "Each row: [id, task_code, title, status, priority, comments_count]. Use task-detail to fetch full task."
952
986
  }
953
987
  },
954
988
  required: ["columns", "rows"]