@signetai/connector-openclaw 0.164.5 → 0.166.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 +40 -6
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10333,6 +10333,15 @@ function up105(db) {
|
|
|
10333
10333
|
INSERT INTO entities_fts(entities_fts) VALUES ('rebuild');
|
|
10334
10334
|
`);
|
|
10335
10335
|
}
|
|
10336
|
+
function hasColumn17(db, table, column) {
|
|
10337
|
+
return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
|
|
10338
|
+
}
|
|
10339
|
+
function up106(db) {
|
|
10340
|
+
if (!hasColumn17(db, "memories", "review_after")) {
|
|
10341
|
+
db.exec("ALTER TABLE memories ADD COLUMN review_after TEXT;");
|
|
10342
|
+
}
|
|
10343
|
+
db.exec("CREATE INDEX IF NOT EXISTS idx_memories_review_after ON memories(review_after);");
|
|
10344
|
+
}
|
|
10336
10345
|
var MIGRATIONS = [
|
|
10337
10346
|
{
|
|
10338
10347
|
version: 1,
|
|
@@ -11165,6 +11174,14 @@ var MIGRATIONS = [
|
|
|
11165
11174
|
version: 105,
|
|
11166
11175
|
name: "agent-scoped-entity-name",
|
|
11167
11176
|
up: up105
|
|
11177
|
+
},
|
|
11178
|
+
{
|
|
11179
|
+
version: 106,
|
|
11180
|
+
name: "memory-review-after",
|
|
11181
|
+
up: up106,
|
|
11182
|
+
artifacts: {
|
|
11183
|
+
columns: [{ table: "memories", column: "review_after" }]
|
|
11184
|
+
}
|
|
11168
11185
|
}
|
|
11169
11186
|
];
|
|
11170
11187
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -20428,7 +20445,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
20428
20445
|
return true;
|
|
20429
20446
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
20430
20447
|
}
|
|
20431
|
-
function
|
|
20448
|
+
function up107(db) {
|
|
20432
20449
|
db.exec(`
|
|
20433
20450
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
20434
20451
|
version INTEGER PRIMARY KEY,
|
|
@@ -20517,12 +20534,12 @@ function up106(db) {
|
|
|
20517
20534
|
} catch {}
|
|
20518
20535
|
createMemoriesFts2(db);
|
|
20519
20536
|
}
|
|
20520
|
-
function
|
|
20537
|
+
function hasColumn18(db, table, column) {
|
|
20521
20538
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
20522
20539
|
return rows.some((r) => r.name === column);
|
|
20523
20540
|
}
|
|
20524
20541
|
function addColumnIfMissing23(db, table, column, definition) {
|
|
20525
|
-
if (!
|
|
20542
|
+
if (!hasColumn18(db, table, column)) {
|
|
20526
20543
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
20527
20544
|
}
|
|
20528
20545
|
}
|
|
@@ -20840,7 +20857,7 @@ function up910(db) {
|
|
|
20840
20857
|
db.exec(`CREATE INDEX IF NOT EXISTS idx_summary_jobs_status
|
|
20841
20858
|
ON summary_jobs(status)`);
|
|
20842
20859
|
}
|
|
20843
|
-
function
|
|
20860
|
+
function up108(db) {
|
|
20844
20861
|
db.exec(`
|
|
20845
20862
|
CREATE TABLE IF NOT EXISTS umap_cache (
|
|
20846
20863
|
id INTEGER PRIMARY KEY,
|
|
@@ -23798,11 +23815,20 @@ function up1052(db) {
|
|
|
23798
23815
|
INSERT INTO entities_fts(entities_fts) VALUES ('rebuild');
|
|
23799
23816
|
`);
|
|
23800
23817
|
}
|
|
23818
|
+
function hasColumn172(db, table, column) {
|
|
23819
|
+
return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
|
|
23820
|
+
}
|
|
23821
|
+
function up1062(db) {
|
|
23822
|
+
if (!hasColumn172(db, "memories", "review_after")) {
|
|
23823
|
+
db.exec("ALTER TABLE memories ADD COLUMN review_after TEXT;");
|
|
23824
|
+
}
|
|
23825
|
+
db.exec("CREATE INDEX IF NOT EXISTS idx_memories_review_after ON memories(review_after);");
|
|
23826
|
+
}
|
|
23801
23827
|
var MIGRATIONS2 = [
|
|
23802
23828
|
{
|
|
23803
23829
|
version: 1,
|
|
23804
23830
|
name: "baseline",
|
|
23805
|
-
up:
|
|
23831
|
+
up: up107,
|
|
23806
23832
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
23807
23833
|
},
|
|
23808
23834
|
{
|
|
@@ -23862,7 +23888,7 @@ var MIGRATIONS2 = [
|
|
|
23862
23888
|
{
|
|
23863
23889
|
version: 10,
|
|
23864
23890
|
name: "umap-cache",
|
|
23865
|
-
up:
|
|
23891
|
+
up: up108,
|
|
23866
23892
|
artifacts: { tables: ["umap_cache"] }
|
|
23867
23893
|
},
|
|
23868
23894
|
{
|
|
@@ -24630,6 +24656,14 @@ var MIGRATIONS2 = [
|
|
|
24630
24656
|
version: 105,
|
|
24631
24657
|
name: "agent-scoped-entity-name",
|
|
24632
24658
|
up: up1052
|
|
24659
|
+
},
|
|
24660
|
+
{
|
|
24661
|
+
version: 106,
|
|
24662
|
+
name: "memory-review-after",
|
|
24663
|
+
up: up1062,
|
|
24664
|
+
artifacts: {
|
|
24665
|
+
columns: [{ table: "memories", column: "review_after" }]
|
|
24666
|
+
}
|
|
24633
24667
|
}
|
|
24634
24668
|
];
|
|
24635
24669
|
var LATEST_SCHEMA_VERSION2 = MIGRATIONS2[MIGRATIONS2.length - 1]?.version ?? 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-openclaw",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.166.0",
|
|
4
4
|
"description": "Signet connector for OpenClaw - configures workspace and memory hooks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"test": "bun test"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@signetai/connector-base": "0.
|
|
29
|
-
"@signetai/core": "0.
|
|
28
|
+
"@signetai/connector-base": "0.166.0",
|
|
29
|
+
"@signetai/core": "0.166.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|