@signetai/connector-base 0.192.0 → 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 +30 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -10886,6 +10886,30 @@ function up122(db) {
|
|
|
10886
10886
|
}
|
|
10887
10887
|
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)");
|
|
10888
10888
|
}
|
|
10889
|
+
function up123(db) {
|
|
10890
|
+
db.exec(`
|
|
10891
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
10892
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
10893
|
+
content_hash TEXT NOT NULL,
|
|
10894
|
+
source_type TEXT NOT NULL,
|
|
10895
|
+
source_id TEXT NOT NULL,
|
|
10896
|
+
agent_id TEXT,
|
|
10897
|
+
target_fingerprint TEXT NOT NULL,
|
|
10898
|
+
provider TEXT NOT NULL,
|
|
10899
|
+
model TEXT NOT NULL,
|
|
10900
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
10901
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
10902
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
10903
|
+
first_failed_at TEXT NOT NULL,
|
|
10904
|
+
last_failed_at TEXT NOT NULL,
|
|
10905
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
10906
|
+
);
|
|
10907
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
10908
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
10909
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
10910
|
+
ON embedding_index_failures(source_type, source_id);
|
|
10911
|
+
`);
|
|
10912
|
+
}
|
|
10889
10913
|
var MIGRATIONS = [
|
|
10890
10914
|
{
|
|
10891
10915
|
version: 1,
|
|
@@ -11880,6 +11904,12 @@ var MIGRATIONS = [
|
|
|
11880
11904
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
11881
11905
|
]
|
|
11882
11906
|
}
|
|
11907
|
+
},
|
|
11908
|
+
{
|
|
11909
|
+
version: 123,
|
|
11910
|
+
name: "embedding-index-failures",
|
|
11911
|
+
up: up123,
|
|
11912
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
11883
11913
|
}
|
|
11884
11914
|
];
|
|
11885
11915
|
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.192.
|
|
3
|
+
"version": "0.192.2",
|
|
4
4
|
"description": "Base class for Signet harness connectors",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typecheck": "tsc --noEmit"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@signetai/core": "0.192.
|
|
29
|
+
"@signetai/core": "0.192.2",
|
|
30
30
|
"json5": "^2.2.3",
|
|
31
31
|
"jsonc-parser": "3.3.1"
|
|
32
32
|
},
|