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.

Stop Server — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
S

dsh-stop-server

Stop Server

DSH web plugin: a 'Stop server & close' button in the Settings panel header + a POST /api/__shutdown host route. Dual-face bundle (host half + browser half).

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-stop-server@0.0.1
READMECompatibilityVersions

Compatibility and provenance

Stop Server is published as dsh-stop-server and currently resolves to version 0.0.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
8/21/2026

Versions

0.0.1stable
8/21/2026

Related plugins

Loading related plugins…

Latest
0.0.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
9.9 kB
Files
5
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
8/16/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 Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Pet@linxin666/dsh-petMulti-pet companion plugin for the dsh web GUI: a registry-driven floating pet that reacts to model activity, with per-pet naming, petting/feeding interactions and an affinity score

README

dsh-stop-server

DSH web profile 插件:在侧边栏底部添加一个「关闭服务」按钮,点击后优雅关闭 dsh web 服务器并尝试关闭窗口。

工作原理

双面 bundle(宿主端 + 浏览器端),不修改任何 DSH 发行版文件:

  • 宿主端 (lib/index.js):注入 webServer + appExit,注册 POST /api/__shutdown 精确路由。点击后调用 ctx.appExit(0) 优雅销毁整棵插件树(关闭 HTTP 服务器、断开所有连接),3 秒兜底强制退出。
  • 浏览器端 (lib/client.js):注入 sidebar.footer.action 插槽,在侧边栏底部(设置齿轮上方)渲染一个带 ✕ 图标的按钮。点击后 fetch(POST /api/__shutdown),然后尝试 window.close()。

文件

文件作用
package.jsondsh.bundle.patch(声明为 profile 层)+ dsh.client(浏览器端)+ exports["./client"]
cordis.patch.yml一行 insert,将插件加入 profile 树
lib/index.js宿主端:注册 POST /api/__shutdown 路由 + 优雅关机
lib/client.js浏览器端:侧边栏「关闭服务」✕ 按钮

安装

# 从本目录安装:
dsh plugin --profile web add .

# 或从 npm 安装(发布后):
dsh plugin --profile web add dsh-stop-server

安装后重启 dsh web 生效。打开界面后,侧边栏底部(设置齿轮上方)会出现「关闭服务」按钮。

依赖

零外部 npm 依赖。inject 声明的 4 个包全部是 DSH 内置包:

  • @deepseek-ai/dsh-client-runtime(插槽服务)
  • @deepseek-ai/dsh-client-ui-settings(设置插槽声明)
  • @deepseek-ai/dsh-client-ui-settings-general(设置外壳)
  • @deepseek-ai/dsh-client-ui-primitives(Button、图标等 UI 组件)

前提条件

  • 已安装 dsh(npm i -g @deepseek-ai/dsh)
  • 已启用 pnpm(corepack enable pnpm)
  • 使用 dsh web 运行

许可证

MIT