@misterhuydo/sentinel 1.0.85 → 1.0.86
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/.cairn/.hint-lock
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2026-03-23T05:
|
|
1
|
+
2026-03-23T05:33:10.957Z
|
package/.cairn/session.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"message": "Auto-checkpoint at 2026-03-23T05:
|
|
3
|
-
"checkpoint_at": "2026-03-23T05:
|
|
2
|
+
"message": "Auto-checkpoint at 2026-03-23T05:31:41.079Z",
|
|
3
|
+
"checkpoint_at": "2026-03-23T05:31:41.080Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/package.json
CHANGED
|
@@ -391,7 +391,7 @@ class StateStore:
|
|
|
391
391
|
).fetchall()
|
|
392
392
|
return [dict(r) for r in rows]
|
|
393
393
|
|
|
394
|
-
|
|
394
|
+
def save_conversation(self, user_id: str, history: list):
|
|
395
395
|
"""Persist the last N messages of a user conversation to SQLite."""
|
|
396
396
|
trimmed = history[-self._MAX_HISTORY_MESSAGES:]
|
|
397
397
|
with self._conn() as conn:
|