fix: registerCommand uses 'name' not 'command', fix handler signature, add missing clearState import
- OpenClaw SDK expects 'name' field in OpenClawPluginCommandDefinition, not 'command'
(caused TypeError: Cannot read properties of undefined reading 'trim')
- Handler receives { config } not { cfg, reply }, returns ReplyPayload
- Add missing clearState import for /wechat-logout command
- Bump version to 1.0.2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@henryxiaoyang/wechat-access-unqclawed",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"type": "module",
|
||||
"description": "OpenClaw 微信通路插件 — 扫码登录 + AGP WebSocket 双向通信",
|
||||
"author": "HenryXiaoYang",
|
||||
|
||||
Reference in New Issue
Block a user