claude-mem-lite 6.10.2 → 6.10.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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/hook-optimize.mjs +11 -0
- package/npm-shrinkwrap.json +14 -14
- package/package.json +4 -4
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"plugins": [
|
|
10
10
|
{
|
|
11
11
|
"name": "claude-mem-lite",
|
|
12
|
-
"version": "6.10.
|
|
12
|
+
"version": "6.10.3",
|
|
13
13
|
"source": "./",
|
|
14
14
|
"homepage": "https://github.com/sdsrss/claude-mem-lite",
|
|
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)."
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem-lite",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.3",
|
|
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-optimize.mjs
CHANGED
|
@@ -1752,6 +1752,17 @@ export async function optimizeRun(
|
|
|
1752
1752
|
budget.reenrich,
|
|
1753
1753
|
findReenrichCandidates(db, budget.reenrich, { scope: 'scopes', project }).length,
|
|
1754
1754
|
);
|
|
1755
|
+
// ORDER IS LOAD-BEARING: the main scope runs FIRST. The budget half of the
|
|
1756
|
+
// invariant above ("adding a pool cannot starve the lesson enrichment that is
|
|
1757
|
+
// the point of the pass") is enforced by the arithmetic; this statement's
|
|
1758
|
+
// POSITION is the other half. The three pools overlap — a narrow candidate with
|
|
1759
|
+
// a >100-char narrative and a signal-bearing title is also an aliases candidate
|
|
1760
|
+
// and a concepts candidate — and narrow's WHERE requires `search_aliases IS
|
|
1761
|
+
// NULL`, which is the column the aliases pass fills. So serving aliases first
|
|
1762
|
+
// evicts that row from narrow PERMANENTLY: the starvation the comment forbids.
|
|
1763
|
+
// Pinned behaviourally by tests/hook-optimize.test.mjs
|
|
1764
|
+
// "re-enrich pass ordering (main runs before the fill-only passes)". A 2026-09
|
|
1765
|
+
// external review read this block and proposed the swap; it is a regression.
|
|
1755
1766
|
const mainRes = await executeReenrich(db, budget.reenrich - aliasBudget - conceptsBudget, {
|
|
1756
1767
|
scope: reenrichScope,
|
|
1757
1768
|
project,
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem-lite",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "claude-mem-lite",
|
|
9
|
-
"version": "6.10.
|
|
9
|
+
"version": "6.10.3",
|
|
10
10
|
"os": [
|
|
11
11
|
"darwin",
|
|
12
12
|
"linux",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
17
17
|
"better-sqlite3": "^13.0.3",
|
|
18
|
-
"zod": "^4.5
|
|
18
|
+
"zod": "^4.6.5"
|
|
19
19
|
},
|
|
20
20
|
"bin": {
|
|
21
21
|
"claude-mem-lite": "cli.mjs"
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@vitest/coverage-v8": "^5.0.0",
|
|
26
26
|
"acorn": "8.18.0",
|
|
27
27
|
"eslint": "^10.10.0",
|
|
28
|
-
"fast-check": "^4.
|
|
29
|
-
"knip": "^6.35.
|
|
28
|
+
"fast-check": "^4.10.0",
|
|
29
|
+
"knip": "^6.35.1",
|
|
30
30
|
"picomatch": "^4.0.4",
|
|
31
31
|
"prettier": "3.9.6",
|
|
32
32
|
"vitest": "^5.0.0"
|
|
@@ -2221,9 +2221,9 @@
|
|
|
2221
2221
|
}
|
|
2222
2222
|
},
|
|
2223
2223
|
"node_modules/fast-check": {
|
|
2224
|
-
"version": "4.
|
|
2225
|
-
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-4.
|
|
2226
|
-
"integrity": "sha512-
|
|
2224
|
+
"version": "4.10.0",
|
|
2225
|
+
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-4.10.0.tgz",
|
|
2226
|
+
"integrity": "sha512-hhqQL+IJllZi3aM4TKvmCj3bywLEcycNTTLZeLhA9ttMxBrCqM07q7Di4kl+j9EWSTXvJH1+EpIgsDbF/+8H5Q==",
|
|
2227
2227
|
"dev": true,
|
|
2228
2228
|
"funding": [
|
|
2229
2229
|
{
|
|
@@ -2733,9 +2733,9 @@
|
|
|
2733
2733
|
}
|
|
2734
2734
|
},
|
|
2735
2735
|
"node_modules/knip": {
|
|
2736
|
-
"version": "6.35.
|
|
2737
|
-
"resolved": "https://registry.npmjs.org/knip/-/knip-6.35.
|
|
2738
|
-
"integrity": "sha512-
|
|
2736
|
+
"version": "6.35.1",
|
|
2737
|
+
"resolved": "https://registry.npmjs.org/knip/-/knip-6.35.1.tgz",
|
|
2738
|
+
"integrity": "sha512-22wnEnv4do2fvoeJsxpFCG/MBxReNxoCVBccaCl7suUJsG+F0UvxI9ycxZ9YgtLHSSjrZl5tOas0JZ/R1vJ93g==",
|
|
2739
2739
|
"dev": true,
|
|
2740
2740
|
"funding": [
|
|
2741
2741
|
{
|
|
@@ -4295,9 +4295,9 @@
|
|
|
4295
4295
|
}
|
|
4296
4296
|
},
|
|
4297
4297
|
"node_modules/zod": {
|
|
4298
|
-
"version": "4.5
|
|
4299
|
-
"resolved": "https://registry.npmjs.org/zod/-/zod-4.5.
|
|
4300
|
-
"integrity": "sha512-
|
|
4298
|
+
"version": "4.6.5",
|
|
4299
|
+
"resolved": "https://registry.npmjs.org/zod/-/zod-4.6.5.tgz",
|
|
4300
|
+
"integrity": "sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==",
|
|
4301
4301
|
"license": "MIT",
|
|
4302
4302
|
"funding": {
|
|
4303
4303
|
"url": "https://github.com/sponsors/colinhacks"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem-lite",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.3",
|
|
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",
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
"dependencies": {
|
|
211
211
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
212
212
|
"better-sqlite3": "^13.0.3",
|
|
213
|
-
"zod": "^4.5
|
|
213
|
+
"zod": "^4.6.5"
|
|
214
214
|
},
|
|
215
215
|
"overrides": {
|
|
216
216
|
"hono": ">=4.12.31",
|
|
@@ -225,8 +225,8 @@
|
|
|
225
225
|
"@vitest/coverage-v8": "^5.0.0",
|
|
226
226
|
"acorn": "8.18.0",
|
|
227
227
|
"eslint": "^10.10.0",
|
|
228
|
-
"fast-check": "^4.
|
|
229
|
-
"knip": "^6.35.
|
|
228
|
+
"fast-check": "^4.10.0",
|
|
229
|
+
"knip": "^6.35.1",
|
|
230
230
|
"picomatch": "^4.0.4",
|
|
231
231
|
"prettier": "3.9.6",
|
|
232
232
|
"vitest": "^5.0.0"
|