kazecreator/dsh-plugins--packages-dsh-im ↗★ 0
@kaze/dsh-im
DeepSeek Harness IM bridge plugin: route Telegram & WeChat messages into per-peer agent sessions and reply back
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗@kaze/dsh-im
DeepSeek Harness IM bridge plugin: route inbound Telegram and WeChat
messages into per-peer agent sessions and send the agent's reply back to the
originating chat. Each provider:peerId pair gets its own live DSH Agent, so
conversation history persists for the process lifetime.
- Telegram — official Bot API over long polling (
getUpdates/sendMessage), no heavy dependencies (uses Node's globalfetch). - WeChat — the official Tencent OpenClaw Weixin
ilinkprotocol: QR connects the AI bot to WeChat (not a device login), then long-pollsgetupdatesand replies viasendmessage. No heavy dependency.
Install & enable
The plugin is a plain Cordis plugin (not a bundle), so enablement is two steps: install it into the profile, then insert a patch row.
# 1. install into a profile (copies the package into the profile's node_modules)
cd /path/to/kaze-ds-plugins
dsh plugin --profile web add file:./dsh-im
# 2. edit $DSH_HOME/profiles/web/cordis.patch.yml (see example.cordis.patch.yml)
Use
file:(copy), notlink:: the profile resolves a plugin's@deepseek-ai/*peers through$DSH_HOME/profiles/node_modules(the flat fallback), and alink:symlink would re-anchor resolution at the checkout directory where those peers are absent.
Minimal patch (Telegram only; both channels off by default so the bridge is inert until you opt in):
- insert:
- id: dsh-im
name: '@kaze/dsh-im'
config:
telegramEnabled: true
telegramBotToken: '123456:ABC-...'
# telegramAllowedUserIds: ['123456789'] # optional allowlist; empty = allow all
wechatEnabled: false
Restart the profile for the change to take effect.
Configuration
| Key | Default | Meaning |
|---|---|---|
agentPreset | "" | Agent preset id to join (empty = the profile's default preset). In Web profiles this gives the IM agent the same tools/prompt as a normal Web session. |