@signetai/connector-codex 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.
Files changed (2) hide show
  1. package/dist/index.js +54 -8
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -10388,6 +10388,18 @@ function up110(db) {
10388
10388
  ON memory_entity_mentions(entity_id, memory_id);
10389
10389
  `);
10390
10390
  }
10391
+ function hasColumn19(db, table, column) {
10392
+ const rows = db.prepare(`PRAGMA table_info(${table})`).all();
10393
+ return rows.some((row) => row.name === column);
10394
+ }
10395
+ var COLUMNS2 = ["first_remember_at", "first_recall_at"];
10396
+ function up111(db) {
10397
+ for (const column of COLUMNS2) {
10398
+ if (!hasColumn19(db, "telemetry_install", column)) {
10399
+ db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
10400
+ }
10401
+ }
10402
+ }
10391
10403
  var MIGRATIONS = [
10392
10404
  {
10393
10405
  version: 1,
@@ -11263,6 +11275,17 @@ var MIGRATIONS = [
11263
11275
  version: 110,
11264
11276
  name: "memory-mention-join-index",
11265
11277
  up: up110
11278
+ },
11279
+ {
11280
+ version: 111,
11281
+ name: "telemetry-first-use",
11282
+ up: up111,
11283
+ artifacts: {
11284
+ columns: [
11285
+ { table: "telemetry_install", column: "first_remember_at" },
11286
+ { table: "telemetry_install", column: "first_recall_at" }
11287
+ ]
11288
+ }
11266
11289
  }
11267
11290
  ];
11268
11291
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -18642,7 +18665,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
18642
18665
  return true;
18643
18666
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
18644
18667
  }
18645
- function up111(db) {
18668
+ function up112(db) {
18646
18669
  db.exec(`
18647
18670
  CREATE TABLE IF NOT EXISTS schema_migrations (
18648
18671
  version INTEGER PRIMARY KEY,
@@ -18731,12 +18754,12 @@ function up111(db) {
18731
18754
  } catch {}
18732
18755
  createMemoriesFts2(db);
18733
18756
  }
18734
- function hasColumn19(db, table, column) {
18757
+ function hasColumn20(db, table, column) {
18735
18758
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
18736
18759
  return rows.some((r) => r.name === column);
18737
18760
  }
18738
18761
  function addColumnIfMissing23(db, table, column, definition) {
18739
- if (!hasColumn19(db, table, column)) {
18762
+ if (!hasColumn20(db, table, column)) {
18740
18763
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
18741
18764
  }
18742
18765
  }
@@ -19065,7 +19088,7 @@ function up1010(db) {
19065
19088
  )
19066
19089
  `);
19067
19090
  }
19068
- function up112(db) {
19091
+ function up113(db) {
19069
19092
  db.exec(`
19070
19093
  CREATE TABLE IF NOT EXISTS session_scores (
19071
19094
  id TEXT PRIMARY KEY,
@@ -21311,9 +21334,9 @@ function hasColumn112(db, table, column) {
21311
21334
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
21312
21335
  return rows.some((row) => row.name === column);
21313
21336
  }
21314
- var COLUMNS2 = ["harness", "session_id", "tool_use_id", "cwd", "origin", "args"];
21337
+ var COLUMNS3 = ["harness", "session_id", "tool_use_id", "cwd", "origin", "args"];
21315
21338
  function up822(db) {
21316
- for (const column of COLUMNS2) {
21339
+ for (const column of COLUMNS3) {
21317
21340
  if (!hasColumn112(db, "skill_invocations", column)) {
21318
21341
  db.exec(`ALTER TABLE skill_invocations ADD COLUMN ${column} TEXT`);
21319
21342
  }
@@ -22065,11 +22088,23 @@ function up1102(db) {
22065
22088
  ON memory_entity_mentions(entity_id, memory_id);
22066
22089
  `);
22067
22090
  }
22091
+ function hasColumn192(db, table, column) {
22092
+ const rows = db.prepare(`PRAGMA table_info(${table})`).all();
22093
+ return rows.some((row) => row.name === column);
22094
+ }
22095
+ var COLUMNS22 = ["first_remember_at", "first_recall_at"];
22096
+ function up1112(db) {
22097
+ for (const column of COLUMNS22) {
22098
+ if (!hasColumn192(db, "telemetry_install", column)) {
22099
+ db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
22100
+ }
22101
+ }
22102
+ }
22068
22103
  var MIGRATIONS2 = [
22069
22104
  {
22070
22105
  version: 1,
22071
22106
  name: "baseline",
22072
- up: up111,
22107
+ up: up112,
22073
22108
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
22074
22109
  },
22075
22110
  {
@@ -22135,7 +22170,7 @@ var MIGRATIONS2 = [
22135
22170
  {
22136
22171
  version: 11,
22137
22172
  name: "session-scores",
22138
- up: up112,
22173
+ up: up113,
22139
22174
  artifacts: { tables: ["session_scores"] }
22140
22175
  },
22141
22176
  {
@@ -22940,6 +22975,17 @@ var MIGRATIONS2 = [
22940
22975
  version: 110,
22941
22976
  name: "memory-mention-join-index",
22942
22977
  up: up1102
22978
+ },
22979
+ {
22980
+ version: 111,
22981
+ name: "telemetry-first-use",
22982
+ up: up1112,
22983
+ artifacts: {
22984
+ columns: [
22985
+ { table: "telemetry_install", column: "first_remember_at" },
22986
+ { table: "telemetry_install", column: "first_recall_at" }
22987
+ ]
22988
+ }
22943
22989
  }
22944
22990
  ];
22945
22991
  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.176.12",
3
+ "version": "0.178.0",
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.176.12",
28
- "@signetai/core": "0.176.12"
27
+ "@signetai/connector-base": "0.178.0",
28
+ "@signetai/core": "0.178.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",