@signetai/connector-openclaw 0.147.12 → 0.147.13

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.
Files changed (2) hide show
  1. package/dist/index.js +65 -23
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -11011,6 +11011,19 @@ function up86(db) {
11011
11011
  ON summary_jobs(agent_id, session_key, content_hash)
11012
11012
  `);
11013
11013
  }
11014
+ function addColumnIfMissing22(db, table, column, definition) {
11015
+ const cols = db.prepare(`PRAGMA table_info(${table})`).all();
11016
+ if (cols.some((col) => col.name === column))
11017
+ return;
11018
+ db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
11019
+ }
11020
+ function up87(db) {
11021
+ addColumnIfMissing22(db, "summary_jobs", "boundary_reason", "TEXT");
11022
+ db.exec(`
11023
+ CREATE INDEX IF NOT EXISTS idx_summary_jobs_boundary_reason
11024
+ ON summary_jobs(agent_id, session_key, boundary_reason)
11025
+ `);
11026
+ }
11014
11027
  var MIGRATIONS = [
11015
11028
  {
11016
11029
  version: 1,
@@ -11714,6 +11727,14 @@ var MIGRATIONS = [
11714
11727
  artifacts: {
11715
11728
  columns: [{ table: "summary_jobs", column: "content_hash" }]
11716
11729
  }
11730
+ },
11731
+ {
11732
+ version: 87,
11733
+ name: "summary-jobs-boundary-reason",
11734
+ up: up87,
11735
+ artifacts: {
11736
+ columns: [{ table: "summary_jobs", column: "boundary_reason" }]
11737
+ }
11717
11738
  }
11718
11739
  ];
11719
11740
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19064,7 +19085,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19064
19085
  return true;
19065
19086
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19066
19087
  }
19067
- function up87(db) {
19088
+ function up88(db) {
19068
19089
  db.exec(`
19069
19090
  CREATE TABLE IF NOT EXISTS schema_migrations (
19070
19091
  version INTEGER PRIMARY KEY,
@@ -19157,27 +19178,27 @@ function hasColumn13(db, table, column) {
19157
19178
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
19158
19179
  return rows.some((r) => r.name === column);
19159
19180
  }
19160
- function addColumnIfMissing22(db, table, column, definition) {
19181
+ function addColumnIfMissing23(db, table, column, definition) {
19161
19182
  if (!hasColumn13(db, table, column)) {
19162
19183
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
19163
19184
  }
19164
19185
  }
19165
19186
  function up210(db) {
19166
- addColumnIfMissing22(db, "memories", "content_hash", "TEXT");
19167
- addColumnIfMissing22(db, "memories", "normalized_content", "TEXT");
19168
- addColumnIfMissing22(db, "memories", "is_deleted", "INTEGER DEFAULT 0");
19169
- addColumnIfMissing22(db, "memories", "deleted_at", "TEXT");
19170
- addColumnIfMissing22(db, "memories", "extraction_status", "TEXT DEFAULT 'none'");
19171
- addColumnIfMissing22(db, "memories", "embedding_model", "TEXT");
19172
- addColumnIfMissing22(db, "memories", "extraction_model", "TEXT");
19173
- addColumnIfMissing22(db, "memories", "update_count", "INTEGER DEFAULT 0");
19174
- addColumnIfMissing22(db, "memories", "who", "TEXT");
19175
- addColumnIfMissing22(db, "memories", "why", "TEXT");
19176
- addColumnIfMissing22(db, "memories", "project", "TEXT");
19177
- addColumnIfMissing22(db, "memories", "pinned", "INTEGER DEFAULT 0");
19178
- addColumnIfMissing22(db, "memories", "importance", "REAL DEFAULT 0.5");
19179
- addColumnIfMissing22(db, "memories", "last_accessed", "TEXT");
19180
- addColumnIfMissing22(db, "memories", "access_count", "INTEGER DEFAULT 0");
19187
+ addColumnIfMissing23(db, "memories", "content_hash", "TEXT");
19188
+ addColumnIfMissing23(db, "memories", "normalized_content", "TEXT");
19189
+ addColumnIfMissing23(db, "memories", "is_deleted", "INTEGER DEFAULT 0");
19190
+ addColumnIfMissing23(db, "memories", "deleted_at", "TEXT");
19191
+ addColumnIfMissing23(db, "memories", "extraction_status", "TEXT DEFAULT 'none'");
19192
+ addColumnIfMissing23(db, "memories", "embedding_model", "TEXT");
19193
+ addColumnIfMissing23(db, "memories", "extraction_model", "TEXT");
19194
+ addColumnIfMissing23(db, "memories", "update_count", "INTEGER DEFAULT 0");
19195
+ addColumnIfMissing23(db, "memories", "who", "TEXT");
19196
+ addColumnIfMissing23(db, "memories", "why", "TEXT");
19197
+ addColumnIfMissing23(db, "memories", "project", "TEXT");
19198
+ addColumnIfMissing23(db, "memories", "pinned", "INTEGER DEFAULT 0");
19199
+ addColumnIfMissing23(db, "memories", "importance", "REAL DEFAULT 0.5");
19200
+ addColumnIfMissing23(db, "memories", "last_accessed", "TEXT");
19201
+ addColumnIfMissing23(db, "memories", "access_count", "INTEGER DEFAULT 0");
19181
19202
  db.exec(`
19182
19203
  CREATE TABLE IF NOT EXISTS memory_history (
19183
19204
  id TEXT PRIMARY KEY,
@@ -19273,7 +19294,7 @@ function up210(db) {
19273
19294
  ON memory_entity_mentions(entity_id);
19274
19295
  `);
19275
19296
  }
19276
- function addColumnIfMissing23(db, table, column, definition) {
19297
+ function addColumnIfMissing24(db, table, column, definition) {
19277
19298
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
19278
19299
  if (rows.some((r) => r.name === column))
19279
19300
  return false;
@@ -19281,8 +19302,8 @@ function addColumnIfMissing23(db, table, column, definition) {
19281
19302
  return true;
19282
19303
  }
19283
19304
  function up310(db) {
19284
- addColumnIfMissing23(db, "memories", "why", "TEXT");
19285
- addColumnIfMissing23(db, "memories", "project", "TEXT");
19305
+ addColumnIfMissing24(db, "memories", "why", "TEXT");
19306
+ addColumnIfMissing24(db, "memories", "project", "TEXT");
19286
19307
  db.exec(`DROP INDEX IF EXISTS idx_memories_content_hash`);
19287
19308
  db.exec(`
19288
19309
  UPDATE memories
@@ -19439,7 +19460,7 @@ function up710(db) {
19439
19460
  db.exec("ALTER TABLE memory_jobs ADD COLUMN document_id TEXT");
19440
19461
  }
19441
19462
  }
19442
- function up88(db) {
19463
+ function up89(db) {
19443
19464
  const tables = db.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='embeddings'").all();
19444
19465
  if (tables.length === 0)
19445
19466
  return;
@@ -21993,11 +22014,24 @@ function up862(db) {
21993
22014
  ON summary_jobs(agent_id, session_key, content_hash)
21994
22015
  `);
21995
22016
  }
22017
+ function addColumnIfMissing222(db, table, column, definition) {
22018
+ const cols = db.prepare(`PRAGMA table_info(${table})`).all();
22019
+ if (cols.some((col) => col.name === column))
22020
+ return;
22021
+ db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
22022
+ }
22023
+ function up872(db) {
22024
+ addColumnIfMissing222(db, "summary_jobs", "boundary_reason", "TEXT");
22025
+ db.exec(`
22026
+ CREATE INDEX IF NOT EXISTS idx_summary_jobs_boundary_reason
22027
+ ON summary_jobs(agent_id, session_key, boundary_reason)
22028
+ `);
22029
+ }
21996
22030
  var MIGRATIONS2 = [
21997
22031
  {
21998
22032
  version: 1,
21999
22033
  name: "baseline",
22000
- up: up87,
22034
+ up: up88,
22001
22035
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
22002
22036
  },
22003
22037
  {
@@ -22046,7 +22080,7 @@ var MIGRATIONS2 = [
22046
22080
  {
22047
22081
  version: 8,
22048
22082
  name: "embeddings-unique-hash",
22049
- up: up88
22083
+ up: up89
22050
22084
  },
22051
22085
  {
22052
22086
  version: 9,
@@ -22696,6 +22730,14 @@ var MIGRATIONS2 = [
22696
22730
  artifacts: {
22697
22731
  columns: [{ table: "summary_jobs", column: "content_hash" }]
22698
22732
  }
22733
+ },
22734
+ {
22735
+ version: 87,
22736
+ name: "summary-jobs-boundary-reason",
22737
+ up: up872,
22738
+ artifacts: {
22739
+ columns: [{ table: "summary_jobs", column: "boundary_reason" }]
22740
+ }
22699
22741
  }
22700
22742
  ];
22701
22743
  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.147.12",
3
+ "version": "0.147.13",
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.147.12",
29
- "@signetai/core": "0.147.12",
28
+ "@signetai/connector-base": "0.147.13",
29
+ "@signetai/core": "0.147.13",
30
30
  "json5": "^2.2.3"
31
31
  },
32
32
  "devDependencies": {