@xdarkicex/openclaw-memory-libravdb 1.4.36 → 1.4.37
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 +9 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -39655,10 +39655,19 @@ function register(api) {
|
|
|
39655
39655
|
});
|
|
39656
39656
|
api.on("before_reset", createBeforeResetHook(runtime, api.logger ?? console));
|
|
39657
39657
|
api.on("session_end", createSessionEndHook(runtime, api.logger ?? console));
|
|
39658
|
+
api.on("agent_end", async (event) => {
|
|
39659
|
+
const e = asRecord(event) ?? {};
|
|
39660
|
+
logger.info?.(
|
|
39661
|
+
`LibraVDB agent_end success=${e.success ?? "unknown"} durationMs=${e.durationMs ?? "?"} error=${typeof e.error === "string" ? e.error : "none"}`
|
|
39662
|
+
);
|
|
39663
|
+
});
|
|
39658
39664
|
api.on("gateway_stop", async () => {
|
|
39659
39665
|
await runtime.shutdown();
|
|
39660
39666
|
});
|
|
39661
39667
|
}
|
|
39668
|
+
function asRecord(value) {
|
|
39669
|
+
return typeof value === "object" && value !== null ? value : null;
|
|
39670
|
+
}
|
|
39662
39671
|
var index_default = definePluginEntry({
|
|
39663
39672
|
id: MEMORY_ID,
|
|
39664
39673
|
name: "LibraVDB Memory",
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xdarkicex/openclaw-memory-libravdb",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.37",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"openclaw": {
|
|
33
33
|
"extensions": [
|
|
34
|
-
"./dist/index.js"
|
|
34
|
+
"./dist/index.js",
|
|
35
|
+
"./dist/cli-metadata.js"
|
|
35
36
|
],
|
|
36
37
|
"compat": {
|
|
37
38
|
"pluginApi": ">=2026.3.22",
|