rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:WinnieJQ/dsh-conversation-cost
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
DeepSeek Harness 的按对话计费插件:在 Web 界面会话标题右侧显示当前对话的累计 API 费用徽章,悬停查看完整明细——不需要再去 DeepSeek 平台查账单。
sessionCost 会话投影,每一步完成时徽章自动刷新dsh plugin --profile web add dsh-conversation-cost
重启 dsh web 后生效。
在 ~/.dsh/profiles/<name>/cordis.patch.yml(用户覆盖层)中按行 id 覆盖:
- id: cost-meter
config:
currency: CNY # 徽章显示币种:CNY 或 USD
cnyRate: 7.25 # USD→CNY 汇率
offPeakFactor: 0.5 # 谷时价格系数
peakWindowsUtc: # 峰时窗口(UTC 小时,周一至周五)
- [1, 4]
- [6, 10]
defaultModel: deepseek-v4-pro
models: # USD / 1M tokens(峰时价)
deepseek-v4-pro:
input: 1.32
cacheRead: 0.044
output: 3.96
deepseek-v4-flash:
input: 0.44
cacheRead: 0.014
output: 1.32
单价取自 DeepSeek 官方定价页,调价时按上面格式更新即可。
dsh plugin --profile web remove dsh-conversation-costA per-conversation cost meter for DeepSeek Harness: a badge in the web conversation header showing the session's cumulative API spend, with a hover card breaking down tokens and per-model cost.
sessionCost session projectiondsh plugin --profile web add dsh-conversation-costCLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。