@signetai/connector-codex 0.189.2 → 0.191.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 +64 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -10836,6 +10836,23 @@ function up121(db) {
10836
10836
  VALUES (1, CURRENT_TIMESTAMP);
10837
10837
  `);
10838
10838
  }
10839
+ function up122(db) {
10840
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
10841
+ const names = new Set(columns.map((column) => column.name));
10842
+ if (!names.has("failure_class")) {
10843
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN failure_class TEXT NOT NULL DEFAULT 'unknown' CHECK (failure_class IN ('incomplete_transcript', 'source_projection', 'scope_mismatch', 'quote_mismatch', 'unknown'))");
10844
+ }
10845
+ if (!names.has("source_fingerprint")) {
10846
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
10847
+ }
10848
+ if (!names.has("retry_count")) {
10849
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
10850
+ }
10851
+ if (!names.has("last_requeued_at")) {
10852
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
10853
+ }
10854
+ db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
10855
+ }
10839
10856
  var MIGRATIONS = [
10840
10857
  {
10841
10858
  version: 1,
@@ -11817,6 +11834,19 @@ var MIGRATIONS = [
11817
11834
  { table: "telemetry_events", column: "last_failure_code" }
11818
11835
  ]
11819
11836
  }
11837
+ },
11838
+ {
11839
+ version: 122,
11840
+ name: "dreaming-evidence-retry",
11841
+ up: up122,
11842
+ artifacts: {
11843
+ columns: [
11844
+ { table: "dreaming_evidence_exclusions", column: "failure_class" },
11845
+ { table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
11846
+ { table: "dreaming_evidence_exclusions", column: "retry_count" },
11847
+ { table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
11848
+ ]
11849
+ }
11820
11850
  }
11821
11851
  ];
11822
11852
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19200,7 +19230,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19200
19230
  return true;
19201
19231
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19202
19232
  }
19203
- function up122(db) {
19233
+ function up123(db) {
19204
19234
  db.exec(`
19205
19235
  CREATE TABLE IF NOT EXISTS schema_migrations (
19206
19236
  version INTEGER PRIMARY KEY,
@@ -19643,7 +19673,7 @@ function up1110(db) {
19643
19673
  ON session_scores(session_key);
19644
19674
  `);
19645
19675
  }
19646
- function up123(db) {
19676
+ function up124(db) {
19647
19677
  db.exec(`
19648
19678
  CREATE TABLE IF NOT EXISTS scheduled_tasks (
19649
19679
  id TEXT PRIMARY KEY,
@@ -23068,11 +23098,28 @@ function up1212(db) {
23068
23098
  VALUES (1, CURRENT_TIMESTAMP);
23069
23099
  `);
23070
23100
  }
23101
+ function up1222(db) {
23102
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
23103
+ const names = new Set(columns.map((column) => column.name));
23104
+ if (!names.has("failure_class")) {
23105
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN failure_class TEXT NOT NULL DEFAULT 'unknown' CHECK (failure_class IN ('incomplete_transcript', 'source_projection', 'scope_mismatch', 'quote_mismatch', 'unknown'))");
23106
+ }
23107
+ if (!names.has("source_fingerprint")) {
23108
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
23109
+ }
23110
+ if (!names.has("retry_count")) {
23111
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
23112
+ }
23113
+ if (!names.has("last_requeued_at")) {
23114
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
23115
+ }
23116
+ db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
23117
+ }
23071
23118
  var MIGRATIONS2 = [
23072
23119
  {
23073
23120
  version: 1,
23074
23121
  name: "baseline",
23075
- up: up122,
23122
+ up: up123,
23076
23123
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
23077
23124
  },
23078
23125
  {
@@ -23144,7 +23191,7 @@ var MIGRATIONS2 = [
23144
23191
  {
23145
23192
  version: 12,
23146
23193
  name: "scheduled-tasks",
23147
- up: up123,
23194
+ up: up124,
23148
23195
  artifacts: { tables: ["scheduled_tasks", "task_runs"] }
23149
23196
  },
23150
23197
  {
@@ -24049,6 +24096,19 @@ var MIGRATIONS2 = [
24049
24096
  { table: "telemetry_events", column: "last_failure_code" }
24050
24097
  ]
24051
24098
  }
24099
+ },
24100
+ {
24101
+ version: 122,
24102
+ name: "dreaming-evidence-retry",
24103
+ up: up1222,
24104
+ artifacts: {
24105
+ columns: [
24106
+ { table: "dreaming_evidence_exclusions", column: "failure_class" },
24107
+ { table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
24108
+ { table: "dreaming_evidence_exclusions", column: "retry_count" },
24109
+ { table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
24110
+ ]
24111
+ }
24052
24112
  }
24053
24113
  ];
24054
24114
  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.189.2",
3
+ "version": "0.191.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.189.2",
28
- "@signetai/core": "0.189.2"
27
+ "@signetai/connector-base": "0.191.0",
28
+ "@signetai/core": "0.191.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",