@signetai/signet-memory-openclaw 0.177.0 → 0.178.0
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 +23 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10644,6 +10644,18 @@ function up110(db) {
|
|
|
10644
10644
|
ON memory_entity_mentions(entity_id, memory_id);
|
|
10645
10645
|
`);
|
|
10646
10646
|
}
|
|
10647
|
+
function hasColumn19(db, table, column) {
|
|
10648
|
+
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
10649
|
+
return rows.some((row) => row.name === column);
|
|
10650
|
+
}
|
|
10651
|
+
var COLUMNS2 = ["first_remember_at", "first_recall_at"];
|
|
10652
|
+
function up111(db) {
|
|
10653
|
+
for (const column of COLUMNS2) {
|
|
10654
|
+
if (!hasColumn19(db, "telemetry_install", column)) {
|
|
10655
|
+
db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
|
|
10656
|
+
}
|
|
10657
|
+
}
|
|
10658
|
+
}
|
|
10647
10659
|
var MIGRATIONS = [
|
|
10648
10660
|
{
|
|
10649
10661
|
version: 1,
|
|
@@ -11519,6 +11531,17 @@ var MIGRATIONS = [
|
|
|
11519
11531
|
version: 110,
|
|
11520
11532
|
name: "memory-mention-join-index",
|
|
11521
11533
|
up: up110
|
|
11534
|
+
},
|
|
11535
|
+
{
|
|
11536
|
+
version: 111,
|
|
11537
|
+
name: "telemetry-first-use",
|
|
11538
|
+
up: up111,
|
|
11539
|
+
artifacts: {
|
|
11540
|
+
columns: [
|
|
11541
|
+
{ table: "telemetry_install", column: "first_remember_at" },
|
|
11542
|
+
{ table: "telemetry_install", column: "first_recall_at" }
|
|
11543
|
+
]
|
|
11544
|
+
}
|
|
11522
11545
|
}
|
|
11523
11546
|
];
|
|
11524
11547
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|