DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-power-xc

Power Xc

Self-contained power control for DSH: sidebar power button with an upward 重启/关机 menu plus a Windows-shutdown-style overlay. Own restart & shutdown engine (no dependency on other plugins), MIT licensed.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-power-xc@0.1.6
READMECompatibilityVersions

Compatibility and provenance

Power Xc is published as dsh-power-xc and currently resolves to version 0.1.6. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
11/4/2026

Versions

0.1.6stable
9/29/2026
0.1.5stable
9/24/2026
0.1.4stable
9/8/2026
Show 2 more versionsCollapse versions
0.1.3stable
9/2/2026
0.1.0stable
8/29/2026

Related plugins

Loading related plugins…

Latest
0.1.6
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
278.4 kB
Files
10
Surface
web
License
MIT
Source
npm
GitHub
★ 1
Weekly downloads
250
Security scan
✓ v0.1.6 scan passed
Last push
9/29/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundleRefresh session titles as new human prompts arrive.Personalized Recommendations@deepseek-ai/dsh-personalized-recommendationsPersonalized pages and built-in plugin recommendations offered as cards below answersWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editin

README

dsh-power-xc

中文 | English

DSH 电源管理插件 —— 为 DeepSeek Harness 提供优雅的重启和关机功能,支持 Web UI 一键操作。

本插件基于 dsh-power-button 开发,在其基础上进行了改进和优化。

宿主要求:DSH ≥ 0.2.0-rc.1(engines.dsh)。0.2.0 起 @deepseek-ai/dsh-client-runtime 已从宿主移除,本插件 client 端类型相应改由 @deepseek-ai/cordis 的 Context 提供。

✨ 核心特性

🔄 刷新功能

  • 页面刷新:刷新当前浏览器页面,不重启 DSH 进程
  • 快速恢复:当页面状态异常时,可通过刷新快速恢复
  • 轻量操作:与重启不同,刷新不会重载插件和配置,仅刷新浏览器页面

🔘 侧边栏电源按钮

  • 集成位置:位于侧边栏底部,与设置按钮并列
  • 主题感知:自动适配当前主题风格
  • 一键访问:无需命令行,点击即可操作

🔄 重启功能

  • 平滑过渡:Windows 风格全屏过渡动画
  • 自动重连:重启完成后页面自动刷新
  • 会话保持:优雅处理会话刷新,避免数据丢失
  • 独立引擎:内置重启引擎,无外部依赖

⏻ 关机功能

  • 确认对话框:防止误操作,默认焦点在取消按钮
  • 进度展示:全屏显示关机进度
  • 安全退出:确保所有资源正确释放

🛠️ 重启引擎设计

  • 自包含:无需 PowerShell、无需 taskkill
  • 独立进程:派生分离的 .cjs helper 进程
  • 端口等待:等待旧进程退出并释放端口
  • 命令保留:保持原 execPath/execArgv/argv/cwd

📣 命令支持

  • 模型工具:restart_harness 工具,可在对话中调用
  • 斜杠命令:/restart 和 /shutdown 命令
  • 兼容性:自动跳过已被其他插件注册的命令

🌐 国际化

  • 中英文支持:跟随 profile 的 locale.preference
  • 本地化通知:重启/关机状态提示

🧹 自动清理

  • 日志清理:自动清理 7 天前的 restart-helper 日志
  • 资源管理:避免日志文件堆积

📦 安装

# 使用 DSH CLI
dsh plugin --profile web add dsh-power-xc

# 或使用 npm
npm install dsh-power-xc

安装后重启 DSH,侧边栏底部将出现电源按钮。

🎮 使用方式

方式一:Web UI

  1. 点击侧边栏底部的电源按钮
  2. 选择「刷新」「重启」或「关机」
  3. 确认操作

方式二:斜杠命令

  • 输入 /restart 重启 DSH
  • 输入 /shutdown 关闭 DSH

方式三:模型工具

在对话中请求模型重启 DSH,模型会调用 restart_harness 工具。

🔄 刷新 vs 重启

操作刷新重启
重载插件❌✅
重载配置❌✅
进程重启❌✅
页面刷新✅✅
适用场景页面状态异常配置/插件变更

为什么需要刷新功能?

  • 当页面出现显示异常或响应迟缓时,刷新可以快速恢复
  • 修改 DSH 设置后,刷新可以立即看到效果(部分设置需要重启)
  • 相比重启,刷新是轻量级操作,不会中断当前的 agent 任务

⚙️ 工作原理

用户点击重启
    ↓
显示过渡动画
    ↓
启动独立 helper 进程
    ↓
等待旧进程退出
    ↓
释放端口
    ↓
以原命令行重新拉起
    ↓
页面自动重连

🔒 安全设计

  • 分离进程:helper 独立于主进程运行
  • 超时保护:30 秒超时机制
  • 状态监控:健康检查端点
  • 优雅退出:会话刷新不会阻塞重启

📄 许可证

MIT

🔗 链接

  • GitHub
  • npm
  • 问题反馈
  • 原项目 dsh-power-button