@signetai/signet-memory-openclaw 0.205.2 → 0.205.10
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 +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11554,12 +11554,15 @@ function createMemoriesFts(db) {
|
|
|
11554
11554
|
END;
|
|
11555
11555
|
`);
|
|
11556
11556
|
}
|
|
11557
|
-
function
|
|
11557
|
+
function recreateMemoriesFtsSchema(db) {
|
|
11558
11558
|
db.exec("DROP TRIGGER IF EXISTS memories_ai");
|
|
11559
11559
|
db.exec("DROP TRIGGER IF EXISTS memories_ad");
|
|
11560
11560
|
db.exec("DROP TRIGGER IF EXISTS memories_au");
|
|
11561
11561
|
db.exec("DROP TABLE IF EXISTS memories_fts");
|
|
11562
11562
|
createMemoriesFts(db);
|
|
11563
|
+
}
|
|
11564
|
+
function recreateMemoriesFts(db) {
|
|
11565
|
+
recreateMemoriesFtsSchema(db);
|
|
11563
11566
|
db.exec("INSERT INTO memories_fts(rowid, content) SELECT rowid, content FROM memories");
|
|
11564
11567
|
}
|
|
11565
11568
|
function readMemoriesFtsSql(db) {
|
|
@@ -28734,12 +28737,15 @@ function createMemoriesFts2(db) {
|
|
|
28734
28737
|
END;
|
|
28735
28738
|
`);
|
|
28736
28739
|
}
|
|
28737
|
-
function
|
|
28740
|
+
function recreateMemoriesFtsSchema2(db) {
|
|
28738
28741
|
db.exec("DROP TRIGGER IF EXISTS memories_ai");
|
|
28739
28742
|
db.exec("DROP TRIGGER IF EXISTS memories_ad");
|
|
28740
28743
|
db.exec("DROP TRIGGER IF EXISTS memories_au");
|
|
28741
28744
|
db.exec("DROP TABLE IF EXISTS memories_fts");
|
|
28742
28745
|
createMemoriesFts2(db);
|
|
28746
|
+
}
|
|
28747
|
+
function recreateMemoriesFts2(db) {
|
|
28748
|
+
recreateMemoriesFtsSchema2(db);
|
|
28743
28749
|
db.exec("INSERT INTO memories_fts(rowid, content) SELECT rowid, content FROM memories");
|
|
28744
28750
|
}
|
|
28745
28751
|
function readMemoriesFtsSql2(db) {
|