@signetai/connector-openclaw 0.226.5 → 0.226.8
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 +66 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -16503,6 +16503,31 @@ function up152(db) {
|
|
|
16503
16503
|
`);
|
|
16504
16504
|
}
|
|
16505
16505
|
}
|
|
16506
|
+
function up153(db) {
|
|
16507
|
+
db.exec(`
|
|
16508
|
+
CREATE TABLE IF NOT EXISTS vector_repair_checkpoints (
|
|
16509
|
+
operation TEXT NOT NULL CHECK (operation IN ('resync', 'clean-orphans')),
|
|
16510
|
+
agent_id TEXT NOT NULL CHECK (length(trim(agent_id)) > 0),
|
|
16511
|
+
checkpoint_id TEXT NOT NULL UNIQUE,
|
|
16512
|
+
phase TEXT NOT NULL CHECK (
|
|
16513
|
+
phase IN ('orphan-vectors', 'missing-vectors', 'orphan-embeddings', 'complete')
|
|
16514
|
+
),
|
|
16515
|
+
cursor TEXT,
|
|
16516
|
+
processed INTEGER NOT NULL DEFAULT 0 CHECK (processed >= 0),
|
|
16517
|
+
skipped INTEGER NOT NULL DEFAULT 0 CHECK (skipped >= 0),
|
|
16518
|
+
failed INTEGER NOT NULL DEFAULT 0 CHECK (failed >= 0),
|
|
16519
|
+
affected INTEGER NOT NULL DEFAULT 0 CHECK (affected >= 0),
|
|
16520
|
+
remaining INTEGER NOT NULL DEFAULT 0 CHECK (remaining >= 0),
|
|
16521
|
+
status TEXT NOT NULL DEFAULT 'running' CHECK (status IN ('running', 'complete', 'failed')),
|
|
16522
|
+
last_error TEXT,
|
|
16523
|
+
created_at TEXT NOT NULL,
|
|
16524
|
+
updated_at TEXT NOT NULL,
|
|
16525
|
+
PRIMARY KEY (operation, agent_id)
|
|
16526
|
+
);
|
|
16527
|
+
CREATE INDEX IF NOT EXISTS idx_vector_repair_checkpoints_status
|
|
16528
|
+
ON vector_repair_checkpoints(status, updated_at);
|
|
16529
|
+
`);
|
|
16530
|
+
}
|
|
16506
16531
|
var MIGRATIONS = [
|
|
16507
16532
|
{
|
|
16508
16533
|
version: 1,
|
|
@@ -17741,6 +17766,12 @@ var MIGRATIONS = [
|
|
|
17741
17766
|
name: "memory-artifact-sha-index",
|
|
17742
17767
|
up: up2,
|
|
17743
17768
|
artifacts: { indexes: ["idx_memory_artifacts_agent_sha"] }
|
|
17769
|
+
},
|
|
17770
|
+
{
|
|
17771
|
+
version: 153,
|
|
17772
|
+
name: "vector-repair-checkpoints",
|
|
17773
|
+
up: up153,
|
|
17774
|
+
artifacts: { tables: ["vector_repair_checkpoints"] }
|
|
17744
17775
|
}
|
|
17745
17776
|
];
|
|
17746
17777
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -31539,7 +31570,7 @@ var DAEMON_DERIVED_MEMORY_SOURCE_TYPES2 = [
|
|
|
31539
31570
|
"checkpoint",
|
|
31540
31571
|
"dreaming"
|
|
31541
31572
|
];
|
|
31542
|
-
function
|
|
31573
|
+
function up154(db) {
|
|
31543
31574
|
const hasColumn26 = (table, column) => {
|
|
31544
31575
|
const statement = db.prepare(`SELECT 1 FROM pragma_table_info('${table}') WHERE name = ?`);
|
|
31545
31576
|
try {
|
|
@@ -32204,7 +32235,7 @@ function addColumnIfMissing52(db, table, column, definition) {
|
|
|
32204
32235
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
32205
32236
|
}
|
|
32206
32237
|
}
|
|
32207
|
-
function
|
|
32238
|
+
function up155(db) {
|
|
32208
32239
|
db.exec(`
|
|
32209
32240
|
CREATE TABLE IF NOT EXISTS ingestion_jobs (
|
|
32210
32241
|
id TEXT PRIMARY KEY,
|
|
@@ -36740,6 +36771,31 @@ function up1522(db) {
|
|
|
36740
36771
|
`);
|
|
36741
36772
|
}
|
|
36742
36773
|
}
|
|
36774
|
+
function up1532(db) {
|
|
36775
|
+
db.exec(`
|
|
36776
|
+
CREATE TABLE IF NOT EXISTS vector_repair_checkpoints (
|
|
36777
|
+
operation TEXT NOT NULL CHECK (operation IN ('resync', 'clean-orphans')),
|
|
36778
|
+
agent_id TEXT NOT NULL CHECK (length(trim(agent_id)) > 0),
|
|
36779
|
+
checkpoint_id TEXT NOT NULL UNIQUE,
|
|
36780
|
+
phase TEXT NOT NULL CHECK (
|
|
36781
|
+
phase IN ('orphan-vectors', 'missing-vectors', 'orphan-embeddings', 'complete')
|
|
36782
|
+
),
|
|
36783
|
+
cursor TEXT,
|
|
36784
|
+
processed INTEGER NOT NULL DEFAULT 0 CHECK (processed >= 0),
|
|
36785
|
+
skipped INTEGER NOT NULL DEFAULT 0 CHECK (skipped >= 0),
|
|
36786
|
+
failed INTEGER NOT NULL DEFAULT 0 CHECK (failed >= 0),
|
|
36787
|
+
affected INTEGER NOT NULL DEFAULT 0 CHECK (affected >= 0),
|
|
36788
|
+
remaining INTEGER NOT NULL DEFAULT 0 CHECK (remaining >= 0),
|
|
36789
|
+
status TEXT NOT NULL DEFAULT 'running' CHECK (status IN ('running', 'complete', 'failed')),
|
|
36790
|
+
last_error TEXT,
|
|
36791
|
+
created_at TEXT NOT NULL,
|
|
36792
|
+
updated_at TEXT NOT NULL,
|
|
36793
|
+
PRIMARY KEY (operation, agent_id)
|
|
36794
|
+
);
|
|
36795
|
+
CREATE INDEX IF NOT EXISTS idx_vector_repair_checkpoints_status
|
|
36796
|
+
ON vector_repair_checkpoints(status, updated_at);
|
|
36797
|
+
`);
|
|
36798
|
+
}
|
|
36743
36799
|
var MIGRATIONS2 = [
|
|
36744
36800
|
{
|
|
36745
36801
|
version: 1,
|
|
@@ -36822,7 +36878,7 @@ var MIGRATIONS2 = [
|
|
|
36822
36878
|
{
|
|
36823
36879
|
version: 13,
|
|
36824
36880
|
name: "ingestion-tracking",
|
|
36825
|
-
up:
|
|
36881
|
+
up: up155,
|
|
36826
36882
|
artifacts: {
|
|
36827
36883
|
columns: [
|
|
36828
36884
|
{ table: "memories", column: "source_path" },
|
|
@@ -37947,7 +38003,7 @@ var MIGRATIONS2 = [
|
|
|
37947
38003
|
{
|
|
37948
38004
|
version: 151,
|
|
37949
38005
|
name: "transcript-import-bytes",
|
|
37950
|
-
up:
|
|
38006
|
+
up: up154,
|
|
37951
38007
|
artifacts: {
|
|
37952
38008
|
tables: [
|
|
37953
38009
|
"source_import_chunks",
|
|
@@ -37978,6 +38034,12 @@ var MIGRATIONS2 = [
|
|
|
37978
38034
|
name: "memory-artifact-sha-index",
|
|
37979
38035
|
up: up210,
|
|
37980
38036
|
artifacts: { indexes: ["idx_memory_artifacts_agent_sha"] }
|
|
38037
|
+
},
|
|
38038
|
+
{
|
|
38039
|
+
version: 153,
|
|
38040
|
+
name: "vector-repair-checkpoints",
|
|
38041
|
+
up: up1532,
|
|
38042
|
+
artifacts: { tables: ["vector_repair_checkpoints"] }
|
|
37981
38043
|
}
|
|
37982
38044
|
];
|
|
37983
38045
|
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.226.
|
|
3
|
+
"version": "0.226.8",
|
|
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.226.
|
|
29
|
-
"@signetai/core": "0.226.
|
|
28
|
+
"@signetai/connector-base": "0.226.8",
|
|
29
|
+
"@signetai/core": "0.226.8"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|