@signetai/connector-hermes-agent 0.150.4 → 0.151.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 +56 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -9881,6 +9881,24 @@ function up87(db) {
9881
9881
  ON summary_jobs(agent_id, session_key, boundary_reason)
9882
9882
  `);
9883
9883
  }
9884
+ function up88(db) {
9885
+ db.exec(`
9886
+ CREATE TABLE IF NOT EXISTS transcript_recovery_files (
9887
+ agent_id TEXT NOT NULL,
9888
+ source_path TEXT NOT NULL,
9889
+ harness TEXT NOT NULL,
9890
+ size_bytes INTEGER NOT NULL,
9891
+ mtime_ms INTEGER NOT NULL,
9892
+ content_sha256 TEXT NOT NULL,
9893
+ session_id TEXT NOT NULL,
9894
+ last_scanned_at TEXT NOT NULL,
9895
+ PRIMARY KEY (agent_id, source_path)
9896
+ );
9897
+
9898
+ CREATE INDEX IF NOT EXISTS idx_transcript_capture_jobs_agent_session_id
9899
+ ON transcript_capture_jobs(agent_id, session_id, status);
9900
+ `);
9901
+ }
9884
9902
  var MIGRATIONS = [
9885
9903
  {
9886
9904
  version: 1,
@@ -10592,6 +10610,14 @@ var MIGRATIONS = [
10592
10610
  artifacts: {
10593
10611
  columns: [{ table: "summary_jobs", column: "boundary_reason" }]
10594
10612
  }
10613
+ },
10614
+ {
10615
+ version: 88,
10616
+ name: "transcript-recovery-files",
10617
+ up: up88,
10618
+ artifacts: {
10619
+ tables: ["transcript_recovery_files"]
10620
+ }
10595
10621
  }
10596
10622
  ];
10597
10623
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -17932,7 +17958,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
17932
17958
  return true;
17933
17959
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
17934
17960
  }
17935
- function up88(db) {
17961
+ function up89(db) {
17936
17962
  db.exec(`
17937
17963
  CREATE TABLE IF NOT EXISTS schema_migrations (
17938
17964
  version INTEGER PRIMARY KEY,
@@ -18307,7 +18333,7 @@ function up710(db) {
18307
18333
  db.exec("ALTER TABLE memory_jobs ADD COLUMN document_id TEXT");
18308
18334
  }
18309
18335
  }
18310
- function up89(db) {
18336
+ function up810(db) {
18311
18337
  const tables = db.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='embeddings'").all();
18312
18338
  if (tables.length === 0)
18313
18339
  return;
@@ -20874,11 +20900,29 @@ function up872(db) {
20874
20900
  ON summary_jobs(agent_id, session_key, boundary_reason)
20875
20901
  `);
20876
20902
  }
20903
+ function up882(db) {
20904
+ db.exec(`
20905
+ CREATE TABLE IF NOT EXISTS transcript_recovery_files (
20906
+ agent_id TEXT NOT NULL,
20907
+ source_path TEXT NOT NULL,
20908
+ harness TEXT NOT NULL,
20909
+ size_bytes INTEGER NOT NULL,
20910
+ mtime_ms INTEGER NOT NULL,
20911
+ content_sha256 TEXT NOT NULL,
20912
+ session_id TEXT NOT NULL,
20913
+ last_scanned_at TEXT NOT NULL,
20914
+ PRIMARY KEY (agent_id, source_path)
20915
+ );
20916
+
20917
+ CREATE INDEX IF NOT EXISTS idx_transcript_capture_jobs_agent_session_id
20918
+ ON transcript_capture_jobs(agent_id, session_id, status);
20919
+ `);
20920
+ }
20877
20921
  var MIGRATIONS2 = [
20878
20922
  {
20879
20923
  version: 1,
20880
20924
  name: "baseline",
20881
- up: up88,
20925
+ up: up89,
20882
20926
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
20883
20927
  },
20884
20928
  {
@@ -20927,7 +20971,7 @@ var MIGRATIONS2 = [
20927
20971
  {
20928
20972
  version: 8,
20929
20973
  name: "embeddings-unique-hash",
20930
- up: up89
20974
+ up: up810
20931
20975
  },
20932
20976
  {
20933
20977
  version: 9,
@@ -21585,6 +21629,14 @@ var MIGRATIONS2 = [
21585
21629
  artifacts: {
21586
21630
  columns: [{ table: "summary_jobs", column: "boundary_reason" }]
21587
21631
  }
21632
+ },
21633
+ {
21634
+ version: 88,
21635
+ name: "transcript-recovery-files",
21636
+ up: up882,
21637
+ artifacts: {
21638
+ tables: ["transcript_recovery_files"]
21639
+ }
21588
21640
  }
21589
21641
  ];
21590
21642
  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.150.4",
3
+ "version": "0.151.0",
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.150.4",
29
- "@signetai/core": "0.150.4"
28
+ "@signetai/connector-base": "0.151.0",
29
+ "@signetai/core": "0.151.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",