@signetai/connector-codex 0.150.4 → 0.151.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 +56 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -9880,6 +9880,24 @@ function up87(db) {
9880
9880
  ON summary_jobs(agent_id, session_key, boundary_reason)
9881
9881
  `);
9882
9882
  }
9883
+ function up88(db) {
9884
+ db.exec(`
9885
+ CREATE TABLE IF NOT EXISTS transcript_recovery_files (
9886
+ agent_id TEXT NOT NULL,
9887
+ source_path TEXT NOT NULL,
9888
+ harness TEXT NOT NULL,
9889
+ size_bytes INTEGER NOT NULL,
9890
+ mtime_ms INTEGER NOT NULL,
9891
+ content_sha256 TEXT NOT NULL,
9892
+ session_id TEXT NOT NULL,
9893
+ last_scanned_at TEXT NOT NULL,
9894
+ PRIMARY KEY (agent_id, source_path)
9895
+ );
9896
+
9897
+ CREATE INDEX IF NOT EXISTS idx_transcript_capture_jobs_agent_session_id
9898
+ ON transcript_capture_jobs(agent_id, session_id, status);
9899
+ `);
9900
+ }
9883
9901
  var MIGRATIONS = [
9884
9902
  {
9885
9903
  version: 1,
@@ -10591,6 +10609,14 @@ var MIGRATIONS = [
10591
10609
  artifacts: {
10592
10610
  columns: [{ table: "summary_jobs", column: "boundary_reason" }]
10593
10611
  }
10612
+ },
10613
+ {
10614
+ version: 88,
10615
+ name: "transcript-recovery-files",
10616
+ up: up88,
10617
+ artifacts: {
10618
+ tables: ["transcript_recovery_files"]
10619
+ }
10594
10620
  }
10595
10621
  ];
10596
10622
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -17949,7 +17975,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
17949
17975
  return true;
17950
17976
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
17951
17977
  }
17952
- function up88(db) {
17978
+ function up89(db) {
17953
17979
  db.exec(`
17954
17980
  CREATE TABLE IF NOT EXISTS schema_migrations (
17955
17981
  version INTEGER PRIMARY KEY,
@@ -18324,7 +18350,7 @@ function up710(db) {
18324
18350
  db.exec("ALTER TABLE memory_jobs ADD COLUMN document_id TEXT");
18325
18351
  }
18326
18352
  }
18327
- function up89(db) {
18353
+ function up810(db) {
18328
18354
  const tables = db.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='embeddings'").all();
18329
18355
  if (tables.length === 0)
18330
18356
  return;
@@ -20891,11 +20917,29 @@ function up872(db) {
20891
20917
  ON summary_jobs(agent_id, session_key, boundary_reason)
20892
20918
  `);
20893
20919
  }
20920
+ function up882(db) {
20921
+ db.exec(`
20922
+ CREATE TABLE IF NOT EXISTS transcript_recovery_files (
20923
+ agent_id TEXT NOT NULL,
20924
+ source_path TEXT NOT NULL,
20925
+ harness TEXT NOT NULL,
20926
+ size_bytes INTEGER NOT NULL,
20927
+ mtime_ms INTEGER NOT NULL,
20928
+ content_sha256 TEXT NOT NULL,
20929
+ session_id TEXT NOT NULL,
20930
+ last_scanned_at TEXT NOT NULL,
20931
+ PRIMARY KEY (agent_id, source_path)
20932
+ );
20933
+
20934
+ CREATE INDEX IF NOT EXISTS idx_transcript_capture_jobs_agent_session_id
20935
+ ON transcript_capture_jobs(agent_id, session_id, status);
20936
+ `);
20937
+ }
20894
20938
  var MIGRATIONS2 = [
20895
20939
  {
20896
20940
  version: 1,
20897
20941
  name: "baseline",
20898
- up: up88,
20942
+ up: up89,
20899
20943
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
20900
20944
  },
20901
20945
  {
@@ -20944,7 +20988,7 @@ var MIGRATIONS2 = [
20944
20988
  {
20945
20989
  version: 8,
20946
20990
  name: "embeddings-unique-hash",
20947
- up: up89
20991
+ up: up810
20948
20992
  },
20949
20993
  {
20950
20994
  version: 9,
@@ -21602,6 +21646,14 @@ var MIGRATIONS2 = [
21602
21646
  artifacts: {
21603
21647
  columns: [{ table: "summary_jobs", column: "boundary_reason" }]
21604
21648
  }
21649
+ },
21650
+ {
21651
+ version: 88,
21652
+ name: "transcript-recovery-files",
21653
+ up: up882,
21654
+ artifacts: {
21655
+ tables: ["transcript_recovery_files"]
21656
+ }
21605
21657
  }
21606
21658
  ];
21607
21659
  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.150.4",
3
+ "version": "0.151.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.150.4",
28
- "@signetai/core": "0.150.4"
27
+ "@signetai/connector-base": "0.151.0",
28
+ "@signetai/core": "0.151.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",