@signetai/signet-memory-openclaw 0.199.0 → 0.199.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 +29 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11529,6 +11529,29 @@ function up130(db) {
11529
11529
  END;
11530
11530
  `);
11531
11531
  }
11532
+ function up131(db) {
11533
+ db.exec(`
11534
+ CREATE TABLE IF NOT EXISTS dreaming_evidence_consumption (
11535
+ agent_id TEXT NOT NULL,
11536
+ source_kind TEXT NOT NULL CHECK (source_kind IN ('memory', 'artifact', 'transcript', 'summary')),
11537
+ source_id TEXT NOT NULL,
11538
+ source_captured_at TEXT NOT NULL,
11539
+ source_entry_id TEXT NOT NULL DEFAULT '',
11540
+ source_revision TEXT NOT NULL,
11541
+ delivered_offset INTEGER NOT NULL CHECK (delivered_offset >= 0),
11542
+ source_length INTEGER NOT NULL CHECK (source_length >= 0),
11543
+ pass_id TEXT NOT NULL,
11544
+ updated_at TEXT NOT NULL,
11545
+ PRIMARY KEY (agent_id, source_kind, source_id, source_captured_at, source_entry_id, source_revision)
11546
+ );
11547
+ CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_source
11548
+ ON dreaming_evidence_consumption(agent_id, source_entry_id, source_kind, source_revision);
11549
+ CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_pending
11550
+ ON dreaming_evidence_consumption(agent_id, source_kind, source_id, source_captured_at, source_revision, delivered_offset, source_length);
11551
+ CREATE INDEX IF NOT EXISTS idx_dreaming_evidence_consumption_continuation
11552
+ ON dreaming_evidence_consumption(agent_id, pass_id, delivered_offset, source_length);
11553
+ `);
11554
+ }
11532
11555
  var MIGRATIONS = [
11533
11556
  {
11534
11557
  version: 1,
@@ -12571,6 +12594,12 @@ var MIGRATIONS = [
12571
12594
  name: "embedding-repair-state",
12572
12595
  up: up130,
12573
12596
  artifacts: { tables: ["embedding_repair_budget", "embedding_repair_backoff"] }
12597
+ },
12598
+ {
12599
+ version: 131,
12600
+ name: "dreaming-evidence-consumption",
12601
+ up: up131,
12602
+ artifacts: { tables: ["dreaming_evidence_consumption"] }
12574
12603
  }
12575
12604
  ];
12576
12605
  var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/signet-memory-openclaw",
3
- "version": "0.199.0",
3
+ "version": "0.199.2",
4
4
  "description": "Signet adapter for OpenClaw — runtime plugin for AI agent memory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",