dsh-usage-cost:按会话逐轮计算 DeepSeek API 成本

`dsh-usage-cost` 是一款 DeepSeek Harness 插件,用于在 Web 端按会话逐轮实时计算 API 成本。该插件通过服务端投影 `usageTimeline` 记录每轮助手的 token 用量(包括未命中、输出、缓存读写)及时间戳,并在对话界面提供对话、工作区、今日及5小时四个维度的成本读数。其核心优势在于自动适配8月17日起的峰谷计价逻辑,根据时间戳切换费率;若旧会话缺失时间线数据,则回退至平峰价计算。插件采用官方 Bundle 形态,从 Git 仓库安装无需额外构建,只需执行安装命令、重启 Web 并刷新页面即可使用。用户可通过编辑 `lib/client.js

Read More
dsh-cost-tracker:为 DeepSeek Harness 添加可配置的 Token 成本跟踪

yflmq001/dsh-cost-tracker 是一款面向 DeepSeek Harness (DSH) 的开发者预览插件,旨在解决会话成本核算复杂的问题。该插件通过按模型配置价格表,对已完成的 LLM 调用进行计价,并将会话级成本暴露给 Web UI 或 `/cost` 命令。其核心功能包括支持 cache-hit/miss input 及 output 的价格配置,可选的峰谷价段(Peak/Off-peak)费率,以及区分 total、peak、off-peak 和 per-model 的成本读数。对于未配置价格的模型,插件会标记为 unconfigured 而非静默猜测,确保计费透明

Read More
dsh-balance-tide: DSH Web Balance and Peak-Valley Pricing Reminder Plugin

`dsh-balance-tide` is a DSH Web plugin (v0.4.0, MIT license) developed by maintainer `huanyuLv`, designed to integrate DeepSeek account balance, peak/valley pricing status, and current session cost estimation. The plugin displays real-time badges for `standard`, `peak`, or `off-peak` price tiers and provides a countdown to the next peak/valley switch. It reads balance data from official endpoints, differentiates between gifted and topped-up portions, and estimates session costs by reusing `sessionProjections` based on the current pricing cycle to avoid redundant calculations. The plugin supports both Chinese and English interfaces and requires zero configuration, reusing the API Key from DSH credentials without storing keys in the repository. According to the rules, Beijing time 09:00–12:00 and 14:00–18:00 are designated as peak hours.

Read More