claude-mem-lite 2.95.0 → 2.95.1
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.
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"plugins": [
|
|
11
11
|
{
|
|
12
12
|
"name": "claude-mem-lite",
|
|
13
|
-
"version": "2.95.
|
|
13
|
+
"version": "2.95.1",
|
|
14
14
|
"source": "./",
|
|
15
15
|
"description": "Persistent long-term memory for Claude Code via MCP — captures coding decisions, bugfixes, and context across sessions. Hybrid FTS5 + TF-IDF search with episode batching. Single SQLite DB, no external services. A lighter, lower-cost alternative to claude-mem (episode batching + a smaller model; cost savings are an internal estimate, not a measured benchmark)."
|
|
16
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem-lite",
|
|
3
|
-
"version": "2.95.
|
|
3
|
+
"version": "2.95.1",
|
|
4
4
|
"description": "Persistent long-term memory for Claude Code via MCP — captures coding decisions, bugfixes, and context across sessions. Hybrid FTS5 + TF-IDF search with episode batching. Single SQLite DB, no external services. A lighter, lower-cost alternative to claude-mem (episode batching + a smaller model; cost savings are an internal estimate, not a measured benchmark).",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "sdsrss"
|
package/hook-update.mjs
CHANGED
|
@@ -521,6 +521,19 @@ export async function syncDataDirFromCache(opts = {}) {
|
|
|
521
521
|
return { synced: false, reason: 'source-is-target' };
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
+
// Only heal an EXISTING standalone-CLI code install — the case that actually
|
|
525
|
+
// drifts. A pure-plugin user's ~/.claude-mem-lite/ holds only DATA (DB +
|
|
526
|
+
// runtime, maybe node_modules) and runs ALL code from the cache; setup.sh
|
|
527
|
+
// never materializes source files there. Writing them in would create a
|
|
528
|
+
// non-functional orphan code tree and make launch-preflight's fallback
|
|
529
|
+
// mis-detect it as a complete install. Require proof of a real prior code
|
|
530
|
+
// install: package.json AND a resolvable better-sqlite3 binding (both present
|
|
531
|
+
// on a drifted direct install; absent for a pure-plugin data dir).
|
|
532
|
+
if (!existsSync(join(targetDir, 'package.json'))
|
|
533
|
+
|| !existsSync(join(targetDir, 'node_modules', 'better-sqlite3'))) {
|
|
534
|
+
return { synced: false, reason: 'no-existing-code-install' };
|
|
535
|
+
}
|
|
536
|
+
|
|
524
537
|
const val = validateExtractedTarball(sourceDir, null);
|
|
525
538
|
if (!val.ok) return { synced: false, reason: `invalid-source: ${val.reason}` };
|
|
526
539
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem-lite",
|
|
3
|
-
"version": "2.95.
|
|
3
|
+
"version": "2.95.1",
|
|
4
4
|
"description": "Persistent long-term memory for Claude Code via MCP — captures coding decisions, bugfixes, and context across sessions. Hybrid FTS5 + TF-IDF search with episode batching. Single SQLite DB, no external services. A lighter, lower-cost alternative to claude-mem (episode batching + a smaller model; cost savings are an internal estimate, not a measured benchmark).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "npm@10.9.2",
|