@signetai/connector-claude-code 0.196.0 → 0.196.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.
Files changed (2) hide show
  1. package/dist/index.js +38 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -11166,6 +11166,18 @@ function up127(db) {
11166
11166
  ON ontology_contradictions(agent_id, left_source_id, right_source_id);
11167
11167
  `);
11168
11168
  }
11169
+ function up128(db) {
11170
+ db.exec(`
11171
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_status_created_at
11172
+ ON memory_jobs(status, created_at)
11173
+ WHERE job_type <> 'extract';
11174
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_error_updated_at
11175
+ ON memory_jobs(updated_at DESC)
11176
+ WHERE status IN ('pending', 'leased', 'dead')
11177
+ AND job_type <> 'extract'
11178
+ AND error IS NOT NULL;
11179
+ `);
11180
+ }
11169
11181
  var MIGRATIONS = [
11170
11182
  {
11171
11183
  version: 1,
@@ -12192,6 +12204,11 @@ var MIGRATIONS = [
12192
12204
  name: "ontology-contradictions",
12193
12205
  up: up127,
12194
12206
  artifacts: { tables: ["ontology_contradictions"] }
12207
+ },
12208
+ {
12209
+ version: 128,
12210
+ name: "bounded-queue-diagnostics",
12211
+ up: up128
12195
12212
  }
12196
12213
  ];
12197
12214
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19578,7 +19595,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19578
19595
  return true;
19579
19596
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19580
19597
  }
19581
- function up128(db) {
19598
+ function up129(db) {
19582
19599
  db.exec(`
19583
19600
  CREATE TABLE IF NOT EXISTS schema_migrations (
19584
19601
  version INTEGER PRIMARY KEY,
@@ -20021,7 +20038,7 @@ function up1110(db) {
20021
20038
  ON session_scores(session_key);
20022
20039
  `);
20023
20040
  }
20024
- function up129(db) {
20041
+ function up1210(db) {
20025
20042
  db.exec(`
20026
20043
  CREATE TABLE IF NOT EXISTS scheduled_tasks (
20027
20044
  id TEXT PRIMARY KEY,
@@ -23684,11 +23701,23 @@ function up1272(db) {
23684
23701
  ON ontology_contradictions(agent_id, left_source_id, right_source_id);
23685
23702
  `);
23686
23703
  }
23704
+ function up1282(db) {
23705
+ db.exec(`
23706
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_status_created_at
23707
+ ON memory_jobs(status, created_at)
23708
+ WHERE job_type <> 'extract';
23709
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_error_updated_at
23710
+ ON memory_jobs(updated_at DESC)
23711
+ WHERE status IN ('pending', 'leased', 'dead')
23712
+ AND job_type <> 'extract'
23713
+ AND error IS NOT NULL;
23714
+ `);
23715
+ }
23687
23716
  var MIGRATIONS2 = [
23688
23717
  {
23689
23718
  version: 1,
23690
23719
  name: "baseline",
23691
- up: up128,
23720
+ up: up129,
23692
23721
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
23693
23722
  },
23694
23723
  {
@@ -23760,7 +23789,7 @@ var MIGRATIONS2 = [
23760
23789
  {
23761
23790
  version: 12,
23762
23791
  name: "scheduled-tasks",
23763
- up: up129,
23792
+ up: up1210,
23764
23793
  artifacts: { tables: ["scheduled_tasks", "task_runs"] }
23765
23794
  },
23766
23795
  {
@@ -24710,6 +24739,11 @@ var MIGRATIONS2 = [
24710
24739
  name: "ontology-contradictions",
24711
24740
  up: up1272,
24712
24741
  artifacts: { tables: ["ontology_contradictions"] }
24742
+ },
24743
+ {
24744
+ version: 128,
24745
+ name: "bounded-queue-diagnostics",
24746
+ up: up1282
24713
24747
  }
24714
24748
  ];
24715
24749
  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.196.0",
3
+ "version": "0.196.2",
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.196.0",
28
- "@signetai/core": "0.196.0"
27
+ "@signetai/connector-base": "0.196.2",
28
+ "@signetai/core": "0.196.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",