DeepSeek Harness Plugin

wwweljf/dsh-plugins#dsh-wx-push

Stars ★ 0 Category Workflow & Automation Added 2026-09-08

Auto-send every DSH turn result to WeChat: listens for task completion, extracts the final assistant message and pushes it raw via the WeChat iLink bot (real delivery check, never fake success). Requires the wechat-acp daemon, a separately installed process you log into WeChat with.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:wwweljf/dsh-plugins#path:/plugins/dsh-wx-push

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

DSH 会话每次任务结束后,自动把最终结果原文推送到你的微信(走微信 iLink 机器人直发,不经过 AI 转述、真实校验送达)。

功能

  • 自动推送:监听任务结束事件,提取该回合最终助手消息,原文直发到最近与你聊天的微信 bot 会话
  • 真实校验:发送后检查 iLink 响应(成功 = message_id,失败 = ret 错误码),失败如实记录,绝不假装成功
  • 常驻:宿主级 bundle 插件,重启不丢

安装

dsh plugin --profile web add github:wwweljf/dsh-plugins#path:/plugins/dsh-wx-push

重启 dsh web 生效。

依赖

  • wechat-acp 桥已配置并扫码登录(token 存 ~/.wechat-acp/token.json);这是需要另外安装、并用微信扫码登录的独立守护进程,本插件只复用它的凭据调 iLink
  • 直发脚本复用 wechat-acp 凭据调 iLink sendmessage

平台限制(重要)

微信 iLink 的 context_token 短时效(约 30-60 分钟),只能靠用户主动给 bot 发消息刷新。用户长时间不互动时主动推送会被拒(ret=-2 prepare failed)——这是 iLink 平台设计,无法绕开;插件会如实报错,你给 bot 发条消息即恢复。

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.