@signetai/connector-hermes-agent 0.189.2 → 0.191.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.
- package/dist/index.js +64 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10837,6 +10837,23 @@ function up121(db) {
|
|
|
10837
10837
|
VALUES (1, CURRENT_TIMESTAMP);
|
|
10838
10838
|
`);
|
|
10839
10839
|
}
|
|
10840
|
+
function up122(db) {
|
|
10841
|
+
const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
|
|
10842
|
+
const names = new Set(columns.map((column) => column.name));
|
|
10843
|
+
if (!names.has("failure_class")) {
|
|
10844
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN failure_class TEXT NOT NULL DEFAULT 'unknown' CHECK (failure_class IN ('incomplete_transcript', 'source_projection', 'scope_mismatch', 'quote_mismatch', 'unknown'))");
|
|
10845
|
+
}
|
|
10846
|
+
if (!names.has("source_fingerprint")) {
|
|
10847
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
|
|
10848
|
+
}
|
|
10849
|
+
if (!names.has("retry_count")) {
|
|
10850
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
|
|
10851
|
+
}
|
|
10852
|
+
if (!names.has("last_requeued_at")) {
|
|
10853
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
|
|
10854
|
+
}
|
|
10855
|
+
db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
|
|
10856
|
+
}
|
|
10840
10857
|
var MIGRATIONS = [
|
|
10841
10858
|
{
|
|
10842
10859
|
version: 1,
|
|
@@ -11818,6 +11835,19 @@ var MIGRATIONS = [
|
|
|
11818
11835
|
{ table: "telemetry_events", column: "last_failure_code" }
|
|
11819
11836
|
]
|
|
11820
11837
|
}
|
|
11838
|
+
},
|
|
11839
|
+
{
|
|
11840
|
+
version: 122,
|
|
11841
|
+
name: "dreaming-evidence-retry",
|
|
11842
|
+
up: up122,
|
|
11843
|
+
artifacts: {
|
|
11844
|
+
columns: [
|
|
11845
|
+
{ table: "dreaming_evidence_exclusions", column: "failure_class" },
|
|
11846
|
+
{ table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
|
|
11847
|
+
{ table: "dreaming_evidence_exclusions", column: "retry_count" },
|
|
11848
|
+
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
11849
|
+
]
|
|
11850
|
+
}
|
|
11821
11851
|
}
|
|
11822
11852
|
];
|
|
11823
11853
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19086,7 +19116,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19086
19116
|
return true;
|
|
19087
19117
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19088
19118
|
}
|
|
19089
|
-
function
|
|
19119
|
+
function up123(db) {
|
|
19090
19120
|
db.exec(`
|
|
19091
19121
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19092
19122
|
version INTEGER PRIMARY KEY,
|
|
@@ -19529,7 +19559,7 @@ function up1110(db) {
|
|
|
19529
19559
|
ON session_scores(session_key);
|
|
19530
19560
|
`);
|
|
19531
19561
|
}
|
|
19532
|
-
function
|
|
19562
|
+
function up124(db) {
|
|
19533
19563
|
db.exec(`
|
|
19534
19564
|
CREATE TABLE IF NOT EXISTS scheduled_tasks (
|
|
19535
19565
|
id TEXT PRIMARY KEY,
|
|
@@ -22954,11 +22984,28 @@ function up1212(db) {
|
|
|
22954
22984
|
VALUES (1, CURRENT_TIMESTAMP);
|
|
22955
22985
|
`);
|
|
22956
22986
|
}
|
|
22987
|
+
function up1222(db) {
|
|
22988
|
+
const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
|
|
22989
|
+
const names = new Set(columns.map((column) => column.name));
|
|
22990
|
+
if (!names.has("failure_class")) {
|
|
22991
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN failure_class TEXT NOT NULL DEFAULT 'unknown' CHECK (failure_class IN ('incomplete_transcript', 'source_projection', 'scope_mismatch', 'quote_mismatch', 'unknown'))");
|
|
22992
|
+
}
|
|
22993
|
+
if (!names.has("source_fingerprint")) {
|
|
22994
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
|
|
22995
|
+
}
|
|
22996
|
+
if (!names.has("retry_count")) {
|
|
22997
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
|
|
22998
|
+
}
|
|
22999
|
+
if (!names.has("last_requeued_at")) {
|
|
23000
|
+
db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
|
|
23001
|
+
}
|
|
23002
|
+
db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
|
|
23003
|
+
}
|
|
22957
23004
|
var MIGRATIONS2 = [
|
|
22958
23005
|
{
|
|
22959
23006
|
version: 1,
|
|
22960
23007
|
name: "baseline",
|
|
22961
|
-
up:
|
|
23008
|
+
up: up123,
|
|
22962
23009
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
22963
23010
|
},
|
|
22964
23011
|
{
|
|
@@ -23030,7 +23077,7 @@ var MIGRATIONS2 = [
|
|
|
23030
23077
|
{
|
|
23031
23078
|
version: 12,
|
|
23032
23079
|
name: "scheduled-tasks",
|
|
23033
|
-
up:
|
|
23080
|
+
up: up124,
|
|
23034
23081
|
artifacts: { tables: ["scheduled_tasks", "task_runs"] }
|
|
23035
23082
|
},
|
|
23036
23083
|
{
|
|
@@ -23935,6 +23982,19 @@ var MIGRATIONS2 = [
|
|
|
23935
23982
|
{ table: "telemetry_events", column: "last_failure_code" }
|
|
23936
23983
|
]
|
|
23937
23984
|
}
|
|
23985
|
+
},
|
|
23986
|
+
{
|
|
23987
|
+
version: 122,
|
|
23988
|
+
name: "dreaming-evidence-retry",
|
|
23989
|
+
up: up1222,
|
|
23990
|
+
artifacts: {
|
|
23991
|
+
columns: [
|
|
23992
|
+
{ table: "dreaming_evidence_exclusions", column: "failure_class" },
|
|
23993
|
+
{ table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
|
|
23994
|
+
{ table: "dreaming_evidence_exclusions", column: "retry_count" },
|
|
23995
|
+
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
23996
|
+
]
|
|
23997
|
+
}
|
|
23938
23998
|
}
|
|
23939
23999
|
];
|
|
23940
24000
|
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.
|
|
3
|
+
"version": "0.191.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.
|
|
29
|
-
"@signetai/core": "0.
|
|
28
|
+
"@signetai/connector-base": "0.191.0",
|
|
29
|
+
"@signetai/core": "0.191.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|