@signetai/connector-hermes-agent 0.185.6 → 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
@@ -10779,6 +10779,14 @@ function up118(db) {
10779
10779
  WHERE status IN ('pending', 'leased');
10780
10780
  `);
10781
10781
  }
10782
+ function hasColumn22(db, table, column) {
10783
+ return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
10784
+ }
10785
+ function up119(db) {
10786
+ if (!hasColumn22(db, "telemetry_install", "last_seen_version")) {
10787
+ db.exec("ALTER TABLE telemetry_install ADD COLUMN last_seen_version TEXT");
10788
+ }
10789
+ }
10782
10790
  var MIGRATIONS = [
10783
10791
  {
10784
10792
  version: 1,
@@ -11734,6 +11742,12 @@ var MIGRATIONS = [
11734
11742
  version: 118,
11735
11743
  name: "queue-pressure-indices",
11736
11744
  up: up118
11745
+ },
11746
+ {
11747
+ version: 119,
11748
+ name: "telemetry-version-observation",
11749
+ up: up119,
11750
+ artifacts: { columns: [{ table: "telemetry_install", column: "last_seen_version" }] }
11737
11751
  }
11738
11752
  ];
11739
11753
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19002,7 +19016,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19002
19016
  return true;
19003
19017
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19004
19018
  }
19005
- function up119(db) {
19019
+ function up120(db) {
19006
19020
  db.exec(`
19007
19021
  CREATE TABLE IF NOT EXISTS schema_migrations (
19008
19022
  version INTEGER PRIMARY KEY,
@@ -19091,12 +19105,12 @@ function up119(db) {
19091
19105
  } catch {}
19092
19106
  createMemoriesFts2(db);
19093
19107
  }
19094
- function hasColumn22(db, table, column) {
19108
+ function hasColumn23(db, table, column) {
19095
19109
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
19096
19110
  return rows.some((r) => r.name === column);
19097
19111
  }
19098
19112
  function addColumnIfMissing26(db, table, column, definition) {
19099
- if (!hasColumn22(db, table, column)) {
19113
+ if (!hasColumn23(db, table, column)) {
19100
19114
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
19101
19115
  }
19102
19116
  }
@@ -19246,12 +19260,12 @@ function up310(db) {
19246
19260
  WHERE content_hash IS NOT NULL AND is_deleted = 0
19247
19261
  `);
19248
19262
  }
19249
- function hasColumn23(db, table, column) {
19263
+ function hasColumn24(db, table, column) {
19250
19264
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
19251
19265
  return rows.some((r) => r.name === column);
19252
19266
  }
19253
19267
  function addColumnIfMissing32(db, table, column, definition) {
19254
- if (!hasColumn23(db, table, column)) {
19268
+ if (!hasColumn24(db, table, column)) {
19255
19269
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
19256
19270
  }
19257
19271
  }
@@ -22812,11 +22826,19 @@ function up1182(db) {
22812
22826
  WHERE status IN ('pending', 'leased');
22813
22827
  `);
22814
22828
  }
22829
+ function hasColumn222(db, table, column) {
22830
+ return db.prepare(`PRAGMA table_info(${table})`).all().some((row) => row.name === column);
22831
+ }
22832
+ function up1192(db) {
22833
+ if (!hasColumn222(db, "telemetry_install", "last_seen_version")) {
22834
+ db.exec("ALTER TABLE telemetry_install ADD COLUMN last_seen_version TEXT");
22835
+ }
22836
+ }
22815
22837
  var MIGRATIONS2 = [
22816
22838
  {
22817
22839
  version: 1,
22818
22840
  name: "baseline",
22819
- up: up119,
22841
+ up: up120,
22820
22842
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
22821
22843
  },
22822
22844
  {
@@ -23767,6 +23789,12 @@ var MIGRATIONS2 = [
23767
23789
  version: 118,
23768
23790
  name: "queue-pressure-indices",
23769
23791
  up: up1182
23792
+ },
23793
+ {
23794
+ version: 119,
23795
+ name: "telemetry-version-observation",
23796
+ up: up1192,
23797
+ artifacts: { columns: [{ table: "telemetry_install", column: "last_seen_version" }] }
23770
23798
  }
23771
23799
  ];
23772
23800
  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-hermes-agent",
3
- "version": "0.185.6",
3
+ "version": "0.185.8",
4
4
  "description": "Signet connector for Hermes Agent — installs Signet as a pluggable memory provider",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,8 +25,8 @@
25
25
  "typecheck": "tsc --noEmit"
26
26
  },
27
27
  "dependencies": {
28
- "@signetai/connector-base": "0.185.6",
29
- "@signetai/core": "0.185.6"
28
+ "@signetai/connector-base": "0.185.8",
29
+ "@signetai/core": "0.185.8"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",