Overview
dsh-plugin-wecom-bot
README / EN
Package documentation
Registry summary
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
- **必须带 ALPN 握手(已处理)**:企业微信长连接网关要求 TLS ClientHello 携带 ALPN `http/1.1`,Node 内置 WebSocket(undici)与 `http.request` 默认 都不带,握手会被网关以 400 拒绝。本插件用 `ws` 库 + 显式 ALPN 的 `https.Agent` 建连解决;若改用其他客户端,请注意同样的问题。 - 同一机器人同时只允许一个长连接:另一处连上时本连接会收到 `disconnected_event` 并被网关断开。 - 消息频率受企业微信限制(约 30 条/分钟)。 - 语音消息按转写文本处理;图片/文件消息暂不处理(会被忽略)。 - 最终回复超过 `maxReplyChars` 会被截断。
