dsh-cost-meter 1.9.71 → 1.9.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/README.zh-CN.md +4 -4
- package/docs/plugin-compatibility-watch.md +4 -0
- package/docs/update-notes-1.9.71.md +3 -3
- package/docs/update-notes-1.9.72.md +29 -0
- package/lib/client.js +1 -1
- package/lib/ledger-writer-worker.js +1 -1
- package/lib/pricing.js +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<p align="center">Cost tracking and subscription quotas for DeepSeek Harness</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<a href="https://github.com/Han-1413141/dsh-cost-meter/releases/latest"><img src="https://img.shields.io/badge/version-1.9.
|
|
6
|
+
<a href="https://github.com/Han-1413141/dsh-cost-meter/releases/latest"><img src="https://img.shields.io/badge/version-1.9.72-4176E6?style=flat-square" alt="version"></a>
|
|
7
7
|
<a href="https://www.npmjs.com/package/dsh-cost-meter"><img src="https://img.shields.io/npm/dm/dsh-cost-meter?label=downloads&style=flat-square&color=4176E6" alt="npm monthly downloads"></a>
|
|
8
8
|
<a href="https://github.com/Han-1413141/dsh-cost-meter/stargazers"><img src="https://img.shields.io/github/stars/Han-1413141/dsh-cost-meter?label=stars&style=flat-square&color=D9A400" alt="GitHub stars"></a>
|
|
9
9
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="MIT license"></a>
|
|
@@ -42,20 +42,20 @@ Restart `dsh web` after installation or updates. **Desktop** uses its bundled CL
|
|
|
42
42
|
The PowerShell installer checks pnpm and Git and uses the `web` profile by default:
|
|
43
43
|
|
|
44
44
|
```powershell
|
|
45
|
-
irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.
|
|
45
|
+
irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.72/install.ps1 | iex
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
Install a pinned Git tag:
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
|
-
dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.
|
|
51
|
+
dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.72
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
See [installation and updates](docs/install.en.md) for uninstalling or installing without Git.
|
|
55
55
|
|
|
56
56
|
</details>
|
|
57
57
|
|
|
58
|
-
Current release **v1.9.
|
|
58
|
+
Current release **v1.9.72**: [release notes](docs/update-notes-1.9.72.md#english) · [troubleshooting](docs/install-troubleshooting.md)
|
|
59
59
|
|
|
60
60
|
## Feature overview
|
|
61
61
|
|
package/README.zh-CN.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<p align="center">DeepSeek Harness 费用统计与订阅额度插件</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<a href="https://github.com/Han-1413141/dsh-cost-meter/releases/latest"><img src="https://img.shields.io/badge/version-1.9.
|
|
6
|
+
<a href="https://github.com/Han-1413141/dsh-cost-meter/releases/latest"><img src="https://img.shields.io/badge/version-1.9.72-4176E6?style=flat-square" alt="version"></a>
|
|
7
7
|
<a href="https://www.npmjs.com/package/dsh-cost-meter"><img src="https://img.shields.io/npm/dm/dsh-cost-meter?label=downloads&style=flat-square&color=4176E6" alt="npm monthly downloads"></a>
|
|
8
8
|
<a href="https://github.com/Han-1413141/dsh-cost-meter/stargazers"><img src="https://img.shields.io/github/stars/Han-1413141/dsh-cost-meter?label=stars&style=flat-square&color=D9A400" alt="GitHub stars"></a>
|
|
9
9
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="MIT license"></a>
|
|
@@ -42,20 +42,20 @@ dsh plugin --profile web add dsh-cost-meter
|
|
|
42
42
|
PowerShell 脚本自动检查 pnpm 和 Git,默认安装到 `web` Profile:
|
|
43
43
|
|
|
44
44
|
```powershell
|
|
45
|
-
irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.
|
|
45
|
+
irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.72/install.ps1 | iex
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
固定 Git tag 安装:
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
|
-
dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.
|
|
51
|
+
dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.72
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
更新、卸载及无 Git 的安装方法见[安装说明](docs/install.md)。
|
|
55
55
|
|
|
56
56
|
</details>
|
|
57
57
|
|
|
58
|
-
当前版本 **v1.9.
|
|
58
|
+
当前版本 **v1.9.72**:[更新说明](docs/update-notes-1.9.72.md#中文) · [安装排障](docs/install-troubleshooting.md)
|
|
59
59
|
|
|
60
60
|
## 功能总览
|
|
61
61
|
|
|
@@ -104,3 +104,7 @@ SHA-512 校验、静态契约检查和实际发布包回归通过:原生及代
|
|
|
104
104
|
### 2026-11-17:Codex Subscription 3.2.19 与 Connect 0.2.0-alpha.15
|
|
105
105
|
|
|
106
106
|
处理 github-actions[bot] 的 [#520](https://github.com/Han-1413141/dsh-cost-meter/issues/520)、[#521](https://github.com/Han-1413141/dsh-cost-meter/issues/521)。两个官方 npm 包的 SHA-512 与元数据一致,静态契约匹配;实际发布包的额度解析、单周和双窗口、账号切换、刷新、失败处理及只读 HTTP/RPC 检查通过。Connect 的记录类型判断函数由打包器重新编号,测试按发布包中的原始声明读取,不改写函数。费用插件运行时代码无需调整。基线与 CI 保留旧版本并加入上述版本,外部账户及模型请求为 0。
|
|
107
|
+
|
|
108
|
+
### 2026-11-17:billion-context 0.1.216
|
|
109
|
+
|
|
110
|
+
处理 github-actions[bot] 在 [#524](https://github.com/Han-1413141/dsh-cost-meter/issues/524) 报告的版本变化。官方发布包 SHA-512 校验通过,接入函数指纹未变。实际发布包的原生与代理计费、四种协议、压缩、重试、缓存、父子会话、API/Plan 分类、回放、重启、取消及原版 CLI 自动接入检查通过。检查使用合成数据和本机服务,外部模型请求为 0。现有 v1.9.71 运行时代码已兼容;本次更新兼容基线并将 0.1.216 加入 CI。
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
- 图标模式加入 DeepSeek、Claude、OpenAI/Codex、OpenCode 和 13 个常见套餐来源的品牌 Logo,离线内嵌并跟随主题前景色;金额组排在图标之后,其他图标保留已保存的相对顺序。
|
|
10
10
|
- 验证 dsh-codex-subscription 3.2.19 和 dsh-codex-connect 0.2.0-alpha.15,更新兼容基线与 CI。
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
发布后更正(2026-11-17):[#522 的报告者已确认](https://github.com/Han-1413141/dsh-cost-meter/issues/522#issuecomment-6947573099),Go chip 在真实手指点击下正常打开,消息行用量图标属于 DSH 宿主;原报告已撤回并关闭。本版 Go 详情属于交互改进,不再列为已确认故障的修复。
|
|
13
13
|
|
|
14
14
|
感谢以下贡献者:
|
|
15
15
|
|
|
16
16
|
- [@chanyuenpang](https://github.com/chanyuenpang) 在 [#517](https://github.com/Han-1413141/dsh-cost-meter/pull/517) 提供品牌 Logo 和图标布局代码。
|
|
17
17
|
- [@T0TT](https://github.com/T0TT) 在 [#518](https://github.com/Han-1413141/dsh-cost-meter/issues/518) 报告同行文字对齐问题并提供 CSS 建议。
|
|
18
18
|
- [@MCXCC303](https://github.com/MCXCC303) 在 [#519](https://github.com/Han-1413141/dsh-cost-meter/issues/519) 报告 MiniMax 已用 99% 显示为 0% 的问题。
|
|
19
|
-
- [@seeker-Chh](https://github.com/seeker-Chh) 在 [#522](https://github.com/Han-1413141/dsh-cost-meter/issues/522) 提供 Android
|
|
19
|
+
- [@seeker-Chh](https://github.com/seeker-Chh) 在 [#522](https://github.com/Han-1413141/dsh-cost-meter/issues/522) 提供 Android 点击排查信息,并[更正问题归属、撤回原报告](https://github.com/Han-1413141/dsh-cost-meter/issues/522#issuecomment-6947573099)。
|
|
20
20
|
- [@github-actions[bot]](https://github.com/apps/github-actions) 通过 [#520](https://github.com/Han-1413141/dsh-cost-meter/issues/520) 和 [#521](https://github.com/Han-1413141/dsh-cost-meter/issues/521) 报告上游插件版本变化。
|
|
21
21
|
|
|
22
22
|
## English
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
- Bundle theme-aware provider logos offline. Keep the value group after all icons while preserving the other icons' saved relative order.
|
|
29
29
|
- Verify dsh-codex-subscription 3.2.19 and dsh-codex-connect 0.2.0-alpha.15, and update compatibility baselines and CI.
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Post-release correction (2026-11-17): the reporter [withdrew and closed #522](https://github.com/Han-1413141/dsh-cost-meter/issues/522#issuecomment-6947573099). Real taps open the Go chip normally, and the message-row usage icon belongs to the DSH host. The Go details change is an interaction improvement, not a confirmed bug fix.
|
|
32
32
|
|
|
33
33
|
## 升级 / Upgrade
|
|
34
34
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# v1.9.72
|
|
2
|
+
|
|
3
|
+
## 中文
|
|
4
|
+
|
|
5
|
+
- 修复官方账户渠道 `deepseek-account` 及 `llm-deepseek-account` 的价格匹配:精确模式直接使用官方模型目录,自动模式不再受其他渠道的同名价格干扰。
|
|
6
|
+
- 同步修复实际记账、客户端价格显示与消息下方本轮费用,保留官方峰谷计价、人民币计价、渠道自有价格和手动覆盖。
|
|
7
|
+
- 未知模型仍显示缺价提示,本地零消耗继续保持零费用和正常 Token 统计。已保存的账单不会自动改写。
|
|
8
|
+
- 验证 billion-context 0.1.216,更新兼容基线与 CI。
|
|
9
|
+
- 根据报告者的后续更正,将 #522 标为已撤回并关闭;v1.9.71 的 Go 点击详情按交互改进记录。
|
|
10
|
+
|
|
11
|
+
感谢 [@pb-pang](https://github.com/pb-pang) 在 [#526](https://github.com/Han-1413141/dsh-cost-meter/issues/526) 提供官方账户渠道、模型、升级前后账本和环境信息。
|
|
12
|
+
|
|
13
|
+
## English
|
|
14
|
+
|
|
15
|
+
- Restore official price lookup for `deepseek-account` and `llm-deepseek-account`. Exact mode now uses the official model catalog; auto mode no longer treats another provider's quote for the same model as an ambiguity.
|
|
16
|
+
- Apply the fix to ledger billing, client price displays and per-turn costs while preserving official peak/off-peak schedules, CNY pricing, provider-specific quotes and manual overrides.
|
|
17
|
+
- Keep unknown models unpriced and local inference at known zero prices with token counts retained. Saved bills are not rewritten automatically.
|
|
18
|
+
- Verify billion-context 0.1.216 and update the compatibility baseline and CI.
|
|
19
|
+
- Record the withdrawal and closure of #522. The Go details change in v1.9.71 is an interaction improvement, not a confirmed bug fix.
|
|
20
|
+
|
|
21
|
+
Thanks to [@pb-pang](https://github.com/pb-pang) for the provider/model details, before-and-after ledger records and environment information in [#526](https://github.com/Han-1413141/dsh-cost-meter/issues/526).
|
|
22
|
+
|
|
23
|
+
## 升级 / Upgrade
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
dsh plugin --profile web add dsh-cost-meter@latest
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
更新后重启 DSH。Desktop 用户参见 [安装与更新](https://github.com/Han-1413141/dsh-cost-meter/blob/v1.9.72/docs/install-troubleshooting.md#desktop-安装与更新)。
|