@signetai/connector-gemini 0.190.0 → 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
@@ -10850,6 +10850,23 @@ function up121(db) {
10850
10850
  VALUES (1, CURRENT_TIMESTAMP);
10851
10851
  `);
10852
10852
  }
10853
+ function up122(db) {
10854
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
10855
+ const names = new Set(columns.map((column) => column.name));
10856
+ if (!names.has("failure_class")) {
10857
+ 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'))");
10858
+ }
10859
+ if (!names.has("source_fingerprint")) {
10860
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
10861
+ }
10862
+ if (!names.has("retry_count")) {
10863
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
10864
+ }
10865
+ if (!names.has("last_requeued_at")) {
10866
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
10867
+ }
10868
+ 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)");
10869
+ }
10853
10870
  var MIGRATIONS = [
10854
10871
  {
10855
10872
  version: 1,
@@ -11831,6 +11848,19 @@ var MIGRATIONS = [
11831
11848
  { table: "telemetry_events", column: "last_failure_code" }
11832
11849
  ]
11833
11850
  }
11851
+ },
11852
+ {
11853
+ version: 122,
11854
+ name: "dreaming-evidence-retry",
11855
+ up: up122,
11856
+ artifacts: {
11857
+ columns: [
11858
+ { table: "dreaming_evidence_exclusions", column: "failure_class" },
11859
+ { table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
11860
+ { table: "dreaming_evidence_exclusions", column: "retry_count" },
11861
+ { table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
11862
+ ]
11863
+ }
11834
11864
  }
11835
11865
  ];
11836
11866
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19231,7 +19261,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19231
19261
  return true;
19232
19262
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19233
19263
  }
19234
- function up122(db) {
19264
+ function up123(db) {
19235
19265
  db.exec(`
19236
19266
  CREATE TABLE IF NOT EXISTS schema_migrations (
19237
19267
  version INTEGER PRIMARY KEY,
@@ -19674,7 +19704,7 @@ function up1110(db) {
19674
19704
  ON session_scores(session_key);
19675
19705
  `);
19676
19706
  }
19677
- function up123(db) {
19707
+ function up124(db) {
19678
19708
  db.exec(`
19679
19709
  CREATE TABLE IF NOT EXISTS scheduled_tasks (
19680
19710
  id TEXT PRIMARY KEY,
@@ -23099,11 +23129,28 @@ function up1212(db) {
23099
23129
  VALUES (1, CURRENT_TIMESTAMP);
23100
23130
  `);
23101
23131
  }
23132
+ function up1222(db) {
23133
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
23134
+ const names = new Set(columns.map((column) => column.name));
23135
+ if (!names.has("failure_class")) {
23136
+ 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'))");
23137
+ }
23138
+ if (!names.has("source_fingerprint")) {
23139
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
23140
+ }
23141
+ if (!names.has("retry_count")) {
23142
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
23143
+ }
23144
+ if (!names.has("last_requeued_at")) {
23145
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
23146
+ }
23147
+ 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)");
23148
+ }
23102
23149
  var MIGRATIONS2 = [
23103
23150
  {
23104
23151
  version: 1,
23105
23152
  name: "baseline",
23106
- up: up122,
23153
+ up: up123,
23107
23154
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
23108
23155
  },
23109
23156
  {
@@ -23175,7 +23222,7 @@ var MIGRATIONS2 = [
23175
23222
  {
23176
23223
  version: 12,
23177
23224
  name: "scheduled-tasks",
23178
- up: up123,
23225
+ up: up124,
23179
23226
  artifacts: { tables: ["scheduled_tasks", "task_runs"] }
23180
23227
  },
23181
23228
  {
@@ -24080,6 +24127,19 @@ var MIGRATIONS2 = [
24080
24127
  { table: "telemetry_events", column: "last_failure_code" }
24081
24128
  ]
24082
24129
  }
24130
+ },
24131
+ {
24132
+ version: 122,
24133
+ name: "dreaming-evidence-retry",
24134
+ up: up1222,
24135
+ artifacts: {
24136
+ columns: [
24137
+ { table: "dreaming_evidence_exclusions", column: "failure_class" },
24138
+ { table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
24139
+ { table: "dreaming_evidence_exclusions", column: "retry_count" },
24140
+ { table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
24141
+ ]
24142
+ }
24083
24143
  }
24084
24144
  ];
24085
24145
  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-gemini",
3
- "version": "0.190.0",
3
+ "version": "0.191.0",
4
4
  "description": "Signet connector for Gemini 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.190.0",
28
- "@signetai/core": "0.190.0"
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",