@signetai/connector-openclaw 0.189.2 → 0.191.0

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 +64 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -10834,6 +10834,23 @@ function up121(db) {
10834
10834
  VALUES (1, CURRENT_TIMESTAMP);
10835
10835
  `);
10836
10836
  }
10837
+ function up122(db) {
10838
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
10839
+ const names = new Set(columns.map((column) => column.name));
10840
+ if (!names.has("failure_class")) {
10841
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN failure_class TEXT NOT NULL DEFAULT 'unknown' CHECK (failure_class IN ('incomplete_transcript', 'source_projection', 'scope_mismatch', 'quote_mismatch', 'unknown'))");
10842
+ }
10843
+ if (!names.has("source_fingerprint")) {
10844
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
10845
+ }
10846
+ if (!names.has("retry_count")) {
10847
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
10848
+ }
10849
+ if (!names.has("last_requeued_at")) {
10850
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
10851
+ }
10852
+ db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
10853
+ }
10837
10854
  var MIGRATIONS = [
10838
10855
  {
10839
10856
  version: 1,
@@ -11815,6 +11832,19 @@ var MIGRATIONS = [
11815
11832
  { table: "telemetry_events", column: "last_failure_code" }
11816
11833
  ]
11817
11834
  }
11835
+ },
11836
+ {
11837
+ version: 122,
11838
+ name: "dreaming-evidence-retry",
11839
+ up: up122,
11840
+ artifacts: {
11841
+ columns: [
11842
+ { table: "dreaming_evidence_exclusions", column: "failure_class" },
11843
+ { table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
11844
+ { table: "dreaming_evidence_exclusions", column: "retry_count" },
11845
+ { table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
11846
+ ]
11847
+ }
11818
11848
  }
11819
11849
  ];
11820
11850
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
@@ -21082,7 +21112,7 @@ function memoriesFtsNeedsTokenizerRepair2(sql) {
21082
21112
  return true;
21083
21113
  return !normalized.includes(`tokenize='${MEMORIES_FTS_TOKENIZER2}'`);
21084
21114
  }
21085
- function up122(db) {
21115
+ function up123(db) {
21086
21116
  db.exec(`
21087
21117
  CREATE TABLE IF NOT EXISTS schema_migrations (
21088
21118
  version INTEGER PRIMARY KEY,
@@ -21525,7 +21555,7 @@ function up1110(db) {
21525
21555
  ON session_scores(session_key);
21526
21556
  `);
21527
21557
  }
21528
- function up123(db) {
21558
+ function up124(db) {
21529
21559
  db.exec(`
21530
21560
  CREATE TABLE IF NOT EXISTS scheduled_tasks (
21531
21561
  id TEXT PRIMARY KEY,
@@ -24950,11 +24980,28 @@ function up1212(db) {
24950
24980
  VALUES (1, CURRENT_TIMESTAMP);
24951
24981
  `);
24952
24982
  }
24983
+ function up1222(db) {
24984
+ const columns = db.prepare("PRAGMA table_info(dreaming_evidence_exclusions)").all();
24985
+ const names = new Set(columns.map((column) => column.name));
24986
+ if (!names.has("failure_class")) {
24987
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN failure_class TEXT NOT NULL DEFAULT 'unknown' CHECK (failure_class IN ('incomplete_transcript', 'source_projection', 'scope_mismatch', 'quote_mismatch', 'unknown'))");
24988
+ }
24989
+ if (!names.has("source_fingerprint")) {
24990
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN source_fingerprint TEXT");
24991
+ }
24992
+ if (!names.has("retry_count")) {
24993
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN retry_count INTEGER NOT NULL DEFAULT 0");
24994
+ }
24995
+ if (!names.has("last_requeued_at")) {
24996
+ db.exec("ALTER TABLE dreaming_evidence_exclusions ADD COLUMN last_requeued_at TEXT");
24997
+ }
24998
+ db.exec("CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_exclusions_retry ON dreaming_evidence_exclusions (resolved_at, requeue_requested_at, failure_class, retry_count, last_requeued_at)");
24999
+ }
24953
25000
  var MIGRATIONS2 = [
24954
25001
  {
24955
25002
  version: 1,
24956
25003
  name: "baseline",
24957
- up: up122,
25004
+ up: up123,
24958
25005
  artifacts: { tables: ["memories", "conversations", "embeddings"] }
24959
25006
  },
24960
25007
  {
@@ -25026,7 +25073,7 @@ var MIGRATIONS2 = [
25026
25073
  {
25027
25074
  version: 12,
25028
25075
  name: "scheduled-tasks",
25029
- up: up123,
25076
+ up: up124,
25030
25077
  artifacts: { tables: ["scheduled_tasks", "task_runs"] }
25031
25078
  },
25032
25079
  {
@@ -25931,6 +25978,19 @@ var MIGRATIONS2 = [
25931
25978
  { table: "telemetry_events", column: "last_failure_code" }
25932
25979
  ]
25933
25980
  }
25981
+ },
25982
+ {
25983
+ version: 122,
25984
+ name: "dreaming-evidence-retry",
25985
+ up: up1222,
25986
+ artifacts: {
25987
+ columns: [
25988
+ { table: "dreaming_evidence_exclusions", column: "failure_class" },
25989
+ { table: "dreaming_evidence_exclusions", column: "source_fingerprint" },
25990
+ { table: "dreaming_evidence_exclusions", column: "retry_count" },
25991
+ { table: "dreaming_evidence_exclusions", column: "last_requeued_at" }
25992
+ ]
25993
+ }
25934
25994
  }
25935
25995
  ];
25936
25996
  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.189.2",
3
+ "version": "0.191.0",
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.189.2",
29
- "@signetai/core": "0.189.2"
28
+ "@signetai/connector-base": "0.191.0",
29
+ "@signetai/core": "0.191.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",