claude-mem-lite 6.13.2 → 6.13.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.
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"plugins": [
|
|
10
10
|
{
|
|
11
11
|
"name": "claude-mem-lite",
|
|
12
|
-
"version": "6.13.
|
|
12
|
+
"version": "6.13.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.13.
|
|
3
|
+
"version": "6.13.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-handoff.mjs
CHANGED
|
@@ -799,6 +799,11 @@ export function pickHandoffToInject(db, project, currentCcSessionId = null) {
|
|
|
799
799
|
const now = Date.now();
|
|
800
800
|
// Fetch recent handoffs and find the most recent non-expired one.
|
|
801
801
|
// A newer but expired 'clear' handoff must not shadow a still-valid 'exit' handoff.
|
|
802
|
+
// No id tiebreaker on this or the Stage -1/0/2 reads above, on purpose: session_handoffs has
|
|
803
|
+
// no id column, and its rowid is not recency because the writer is an UPSERT that keeps the
|
|
804
|
+
// row's original rowid. On a tie `rowid DESC` would therefore pick the older write exactly
|
|
805
|
+
// when the lower-rowid row was written last, a shape only a rewrite produces. A correct
|
|
806
|
+
// tiebreak needs a column; see findings.md, the created_at_epoch tie bullet.
|
|
802
807
|
const handoffs = currentCcSessionId
|
|
803
808
|
? db
|
|
804
809
|
.prepare(
|
|
@@ -1032,7 +1037,7 @@ function renderHandoffFromRow(handoff, db, project) {
|
|
|
1032
1037
|
`
|
|
1033
1038
|
SELECT completed, next_steps, remaining_items FROM session_summaries
|
|
1034
1039
|
WHERE memory_session_id = ? AND project = ?
|
|
1035
|
-
ORDER BY created_at_epoch DESC LIMIT 1
|
|
1040
|
+
ORDER BY created_at_epoch DESC, id DESC LIMIT 1
|
|
1036
1041
|
`,
|
|
1037
1042
|
)
|
|
1038
1043
|
.get(handoff.session_id, project);
|
|
@@ -1046,7 +1051,7 @@ function renderHandoffFromRow(handoff, db, project) {
|
|
|
1046
1051
|
`
|
|
1047
1052
|
SELECT completed, next_steps, remaining_items FROM session_summaries
|
|
1048
1053
|
WHERE project = ?
|
|
1049
|
-
ORDER BY ABS(created_at_epoch - ?) ASC LIMIT 1
|
|
1054
|
+
ORDER BY ABS(created_at_epoch - ?) ASC, id DESC LIMIT 1
|
|
1050
1055
|
`,
|
|
1051
1056
|
)
|
|
1052
1057
|
.get(project, handoff.created_at_epoch ?? 0);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem-lite",
|
|
3
|
-
"version": "6.13.
|
|
3
|
+
"version": "6.13.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "claude-mem-lite",
|
|
9
|
-
"version": "6.13.
|
|
9
|
+
"version": "6.13.3",
|
|
10
10
|
"os": [
|
|
11
11
|
"darwin",
|
|
12
12
|
"linux",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-mem-lite",
|
|
3
|
-
"version": "6.13.
|
|
3
|
+
"version": "6.13.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",
|