@signetai/connector-forge 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 +64 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -10867,6 +10867,30 @@ function up122(db) {
|
|
|
10867
10867
|
}
|
|
10868
10868
|
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)");
|
|
10869
10869
|
}
|
|
10870
|
+
function up123(db) {
|
|
10871
|
+
db.exec(`
|
|
10872
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
10873
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
10874
|
+
content_hash TEXT NOT NULL,
|
|
10875
|
+
source_type TEXT NOT NULL,
|
|
10876
|
+
source_id TEXT NOT NULL,
|
|
10877
|
+
agent_id TEXT,
|
|
10878
|
+
target_fingerprint TEXT NOT NULL,
|
|
10879
|
+
provider TEXT NOT NULL,
|
|
10880
|
+
model TEXT NOT NULL,
|
|
10881
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
10882
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
10883
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
10884
|
+
first_failed_at TEXT NOT NULL,
|
|
10885
|
+
last_failed_at TEXT NOT NULL,
|
|
10886
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
10887
|
+
);
|
|
10888
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
10889
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
10890
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
10891
|
+
ON embedding_index_failures(source_type, source_id);
|
|
10892
|
+
`);
|
|
10893
|
+
}
|
|
10870
10894
|
var MIGRATIONS = [
|
|
10871
10895
|
{
|
|
10872
10896
|
version: 1,
|
|
@@ -11861,6 +11885,12 @@ var MIGRATIONS = [
|
|
|
11861
11885
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
11862
11886
|
]
|
|
11863
11887
|
}
|
|
11888
|
+
},
|
|
11889
|
+
{
|
|
11890
|
+
version: 123,
|
|
11891
|
+
name: "embedding-index-failures",
|
|
11892
|
+
up: up123,
|
|
11893
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
11864
11894
|
}
|
|
11865
11895
|
];
|
|
11866
11896
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -19383,7 +19413,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
|
|
|
19383
19413
|
return true;
|
|
19384
19414
|
return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
|
|
19385
19415
|
}
|
|
19386
|
-
function
|
|
19416
|
+
function up124(db) {
|
|
19387
19417
|
db.exec(`
|
|
19388
19418
|
CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
19389
19419
|
version INTEGER PRIMARY KEY,
|
|
@@ -19826,7 +19856,7 @@ function up1110(db) {
|
|
|
19826
19856
|
ON session_scores(session_key);
|
|
19827
19857
|
`);
|
|
19828
19858
|
}
|
|
19829
|
-
function
|
|
19859
|
+
function up125(db) {
|
|
19830
19860
|
db.exec(`
|
|
19831
19861
|
CREATE TABLE IF NOT EXISTS scheduled_tasks (
|
|
19832
19862
|
id TEXT PRIMARY KEY,
|
|
@@ -23268,11 +23298,35 @@ function up1222(db) {
|
|
|
23268
23298
|
}
|
|
23269
23299
|
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)");
|
|
23270
23300
|
}
|
|
23301
|
+
function up1232(db) {
|
|
23302
|
+
db.exec(`
|
|
23303
|
+
CREATE TABLE IF NOT EXISTS embedding_index_failures (
|
|
23304
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
23305
|
+
content_hash TEXT NOT NULL,
|
|
23306
|
+
source_type TEXT NOT NULL,
|
|
23307
|
+
source_id TEXT NOT NULL,
|
|
23308
|
+
agent_id TEXT,
|
|
23309
|
+
target_fingerprint TEXT NOT NULL,
|
|
23310
|
+
provider TEXT NOT NULL,
|
|
23311
|
+
model TEXT NOT NULL,
|
|
23312
|
+
failure_class TEXT NOT NULL CHECK (failure_class IN ('context_limit', 'invalid_input')),
|
|
23313
|
+
attempts INTEGER NOT NULL DEFAULT 1,
|
|
23314
|
+
retry_policy TEXT NOT NULL DEFAULT 'quarantined',
|
|
23315
|
+
first_failed_at TEXT NOT NULL,
|
|
23316
|
+
last_failed_at TEXT NOT NULL,
|
|
23317
|
+
UNIQUE(content_hash, target_fingerprint)
|
|
23318
|
+
);
|
|
23319
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_target
|
|
23320
|
+
ON embedding_index_failures(target_fingerprint, failure_class, last_failed_at);
|
|
23321
|
+
CREATE INDEX IF NOT EXISTS idx_embedding_index_failures_source
|
|
23322
|
+
ON embedding_index_failures(source_type, source_id);
|
|
23323
|
+
`);
|
|
23324
|
+
}
|
|
23271
23325
|
var MIGRATIONS2 = [
|
|
23272
23326
|
{
|
|
23273
23327
|
version: 1,
|
|
23274
23328
|
name: "baseline",
|
|
23275
|
-
up:
|
|
23329
|
+
up: up124,
|
|
23276
23330
|
artifacts: { tables: ["memories", "conversations", "embeddings"] }
|
|
23277
23331
|
},
|
|
23278
23332
|
{
|
|
@@ -23344,7 +23398,7 @@ var MIGRATIONS2 = [
|
|
|
23344
23398
|
{
|
|
23345
23399
|
version: 12,
|
|
23346
23400
|
name: "scheduled-tasks",
|
|
23347
|
-
up:
|
|
23401
|
+
up: up125,
|
|
23348
23402
|
artifacts: { tables: ["scheduled_tasks", "task_runs"] }
|
|
23349
23403
|
},
|
|
23350
23404
|
{
|
|
@@ -24262,6 +24316,12 @@ var MIGRATIONS2 = [
|
|
|
24262
24316
|
{ table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
|
|
24263
24317
|
]
|
|
24264
24318
|
}
|
|
24319
|
+
},
|
|
24320
|
+
{
|
|
24321
|
+
version: 123,
|
|
24322
|
+
name: "embedding-index-failures",
|
|
24323
|
+
up: up1232,
|
|
24324
|
+
artifacts: { tables: ["embedding_index_failures"] }
|
|
24265
24325
|
}
|
|
24266
24326
|
];
|
|
24267
24327
|
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-forge",
|
|
3
|
-
"version": "0.192.
|
|
3
|
+
"version": "0.192.2",
|
|
4
4
|
"description": "Signet connector for ForgeCode - installs MCP, identity, and skills integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"typecheck": "tsc --noEmit"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@signetai/connector-base": "0.192.
|
|
28
|
-
"@signetai/core": "0.192.
|
|
27
|
+
"@signetai/connector-base": "0.192.2",
|
|
28
|
+
"@signetai/core": "0.192.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|