Skip to content

v1.0.0 — 正式版 First Release

Choose a tag to compare

@lingruan28-boop lingruan28-boop released this 16 Aug 16:32
· 3 commits to main since this release

🎉 首个开源正式版 / First Open-Source Release

DeepSeek 余额悬浮窗 —— 打开 Harness 即显示余额,拉大窗口查看官方用量(今日柱状图、逐日明细、模型分布)。

A floating DeepSeek balance & usage widget for DeepSeek Harness (DSH): see your balance the moment the Harness opens, enlarge the window for official usage stats (today's bar chart, daily breakdown, model share).

✨ 功能 Features

  • 悬浮窗:整窗拖动、右下角缩放、收起胶囊、60 秒自动刷新 / Draggable & resizable window, collapse pill, 60s auto-refresh
  • 余额:总额 / 赠送 / 充值,多币种符号 / Total / granted / topped-up balance with currency symbols
  • 尺寸分级:拉大到 ≥ 400×300 追加官方用量面板 / Size-adaptive: enlarge to ≥ 400×300 to reveal the usage panel
  • 用量面板:今日用量柱状图(金额 + Tokens)、本月逐日明细表、模型分布、官网用量链接 / Today's bar chart (amount + tokens), daily breakdown table, model share, console link
  • 双数据通道:配置 DEEPSEEK_PLATFORM_TOKEN 取官方数据;未配置时按余额差值估算 / Dual channels: official data via DEEPSEEK_PLATFORM_TOKEN, balance-delta estimate as fallback
  • 明暗主题自适应 / Light & dark theme adaptive

🚀 性能 Performance

  • 外壳/内容拆分(memo)+ requestAnimationFrame 帧节流,缩放拖拽流畅 / memo shell/content split + rAF coalescing for smooth resize & drag

🐛 修复 Fixes

  • 模型分布解析错误(usage 明细与模型条目求和函数混用) / Model-share parsing bug

📦 安装 Install

dsh plugin --profile web add github:lingruan28-boop/dsh-balance-float

⚙️ 配置 Configuration

凭据 Credential 必填 Required 用途 Purpose
DEEPSEEK_API_KEY 余额查询 Balance query
DEEPSEEK_PLATFORM_TOKEN 可选 Optional 官方用量数据 Official usage data

详细配置见 README · See the README for details.

完整变更记录见 CHANGELOG。Full changelog in CHANGELOG.