@signetai/connector-claude-code 0.150.4 → 0.151.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 +56 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -9879,6 +9879,24 @@ function up87(db) {
9879
9879
  ON summary_jobs(agent_id, session_key, boundary_reason)
9880
9880
  `);
9881
9881
  }
9882
+ function up88(db) {
9883
+ db.exec(`
9884
+ CREATE TABLE IF NOT EXISTS transcript_recovery_files (
9885
+ agent_id TEXT NOT NULL,
9886
+ source_path TEXT NOT NULL,
9887
+ harness TEXT NOT NULL,
9888
+ size_bytes INTEGER NOT NULL,
9889
+ mtime_ms INTEGER NOT NULL,
9890
+ content_sha256 TEXT NOT NULL,
9891
+ session_id TEXT NOT NULL,
9892
+ last_scanned_at TEXT NOT NULL,
9893
+ PRIMARY KEY (agent_id, source_path)
9894
+ );
9895
+
9896
+ CREATE INDEX IF NOT EXISTS idx_transcript_capture_jobs_agent_session_id
9897
+ ON transcript_capture_jobs(agent_id, session_id, status);
9898
+ `);
9899
+ }
9882
9900
  var MIGRATIONS = [
9883
9901
  {
9884
9902
  version: 1,
@@ -10590,6 +10608,14 @@ var MIGRATIONS = [
10590
10608
  artifacts: {
10591
10609
  columns: [{ table: "summary_jobs", column: "boundary_reason" }]
10592
10610
  }
10611
+ },
10612
+ {
10613
+ version: 88,
10614
+ name: "transcript-recovery-files",
10615
+ up: up88,
10616
+ artifacts: {
10617
+ tables: ["transcript_recovery_files"]
10618
+ }
10593
10619
  }
10594
10620
  ];
10595
10621
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -17953,7 +17979,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
17953
17979
  return true;
17954
17980
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
17955
17981
  }
17956
- function up88(db) {
17982
+ function up89(db) {
17957
17983
  db.exec(`
17958
17984
  CREATE TABLE IF NOT EXISTS schema_migrations (
17959
17985
  version INTEGER PRIMARY KEY,
@@ -18328,7 +18354,7 @@ function up710(db) {
18328
18354
  db.exec("ALTER TABLE memory_jobs ADD COLUMN document_id TEXT");
18329
18355
  }
18330
18356
  }
18331
- function up89(db) {
18357
+ function up810(db) {
18332
18358
  const tables = db.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='embeddings'").all();
18333
18359
  if (tables.length === 0)
18334
18360
  return;
@@ -20895,11 +20921,29 @@ function up872(db) {
20895
20921
  ON summary_jobs(agent_id, session_key, boundary_reason)
20896
20922
  `);
20897
20923
  }
20924
+ function up882(db) {
20925
+ db.exec(`
20926
+ CREATE TABLE IF NOT EXISTS transcript_recovery_files (
20927
+ agent_id TEXT NOT NULL,
20928
+ source_path TEXT NOT NULL,
20929
+ harness TEXT NOT NULL,
20930
+ size_bytes INTEGER NOT NULL,
20931
+ mtime_ms INTEGER NOT NULL,
20932
+ content_sha256 TEXT NOT NULL,
20933
+ session_id TEXT NOT NULL,
20934
+ last_scanned_at TEXT NOT NULL,
20935
+ PRIMARY KEY (agent_id, source_path)
20936
+ );
20937
+
20938
+ CREATE INDEX IF NOT EXISTS idx_transcript_capture_jobs_agent_session_id
20939
+ ON transcript_capture_jobs(agent_id, session_id, status);
20940
+ `);
20941
+ }
20898
20942
  var MIGRATIONS2 = [
20899
20943
  {
20900
20944
  version: 1,
20901
20945
  name: "baseline",
20902
- up: up88,
20946
+ up: up89,
20903
20947
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
20904
20948
  },
20905
20949
  {
@@ -20948,7 +20992,7 @@ var MIGRATIONS2 = [
20948
20992
  {
20949
20993
  version: 8,
20950
20994
  name: "embeddings-unique-hash",
20951
- up: up89
20995
+ up: up810
20952
20996
  },
20953
20997
  {
20954
20998
  version: 9,
@@ -21606,6 +21650,14 @@ var MIGRATIONS2 = [
21606
21650
  artifacts: {
21607
21651
  columns: [{ table: "summary_jobs", column: "boundary_reason" }]
21608
21652
  }
21653
+ },
21654
+ {
21655
+ version: 88,
21656
+ name: "transcript-recovery-files",
21657
+ up: up882,
21658
+ artifacts: {
21659
+ tables: ["transcript_recovery_files"]
21660
+ }
21609
21661
  }
21610
21662
  ];
21611
21663
  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.150.4",
3
+ "version": "0.151.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.150.4",
28
- "@signetai/core": "0.150.4"
27
+ "@signetai/connector-base": "0.151.0",
28
+ "@signetai/core": "0.151.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",