dsh-quick-restart

DSH PLUGIN开发与运行时

仓库 Xyz10088/dsh-quick-restart · npm dsh-quick-restart

开发与运行时 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

DSH plugin 侧边栏一键「刷新 DSH」按钮,装完新插件或技能后免手动重启,服务恢复自动刷新页面。

验证等级 L5 L5 · 运行验证通过
GitHub 星标 2 复刻 0 · 未关闭 issue 0
最近更新 2026-08-21 创建于 2026-08-21
README 4.6 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:Xyz10088/dsh-quick-restart#v0.1.0
兼容 DSH 版本0.2.0-rc.2 等 9 个版本版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名dsh-quick-restart可用 npm view 查看包信息

能做什么

4 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-quick-restart:DeepSeek Harness 的一键重启服务按钮

  • 一键刷新,免手动重启
  • 在线状态灯提示
  • 页面自动重载
  • 健康探测每5秒

适用场景

终端命令

上游标签

dsh-plugin

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度稳定按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

上面的结论来自上游最近一次自动化验证(2026-10-08): 同一套检查会在插件发新版后重跑,页面显示的是最新一次的逐项结果。

逐项检查结果

L1 · 已找到 ✓ 通过
  • L1.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L2 · 结构化 ✓ 通过
  • L2.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L3 · 安装规范 ✓ 通过
  • L3.1_INSTALL_COMMAND_PARSED 安装命令已解析 方式:安装规范解析
  • L3.2_DSH_VERSION_DECLARED DSH 版本已声明 方式:DSH 版本声明
L4 · 安装已测 ✓ 通过
  • L4.1_INSTALL_EXECUTED_CONFINED 受限沙盒内执行安装 方式:沙盒安装执行
  • L4.2_INSTALL_SUCCESS 沙盒安装成功 方式:沙盒安装执行
  • L4.3_ARTIFACT_CONFIRMED 安装产物已确认 方式:沙盒安装执行
L5 · 运行已测 ✓ 通过
  • L5.1_INSTALL_PASSED_SANDBOXED 沙盒安装通过 方式:沙盒安装执行
  • L5.2_WEB_BOOT_READY Web 启动就绪 方式:Web 启动
  • L5.3_HTTP_SERVED HTTP 服务响应 方式:HTTP 请求
  • L5.4_PLUGIN_INVENTORY_ACTIVE 插件清单中已激活 方式:插件清单查询

风险详情

  • 审查结论 通过
  • 结论说明 vet 静态分析未发现可疑行为,判定为干净(clean)。
  • 风险计数 严重 0 / 高 0 / 中 0
  • 风险详情 未发现严重或警告级问题。

仓库档案

开发与运行时
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方Xyz10088仓库 dsh-quick-restart · 默认分支 main
分类开发与运行时developer
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue2 / 0 / 0收录时的数值,非实时
创建 / 更新2026-08-21 · 2026-08-21最后推送 2026-08-21
本站收录2026-08-27首次进入本站目录的时间

README 全文

4.6 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-quick-restart

> 装完新插件/新技能,点一下「刷新 DSH」就生效 —— 不用手动重启。
> New plugin or skill installed? One click on "Refresh DSH" and it's live — no manual restart.

English | 中文


中文

✨ 卖点:一键生效,告别手动重启

装完新插件(dsh-market 里安装的、或 dsh plugin add 装的)或新技能(放进 ~/.dsh/skills 的)之后,不用在终端里手动重启 dsh——点一下侧边栏的「刷新 DSH」按钮:

  1. 服务自动重启(后台完成,页面提示「请等待约 20 秒」)
  2. 新插件 / 新技能全部加载生效
  3. 服务恢复后页面自动刷新,无需任何手动操作

比命令行手动重启更省事:一个按钮完成全部,页面还会自己恢复。

功能

  • 侧边栏底部「刷新 DSH」按钮,带在线状态灯(绿=在线 / 红=离线)
  • 单击直接触发,无需二次确认;点击后弹出等待提示
  • 服务恢复后页面自动重载,无需手动刷新
  • 重启命令带 --no-open,不会额外打开浏览器页面
  • 通过 /dsh-health 每 5 秒探测服务健康状态

安装

# 本地目录安装
dsh plugin --profile web add link:/path/to/dsh-quick-restart

# 或从 GitHub
dsh plugin --profile web add github:Xyz10088/dsh-quick-restart#main

# 或使用预构建包(推荐)
dsh plugin --profile web add https://github.com/Xyz10088/dsh-quick-restart/releases/download/v0.1.0/dsh-quick-restart-0.1.0.tgz

重启 dsh web,侧边栏底部即出现「刷新 DSH」按钮。

工作原理

  • host 半区(lib/index.js):注册 POST /restart-dsh 与 GET /dsh-health 路由;重启处理器以分离进程拉起重启脚本,脚本杀掉 3080 端口监听进程后重新启动 dsh web(--no-open)。
  • client 半区(lib/client.js):注册 sidebar.footer.action 槽位按钮;点击后 POST /restart-dsh,随后轮询 /dsh-health,观察到服务离线→恢复后自动 location.reload()。

> 注意:lib/index.js 中 RESTART_SCRIPT 常量默认指向 C:\Users\Administrator\.dsh\desktop-launcher\restart-dsh-web.ps1,不同机器请按需修改为你自己的重启/启动命令。

卸载

dsh plugin --profile web remove dsh-quick-restart

License

MIT


English

✨ Selling point: one click to activate, no manual restart

Installed a new plugin (from dsh-market or dsh plugin add) or a new skill (dropped into ~/.dsh/skills)? No need to manually restart dsh from the terminal — just click the "Refresh DSH" button in the sidebar:

  1. The service restarts in the background (a toast says "please wait ~20s")
  2. New plugins / skills are all loaded and live
  3. The page auto-reloads once the service is back — zero manual steps

Easier than a manual command-line restart: one button does it all, and the page recovers by itself.

Features

  • "Refresh DSH" button in the sidebar footer with a live status dot (green = online / red = offline)
  • Single click triggers the refresh, no confirmation step; a toast appears on click
  • Page auto-reloads once the service is back — no manual refresh needed
  • Restart command uses --no-open so no extra browser tab is opened
  • Probes service health via /dsh-health every 5 seconds

Install

# from a local directory
dsh plugin --profile web add link:/path/to/dsh-quick-restart

# or from GitHub
dsh plugin --profile web add github:Xyz10088/dsh-quick-restart#main

# or use the prebuilt package (recommended)
dsh plugin --profile web add https://github.com/Xyz10088/dsh-quick-restart/releases/download/v0.1.0/dsh-quick-restart-0.1.0.tgz

Restart dsh web, and the "Refresh DSH" button appears at the sidebar footer.

How it works

  • Host half (lib/index.js): registers POST /restart-dsh and GET /dsh-health routes; the handler launches a detached restart script that kills the process listening on port 3080 and starts dsh web again (--no-open).
  • Client half (lib/client.js): registers a button in the sidebar.footer.action slot; on click it POSTs /restart-dsh, then polls /dsh-health — once the service is observed down and then back up, it calls location.reload().

> Note: the RESTART_SCRIPT constant in lib/index.js defaults to C:\Users\Administrator\.dsh\desktop-launcher\restart-dsh-web.ps1 — adjust it to your own restart/launch command on other machines.

Uninstall

dsh plugin --profile web remove dsh-quick-restart

License

MIT

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
dsh-quick-restart 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:Xyz10088/dsh-quick-restart#v0.1.0` 即可。对应的 npm 包名是 `dsh-quick-restart`。

dsh-quick-restart 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-quick-restart 安全吗?

低风险。vet 静态分析未发现可疑行为,判定为干净(clean)。

dsh-quick-restart 支持哪些 DSH 版本?

上游记录的兼容版本包括 0.2.0-rc.2、0.1.7-rc.2、0.1.6-alpha.2、0.1.6-alpha.1、0.1.5-rc.2、0.1.3-alpha.2、0.1.3-alpha.1、0.1.2-rc.1。版本较多,只列出前 8 个。

dsh-quick-restart 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-quick-restart 有哪些功能?

一键刷新,免手动重启、在线状态灯提示、页面自动重载、健康探测每5秒。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

1 条
不同作者的仓库分开列,请确认你要装的是哪一个
开发与运行时
按星标排序,可作替代方案

rea

rea

L4 · 沙盒安装通过 2.6 万 星

dsh-TUI

dsh-TUI

Claude Code 风格全屏终端 UI:像素鲸鱼顶栏、实时工作状态行、思考流式展开。

L4 · 沙盒安装通过 4,292 星

mirage

mirage

把文件系统与 bash 提供者换成 mirage 虚拟工作区:文件工具与 shell 命令作用于挂载的资源(RAM、S3、Redis、Sla

L3 · 安装规范通过 3,681 星

dashi-taskboard

dashi-taskboard

把当前已安装并运行中的 Codex Taskboard 嵌入 DeepSeek Harness 侧边栏,并通过 Launcher 运行时描述

L4 · 沙盒安装通过 3,311 星

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 2026-10-08。