@signetai/connector-base 0.147.12 → 0.147.18

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 +21 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -9865,6 +9865,19 @@ function up86(db) {
9865
9865
  ON summary_jobs(agent_id, session_key, content_hash)
9866
9866
  `);
9867
9867
  }
9868
+ function addColumnIfMissing22(db, table, column, definition) {
9869
+ const cols = db.prepare(`PRAGMA table_info(${table})`).all();
9870
+ if (cols.some((col) => col.name === column))
9871
+ return;
9872
+ db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
9873
+ }
9874
+ function up87(db) {
9875
+ addColumnIfMissing22(db, "summary_jobs", "boundary_reason", "TEXT");
9876
+ db.exec(`
9877
+ CREATE INDEX IF NOT EXISTS idx_summary_jobs_boundary_reason
9878
+ ON summary_jobs(agent_id, session_key, boundary_reason)
9879
+ `);
9880
+ }
9868
9881
  var MIGRATIONS = [
9869
9882
  {
9870
9883
  version: 1,
@@ -10568,6 +10581,14 @@ var MIGRATIONS = [
10568
10581
  artifacts: {
10569
10582
  columns: [{ table: "summary_jobs", column: "content_hash" }]
10570
10583
  }
10584
+ },
10585
+ {
10586
+ version: 87,
10587
+ name: "summary-jobs-boundary-reason",
10588
+ up: up87,
10589
+ artifacts: {
10590
+ columns: [{ table: "summary_jobs", column: "boundary_reason" }]
10591
+ }
10571
10592
  }
10572
10593
  ];
10573
10594
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-base",
3
- "version": "0.147.12",
3
+ "version": "0.147.18",
4
4
  "description": "Base class for Signet harness connectors",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "typecheck": "tsc --noEmit"
23
23
  },
24
24
  "dependencies": {
25
- "@signetai/core": "0.147.12"
25
+ "@signetai/core": "0.147.18"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.0.0",