@signetai/connector-hermes-agent 0.237.9 → 0.237.11

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 +46 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -15902,6 +15902,17 @@ function up168(db) {
15902
15902
  DROP TABLE retired_source_paragraphs;
15903
15903
  `);
15904
15904
  }
15905
+ function up169(db) {
15906
+ if (db.prepare("SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = 'dreaming_evidence_consumption'").get() == null)
15907
+ return;
15908
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_consumption)").all();
15909
+ if (!columns.some((column) => column.name === "cursor_basis")) {
15910
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN cursor_basis TEXT NOT NULL DEFAULT 'delivery' CHECK (cursor_basis IN ('delivery', 'review'))");
15911
+ }
15912
+ if (!columns.some((column) => column.name === "stalled_passes")) {
15913
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN stalled_passes INTEGER NOT NULL DEFAULT 0 CHECK (stalled_passes >= 0)");
15914
+ }
15915
+ }
15905
15916
  var MIGRATIONS = [
15906
15917
  {
15907
15918
  version: 1,
@@ -17255,6 +17266,17 @@ var MIGRATIONS = [
17255
17266
  version: 168,
17256
17267
  name: "retire-source-paragraph-claims",
17257
17268
  up: up168
17269
+ },
17270
+ {
17271
+ version: 169,
17272
+ name: "dreaming-evidence-review-cursor",
17273
+ up: up169,
17274
+ artifacts: {
17275
+ columns: [
17276
+ { table: "dreaming_evidence_consumption", column: "cursor_basis" },
17277
+ { table: "dreaming_evidence_consumption", column: "stalled_passes" }
17278
+ ]
17279
+ }
17258
17280
  }
17259
17281
  ];
17260
17282
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -28053,7 +28075,7 @@ var DAEMON_DERIVED_MEMORY_SOURCE_TYPES2 = [
28053
28075
  "checkpoint",
28054
28076
  "dreaming"
28055
28077
  ];
28056
- function up169(db) {
28078
+ function up170(db) {
28057
28079
  const hasColumn = (table, column) => {
28058
28080
  const statement = db.prepare(`SELECT 1 FROM pragma_table_info('${table}') WHERE name = ?`);
28059
28081
  try {
@@ -33557,6 +33579,17 @@ function up1682(db) {
33557
33579
  DROP TABLE retired_source_paragraphs;
33558
33580
  `);
33559
33581
  }
33582
+ function up1692(db) {
33583
+ if (db.prepare("SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = 'dreaming_evidence_consumption'").get() == null)
33584
+ return;
33585
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_consumption)").all();
33586
+ if (!columns.some((column) => column.name === "cursor_basis")) {
33587
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN cursor_basis TEXT NOT NULL DEFAULT 'delivery' CHECK (cursor_basis IN ('delivery', 'review'))");
33588
+ }
33589
+ if (!columns.some((column) => column.name === "stalled_passes")) {
33590
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN stalled_passes INTEGER NOT NULL DEFAULT 0 CHECK (stalled_passes >= 0)");
33591
+ }
33592
+ }
33560
33593
  var MIGRATIONS2 = [
33561
33594
  {
33562
33595
  version: 1,
@@ -34760,7 +34793,7 @@ var MIGRATIONS2 = [
34760
34793
  {
34761
34794
  version: 151,
34762
34795
  name: "transcript-import-bytes",
34763
- up: up169,
34796
+ up: up170,
34764
34797
  artifacts: {
34765
34798
  tables: [
34766
34799
  "source_import_chunks",
@@ -34910,6 +34943,17 @@ var MIGRATIONS2 = [
34910
34943
  version: 168,
34911
34944
  name: "retire-source-paragraph-claims",
34912
34945
  up: up1682
34946
+ },
34947
+ {
34948
+ version: 169,
34949
+ name: "dreaming-evidence-review-cursor",
34950
+ up: up1692,
34951
+ artifacts: {
34952
+ columns: [
34953
+ { table: "dreaming_evidence_consumption", column: "cursor_basis" },
34954
+ { table: "dreaming_evidence_consumption", column: "stalled_passes" }
34955
+ ]
34956
+ }
34913
34957
  }
34914
34958
  ];
34915
34959
  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.237.9",
3
+ "version": "0.237.11",
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.237.9",
29
- "@signetai/core": "0.237.9"
28
+ "@signetai/connector-base": "0.237.11",
29
+ "@signetai/core": "0.237.11"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",