@signetai/connector-base 0.145.8 → 0.145.9
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 +25 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9584,6 +9584,23 @@ function up80(db) {
|
|
|
9584
9584
|
db.exec("CREATE INDEX IF NOT EXISTS idx_documents_agent_project ON documents(agent_id, project)");
|
|
9585
9585
|
db.exec("CREATE INDEX IF NOT EXISTS idx_documents_source_scope ON documents(source_url, agent_id, project)");
|
|
9586
9586
|
}
|
|
9587
|
+
function up81(db) {
|
|
9588
|
+
db.exec(`
|
|
9589
|
+
CREATE TABLE IF NOT EXISTS aggregate_evidence_sources (
|
|
9590
|
+
aggregate_memory_id TEXT NOT NULL,
|
|
9591
|
+
source_kind TEXT NOT NULL,
|
|
9592
|
+
source_id TEXT NOT NULL,
|
|
9593
|
+
source_path TEXT,
|
|
9594
|
+
agent_id TEXT NOT NULL DEFAULT 'default',
|
|
9595
|
+
created_at TEXT NOT NULL,
|
|
9596
|
+
PRIMARY KEY (aggregate_memory_id, source_kind, source_id)
|
|
9597
|
+
);
|
|
9598
|
+
CREATE INDEX IF NOT EXISTS idx_aggregate_evidence_sources_agent
|
|
9599
|
+
ON aggregate_evidence_sources(agent_id, aggregate_memory_id);
|
|
9600
|
+
CREATE INDEX IF NOT EXISTS idx_aggregate_evidence_sources_source
|
|
9601
|
+
ON aggregate_evidence_sources(source_kind, source_id);
|
|
9602
|
+
`);
|
|
9603
|
+
}
|
|
9587
9604
|
var MIGRATIONS = [
|
|
9588
9605
|
{
|
|
9589
9606
|
version: 1,
|
|
@@ -10229,6 +10246,14 @@ var MIGRATIONS = [
|
|
|
10229
10246
|
{ table: "documents", column: "project" }
|
|
10230
10247
|
]
|
|
10231
10248
|
}
|
|
10249
|
+
},
|
|
10250
|
+
{
|
|
10251
|
+
version: 81,
|
|
10252
|
+
name: "aggregate-evidence-sources",
|
|
10253
|
+
up: up81,
|
|
10254
|
+
artifacts: {
|
|
10255
|
+
tables: ["aggregate_evidence_sources"]
|
|
10256
|
+
}
|
|
10232
10257
|
}
|
|
10233
10258
|
];
|
|
10234
10259
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-base",
|
|
3
|
-
"version": "0.145.
|
|
3
|
+
"version": "0.145.9",
|
|
4
4
|
"description": "Base class for Signet harness connectors",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"typecheck": "tsc --noEmit"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@signetai/core": "0.145.
|
|
25
|
+
"@signetai/core": "0.145.9"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.0.0",
|