adp-openclaw 0.0.48 → 0.0.49

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.
Files changed (2) hide show
  1. package/index.ts +14 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -91,11 +91,17 @@ const plugin = {
91
91
  description: "ADP channel plugin backed by a Go WebSocket server",
92
92
  configSchema: emptyPluginConfigSchema(),
93
93
  register(api: OpenClawPluginApi) {
94
- // console.log("[adp-openclaw] register() called");
94
+ // Log registration for debugging
95
+ console.log("[adp-openclaw] register() called - starting plugin registration");
96
+ api.logger.info?.("[adp-openclaw] Plugin register() called");
97
+
95
98
  setAdpOpenclawRuntime(api.runtime);
96
99
 
97
100
  // Register the ADP file upload tool
98
101
  // This allows AI to send files to users via ADP storage
102
+ console.log(`[adp-openclaw] Registering tool: ${ADP_UPLOAD_TOOL_NAME}`);
103
+ api.logger.info?.(`[adp-openclaw] Registering tool: ${ADP_UPLOAD_TOOL_NAME}`);
104
+
99
105
  api.registerTool({
100
106
  name: ADP_UPLOAD_TOOL_NAME,
101
107
  description:
@@ -233,9 +239,16 @@ const plugin = {
233
239
  };
234
240
  },
235
241
  });
242
+
243
+ // Log tool registration success
244
+ console.log(`[adp-openclaw] Tool ${ADP_UPLOAD_TOOL_NAME} registered successfully`);
245
+ api.logger.info?.(`[adp-openclaw] Tool ${ADP_UPLOAD_TOOL_NAME} registered successfully`);
236
246
 
237
247
  // Register the channel plugin
238
248
  api.registerChannel({ plugin: adpOpenclawPlugin });
249
+
250
+ console.log("[adp-openclaw] Plugin registration complete");
251
+ api.logger.info?.("[adp-openclaw] Plugin registration complete");
239
252
  },
240
253
  };
241
254
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adp-openclaw",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "description": "ADP-OpenClaw demo channel plugin (Go WebSocket backend)",
5
5
  "type": "module",
6
6
  "dependencies": {