claude-memory-layer 1.0.14 → 1.0.15
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/.npm-cache/_cacache/content-v2/sha512/04/76/c098f88dfe584a2b80870bff7421b05d17d3d9ee1027f77772332a22d3f93a9a57101a2855107f6ad82077a818bba912b2bc317f2361b5ddb09ad284d9ce +0 -0
- package/.npm-cache/_cacache/content-v2/sha512/60/25/d2ecd39cfc7cab58351162814be77f935c6d6491c10c3745d456da7ddb2117ffd90c10e53fe3c0f1ed16b403307841543634504398b16ee4e6b6dd8e0c45 +0 -0
- package/.npm-cache/_cacache/index-v5/2b/9a/7f8f40206ed8a2e0a84efaa953ccaed1f5d001e14b931083f2e7a0738007 +2 -0
- package/.npm-cache/_cacache/index-v5/2e/d9/fcfa5c6a6abdc2a3644ab84a95936047298c465a2f47ee03db8f7fe1e946 +3 -0
- package/.npm-cache/_cacache/index-v5/a9/42/e519633356d12d3d2f19da66a8301016d496c8f5c3e0554124aaa62dc043 +2 -0
- package/.npm-cache/_logs/2026-02-26T12_04_52_729Z-debug-0.log +256 -0
- package/.npm-cache/_logs/2026-02-26T12_05_36_835Z-debug-0.log +18 -0
- package/.npm-cache/_logs/2026-02-26T12_05_45_982Z-debug-0.log +32 -0
- package/.npm-cache/_logs/2026-02-26T12_05_48_515Z-debug-0.log +260 -0
- package/.npm-cache/_logs/2026-02-26T12_05_53_567Z-debug-0.log +69 -0
- package/.npm-cache/_update-notifier-last-checked +0 -0
- package/claude-memory-layer-1.0.14.tgz +0 -0
- package/dist/cli/index.js +10 -8
- package/dist/cli/index.js.map +2 -2
- package/package.json +1 -1
- package/src/services/session-history-importer.ts +15 -7
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
0 verbose cli /home/walter/.nvm/versions/node/v20.18.3/bin/node /home/walter/.nvm/versions/node/v20.18.3/bin/npm
|
|
2
|
+
1 info using npm@10.8.2
|
|
3
|
+
2 info using node@v20.18.3
|
|
4
|
+
3 silly config load:file:/home/walter/.nvm/versions/node/v20.18.3/lib/node_modules/npm/npmrc
|
|
5
|
+
4 silly config load:file:/home/walter/.npmrc
|
|
6
|
+
5 silly config load:file:/tmp/tmp.NQjGxz5gur/prefix/etc/npmrc
|
|
7
|
+
6 verbose title npm install ./claude-memory-layer-1.0.14.tgz
|
|
8
|
+
7 verbose argv "install" "--global" "./claude-memory-layer-1.0.14.tgz" "--prefix" "/tmp/tmp.NQjGxz5gur/prefix"
|
|
9
|
+
8 verbose logfile logs-max:10 dir:/home/walter/workspace/opensource/claude-memory-layer/.npm-cache/_logs/2026-02-26T12_05_53_567Z-
|
|
10
|
+
9 verbose logfile /home/walter/workspace/opensource/claude-memory-layer/.npm-cache/_logs/2026-02-26T12_05_53_567Z-debug-0.log
|
|
11
|
+
10 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
|
|
12
|
+
11 silly logfile done cleaning log files
|
|
13
|
+
12 silly idealTree buildDeps
|
|
14
|
+
13 silly fetch manifest claude-memory-layer@file:../../../../home/walter/workspace/opensource/claude-memory-layer/claude-memory-layer-1.0.14.tgz
|
|
15
|
+
14 silly placeDep ROOT claude-memory-layer@1.0.14 OK for: want: file:../../../../home/walter/workspace/opensource/claude-memory-layer/claude-memory-layer-1.0.14.tgz
|
|
16
|
+
15 silly fetch manifest @hono/node-server@^1.13.0
|
|
17
|
+
16 silly packumentCache full:https://registry.npmjs.org/@hono%2fnode-server cache-miss
|
|
18
|
+
17 silly fetch manifest @lancedb/lancedb@^0.5.0
|
|
19
|
+
18 silly packumentCache full:https://registry.npmjs.org/@lancedb%2flancedb cache-miss
|
|
20
|
+
19 silly fetch manifest @xenova/transformers@^2.17.0
|
|
21
|
+
20 silly packumentCache full:https://registry.npmjs.org/@xenova%2ftransformers cache-miss
|
|
22
|
+
21 silly fetch manifest better-sqlite3@^12.6.2
|
|
23
|
+
22 silly packumentCache full:https://registry.npmjs.org/better-sqlite3 cache-miss
|
|
24
|
+
23 silly fetch manifest commander@^12.0.0
|
|
25
|
+
24 silly packumentCache full:https://registry.npmjs.org/commander cache-miss
|
|
26
|
+
25 silly fetch manifest duckdb@^0.10.0
|
|
27
|
+
26 silly packumentCache full:https://registry.npmjs.org/duckdb cache-miss
|
|
28
|
+
27 silly fetch manifest hono@^4.0.0
|
|
29
|
+
28 silly packumentCache full:https://registry.npmjs.org/hono cache-miss
|
|
30
|
+
29 silly fetch manifest mongodb@^6.14.0
|
|
31
|
+
30 silly packumentCache full:https://registry.npmjs.org/mongodb cache-miss
|
|
32
|
+
31 silly fetch manifest zod@^3.22.0
|
|
33
|
+
32 silly packumentCache full:https://registry.npmjs.org/zod cache-miss
|
|
34
|
+
33 http fetch GET https://registry.npmjs.org/@hono%2fnode-server attempt 1 failed with EAI_AGAIN
|
|
35
|
+
34 http fetch GET https://registry.npmjs.org/@lancedb%2flancedb attempt 1 failed with EAI_AGAIN
|
|
36
|
+
35 http fetch GET https://registry.npmjs.org/@xenova%2ftransformers attempt 1 failed with EAI_AGAIN
|
|
37
|
+
36 http fetch GET https://registry.npmjs.org/better-sqlite3 attempt 1 failed with EAI_AGAIN
|
|
38
|
+
37 http fetch GET https://registry.npmjs.org/commander attempt 1 failed with EAI_AGAIN
|
|
39
|
+
38 http fetch GET https://registry.npmjs.org/duckdb attempt 1 failed with EAI_AGAIN
|
|
40
|
+
39 http fetch GET https://registry.npmjs.org/hono attempt 1 failed with EAI_AGAIN
|
|
41
|
+
40 http fetch GET https://registry.npmjs.org/mongodb attempt 1 failed with EAI_AGAIN
|
|
42
|
+
41 http fetch GET https://registry.npmjs.org/zod attempt 1 failed with EAI_AGAIN
|
|
43
|
+
42 http fetch GET https://registry.npmjs.org/@hono%2fnode-server attempt 2 failed with EAI_AGAIN
|
|
44
|
+
43 http fetch GET https://registry.npmjs.org/@lancedb%2flancedb attempt 2 failed with EAI_AGAIN
|
|
45
|
+
44 http fetch GET https://registry.npmjs.org/@xenova%2ftransformers attempt 2 failed with EAI_AGAIN
|
|
46
|
+
45 http fetch GET https://registry.npmjs.org/better-sqlite3 attempt 2 failed with EAI_AGAIN
|
|
47
|
+
46 http fetch GET https://registry.npmjs.org/commander attempt 2 failed with EAI_AGAIN
|
|
48
|
+
47 http fetch GET https://registry.npmjs.org/duckdb attempt 2 failed with EAI_AGAIN
|
|
49
|
+
48 http fetch GET https://registry.npmjs.org/hono attempt 2 failed with EAI_AGAIN
|
|
50
|
+
49 http fetch GET https://registry.npmjs.org/mongodb attempt 2 failed with EAI_AGAIN
|
|
51
|
+
50 http fetch GET https://registry.npmjs.org/zod attempt 2 failed with EAI_AGAIN
|
|
52
|
+
51 http fetch GET https://registry.npmjs.org/@hono%2fnode-server attempt 3 failed with EAI_AGAIN
|
|
53
|
+
52 http fetch GET https://registry.npmjs.org/@lancedb%2flancedb attempt 3 failed with EAI_AGAIN
|
|
54
|
+
53 http fetch GET https://registry.npmjs.org/@xenova%2ftransformers attempt 3 failed with EAI_AGAIN
|
|
55
|
+
54 http fetch GET https://registry.npmjs.org/better-sqlite3 attempt 3 failed with EAI_AGAIN
|
|
56
|
+
55 http fetch GET https://registry.npmjs.org/commander attempt 3 failed with EAI_AGAIN
|
|
57
|
+
56 http fetch GET https://registry.npmjs.org/duckdb attempt 3 failed with EAI_AGAIN
|
|
58
|
+
57 http fetch GET https://registry.npmjs.org/hono attempt 3 failed with EAI_AGAIN
|
|
59
|
+
58 http fetch GET https://registry.npmjs.org/mongodb attempt 3 failed with EAI_AGAIN
|
|
60
|
+
59 http fetch GET https://registry.npmjs.org/zod attempt 3 failed with EAI_AGAIN
|
|
61
|
+
60 silly fetch manifest @hono/node-server@^1.13.0
|
|
62
|
+
61 silly packumentCache full:https://registry.npmjs.org/@hono%2fnode-server cache-miss
|
|
63
|
+
62 http fetch GET https://registry.npmjs.org/@hono%2fnode-server attempt 1 failed with EAI_AGAIN
|
|
64
|
+
63 http fetch GET https://registry.npmjs.org/@hono%2fnode-server attempt 2 failed with EAI_AGAIN
|
|
65
|
+
64 http fetch GET https://registry.npmjs.org/@hono%2fnode-server attempt 3 failed with EAI_AGAIN
|
|
66
|
+
65 silly fetch manifest @lancedb/lancedb@^0.5.0
|
|
67
|
+
66 silly packumentCache full:https://registry.npmjs.org/@lancedb%2flancedb cache-miss
|
|
68
|
+
67 http fetch GET https://registry.npmjs.org/@lancedb%2flancedb attempt 1 failed with EAI_AGAIN
|
|
69
|
+
68 http fetch GET https://registry.npmjs.org/@lancedb%2flancedb attempt 2 failed with EAI_AGAIN
|
|
File without changes
|
|
Binary file
|
package/dist/cli/index.js
CHANGED
|
@@ -7267,20 +7267,22 @@ var SessionHistoryImporter = class {
|
|
|
7267
7267
|
return [];
|
|
7268
7268
|
}
|
|
7269
7269
|
const projectDirs = fs5.readdirSync(projectsDir).map((name) => path4.join(projectsDir, name)).filter((p) => fs5.statSync(p).isDirectory());
|
|
7270
|
-
const normalizedPath = projectPath.replace(
|
|
7271
|
-
const
|
|
7272
|
-
const
|
|
7270
|
+
const normalizedPath = projectPath.replace(/\+/g, "/").replace(/\/$/, "");
|
|
7271
|
+
const normalizeToken = (value) => value.toLowerCase().replace(/[\s_]+/g, "-").replace(/\/+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
7272
|
+
const normalizedDashed = normalizeToken(normalizedPath);
|
|
7273
|
+
const baseName = normalizeToken(path4.basename(normalizedPath));
|
|
7273
7274
|
const scored = projectDirs.map((dir) => {
|
|
7274
7275
|
const dirName = path4.basename(dir);
|
|
7276
|
+
const normalizedDirName = dirName.toLowerCase().replace(/[\s_]+/g, "-");
|
|
7275
7277
|
let score = 0;
|
|
7276
|
-
if (
|
|
7278
|
+
if (normalizedDirName.includes(normalizedDashed))
|
|
7277
7279
|
score += 100;
|
|
7278
|
-
if (normalizedDashed.includes(
|
|
7280
|
+
if (normalizedDashed.includes(normalizedDirName))
|
|
7279
7281
|
score += 80;
|
|
7280
|
-
if (baseName &&
|
|
7282
|
+
if (baseName && normalizedDirName.includes(baseName))
|
|
7281
7283
|
score += 30;
|
|
7282
7284
|
const pathTokens = normalizedDashed.split("-").filter(Boolean);
|
|
7283
|
-
const tokenHits = pathTokens.filter((t) => t.length >= 3 &&
|
|
7285
|
+
const tokenHits = pathTokens.filter((t) => t.length >= 3 && normalizedDirName.includes(t)).length;
|
|
7284
7286
|
score += Math.min(tokenHits, 20);
|
|
7285
7287
|
return { dir, score, dirName };
|
|
7286
7288
|
}).filter((x) => x.score > 0).sort((a, b) => b.score - a.score);
|
|
@@ -9239,7 +9241,7 @@ function getHooksConfig(pluginPath) {
|
|
|
9239
9241
|
};
|
|
9240
9242
|
}
|
|
9241
9243
|
var program = new Command();
|
|
9242
|
-
program.name("claude-memory-layer").description("Claude Code Memory Plugin CLI").version("1.0.
|
|
9244
|
+
program.name("claude-memory-layer").description("Claude Code Memory Plugin CLI").version("1.0.15");
|
|
9243
9245
|
program.command("install").description("Install hooks into Claude Code settings").option("--path <path>", "Custom plugin path (defaults to auto-detect)").action(async (options) => {
|
|
9244
9246
|
try {
|
|
9245
9247
|
const pluginPath = options.path || getPluginPath();
|