DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

System Control — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-system-control

System Control

DSH 网页插件:嵌入侧边栏的 DeepSeek 余额显示,以及黑色极简的完全关闭按钮。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:lnetrit-alt/dsh-system-control#c5451b8cdb24682ca59f8221ef6fd250097c1781
README兼容性版本

兼容性与来源证明

System Control 以 dsh-system-control 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/26

版本

1.0.0stable
2026/8/26

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/8/26
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Git Graph@linxin666/dsh-client-ui-git-graph外部 dsh Web GUI 插件:空会话 Git 分支选择器和 Git 图,包含实际的主机端 Git 操作与防护,作为 dsh 配置文件包

README

dsh-system-control

A persistent DeepSeek Harness (DSH) web plugin that embeds a DeepSeek API balance readout and a full-shutdown button directly above the Settings entry in the left sidebar.

Balance余额 ¥0.69 — read from $DSH_HOME/.credentials.yaml, fetched live from https://api.deepseek.com/user/balance
ShutdownBlack minimalist line-art power button — flushes every session, then exits the whole Harness (web UI + child processes + main process)

✨ Features

  • Sidebar-embedded, not floating — registers into sidebar.footer.action, rendered directly above the Settings button; no card chrome, no clipping, follows the active theme tokens.
  • Live balance display — auto-refreshes after every model API call (via the llm/stream event), polls every 25 s, and refreshes on click.
  • Black minimalist shutdown — a pure line-art power icon (no circle, no fill, no border). A confirm dialog appears first; on confirm it:
    1. Flushes every live session (sessions.flush) so all conversation data is durable;
    2. Gracefully exits the whole Harness (appExit(0)) — the launcher disposes the tree (stops the web UI, terminates child processes) and exits the process;
    3. Hard fallback (process.exit(0) after 1.5 s) so the web UI is guaranteed to go down even if the graceful controller stalls.
  • Clean row — the official Cordis panel icon cell is hidden while this plugin is active, so the footer stays tidy.
  • Collapsed rail friendly — on the 56px rail the confirm row switches to a compact 退出? prompt.
  • Failure-friendly — balance read errors show 获取失败 (fetch failed) instead of breaking the UI; click to retry.

📦 Install

From Git (available now)

dsh plugin --profile web add git+https://github.com/lnetrit-alt/dsh-system-control.git

From npm (pending)

The package is prepared for the npm registry (dsh-system-control); publishing is pending account 2FA setup. Once published:

dsh plugin --profile web add dsh-system-control

Local development

git clone https://github.com/lnetrit-alt/dsh-system-control.git
dsh plugin --profile web add ./dsh-system-control

Restart the Harness (or refresh the page — the client half hot-reloads via dsh-client-hmr; the host half loads at boot).

🖥️ Usage

  • View balance: the footer row shows 余额 ¥0.69 (currency symbol mapped from the API: CNY → ¥, USD → $, EUR → €, GBP → £).
  • Refresh manually: click the balance text.
  • Refresh automatically: after every model API call and every 25 s.
  • Shut down: click the power icon → confirm → all sessions are saved and the whole Harness process exits (web UI included).

🔧 How it works

  • Host half (lib/index.js): registers the /system-control/api route (same browser-trust fence as the official /api gateway — loopback or trustedHosts, same-origin only), serving balance and shutdown; listens to llm/stream to refresh the cached balance after each API call.
  • Client half (lib/client.js): a dsh.client bundle registering two sidebar.footer.action cells — one that replaces (hides) the official cordis-panel icon, and one that renders the balance + shutdown row.
  • Shutdown sequence: sessions.flush → appExit(0) (graceful tree disposal) → process.exit(0) hard fallback.

🤖 Model Experience

The plugin is a UI-only surface: it registers no model-visible tools and changes no agent behavior. The model does not need to know it exists.

⚠️ Known Limitations and Deferred Work

  • Requires the DSH launcher's appExit service (provided by dsh / dsh web); in an embedding host without it, shutdown reports an error instead of exiting.
  • Balance currency symbol is mapped from the API response; multi-currency accounts show the first balance_infos entry.
  • The official Cordis plugin-panel icon is hidden from the sidebar footer while this plugin is active.
  • npm publishing is pending account 2FA setup (see Install).

📄 License

MIT