virggle/dsh-shutdown-after-task ↗★ 1
dsh-shutdown-after-task
在 DeepSeek Harness 任务完成后自动关闭 Windows 系统,提供按钮开启和可取消的倒计时横幅。
AI 分析
核心用途是实现任务结束后的自动关机。适合需要挂机运行长耗时任务、并在完成后自动关闭电脑的 Windows 平台 DSH 用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:virggle/dsh-shutdown-after-task说明文档
阅读完整 README ↗使用
- 点右下角「任务完成后关机」→ 按钮变黄(已开启)
- 正常跑任务
- 全部会话空闲且无错误 → 右下角弹出倒计时横幅
- 倒计时内点「取消关机」→ 本次关机取消、模式退出;不点则到点关机
配置
编辑 profile 的 cordis.patch.yml(或设置 > 插件配置):
- id: dsh-shutdown-after-task
config:
countdownSec: 60 # 倒计时秒数(10–600,默认 60)
marginSec: 5 # 系统 shutdown /t 额外余量(0–60,默认 5)
onlyOnSuccess: true # 仅成功时关机(false = 完成即关,含出错)