Releases: nzz0991999-ai/dsh-usage-dashboard
Releases · nzz0991999-ai/dsh-usage-dashboard
Release list
v1.0.2 修复与安装可靠性更新
Highlights / 更新重点
1.0.2 fixes the browser bundle registration mismatch introduced by the npm package rename. It is the recommended release for all new installations.
Fixed / 修复
- Fixed the top-level
window.__ModuleLoader__.load()registration ID todeepseek-harness-usage-dashboard, matchingpackage.json.name. - Kept the host-side Cordis runtime ID
dsh-usage-dashboardunchanged, preserving existing config, routes, cache, and uninstall identifiers. - Fixed the possible
Failed to load pluginsboot failure for new installations.
Installation and CI / 安装与 CI
- Standardized install examples on
1.0.2. - Added the Release
.tgzdownload, SHA-256 verification, and localfile:installation path for pnpm integrity-policy compatibility. - Added a CI assertion that the client registration ID always matches the npm package name.
Version history / 版本历史
1.0.1: renamed the npm package, removed unusedzod, added Windows installation/troubleshooting guidance, and added Windows/Ubuntu packaging checks. It retained an old browser registration ID and is superseded by1.0.2.1.0.0: declared the first stable release and clarified that balance, usage, and billing data are from official DeepSeek services only; other providers may show unavailable data or errors.0.1.0: first feature release with the balance pill, usage dashboard, userToken management, refresh strategy, and credential-safety controls.
Full bilingual details: CHANGELOG.md and CHANGELOG_EN.md.
Integrity / 完整性
SHA-256: e884960cac60d040855bbc23ecb7b4c9937a320bf8c710d2e7527f3ba7122a37
v1.0.1
安装与打包体验更新 / Installation and packaging update
变更 / Changed
- npm 包改名为
deepseek-harness-usage-dashboard;插件运行时 ID 继续使用dsh-usage-dashboard。 - 移除未使用的
zod,并固定@deepseek-ai/schemastery依赖版本。 - npm 发布包补充中英文 README、Security、Changelog 与 License 文件。
- Renamed the npm package to
deepseek-harness-usage-dashboard; the runtime plugin ID remainsdsh-usage-dashboard. - Removed unused
zod, pinned@deepseek-ai/schemastery, and included bilingual docs, Security, Changelog, and License files in the package.
安装与文档 / Installation and docs
- npm 固定版本安装成为首选方式,同时提供 GitHub Release
.tgz备用路径。 - 补充 Node.js/pnpm 前置条件、Windows
file:本地安装、同一工作目录重启说明。 - 补充端口
3080被占用、link:依赖缺失和安装后无角标的排查步骤。 - 加强
userToken获取、凭据区分和日志/会话压缩包脱敏提示。 - Made the pinned npm package the primary path with a GitHub Release
.tgzfallback; added Node.js/pnpm prerequisites, Windows local-install guidance, port3080and missing-dependency troubleshooting, and cleareruserToken/sanitization guidance.
CI
- 新增 Windows 与 Ubuntu 的入口导入、客户端语法、npm 打包内容及发布 dry-run 检查。
- Added Windows and Ubuntu checks for host import, client syntax, npm package contents, and publish dry-run.
兼容性提示 / Compatibility notice:
1.0.1的 npm 包名已更换,但前端 bundle 仍注册旧 ID。该版本已被1.0.2替代,新用户不要安装1.0.1。
推荐版本 / Recommended release: v1.0.2
完整版本记录 / Full changelog: CHANGELOG.md · CHANGELOG_EN.md
v1.0.0
首个稳定版本 / First stable release
变更 / Changed
- 项目进入稳定版本,版本号升级至
1.0.0。 - Declared the project stable and bumped the version to
1.0.0.
数据范围 / Data scope
- 插件仅支持 DeepSeek 官方 API 与 DeepSeek Platform 的余额、用量和扣费数据。
- 使用其他模型供应商时,面板数据不代表该供应商的真实余额或花费,并可能显示不可用或报错。
- The plugin reports balance, usage, and billing data only from official DeepSeek API and DeepSeek Platform services.
- With another model provider, the panel does not represent that provider's actual balance or cost and may be unavailable or report an error.
完整版本记录 / Full changelog: CHANGELOG.md · CHANGELOG_EN.md
v0.1.0 首个版本
v0.1.0 首个版本
DeepSeek Harness 平台用量仪表盘插件:右下角余额角标 + 完整用量面板,真实扣费数据与 platform.deepseek.com/usage 同源。
功能
- 账户余额:官方
/user/balance(API Key)+ 平台get_user_summary(登录态),充值/赠送拆分 - 今日 / 本月实际扣费与 Token、请求数、缓存命中率
- 每日花费 / Token 柱状图(SVG 手绘),可回看历史月份;模型分布
- 刷新机制:固定轮询(默认 10 分钟 / 页面 30 秒)+ 任务完成即时刷新(60 秒冷却防连击)+ 手动强制刷新
- userToken 管理面板:一次性粘贴、在线验证、一键清除、脱敏显示
安全
- 代码与仓库零密钥;userToken 仅存本机 0600 权限文件,浏览器只拿脱敏值
- 网络只发往 api.deepseek.com 与 platform.deepseek.com 两个官方域名
- 详见 README「
⚠️ 安全与隐私」与 SECURITY.md
安装
git clone https://github.com/nzz0991999-ai/dsh-usage-dashboard
dsh plugin --profile web add ./dsh-usage-dashboard重启 dsh web 后,点开右下角面板 → ⚙️ 设置 → 粘贴平台 userToken 即可。