nlm-memory 0.14.0 → 0.14.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.
|
@@ -107,7 +107,11 @@ CREATE TABLE IF NOT EXISTS facts (
|
|
|
107
107
|
source_quote TEXT,
|
|
108
108
|
created_at TEXT NOT NULL DEFAULT to_char(NOW() AT TIME ZONE 'UTC', 'YYYY-MM-DD"T"HH24:MI:SS"Z"'),
|
|
109
109
|
superseded_by TEXT REFERENCES facts(id) ON DELETE SET NULL,
|
|
110
|
-
confidence REAL NOT NULL CHECK (confidence >= 0.0 AND confidence <= 1.0)
|
|
110
|
+
confidence REAL NOT NULL CHECK (confidence >= 0.0 AND confidence <= 1.0),
|
|
111
|
+
-- Operator retirement marker (mirror of SQLite migration 022). Non-null =
|
|
112
|
+
-- an operator declared the fact wrong/noise; recall excludes it like a
|
|
113
|
+
-- superseded fact, but getHistory still surfaces it for the audit trail.
|
|
114
|
+
retired_at TEXT
|
|
111
115
|
);
|
|
112
116
|
|
|
113
117
|
CREATE INDEX IF NOT EXISTS idx_facts_subject_predicate_current
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nlm-memory",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "Local-first persistent memory for AI coding agents. Recalls relevant prior sessions on every prompt; learns which sessions actually get cited. Owner-edited timeline beats append-only memory layers.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Edward Chalupa",
|