@signetai/connector-openclaw 0.185.5 → 0.185.7

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 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -10760,6 +10760,22 @@ function up117(db) {
10760
10760
  ON session_transcripts(agent_id, content_hash);
10761
10761
  `);
10762
10762
  }
10763
+ function up118(db) {
10764
+ db.exec(`
10765
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_pressure_status
10766
+ ON memory_jobs(status)
10767
+ WHERE status IN ('pending', 'leased') AND job_type <> 'extract';
10768
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_pressure_created_at
10769
+ ON memory_jobs(created_at)
10770
+ WHERE status IN ('pending', 'leased') AND job_type <> 'extract';
10771
+ CREATE INDEX IF NOT EXISTS idx_summary_jobs_pressure_status
10772
+ ON summary_jobs(status)
10773
+ WHERE status IN ('pending', 'leased');
10774
+ CREATE INDEX IF NOT EXISTS idx_summary_jobs_pressure_created_at
10775
+ ON summary_jobs(created_at)
10776
+ WHERE status IN ('pending', 'leased');
10777
+ `);
10778
+ }
10763
10779
  var MIGRATIONS = [
10764
10780
  {
10765
10781
  version: 1,
@@ -11710,6 +11726,11 @@ var MIGRATIONS = [
11710
11726
  { table: "session_transcripts", column: "content_hash" }
11711
11727
  ]
11712
11728
  }
11729
+ },
11730
+ {
11731
+ version: 118,
11732
+ name: "queue-pressure-indices",
11733
+ up: up118
11713
11734
  }
11714
11735
  ];
11715
11736
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -20977,7 +20998,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
20977
20998
  return true;
20978
20999
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
20979
21000
  }
20980
- function up118(db) {
21001
+ function up119(db) {
20981
21002
  db.exec(`
20982
21003
  CREATE TABLE IF NOT EXISTS schema_migrations (
20983
21004
  version INTEGER PRIMARY KEY,
@@ -21400,7 +21421,7 @@ function up1010(db) {
21400
21421
  )
21401
21422
  `);
21402
21423
  }
21403
- function up119(db) {
21424
+ function up1110(db) {
21404
21425
  db.exec(`
21405
21426
  CREATE TABLE IF NOT EXISTS session_scores (
21406
21427
  id TEXT PRIMARY KEY,
@@ -24771,11 +24792,27 @@ function up1172(db) {
24771
24792
  ON session_transcripts(agent_id, content_hash);
24772
24793
  `);
24773
24794
  }
24795
+ function up1182(db) {
24796
+ db.exec(`
24797
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_pressure_status
24798
+ ON memory_jobs(status)
24799
+ WHERE status IN ('pending', 'leased') AND job_type <> 'extract';
24800
+ CREATE INDEX IF NOT EXISTS idx_memory_jobs_pressure_created_at
24801
+ ON memory_jobs(created_at)
24802
+ WHERE status IN ('pending', 'leased') AND job_type <> 'extract';
24803
+ CREATE INDEX IF NOT EXISTS idx_summary_jobs_pressure_status
24804
+ ON summary_jobs(status)
24805
+ WHERE status IN ('pending', 'leased');
24806
+ CREATE INDEX IF NOT EXISTS idx_summary_jobs_pressure_created_at
24807
+ ON summary_jobs(created_at)
24808
+ WHERE status IN ('pending', 'leased');
24809
+ `);
24810
+ }
24774
24811
  var MIGRATIONS2 = [
24775
24812
  {
24776
24813
  version: 1,
24777
24814
  name: "baseline",
24778
- up: up118,
24815
+ up: up119,
24779
24816
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
24780
24817
  },
24781
24818
  {
@@ -24841,7 +24878,7 @@ var MIGRATIONS2 = [
24841
24878
  {
24842
24879
  version: 11,
24843
24880
  name: "session-scores",
24844
- up: up119,
24881
+ up: up1110,
24845
24882
  artifacts: { tables: ["session_scores"] }
24846
24883
  },
24847
24884
  {
@@ -25721,6 +25758,11 @@ var MIGRATIONS2 = [
25721
25758
  { table: "session_transcripts", column: "content_hash" }
25722
25759
  ]
25723
25760
  }
25761
+ },
25762
+ {
25763
+ version: 118,
25764
+ name: "queue-pressure-indices",
25765
+ up: up1182
25724
25766
  }
25725
25767
  ];
25726
25768
  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-openclaw",
3
- "version": "0.185.5",
3
+ "version": "0.185.7",
4
4
  "description": "Signet connector for OpenClaw - configures workspace and memory hooks",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,8 +25,8 @@
25
25
  "test": "bun test"
26
26
  },
27
27
  "dependencies": {
28
- "@signetai/connector-base": "0.185.5",
29
- "@signetai/core": "0.185.5"
28
+ "@signetai/connector-base": "0.185.7",
29
+ "@signetai/core": "0.185.7"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",