@signetai/connector-forge 0.189.2 → 0.191.0

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.
Files changed (2) hide show
  1. package/dist/index.js +64 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -10850,6 +10850,23 @@ function up121(db) {
10850
10850
  VALUES (1, CURRENT_TIMESTAMP);
10851
10851
  `);
10852
10852
  }
10853
+ function up122(db) {
10854
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
10855
+ const names = new Set(columns.map((column) => column.name));
10856
+ if (!names.has("failure_class")) {
10857
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN failure_class TEXT NOT NULL DEFAULT 'unknown' CHECK (failure_class IN ('incomplete_transcript', 'source_projection', 'scope_mismatch', 'quote_mismatch', 'unknown'))");
10858
+ }
10859
+ if (!names.has("source_fingerprint")) {
10860
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
10861
+ }
10862
+ if (!names.has("retry_count")) {
10863
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
10864
+ }
10865
+ if (!names.has("last_requeued_at")) {
10866
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
10867
+ }
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
+ }
10853
10870
  var MIGRATIONS = [
10854
10871
  {
10855
10872
  version: 1,
@@ -11831,6 +11848,19 @@ var MIGRATIONS = [
11831
11848
  { table: "telemetry_events", column: "last_failure_code" }
11832
11849
  ]
11833
11850
  }
11851
+ },
11852
+ {
11853
+ version: 122,
11854
+ name: "dreaming-evidence-retry",
11855
+ up: up122,
11856
+ artifacts: {
11857
+ columns: [
11858
+ { table: "dreaming_evidence_exclusions", column: "failure_class" },
11859
+ { table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
11860
+ { table: "dreaming_evidence_exclusions", column: "retry_count" },
11861
+ { table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
11862
+ ]
11863
+ }
11834
11864
  }
11835
11865
  ];
11836
11866
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19353,7 +19383,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19353
19383
  return true;
19354
19384
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19355
19385
  }
19356
- function up122(db) {
19386
+ function up123(db) {
19357
19387
  db.exec(`
19358
19388
  CREATE TABLE IF NOT EXISTS schema_migrations (
19359
19389
  version INTEGER PRIMARY KEY,
@@ -19796,7 +19826,7 @@ function up1110(db) {
19796
19826
  ON session_scores(session_key);
19797
19827
  `);
19798
19828
  }
19799
- function up123(db) {
19829
+ function up124(db) {
19800
19830
  db.exec(`
19801
19831
  CREATE TABLE IF NOT EXISTS scheduled_tasks (
19802
19832
  id TEXT PRIMARY KEY,
@@ -23221,11 +23251,28 @@ function up1212(db) {
23221
23251
  VALUES (1, CURRENT_TIMESTAMP);
23222
23252
  `);
23223
23253
  }
23254
+ function up1222(db) {
23255
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
23256
+ const names = new Set(columns.map((column) => column.name));
23257
+ if (!names.has("failure_class")) {
23258
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN failure_class TEXT NOT NULL DEFAULT 'unknown' CHECK (failure_class IN ('incomplete_transcript', 'source_projection', 'scope_mismatch', 'quote_mismatch', 'unknown'))");
23259
+ }
23260
+ if (!names.has("source_fingerprint")) {
23261
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
23262
+ }
23263
+ if (!names.has("retry_count")) {
23264
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
23265
+ }
23266
+ if (!names.has("last_requeued_at")) {
23267
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
23268
+ }
23269
+ 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
+ }
23224
23271
  var MIGRATIONS2 = [
23225
23272
  {
23226
23273
  version: 1,
23227
23274
  name: "baseline",
23228
- up: up122,
23275
+ up: up123,
23229
23276
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
23230
23277
  },
23231
23278
  {
@@ -23297,7 +23344,7 @@ var MIGRATIONS2 = [
23297
23344
  {
23298
23345
  version: 12,
23299
23346
  name: "scheduled-tasks",
23300
- up: up123,
23347
+ up: up124,
23301
23348
  artifacts: { tables: ["scheduled_tasks", "task_runs"] }
23302
23349
  },
23303
23350
  {
@@ -24202,6 +24249,19 @@ var MIGRATIONS2 = [
24202
24249
  { table: "telemetry_events", column: "last_failure_code" }
24203
24250
  ]
24204
24251
  }
24252
+ },
24253
+ {
24254
+ version: 122,
24255
+ name: "dreaming-evidence-retry",
24256
+ up: up1222,
24257
+ artifacts: {
24258
+ columns: [
24259
+ { table: "dreaming_evidence_exclusions", column: "failure_class" },
24260
+ { table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
24261
+ { table: "dreaming_evidence_exclusions", column: "retry_count" },
24262
+ { table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
24263
+ ]
24264
+ }
24205
24265
  }
24206
24266
  ];
24207
24267
  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.189.2",
3
+ "version": "0.191.0",
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.189.2",
28
- "@signetai/core": "0.189.2"
27
+ "@signetai/connector-base": "0.191.0",
28
+ "@signetai/core": "0.191.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",