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.