TtTRz/dsh-wecom
WeCom AI Bot channel for DeepSeek Harness — every chat runs a persistent, preset-backed agent with real tools.
A WeCom (WeChat Work) AI Bot channel for DeepSeek Harness — every single/group chat is a real agent with tools, streaming replies, thinking cards, and a live status panel. One conversation = one agent: mounts a preset (default standard) with its tools (bash, read, edit, skills, …) and persona; session ids are derived deterministically (sha256 of namespace·scope·peer, no raw userid) and survive restarts via sessionPersistence. Images are downloaded, decrypted with the official SDK and attached when the model can view them; files and videos land in the agent's workspace. Token-level text streaming, a native <think> reasoning card, and a compact tool-call activity list. Access policy per channel (open / allowlist / disabled), msgid dedup, per-conversation queues, a global concurrency cap, per-turn timeouts that cancel instead of leaving zombies, and self-healing restarts when the long connection dies.
Install
dsh plugin --profile web add dsh-wecomnpm package dsh-wecom 0.3.0 (registry-verified 2026-08-27): dsh plugin --profile web add dsh-wecom, then export WECOM_BOT_ID and WECOM_BOT_SECRET and run dsh web. For persistence write WECOM_BOT_ID into ~/.dsh/.env and WECOM_BOT_SECRET into ~/.dsh/.credentials.yaml (reference WECOM_BOT_SECRET). DSH_WECOM_CWD overrides the agent working directory. Bot commands: /ping /help /status /stop /compact /new.
Compatibility
DeepSeek Harness web profile. Wire a WeCom AI Bot over the official long connection; Node with built-in fetch.
Details
- Repo: TtTRz/dsh-wecom
- Category: Agent Capabilities
- Stars: 3
- Version: npm dsh-wecom 0.3.0 (registry-verified 2026-08-27)
- Last push: 2026-08-17
- First seen: 2026-08-13
Recent updates
WeCom AI Bot channel; persistent per-chat agent with tools; streaming + thinking cards; media support; access policy; self-healing connection; status panel.
FAQ
- Is each chat a real agent?
- Yes — every single/group chat is backed by a persistent Harness agent with the preset's tools and persona, not a bare chat loop.
- Which credentials are needed?
- WECOM_BOT_ID and WECOM_BOT_SECRET from a WeCom AI Bot application; keep the secret in ~/.dsh/.credentials.yaml for production.
- What happens if the connection dies?
- The channel restarts itself after restartIntervalMs (default 10s) — kicked, auth failure, and replaced-client cases are handled.
Alternatives
sliverp/DeepSeek-harness-wecom · cmfok/dsh-feishucard · imetn/dsh-lark-bridge