@signetai/connector-forge 0.237.10 → 0.237.12

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 +46 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -15919,6 +15919,17 @@ function up168(db) {
15919
15919
  DROP TABLE retired_source_paragraphs;
15920
15920
  `);
15921
15921
  }
15922
+ function up169(db) {
15923
+ if (db.prepare("SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = 'dreaming_evidence_consumption'").get() == null)
15924
+ return;
15925
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_consumption)").all();
15926
+ if (!columns.some((column) => column.name === "cursor_basis")) {
15927
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN cursor_basis TEXT NOT NULL DEFAULT 'delivery' CHECK (cursor_basis IN ('delivery', 'review'))");
15928
+ }
15929
+ if (!columns.some((column) => column.name === "stalled_passes")) {
15930
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN stalled_passes INTEGER NOT NULL DEFAULT 0 CHECK (stalled_passes >= 0)");
15931
+ }
15932
+ }
15922
15933
  var MIGRATIONS = [
15923
15934
  {
15924
15935
  version: 1,
@@ -17272,6 +17283,17 @@ var MIGRATIONS = [
17272
17283
  version: 168,
17273
17284
  name: "retire-source-paragraph-claims",
17274
17285
  up: up168
17286
+ },
17287
+ {
17288
+ version: 169,
17289
+ name: "dreaming-evidence-review-cursor",
17290
+ up: up169,
17291
+ artifacts: {
17292
+ columns: [
17293
+ { table: "dreaming_evidence_consumption", column: "cursor_basis" },
17294
+ { table: "dreaming_evidence_consumption", column: "stalled_passes" }
17295
+ ]
17296
+ }
17275
17297
  }
17276
17298
  ];
17277
17299
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -28478,7 +28500,7 @@ var DAEMON_DERIVED_MEMORY_SOURCE_TYPES2 = [
28478
28500
  "checkpoint",
28479
28501
  "dreaming"
28480
28502
  ];
28481
- function up169(db) {
28503
+ function up170(db) {
28482
28504
  const hasColumn = (table, column) => {
28483
28505
  const statement = db.prepare(`SELECT 1 FROM pragma_table_info('${table}') WHERE name = ?`);
28484
28506
  try {
@@ -33982,6 +34004,17 @@ function up1682(db) {
33982
34004
  DROP TABLE retired_source_paragraphs;
33983
34005
  `);
33984
34006
  }
34007
+ function up1692(db) {
34008
+ if (db.prepare("SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = 'dreaming_evidence_consumption'").get() == null)
34009
+ return;
34010
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_consumption)").all();
34011
+ if (!columns.some((column) => column.name === "cursor_basis")) {
34012
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN cursor_basis TEXT NOT NULL DEFAULT 'delivery' CHECK (cursor_basis IN ('delivery', 'review'))");
34013
+ }
34014
+ if (!columns.some((column) => column.name === "stalled_passes")) {
34015
+ db.exec("ALTER TABLE dreaming_evidence_consumption ADD COLUMN stalled_passes INTEGER NOT NULL DEFAULT 0 CHECK (stalled_passes >= 0)");
34016
+ }
34017
+ }
33985
34018
  var MIGRATIONS2 = [
33986
34019
  {
33987
34020
  version: 1,
@@ -35185,7 +35218,7 @@ var MIGRATIONS2 = [
35185
35218
  {
35186
35219
  version: 151,
35187
35220
  name: "transcript-import-bytes",
35188
- up: up169,
35221
+ up: up170,
35189
35222
  artifacts: {
35190
35223
  tables: [
35191
35224
  "source_import_chunks",
@@ -35335,6 +35368,17 @@ var MIGRATIONS2 = [
35335
35368
  version: 168,
35336
35369
  name: "retire-source-paragraph-claims",
35337
35370
  up: up1682
35371
+ },
35372
+ {
35373
+ version: 169,
35374
+ name: "dreaming-evidence-review-cursor",
35375
+ up: up1692,
35376
+ artifacts: {
35377
+ columns: [
35378
+ { table: "dreaming_evidence_consumption", column: "cursor_basis" },
35379
+ { table: "dreaming_evidence_consumption", column: "stalled_passes" }
35380
+ ]
35381
+ }
35338
35382
  }
35339
35383
  ];
35340
35384
  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-forge",
3
- "version": "0.237.10",
3
+ "version": "0.237.12",
4
4
  "description": "Signet connector for ForgeCode - installs MCP, identity, and skills integration",
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.237.10",
28
- "@signetai/core": "0.237.10"
27
+ "@signetai/connector-base": "0.237.12",
28
+ "@signetai/core": "0.237.12"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",