wjvalue/dsh-mac-keep-awake ↗★ 0
dsh-mac-keep-awake
Keep macOS awake (no idle system sleep) while a DeepSeek Harness session is running. · 会话进行时不让 Mac 空闲休眠的 DSH 插件。 macOS用户专属,适合运行耗时较长的后台任务,避免因电脑休眠导致任务中断。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wjvalue/dsh-mac-keep-awakeREADME
Read the full README ↗配置
在 profile 的 cordis.patch.yml 里覆盖这一行的 config:
- id: keep-awake
name: 'dsh-mac-keep-awake'
config:
enabled: true # 总开关
preventDisplaySleep: false # true = 屏幕也不息屏(加 -d)
maxHours: 0 # >0 = 兜底超时(小时),到点自动释放
reconcileSeconds: 60 # 对账间隔;0 = 关闭对账
executable: /usr/bin/caffeinate