claude-recall 0.18.2 → 0.18.3

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.
@@ -8,7 +8,7 @@ source: claude-recall
8
8
 
9
9
  # Corrections
10
10
 
11
- Auto-generated from 23 memories. Last updated: 2026-03-20.
11
+ Auto-generated from 24 memories. Last updated: 2026-03-21.
12
12
 
13
13
  ## Rules
14
14
 
@@ -28,6 +28,7 @@ Auto-generated from 23 memories. Last updated: 2026-03-20.
28
28
  - CORRECTION: Memory with complex metadata
29
29
  - CORRECTION: Memory with complex metadata
30
30
  - CORRECTION: Memory with complex metadata
31
+ - CORRECTION: Memory with complex metadata
31
32
  - CORRECTION: Replace expired access token with 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
32
33
  - CORRECTION: use spaces not tabs for indentation
33
34
  - CORRECTION: cited (loaded 5+ times): 19
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "topicId": "corrections",
3
- "sourceHash": "2508acf74409f4f19e47ba4a5c159b28afa9db68dc70fceb90fc1cc90a806538",
4
- "memoryCount": 23,
5
- "generatedAt": "2026-03-20T15:33:09.502Z",
3
+ "sourceHash": "3535c7a59cf6294cdce5771af20cd27c1b191fc856b102ced2bc36dd94a7a920",
4
+ "memoryCount": 24,
5
+ "generatedAt": "2026-03-21T14:49:48.321Z",
6
6
  "memoryKeys": [
7
+ "memory_1774104588311_65kg08e05",
7
8
  "memory_1774020789453_x9xkjhbug",
8
9
  "memory_1773999187635_v9sxfphej",
9
10
  "memory_1773740608781_ae2bn7zos",
@@ -8,12 +8,13 @@ source: claude-recall
8
8
 
9
9
  # Failure Lessons
10
10
 
11
- Auto-generated from 27 memories. Last updated: 2026-03-20.
11
+ Auto-generated from 28 memories. Last updated: 2026-03-21.
12
12
 
13
13
  ## Rules
14
14
 
15
15
  - Check command syntax, file paths, and prerequisites before running
16
16
  - SQLite query syntax error: LIKE clause requires single quotes around string literal, not double quotes
17
+ - Avoid: Command failed: claude-recall outcomes 2>&1 → Instead: Check command syntax, file paths, and prerequisites before running
17
18
  - Avoid: Command failed: npx jest tests/unit/outcome-storage.test.ts tests/unit/promotion-engine.test.ts tests/unit/memory... → Instead: Check command syntax, file paths, and prerequisites before running
18
19
  - Avoid: Command failed: npx jest tests/unit/bash-failure-watcher.test.ts 2>&1 → Instead: Check command syntax, file paths, and prerequisites before running
19
20
  - Avoid: Command failed: npx jest tests/unit/memory-sync-hook.test.ts 2>&1 → Instead: Check command syntax, file paths, and prerequisites before running
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "topicId": "failure-lessons",
3
- "sourceHash": "22208b1347904abc47e0ee6878777d047cd32a0593385ead5ca666cbc2960fe6",
4
- "memoryCount": 27,
5
- "generatedAt": "2026-03-20T15:33:09.349Z",
3
+ "sourceHash": "df348723b69afcab401d8c9e5b33d82eb391ccd5535333e4581877b9d304b2aa",
4
+ "memoryCount": 28,
5
+ "generatedAt": "2026-03-21T14:49:48.282Z",
6
6
  "memoryKeys": [
7
7
  "promoted_1774019382782_acm9j0h8u",
8
8
  "hook_failure_1772637584921_0tj4rrxnt",
9
+ "hook_failure_non-zero-exit_1774020949485_6ubuoswae",
9
10
  "hook_failure_non-zero-exit_1773999564001_82kcdp0ag",
10
11
  "hook_failure_non-zero-exit_1773784543398_siidzp55g",
11
12
  "hook_failure_non-zero-exit_1773669669860_9mcdbx51y",
@@ -8,10 +8,15 @@ source: claude-recall
8
8
 
9
9
  # Preferences
10
10
 
11
- Auto-generated from 103 memories. Last updated: 2026-03-20.
11
+ Auto-generated from 108 memories. Last updated: 2026-03-21.
12
12
 
13
13
  ## Rules
14
14
 
15
+ - Session test preference 1774104588383
16
+ - Test preference 1774104588325-2
17
+ - Test preference 1774104588325-1
18
+ - Test preference 1774104588325-0
19
+ - Test memory content
15
20
  - Session test preference 1774020789925
16
21
  - Test preference 1774020789520-2
17
22
  - Test preference 1774020789520-1
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "topicId": "preferences",
3
- "sourceHash": "e03fbec0a2b07a6eaa355b96d76fedae8a5908955d2d2eb02fd15c60fbc87788",
4
- "memoryCount": 103,
5
- "generatedAt": "2026-03-20T15:33:09.994Z",
3
+ "sourceHash": "9bb9603a988ad54fa34081249ed2ecd808be18ecd46c74322b2cc819c65e2db9",
4
+ "memoryCount": 108,
5
+ "generatedAt": "2026-03-21T14:49:48.397Z",
6
6
  "memoryKeys": [
7
+ "memory_1774104588384_hy5yej2pk",
8
+ "memory_1774104588351_whsk5rvw3",
9
+ "memory_1774104588338_80cx2o3jv",
10
+ "memory_1774104588325_g4o5ksubl",
11
+ "memory_1774104588255_fy0wv845g",
7
12
  "memory_1774020789927_g99mrubvu",
8
13
  "memory_1774020789705_xhubujrxv",
9
14
  "memory_1774020789618_m1p55yhtz",
@@ -334,7 +334,8 @@ class ClaudeRecallCLI {
334
334
  if (memStats.length > 0) {
335
335
  console.log(`── Memory Stats — Top Retrieved (${memStats.length}) ──\n`);
336
336
  for (const s of memStats) {
337
- const ratio = s.times_retrieved > 0 ? ((s.times_helpful / s.times_retrieved) * 100).toFixed(0) : '0';
337
+ const total = Math.max(s.times_retrieved, s.times_helpful + s.times_unhelpful);
338
+ const ratio = total > 0 ? Math.min((s.times_helpful / total) * 100, 100).toFixed(0) : '0';
338
339
  console.log(` ${s.memory_key}`);
339
340
  console.log(` retrieved: ${s.times_retrieved} helpful: ${s.times_helpful} unhelpful: ${s.times_unhelpful} (${ratio}% helpful)`);
340
341
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-recall",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "description": "Persistent memory for Claude Code with native Skills integration, automatic capture, failure learning, and project scoping via MCP server",
5
5
  "main": "dist/index.js",
6
6
  "bin": {