rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:DQS-PUBLIC/dsh-price-chip
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness sidebar chip that answers two questions at a glance: which price period is it right now, and what does the model I am talking to cost.
The chip sits at the bottom of the left sidebar. It shows:
Clicking the chip opens a popover with the three prices and their unit, the account balance, today's spend, and when the price period next switches.
dsh plugin add github:DQS-PUBLIC/dsh-price-chip
Then restart the harness. The chip appears in the sidebar footer; the collapsed
sidebar shows a ¥ badge instead of the text.
Requires DeepSeek Harness 0.2.x with the web UI.
DeepSeek bills discounted prices outside its peak windows. The plugin treats
09:00–12:00 and 14:00–18:00, Monday to Friday, Beijing time as peak, and
skips mainland China's statutory holidays (the holiday table is in
client.js / index.js and needs a yearly edit). Everything else is off-peak.
Prices per 1M tokens (CNY, off-peak / peak):
| Model | Cache hit | Cache miss | Output |
|---|---|---|---|
deepseek-flash |
0.02 / 0.04 | 1.00 / 2.00 | 4.00 / 8.00 |
deepseek-v4-pro |
0.15 / 0.30 | 4.50 / 9.00 | 13.50 / 27.00 |
The table is copied from the official pricing page (https://api-docs.deepseek.com/zh-cn/quick_start/pricing/) and is editable in one place per half of the plugin if prices change.
—.sessionQuery, cached for 20 seconds on the host./model-pricing/usage, every 30
seconds. Nothing leaves the machine, and the plugin has no third-party
dependencies and no build step.index.js host half: prices, holiday table, today's-spend aggregation, route
client.js client half: sidebar slot, chip, popover, styles, zh/en strings
cordis.patch.yml loader row
locale/ zh.json, en.json
icon.svg source icon
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。