@alfe.ai/openclaw-database 0.0.8 → 0.0.9

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/plugin2.cjs CHANGED
@@ -488,10 +488,7 @@ const plugin = {
488
488
  version: "0.0.1",
489
489
  activate(api) {
490
490
  const log = api.logger;
491
- if (api.registrationMode === "cli-metadata") {
492
- log.debug("CLI metadata mode — skipping database init");
493
- return;
494
- }
491
+ if (api.registrationMode && api.registrationMode !== "full") return;
495
492
  log.info("Database plugin activating...");
496
493
  let apiUrl;
497
494
  let apiKey;
package/dist/plugin2.js CHANGED
@@ -488,10 +488,7 @@ const plugin = {
488
488
  version: "0.0.1",
489
489
  activate(api) {
490
490
  const log = api.logger;
491
- if (api.registrationMode === "cli-metadata") {
492
- log.debug("CLI metadata mode — skipping database init");
493
- return;
494
- }
491
+ if (api.registrationMode && api.registrationMode !== "full") return;
495
492
  log.info("Database plugin activating...");
496
493
  let apiUrl;
497
494
  let apiKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/openclaw-database",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "OpenClaw database plugin — MongoDB access for agents via MCP tools",
5
5
  "type": "module",
6
6
  "main": "./dist/plugin.js",