0QwQ0/dsh-discord-richpresence
dsh-plugin: push vague, user-configurable DSH interaction states to local Discord as Rich Presence
Project Overview项目介绍
dsh-discord-richpresence is a host-side background plugin for DeepSeek Harness that mirrors dsh's coarse-grained activity signals to your local Discord client's Rich Presence in real time. By default it pushes only customizable, vague status lines; enabling "rich mode" surfaces live data such as thinking step count, total tokens, and elapsed think time. Use it to surface your dsh collaboration state on your Discord profile. It requires a running Discord desktop client. Note: after uninstall, the discord-richpresence: block in settings.yaml must be removed manually.
dsh-discord-richpresence 是一个 DeepSeek Harness 宿主侧后台插件,将 dsh 的粗粒度活动信号实时映射到本地 Discord 客户端的 Rich Presence 上。默认只推送可自定义的模糊状态文案,开启"丰富模式"后可显示思考步数、token 累计、思考时长等实时数据。适合希望把 dsh 协作状态外显到 Discord 个人资料的用户;前提是本机已运行 Discord 桌面客户端。注意:卸载后 settings.yaml 中 discord-richpresence: 段需手动删除。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-discord-richpresence(0QwQ0/dsh-discord-richpresence)
仓库:https://github.com/0QwQ0/dsh-discord-richpresence
本站详情页:https://www.yhbd.top/plugins/0qwq0-dsh-discord-richpresence/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-19 · 主语言 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 https://github.com/0QwQ0/dsh-discord-richpresence/releases/latest/download/dsh-discord-richpresence.tgz
把 0QwQ0/dsh-discord-richpresence 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-discord-richpresence
English: README.en.md
一个 DeepSeek Harness 插件,将你与 dsh 的交互状态实时镜像到本地 Discord 客户端的 Rich Presence 上——而且只会推送模糊的、可自定义的状态文案。
这是一个宿主侧后台插件:无托盘图标、无界面、无窗口。安装后即注入到 dsh 的启动流程中,随 dsh 一起常驻运行。
它能做什么
插件监听运行中 dsh 的粗粒度活动信号:
| dsh 信号 | 状态示例(默认) |
|---|---|
| 用户消息进入 agent 收件箱 | 正在指挥大肥鱼干活 / 正在给大肥鱼喂 token |
| agent 正在运行(思考 / 流式输出) | 正在与大肥鱼一起 Brainstorming / 正在听大肥鱼讲解 Project |
| 模型工具正在执行 | 正在提交改动意见 |
| 创建了新会话 / 分支(分支对话) | 正在创建大肥鱼记忆切片 |
| 无活动 | 大肥鱼待命 |
上面每一行都是插件配置(statuses)中可直接编辑的列表。插件只会把这些字符串原样发给 Discord。
丰富模式(可选)
默认情况下,插件只推送上面的模糊状态。在设置 → 通用设置 → Rich Presence 丰富状态里可以打开丰富模式。开启后,插件改为推送更智能、带实时数据的状态行:
| 实时数据 | 状态示例 |
|---|---|
| 你刚发送了消息 | 正在指导大肥鱼 |
| agent 正在思考 | 大肥鱼正在思考 6/195 |
| 总输入 tokens | 大肥鱼正在记笔记 38.7M |
| LLM 已思考时长 | 大肥鱼已经思考了 30m46s |
丰富模式的状态是智能随机地从当前实时数据中挑选的——并不绑定某个特定时刻——并且每个状态在 Discord 上至少展示 8 秒。
数据始终关联你当前正在交互的会话:插件会跟踪你最后一条真实输入(source.kind === 'user')所在的会话,思考步数、token 数、思考时长都只从那个会话采集——子代理、后台会话、其他工作区的数据不会被混入。当你切换会话继续交互时,推送的数据会自动跟着切换。该开关运行时持久化在 discord-richpresence 设置命名空间中,无需在 patch 里配置。
隐私
插件绝不读取你的工作区内容。 它不会查看会话标题、消息正文、文件路径、工具输入输出或任何其他内容,只响应粗粒度的生命周期信号(agent/inbox/inserted、agent/status、agent/pre-step、tools/pre-execute、session/created、workflow/start),然后推送配置好的状态字符串(或上面那些只填入标量数据的丰富模板——不含任何内容)。即使保持默认列表,Discord 上也只会出现"正在指挥大肥鱼干活"这样的模糊状态。
环境要求
- 本机运行着 Discord 桌面客户端(Rich Presence 走本地 Discord IPC 端点——Windows 上是命名管道,macOS/Linux 上是 unix socket,或回环 TCP)。
- DeepSeek Harness 0.1.1-rc.1 及以上(已适配当前 npm
latest稳定版0.1.5-rc.2以及预览版0.1.6-alpha.2,同时兼容更早的0.1.1-rc.2)。
兼容的 Harness 版本
插件在运行时探测 Harness 提供的能力,无需按版本切换:
| Harness 版本 | 设置注册路径 | 客户端 store |
|---|---|---|
0.1.5+(含 latest 0.1.5-rc.2、0.1.6-alpha.2) |
ctx.settings.installSection(...) |
@deepseek-ai/dsh-client-store |
0.1.1-rc.1 ~ 0.1.4 |
ctx.settings.register(...) |
@deepseek-ai/dsh-client-runtime/client |
| 两者都不可用时 | 回退到组合配置值 | 内置最小 store 实现 |
插件在启动时自动探测当前 Harness 提供的 API,因此升级 Harness 后无需改动插件配置。如果你还在旧版 Harness 上(如 0.1.1-rc.2),插件同样工作;升级 Harness 后请按升级一节重启 dsh 并刷新页面。
Discord Application ID 已预置在插件中,无需任何配置——安装并重启后,状态就会自动出现在你的 Discord 个人资料上。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
xi-zhao/OpenQuantum
SuperJJ007/papermachine
MochiNek0/dsh-desktop
wanderer-yk/dsh-xueqiu
Alfred-Lau/OPC-Fellows
cheng249hx/dsh-one-click-launcher
reactive-resume/reactive-resume
anywhere-labs/dsh-desktop