michaelcode-wang/dsh-wecom0

dsh-wecom

WeCom (Enterprise WeChat) Smart Robot bridge for DeepSeek Harness — two-way chat over the aibot WebSocket gateway (bot_id + secret), no public endpoint needed.

包名
dsh-wecom
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:michaelcode-wang/dsh-wecom

配置

$DSH_HOME/profiles/im/cordis.patch.yml 中:


## 配置项

| 键 | 默认 | 说明 |
|---|---|---|
| `enabled` | `true` | 总开关 |
| `botId` | `''` | 企业微信智能机器人 ID |
| `secret` | `''` | 企业微信智能机器人密钥(只写) |
| `websocketUrl` | `wss://openws.work.weixin.qq.com` | WebSocket 网关地址 |
| `allowedUserIds` | `[]` | 允许对话的 userid 白名单;留空=所有人 |
| `agent.preset` | `taibai` | 挂载的 agent preset |
| `agent.cwd` | `''` | agent 工作目录(默认进程 cwd) |
| `agent.provider` / `agent.model` | `''` | 模型覆盖;留空=部署默认 |
| `agent.maxMessageLength` | `4000` | 单条外发消息最大字符数 |
| `agent.idleTimeoutMs` | `1800000` | 聊天空闲多久后释放 agent(0=永不) |