@signetai/connector-codex 0.185.6 → 0.185.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.
Files changed (2) hide show
  1. package/dist/index.js +34 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -10778,6 +10778,14 @@ function up118(db) {
10778
10778
  WHERE status IN ('pending', 'leased');
10779
10779
  `);
10780
10780
  }
10781
+ function hasColumn22(db, table, column) {
10782
+ return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
10783
+ }
10784
+ function up119(db) {
10785
+ if (!hasColumn22(db, "telemetry_install", "last_seen_version")) {
10786
+ db.exec("ALTER TABLE telemetry_install ADD COLUMN last_seen_version TEXT");
10787
+ }
10788
+ }
10781
10789
  var MIGRATIONS = [
10782
10790
  {
10783
10791
  version: 1,
@@ -11733,6 +11741,12 @@ var MIGRATIONS = [
11733
11741
  version: 118,
11734
11742
  name: "queue-pressure-indices",
11735
11743
  up: up118
11744
+ },
11745
+ {
11746
+ version: 119,
11747
+ name: "telemetry-version-observation",
11748
+ up: up119,
11749
+ artifacts: { columns: [{ table: "telemetry_install", column: "last_seen_version" }] }
11736
11750
  }
11737
11751
  ];
11738
11752
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19116,7 +19130,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19116
19130
  return true;
19117
19131
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19118
19132
  }
19119
- function up119(db) {
19133
+ function up120(db) {
19120
19134
  db.exec(`
19121
19135
  CREATE TABLE IF NOT EXISTS schema_migrations (
19122
19136
  version INTEGER PRIMARY KEY,
@@ -19205,12 +19219,12 @@ function up119(db) {
19205
19219
  } catch {}
19206
19220
  createMemoriesFts2(db);
19207
19221
  }
19208
- function hasColumn22(db, table, column) {
19222
+ function hasColumn23(db, table, column) {
19209
19223
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
19210
19224
  return rows.some((r) => r.name === column);
19211
19225
  }
19212
19226
  function addColumnIfMissing26(db, table, column, definition) {
19213
- if (!hasColumn22(db, table, column)) {
19227
+ if (!hasColumn23(db, table, column)) {
19214
19228
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
19215
19229
  }
19216
19230
  }
@@ -19360,12 +19374,12 @@ function up310(db) {
19360
19374
  WHERE content_hash IS NOT NULL AND is_deleted = 0
19361
19375
  `);
19362
19376
  }
19363
- function hasColumn23(db, table, column) {
19377
+ function hasColumn24(db, table, column) {
19364
19378
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
19365
19379
  return rows.some((r) => r.name === column);
19366
19380
  }
19367
19381
  function addColumnIfMissing32(db, table, column, definition) {
19368
- if (!hasColumn23(db, table, column)) {
19382
+ if (!hasColumn24(db, table, column)) {
19369
19383
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
19370
19384
  }
19371
19385
  }
@@ -22926,11 +22940,19 @@ function up1182(db) {
22926
22940
  WHERE status IN ('pending', 'leased');
22927
22941
  `);
22928
22942
  }
22943
+ function hasColumn222(db, table, column) {
22944
+ return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
22945
+ }
22946
+ function up1192(db) {
22947
+ if (!hasColumn222(db, "telemetry_install", "last_seen_version")) {
22948
+ db.exec("ALTER TABLE telemetry_install ADD COLUMN last_seen_version TEXT");
22949
+ }
22950
+ }
22929
22951
  var MIGRATIONS2 = [
22930
22952
  {
22931
22953
  version: 1,
22932
22954
  name: "baseline",
22933
- up: up119,
22955
+ up: up120,
22934
22956
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
22935
22957
  },
22936
22958
  {
@@ -23881,6 +23903,12 @@ var MIGRATIONS2 = [
23881
23903
  version: 118,
23882
23904
  name: "queue-pressure-indices",
23883
23905
  up: up1182
23906
+ },
23907
+ {
23908
+ version: 119,
23909
+ name: "telemetry-version-observation",
23910
+ up: up1192,
23911
+ artifacts: { columns: [{ table: "telemetry_install", column: "last_seen_version" }] }
23884
23912
  }
23885
23913
  ];
23886
23914
  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-codex",
3
- "version": "0.185.6",
3
+ "version": "0.185.8",
4
4
  "description": "Signet connector for Codex CLI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "typecheck": "tsc --noEmit"
25
25
  },
26
26
  "dependencies": {
27
- "@signetai/connector-base": "0.185.6",
28
- "@signetai/core": "0.185.6"
27
+ "@signetai/connector-base": "0.185.8",
28
+ "@signetai/core": "0.185.8"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",