@signetai/signet-memory-openclaw 0.108.9 → 0.108.11
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 +26 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
20
20
|
import { homedir } from "node:os";
|
|
21
21
|
import { join as join2 } from "node:path";
|
|
22
22
|
|
|
23
|
-
//
|
|
23
|
+
// ../../../platform/core/dist/index.js
|
|
24
24
|
import { createRequire as createRequire2 } from "node:module";
|
|
25
25
|
import { join, dirname } from "path";
|
|
26
26
|
import { fileURLToPath } from "url";
|
|
@@ -9106,6 +9106,20 @@ function up61(db) {
|
|
|
9106
9106
|
return;
|
|
9107
9107
|
db.exec("ALTER TABLE memory_artifacts ADD COLUMN source_mtime_ms REAL");
|
|
9108
9108
|
}
|
|
9109
|
+
function up62(db) {
|
|
9110
|
+
const cols = db.prepare("PRAGMA table_info(memory_artifacts)").all();
|
|
9111
|
+
const names = new Set(cols.map((col) => col.name));
|
|
9112
|
+
if (!names.has("is_deleted")) {
|
|
9113
|
+
db.exec("ALTER TABLE memory_artifacts ADD COLUMN is_deleted INTEGER NOT NULL DEFAULT 0");
|
|
9114
|
+
}
|
|
9115
|
+
if (!names.has("deleted_at")) {
|
|
9116
|
+
db.exec("ALTER TABLE memory_artifacts ADD COLUMN deleted_at TEXT");
|
|
9117
|
+
}
|
|
9118
|
+
db.exec(`
|
|
9119
|
+
CREATE INDEX IF NOT EXISTS idx_memory_artifacts_agent_deleted
|
|
9120
|
+
ON memory_artifacts(agent_id, is_deleted, deleted_at)
|
|
9121
|
+
`);
|
|
9122
|
+
}
|
|
9109
9123
|
var MIGRATIONS = [
|
|
9110
9124
|
{
|
|
9111
9125
|
version: 1,
|
|
@@ -9584,6 +9598,17 @@ var MIGRATIONS = [
|
|
|
9584
9598
|
artifacts: {
|
|
9585
9599
|
columns: [{ table: "memory_artifacts", column: "source_mtime_ms" }]
|
|
9586
9600
|
}
|
|
9601
|
+
},
|
|
9602
|
+
{
|
|
9603
|
+
version: 62,
|
|
9604
|
+
name: "memory-artifact-soft-delete",
|
|
9605
|
+
up: up62,
|
|
9606
|
+
artifacts: {
|
|
9607
|
+
columns: [
|
|
9608
|
+
{ table: "memory_artifacts", column: "is_deleted" },
|
|
9609
|
+
{ table: "memory_artifacts", column: "deleted_at" }
|
|
9610
|
+
]
|
|
9611
|
+
}
|
|
9587
9612
|
}
|
|
9588
9613
|
];
|
|
9589
9614
|
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.108.
|
|
3
|
+
"version": "0.108.11",
|
|
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.108.
|
|
39
|
+
"@signet/core": "0.108.11",
|
|
40
40
|
"@types/node": "^22.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"repository": {
|
|
58
58
|
"type": "git",
|
|
59
59
|
"url": "https://github.com/Signet-AI/signetai.git",
|
|
60
|
-
"directory": "
|
|
60
|
+
"directory": "integrations/openclaw/memory-adapter"
|
|
61
61
|
}
|
|
62
62
|
}
|