DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Peak Runner — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
P

dsh-peak-runner

Peak Runner

A DeepSeek task executor aware of peak and off-peak pricing: runs deepseek-flash task batches during off-peak periods and schedules tasks before peak pricing to run during the next off-peak period.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:439436269-ctrl/dsh-peak-runner#fe646bc931b3853815a760d7eb6943d96e6cad8f
READMECompatibilityVersions

Compatibility and provenance

Peak Runner is published as dsh-peak-runner and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/13/2026

Versions

0.1.0stable
10/13/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/13/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in models-usage.

Whale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinUsage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with a compact price glance card above the sidebar's Settings rowClient Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilitiesPer-model capability declarations (image input and reasoning efforts) for custom pi-ai providers, edited in place on the Models settings cards; writes the official llm-pi-ai settings namespace, no DSH source changes.Cost Meterdsh-cost-meterDeepSeek Harness session cost statistics plugin: current session cost, today’s charges, historical records, and synchronization with official pricing; supports multi-provider, multi-model price calculation (built-in pricing catalog for 170+ model IDs with automatic matching); queries and displays su

README

dsh-peak-runner

DeepSeek 峰谷价感知的任务执行器:平价时段直接跑 deepseek-flash 的任务批;峰价快到时把任务攒进队列、挂一条定时器,到下一个平价时段自动执行完。

它解决什么问题

DeepSeek 官方按 UTC 时段两档计价:01:00–04:00、06:00–10:00 为峰时价(约两倍),其余时段平价;周末与法定假日全天平价。你把一批摘要/翻译/改写任务丢给它,它只在便宜的时候花钱。

与 dsh-cost-meter 用同一套时段口径,两边对「现在是平价还是峰价」的判断一致。

装(正式安装)

dsh plugin --profile desktop add dsh-peak-runner

然后重启 DSH。它插一行进组合,注册三个工具 + 一段系统提示:

工具作用
peak_run({ prompts })一批 prompt 交给 deepseek-flash 执行。平价时段立即跑;峰价时段(或距峰价不足 leadMinutes 分钟时)排队,等下一个平价时段自动执行
peak_schedule()查看当前档位、下一个切换点、队列状态与定时器排定情况
peak_cancel({ id? })取消队列中的待执行任务(不传 id 则取消全部)

配置(profile 补丁层覆盖)

- id: dsh-peak-runner
  config:
    enabled: true
    provider: deepseek-account
    model: deepseek-flash
    # 峰段窗口(UTC 小时,半开区间 [start, end));默认对齐 DeepSeek 官方口径
    peakWindows:
      - { start: 1, end: 4 }
      - { start: 6, end: 10 }
    # 峰价开始前多少分钟停止执行新任务、开始排队
    leadMinutes: 10
    # 推理档:off 是延迟/成本正确的档位(low 仍可能烧掉 2000+ 思考 token)
    reasoningEffort: "off"
    maxTokens: 2048
    timeoutMs: 45000

用法

在对话里直接说:

帮我把这 5 段文字各写一句摘要:……(然后调 peak_run)

或者问:

现在是什么档位?队列里还有什么?

开发(不装进 profile)

cd dsh-peak-runner && pnpm install     # 只需 @deepseek-ai/schemastery

DSH='/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh'
$DSH --profile <name> --patch "$PWD/dev.patch.yml" --dump-config | grep peak-runner
$DSH --profile <name> --patch "$PWD/dev.patch.yml" web

目录

lib/index.js         接线(name/inject/Config/apply)
lib/config.js        Config schema + DEFAULTS + resolveConfig
lib/tariff.js        时段计算(窗口表 → 当前档位/下一切换点)
lib/runner.js        模型调用(ctx.llm.stream + reasoning off)
lib/queue.js         任务队列(storage domain 持久化)
lib/scheduler.js     定时触发(自持 timer,不依赖可选的 ctx.schedule)
lib/tools.js         工具注册表
lib/prompt.js        系统提示文案

License

MIT