@exaudeus/memory-mcp 1.9.6 → 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -652,9 +652,13 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
652
652
|
break;
|
|
653
653
|
}
|
|
654
654
|
case 'global-only': {
|
|
655
|
-
// No project lobes matched — ask agent to specify
|
|
655
|
+
// No project lobes matched — ask agent to specify or bootstrap
|
|
656
|
+
const lobeNames = configManager.getLobeNames();
|
|
657
|
+
const recallHint = lobeNames.length === 0
|
|
658
|
+
? `No lobes configured. Run memory_bootstrap(lobe: "your-project-name", root: "/absolute/path/to/repo") to create one, then retry.`
|
|
659
|
+
: `Cannot determine which lobe to search. Specify the lobe: recall(lobe: "...", context: "${context}")\nAvailable: ${lobeNames.join(', ')}\nIf this is a new project, run memory_bootstrap(lobe: "your-project-name", root: "/absolute/path/to/repo") to create a lobe.`;
|
|
656
660
|
return {
|
|
657
|
-
content: [{ type: 'text', text:
|
|
661
|
+
content: [{ type: 'text', text: recallHint }],
|
|
658
662
|
isError: true,
|
|
659
663
|
};
|
|
660
664
|
}
|