qschen86/dsh-web-restart0

dsh-web-restart

DSH网页版插件:从UI界面重启dsh web服务,并提供可选的自动继续开关以恢复中断的会话

AI 分析

核心用途是允许用户直接在网页端一键重启DSH服务,并能自动恢复因重启中断的Agent会话。适合需要频繁调整配置或重启服务的DSH用户。

包名
dsh-web-restart
版本
0.2.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:qschen86/dsh-web-restart

配置方式(二选一)

  1. 设置界面(推荐)设置 → 插件 → 插件配置 → 展开"重启服务设置"卡片 → 切换开关 → 保存。 (若卡片因部署差异未显示,用重启弹窗内的同名开关,效果相同。)
  2. 设置文档 / 补丁:用户覆盖写入 ~/.dsh/settings.yamlweb-restart 分节(直接编辑该文件也会被 watcher 热发布):
    web-restart:
      autoContinueAfterRestart: true
    
    组装默认值在插件的 cordis.patch.ymlconfig.autoContinueAfterRestart: false),机器级补丁(~/.dsh/cordis.patch.yml 整行替换该行)可改默认值。 优先级(settings 领域标准):用户设置分节 > 注册方 base(entry 配置)> schema 默认 false。 旧版本写在 ~/.dsh/dsh-web-restart.json 里的开关会在首次启动时自动迁移进设置文档(该文件此后只存运行状态)。

或使用 GitHub Release tarball: