nextclaw 0.6.21 → 0.6.22

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/cli/index.js CHANGED
@@ -1336,6 +1336,7 @@ var CHANNEL_LABELS = {
1336
1336
  feishu: "Feishu",
1337
1337
  mochat: "Mochat",
1338
1338
  dingtalk: "DingTalk",
1339
+ wecom: "WeCom",
1339
1340
  email: "Email",
1340
1341
  slack: "Slack",
1341
1342
  qq: "QQ"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextclaw",
3
- "version": "0.6.21",
3
+ "version": "0.6.22",
4
4
  "description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -38,9 +38,9 @@
38
38
  "dependencies": {
39
39
  "chokidar": "^3.6.0",
40
40
  "commander": "^12.1.0",
41
- "@nextclaw/core": "^0.6.20",
42
- "@nextclaw/server": "^0.4.5",
43
- "@nextclaw/openclaw-compat": "^0.1.13"
41
+ "@nextclaw/core": "^0.6.21",
42
+ "@nextclaw/server": "^0.4.6",
43
+ "@nextclaw/openclaw-compat": "^0.1.14"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^20.17.6",
@@ -384,6 +384,34 @@ Create an app in the [DingTalk open platform](https://open.dingtalk.com/) and ge
384
384
  }
385
385
  ```
386
386
 
387
+ ### WeCom (Enterprise WeChat)
388
+
389
+ Create an internal app in the [WeCom admin console](https://work.weixin.qq.com/), then collect:
390
+
391
+ - `corpId` (Enterprise ID)
392
+ - `agentId` (application Agent ID)
393
+ - `secret` (application secret)
394
+ - `token` (callback token)
395
+
396
+ Set the callback URL to `http://<your-host>:<callbackPort><callbackPath>` and keep callback mode in plaintext (the runtime currently skips encrypted callback payloads).
397
+
398
+ ```json
399
+ {
400
+ "channels": {
401
+ "wecom": {
402
+ "enabled": true,
403
+ "corpId": "YOUR_CORP_ID",
404
+ "agentId": "1000002",
405
+ "secret": "YOUR_APP_SECRET",
406
+ "token": "YOUR_CALLBACK_TOKEN",
407
+ "callbackPort": 18890,
408
+ "callbackPath": "/wecom/callback",
409
+ "allowFrom": []
410
+ }
411
+ }
412
+ }
413
+ ```
414
+
387
415
  ### WhatsApp
388
416
 
389
417
  WhatsApp typically requires a bridge (e.g. a companion service). Configure the bridge URL and optional allowlist: