@signetai/connector-claude-code 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
@@ -10835,6 +10835,23 @@ function up121(db) {
10835
10835
  VALUES (1, CURRENT_TIMESTAMP);
10836
10836
  `);
10837
10837
  }
10838
+ function up122(db) {
10839
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
10840
+ const names = new Set(columns.map((column) => column.name));
10841
+ if (!names.has("failure_class")) {
10842
+ 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'))");
10843
+ }
10844
+ if (!names.has("source_fingerprint")) {
10845
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
10846
+ }
10847
+ if (!names.has("retry_count")) {
10848
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
10849
+ }
10850
+ if (!names.has("last_requeued_at")) {
10851
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
10852
+ }
10853
+ 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)");
10854
+ }
10838
10855
  var MIGRATIONS = [
10839
10856
  {
10840
10857
  version: 1,
@@ -11816,6 +11833,19 @@ var MIGRATIONS = [
11816
11833
  { table: "telemetry_events", column: "last_failure_code" }
11817
11834
  ]
11818
11835
  }
11836
+ },
11837
+ {
11838
+ version: 122,
11839
+ name: "dreaming-evidence-retry",
11840
+ up: up122,
11841
+ artifacts: {
11842
+ columns: [
11843
+ { table: "dreaming_evidence_exclusions", column: "failure_class" },
11844
+ { table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
11845
+ { table: "dreaming_evidence_exclusions", column: "retry_count" },
11846
+ { table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
11847
+ ]
11848
+ }
11819
11849
  }
11820
11850
  ];
11821
11851
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19109,7 +19139,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19109
19139
  return true;
19110
19140
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19111
19141
  }
19112
- function up122(db) {
19142
+ function up123(db) {
19113
19143
  db.exec(`
19114
19144
  CREATE TABLE IF NOT EXISTS schema_migrations (
19115
19145
  version INTEGER PRIMARY KEY,
@@ -19552,7 +19582,7 @@ function up1110(db) {
19552
19582
  ON session_scores(session_key);
19553
19583
  `);
19554
19584
  }
19555
- function up123(db) {
19585
+ function up124(db) {
19556
19586
  db.exec(`
19557
19587
  CREATE TABLE IF NOT EXISTS scheduled_tasks (
19558
19588
  id TEXT PRIMARY KEY,
@@ -22977,11 +23007,28 @@ function up1212(db) {
22977
23007
  VALUES (1, CURRENT_TIMESTAMP);
22978
23008
  `);
22979
23009
  }
23010
+ function up1222(db) {
23011
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
23012
+ const names = new Set(columns.map((column) => column.name));
23013
+ if (!names.has("failure_class")) {
23014
+ 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'))");
23015
+ }
23016
+ if (!names.has("source_fingerprint")) {
23017
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
23018
+ }
23019
+ if (!names.has("retry_count")) {
23020
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
23021
+ }
23022
+ if (!names.has("last_requeued_at")) {
23023
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
23024
+ }
23025
+ 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)");
23026
+ }
22980
23027
  var MIGRATIONS2 = [
22981
23028
  {
22982
23029
  version: 1,
22983
23030
  name: "baseline",
22984
- up: up122,
23031
+ up: up123,
22985
23032
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
22986
23033
  },
22987
23034
  {
@@ -23053,7 +23100,7 @@ var MIGRATIONS2 = [
23053
23100
  {
23054
23101
  version: 12,
23055
23102
  name: "scheduled-tasks",
23056
- up: up123,
23103
+ up: up124,
23057
23104
  artifacts: { tables: ["scheduled_tasks", "task_runs"] }
23058
23105
  },
23059
23106
  {
@@ -23958,6 +24005,19 @@ var MIGRATIONS2 = [
23958
24005
  { table: "telemetry_events", column: "last_failure_code" }
23959
24006
  ]
23960
24007
  }
24008
+ },
24009
+ {
24010
+ version: 122,
24011
+ name: "dreaming-evidence-retry",
24012
+ up: up1222,
24013
+ artifacts: {
24014
+ columns: [
24015
+ { table: "dreaming_evidence_exclusions", column: "failure_class" },
24016
+ { table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
24017
+ { table: "dreaming_evidence_exclusions", column: "retry_count" },
24018
+ { table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
24019
+ ]
24020
+ }
23961
24021
  }
23962
24022
  ];
23963
24023
  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-claude-code",
3
- "version": "0.189.2",
3
+ "version": "0.191.0",
4
4
  "description": "Signet connector for Claude Code (Anthropic CLI)",
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",