D
dsh-setting-restart
v1.0.0 · 0 天前发布
One-click restart of the DSH service from Settings > General (通用设置 · 一键重启)
README
dsh-setting-restart
在 设置 → 通用设置 页面一键重启 DSH 服务。「一键重启」这一行固定在通用设置页面的最底部——之后无论通用设置里新增多少功能,它始终显示在页面最下方。重启后页面自动重连,按钮会显示绿色「连接成功」,确认服务已恢复。

功能
order 值固定行位置:之后无论通用设置里加了多少东西,它总在页面最下方。settingRestart/restart)。环境要求
dsh ≥ 0.1.0-rc.6(web profile)。安装
1. 把插件安装到 web profile(该命令会在 profile 目录内执行 pnpm add):
sh
dsh plugin --profile web add dsh-setting-restart
2. 在 profile 的用户 patch 层 `$D
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-setting-restart
- Repo
- git+https://github.com/893413974-bit/dsh-setting-restart.git
- Engines
{"node":">=20"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-api-remotes","@deepseek-ai/dsh-client-ui-sidebar","@deepseek-ai/dsh-client-ui-settings-general"]}}