lion231226/dsh-peak-hours ↗★ 1

dsh-peak-hours

按中国峰谷计价时段自动暂停或恢复DSH任务 适合希望将智能体任务安排在低谷时段运行的用户,支持暂停已运行任务并在时段结束后恢复。

包名
dsh-peak-hours
兼容性
待验证
Cordis 依赖范围
*
版本
0.1.1
许可证
MIT
最近更新
2026年10月9日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lion231226/dsh-peak-hours

Configuration

KeyDefaultMeaning
allowClockOverridetrueWhether POST /api/peak-hours/clock is accepted
versionfrom package.jsonVersion reported by /health

The selected mode is persisted in %DSH_HOME%\peak-hours-state.json with serialized atomic writes; a corrupt file falls back to always and logs once. Disposing the plugin releases every listener, timer and route.