yangzhe1991/dsh-web-enhance
DSH Web UI 增强插件:逐轮对话导航与思维链默认展开
Project Overview项目介绍
dsh-web-enhance is a browser-side plugin that extends the official DSH (DeepSeek Harness) Web GUI with four quality-of-life toggles, installed via the dsh plugin --profile web add @yangzhe1991/dsh-web-enhance command and applied after a Web GUI restart. Its current built-ins are: a floating bottom-right lightbulb that auto-expands every "Think" reasoning disclosure (persisted in localStorage and yielding to manual collapse), a CNY session-cost meter rendered on the far left of the built-in token-stats line for sessions running on the official DeepSeek API at real peak/off-peak rates, an "open in system app" handler that hands clicked file paths to the OS default application instead of opening the right sidebar, and the completion chime plus tab-title alert inherited from the now-retired dsh-task-notify, controlled by an on/off switch under Settings → General. The build ships a Node half and a browser half (lib/index.js, lib/client.js), and the bundle subscribes to useSessions (filtering subagent children), useSessionStatus (running, pendingInteraction.key), and watchRows from the jobs client service.
Its primary audience is the DSH Web user who wants to read every reasoning row in real time, monitor spending against monthly budgets, skip the repetitive file-open sidebar, and rely on an audible cue when a long-running job or pending dialog is genuinely idle. The notification subsystem is a pure state machine in notify-monitor.ts without React or DOM dependencies, projecting official snapshots into per-session facts and injecting no jobs requirement, so missing job data simply disables the alert. The plugin also intentionally avoids fragile DOM scraping because the DSH 0.1.7 chat DOM is no longer stable.
Compatibility floor is DSH 0.1.7-rc.2 for the completion alert (introduced in 0.2.0) and 0.1.2-alpha.4 for every other feature, with verified coverage of 0.1.3-alpha.2, 0.1.5-rc.2, and 0.1.7-rc.2, while legacy 0.1.0-rc.x snapshot paths remain supported. Contributors run npm install, npm run build, npx tsc --noEmit, and optionally node probe/notify-probe.mjs against a fake clock; tsconfig paths must reference the host CLI's own node_modules to preserve cross-package declaration merging (notably GlobalStandardProps.useSessions). Note that DSH 0.1.7 renamed IconChevronUpOutline14 to IconChevronUpOutlineMedium, so an icon import that resolves to undefined produces a blank page that looks like a load failure. Uninstall with dsh plugin --profile web remove @yangzhe1991/dsh-web-enhance, and the project is released under the MIT license with three stars on GitHub and a published npm package.
dsh-web-enhance 是面向 DSH(DeepSeek Harness)Web 界面的浏览器插件,通过 dsh plugin --profile web add @yangzhe1991/dsh-web-enhance 安装并随 Web GUI 重启生效。当前内置四项增强:右下角浮窗开关自动展开"思考链"、在统计行最左端显示按官方峰谷定价换算的 CNY 会话成本(仅 DeepSeek API 会话)、用桌面默认程序替代右栏内的点文件路径,以及合并自已停更的 dsh-task-notify 的完成提示音与标签页闪烁。插件以 Node 与 Browser 双 bundle 形式发布,注入客户端订阅 useSessions、useSessionStatus 与 jobs 客户端服务的 watchRows,状态机独立于 React。
典型使用场景:希望实时观察完整推理、控制月度开销、避免在长会话末尾反复点击文件链接的 DSH Web 用户,以及从 dsh-task-notify 平滑迁移而来、依赖提示音提醒的开发者。它面向将 DSH 作为唯一运行平台的本地交互者,不涉及 CLI 渠道或多端协同。
依赖上要求 DSH ≥ 0.1.7-rc.2 以启用完成提示,0.2.0 起作为最低线;其余特性自 DSH 0.1.2-alpha.4 起可用,并经 0.1.5-rc.2、0.1.7-rc.2 逐步验证,同时保留对 0.1.0-rc.x 旧快照路径的回退。卸载使用 dsh plugin --profile web remove,许可证为 MIT。提示音与"用系统应用打开"两项提供 Settings → General 内的独立开关,且插件故意不在 inject 中声明 jobs,以保证该服务缺失时其余功能不受影响,运行时将诊断字段写入 document.documentElement.dataset.dshWebeNotify。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-web-enhance(yangzhe1991/dsh-web-enhance)
仓库:https://github.com/yangzhe1991/dsh-web-enhance
本站详情页:https://www.yhbd.top/plugins/yangzhe1991-dsh-web-enhance/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-09-28 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
- Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
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 @yangzhe1991/dsh-web-enhance
把 yangzhe1991/dsh-web-enhance 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-web-enhance
dsh-web-enhance is a browser plugin for the DSH (DeepSeek Harness) web UI that adds small quality-of-life features. It currently ships:
- Thinking chain default-expand — a floating toggle (the lightbulb button at the bottom-right, on by default) that automatically expands every "Think" reasoning disclosure in the conversation, so the full thinking chain is visible while streaming instead of a one-line summary.
- Session cost meter — when a session runs on the official DeepSeek API, an estimated session cost (CNY) is shown at the far left of the same line as the built-in input/output token stats, priced per request at the real peak/off-peak hour using the official pricing page rates.
- Open files in the system app — clicking a file path in the conversation hands it to your desktop default application (VS Code, text editor, …) instead of popping the right sidebar. Can be turned off in Settings → General.
- Completion alert — a chime when a session really finishes its work (or the moment a dialog waits for your choice), plus a tab-title alert while you are on another tab. On by default; can be turned off in Settings → General. (Merged in from the retired dsh-task-notify plugin.)
Migrating from dsh-task-notify? That plugin is retired — its completion alert now lives here as a built-in feature (same decision rules, plus an on/off switch in Settings → General). Switch over with:
dsh plugin --profile web remove @yangzhe1991/dsh-task-notify dsh plugin --profile web add @yangzhe1991/dsh-web-enhancethen restart the Web GUI and refresh the tab. This plugin's other features come along for free.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
MeteorNOX/DeepSeek-Balance-Whale-Widget
Lxiayu/DshCockpit
wink-run/tokenbank
feiyang-dev/dsh-usage-plugin
Witherwithwinter/DeepSeek-Balance-Whale-Widget-Bowl
wenzetan/dsh-quota-panel
nonewind/dsh-spend