Skip to content

harness-restart-button

Verified

harness-restart-button · v1.0.3 · MIT · Web UI

DeepSeek Harness 重启按钮插件:窗口顶部「应用/编辑」标题栏菜单里、以及每个插件详情页顶部各一个重启入口,确认后关闭并重新拉起应用,让「下次启动生效」的插件与配置改动立刻起作用。 / A DeepSeek Harness plugin that puts one restart control beside the window caption menu and one on every plugin detail page: it closes and relaunches the ap

Install

dsh plugin add harness-restart-button

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Tags

Creators

Readme

重启按钮 · harness-restart-button

DeepSeek Harness 重启按钮插件。 / A restart button for DeepSeek Harness.

DSH 的插件页面在改动需要重启时会提示「更改将在下次启动生效」,却不提供任何重启入口。这个插件补上那一步:点一下,应用关闭并自动重新打开,改动立刻生效。

两个入口

位置 什么时候用得上
窗口顶部「应用 / 编辑」菜单栏里、「编辑」的右边 任何时候都找得到,常驻
插件详情页顶部,和启用开关、卸载按钮同一行 正好在提示「下次启动生效」的那一屏

点击后弹出确认框,确认即重启。重启期间页面会自动恢复,不需要手动刷新。

安装

在 DSH 的插件页面里安装,或装进当前 profile:

# 在 profile 目录,例如 <DSH_HOME>/profiles/<profile>
pnpm add harness-restart-button

装完重启一次(第一次只能手动重启),之后两个入口就会出现。

说明

  • 需要 DSH >=0.2.0-rc.1
  • 标题栏那个入口依赖 Windows 桌面端;其它平台或浏览器里,插件详情页那个入口照常可用
  • 重启会中断正在生成的会话和后台任务,已保存的会话记录不会丢失
  • 界面中英双语,跟随 DSH 语言

License

MIT