AlexShang1992/dsh-offpeak0

dsh-offpeak

Off-peak cost autopilot for DeepSeek Harness: peak/off-peak pricing awareness, defer queue, and savings ledger for the DSH web GUI. · DeepSeek Harness 错峰省钱助手

AI 분석

核心用途是自动将非紧急的重度 Token 消耗任务(如全量回归测试)延迟到离峰低价时段执行。适合有大量非实时计算需求、希望降低 API 费用的用户。

패키지
dsh-offpeak
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 15.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AlexShang1992/dsh-offpeak

Usage

For humans

  • /offpeak — one-shot status summary in the conversation.
  • /defer — add a task to the queue (e.g. /defer run the full regression suite).
  • Hover the pill to see prices and savings; open Settings → Off-peak for the full panel.

For the agent

The tools are registered automatically; the model will call them when relevant:

ToolPurpose
offpeak_statusCurrent window, multiplier, countdown, prices, savings, queue counts
offpeak_estimateCost of a request now vs off-peak (records a ledger row)
offpeak_deferEnqueue a task with optional token estimates
offpeak_queueList, cancel, or prune the queue