claude-recall 0.20.15 ā 0.20.16
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.
|
@@ -12,10 +12,10 @@ Auto-generated from 5 memories. Last updated: 2026-04-10.
|
|
|
12
12
|
|
|
13
13
|
## Rules
|
|
14
14
|
|
|
15
|
-
- Session test preference
|
|
16
|
-
- Test preference
|
|
17
|
-
- Test preference
|
|
18
|
-
- Test preference
|
|
15
|
+
- Session test preference 1775841028541
|
|
16
|
+
- Test preference 1775841028479-2
|
|
17
|
+
- Test preference 1775841028479-1
|
|
18
|
+
- Test preference 1775841028479-0
|
|
19
19
|
- Test memory content
|
|
20
20
|
|
|
21
21
|
---
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"topicId": "preferences",
|
|
3
|
-
"sourceHash": "
|
|
3
|
+
"sourceHash": "ffe036415b05cb18e9c3e65a38a2e7dedbf02dfd5463c14a03184a9c93c75799",
|
|
4
4
|
"memoryCount": 5,
|
|
5
|
-
"generatedAt": "2026-04-
|
|
5
|
+
"generatedAt": "2026-04-10T17:10:28.567Z",
|
|
6
6
|
"memoryKeys": [
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
7
|
+
"memory_1775841028543_yc9163qfd",
|
|
8
|
+
"memory_1775841028515_8bjn9exsc",
|
|
9
|
+
"memory_1775841028500_gch5kvqxl",
|
|
10
|
+
"memory_1775841028480_n2evtiegj",
|
|
11
|
+
"memory_1775841028436_w06waet05"
|
|
12
12
|
]
|
|
13
13
|
}
|
|
@@ -40,6 +40,7 @@ const logging_1 = require("../services/logging");
|
|
|
40
40
|
const commander_1 = require("commander");
|
|
41
41
|
const fs = __importStar(require("fs"));
|
|
42
42
|
const path = __importStar(require("path"));
|
|
43
|
+
const os = __importStar(require("os"));
|
|
43
44
|
const pattern_service_1 = require("../services/pattern-service");
|
|
44
45
|
const migrate_1 = require("./commands/migrate");
|
|
45
46
|
const server_1 = require("../mcp/server");
|
|
@@ -504,11 +505,51 @@ class ClaudeRecallCLI {
|
|
|
504
505
|
*/
|
|
505
506
|
async status() {
|
|
506
507
|
console.log('\nš Claude Recall Status\n');
|
|
507
|
-
//
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
508
|
+
// Detect integration context
|
|
509
|
+
const hasPi = fs.existsSync(path.join(os.homedir(), '.pi'));
|
|
510
|
+
const claudeJsonPath = path.join(os.homedir(), '.claude.json');
|
|
511
|
+
let hasMcpRegistered = false;
|
|
512
|
+
if (fs.existsSync(claudeJsonPath)) {
|
|
513
|
+
try {
|
|
514
|
+
const claudeJson = JSON.parse(fs.readFileSync(claudeJsonPath, 'utf-8'));
|
|
515
|
+
const servers = claudeJson.mcpServers || {};
|
|
516
|
+
hasMcpRegistered = Object.keys(servers).some(k => k.includes('claude-recall') || k.includes('claude_recall'));
|
|
517
|
+
}
|
|
518
|
+
catch { /* ignore parse errors */ }
|
|
519
|
+
}
|
|
520
|
+
// Show integration status per agent
|
|
521
|
+
if (hasPi) {
|
|
522
|
+
console.log('Pi Extension:');
|
|
523
|
+
try {
|
|
524
|
+
const { execSync } = require('child_process');
|
|
525
|
+
const piList = execSync('pi list 2>/dev/null', { encoding: 'utf-8' });
|
|
526
|
+
if (piList.includes('claude-recall')) {
|
|
527
|
+
console.log(' Status: Installed ā
');
|
|
528
|
+
}
|
|
529
|
+
else {
|
|
530
|
+
console.log(' Status: Not installed');
|
|
531
|
+
console.log(' Install: pi install npm:claude-recall');
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
catch {
|
|
535
|
+
console.log(' Status: Pi detected but could not verify installation');
|
|
536
|
+
console.log(' Install: pi install npm:claude-recall');
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
if (hasMcpRegistered) {
|
|
540
|
+
console.log('Claude Code MCP:');
|
|
541
|
+
console.log(' Status: Registered ā
');
|
|
542
|
+
}
|
|
543
|
+
else if (!hasPi) {
|
|
544
|
+
console.log('Claude Code MCP:');
|
|
545
|
+
console.log(' Status: Not registered');
|
|
546
|
+
console.log(' Command: claude mcp add claude-recall claude-recall mcp start');
|
|
547
|
+
}
|
|
548
|
+
else {
|
|
549
|
+
// Pi is present; show Claude Code MCP as optional
|
|
550
|
+
console.log('Claude Code MCP:');
|
|
551
|
+
console.log(' Status: Not registered (optional ā Pi extension handles integration)');
|
|
552
|
+
}
|
|
512
553
|
// Database status
|
|
513
554
|
const configService = config_1.ConfigService.getInstance();
|
|
514
555
|
const dbPath = configService.getDatabasePath();
|
package/package.json
CHANGED