@signetai/connector-hermes-agent 0.196.0 → 0.196.2

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 +38 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -11168,6 +11168,18 @@ function up127(db) {
11168
11168
  ON ontology_contradictions(agent_id, left_source_id, right_source_id);
11169
11169
  `);
11170
11170
  }
11171
+ function up128(db) {
11172
+ db.exec(`
11173
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_status_created_at
11174
+ ON memory_jobs(status, created_at)
11175
+ WHERE job_type <> 'extract';
11176
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_error_updated_at
11177
+ ON memory_jobs(updated_at DESC)
11178
+ WHERE status IN ('pending', 'leased', 'dead')
11179
+ AND job_type <> 'extract'
11180
+ AND error IS NOT NULL;
11181
+ `);
11182
+ }
11171
11183
  var MIGRATIONS = [
11172
11184
  {
11173
11185
  version: 1,
@@ -12194,6 +12206,11 @@ var MIGRATIONS = [
12194
12206
  name: "ontology-contradictions",
12195
12207
  up: up127,
12196
12208
  artifacts: { tables: ["ontology_contradictions"] }
12209
+ },
12210
+ {
12211
+ version: 128,
12212
+ name: "bounded-queue-diagnostics",
12213
+ up: up128
12197
12214
  }
12198
12215
  ];
12199
12216
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19555,7 +19572,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19555
19572
  return true;
19556
19573
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19557
19574
  }
19558
- function up128(db) {
19575
+ function up129(db) {
19559
19576
  db.exec(`
19560
19577
  CREATE TABLE IF NOT EXISTS schema_migrations (
19561
19578
  version INTEGER PRIMARY KEY,
@@ -19998,7 +20015,7 @@ function up1110(db) {
19998
20015
  ON session_scores(session_key);
19999
20016
  `);
20000
20017
  }
20001
- function up129(db) {
20018
+ function up1210(db) {
20002
20019
  db.exec(`
20003
20020
  CREATE TABLE IF NOT EXISTS scheduled_tasks (
20004
20021
  id TEXT PRIMARY KEY,
@@ -23661,11 +23678,23 @@ function up1272(db) {
23661
23678
  ON ontology_contradictions(agent_id, left_source_id, right_source_id);
23662
23679
  `);
23663
23680
  }
23681
+ function up1282(db) {
23682
+ db.exec(`
23683
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_status_created_at
23684
+ ON memory_jobs(status, created_at)
23685
+ WHERE job_type <> 'extract';
23686
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_error_updated_at
23687
+ ON memory_jobs(updated_at DESC)
23688
+ WHERE status IN ('pending', 'leased', 'dead')
23689
+ AND job_type <> 'extract'
23690
+ AND error IS NOT NULL;
23691
+ `);
23692
+ }
23664
23693
  var MIGRATIONS2 = [
23665
23694
  {
23666
23695
  version: 1,
23667
23696
  name: "baseline",
23668
- up: up128,
23697
+ up: up129,
23669
23698
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
23670
23699
  },
23671
23700
  {
@@ -23737,7 +23766,7 @@ var MIGRATIONS2 = [
23737
23766
  {
23738
23767
  version: 12,
23739
23768
  name: "scheduled-tasks",
23740
- up: up129,
23769
+ up: up1210,
23741
23770
  artifacts: { tables: ["scheduled_tasks", "task_runs"] }
23742
23771
  },
23743
23772
  {
@@ -24687,6 +24716,11 @@ var MIGRATIONS2 = [
24687
24716
  name: "ontology-contradictions",
24688
24717
  up: up1272,
24689
24718
  artifacts: { tables: ["ontology_contradictions"] }
24719
+ },
24720
+ {
24721
+ version: 128,
24722
+ name: "bounded-queue-diagnostics",
24723
+ up: up1282
24690
24724
  }
24691
24725
  ];
24692
24726
  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.196.0",
3
+ "version": "0.196.2",
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.196.0",
29
- "@signetai/core": "0.196.0"
28
+ "@signetai/connector-base": "0.196.2",
29
+ "@signetai/core": "0.196.2"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",