@signetai/signet-memory-openclaw 0.102.3 → 0.102.4
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.
- package/dist/index.js +37 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9079,6 +9079,27 @@ function up58(db) {
|
|
|
9079
9079
|
ON entities(entity_type, mentions)
|
|
9080
9080
|
WHERE entity_type = 'extracted'`);
|
|
9081
9081
|
}
|
|
9082
|
+
function up59(db) {
|
|
9083
|
+
const cols = db.prepare("PRAGMA table_info(entity_attributes)").all();
|
|
9084
|
+
if (!cols.some((col) => col.name === "claim_key")) {
|
|
9085
|
+
db.exec("ALTER TABLE entity_attributes ADD COLUMN claim_key TEXT");
|
|
9086
|
+
}
|
|
9087
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_entity_attributes_claim_key
|
|
9088
|
+
ON entity_attributes(agent_id, aspect_id, claim_key, status)
|
|
9089
|
+
WHERE claim_key IS NOT NULL`);
|
|
9090
|
+
}
|
|
9091
|
+
function up60(db) {
|
|
9092
|
+
const cols = db.prepare("PRAGMA table_info(entity_attributes)").all();
|
|
9093
|
+
if (!cols.some((col) => col.name === "group_key")) {
|
|
9094
|
+
db.exec("ALTER TABLE entity_attributes ADD COLUMN group_key TEXT");
|
|
9095
|
+
}
|
|
9096
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_entity_attributes_group_key
|
|
9097
|
+
ON entity_attributes(agent_id, aspect_id, group_key, status)
|
|
9098
|
+
WHERE group_key IS NOT NULL`);
|
|
9099
|
+
db.exec(`CREATE INDEX IF NOT EXISTS idx_entity_attributes_group_claim
|
|
9100
|
+
ON entity_attributes(agent_id, aspect_id, group_key, claim_key, status)
|
|
9101
|
+
WHERE claim_key IS NOT NULL`);
|
|
9102
|
+
}
|
|
9082
9103
|
var MIGRATIONS = [
|
|
9083
9104
|
{
|
|
9084
9105
|
version: 1,
|
|
@@ -9533,6 +9554,22 @@ var MIGRATIONS = [
|
|
|
9533
9554
|
version: 58,
|
|
9534
9555
|
name: "knowledge-graph-indices",
|
|
9535
9556
|
up: up58
|
|
9557
|
+
},
|
|
9558
|
+
{
|
|
9559
|
+
version: 59,
|
|
9560
|
+
name: "entity-attribute-claim-key",
|
|
9561
|
+
up: up59,
|
|
9562
|
+
artifacts: {
|
|
9563
|
+
columns: [{ table: "entity_attributes", column: "claim_key" }]
|
|
9564
|
+
}
|
|
9565
|
+
},
|
|
9566
|
+
{
|
|
9567
|
+
version: 60,
|
|
9568
|
+
name: "entity-attribute-group-key",
|
|
9569
|
+
up: up60,
|
|
9570
|
+
artifacts: {
|
|
9571
|
+
columns: [{ table: "entity_attributes", column: "group_key" }]
|
|
9572
|
+
}
|
|
9536
9573
|
}
|
|
9537
9574
|
];
|
|
9538
9575
|
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.102.
|
|
3
|
+
"version": "0.102.4",
|
|
4
4
|
"description": "Signet adapter for OpenClaw — runtime plugin for AI agent memory",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@sinclair/typebox": "0.34.47"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@signet/core": "0.102.
|
|
39
|
+
"@signet/core": "0.102.4",
|
|
40
40
|
"@types/node": "^22.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|