claude-recall 0.2.18 → 0.2.19
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/README.md
CHANGED
|
@@ -260,7 +260,7 @@ async function main() {
|
|
|
260
260
|
program
|
|
261
261
|
.name('claude-recall')
|
|
262
262
|
.description('Memory-enhanced Claude Code via MCP')
|
|
263
|
-
.version('0.2.
|
|
263
|
+
.version('0.2.19')
|
|
264
264
|
.option('--verbose', 'Enable verbose logging')
|
|
265
265
|
.option('--config <path>', 'Path to custom config file');
|
|
266
266
|
// MCP command
|
package/docs/API_REFERENCE.md
CHANGED
package/package.json
CHANGED
|
@@ -8,15 +8,22 @@ const path = require('path');
|
|
|
8
8
|
* Only affects project-level CLAUDE.md, not global settings
|
|
9
9
|
*/
|
|
10
10
|
function updateProjectClaudeMd() {
|
|
11
|
-
//
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
// When run as postinstall, we're in node_modules/claude-recall
|
|
12
|
+
// Need to find the actual project root
|
|
13
|
+
let projectDir = process.cwd();
|
|
14
14
|
|
|
15
|
-
//
|
|
16
|
-
if (projectDir.includes('node_modules
|
|
17
|
-
|
|
15
|
+
// If we're in node_modules, go up to find project root
|
|
16
|
+
if (projectDir.includes('node_modules')) {
|
|
17
|
+
// Find the project root by going up from node_modules
|
|
18
|
+
const parts = projectDir.split(path.sep);
|
|
19
|
+
const nodeModulesIndex = parts.lastIndexOf('node_modules');
|
|
20
|
+
if (nodeModulesIndex > 0) {
|
|
21
|
+
projectDir = parts.slice(0, nodeModulesIndex).join(path.sep);
|
|
22
|
+
}
|
|
18
23
|
}
|
|
19
24
|
|
|
25
|
+
const claudeMdPath = path.join(projectDir, 'CLAUDE.md');
|
|
26
|
+
|
|
20
27
|
// Minimal instructions for claude-recall
|
|
21
28
|
const claudeRecallInstructions = `
|
|
22
29
|
## Claude Recall Integration
|