@hir4ta/memoria 0.16.3 → 0.16.5
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/plugin.json +1 -1
- package/dist/lib/db.js +2 -2
- package/dist/public/assets/index-D6LCPW_j.js +330 -0
- package/dist/public/assets/index-rQOXRbkt.css +1 -0
- package/dist/public/assets/{react-force-graph-2d-CcPz3i_Q.js → react-force-graph-2d-CWHbGOX2.js} +1 -1
- package/dist/public/index.html +2 -2
- package/dist/server.js +33 -11
- package/hooks/session-end.sh +208 -3
- package/package.json +1 -1
- package/dist/public/assets/index-DnULztt5.js +0 -305
- package/dist/public/assets/index-y-yZYk74.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memoria",
|
|
3
3
|
"description": "A plugin that provides long-term memory for Claude Code. It automatically saves context lost during auto-compact, offering features for session restoration, recording technical decisions, and learning developer patterns.",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.5",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "hir4ta"
|
|
7
7
|
},
|
package/dist/lib/db.js
CHANGED
|
@@ -140,7 +140,7 @@ function getInteractionsBySessionIds(db, sessionIds) {
|
|
|
140
140
|
const stmt = db.prepare(`
|
|
141
141
|
SELECT * FROM interactions
|
|
142
142
|
WHERE session_id IN (${placeholders})
|
|
143
|
-
ORDER BY timestamp ASC,
|
|
143
|
+
ORDER BY timestamp ASC, id ASC
|
|
144
144
|
`);
|
|
145
145
|
return stmt.all(...sessionIds);
|
|
146
146
|
}
|
|
@@ -152,7 +152,7 @@ function getInteractionsBySessionIdsAndOwner(db, sessionIds, owner) {
|
|
|
152
152
|
const stmt = db.prepare(`
|
|
153
153
|
SELECT * FROM interactions
|
|
154
154
|
WHERE session_id IN (${placeholders}) AND owner = ?
|
|
155
|
-
ORDER BY timestamp ASC,
|
|
155
|
+
ORDER BY timestamp ASC, id ASC
|
|
156
156
|
`);
|
|
157
157
|
return stmt.all(...sessionIds, owner);
|
|
158
158
|
}
|