@signetai/connector-forge 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;
@@ -19269,7 +19283,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19269
19283
  return true;
19270
19284
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19271
19285
  }
19272
- function up119(db) {
19286
+ function up120(db) {
19273
19287
  db.exec(`
19274
19288
  CREATE TABLE IF NOT EXISTS schema_migrations (
19275
19289
  version INTEGER PRIMARY KEY,
@@ -19358,12 +19372,12 @@ function up119(db) {
19358
19372
  } catch {}
19359
19373
  createMemoriesFts2(db);
19360
19374
  }
19361
- function hasColumn22(db, table, column) {
19375
+ function hasColumn23(db, table, column) {
19362
19376
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
19363
19377
  return rows.some((r) => r.name === column);
19364
19378
  }
19365
19379
  function addColumnIfMissing26(db, table, column, definition) {
19366
- if (!hasColumn22(db, table, column)) {
19380
+ if (!hasColumn23(db, table, column)) {
19367
19381
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
19368
19382
  }
19369
19383
  }
@@ -19513,12 +19527,12 @@ function up310(db) {
19513
19527
  WHERE content_hash IS NOT NULL AND is_deleted = 0
19514
19528
  `);
19515
19529
  }
19516
- function hasColumn23(db, table, column) {
19530
+ function hasColumn24(db, table, column) {
19517
19531
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
19518
19532
  return rows.some((r) => r.name === column);
19519
19533
  }
19520
19534
  function addColumnIfMissing32(db, table, column, definition) {
19521
- if (!hasColumn23(db, table, column)) {
19535
+ if (!hasColumn24(db, table, column)) {
19522
19536
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
19523
19537
  }
19524
19538
  }
@@ -23079,11 +23093,19 @@ function up1182(db) {
23079
23093
  WHERE status IN ('pending', 'leased');
23080
23094
  `);
23081
23095
  }
23096
+ function hasColumn222(db, table, column) {
23097
+ return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
23098
+ }
23099
+ function up1192(db) {
23100
+ if (!hasColumn222(db, "telemetry_install", "last_seen_version")) {
23101
+ db.exec("ALTER TABLE telemetry_install ADD COLUMN last_seen_version TEXT");
23102
+ }
23103
+ }
23082
23104
  var MIGRATIONS2 = [
23083
23105
  {
23084
23106
  version: 1,
23085
23107
  name: "baseline",
23086
- up: up119,
23108
+ up: up120,
23087
23109
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
23088
23110
  },
23089
23111
  {
@@ -24034,6 +24056,12 @@ var MIGRATIONS2 = [
24034
24056
  version: 118,
24035
24057
  name: "queue-pressure-indices",
24036
24058
  up: up1182
24059
+ },
24060
+ {
24061
+ version: 119,
24062
+ name: "telemetry-version-observation",
24063
+ up: up1192,
24064
+ artifacts: { columns: [{ table: "telemetry_install", column: "last_seen_version" }] }
24037
24065
  }
24038
24066
  ];
24039
24067
  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-forge",
3
- "version": "0.185.7",
3
+ "version": "0.185.8",
4
4
  "description": "Signet connector for ForgeCode - installs MCP, identity, and skills integration",
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",