AlexShang1992/dsh-offpeak0

dsh-offpeak

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