@searchfe/openclaw-baiduapp 0.1.8-beta.2 → 0.1.8
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 +0 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6357,15 +6357,6 @@ var plugin = {
|
|
|
6357
6357
|
} else if (api.registerHttpHandler) {
|
|
6358
6358
|
api.registerHttpHandler(handleBaiduAppWebhookRequest);
|
|
6359
6359
|
}
|
|
6360
|
-
const typedApi = api;
|
|
6361
|
-
if (typeof typedApi.on === "function") {
|
|
6362
|
-
typedApi.on("before_tool_call", (event) => {
|
|
6363
|
-
console.log(`[openclaw-baiduapp] before_tool_call raw:`, JSON.stringify(event));
|
|
6364
|
-
});
|
|
6365
|
-
typedApi.on("after_tool_call", (event) => {
|
|
6366
|
-
console.log(`[openclaw-baiduapp] after_tool_call raw:`, JSON.stringify(event));
|
|
6367
|
-
});
|
|
6368
|
-
}
|
|
6369
6360
|
}
|
|
6370
6361
|
};
|
|
6371
6362
|
var index_default = plugin;
|