Repository navigation
Releases: luomuwen/deepseek-cost-meter
Release list
v0.1.1 — Public npm package
npm installation
The public package is now deepseek-cost-meter@0.1.1.
dsh plugin --profile desktop add deepseek-cost-meterFor Web use --profile web. On macOS, the bundled CLI is /Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh.
Upgrade from 0.1.0
Save custom config.rates if configured. Remove @local/deepseek-cost-meter before adding the new package, reapply custom prices, then restart Harness. Do not enable both packages. Storage and projection identifiers remain unchanged so existing price snapshots remain usable.
Changes and validation
- Align the package, Cordis manifest and browser module registration names.
- Build and test before packing; add package metadata/registration checks.
- 17 tests passed, plus real Harness host/storage/projection and generated-client integration using the extracted release tarball.
- No changes to cost calculation. Tested runtime remains Harness Desktop 0.2.1-rc.3 on macOS.
中文:首次发布到 npm,可直接按包名安装。旧版用户请先保存自定义价格配置,移除旧包再安装新包,并重新应用配置。计费口径和历史价格存储保持不变。
v0.1.0 — Per-turn cost estimates for DeepSeek Harness
DeepSeek Harness Cost Meter 0.1.0
首个开源版本:每轮回复结束后显示模型费用估算,支持 token/单价明细和会话累计费用。
- 支持已记录的重试、错误和中断,避免累计 usage 与分叉历史重复计费。
- 提供中英文界面、可配置价格表、持久化价格快照和精确定点金额计算。
- 包含 MIT 许可证、中英文说明、贡献与安全指南,以及自动化测试。
安装 / Install
下载下方 .tgz,然后运行:
dsh plugin --profile desktop add /absolute/path/local-deepseek-cost-meter-0.1.0.tgzmacOS Desktop 的 CLI 位于 /Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh。安装后重启 Harness。Web 使用 --profile web。
Zod 已打包,无需 npm registry 发布;React 由 Harness 提供。SHA256SUMS.txt 提供安装包校验值。
验证与范围 / Validation and scope
已在 macOS DeepSeek Harness Desktop 0.2.1-rc.3 验证真实服务集成和界面;15 项计费单元测试通过。其他平台与 Harness 版本尚未验证。
费用为按记录 usage 和配置价格计算的估算,不是账户实际账单;不含独立子 Agent、标题生成、工具费用或账户优惠。内置价格从 2026-10-29 生效,高峰日历覆盖到 2026-12-31。缺失数据和过期日历显示不完整。
Independent community plugin, not affiliated with DeepSeek. See README.en.md for English installation instructions, accounting details and limitations.