claude-mem-lite 3.58.0 → 3.58.2
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/npm-shrinkwrap.json +4777 -0
- package/package.json +2 -1
- package/scripts/setup.sh +12 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem-lite",
|
|
3
|
-
"version": "3.58.
|
|
3
|
+
"version": "3.58.2",
|
|
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",
|
|
@@ -119,6 +119,7 @@
|
|
|
119
119
|
"registry-enricher.mjs",
|
|
120
120
|
"resource-discovery.mjs",
|
|
121
121
|
"source-files.mjs",
|
|
122
|
+
"npm-shrinkwrap.json",
|
|
122
123
|
"install.mjs",
|
|
123
124
|
"install-metadata.mjs",
|
|
124
125
|
"skip-tools.mjs",
|
package/scripts/setup.sh
CHANGED
|
@@ -136,13 +136,9 @@ fi
|
|
|
136
136
|
# stat, a new plugin-cache version dir (fresh node_modules) re-probes, and
|
|
137
137
|
# a Node upgrade (new ABI) re-probes. While broken, every SessionStart
|
|
138
138
|
# retries the rebuild until it heals.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
if [[ -f "$BINDING_MARKER" ]]; then
|
|
143
|
-
mark_deps_ok
|
|
144
|
-
# shellcheck disable=SC2016 # node script single-quoted on purpose; ROOT passed via env, not shell expansion
|
|
145
|
-
elif PROBE_ROOT="$ROOT" node --input-type=module -e '
|
|
139
|
+
# shellcheck disable=SC2016 # node script single-quoted on purpose; ROOT passed via env, not shell expansion
|
|
140
|
+
probe_binding() {
|
|
141
|
+
PROBE_ROOT="$ROOT" node --input-type=module -e '
|
|
146
142
|
// NOTE: this whole script sits in a single-quoted bash string — no
|
|
147
143
|
// apostrophes anywhere in it.
|
|
148
144
|
const { pathToFileURL } = await import("node:url");
|
|
@@ -198,7 +194,15 @@ if [[ -d "$ROOT/node_modules/better-sqlite3" ]]; then
|
|
|
198
194
|
}
|
|
199
195
|
if (!r.ok) { process.stderr.write(`[claude-mem-lite] binding probe: ${r.error}\n`); process.exit(1); }
|
|
200
196
|
if (r.action === "rebuilt") process.stderr.write("[claude-mem-lite] rebuilt better-sqlite3 binding for current Node ABI\n");
|
|
201
|
-
'
|
|
197
|
+
'
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
if [[ -d "$ROOT/node_modules/better-sqlite3" ]]; then
|
|
201
|
+
NODE_ABI="$(node -p 'process.versions.modules' 2>/dev/null || echo 0)"
|
|
202
|
+
BINDING_MARKER="$ROOT/node_modules/.mem-binding-ok-$NODE_ABI"
|
|
203
|
+
if [[ -f "$BINDING_MARKER" ]]; then
|
|
204
|
+
mark_deps_ok
|
|
205
|
+
elif probe_binding; then
|
|
202
206
|
rm -f "$ROOT/node_modules/.mem-binding-ok-"* 2>/dev/null || true
|
|
203
207
|
touch "$BINDING_MARKER" 2>/dev/null || true
|
|
204
208
|
mark_deps_ok
|