@signetai/signet-memory-openclaw 0.147.12 → 0.147.13
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/dist/index.js +21 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9879,6 +9879,19 @@ function up86(db) {
|
|
|
9879
9879
|
ON summary_jobs(agent_id, session_key, content_hash)
|
|
9880
9880
|
`);
|
|
9881
9881
|
}
|
|
9882
|
+
function addColumnIfMissing22(db, table, column, definition) {
|
|
9883
|
+
const cols = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
9884
|
+
if (cols.some((col) => col.name === column))
|
|
9885
|
+
return;
|
|
9886
|
+
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
9887
|
+
}
|
|
9888
|
+
function up87(db) {
|
|
9889
|
+
addColumnIfMissing22(db, "summary_jobs", "boundary_reason", "TEXT");
|
|
9890
|
+
db.exec(`
|
|
9891
|
+
CREATE INDEX IF NOT EXISTS idx_summary_jobs_boundary_reason
|
|
9892
|
+
ON summary_jobs(agent_id, session_key, boundary_reason)
|
|
9893
|
+
`);
|
|
9894
|
+
}
|
|
9882
9895
|
var MIGRATIONS = [
|
|
9883
9896
|
{
|
|
9884
9897
|
version: 1,
|
|
@@ -10582,6 +10595,14 @@ var MIGRATIONS = [
|
|
|
10582
10595
|
artifacts: {
|
|
10583
10596
|
columns: [{ table: "summary_jobs", column: "content_hash" }]
|
|
10584
10597
|
}
|
|
10598
|
+
},
|
|
10599
|
+
{
|
|
10600
|
+
version: 87,
|
|
10601
|
+
name: "summary-jobs-boundary-reason",
|
|
10602
|
+
up: up87,
|
|
10603
|
+
artifacts: {
|
|
10604
|
+
columns: [{ table: "summary_jobs", column: "boundary_reason" }]
|
|
10605
|
+
}
|
|
10585
10606
|
}
|
|
10586
10607
|
];
|
|
10587
10608
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|