@signetai/connector-forge 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
@@ -11181,6 +11181,18 @@ function up127(db) {
11181
11181
  ON ontology_contradictions(agent_id, left_source_id, right_source_id);
11182
11182
  `);
11183
11183
  }
11184
+ function up128(db) {
11185
+ db.exec(`
11186
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_status_created_at
11187
+ ON memory_jobs(status, created_at)
11188
+ WHERE job_type <> 'extract';
11189
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_error_updated_at
11190
+ ON memory_jobs(updated_at DESC)
11191
+ WHERE status IN ('pending', 'leased', 'dead')
11192
+ AND job_type <> 'extract'
11193
+ AND error IS NOT NULL;
11194
+ `);
11195
+ }
11184
11196
  var MIGRATIONS = [
11185
11197
  {
11186
11198
  version: 1,
@@ -12207,6 +12219,11 @@ var MIGRATIONS = [
12207
12219
  name: "ontology-contradictions",
12208
12220
  up: up127,
12209
12221
  artifacts: { tables: ["ontology_contradictions"] }
12222
+ },
12223
+ {
12224
+ version: 128,
12225
+ name: "bounded-queue-diagnostics",
12226
+ up: up128
12210
12227
  }
12211
12228
  ];
12212
12229
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -19822,7 +19839,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
19822
19839
  return true;
19823
19840
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
19824
19841
  }
19825
- function up128(db) {
19842
+ function up129(db) {
19826
19843
  db.exec(`
19827
19844
  CREATE TABLE IF NOT EXISTS schema_migrations (
19828
19845
  version INTEGER PRIMARY KEY,
@@ -20265,7 +20282,7 @@ function up1110(db) {
20265
20282
  ON session_scores(session_key);
20266
20283
  `);
20267
20284
  }
20268
- function up129(db) {
20285
+ function up1210(db) {
20269
20286
  db.exec(`
20270
20287
  CREATE TABLE IF NOT EXISTS scheduled_tasks (
20271
20288
  id TEXT PRIMARY KEY,
@@ -23928,11 +23945,23 @@ function up1272(db) {
23928
23945
  ON ontology_contradictions(agent_id, left_source_id, right_source_id);
23929
23946
  `);
23930
23947
  }
23948
+ function up1282(db) {
23949
+ db.exec(`
23950
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_status_created_at
23951
+ ON memory_jobs(status, created_at)
23952
+ WHERE job_type <> 'extract';
23953
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_diagnostics_error_updated_at
23954
+ ON memory_jobs(updated_at DESC)
23955
+ WHERE status IN ('pending', 'leased', 'dead')
23956
+ AND job_type <> 'extract'
23957
+ AND error IS NOT NULL;
23958
+ `);
23959
+ }
23931
23960
  var MIGRATIONS2 = [
23932
23961
  {
23933
23962
  version: 1,
23934
23963
  name: "baseline",
23935
- up: up128,
23964
+ up: up129,
23936
23965
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
23937
23966
  },
23938
23967
  {
@@ -24004,7 +24033,7 @@ var MIGRATIONS2 = [
24004
24033
  {
24005
24034
  version: 12,
24006
24035
  name: "scheduled-tasks",
24007
- up: up129,
24036
+ up: up1210,
24008
24037
  artifacts: { tables: ["scheduled_tasks", "task_runs"] }
24009
24038
  },
24010
24039
  {
@@ -24954,6 +24983,11 @@ var MIGRATIONS2 = [
24954
24983
  name: "ontology-contradictions",
24955
24984
  up: up1272,
24956
24985
  artifacts: { tables: ["ontology_contradictions"] }
24986
+ },
24987
+ {
24988
+ version: 128,
24989
+ name: "bounded-queue-diagnostics",
24990
+ up: up1282
24957
24991
  }
24958
24992
  ];
24959
24993
  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.196.0",
3
+ "version": "0.196.2",
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.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",