lion231226/dsh-peak-hours ↗★ 1

dsh-peak-hours

Run-window switch for DeepSeek Harness: run always, or only in off-peak hours — every task, including one already running, pauses when a China peak-price window starts and resumes when it ends. 适合希望将智能体任务安排在低谷时段运行的用户,支持暂停已运行任务并在时段结束后恢复。

Package
dsh-peak-hours
Compatibility
Unverified
Cordis peer range
*
Version
0.1.1
License
MIT
Last updated
Oct 9, 2026

Other repositories with this package name

Install

$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.