DeepSeek Harness plugin

dsh-restart-zhouchen

Independent one-click restart for the DeepSeek Harness web service, surfaced in the Settings page. · 独立的 DSH Web 一键重启(设置页入口)。

Jump to install

Source facts

Repository
zhouchengke2046/dsh-restart
Latest update
Aug 19, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/zhouchengke2046/dsh-restart
Plugin: dsh-restart-zhouchen
Author: zhouchengke2046

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-restart

独立的 DeepSeek Harness Web 一键重启插件——与任何余额/用量功能无关,单独负责在设置页提供一个"重启 dsh"入口。

初衷:装插件 / 改插件之后总要重启 dsh web 才生效。这个小插件把重启做进界面:设置页点一下 → 确认 → 自动重启、服务恢复后自动刷新页面,不再需要命令行。

特性 / Features

  • 独立:零依赖、零耦合,可单独安装/卸载;不读取任何密钥
  • 原生适配:设置页独立分区,使用 DSH 设计令牌(--dsw-alias-*),深浅主题自适应
  • 可靠重启:先 launchctl kickstart -k,2 秒后兜底 SIGTERM 自身进程,launchd KeepAlive 保证拉起新进程(双保险)
  • 自动恢复:确认后轮询服务,恢复即自动刷新页面
  • 可观测:执行痕迹记录在 /tmp/dsh-restart.log

安装 / Install

dsh plugin --profile web add github:zhouchengke2046/dsh-restart
# 或本地路径
dsh plugin --profile web add /path/to/dsh-restart

重启 dsh web(或直接用本插件)后,打开 设置 → 重启 dsh

配置 / Configuration

默认说明
restartEnabledtrue是否注册重启路由
restartCommand""覆盖重启命令;留空则 macOS 自动用 launchctl kickstart -k gui/<uid>/<label>
restartLabelcom.dsh.weblaunchd agent 标签
restartDelayMs600响应发出后延迟执行重启的毫秒数

覆盖方式(profile 的 cordis.patch.yml):

- insert:
    - id: dsh-restart
      name: dsh-restart
      config:
        restartEnabled: true
        restartLabel: com.dsh.web

卸载 / Uninstall

dsh plugin --profile web remove dsh-restart

License

MIT