Files
wechat-access-unqclawed/package.json
HenryXiaoYang 4117d4fee5 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
2026-03-10 03:34:52 +08:00

60 lines
1.4 KiB
JSON

{
"name": "@henryxiaoyang/wechat-access-unqclawed",
"version": "1.0.2",
"type": "module",
"description": "OpenClaw 微信通路插件 — 扫码登录 + AGP WebSocket 双向通信",
"author": "HenryXiaoYang",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/HenryXiaoYang/wechat-access-unqclawed.git"
},
"files": [
"index.ts",
"auth/",
"common/",
"http/",
"websocket/",
"openclaw.plugin.json",
"websocket.md",
"README.md"
],
"openclaw": {
"extensions": [
"./index.ts"
],
"channel": {
"id": "wechat-access-unqclawed",
"label": "wechat-access-unqclawed",
"selectionLabel": "WeCom (plugin)",
"detailLabel": "WeCom Bot",
"docsPath": "/channels/wechat-access",
"docsLabel": "wechat-access-unqclawed",
"blurb": "Enterprise WeCom intelligent bot (API mode) via encrypted webhooks + passive replies.",
"aliases": [
"wechatwork",
"wework",
"服务号",
"企微",
"企业微信"
],
"order": 85
},
"install": {
"npmSpec": "@henryxiaoyang/wechat-access-unqclawed",
"localPath": "extensions/wechat-access",
"defaultChoice": "npm"
}
},
"dependencies": {
"fast-xml-parser": "^5.4.1",
"qrcode-terminal": "^0.12.0",
"undici": "^7.20.0",
"ws": "^8.18.0",
"zod": "^4.3.6"
},
"peerDependencies": {
"openclaw": ">=2026.1.26"
}
}