Xiaojing-511/dsh-web-restart
Xiaojing-511★ 0JavaScript最后同步: 2026-08-19
DSH Web one-click restart plugin pair (dsh-restart)
README 摘要
dsh-web-restart — DSH Web 一键重启插件对 为 DeepSeek Harness(DSH)Web GUI 提供 一键重启服务 的能力,由两个插件组成: 包 角色 作用 dsh-web-restart host 插件 注册 POST /api/dsh-restart ,以 detached 方式执行 /.dsh/restart-dsh-web.sh 重启 GUI 进程(仅接受本机回环请求) dsh-web-restart-client client 插件 在浏览器注入一个 可拖拽 的「重启服务」悬浮按钮;拖拽位置自动记忆(localStorage) 特性 - 🖱️ 可拖拽按钮 :按住拖动即可改变位置,自动避开聊天输入框的发送按钮;位置跨刷新/重启记忆 - 🔒 安全 : POST /api/dsh-restart 仅接受 127.0.0.1 / ::1 回环请求,非本机返回 403;单实例保护,同一时间只允许一次重启 - 🧩 零配置挂载 :host 包通过 dsh.bundle.patch ( cordis.patch.yml )自动挂载客户端插件,无需手动改 cordis 配置 - ⚡ 重启脚本不存在时返回明确错误( 500 ),避免静默失败 - 🔍 纯本地 :不向云端发送任何数据,无 API Key,无外部依赖 架构 安装 方式一:DSH 插件市场(推荐) 仓库已打 dsh-plugin topic,被 DSH 插件市场 自动收录后,在 Web GUI 设置 → DSH插件市场 搜索 dsh-web-restart 一键安装。 也可用 dsh CLI 直接安装: 方式二:手动安装(无需发布 npm) 然后把 dsh-web-restart 加入 profile 的 bundles( /.dsh/profiles/web/package.json ): 重启 DSH Web 后生效。host 包会自动把客户端插件( dsh-web-restart-client )一并挂载。 前提:需要 /.dsh/restart-dsh-web.sh 存在(见下方「重启脚本」),否则接口返回 500。 只使用客户端按钮 并在 bundles 中加入 dsh-web-restart-client 。此时需要你自己提供一个 POST /api/dsh-restart 接口。 重启脚本 host 插件依赖 /.dsh/restart-dsh-web.sh 。仓库提供了通用模板: 脚本职责:杀掉占用端口的旧进程 → 以与原进程等价的方式重新启动 dsh web → 健康检查(最多 90 秒)→ 日志写入 /.dsh/web-restart.log 。 使用 1. 打开 DSH Web GUI(如 http://127.0.0.1:3080 ),左下角出…
在 GitHub 查看完整 README →分类
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 90,234
esengine/DeepSeek-ReasonixDeepSeek-native AI coding agent for your terminal. Engineered around prefix-cache stability — leave it running.
★ 35,020
crafter-station/petdexA public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and more.
★ 3,949