rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:korotky/dsh-peak-cost
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
You find out you worked at double rates when the bill arrives. This plugin puts the billing period and the running cost into the composer statistics row, before you finish typing.
DeepSeek charges twice as much during peak windows — weekdays, 01:00–04:00 and 06:00–10:00 UTC, excluding PRC public holidays — and the Harness UI shows nothing about it. This plugin closes that gap: the period, a countdown to the switch, and a cost estimate for the current session, in one control below the composer, with the details one click away.

The estimate is checked against the platform: 1,697 requests and 479.4M tokens for this week against 1,769 and 482.2M on the Usage page — the gap is the platform's own data delay of up to 5 minutes.
| Pill | ● Off-peak · 9 h 44 m · $1.20 — period, countdown, session estimate |
| Popover | buckets with effective rates, subagents, today/week, peak vs off-peak, web call fees, applied price-table version, diagnostics |
| Plugins page | currency, language, refresh interval, reminder interval, ledger scope, sidebar footer row, peak reminder |
dsh plugin --profile web add dsh-peak-cost
Then reload the Web UI page.
Peak runs on weekdays, 01:00–04:00 and 06:00–10:00 UTC, excluding PRC public holidays; everything else is off-peak at half the rate. Every request is priced at its own moment, so a session crossing a boundary never mixes rates. Cache writes bill at the cache-miss rate, deepseek-v4-pro uses its own table, and an unknown model is flagged rather than substituted with a plausible number.
No API keys. No network calls apart from an optional holiday-calendar refresh from a URL you configure. Everything is computed locally from the session logs Harness already keeps.
link: install, file edits are not picked up by hot reload; the composition has to be recomposed (see ADR 0005).npm ci
npm test # чистые функции: календарь, цены, свёртка, web-сборы, леджер
npm run typecheck # tsc по JSDoc
npm run build # dist/*.tgz с проверкой состава пакета
npm run dev:reload # перезагрузить плагин в запущенном Harness через CDP
Как устроен цикл разработки, почему горячая замена не работает при link:-установке и что
нужно в профиле — docs/DEV.md. Карта проекта для агентов —
AGENTS.md. Решения и их причины — docs/adr.
Вы узнаёте, что работали по двойному тарифу, только когда откроете счёт. Этот плагин показывает период и стоимость прямо в строке статистики — до того, как вы дописали сообщение.
DeepSeek берёт вдвое дороже в пиковые окна (будни, 01:00–04:00 и 06:00–10:00 UTC, кроме праздников КНР), а интерфейс Harness об этом молчит. Плагин закрывает эту дыру: период, обратный отсчёт до переключения и оценка стоимости текущей сессии в одном контроле под композером, с детализацией по клику.
Зачем:
Сверка с платформой: 1 697 запросов и 479,4 млн токенов за неделю против 1 769 и 482,2 млн на странице Usage — разница объясняется задержкой данных платформы до 5 минут.
dsh plugin --profile web add dsh-peak-cost
Затем перезагрузите страницу Web UI.
link:) правки файлов не подхватываются горячей заменой — нужна пересборка композиции (см. ADR 0005).MIT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。