@signetai/signet-memory-openclaw 0.137.3 → 0.138.17

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 +32 -0
  2. package/package.json +7 -2
package/dist/index.js CHANGED
@@ -9425,6 +9425,30 @@ function up76(db) {
9425
9425
  ON temporal_edges(agent_id, subject_type, subject_id);
9426
9426
  `);
9427
9427
  }
9428
+ function up77(db) {
9429
+ db.exec(`
9430
+ CREATE TABLE IF NOT EXISTS entity_aliases (
9431
+ id TEXT PRIMARY KEY,
9432
+ entity_id TEXT NOT NULL REFERENCES entities(id) ON DELETE CASCADE,
9433
+ agent_id TEXT NOT NULL DEFAULT 'default',
9434
+ alias TEXT NOT NULL,
9435
+ canonical_alias TEXT NOT NULL,
9436
+ confidence REAL NOT NULL DEFAULT 1.0,
9437
+ source TEXT,
9438
+ status TEXT NOT NULL DEFAULT 'active',
9439
+ created_at TEXT NOT NULL DEFAULT (datetime('now')),
9440
+ updated_at TEXT NOT NULL DEFAULT (datetime('now'))
9441
+ );
9442
+
9443
+ CREATE UNIQUE INDEX IF NOT EXISTS idx_entity_aliases_active_unique
9444
+ ON entity_aliases(agent_id, canonical_alias)
9445
+ WHERE status = 'active';
9446
+ CREATE INDEX IF NOT EXISTS idx_entity_aliases_entity
9447
+ ON entity_aliases(agent_id, entity_id, status);
9448
+ CREATE INDEX IF NOT EXISTS idx_entity_aliases_lookup
9449
+ ON entity_aliases(agent_id, canonical_alias, status);
9450
+ `);
9451
+ }
9428
9452
  var MIGRATIONS = [
9429
9453
  {
9430
9454
  version: 1,
@@ -10035,6 +10059,14 @@ var MIGRATIONS = [
10035
10059
  artifacts: {
10036
10060
  tables: ["temporal_edges"]
10037
10061
  }
10062
+ },
10063
+ {
10064
+ version: 77,
10065
+ name: "entity-aliases",
10066
+ up: up77,
10067
+ artifacts: {
10068
+ tables: ["entity_aliases"]
10069
+ }
10038
10070
  }
10039
10071
  ];
10040
10072
  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.137.3",
3
+ "version": "0.138.17",
4
4
  "description": "Signet adapter for OpenClaw — runtime plugin for AI agent memory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -41,7 +41,12 @@
41
41
  "@types/node": "^22.0.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "openclaw": ">=0.1.0"
44
+ "openclaw": ">=2026.5.22"
45
+ },
46
+ "peerDependenciesMeta": {
47
+ "openclaw": {
48
+ "optional": true
49
+ }
45
50
  },
46
51
  "publishConfig": {
47
52
  "access": "public"