virggle/dsh-shutdown-after-task1

dsh-shutdown-after-task

在 DeepSeek Harness 任务完成后自动关闭 Windows 系统,提供按钮开启和可取消的倒计时横幅。

AI 分析

核心用途是实现任务结束后的自动关机。适合需要挂机运行长耗时任务、并在完成后自动关闭电脑的 Windows 平台 DSH 用户。

包名
dsh-shutdown-after-task
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:virggle/dsh-shutdown-after-task

使用

  1. 点右下角「任务完成后关机」→ 按钮变黄(已开启)
  2. 正常跑任务
  3. 全部会话空闲且无错误 → 右下角弹出倒计时横幅
  4. 倒计时内点「取消关机」→ 本次关机取消、模式退出;不点则到点关机

配置

编辑 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 = 完成即关,含出错)