@alfe.ai/openclaw-database 0.0.33 → 0.0.35

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
@@ -470,6 +470,7 @@ const plugin = {
470
470
  name: "Alfe Database",
471
471
  version: pkg.version,
472
472
  activate(api) {
473
+ (0, _alfe_ai_agent_api_client.installToolErrorCapture)(api, { plugin: "openclaw-database" });
473
474
  const log = api.logger;
474
475
  log.info("Database plugin activating...");
475
476
  let client;
package/dist/plugin2.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createRequire } from "node:module";
2
2
  import { MongoClient } from "mongodb";
3
3
  import { resolveConfig } from "@alfe.ai/config";
4
- import { AgentApiClient } from "@alfe.ai/agent-api-client";
4
+ import { AgentApiClient, installToolErrorCapture } from "@alfe.ai/agent-api-client";
5
5
  //#region src/tools.ts
6
6
  const DEFAULT_DB = "org_default";
7
7
  function str(required = true) {
@@ -470,6 +470,7 @@ const plugin = {
470
470
  name: "Alfe Database",
471
471
  version: pkg.version,
472
472
  activate(api) {
473
+ installToolErrorCapture(api, { plugin: "openclaw-database" });
473
474
  const log = api.logger;
474
475
  log.info("Database plugin activating...");
475
476
  let client;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/openclaw-database",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "description": "OpenClaw database plugin — MongoDB access for agents via MCP tools",
5
5
  "type": "module",
6
6
  "main": "./dist/plugin.js",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "dependencies": {
30
30
  "mongodb": "^6.12.0",
31
- "@alfe.ai/agent-api-client": "0.7.0",
31
+ "@alfe.ai/agent-api-client": "0.8.0",
32
32
  "@alfe.ai/config": "0.3.0"
33
33
  },
34
34
  "peerDependencies": {