dsh-web-billing¶
⭐ 10 · ✅ active · plugin
| Type | plugin | Category | UI & experience |
| Stars | ⭐ 10 | Status | ✅ active |
| Author | bpc-oss | Updated | 2026-08-21 |
| Subcategory | 📊 Status & stats | Capabilities | observability, ui |
One-liner¶
RMB/USD token billing for the DSH web: official-policy auto pricing with peak/off-peak hours and per-message cost ledger.
About¶
简体中文 · English DeepSeek Harness(dsh web / 桌面版)的 人民币 / 美元 token 计费插件:按官方政策自动计价 (内置政策时间表,含 2026-08-17 起的峰谷定价),逐条消息记账,实时显示账号余额,浏览器端 展示费用(界面语言自动切换 ¥ / $)。 一句话:你的 AI 花销「看得见、算得清、省得下」——官方价自动跟随、本地/订阅/白嫖精细化分类、 历史一键重估、预算与余额可视。 ---
📦 Install¶
# 从 GitHub 安装(git 安装运行 prepare 构建;本包为纯 JS,无需构建,开箱即用)
dsh plugin --profile web add github:<owner>/dsh-web-billing
# 或从 npm 安装(发布后)
dsh plugin --profile web add dsh-web-billing
# 或本地开发:链接 checkout
powershell -ExecutionPolicy Bypass -File scripts/install.ps1 -Profile web
🚀 Quick Start¶
npm run check # 语法检查
npm test # 定价引擎 / 余额 / 账本单元测试(node:test,无依赖)
node scripts/sync-coding-plans.mjs # 从本机 DSH pi-ai catalog 重新生成 coding plan 价表
📚 Learn more¶
📦 安装
插件是一个标准 DSH 组合包(bundle)(dsh.bundle.patch 指向包内 cordis.patch.yml),按官方打包与安装指南 分发。三种安装方式: