DSH Market
D

Dsh Cost Meter

by Han-1413141 · Han-1413141/dsh-cost-meter

InstallableBundlegitfresh

DeepSeek Harness 会话费用统计插件:本会话费用、当日费用、历史记录与官方价格同步

Install Dsh Cost Meter

Installs straight from git: plain JavaScript that needs no build step, so no build allowance is required.

The one-line version

dsh plugin --profile my-profile add github:Han-1413141/dsh-cost-meter

This bundle is not on npm, so it installs straight from git. Its build output is already committed to the repository (or it needs no build at all), so it loads without a build step.

From GitHub — artifacts are already committed, nothing is built locally

# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:Han-1413141/dsh-cost-meter

# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config

# 3. boot the profile
dsh --profile my-profile

Pin a commit — github:Han-1413141/dsh-cost-meter#<commit-sha> — if you want the code you reviewed to be the code you keep getting.

Before you run it

  • A plugin runs with your permissions once loaded: it can read your files, use your credentials and reach the network. Tool approvals do not sandbox it.
  • Installing from git resolves a moving branch. Pin a commit — github:Han-1413141/dsh-cost-meter#<commit-sha> — so the code you reviewed is the code you install.

Prerequisites

API key
Required — see the repository README for which provider.
Network access
Required at runtime.
Language
JavaScript — a git install pulls this source, not build output.

Install check

Every field the verdict was derived from, so you can re-derive it yourself

Field checkedResultWeightWhat the spec says about it
lifecycleScriptspassinfono install-time scripts
dsh.bundlepassfatalpackage.json declares a `dsh.bundle` layer
dsh.bundle.patch filepassfatalpatch file present at `cordis.patch.yml`
npm registrymissingwarn`dsh-cost-meter` is not published to npm
build requirementpassinfoplain JavaScript — loads from source without a build
Verdict reason
git-only but needs no build
package.json read
package.json
Rules applied from
docs/user/develop/basic/publish.md
Checked at
2026-08-15

From the README

Excerpt as published by the author, plain text, unedited

**DeepSeek Harness 会话费用统计插件(界面中英双语)** 本会话费用 · 当日费用 · 预算与已用百分比 · 官方账户余额 · 历史记录 · 峰谷计价 · 官方价格一键同步 | 功能 | 位置 | 说明 | |---|---|---| | 本会话费用 | 输入区下方 / 会话标题栏 | 实时累计费用 + 输入/缓存/输出 token,位置可配 | | 官方余额 | 侧边栏顶部 / 设置页(可配) | 总余额 / 赠送 / 充值,自动刷新 + 手动刷新 | | OpenCode Go 额度 | 侧边栏 / 设置页(可配) | 滚动 5 小时 / 本周 / 本月用量百分比与重置时间,Key 自动发现(opencode 登录态 / OPENCODE_API_KEY)或手动填写 | | 当日费用 | 侧边栏底部(设置按钮上方) | 「今日 ¥x」,悬停见调用次数与 token 明细 | | 预算图框 | 侧边栏底部(余额行与设置按钮之间) | 圆角方形图框:预算、已用%、进度条、今日费用与占预算%、已用/额度,≥80% 预警、≥100% 超支 | | 汇总卡片 | 设置页 | 今日 / 本月 / 累计费用与调用次数 | | 今日会话明细 | 设置页 | 每个会话的调用次数、输入/缓存/输出 token 与费用 | | 历史记录 | 设置页 | 按天汇总,保留天数可配(默认 180 天) | | 预算设置 | 设置页顶部 | 额度、周期(今日/本月/累计/自定义日期区间)、已用% | | 价格表 | 设置页 | 每模型 基础/谷时/峰时 三档价格,增删改自由 | | 峰谷计价 | 设置页 | DeepSeek 官方峰谷方案,带生效时间门控与当前档位状态 | | 官方价格同步 | 设置页 | 抓取解析官方定价页,一键应用 | | 界面语言 | 设置页 → 显示设置 |

Topics

GitHub topics on this repository

More in Deepseek Api Token Usage

Ranked by similarity inside the cluster, not alphabetically