@signetai/connector-hermes-agent 0.226.18 → 0.226.20

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 +28 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -15910,6 +15910,12 @@ function up157(db) {
15910
15910
  );
15911
15911
  `);
15912
15912
  }
15913
+ function up158(db) {
15914
+ db.exec(`
15915
+ CREATE INDEX IF NOT EXISTS idx_memories_agent_kind
15916
+ ON memories(agent_id, memory_kind);
15917
+ `);
15918
+ }
15913
15919
  var MIGRATIONS = [
15914
15920
  {
15915
15921
  version: 1,
@@ -17190,6 +17196,12 @@ var MIGRATIONS = [
17190
17196
  tables: ["embedding_repair_progress"],
17191
17197
  columns: [{ table: "embedding_repair_checkpoints", column: "profile_fingerprint" }]
17192
17198
  }
17199
+ },
17200
+ {
17201
+ version: 158,
17202
+ name: "dreaming-candidate-scan-index",
17203
+ up: up158,
17204
+ artifacts: { indexes: ["idx_memories_agent_kind"] }
17193
17205
  }
17194
17206
  ];
17195
17207
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -27994,7 +28006,7 @@ var DAEMON_DERIVED_MEMORY_SOURCE_TYPES2 = [
27994
28006
  "checkpoint",
27995
28007
  "dreaming"
27996
28008
  ];
27997
- function up158(db) {
28009
+ function up159(db) {
27998
28010
  const hasColumn26 = (table, column) => {
27999
28011
  const statement = db.prepare(`SELECT 1 FROM pragma_table_info('${table}') WHERE name = ?`);
28000
28012
  try {
@@ -28644,7 +28656,7 @@ function up1410(db) {
28644
28656
  )
28645
28657
  `);
28646
28658
  }
28647
- function up159(db) {
28659
+ function up1510(db) {
28648
28660
  db.exec(`
28649
28661
  CREATE TABLE IF NOT EXISTS session_scores (
28650
28662
  id TEXT PRIMARY KEY,
@@ -33302,6 +33314,12 @@ function up1572(db) {
33302
33314
  );
33303
33315
  `);
33304
33316
  }
33317
+ function up1582(db) {
33318
+ db.exec(`
33319
+ CREATE INDEX IF NOT EXISTS idx_memories_agent_kind
33320
+ ON memories(agent_id, memory_kind);
33321
+ `);
33322
+ }
33305
33323
  var MIGRATIONS2 = [
33306
33324
  {
33307
33325
  version: 1,
@@ -33372,7 +33390,7 @@ var MIGRATIONS2 = [
33372
33390
  {
33373
33391
  version: 11,
33374
33392
  name: "session-scores",
33375
- up: up159,
33393
+ up: up1510,
33376
33394
  artifacts: { tables: ["session_scores"] }
33377
33395
  },
33378
33396
  {
@@ -34509,7 +34527,7 @@ var MIGRATIONS2 = [
34509
34527
  {
34510
34528
  version: 151,
34511
34529
  name: "transcript-import-bytes",
34512
- up: up158,
34530
+ up: up159,
34513
34531
  artifacts: {
34514
34532
  tables: [
34515
34533
  "source_import_chunks",
@@ -34582,6 +34600,12 @@ var MIGRATIONS2 = [
34582
34600
  tables: ["embedding_repair_progress"],
34583
34601
  columns: [{ table: "embedding_repair_checkpoints", column: "profile_fingerprint" }]
34584
34602
  }
34603
+ },
34604
+ {
34605
+ version: 158,
34606
+ name: "dreaming-candidate-scan-index",
34607
+ up: up1582,
34608
+ artifacts: { indexes: ["idx_memories_agent_kind"] }
34585
34609
  }
34586
34610
  ];
34587
34611
  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.226.18",
3
+ "version": "0.226.20",
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.226.18",
29
- "@signetai/core": "0.226.18"
28
+ "@signetai/connector-base": "0.226.20",
29
+ "@signetai/core": "0.226.20"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",