@signetai/connector-gemini 0.177.0 → 0.178.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 +54 -8
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -10402,6 +10402,18 @@ function up110(db) {
10402
10402
  ON memory_entity_mentions(entity_id, memory_id);
10403
10403
  `);
10404
10404
  }
10405
+ function hasColumn19(db, table, column) {
10406
+ const rows = db.prepare(`PRAGMA table_info(${table})`).all();
10407
+ return rows.some((row) => row.name === column);
10408
+ }
10409
+ var COLUMNS2 = ["first_remember_at", "first_recall_at"];
10410
+ function up111(db) {
10411
+ for (const column of COLUMNS2) {
10412
+ if (!hasColumn19(db, "telemetry_install", column)) {
10413
+ db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
10414
+ }
10415
+ }
10416
+ }
10405
10417
  var MIGRATIONS = [
10406
10418
  {
10407
10419
  version: 1,
@@ -11277,6 +11289,17 @@ var MIGRATIONS = [
11277
11289
  version: 110,
11278
11290
  name: "memory-mention-join-index",
11279
11291
  up: up110
11292
+ },
11293
+ {
11294
+ version: 111,
11295
+ name: "telemetry-first-use",
11296
+ up: up111,
11297
+ artifacts: {
11298
+ columns: [
11299
+ { table: "telemetry_install", column: "first_remember_at" },
11300
+ { table: "telemetry_install", column: "first_recall_at" }
11301
+ ]
11302
+ }
11280
11303
  }
11281
11304
  ];
11282
11305
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -18673,7 +18696,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
18673
18696
  return true;
18674
18697
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
18675
18698
  }
18676
- function up111(db) {
18699
+ function up112(db) {
18677
18700
  db.exec(`
18678
18701
  CREATE TABLE IF NOT EXISTS schema_migrations (
18679
18702
  version INTEGER PRIMARY KEY,
@@ -18762,12 +18785,12 @@ function up111(db) {
18762
18785
  } catch {}
18763
18786
  createMemoriesFts2(db);
18764
18787
  }
18765
- function hasColumn19(db, table, column) {
18788
+ function hasColumn20(db, table, column) {
18766
18789
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
18767
18790
  return rows.some((r) => r.name === column);
18768
18791
  }
18769
18792
  function addColumnIfMissing23(db, table, column, definition) {
18770
- if (!hasColumn19(db, table, column)) {
18793
+ if (!hasColumn20(db, table, column)) {
18771
18794
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
18772
18795
  }
18773
18796
  }
@@ -19096,7 +19119,7 @@ function up1010(db) {
19096
19119
  )
19097
19120
  `);
19098
19121
  }
19099
- function up112(db) {
19122
+ function up113(db) {
19100
19123
  db.exec(`
19101
19124
  CREATE TABLE IF NOT EXISTS session_scores (
19102
19125
  id TEXT PRIMARY KEY,
@@ -21342,9 +21365,9 @@ function hasColumn112(db, table, column) {
21342
21365
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
21343
21366
  return rows.some((row) => row.name === column);
21344
21367
  }
21345
- var COLUMNS2 = ["harness", "session_id", "tool_use_id", "cwd", "origin", "args"];
21368
+ var COLUMNS3 = ["harness", "session_id", "tool_use_id", "cwd", "origin", "args"];
21346
21369
  function up822(db) {
21347
- for (const column of COLUMNS2) {
21370
+ for (const column of COLUMNS3) {
21348
21371
  if (!hasColumn112(db, "skill_invocations", column)) {
21349
21372
  db.exec(`ALTER TABLE skill_invocations ADD COLUMN ${column} TEXT`);
21350
21373
  }
@@ -22096,11 +22119,23 @@ function up1102(db) {
22096
22119
  ON memory_entity_mentions(entity_id, memory_id);
22097
22120
  `);
22098
22121
  }
22122
+ function hasColumn192(db, table, column) {
22123
+ const rows = db.prepare(`PRAGMA table_info(${table})`).all();
22124
+ return rows.some((row) => row.name === column);
22125
+ }
22126
+ var COLUMNS22 = ["first_remember_at", "first_recall_at"];
22127
+ function up1112(db) {
22128
+ for (const column of COLUMNS22) {
22129
+ if (!hasColumn192(db, "telemetry_install", column)) {
22130
+ db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
22131
+ }
22132
+ }
22133
+ }
22099
22134
  var MIGRATIONS2 = [
22100
22135
  {
22101
22136
  version: 1,
22102
22137
  name: "baseline",
22103
- up: up111,
22138
+ up: up112,
22104
22139
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
22105
22140
  },
22106
22141
  {
@@ -22166,7 +22201,7 @@ var MIGRATIONS2 = [
22166
22201
  {
22167
22202
  version: 11,
22168
22203
  name: "session-scores",
22169
- up: up112,
22204
+ up: up113,
22170
22205
  artifacts: { tables: ["session_scores"] }
22171
22206
  },
22172
22207
  {
@@ -22971,6 +23006,17 @@ var MIGRATIONS2 = [
22971
23006
  version: 110,
22972
23007
  name: "memory-mention-join-index",
22973
23008
  up: up1102
23009
+ },
23010
+ {
23011
+ version: 111,
23012
+ name: "telemetry-first-use",
23013
+ up: up1112,
23014
+ artifacts: {
23015
+ columns: [
23016
+ { table: "telemetry_install", column: "first_remember_at" },
23017
+ { table: "telemetry_install", column: "first_recall_at" }
23018
+ ]
23019
+ }
22974
23020
  }
22975
23021
  ];
22976
23022
  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.177.0",
3
+ "version": "0.178.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.177.0",
28
- "@signetai/core": "0.177.0"
27
+ "@signetai/connector-base": "0.178.0",
28
+ "@signetai/core": "0.178.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",