@signetai/connector-openclaw 0.176.12 → 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 +54 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10386,6 +10386,18 @@ function up110(db) {
|
|
|
10386
10386
|
ON memory_entity_mentions(entity_id, memory_id);
|
|
10387
10387
|
`);
|
|
10388
10388
|
}
|
|
10389
|
+
function hasColumn19(db, table, column) {
|
|
10390
|
+
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
10391
|
+
return rows.some((row) => row.name === column);
|
|
10392
|
+
}
|
|
10393
|
+
var COLUMNS2 = ["first_remember_at", "first_recall_at"];
|
|
10394
|
+
function up111(db) {
|
|
10395
|
+
for (const column of COLUMNS2) {
|
|
10396
|
+
if (!hasColumn19(db, "telemetry_install", column)) {
|
|
10397
|
+
db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
|
|
10398
|
+
}
|
|
10399
|
+
}
|
|
10400
|
+
}
|
|
10389
10401
|
var MIGRATIONS = [
|
|
10390
10402
|
{
|
|
10391
10403
|
version: 1,
|
|
@@ -11261,6 +11273,17 @@ var MIGRATIONS = [
|
|
|
11261
11273
|
version: 110,
|
|
11262
11274
|
name: "memory-mention-join-index",
|
|
11263
11275
|
up: up110
|
|
11276
|
+
},
|
|
11277
|
+
{
|
|
11278
|
+
version: 111,
|
|
11279
|
+
name: "telemetry-first-use",
|
|
11280
|
+
up: up111,
|
|
11281
|
+
artifacts: {
|
|
11282
|
+
columns: [
|
|
11283
|
+
{ table: "telemetry_install", column: "first_remember_at" },
|
|
11284
|
+
{ table: "telemetry_install", column: "first_recall_at" }
|
|
11285
|
+
]
|
|
11286
|
+
}
|
|
11264
11287
|
}
|
|
11265
11288
|
];
|
|
11266
11289
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -20524,7 +20547,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
20524
20547
|
return true;
|
|
20525
20548
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
20526
20549
|
}
|
|
20527
|
-
function
|
|
20550
|
+
function up112(db) {
|
|
20528
20551
|
db.exec(`
|
|
20529
20552
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
20530
20553
|
version INTEGER PRIMARY KEY,
|
|
@@ -20613,12 +20636,12 @@ function up111(db) {
|
|
|
20613
20636
|
} catch {}
|
|
20614
20637
|
createMemoriesFts2(db);
|
|
20615
20638
|
}
|
|
20616
|
-
function
|
|
20639
|
+
function hasColumn20(db, table, column) {
|
|
20617
20640
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
20618
20641
|
return rows.some((r) => r.name === column);
|
|
20619
20642
|
}
|
|
20620
20643
|
function addColumnIfMissing23(db, table, column, definition) {
|
|
20621
|
-
if (!
|
|
20644
|
+
if (!hasColumn20(db, table, column)) {
|
|
20622
20645
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
20623
20646
|
}
|
|
20624
20647
|
}
|
|
@@ -20947,7 +20970,7 @@ function up1010(db) {
|
|
|
20947
20970
|
)
|
|
20948
20971
|
`);
|
|
20949
20972
|
}
|
|
20950
|
-
function
|
|
20973
|
+
function up113(db) {
|
|
20951
20974
|
db.exec(`
|
|
20952
20975
|
CREATE TABLE IF NOT EXISTS session_scores (
|
|
20953
20976
|
id TEXT PRIMARY KEY,
|
|
@@ -23193,9 +23216,9 @@ function hasColumn112(db, table, column) {
|
|
|
23193
23216
|
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
23194
23217
|
return rows.some((row) => row.name === column);
|
|
23195
23218
|
}
|
|
23196
|
-
var
|
|
23219
|
+
var COLUMNS3 = ["harness", "session_id", "tool_use_id", "cwd", "origin", "args"];
|
|
23197
23220
|
function up822(db) {
|
|
23198
|
-
for (const column of
|
|
23221
|
+
for (const column of COLUMNS3) {
|
|
23199
23222
|
if (!hasColumn112(db, "skill_invocations", column)) {
|
|
23200
23223
|
db.exec(`ALTER TABLE skill_invocations ADD COLUMN ${column} TEXT`);
|
|
23201
23224
|
}
|
|
@@ -23947,11 +23970,23 @@ function up1102(db) {
|
|
|
23947
23970
|
ON memory_entity_mentions(entity_id, memory_id);
|
|
23948
23971
|
`);
|
|
23949
23972
|
}
|
|
23973
|
+
function hasColumn192(db, table, column) {
|
|
23974
|
+
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
23975
|
+
return rows.some((row) => row.name === column);
|
|
23976
|
+
}
|
|
23977
|
+
var COLUMNS22 = ["first_remember_at", "first_recall_at"];
|
|
23978
|
+
function up1112(db) {
|
|
23979
|
+
for (const column of COLUMNS22) {
|
|
23980
|
+
if (!hasColumn192(db, "telemetry_install", column)) {
|
|
23981
|
+
db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
|
|
23982
|
+
}
|
|
23983
|
+
}
|
|
23984
|
+
}
|
|
23950
23985
|
var MIGRATIONS2 = [
|
|
23951
23986
|
{
|
|
23952
23987
|
version: 1,
|
|
23953
23988
|
name: "baseline",
|
|
23954
|
-
up:
|
|
23989
|
+
up: up112,
|
|
23955
23990
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
23956
23991
|
},
|
|
23957
23992
|
{
|
|
@@ -24017,7 +24052,7 @@ var MIGRATIONS2 = [
|
|
|
24017
24052
|
{
|
|
24018
24053
|
version: 11,
|
|
24019
24054
|
name: "session-scores",
|
|
24020
|
-
up:
|
|
24055
|
+
up: up113,
|
|
24021
24056
|
artifacts: { tables: ["session_scores"] }
|
|
24022
24057
|
},
|
|
24023
24058
|
{
|
|
@@ -24822,6 +24857,17 @@ var MIGRATIONS2 = [
|
|
|
24822
24857
|
version: 110,
|
|
24823
24858
|
name: "memory-mention-join-index",
|
|
24824
24859
|
up: up1102
|
|
24860
|
+
},
|
|
24861
|
+
{
|
|
24862
|
+
version: 111,
|
|
24863
|
+
name: "telemetry-first-use",
|
|
24864
|
+
up: up1112,
|
|
24865
|
+
artifacts: {
|
|
24866
|
+
columns: [
|
|
24867
|
+
{ table: "telemetry_install", column: "first_remember_at" },
|
|
24868
|
+
{ table: "telemetry_install", column: "first_recall_at" }
|
|
24869
|
+
]
|
|
24870
|
+
}
|
|
24825
24871
|
}
|
|
24826
24872
|
];
|
|
24827
24873
|
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.178.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.178.0",
|
|
29
|
+
"@signetai/core": "0.178.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|