@signetai/connector-hermes-agent 0.192.1 → 0.192.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.
- package/dist/index.js +64 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10854,6 +10854,30 @@ function up122(db) {
|
|
|
10854
10854
|
}
|
|
10855
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
10856
|
}
|
|
10857
|
+
function up123(db) {
|
|
10858
|
+
db.exec(`
|
|
10859
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
10860
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
10861
|
+
content_hash TEXT NOT NULL,
|
|
10862
|
+
source_type TEXT NOT NULL,
|
|
10863
|
+
source_id TEXT NOT NULL,
|
|
10864
|
+
agent_id TEXT,
|
|
10865
|
+
target_fingerprint TEXT NOT NULL,
|
|
10866
|
+
provider TEXT NOT NULL,
|
|
10867
|
+
model TEXT NOT NULL,
|
|
10868
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
10869
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
10870
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
10871
|
+
first_failed_at TEXT NOT NULL,
|
|
10872
|
+
last_failed_at TEXT NOT NULL,
|
|
10873
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
10874
|
+
);
|
|
10875
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
10876
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
10877
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
10878
|
+
ON embedding_index_failures(source_type, source_id);
|
|
10879
|
+
`);
|
|
10880
|
+
}
|
|
10857
10881
|
var MIGRATIONS = [
|
|
10858
10882
|
{
|
|
10859
10883
|
version: 1,
|
|
@@ -11848,6 +11872,12 @@ var MIGRATIONS = [
|
|
|
11848
11872
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
11849
11873
|
]
|
|
11850
11874
|
}
|
|
11875
|
+
},
|
|
11876
|
+
{
|
|
11877
|
+
version: 123,
|
|
11878
|
+
name: "embedding-index-failures",
|
|
11879
|
+
up: up123,
|
|
11880
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
11851
11881
|
}
|
|
11852
11882
|
];
|
|
11853
11883
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19116,7 +19146,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19116
19146
|
return true;
|
|
19117
19147
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19118
19148
|
}
|
|
19119
|
-
function
|
|
19149
|
+
function up124(db) {
|
|
19120
19150
|
db.exec(`
|
|
19121
19151
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19122
19152
|
version INTEGER PRIMARY KEY,
|
|
@@ -19559,7 +19589,7 @@ function up1110(db) {
|
|
|
19559
19589
|
ON session_scores(session_key);
|
|
19560
19590
|
`);
|
|
19561
19591
|
}
|
|
19562
|
-
function
|
|
19592
|
+
function up125(db) {
|
|
19563
19593
|
db.exec(`
|
|
19564
19594
|
CREATE TABLE IF NOT EXISTS scheduled_tasks (
|
|
19565
19595
|
id TEXT PRIMARY KEY,
|
|
@@ -23001,11 +23031,35 @@ function up1222(db) {
|
|
|
23001
23031
|
}
|
|
23002
23032
|
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
23033
|
}
|
|
23034
|
+
function up1232(db) {
|
|
23035
|
+
db.exec(`
|
|
23036
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
23037
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
23038
|
+
content_hash TEXT NOT NULL,
|
|
23039
|
+
source_type TEXT NOT NULL,
|
|
23040
|
+
source_id TEXT NOT NULL,
|
|
23041
|
+
agent_id TEXT,
|
|
23042
|
+
target_fingerprint TEXT NOT NULL,
|
|
23043
|
+
provider TEXT NOT NULL,
|
|
23044
|
+
model TEXT NOT NULL,
|
|
23045
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
23046
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
23047
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
23048
|
+
first_failed_at TEXT NOT NULL,
|
|
23049
|
+
last_failed_at TEXT NOT NULL,
|
|
23050
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
23051
|
+
);
|
|
23052
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
23053
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
23054
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
23055
|
+
ON embedding_index_failures(source_type, source_id);
|
|
23056
|
+
`);
|
|
23057
|
+
}
|
|
23004
23058
|
var MIGRATIONS2 = [
|
|
23005
23059
|
{
|
|
23006
23060
|
version: 1,
|
|
23007
23061
|
name: "baseline",
|
|
23008
|
-
up:
|
|
23062
|
+
up: up124,
|
|
23009
23063
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
23010
23064
|
},
|
|
23011
23065
|
{
|
|
@@ -23077,7 +23131,7 @@ var MIGRATIONS2 = [
|
|
|
23077
23131
|
{
|
|
23078
23132
|
version: 12,
|
|
23079
23133
|
name: "scheduled-tasks",
|
|
23080
|
-
up:
|
|
23134
|
+
up: up125,
|
|
23081
23135
|
artifacts: { tables: ["scheduled_tasks", "task_runs"] }
|
|
23082
23136
|
},
|
|
23083
23137
|
{
|
|
@@ -23995,6 +24049,12 @@ var MIGRATIONS2 = [
|
|
|
23995
24049
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
23996
24050
|
]
|
|
23997
24051
|
}
|
|
24052
|
+
},
|
|
24053
|
+
{
|
|
24054
|
+
version: 123,
|
|
24055
|
+
name: "embedding-index-failures",
|
|
24056
|
+
up: up1232,
|
|
24057
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
23998
24058
|
}
|
|
23999
24059
|
];
|
|
24000
24060
|
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.192.
|
|
3
|
+
"version": "0.192.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.192.
|
|
29
|
-
"@signetai/core": "0.192.
|
|
28
|
+
"@signetai/connector-base": "0.192.2",
|
|
29
|
+
"@signetai/core": "0.192.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|