dsh-usage-chart
输入框下方的用量/成本/余额仪表盘:实时指标指示器 + 零依赖 SVG 用量图表,按轮次统计用量、估算成本并实时查询 DeepSeek 账户余额。
- 形态
- Plugin 插件
- 安装
- npm 包安装
- 需要密钥
- 是
- 近月下载
- 2,333
- 最近推送
- 15 天前更新
项目说明
From README
dsh-usage-chart A usage, cost, and account-balance dashboard for DeepSeek Harness Web.简体中文 · Report an issue · Changelog (EN) · 更新日志(中文) Interface preview: light English on the left and dark Simplified Chinese on the right.Both variants follow the DSH theme and in-app language setting.
Light theme · English Dark theme · 简体中文 Both screenshots use fictional demo data only.They contain no real session content, token counts, costs, balances, or API keys.The plugin adds a compact indicator below the conversation composer.
It shows input/output tokens, cache-hit ratio, estimated cost, active model, a multi-segment context-pressure bar (system/tools/messages breakdown, v1.1.0), and DeepSeek account balance.
Click it to open a zero-dependency SVG dashboard with per-turn usage history — including a cost view (every bar shows its own cost value, not just the current round), a duration overlay,
Original description
A DeepSeek Harness Web plugin for real-time Token usage, cost estimates, per-round charts, and DeepSeek API balance.
安装方式
npm 包安装 · 需要额外配置密钥
dsh plugin --profile web add dsh-usage-chart # installs and registers the profile plugin layerdsh web --profile web # starts DSH Web (stop it first if already running)dsh plugin --profile web add dsh-usage-chart@1.1.8安装命令包含风险形态
- 全局安装,会改动系统级依赖
全局安装会修改系统级依赖;远程脚本执行等于把执行权交给仓库作者。装前请通读命令。
安全能力
静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」
- 读取文件
- 访问网络
- 读取凭据
- 读取环境变量
发现 1 项需要留意的行为
- 既读取凭据/密钥,又有网络访问 —— 存在外传可能
能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。
为什么是这个分数
近 16 天内有提交;README 给出了可直接复制的安装命令;运行前需要准备 API Key 或环境变量;近月 npm 下载 2333 次,star 不多但真在被使用。
- 维护活跃
- 86
- 实用度
- 88
- 生态热度
- 67
- 上手便捷
- 74
- 信号质量
- 100
- 数据置信度
- 100%
相关插件
dsh-whale-meter
Shiye-10Pages/dsh-whale-meter
用量段位与战绩卡片:按本月 token 消耗评 五档段位,分位本地估算(零上报);6 家厂商 46 个模型精准计价,支持国内厂商按输入长度分档;自动回填安装前的历史会话;8·17 调价前后同一份用量的新旧价对比。数据全在本机,无遥测。
dsh-cost-meter
Han-1413141/dsh-cost-meter
会话与当日 API 费用统计、预算图框(已用%)、官方余额、历史看板,支持峰谷计价与官方价格一键同步。
dsh-usage-statistics-panel
HaoyueQin/dsh-usage-statistics-panel
用量统计设置面板:26 周活跃热力图、按日 Token 趋势与缓存命中率曲线、模型用量环形图与明细、时间范围筛选、汇总卡片,支持历史会话回扫与无损重建。