DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-restart-button

x

dsh-restart-button

Manifest valid

One-click reload button for the DeepSeek Harness Web UI. / DeepSeek Harness 网页界面的一键刷新按钮。

UI (client)hasBundlePatchMachine translated

dsh-restart-button

一个给 DeepSeek Harness Web UI 加「一键整页刷新」的最小插件 —— 模块化、零依赖、跟着主题走。

给 DeepSeek Harness 的 Web 界面加一个「一键刷新」按钮。点一下 = 整页重载,前端插件全部重新挂载。

button

它长在哪

对话头部的最左边、会话标题左侧那一格:一个 ⟳ 图标。

再往上那行「应用 / 编辑」是 Electron 的应用菜单栏,不属于网页的插槽树,插件渲染不进去——所以这是网页里离左上角最近、又合法的位置。

为什么需要它

桌面版没有地址栏,想重载页面得自己找路子(快捷键、关掉重开)。而改一个前端插件、装个新插件、或者界面某块卡了不刷新,最省事的办法恰恰就是整页重载。现在它就贴着会话标题,一眼能找到,点一下就行。

装

任选一种:

A. 让 DSH 里的助手装(最省事)——让它用 plugin_manager 的 install_bundle,target 填:

github:xing2yu4/dsh-restart-button

B. 自己用 CLI 装:

dsh plugin --profile <profile> add github:xing2yu4/dsh-restart-button

然后把 dsh-restart-button 加进该 profile 的 package.json:

{
  "dsh": { "profile": { "bundles": [ "...", "dsh-restart-button" ] } }
}

然后重启 DSH。

首次安装必须重启一次:bundle 的 patch 层是在启动时组合的,装完立刻不会出现。重启之后随便点。

卸

dsh plugin --profile <profile> remove dsh-restart-button

从 bundles 列表里删掉这一行,重启 DSH。

长什么样

  • 是一个 28×28 的图标按钮,图标色走主题变量 --dsw-alias-label-primary,深色/浅色主题自动跟随。
  • 悬停出现浅色底,按下有轻微缩放,键盘聚焦有主题色描边。
  • 点一下先转半圈(160 ms),然后 location.reload()。
  • 文案走 Client locale(中文「刷新界面」/ English "Reload interface")。

实现

文件作用
client.jswindow.__ModuleLoader__.load 注册到插槽 conversation.header.leading,用 React 渲染按钮
index.jsHost 半边是空壳(export function apply() {})——按钮完全在前端
cordis.patch.yml往 profile 树里插入一行 dsh-restart-button
locale/*.json插件在「插件」列表里显示的名字和描述

只对 Web 平台有效(dsh.client.platform: "web")。

English

A one-click reload button for the DeepSeek Harness web UI, rendered at the top-left of the conversation header (the first seat in conversation.header.leading). Click → full page reload, so client plugins get re-mounted. The 应用 / 编辑 band above it is the Electron application menu and is not part of the web slot tree.

Install with github:xing2yu4/dsh-restart-button via the plugin_manager tool, or dsh plugin --profile <profile> add ..., add dsh-restart-button to dsh.profile.bundles, and restart DSH once.

License

MIT

Comments

Loading…

Similar plugins

dsh-restart-ui

by BaoBao1996121

One-click, cross-platform restart button for the DSH web GUI. The loopback-only host route relaunches the exact current DSH invocation; the browser half injects the button.

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 28, 2026

dsh plugin --profile web add dsh-restart-ui

by PPsz-qqq

DeepSeek Harness plugin: one-click restart button in the top-right of the session header (Windows desktop + dsh web). 一键重启 DeepSeek Harness 客户端。

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 5

↓ 50/wk

MIT

JavaScript

Oct 3, 2026

dsh plugin --profile web add dsh-restart-button

by StarMoon-win

Sidebar restart button for DeepSeek Harness Desktop: one click fully quits and reopens the app.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-restart

by 7gzgn

One-click restart / reload dock for the DSH Web UI

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-restart-dock

by 1123762794

One-click restart button for the DSH Web UI: a sidebar footer button that restarts the dsh web process with a single click and persists across the restart it triggers.

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 5

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-web-restart

by minhaoli

One-click full frontend reload button in the DSH conversation session header.

Manifest valid

★ 0

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add dsh-ui-reload