跳转至

dsh-calculator

类型 插件 分类 开发者工具
星数 ⭐4 状态 ✅ 活跃
能力 coding 更新时间 2026-08-14

📖 项目简介

A DeepSeek Harness (DSH) web plugin that shows your DeepSeek API spend and account balance in a top-right floating card of the DSH web GUI (collapsible to a pill). - 当前会话费用 — the cost of the session you are looking at (per model) - 当天全部会话累计 — today's total spend across all sessions (per model, in your local timezone; resets at local midnight) - 账户余额 — live balance from the DeepSeek API (GET /user/balance) - 第三方模型不计费 — only deepseek-official routes are billed; any

✨ 核心特性

  • 当前会话费用 — the cost of the session you are looking at (per model)
  • 当天全部会话累计 — today's total spend across all sessions (per model,
  • 账户余额 — live balance from the DeepSeek API (GET /user/balance)
  • 第三方模型不计费 — only deepseek-official routes are billed; any other

📦 安装

git clone https://github.com/bobcat848/dsh-calculator.git
cd dsh-calculator

# macOS / Linux
bash install.sh

# Windows PowerShell
.\install.ps1

🚀 快速开始

# 1. copy the package into the profile's hoisted node_modules
mkdir -p ~/.dsh/profiles/node_modules/dsh-calculator
cp -r lib package.json ~/.dsh/profiles/node_modules/dsh-calculator/

# 2. append the loader row to the web profile patch (once)
#    edit ~/.dsh/profiles/web/cordis.patch.yml and add:
#    - insert:
#        - id: dsh-calculator
#          name: 'dsh-calculator'
#          config: {}

🔗 链接