@signetai/connector-codex 0.214.0 → 0.214.2

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 +106 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -16063,6 +16063,38 @@ function up139(db) {
16063
16063
  ON native_source_sync_state(agent_id, status);
16064
16064
  `);
16065
16065
  }
16066
+ function up140(db) {
16067
+ db.exec(`
16068
+ CREATE TABLE IF NOT EXISTS transcript_recovery_frontiers (
16069
+ agent_id TEXT NOT NULL,
16070
+ harness TEXT NOT NULL,
16071
+ root_path TEXT NOT NULL,
16072
+ cursor_path TEXT,
16073
+ updated_at TEXT NOT NULL,
16074
+ PRIMARY KEY (agent_id, harness, root_path)
16075
+ );
16076
+ `);
16077
+ }
16078
+ function up141(db) {
16079
+ db.exec(`
16080
+ CREATE TABLE IF NOT EXISTS source_sync_checkpoints (
16081
+ agent_id TEXT NOT NULL,
16082
+ source_key TEXT NOT NULL,
16083
+ phase TEXT NOT NULL,
16084
+ cursor TEXT,
16085
+ scanned INTEGER NOT NULL DEFAULT 0,
16086
+ complete INTEGER NOT NULL DEFAULT 0,
16087
+ updated_at TEXT NOT NULL,
16088
+ PRIMARY KEY (agent_id, source_key, phase)
16089
+ );
16090
+ `);
16091
+ }
16092
+ function up142(db) {
16093
+ const columns = db.prepare("PRAGMA table_info(source_sync_checkpoints)").all();
16094
+ if (!columns.some((column) => column.name === "frontier")) {
16095
+ db.exec("ALTER TABLE source_sync_checkpoints ADD COLUMN frontier TEXT");
16096
+ }
16097
+ }
16066
16098
  var MIGRATIONS = [
16067
16099
  {
16068
16100
  version: 1,
@@ -17166,6 +17198,24 @@ var MIGRATIONS = [
17166
17198
  name: "native-source-sync-state",
17167
17199
  up: up139,
17168
17200
  artifacts: { tables: ["native_source_sync_state"] }
17201
+ },
17202
+ {
17203
+ version: 140,
17204
+ name: "transcript-recovery-frontier",
17205
+ up: up140,
17206
+ artifacts: { tables: ["transcript_recovery_frontiers"] }
17207
+ },
17208
+ {
17209
+ version: 141,
17210
+ name: "source-sync-checkpoints",
17211
+ up: up141,
17212
+ artifacts: { tables: ["source_sync_checkpoints"] }
17213
+ },
17214
+ {
17215
+ version: 142,
17216
+ name: "source-sync-frontier",
17217
+ up: up142,
17218
+ artifacts: { columns: [{ table: "source_sync_checkpoints", column: "frontier" }] }
17169
17219
  }
17170
17220
  ];
17171
17221
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -29129,7 +29179,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
29129
29179
  return true;
29130
29180
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
29131
29181
  }
29132
- function up140(db) {
29182
+ function up143(db) {
29133
29183
  db.exec(`
29134
29184
  CREATE TABLE IF NOT EXISTS schema_migrations (
29135
29185
  version INTEGER PRIMARY KEY,
@@ -29639,7 +29689,7 @@ function up1310(db) {
29639
29689
  addColumnIfMissing52(db, "memories", "source_path", "TEXT");
29640
29690
  addColumnIfMissing52(db, "memories", "source_section", "TEXT");
29641
29691
  }
29642
- function up142(db) {
29692
+ function up144(db) {
29643
29693
  db.exec(`
29644
29694
  CREATE TABLE IF NOT EXISTS telemetry_events (
29645
29695
  id TEXT PRIMARY KEY,
@@ -33811,11 +33861,43 @@ function up1392(db) {
33811
33861
  ON native_source_sync_state(agent_id, status);
33812
33862
  `);
33813
33863
  }
33864
+ function up1402(db) {
33865
+ db.exec(`
33866
+ CREATE TABLE IF NOT EXISTS transcript_recovery_frontiers (
33867
+ agent_id TEXT NOT NULL,
33868
+ harness TEXT NOT NULL,
33869
+ root_path TEXT NOT NULL,
33870
+ cursor_path TEXT,
33871
+ updated_at TEXT NOT NULL,
33872
+ PRIMARY KEY (agent_id, harness, root_path)
33873
+ );
33874
+ `);
33875
+ }
33876
+ function up1412(db) {
33877
+ db.exec(`
33878
+ CREATE TABLE IF NOT EXISTS source_sync_checkpoints (
33879
+ agent_id TEXT NOT NULL,
33880
+ source_key TEXT NOT NULL,
33881
+ phase TEXT NOT NULL,
33882
+ cursor TEXT,
33883
+ scanned INTEGER NOT NULL DEFAULT 0,
33884
+ complete INTEGER NOT NULL DEFAULT 0,
33885
+ updated_at TEXT NOT NULL,
33886
+ PRIMARY KEY (agent_id, source_key, phase)
33887
+ );
33888
+ `);
33889
+ }
33890
+ function up1422(db) {
33891
+ const columns = db.prepare("PRAGMA table_info(source_sync_checkpoints)").all();
33892
+ if (!columns.some((column) => column.name === "frontier")) {
33893
+ db.exec("ALTER TABLE source_sync_checkpoints ADD COLUMN frontier TEXT");
33894
+ }
33895
+ }
33814
33896
  var MIGRATIONS2 = [
33815
33897
  {
33816
33898
  version: 1,
33817
33899
  name: "baseline",
33818
- up: up140,
33900
+ up: up143,
33819
33901
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
33820
33902
  },
33821
33903
  {
@@ -33904,7 +33986,7 @@ var MIGRATIONS2 = [
33904
33986
  {
33905
33987
  version: 14,
33906
33988
  name: "telemetry",
33907
- up: up142,
33989
+ up: up144,
33908
33990
  artifacts: { tables: ["telemetry_events"] }
33909
33991
  },
33910
33992
  {
@@ -34914,6 +34996,24 @@ var MIGRATIONS2 = [
34914
34996
  name: "native-source-sync-state",
34915
34997
  up: up1392,
34916
34998
  artifacts: { tables: ["native_source_sync_state"] }
34999
+ },
35000
+ {
35001
+ version: 140,
35002
+ name: "transcript-recovery-frontier",
35003
+ up: up1402,
35004
+ artifacts: { tables: ["transcript_recovery_frontiers"] }
35005
+ },
35006
+ {
35007
+ version: 141,
35008
+ name: "source-sync-checkpoints",
35009
+ up: up1412,
35010
+ artifacts: { tables: ["source_sync_checkpoints"] }
35011
+ },
35012
+ {
35013
+ version: 142,
35014
+ name: "source-sync-frontier",
35015
+ up: up1422,
35016
+ artifacts: { columns: [{ table: "source_sync_checkpoints", column: "frontier" }] }
34917
35017
  }
34918
35018
  ];
34919
35019
  var LATEST_SCHEMA_VERSION2 = MIGRATIONS2[MIGRATIONS2.length - 1]?.version ?? 0;
@@ -35584,7 +35684,7 @@ function isSignetMatcherGroup(group) {
35584
35684
  return false;
35585
35685
  }
35586
35686
  function hasMissingNodeRuntime(command) {
35587
- const node = command.match(/(?:^|\s)(['\"]?)([^'\"\s]*[\\/]node(?:\.exe)?)(?:\1)(?=\s|$)/i)?.[2];
35687
+ const node = command.match(/(?:^|\s)(['"]?)([^'"\s]*[\\/]node(?:\.exe)?)(?:\1)(?=\s|$)/i)?.[2];
35588
35688
  return Boolean(node && !existsSync2(node));
35589
35689
  }
35590
35690
  function hasMissingSignetRuntime(file, configPath) {
@@ -35615,7 +35715,7 @@ function hasMissingSignetRuntime(file, configPath) {
35615
35715
  break;
35616
35716
  if (!inSignetMcpSection)
35617
35717
  continue;
35618
- const command = trimmed.match(/^command\s*=\s*['\"]([^'\"]+)['\"]/)?.[1];
35718
+ const command = trimmed.match(/^command\s*=\s*['"]([^'"]+)['"]/)?.[1];
35619
35719
  if (typeof command === "string")
35620
35720
  return hasMissingNodeRuntime(command);
35621
35721
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-codex",
3
- "version": "0.214.0",
3
+ "version": "0.214.2",
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.214.0",
28
- "@signetai/core": "0.214.0"
27
+ "@signetai/connector-base": "0.214.2",
28
+ "@signetai/core": "0.214.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",