@signetai/connector-gemini 0.185.7 → 0.185.8

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 +34 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -10792,6 +10792,14 @@ function up118(db) {
10792
10792
  WHERE status IN ('pending', 'leased');
10793
10793
  `);
10794
10794
  }
10795
+ function hasColumn22(db, table, column) {
10796
+ return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
10797
+ }
10798
+ function up119(db) {
10799
+ if (!hasColumn22(db, "telemetry_install", "last_seen_version")) {
10800
+ db.exec("ALTER TABLE telemetry_install ADD COLUMN last_seen_version TEXT");
10801
+ }
10802
+ }
10795
10803
  var MIGRATIONS = [
10796
10804
  {
10797
10805
  version: 1,
@@ -11747,6 +11755,12 @@ var MIGRATIONS = [
11747
11755
  version: 118,
11748
11756
  name: "queue-pressure-indices",
11749
11757
  up: up118
11758
+ },
11759
+ {
11760
+ version: 119,
11761
+ name: "telemetry-version-observation",
11762
+ up: up119,
11763
+ artifacts: { columns: [{ table: "telemetry_install", column: "last_seen_version" }] }
11750
11764
  }
11751
11765
  ];
11752
11766
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19147,7 +19161,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19147
19161
  return true;
19148
19162
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19149
19163
  }
19150
- function up119(db) {
19164
+ function up120(db) {
19151
19165
  db.exec(`
19152
19166
  CREATE TABLE IF NOT EXISTS schema_migrations (
19153
19167
  version INTEGER PRIMARY KEY,
@@ -19236,12 +19250,12 @@ function up119(db) {
19236
19250
  } catch {}
19237
19251
  createMemoriesFts2(db);
19238
19252
  }
19239
- function hasColumn22(db, table, column) {
19253
+ function hasColumn23(db, table, column) {
19240
19254
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
19241
19255
  return rows.some((r) => r.name === column);
19242
19256
  }
19243
19257
  function addColumnIfMissing26(db, table, column, definition) {
19244
- if (!hasColumn22(db, table, column)) {
19258
+ if (!hasColumn23(db, table, column)) {
19245
19259
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
19246
19260
  }
19247
19261
  }
@@ -19391,12 +19405,12 @@ function up310(db) {
19391
19405
  WHERE content_hash IS NOT NULL AND is_deleted = 0
19392
19406
  `);
19393
19407
  }
19394
- function hasColumn23(db, table, column) {
19408
+ function hasColumn24(db, table, column) {
19395
19409
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
19396
19410
  return rows.some((r) => r.name === column);
19397
19411
  }
19398
19412
  function addColumnIfMissing32(db, table, column, definition) {
19399
- if (!hasColumn23(db, table, column)) {
19413
+ if (!hasColumn24(db, table, column)) {
19400
19414
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
19401
19415
  }
19402
19416
  }
@@ -22957,11 +22971,19 @@ function up1182(db) {
22957
22971
  WHERE status IN ('pending', 'leased');
22958
22972
  `);
22959
22973
  }
22974
+ function hasColumn222(db, table, column) {
22975
+ return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
22976
+ }
22977
+ function up1192(db) {
22978
+ if (!hasColumn222(db, "telemetry_install", "last_seen_version")) {
22979
+ db.exec("ALTER TABLE telemetry_install ADD COLUMN last_seen_version TEXT");
22980
+ }
22981
+ }
22960
22982
  var MIGRATIONS2 = [
22961
22983
  {
22962
22984
  version: 1,
22963
22985
  name: "baseline",
22964
- up: up119,
22986
+ up: up120,
22965
22987
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
22966
22988
  },
22967
22989
  {
@@ -23912,6 +23934,12 @@ var MIGRATIONS2 = [
23912
23934
  version: 118,
23913
23935
  name: "queue-pressure-indices",
23914
23936
  up: up1182
23937
+ },
23938
+ {
23939
+ version: 119,
23940
+ name: "telemetry-version-observation",
23941
+ up: up1192,
23942
+ artifacts: { columns: [{ table: "telemetry_install", column: "last_seen_version" }] }
23915
23943
  }
23916
23944
  ];
23917
23945
  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.185.7",
3
+ "version": "0.185.8",
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.185.7",
28
- "@signetai/core": "0.185.7"
27
+ "@signetai/connector-base": "0.185.8",
28
+ "@signetai/core": "0.185.8"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",