PeterZoneZz/dsh-token-cost
DSH(DeepSeek Harness)网页插件:一个可拖动的鲸鱼悬浮小部件,显示标记使用量、消费以及DeepSeek官方账户余额。
catalog 简介:DSH (DeepSeek Harness) web plugin: a draggable whale floating widget showing token usage, spend and the official DeepSeek account balance
安装
┌──────────────────────────── 服务端(node half) ────────────────────────────┐
│ tokenCost 会话投影单元 逐事件 fold:request/header 定模型 │
│ assistant usage × 该模型单价 → 费用/按模型明细 │
│ /api/token-cost/balance 缓存 60s 的官方余额查询(DEEPSEEK_API_KEY) │
│ /api/token-cost/prices 生效价格表 │
│ /api/token-cost/summary 所有会话(含冷会话)的 tokenCost 聚合 │
└──────────────────────────────────────────────────────────────────────────────┘
│ 投影推送 / HTTP JSON
┌──────────────────────────── 浏览器(browser half) ─────────────────────────┐
│ 鲸鱼悬浮球(fixed,独立 React root) │
│ 点击切换锚定卡片 · 拖动+边缘吸附(localStorage 记忆) │
│ 环形进度 = 当前余额 ÷ 本次会话基准余额 │
└──────────────────────────────────────────────────────────────────────────────┘
把 PeterZoneZz/dsh-token-cost 加入你的 DSH 配置(web profile)即可启用。
README
展开完整 README 收起
README 内容为空。
tt-a1i/archify
anywhere-labs/deepseek-harness-desktop
strukto-ai/mirage
liustack/modlens
omdsh-dev/DSH-better-sidebar
GanyuanRan/Aegis
dsh-market/dsh-market
toby-bridges/api-relay-audit