@xdarkicex/openclaw-memory-libravdb 1.4.18 → 1.4.19

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 CHANGED
@@ -15,10 +15,13 @@ export function register(api) {
15
15
  registerMemoryCliMetadata(api);
16
16
  return;
17
17
  }
18
- const isFullMode = api.registrationMode === "full";
18
+ const mode = api.registrationMode;
19
+ const isFullMode = mode === "full";
19
20
  const cfg = api.pluginConfig;
20
- // Null in non-full mode: cli.ts skips action handlers when runtime is null.
21
- const runtimeOrNull = isFullMode
21
+ // OpenClaw lazy-loads plugin-owned CLI commands through discovery mode.
22
+ // Provide a runtime there so subcommands attach real handlers, but keep the
23
+ // long-lived memory/context-engine registrations gated to full mode only.
24
+ const runtimeOrNull = (isFullMode || mode === "discovery")
22
25
  ? createPluginRuntime(cfg, api.logger ?? console)
23
26
  : null;
24
27
  registerMemoryCli(api, runtimeOrNull, cfg, api.logger ?? console);
@@ -2,7 +2,7 @@
2
2
  "id": "libravdb-memory",
3
3
  "name": "LibraVDB Memory",
4
4
  "description": "Persistent vector memory with three-tier hybrid scoring",
5
- "version": "1.4.18",
5
+ "version": "1.4.19",
6
6
  "kind": [
7
7
  "memory",
8
8
  "context-engine"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xdarkicex/openclaw-memory-libravdb",
3
- "version": "1.4.18",
3
+ "version": "1.4.19",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",