@signetai/connector-hermes-agent 0.199.0 → 0.199.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 +62 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -11272,6 +11272,29 @@ function up130(db) {
|
|
|
11272
11272
|
END;
|
|
11273
11273
|
`);
|
|
11274
11274
|
}
|
|
11275
|
+
function up131(db) {
|
|
11276
|
+
db.exec(`
|
|
11277
|
+
CREATE TABLE IF NOT EXISTS dreaming_evidence_consumption (
|
|
11278
|
+
agent_id TEXT NOT NULL,
|
|
11279
|
+
source_kind TEXT NOT NULL CHECK (source_kind IN ('memory', 'artifact', 'transcript', 'summary')),
|
|
11280
|
+
source_id TEXT NOT NULL,
|
|
11281
|
+
source_captured_at TEXT NOT NULL,
|
|
11282
|
+
source_entry_id TEXT NOT NULL DEFAULT '',
|
|
11283
|
+
source_revision TEXT NOT NULL,
|
|
11284
|
+
delivered_offset INTEGER NOT NULL CHECK (delivered_offset >= 0),
|
|
11285
|
+
source_length INTEGER NOT NULL CHECK (source_length >= 0),
|
|
11286
|
+
pass_id TEXT NOT NULL,
|
|
11287
|
+
updated_at TEXT NOT NULL,
|
|
11288
|
+
PRIMARY KEY (agent_id, source_kind, source_id, source_captured_at, source_entry_id, source_revision)
|
|
11289
|
+
);
|
|
11290
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_source
|
|
11291
|
+
ON dreaming_evidence_consumption(agent_id, source_entry_id, source_kind, source_revision);
|
|
11292
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_pending
|
|
11293
|
+
ON dreaming_evidence_consumption(agent_id, source_kind, source_id, source_captured_at, source_revision, delivered_offset, source_length);
|
|
11294
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_continuation
|
|
11295
|
+
ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
|
|
11296
|
+
`);
|
|
11297
|
+
}
|
|
11275
11298
|
var MIGRATIONS = [
|
|
11276
11299
|
{
|
|
11277
11300
|
version: 1,
|
|
@@ -12314,6 +12337,12 @@ var MIGRATIONS = [
|
|
|
12314
12337
|
name: "embedding-repair-state",
|
|
12315
12338
|
up: up130,
|
|
12316
12339
|
artifacts: { tables: ["embedding_repair_budget", "embedding_repair_backoff"] }
|
|
12340
|
+
},
|
|
12341
|
+
{
|
|
12342
|
+
version: 131,
|
|
12343
|
+
name: "dreaming-evidence-consumption",
|
|
12344
|
+
up: up131,
|
|
12345
|
+
artifacts: { tables: ["dreaming_evidence_consumption"] }
|
|
12317
12346
|
}
|
|
12318
12347
|
];
|
|
12319
12348
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19675,7 +19704,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19675
19704
|
return true;
|
|
19676
19705
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19677
19706
|
}
|
|
19678
|
-
function
|
|
19707
|
+
function up132(db) {
|
|
19679
19708
|
db.exec(`
|
|
19680
19709
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19681
19710
|
version INTEGER PRIMARY KEY,
|
|
@@ -20159,7 +20188,7 @@ function addColumnIfMissing52(db, table, column, definition) {
|
|
|
20159
20188
|
db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
|
|
20160
20189
|
}
|
|
20161
20190
|
}
|
|
20162
|
-
function
|
|
20191
|
+
function up133(db) {
|
|
20163
20192
|
db.exec(`
|
|
20164
20193
|
CREATE TABLE IF NOT EXISTS ingestion_jobs (
|
|
20165
20194
|
id TEXT PRIMARY KEY,
|
|
@@ -23885,11 +23914,34 @@ function up1302(db) {
|
|
|
23885
23914
|
END;
|
|
23886
23915
|
`);
|
|
23887
23916
|
}
|
|
23917
|
+
function up1312(db) {
|
|
23918
|
+
db.exec(`
|
|
23919
|
+
CREATE TABLE IF NOT EXISTS dreaming_evidence_consumption (
|
|
23920
|
+
agent_id TEXT NOT NULL,
|
|
23921
|
+
source_kind TEXT NOT NULL CHECK (source_kind IN ('memory', 'artifact', 'transcript', 'summary')),
|
|
23922
|
+
source_id TEXT NOT NULL,
|
|
23923
|
+
source_captured_at TEXT NOT NULL,
|
|
23924
|
+
source_entry_id TEXT NOT NULL DEFAULT '',
|
|
23925
|
+
source_revision TEXT NOT NULL,
|
|
23926
|
+
delivered_offset INTEGER NOT NULL CHECK (delivered_offset >= 0),
|
|
23927
|
+
source_length INTEGER NOT NULL CHECK (source_length >= 0),
|
|
23928
|
+
pass_id TEXT NOT NULL,
|
|
23929
|
+
updated_at TEXT NOT NULL,
|
|
23930
|
+
PRIMARY KEY (agent_id, source_kind, source_id, source_captured_at, source_entry_id, source_revision)
|
|
23931
|
+
);
|
|
23932
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_source
|
|
23933
|
+
ON dreaming_evidence_consumption(agent_id, source_entry_id, source_kind, source_revision);
|
|
23934
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_pending
|
|
23935
|
+
ON dreaming_evidence_consumption(agent_id, source_kind, source_id, source_captured_at, source_revision, delivered_offset, source_length);
|
|
23936
|
+
CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_continuation
|
|
23937
|
+
ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
|
|
23938
|
+
`);
|
|
23939
|
+
}
|
|
23888
23940
|
var MIGRATIONS2 = [
|
|
23889
23941
|
{
|
|
23890
23942
|
version: 1,
|
|
23891
23943
|
name: "baseline",
|
|
23892
|
-
up:
|
|
23944
|
+
up: up132,
|
|
23893
23945
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
23894
23946
|
},
|
|
23895
23947
|
{
|
|
@@ -23967,7 +24019,7 @@ var MIGRATIONS2 = [
|
|
|
23967
24019
|
{
|
|
23968
24020
|
version: 13,
|
|
23969
24021
|
name: "ingestion-tracking",
|
|
23970
|
-
up:
|
|
24022
|
+
up: up133,
|
|
23971
24023
|
artifacts: {
|
|
23972
24024
|
columns: [
|
|
23973
24025
|
{ table: "memories", column: "source_path" },
|
|
@@ -24927,6 +24979,12 @@ var MIGRATIONS2 = [
|
|
|
24927
24979
|
name: "embedding-repair-state",
|
|
24928
24980
|
up: up1302,
|
|
24929
24981
|
artifacts: { tables: ["embedding_repair_budget", "embedding_repair_backoff"] }
|
|
24982
|
+
},
|
|
24983
|
+
{
|
|
24984
|
+
version: 131,
|
|
24985
|
+
name: "dreaming-evidence-consumption",
|
|
24986
|
+
up: up1312,
|
|
24987
|
+
artifacts: { tables: ["dreaming_evidence_consumption"] }
|
|
24930
24988
|
}
|
|
24931
24989
|
];
|
|
24932
24990
|
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.199.
|
|
3
|
+
"version": "0.199.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.199.
|
|
29
|
-
"@signetai/core": "0.199.
|
|
28
|
+
"@signetai/connector-base": "0.199.2",
|
|
29
|
+
"@signetai/core": "0.199.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|