@signetai/connector-base 0.237.9 → 0.237.11

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.
package/dist/agent-dir.js CHANGED
@@ -15905,6 +15905,17 @@ function up168(db) {
15905
15905
  DROP TABLE retired_source_paragraphs;
15906
15906
  `);
15907
15907
  }
15908
+ function up169(db) {
15909
+ if (db.prepare("SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = 'dreaming_evidence_consumption'").get() == null)
15910
+ return;
15911
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_consumption)").all();
15912
+ if (!columns.some((column) => column.name === "cursor_basis")) {
15913
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN cursor_basis TEXT NOT NULL DEFAULT 'delivery' CHECK (cursor_basis IN ('delivery', 'review'))");
15914
+ }
15915
+ if (!columns.some((column) => column.name === "stalled_passes")) {
15916
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN stalled_passes INTEGER NOT NULL DEFAULT 0 CHECK (stalled_passes >= 0)");
15917
+ }
15918
+ }
15908
15919
  var MIGRATIONS = [
15909
15920
  {
15910
15921
  version: 1,
@@ -17258,6 +17269,17 @@ var MIGRATIONS = [
17258
17269
  version: 168,
17259
17270
  name: "retire-source-paragraph-claims",
17260
17271
  up: up168
17272
+ },
17273
+ {
17274
+ version: 169,
17275
+ name: "dreaming-evidence-review-cursor",
17276
+ up: up169,
17277
+ artifacts: {
17278
+ columns: [
17279
+ { table: "dreaming_evidence_consumption", column: "cursor_basis" },
17280
+ { table: "dreaming_evidence_consumption", column: "stalled_passes" }
17281
+ ]
17282
+ }
17261
17283
  }
17262
17284
  ];
17263
17285
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
package/dist/index.js CHANGED
@@ -15906,6 +15906,17 @@ function up168(db) {
15906
15906
  DROP TABLE retired_source_paragraphs;
15907
15907
  `);
15908
15908
  }
15909
+ function up169(db) {
15910
+ if (db.prepare("SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = 'dreaming_evidence_consumption'").get() == null)
15911
+ return;
15912
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_consumption)").all();
15913
+ if (!columns.some((column) => column.name === "cursor_basis")) {
15914
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN cursor_basis TEXT NOT NULL DEFAULT 'delivery' CHECK (cursor_basis IN ('delivery', 'review'))");
15915
+ }
15916
+ if (!columns.some((column) => column.name === "stalled_passes")) {
15917
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN stalled_passes INTEGER NOT NULL DEFAULT 0 CHECK (stalled_passes >= 0)");
15918
+ }
15919
+ }
15909
15920
  var MIGRATIONS = [
15910
15921
  {
15911
15922
  version: 1,
@@ -17259,6 +17270,17 @@ var MIGRATIONS = [
17259
17270
  version: 168,
17260
17271
  name: "retire-source-paragraph-claims",
17261
17272
  up: up168
17273
+ },
17274
+ {
17275
+ version: 169,
17276
+ name: "dreaming-evidence-review-cursor",
17277
+ up: up169,
17278
+ artifacts: {
17279
+ columns: [
17280
+ { table: "dreaming_evidence_consumption", column: "cursor_basis" },
17281
+ { table: "dreaming_evidence_consumption", column: "stalled_passes" }
17282
+ ]
17283
+ }
17262
17284
  }
17263
17285
  ];
17264
17286
  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.237.9",
3
+ "version": "0.237.11",
4
4
  "description": "Base class for Signet harness connectors",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,7 +30,7 @@
30
30
  "typecheck": "tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "@signetai/core": "0.237.9",
33
+ "@signetai/core": "0.237.11",
34
34
  "json5": "^2.2.3",
35
35
  "jsonc-parser": "3.3.1"
36
36
  },