@signetai/connector-forge 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 +65 -23
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -9878,6 +9878,19 @@ function up86(db) {
9878
9878
  ON summary_jobs(agent_id, session_key, content_hash)
9879
9879
  `);
9880
9880
  }
9881
+ function addColumnIfMissing22(db, table, column, definition) {
9882
+ const cols = db.prepare(`PRAGMA table_info(${table})`).all();
9883
+ if (cols.some((col) => col.name === column))
9884
+ return;
9885
+ db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
9886
+ }
9887
+ function up87(db) {
9888
+ addColumnIfMissing22(db, "summary_jobs", "boundary_reason", "TEXT");
9889
+ db.exec(`
9890
+ CREATE INDEX IF NOT EXISTS idx_summary_jobs_boundary_reason
9891
+ ON summary_jobs(agent_id, session_key, boundary_reason)
9892
+ `);
9893
+ }
9881
9894
  var MIGRATIONS = [
9882
9895
  {
9883
9896
  version: 1,
@@ -10581,6 +10594,14 @@ var MIGRATIONS = [
10581
10594
  artifacts: {
10582
10595
  columns: [{ table: "summary_jobs", column: "content_hash" }]
10583
10596
  }
10597
+ },
10598
+ {
10599
+ version: 87,
10600
+ name: "summary-jobs-boundary-reason",
10601
+ up: up87,
10602
+ artifacts: {
10603
+ columns: [{ table: "summary_jobs", column: "boundary_reason" }]
10604
+ }
10584
10605
  }
10585
10606
  ];
10586
10607
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -17980,7 +18001,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
17980
18001
  return true;
17981
18002
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
17982
18003
  }
17983
- function up87(db) {
18004
+ function up88(db) {
17984
18005
  db.exec(`
17985
18006
  CREATE TABLE IF NOT EXISTS schema_migrations (
17986
18007
  version INTEGER PRIMARY KEY,
@@ -18073,27 +18094,27 @@ function hasColumn13(db, table, column) {
18073
18094
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
18074
18095
  return rows.some((r) => r.name === column);
18075
18096
  }
18076
- function addColumnIfMissing22(db, table, column, definition) {
18097
+ function addColumnIfMissing23(db, table, column, definition) {
18077
18098
  if (!hasColumn13(db, table, column)) {
18078
18099
  db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
18079
18100
  }
18080
18101
  }
18081
18102
  function up210(db) {
18082
- addColumnIfMissing22(db, "memories", "content_hash", "TEXT");
18083
- addColumnIfMissing22(db, "memories", "normalized_content", "TEXT");
18084
- addColumnIfMissing22(db, "memories", "is_deleted", "INTEGER DEFAULT 0");
18085
- addColumnIfMissing22(db, "memories", "deleted_at", "TEXT");
18086
- addColumnIfMissing22(db, "memories", "extraction_status", "TEXT DEFAULT 'none'");
18087
- addColumnIfMissing22(db, "memories", "embedding_model", "TEXT");
18088
- addColumnIfMissing22(db, "memories", "extraction_model", "TEXT");
18089
- addColumnIfMissing22(db, "memories", "update_count", "INTEGER DEFAULT 0");
18090
- addColumnIfMissing22(db, "memories", "who", "TEXT");
18091
- addColumnIfMissing22(db, "memories", "why", "TEXT");
18092
- addColumnIfMissing22(db, "memories", "project", "TEXT");
18093
- addColumnIfMissing22(db, "memories", "pinned", "INTEGER DEFAULT 0");
18094
- addColumnIfMissing22(db, "memories", "importance", "REAL DEFAULT 0.5");
18095
- addColumnIfMissing22(db, "memories", "last_accessed", "TEXT");
18096
- addColumnIfMissing22(db, "memories", "access_count", "INTEGER DEFAULT 0");
18103
+ addColumnIfMissing23(db, "memories", "content_hash", "TEXT");
18104
+ addColumnIfMissing23(db, "memories", "normalized_content", "TEXT");
18105
+ addColumnIfMissing23(db, "memories", "is_deleted", "INTEGER DEFAULT 0");
18106
+ addColumnIfMissing23(db, "memories", "deleted_at", "TEXT");
18107
+ addColumnIfMissing23(db, "memories", "extraction_status", "TEXT DEFAULT 'none'");
18108
+ addColumnIfMissing23(db, "memories", "embedding_model", "TEXT");
18109
+ addColumnIfMissing23(db, "memories", "extraction_model", "TEXT");
18110
+ addColumnIfMissing23(db, "memories", "update_count", "INTEGER DEFAULT 0");
18111
+ addColumnIfMissing23(db, "memories", "who", "TEXT");
18112
+ addColumnIfMissing23(db, "memories", "why", "TEXT");
18113
+ addColumnIfMissing23(db, "memories", "project", "TEXT");
18114
+ addColumnIfMissing23(db, "memories", "pinned", "INTEGER DEFAULT 0");
18115
+ addColumnIfMissing23(db, "memories", "importance", "REAL DEFAULT 0.5");
18116
+ addColumnIfMissing23(db, "memories", "last_accessed", "TEXT");
18117
+ addColumnIfMissing23(db, "memories", "access_count", "INTEGER DEFAULT 0");
18097
18118
  db.exec(`
18098
18119
  CREATE TABLE IF NOT EXISTS memory_history (
18099
18120
  id TEXT PRIMARY KEY,
@@ -18189,7 +18210,7 @@ function up210(db) {
18189
18210
  ON memory_entity_mentions(entity_id);
18190
18211
  `);
18191
18212
  }
18192
- function addColumnIfMissing23(db, table, column, definition) {
18213
+ function addColumnIfMissing24(db, table, column, definition) {
18193
18214
  const rows = db.prepare(`PRAGMA table_info(${table})`).all();
18194
18215
  if (rows.some((r) => r.name === column))
18195
18216
  return false;
@@ -18197,8 +18218,8 @@ function addColumnIfMissing23(db, table, column, definition) {
18197
18218
  return true;
18198
18219
  }
18199
18220
  function up310(db) {
18200
- addColumnIfMissing23(db, "memories", "why", "TEXT");
18201
- addColumnIfMissing23(db, "memories", "project", "TEXT");
18221
+ addColumnIfMissing24(db, "memories", "why", "TEXT");
18222
+ addColumnIfMissing24(db, "memories", "project", "TEXT");
18202
18223
  db.exec(`DROP INDEX IF EXISTS idx_memories_content_hash`);
18203
18224
  db.exec(`
18204
18225
  UPDATE memories
@@ -18355,7 +18376,7 @@ function up710(db) {
18355
18376
  db.exec("ALTER TABLE memory_jobs ADD COLUMN document_id TEXT");
18356
18377
  }
18357
18378
  }
18358
- function up88(db) {
18379
+ function up89(db) {
18359
18380
  const tables = db.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='embeddings'").all();
18360
18381
  if (tables.length === 0)
18361
18382
  return;
@@ -20909,11 +20930,24 @@ function up862(db) {
20909
20930
  ON summary_jobs(agent_id, session_key, content_hash)
20910
20931
  `);
20911
20932
  }
20933
+ function addColumnIfMissing222(db, table, column, definition) {
20934
+ const cols = db.prepare(`PRAGMA table_info(${table})`).all();
20935
+ if (cols.some((col) => col.name === column))
20936
+ return;
20937
+ db.exec(`ALTER TABLE ${table} ADD COLUMN ${column} ${definition}`);
20938
+ }
20939
+ function up872(db) {
20940
+ addColumnIfMissing222(db, "summary_jobs", "boundary_reason", "TEXT");
20941
+ db.exec(`
20942
+ CREATE INDEX IF NOT EXISTS idx_summary_jobs_boundary_reason
20943
+ ON summary_jobs(agent_id, session_key, boundary_reason)
20944
+ `);
20945
+ }
20912
20946
  var MIGRATIONS2 = [
20913
20947
  {
20914
20948
  version: 1,
20915
20949
  name: "baseline",
20916
- up: up87,
20950
+ up: up88,
20917
20951
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
20918
20952
  },
20919
20953
  {
@@ -20962,7 +20996,7 @@ var MIGRATIONS2 = [
20962
20996
  {
20963
20997
  version: 8,
20964
20998
  name: "embeddings-unique-hash",
20965
- up: up88
20999
+ up: up89
20966
21000
  },
20967
21001
  {
20968
21002
  version: 9,
@@ -21612,6 +21646,14 @@ var MIGRATIONS2 = [
21612
21646
  artifacts: {
21613
21647
  columns: [{ table: "summary_jobs", column: "content_hash" }]
21614
21648
  }
21649
+ },
21650
+ {
21651
+ version: 87,
21652
+ name: "summary-jobs-boundary-reason",
21653
+ up: up872,
21654
+ artifacts: {
21655
+ columns: [{ table: "summary_jobs", column: "boundary_reason" }]
21656
+ }
21615
21657
  }
21616
21658
  ];
21617
21659
  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.147.12",
3
+ "version": "0.147.18",
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.147.12",
28
- "@signetai/core": "0.147.12"
27
+ "@signetai/connector-base": "0.147.18",
28
+ "@signetai/core": "0.147.18"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",