Oliver0804/dsh-discord-bot
将dsh(DeepSeek Harness)工作区映射到Discord分类中——无需开放入站端口,即可从任何位置查询会话轨迹和实时子代理,并驱动代理运行。
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH), which exposes DSH functionality to any device via a Discord bot. It maps every local DSH workspace to a dedicated text channel under a specific category in your Discord guild, and adds a set of /dsh slash commands to interact with DSH. The plugin only maintains an outbound WebSocket connection to Discord’s gateway, so it works even when DSH runs behind a NAT, CGNAT, hotel network, or corporate firewall. There is no need for port forwarding, dynamic DNS, or reverse proxies, and it adds no inbound attack surface to your local machine.
The plugin supports multiple core actions: you can register new workspaces, switch models, change agent and permission presets, read session trajectories and active subagent status, and even run prompts directly on the local DSH instance. The ability to run prompts is disabled by default, because it allows users on the allowed list to execute work on your local machine. If you enable this feature, you should keep the allowed user list small and use a more restrictive permission preset to avoid unintended access. It also supports mirroring, which pushes every step of a running DSH session to the corresponding Discord channel in real time.
This plugin requires DSH version 0.1.0-rc.6 or newer, and Node.js 20 or higher to run. It is distributed as plain ESM JavaScript with no build step required, so there is no TypeScript compilation or bundling needed to install or run it. To install, you first create a new bot application on the Discord Developer Portal, copy the bot token, invite the bot to your Discord guild with the correct permissions, then run the included setup script to complete integration with DSH. It is released under the open source MIT license.
这是一个专为DeepSeek Harness(DSH)开发的原生插件,通过Discord机器人将DSH的功能暴露出来。它会把每个DSH工作区映射为Discord特定分类下的独立文本频道,并提供斜杠命令来读取会话轨迹、查看运行中的子代理以及管理DSH配置。插件仅向外发起到Discord网关的WebSocket连接,因此即使DSH运行在NAT或企业防火墙后,也不需要端口转发或反向代理即可访问。
该插件允许你通过Discord远程访问本地运行的DSH实例,你可以注册工作区、切换模型和代理预设,还能直接发送提示词让DSH执行任务并流式返回结果。运行任务的权限默认关闭,开启后仅允许白名单内用户操作你的本地机器,适合需要随时随地通过移动设备访问本地DSH的用户。它还支持会话镜像功能,DSH每一步运行都会实时同步到对应Discord频道。
该插件要求DSH版本不低于0.1.0-rc.6,且需要Node.js 20及以上版本,采用MIT许可证开源。安装时需要先在Discord开发者平台创建机器人,获取令牌后邀请机器人到你的Discord服务器,再通过插件提供的安装脚本完成部署。没有构建步骤,直接使用原生ESM JavaScript运行,不需要TypeScript或打包工具。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-discord-bot(Oliver0804/dsh-discord-bot)
仓库:https://github.com/Oliver0804/dsh-discord-bot
本站详情页:https://www.yhbd.top/plugins/oliver0804-dsh-discord-bot/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-10 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-discord-bot
把 Oliver0804/dsh-discord-bot 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-discord-bot

English | 中文
Projects a DeepSeek Harness onto one Discord
guild: a category holding one text channel per workspace, and /dsh … commands that read
session trajectories and live subagents from inside those channels.
🗂 dsh ← the category
# dsh ← workspace /Users/you/Documents/dsh
# sweepbot-home ← workspace /Users/you/code/game/godot/sweepbot_home
# my-api ← workspace /Users/you/work/my-api
| Register a workspace | The channel appears, private |
|---|---|
![]() |
![]() |
| Send it work, watch the turn | Read back what actually happened |
![]() |
![]() |
The bot answers in the language of whoever is clicking, so these are one guild's Traditional Chinese — see Language. More screenshots.
Reaching a machine you cannot route to
The bot opens a WebSocket out to Discord's gateway and keeps it open. Every command arrives
over that existing connection, so the harness answers from behind NAT, CGNAT, a hotel network, or
a corporate firewall — with no port forwarded, no dynamic DNS, no reverse proxy, and no tunnel
service holding a key to your machine. If the laptop can reach discord.com, you can query it
from your phone.
Nothing listens. There is no inbound attack surface to add.
What it can and cannot do
Reads — sessions, trajectories, raw event timelines, subagents, lineage.
Watches — with mirror: true, every turn the harness runs appears in its workspace's channel as
it happens, whoever started it: the web UI, the tui, a cron entry. Off by default, because it
continuously exports session content to a chat platform.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →




loopx-project/loopx
omdsh-dev/DSH-better-sidebar
limuyang2/agent-team
Cerbur/clutch-dsh
LoserFox/distill
Iwctwbh/dsh-flowglass
PerryLink/dsh-background-agents