@signetai/connector-openclaw 0.151.0 → 0.152.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 +144 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -11042,6 +11042,61 @@ function up88(db) {
|
|
|
11042
11042
|
ON transcript_capture_jobs(agent_id, session_id, status);
|
|
11043
11043
|
`);
|
|
11044
11044
|
}
|
|
11045
|
+
function up89(db) {
|
|
11046
|
+
db.exec(`
|
|
11047
|
+
CREATE TABLE IF NOT EXISTS job_cancellations (
|
|
11048
|
+
id TEXT PRIMARY KEY,
|
|
11049
|
+
source_table TEXT NOT NULL,
|
|
11050
|
+
source_id TEXT NOT NULL,
|
|
11051
|
+
status_before TEXT NOT NULL,
|
|
11052
|
+
payload_json TEXT NOT NULL,
|
|
11053
|
+
reason TEXT,
|
|
11054
|
+
actor TEXT NOT NULL,
|
|
11055
|
+
actor_type TEXT NOT NULL,
|
|
11056
|
+
request_id TEXT,
|
|
11057
|
+
created_at TEXT NOT NULL
|
|
11058
|
+
)
|
|
11059
|
+
`);
|
|
11060
|
+
if (!indexExists(db, "job_cancellations", "idx_job_cancellations_source")) {
|
|
11061
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_source
|
|
11062
|
+
ON job_cancellations(source_table, source_id)`);
|
|
11063
|
+
}
|
|
11064
|
+
if (!indexExists(db, "job_cancellations", "idx_job_cancellations_created_at")) {
|
|
11065
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_created_at
|
|
11066
|
+
ON job_cancellations(created_at)`);
|
|
11067
|
+
}
|
|
11068
|
+
}
|
|
11069
|
+
function indexExists(db, table, indexName) {
|
|
11070
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
11071
|
+
return rows.some((row) => row.name === indexName);
|
|
11072
|
+
}
|
|
11073
|
+
function up90(db) {
|
|
11074
|
+
db.exec(`
|
|
11075
|
+
CREATE TABLE IF NOT EXISTS job_archive (
|
|
11076
|
+
id TEXT PRIMARY KEY,
|
|
11077
|
+
source_table TEXT NOT NULL,
|
|
11078
|
+
source_id TEXT NOT NULL,
|
|
11079
|
+
status TEXT NOT NULL,
|
|
11080
|
+
payload_json TEXT NOT NULL,
|
|
11081
|
+
archived_at TEXT NOT NULL,
|
|
11082
|
+
archived_by TEXT NOT NULL,
|
|
11083
|
+
reason TEXT,
|
|
11084
|
+
created_at TEXT NOT NULL
|
|
11085
|
+
)
|
|
11086
|
+
`);
|
|
11087
|
+
if (!indexExists2(db, "job_archive", "idx_job_archive_source")) {
|
|
11088
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_source
|
|
11089
|
+
ON job_archive(source_table, source_id)`);
|
|
11090
|
+
}
|
|
11091
|
+
if (!indexExists2(db, "job_archive", "idx_job_archive_archived_at")) {
|
|
11092
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_archived_at
|
|
11093
|
+
ON job_archive(archived_at)`);
|
|
11094
|
+
}
|
|
11095
|
+
}
|
|
11096
|
+
function indexExists2(db, table, indexName) {
|
|
11097
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
11098
|
+
return rows.some((row) => row.name === indexName);
|
|
11099
|
+
}
|
|
11045
11100
|
var MIGRATIONS = [
|
|
11046
11101
|
{
|
|
11047
11102
|
version: 1,
|
|
@@ -11761,6 +11816,22 @@ var MIGRATIONS = [
|
|
|
11761
11816
|
artifacts: {
|
|
11762
11817
|
tables: ["transcript_recovery_files"]
|
|
11763
11818
|
}
|
|
11819
|
+
},
|
|
11820
|
+
{
|
|
11821
|
+
version: 89,
|
|
11822
|
+
name: "job-cancellations",
|
|
11823
|
+
up: up89,
|
|
11824
|
+
artifacts: {
|
|
11825
|
+
tables: ["job_cancellations"]
|
|
11826
|
+
}
|
|
11827
|
+
},
|
|
11828
|
+
{
|
|
11829
|
+
version: 90,
|
|
11830
|
+
name: "job-archive",
|
|
11831
|
+
up: up90,
|
|
11832
|
+
artifacts: {
|
|
11833
|
+
tables: ["job_archive"]
|
|
11834
|
+
}
|
|
11764
11835
|
}
|
|
11765
11836
|
];
|
|
11766
11837
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19119,7 +19190,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19119
19190
|
return true;
|
|
19120
19191
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19121
19192
|
}
|
|
19122
|
-
function
|
|
19193
|
+
function up91(db) {
|
|
19123
19194
|
db.exec(`
|
|
19124
19195
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19125
19196
|
version INTEGER PRIMARY KEY,
|
|
@@ -22079,11 +22150,66 @@ function up882(db) {
|
|
|
22079
22150
|
ON transcript_capture_jobs(agent_id, session_id, status);
|
|
22080
22151
|
`);
|
|
22081
22152
|
}
|
|
22153
|
+
function up892(db) {
|
|
22154
|
+
db.exec(`
|
|
22155
|
+
CREATE TABLE IF NOT EXISTS job_cancellations (
|
|
22156
|
+
id TEXT PRIMARY KEY,
|
|
22157
|
+
source_table TEXT NOT NULL,
|
|
22158
|
+
source_id TEXT NOT NULL,
|
|
22159
|
+
status_before TEXT NOT NULL,
|
|
22160
|
+
payload_json TEXT NOT NULL,
|
|
22161
|
+
reason TEXT,
|
|
22162
|
+
actor TEXT NOT NULL,
|
|
22163
|
+
actor_type TEXT NOT NULL,
|
|
22164
|
+
request_id TEXT,
|
|
22165
|
+
created_at TEXT NOT NULL
|
|
22166
|
+
)
|
|
22167
|
+
`);
|
|
22168
|
+
if (!indexExists3(db, "job_cancellations", "idx_job_cancellations_source")) {
|
|
22169
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_source
|
|
22170
|
+
ON job_cancellations(source_table, source_id)`);
|
|
22171
|
+
}
|
|
22172
|
+
if (!indexExists3(db, "job_cancellations", "idx_job_cancellations_created_at")) {
|
|
22173
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_cancellations_created_at
|
|
22174
|
+
ON job_cancellations(created_at)`);
|
|
22175
|
+
}
|
|
22176
|
+
}
|
|
22177
|
+
function indexExists3(db, table, indexName) {
|
|
22178
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
22179
|
+
return rows.some((row) => row.name === indexName);
|
|
22180
|
+
}
|
|
22181
|
+
function up902(db) {
|
|
22182
|
+
db.exec(`
|
|
22183
|
+
CREATE TABLE IF NOT EXISTS job_archive (
|
|
22184
|
+
id TEXT PRIMARY KEY,
|
|
22185
|
+
source_table TEXT NOT NULL,
|
|
22186
|
+
source_id TEXT NOT NULL,
|
|
22187
|
+
status TEXT NOT NULL,
|
|
22188
|
+
payload_json TEXT NOT NULL,
|
|
22189
|
+
archived_at TEXT NOT NULL,
|
|
22190
|
+
archived_by TEXT NOT NULL,
|
|
22191
|
+
reason TEXT,
|
|
22192
|
+
created_at TEXT NOT NULL
|
|
22193
|
+
)
|
|
22194
|
+
`);
|
|
22195
|
+
if (!indexExists22(db, "job_archive", "idx_job_archive_source")) {
|
|
22196
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_source
|
|
22197
|
+
ON job_archive(source_table, source_id)`);
|
|
22198
|
+
}
|
|
22199
|
+
if (!indexExists22(db, "job_archive", "idx_job_archive_archived_at")) {
|
|
22200
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_job_archive_archived_at
|
|
22201
|
+
ON job_archive(archived_at)`);
|
|
22202
|
+
}
|
|
22203
|
+
}
|
|
22204
|
+
function indexExists22(db, table, indexName) {
|
|
22205
|
+
const rows = db.prepare(`PRAGMA index_list(${table})`).all();
|
|
22206
|
+
return rows.some((row) => row.name === indexName);
|
|
22207
|
+
}
|
|
22082
22208
|
var MIGRATIONS2 = [
|
|
22083
22209
|
{
|
|
22084
22210
|
version: 1,
|
|
22085
22211
|
name: "baseline",
|
|
22086
|
-
up:
|
|
22212
|
+
up: up91,
|
|
22087
22213
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
22088
22214
|
},
|
|
22089
22215
|
{
|
|
@@ -22798,6 +22924,22 @@ var MIGRATIONS2 = [
|
|
|
22798
22924
|
artifacts: {
|
|
22799
22925
|
tables: ["transcript_recovery_files"]
|
|
22800
22926
|
}
|
|
22927
|
+
},
|
|
22928
|
+
{
|
|
22929
|
+
version: 89,
|
|
22930
|
+
name: "job-cancellations",
|
|
22931
|
+
up: up892,
|
|
22932
|
+
artifacts: {
|
|
22933
|
+
tables: ["job_cancellations"]
|
|
22934
|
+
}
|
|
22935
|
+
},
|
|
22936
|
+
{
|
|
22937
|
+
version: 90,
|
|
22938
|
+
name: "job-archive",
|
|
22939
|
+
up: up902,
|
|
22940
|
+
artifacts: {
|
|
22941
|
+
tables: ["job_archive"]
|
|
22942
|
+
}
|
|
22801
22943
|
}
|
|
22802
22944
|
];
|
|
22803
22945
|
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.152.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.152.0",
|
|
29
|
+
"@signetai/core": "0.152.0",
|
|
30
30
|
"json5": "^2.2.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|