dsh-cost-meter 1.9.22 → 1.9.24
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 +8 -8
- package/README.zh-CN.md +8 -8
- package/THIRD_PARTY_NOTICES.md +2 -0
- package/docs/billing-statistics.md +2 -2
- package/docs/context-costs-design.md +1 -1
- package/docs/update-notes-1.9.15.md +33 -33
- package/docs/update-notes-1.9.16.md +67 -67
- package/docs/update-notes-1.9.17.md +24 -24
- package/docs/update-notes-1.9.19.md +19 -19
- package/docs/update-notes-1.9.21.md +15 -15
- package/docs/update-notes-1.9.23.md +21 -0
- package/docs/update-notes-1.9.24.md +21 -0
- package/lib/client.js +1 -1
- package/lib/client.pricing.js +3 -3
- package/lib/client.statistics.js +7 -7
- package/lib/index.js +17 -8
- package/lib/model-labels.js +18 -7
- package/lib/plan-billing.js +1 -1
- package/lib/session-cost-source.js +1 -1
- package/lib/session-tree.js +21 -7
- package/lib/typert.host.js +1 -0
- package/lib/workbuddy.js +12 -7
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
**Session cost tracking plugin for the DeepSeek Harness web GUI (bilingual UI)**
|
|
8
8
|
|
|
9
|
-
[](https://github.com/Han-1413141/dsh-cost-meter)
|
|
10
10
|
[](https://www.npmjs.com/package/dsh-cost-meter)
|
|
11
11
|
[](https://dshfind.com/zh/plugins/Han-1413141/dsh-cost-meter?ref=badge)
|
|
12
12
|
[](LICENSE)
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
|
-
**v1.9.
|
|
19
|
+
**v1.9.24** reads CN/global credits from dsh-connect-workbuddy and recognizes its international route as part of the WorkBuddy Plan family.
|
|
20
20
|
|
|
21
21
|
**Host floor: DSH 0.2.0** · Adaptation target: **0.2.1-rc.2** (npm `next`). Expand the compatibility notes below for exact declarations, host records and troubleshooting.
|
|
22
22
|
|
|
23
|
-
Release notes: [v1.9.
|
|
23
|
+
Release notes: [v1.9.24](docs/update-notes-1.9.24.md#english). Fully restart DSH after updating.
|
|
24
24
|
|
|
25
25
|

|
|
26
26
|
|
|
@@ -352,22 +352,22 @@ On Node.js 20, use `npm install -g pnpm@10` instead. See [pnpm installation and
|
|
|
352
352
|
dsh plugin --profile web add dsh-cost-meter
|
|
353
353
|
```
|
|
354
354
|
|
|
355
|
-
**PowerShell one-click script** (copy the whole line, paste, press Enter; pnpm is provisioned automatically, git is auto-detected — no clone needed; the install chain is **pinned to the release tag `v1.9.
|
|
355
|
+
**PowerShell one-click script** (copy the whole line, paste, press Enter; pnpm is provisioned automatically, git is auto-detected — no clone needed; the install chain is **pinned to the release tag `v1.9.24`** — review the script before running):
|
|
356
356
|
|
|
357
357
|
```powershell
|
|
358
|
-
irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.
|
|
358
|
+
irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.24/install.ps1 | iex
|
|
359
359
|
```
|
|
360
360
|
|
|
361
361
|
**Or a plain command line** (the machine must already have pnpm and git; also pinned to the tag):
|
|
362
362
|
|
|
363
363
|
```sh
|
|
364
|
-
dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.
|
|
364
|
+
dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.24
|
|
365
365
|
```
|
|
366
366
|
|
|
367
367
|
Without git, use the GitHub tag archive:
|
|
368
368
|
|
|
369
369
|
```sh
|
|
370
|
-
dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.9.
|
|
370
|
+
dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.9.24.tar.gz
|
|
371
371
|
```
|
|
372
372
|
|
|
373
373
|
After installing, **restart** `dsh web` (plugin rows, the Typert manifest and the client bundle are all scanned at startup):
|
|
@@ -432,7 +432,7 @@ Workarounds:
|
|
|
432
432
|
|
|
433
433
|
```yaml
|
|
434
434
|
minimumReleaseAgeExclude:
|
|
435
|
-
- dsh-cost-meter@1.9.
|
|
435
|
+
- dsh-cost-meter@1.9.24
|
|
436
436
|
```
|
|
437
437
|
|
|
438
438
|
3. For a one-off CLI operation, forward the pnpm flag: `dsh plugin --profile desktop remove dsh-cost-meter --config.minimum-release-age=0` (or add `--trust-lockfile` when only lockfile verification fails). Both flags were verified against pnpm 11.28.5 in a temporary profile.
|
package/README.zh-CN.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
**DeepSeek Harness 会话费用统计插件(界面中英双语)**
|
|
8
8
|
|
|
9
|
-
[](https://github.com/Han-1413141/dsh-cost-meter)
|
|
10
10
|
[](https://www.npmjs.com/package/dsh-cost-meter)
|
|
11
11
|
[](https://dshfind.com/zh/plugins/Han-1413141/dsh-cost-meter?ref=badge)
|
|
12
12
|
[](LICENSE)
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
|
-
**v1.9.
|
|
19
|
+
**v1.9.24** 新增 dsh-connect-workbuddy 积分读取,支持国内版与国际版,并沿用 WorkBuddy 套餐分类。
|
|
20
20
|
|
|
21
21
|
**宿主要求:DSH 0.2.0 起支持** · 适配目标 **0.2.1-rc.2**(npm `next`)。完整声明、历史记录与安装排障见下方展开项。
|
|
22
22
|
|
|
23
|
-
更新说明:[v1.9.
|
|
23
|
+
更新说明:[v1.9.24](docs/update-notes-1.9.24.md#中文)。更新后完全重启 DSH。
|
|
24
24
|
|
|
25
25
|

|
|
26
26
|
|
|
@@ -352,22 +352,22 @@ Node.js 20 请改用 `npm install -g pnpm@10`。版本要求见 [pnpm 官方安
|
|
|
352
352
|
dsh plugin --profile web add dsh-cost-meter
|
|
353
353
|
```
|
|
354
354
|
|
|
355
|
-
**PowerShell 一键脚本**(复制整行粘贴回车;自动补齐 pnpm、自动探测 git,无需克隆仓库;安装链**固定到发布 tag `v1.9.
|
|
355
|
+
**PowerShell 一键脚本**(复制整行粘贴回车;自动补齐 pnpm、自动探测 git,无需克隆仓库;安装链**固定到发布 tag `v1.9.24`**,建议先下载审阅再运行):
|
|
356
356
|
|
|
357
357
|
```powershell
|
|
358
|
-
irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.
|
|
358
|
+
irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.24/install.ps1 | iex
|
|
359
359
|
```
|
|
360
360
|
|
|
361
361
|
**或直接命令行**(机器上需已有 pnpm 与 git;同样固定到 tag):
|
|
362
362
|
|
|
363
363
|
```sh
|
|
364
|
-
dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.
|
|
364
|
+
dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.24
|
|
365
365
|
```
|
|
366
366
|
|
|
367
367
|
没有 git 时可用 GitHub tag 打包直链:
|
|
368
368
|
|
|
369
369
|
```sh
|
|
370
|
-
dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.9.
|
|
370
|
+
dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.9.24.tar.gz
|
|
371
371
|
```
|
|
372
372
|
|
|
373
373
|
安装后**重启** `dsh web`(插件行、Typert 清单与客户端 bundle 均在启动时扫描):
|
|
@@ -432,7 +432,7 @@ DSH **0.2.1-rc.1 / 0.2.1-rc.2** 宿主自带 pnpm **11.28.5**,默认启用内
|
|
|
432
432
|
|
|
433
433
|
```yaml
|
|
434
434
|
minimumReleaseAgeExclude:
|
|
435
|
-
- dsh-cost-meter@1.9.
|
|
435
|
+
- dsh-cost-meter@1.9.24
|
|
436
436
|
```
|
|
437
437
|
|
|
438
438
|
3. 仅本次操作用 CLI 透传 pnpm 参数:`dsh plugin --profile desktop remove dsh-cost-meter --config.minimum-release-age=0`;若只是 lockfile 校验阶段失败,可改用 `--trust-lockfile`。这两个参数已在本机 pnpm 11.28.5 临时 Profile 上实测可用。
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -31,6 +31,8 @@ SOFTWARE.
|
|
|
31
31
|
|
|
32
32
|
Adapted from [corrinehu/dsh-workbuddy-connect](https://github.com/corrinehu/dsh-workbuddy-connect), `src/auth.ts` and `src/upstream.ts`. Local credentials are read only; this plugin does not refresh tokens.
|
|
33
33
|
|
|
34
|
+
The additional usage-route compatibility is based on the public API of [dingminhua/dsh-connect-workbuddy](https://github.com/dingminhua/dsh-connect-workbuddy/tree/2c1626b8dc46e16561924b76ac6cd86b4272e45d) 4.13.1 (`src/status-paths.ts`, `src/web-status.ts`; MIT, Copyright (c) 2026 LaoDing). Tests execute its published route with synthetic dependencies; its credential and account-management implementation is not included in this package.
|
|
35
|
+
|
|
34
36
|
MIT License
|
|
35
37
|
|
|
36
38
|
Copyright (c) 2026 Corrine Hu
|
|
@@ -41,7 +41,7 @@ From 1.8.10, the ledger retains every conversation instead of pruning details af
|
|
|
41
41
|
|
|
42
42
|
API costs are **estimates from reported usage and configured rates**, not provider invoices. Plan costs are the API-equivalent value of subscription usage, not an extra charge. External usage snapshots remain separately visible in Overview; this page analyzes DSH's own ledger.
|
|
43
43
|
|
|
44
|
-
With **Include subagents in session cost** enabled, the conversation badge, selected-conversation statistics and details include all continuous subagent descendants. The detail view lists each agent's recorded costs and identifies the owning conversation for every call, turn and step. Expanding a child turn reads that child's input and tools. Ordinary forks are excluded and inherited history is not billed twice. Disabling the setting limits
|
|
44
|
+
With **Include subagents in session cost** enabled, the conversation badge, selected-conversation statistics and details include all continuous subagent descendants. The detail view lists each agent's recorded costs and identifies the owning conversation for every call, turn and step. Expanding a child turn reads that child's input and tools. Ordinary forks are excluded and inherited history is not billed twice. Disabling the setting limits ordinary conversations to their own costs. From 1.9.23, a live agent-team lead automatically includes its team members and their descendants even with this setting disabled. The host's public team roster identifies membership; agents retain separate ledger entries.
|
|
45
45
|
|
|
46
46
|
Call details use the price version recorded for the call time, including peak/off-peak and long-context tiers. Editing rates, mappings or price currency affects subsequent calls. Older installations keep their existing ledger amounts and use the pre-upgrade price configuration as the baseline for available call logs; prices that were never recorded cannot be recovered. Missing logs and missing prices do not mean zero cost.
|
|
47
47
|
|
|
@@ -88,7 +88,7 @@ The statistics screen uses DSH's package-local asynchronous module loader. Since
|
|
|
88
88
|
|
|
89
89
|
汇总读取 DSH 账本,打开页面会同步其他进程已写入的记录,不重新定价或修改历史金额。全局日、周及全部统计中,跨天对话合并成一行,开启子代理费用合计时,排行把子代理及其后代归入所属主会话,点击后的明细与排行金额一致;关闭时各会话分别列出。每笔费用只计一次。历史中未归属模型或对话的金额会单独提示。从 1.8.10 起,账本保留全部对话记录,不再按每日 200 个裁剪。若已记录的全部 Token 与调用次数完整覆盖一个日期,旧日总额会按这些对话已记录的金额修复;匿名调用和旧版裁剪留下的金额保留。此修复不重新定价。
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
开启设置中的“本会话费用包含子代理”后,会话费用徽章、单对话汇总和费用明细均包含该会话的子代理及全部子代理后代。明细单列主会话与各子代理的账本费用,逐次调用、轮次和步骤标注所属会话,展开子代理轮次可查看它自己的输入与工具调用。普通分叉会话不归入父会话,子代理继承的历史消息不重复收费。关闭开关时,普通对话只显示自身费用。从 1.9.23 起,正在运行的智能体团队主代理会根据宿主公开的团队名册自动包含成员及其后代,不受此开关影响;各代理继续分别入账。
|
|
92
92
|
|
|
93
93
|
API 费用是按上报用量和配置单价计算的估算,不是厂商账单;Plan 费用是订阅用量的 API 等值,不代表额外扣款。外部用量快照仍在原概览中单列,这个页面统计 DSH 自身账本。
|
|
94
94
|
|
|
@@ -51,7 +51,7 @@ dsh-context 主要展示上下文占用、组成、变化和注入事件。0.66.
|
|
|
51
51
|
|
|
52
52
|
总量与 dsh-context 标题及宿主输入区占用环使用同一份 `contextPressure`,依次读取 `projectedTokens`、`pressureTokens`。旧宿主缺少该投影时,优先用 `contextTimeline` 中最近请求的 prompt 用量加后续上下文变化,最后回退 `tokenMeter.measure()`。DSH 0.2.0-rc.2 和 0.2.1-alpha.4 的本地测量会拒绝低于文本估算的用量锚点;代理压缩后的真实输入可能更小,因此不能用这个本地估算下限覆盖已有的用量校准值。[#293](https://github.com/Han-1413141/dsh-cost-meter/issues/293)
|
|
53
53
|
|
|
54
|
-
组成分类按校准总量等比例分配,页面明确标记为估算,不把原始文本比例当作代理压缩后逐段实测的 Token
|
|
54
|
+
组成分类按校准总量等比例分配,页面明确标记为估算,不把原始文本比例当作代理压缩后逐段实测的 Token 或账单。长上下文费率也使用同一个校准总量;已发生调用和会话累计费用不受此展示修正影响。联动区与独立统计视图均跟随费用显示币种;当前上下文的非缓存输入参考价按当前显示汇率折算,不使用历史账单汇率,也不修改历史实付金额。
|
|
55
55
|
|
|
56
56
|
最近一次调用使用该次调用的输入长度、发生时段与提供商用量单独计价,输入、缓存、输出之间不重复计数。历史回复留在当前上下文时属于输入。两组金额不相加;Plan 显示 API 等值,未知价格与零单价分别显示。
|
|
57
57
|
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# v1.9.15
|
|
2
|
-
|
|
3
|
-
## 中文
|
|
4
|
-
|
|
5
|
-
### 跟随皮肤透明度
|
|
6
|
-
|
|
7
|
-
在“费用 → 显示”勾选“跟随皮肤透明度”,费用页会共用设置窗口的背景,费用统计正文共用弹窗背景,避免液态玻璃皮肤下出现实心深蓝色块与硬边。费用明细、引导、提醒和下拉浮层保留皮肤色及至少 90% 不透明度,皮肤层色完全透明时也保留可读底色。
|
|
8
|
-
|
|
9
|
-
开关默认关闭,现有不透明遮挡效果保持原样;修改自动保存,重启后直接生效。只调整插件自己的界面。感谢 [@MuFeng262](https://github.com/MuFeng262) 在 [issue #345](https://github.com/Han-1413141/dsh-cost-meter/issues/345) 报告、定位问题并建议提供可选开关。
|
|
10
|
-
|
|
11
|
-
### Cline Pass 额度
|
|
12
|
-
|
|
13
|
-
新增 Cline Pass 套餐查询,一张卡片显示 5 小时、周、月窗口及重置时间。自定义渠道名在前后端使用相同的套餐识别规则;未知或无效额度不会显示为 0%,合法的 0、0.5、1 均保留原始百分比含义。
|
|
14
|
-
|
|
15
|
-
感谢 [@kongxiangyiren](https://github.com/kongxiangyiren) 在 [PR #343](https://github.com/Han-1413141/dsh-cost-meter/pull/343) 提供实现和回归测试。
|
|
16
|
-
|
|
17
|
-
更新后完全退出 DSH(包括托盘)再打开。
|
|
18
|
-
|
|
19
|
-
## English
|
|
20
|
-
|
|
21
|
-
### Follow skin transparency
|
|
22
|
-
|
|
23
|
-
Enable “Follow skin transparency” under Cost → Display to share the settings window background and use the dialog background throughout statistics content. This removes solid colour blocks and hard edges under translucent skins. Floating dialogs, guides, alerts and menus use the skin colour with an opacity floor of 90%, including when the skin background is fully transparent.
|
|
24
|
-
|
|
25
|
-
The option is off by default. Turning it off restores opaque surfaces immediately. Changes save automatically and apply again on startup. Only this plugin's surfaces change. Thanks to [@MuFeng262](https://github.com/MuFeng262) for the report, root-cause analysis and option proposal in [issue #345](https://github.com/Han-1413141/dsh-cost-meter/issues/345).
|
|
26
|
-
|
|
27
|
-
### Cline Pass quota
|
|
28
|
-
|
|
29
|
-
A single Cline Pass card shows the actual 5-hour, weekly and monthly windows and reset times. Client and server share plan-name matching rules. Invalid quota values stay unavailable; valid 0, 0.5 and 1 retain their literal percentage meaning.
|
|
30
|
-
|
|
31
|
-
Thanks to [@kongxiangyiren](https://github.com/kongxiangyiren) for implementation and regression tests in [PR #343](https://github.com/Han-1413141/dsh-cost-meter/pull/343).
|
|
32
|
-
|
|
33
|
-
Fully exit DSH, including its tray process, and reopen after updating.
|
|
1
|
+
# v1.9.15
|
|
2
|
+
|
|
3
|
+
## 中文
|
|
4
|
+
|
|
5
|
+
### 跟随皮肤透明度
|
|
6
|
+
|
|
7
|
+
在“费用 → 显示”勾选“跟随皮肤透明度”,费用页会共用设置窗口的背景,费用统计正文共用弹窗背景,避免液态玻璃皮肤下出现实心深蓝色块与硬边。费用明细、引导、提醒和下拉浮层保留皮肤色及至少 90% 不透明度,皮肤层色完全透明时也保留可读底色。
|
|
8
|
+
|
|
9
|
+
开关默认关闭,现有不透明遮挡效果保持原样;修改自动保存,重启后直接生效。只调整插件自己的界面。感谢 [@MuFeng262](https://github.com/MuFeng262) 在 [issue #345](https://github.com/Han-1413141/dsh-cost-meter/issues/345) 报告、定位问题并建议提供可选开关。
|
|
10
|
+
|
|
11
|
+
### Cline Pass 额度
|
|
12
|
+
|
|
13
|
+
新增 Cline Pass 套餐查询,一张卡片显示 5 小时、周、月窗口及重置时间。自定义渠道名在前后端使用相同的套餐识别规则;未知或无效额度不会显示为 0%,合法的 0、0.5、1 均保留原始百分比含义。
|
|
14
|
+
|
|
15
|
+
感谢 [@kongxiangyiren](https://github.com/kongxiangyiren) 在 [PR #343](https://github.com/Han-1413141/dsh-cost-meter/pull/343) 提供实现和回归测试。
|
|
16
|
+
|
|
17
|
+
更新后完全退出 DSH(包括托盘)再打开。
|
|
18
|
+
|
|
19
|
+
## English
|
|
20
|
+
|
|
21
|
+
### Follow skin transparency
|
|
22
|
+
|
|
23
|
+
Enable “Follow skin transparency” under Cost → Display to share the settings window background and use the dialog background throughout statistics content. This removes solid colour blocks and hard edges under translucent skins. Floating dialogs, guides, alerts and menus use the skin colour with an opacity floor of 90%, including when the skin background is fully transparent.
|
|
24
|
+
|
|
25
|
+
The option is off by default. Turning it off restores opaque surfaces immediately. Changes save automatically and apply again on startup. Only this plugin's surfaces change. Thanks to [@MuFeng262](https://github.com/MuFeng262) for the report, root-cause analysis and option proposal in [issue #345](https://github.com/Han-1413141/dsh-cost-meter/issues/345).
|
|
26
|
+
|
|
27
|
+
### Cline Pass quota
|
|
28
|
+
|
|
29
|
+
A single Cline Pass card shows the actual 5-hour, weekly and monthly windows and reset times. Client and server share plan-name matching rules. Invalid quota values stay unavailable; valid 0, 0.5 and 1 retain their literal percentage meaning.
|
|
30
|
+
|
|
31
|
+
Thanks to [@kongxiangyiren](https://github.com/kongxiangyiren) for implementation and regression tests in [PR #343](https://github.com/Han-1413141/dsh-cost-meter/pull/343).
|
|
32
|
+
|
|
33
|
+
Fully exit DSH, including its tray process, and reopen after updating.
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
# v1.9.16
|
|
2
|
-
|
|
3
|
-
## 中文
|
|
4
|
-
|
|
5
|
-
### 按所选版本统计 DeepSeek 搜索
|
|
6
|
-
|
|
7
|
-
插件读取“插件 → 内置插件设置 → 网页搜索”对应的 `web.searchProvider` 与 `web.fetchProvider`。新版开关开启时为 `deepseek-search-api`/`deepseek-fetch-api`;关闭时为 `deepseek-official` 的 Messages 搜索和本地 HTTP 抓取。每次调用开始时保存选择,并依据实际请求接口确认版本。修改开关只影响后续调用。
|
|
8
|
-
|
|
9
|
-
根据 [DeepSeek 官方指南](https://api-docs.deepseek.com/zh-cn/guides/search/)(2026-10-19 核对),新版独立 Search/Fetch API 均为每 1,000 次成功请求 ¥5,仅 HTTP 200 且有搜索结果/正文时计费,结果条数不乘价。失败、空结果和超时不收费。
|
|
10
|
-
|
|
11
|
-
旧版 Messages 搜索保留真实模型 Token 费用。可确认的服务端成功搜索调用另列请求项目:北京时间 2026 年 11 月 1 日 00:00 前请求费为 0,此后每次 ¥0.005;未确认成功的调用不估补次数费。模型 Token 和搜索请求分别统计,不重复计入 Token。本地 HTTP 抓取保持无官方 API 次数费。统计详情标明旧版 Messages/新版 Search API/新版 Fetch API。
|
|
12
|
-
|
|
13
|
-
历史记录保留调用时的版本、请求单价和汇率,不因切换搜索设置改价。生产记录不保存搜索词、URL、正文或凭据。适配依据见 [DSH 官方设置控制器](https://github.com/deepseek-ai/deepseek-harness/blob/687f282e8625c6b8d11ff58211a90524be2e4317/packages/client/ui-settings-web-search/src/client/web-search-card-controller.ts)。
|
|
14
|
-
|
|
15
|
-
### 今日同时显示费用和 Token
|
|
16
|
-
|
|
17
|
-
在“费用 → 显示”选中“今日用量”,分别开启费用与 Token 用量,支持仅一项或同时显示。两项右对齐并列,窄侧栏自动换行;预览中两个子项各有虚线,点击可定位相应开关。
|
|
18
|
-
|
|
19
|
-
### 直接拖动侧栏组件
|
|
20
|
-
|
|
21
|
-
在显示设置预览或主界面侧栏,将组件左侧手柄拖到目标卡片上方或下方即可调整顺序;手柄聚焦后也可使用上下方向键。不同套餐和网关卡片可分别排序,Go 与预算分开显示。顺序自动保存,隐藏再显示、切换布局和重启后保留。保存失败时主侧栏保留原顺序并显示提示。
|
|
22
|
-
|
|
23
|
-
验证覆盖官方新版提供方固定源码、实际 DSH 服务注册与本地 HTTP 传输,旧版 Messages 真实用量、搜索开关快照、11 月 1 日时间边界、重启与历史回放,以及浏览器中的双项布局、子项虚线、两处拖放和失败处理。所有接口验证使用合成数据及本机服务器。
|
|
24
|
-
|
|
25
|
-
### 合并卡片、免费模型与提醒修复
|
|
26
|
-
|
|
27
|
-
在“费用 → 显示 → 侧栏布局”选择“合并卡片”,可以将今日 Token 放在标签旁、费用放在右侧,下方显示余额与一行峰谷信息、细进度条。原有简洁、标准和紧凑布局保留;隐藏组件、拖动排序和单项显示继续生效。首次更新提供一次介绍,关闭或选用后会保存记录。
|
|
28
|
-
|
|
29
|
-
检测到当前宿主启用了 `dsh-our-free-model` 后,“价格 → 按模型设置”提供“从此插件调用的所有模型按免费计算”开关,默认保持原计价。开启后,只对 `our-free-model` 和 `our-free-model-region` 两个实际渠道后续调用使用零单价,包括该插件的账号渠道;Token 照常记录,其他提供方与保存过的历史价格不变。关闭可恢复普通匹配与自定义计价。
|
|
30
|
-
|
|
31
|
-
Codex 的侧栏和输入区显示开关可以同时开启必要的额度查询,查询总开关也可直接修改;保存和重载保持一致。订阅插件已启用但查询关闭时,侧栏提供启用入口。设置页 Codex 与其他页签使用一致的内边距、高度和中线。
|
|
32
|
-
|
|
33
|
-
Go 的悬浮详情列出 5 小时、周、月三个窗口的用量和重置时间;未知额度显示“—”,0% 保留为真实数值。峰价提醒继续使用浏览器顶层,增加页面级后备挂载和低高度窗口滚动,确保“知道了”按钮可操作。
|
|
34
|
-
|
|
35
|
-
`billion-context` 提醒点击“知道了”后,将对应状态与版本的确认记录保存到账本。新增“不再弹出此提醒”,也可在“费用 → 显示 → 兼容提醒”关闭或恢复弹窗。关闭不影响兼容检测和页面中的状态说明;记录保留最近 32 个不同提醒。保存失败会显示错误并允许重试。
|
|
36
|
-
|
|
37
|
-
千问 CLI 普通查询保留 15 秒超时,订阅兜底查询单独使用 60 秒;仍支持调用方显式指定超时。新提示说明 CLI 的订阅查询可能超过 30 秒,并给出终端检查命令。感谢 @forkhala 在 [#349](https://github.com/Han-1413141/dsh-cost-meter/issues/349)、[#350](https://github.com/Han-1413141/dsh-cost-meter/issues/350) 提供计时、重启与账本对照复现,感谢 @orshih6 在 [PR #351](https://github.com/Han-1413141/dsh-cost-meter/pull/351) 提供千问分命令超时实现和测试。
|
|
38
|
-
|
|
39
|
-
更新后完全退出 DSH(包括托盘)再打开。
|
|
40
|
-
|
|
41
|
-
## English
|
|
42
|
-
|
|
43
|
-
### Distinguish legacy and new DeepSeek search
|
|
44
|
-
|
|
45
|
-
The plugin reads DSH’s `web.searchProvider` and `web.fetchProvider`, snapshots the selection at call start, and confirms the version from the actual endpoint. Legacy Messages search retains its real model-token charges. New standalone Search/Fetch calls cost CNY 5 per 1,000 successful requests: HTTP 200 with nonempty results or page content. Result count does not multiply the fee.
|
|
46
|
-
|
|
47
|
-
Observed successful server-side searches are free of request fees until November 1, 2026 at 00:00 Beijing time, then cost CNY 0.005 per request. Missing or failed calls do not receive invented fees. Local HTTP fetching has no official API request charge. Historical versions, rates and exchange rates remain attached to the original calls. See the [official rules](https://api-docs.deepseek.com/guides/search/).
|
|
48
|
-
|
|
49
|
-
### Today: cost, tokens or both
|
|
50
|
-
|
|
51
|
-
Select Today’s usage under Cost → Display and use its separate cost and token switches. Both values align to the right and wrap in narrow sidebars. Each preview sub-item has its own outline and focuses the matching control.
|
|
52
|
-
|
|
53
|
-
### Drag sidebar components
|
|
54
|
-
|
|
55
|
-
Drag the left handle in Display’s preview or the main sidebar, or focus a handle and use arrow keys. Each plan and gateway card can move independently; Go and Budget use separate cards. Order saves automatically and survives layout changes, hiding and restart. A failed save retains the main sidebar’s previous order.
|
|
56
|
-
|
|
57
|
-
### Combined sidebar, free-model billing and persistent reminders
|
|
58
|
-
|
|
59
|
-
Choose Combined card under Cost → Display → Sidebar layout. Today’s tokens and cost share a row, followed by balance and a thin pricing-period progress bar. Existing layouts, visibility controls and drag ordering remain available; the introductory dialog is shown once.
|
|
60
|
-
|
|
61
|
-
When the active host enables `dsh-our-free-model`, Pricing’s per-model settings offer an optional zero-price mode for future calls through `our-free-model` and `our-free-model-region`, including account channels. Tokens remain recorded. Other providers and stored historical prices keep their billing rules.
|
|
62
|
-
|
|
63
|
-
Codex visibility can enable quota queries, and its explicit query switch persists correctly. Disabled queries have a sidebar entry when the subscription plugin is active. Tabs share the same alignment and padding. Go tooltips show 5-hour, weekly and monthly usage and reset times. Peak reminders use the browser top layer, a body-level fallback and viewport-limited scrolling.
|
|
64
|
-
|
|
65
|
-
Billion-context acknowledgements now persist in the ledger, with a Do not show this reminder again action and a Display preference. Detection and status remain available when popups are muted. Qianwen keeps a 15-second summary timeout and uses 60 seconds for subscription fallback; errors identify slow CLI responses. Credits: @forkhala for [#349](https://github.com/Han-1413141/dsh-cost-meter/issues/349) and [#350](https://github.com/Han-1413141/dsh-cost-meter/issues/350), and @orshih6 for the timeout implementation and tests in [#351](https://github.com/Han-1413141/dsh-cost-meter/pull/351).
|
|
66
|
-
|
|
67
|
-
Validation uses pinned official provider sources, real DSH services and local synthetic HTTP responses, plus browser drag, layout, persistence and failure checks. Fully exit DSH, including its tray process, and reopen after updating.
|
|
1
|
+
# v1.9.16
|
|
2
|
+
|
|
3
|
+
## 中文
|
|
4
|
+
|
|
5
|
+
### 按所选版本统计 DeepSeek 搜索
|
|
6
|
+
|
|
7
|
+
插件读取“插件 → 内置插件设置 → 网页搜索”对应的 `web.searchProvider` 与 `web.fetchProvider`。新版开关开启时为 `deepseek-search-api`/`deepseek-fetch-api`;关闭时为 `deepseek-official` 的 Messages 搜索和本地 HTTP 抓取。每次调用开始时保存选择,并依据实际请求接口确认版本。修改开关只影响后续调用。
|
|
8
|
+
|
|
9
|
+
根据 [DeepSeek 官方指南](https://api-docs.deepseek.com/zh-cn/guides/search/)(2026-10-19 核对),新版独立 Search/Fetch API 均为每 1,000 次成功请求 ¥5,仅 HTTP 200 且有搜索结果/正文时计费,结果条数不乘价。失败、空结果和超时不收费。
|
|
10
|
+
|
|
11
|
+
旧版 Messages 搜索保留真实模型 Token 费用。可确认的服务端成功搜索调用另列请求项目:北京时间 2026 年 11 月 1 日 00:00 前请求费为 0,此后每次 ¥0.005;未确认成功的调用不估补次数费。模型 Token 和搜索请求分别统计,不重复计入 Token。本地 HTTP 抓取保持无官方 API 次数费。统计详情标明旧版 Messages/新版 Search API/新版 Fetch API。
|
|
12
|
+
|
|
13
|
+
历史记录保留调用时的版本、请求单价和汇率,不因切换搜索设置改价。生产记录不保存搜索词、URL、正文或凭据。适配依据见 [DSH 官方设置控制器](https://github.com/deepseek-ai/deepseek-harness/blob/687f282e8625c6b8d11ff58211a90524be2e4317/packages/client/ui-settings-web-search/src/client/web-search-card-controller.ts)。
|
|
14
|
+
|
|
15
|
+
### 今日同时显示费用和 Token
|
|
16
|
+
|
|
17
|
+
在“费用 → 显示”选中“今日用量”,分别开启费用与 Token 用量,支持仅一项或同时显示。两项右对齐并列,窄侧栏自动换行;预览中两个子项各有虚线,点击可定位相应开关。
|
|
18
|
+
|
|
19
|
+
### 直接拖动侧栏组件
|
|
20
|
+
|
|
21
|
+
在显示设置预览或主界面侧栏,将组件左侧手柄拖到目标卡片上方或下方即可调整顺序;手柄聚焦后也可使用上下方向键。不同套餐和网关卡片可分别排序,Go 与预算分开显示。顺序自动保存,隐藏再显示、切换布局和重启后保留。保存失败时主侧栏保留原顺序并显示提示。
|
|
22
|
+
|
|
23
|
+
验证覆盖官方新版提供方固定源码、实际 DSH 服务注册与本地 HTTP 传输,旧版 Messages 真实用量、搜索开关快照、11 月 1 日时间边界、重启与历史回放,以及浏览器中的双项布局、子项虚线、两处拖放和失败处理。所有接口验证使用合成数据及本机服务器。
|
|
24
|
+
|
|
25
|
+
### 合并卡片、免费模型与提醒修复
|
|
26
|
+
|
|
27
|
+
在“费用 → 显示 → 侧栏布局”选择“合并卡片”,可以将今日 Token 放在标签旁、费用放在右侧,下方显示余额与一行峰谷信息、细进度条。原有简洁、标准和紧凑布局保留;隐藏组件、拖动排序和单项显示继续生效。首次更新提供一次介绍,关闭或选用后会保存记录。
|
|
28
|
+
|
|
29
|
+
检测到当前宿主启用了 `dsh-our-free-model` 后,“价格 → 按模型设置”提供“从此插件调用的所有模型按免费计算”开关,默认保持原计价。开启后,只对 `our-free-model` 和 `our-free-model-region` 两个实际渠道后续调用使用零单价,包括该插件的账号渠道;Token 照常记录,其他提供方与保存过的历史价格不变。关闭可恢复普通匹配与自定义计价。
|
|
30
|
+
|
|
31
|
+
Codex 的侧栏和输入区显示开关可以同时开启必要的额度查询,查询总开关也可直接修改;保存和重载保持一致。订阅插件已启用但查询关闭时,侧栏提供启用入口。设置页 Codex 与其他页签使用一致的内边距、高度和中线。
|
|
32
|
+
|
|
33
|
+
Go 的悬浮详情列出 5 小时、周、月三个窗口的用量和重置时间;未知额度显示“—”,0% 保留为真实数值。峰价提醒继续使用浏览器顶层,增加页面级后备挂载和低高度窗口滚动,确保“知道了”按钮可操作。
|
|
34
|
+
|
|
35
|
+
`billion-context` 提醒点击“知道了”后,将对应状态与版本的确认记录保存到账本。新增“不再弹出此提醒”,也可在“费用 → 显示 → 兼容提醒”关闭或恢复弹窗。关闭不影响兼容检测和页面中的状态说明;记录保留最近 32 个不同提醒。保存失败会显示错误并允许重试。
|
|
36
|
+
|
|
37
|
+
千问 CLI 普通查询保留 15 秒超时,订阅兜底查询单独使用 60 秒;仍支持调用方显式指定超时。新提示说明 CLI 的订阅查询可能超过 30 秒,并给出终端检查命令。感谢 @forkhala 在 [#349](https://github.com/Han-1413141/dsh-cost-meter/issues/349)、[#350](https://github.com/Han-1413141/dsh-cost-meter/issues/350) 提供计时、重启与账本对照复现,感谢 @orshih6 在 [PR #351](https://github.com/Han-1413141/dsh-cost-meter/pull/351) 提供千问分命令超时实现和测试。
|
|
38
|
+
|
|
39
|
+
更新后完全退出 DSH(包括托盘)再打开。
|
|
40
|
+
|
|
41
|
+
## English
|
|
42
|
+
|
|
43
|
+
### Distinguish legacy and new DeepSeek search
|
|
44
|
+
|
|
45
|
+
The plugin reads DSH’s `web.searchProvider` and `web.fetchProvider`, snapshots the selection at call start, and confirms the version from the actual endpoint. Legacy Messages search retains its real model-token charges. New standalone Search/Fetch calls cost CNY 5 per 1,000 successful requests: HTTP 200 with nonempty results or page content. Result count does not multiply the fee.
|
|
46
|
+
|
|
47
|
+
Observed successful server-side searches are free of request fees until November 1, 2026 at 00:00 Beijing time, then cost CNY 0.005 per request. Missing or failed calls do not receive invented fees. Local HTTP fetching has no official API request charge. Historical versions, rates and exchange rates remain attached to the original calls. See the [official rules](https://api-docs.deepseek.com/guides/search/).
|
|
48
|
+
|
|
49
|
+
### Today: cost, tokens or both
|
|
50
|
+
|
|
51
|
+
Select Today’s usage under Cost → Display and use its separate cost and token switches. Both values align to the right and wrap in narrow sidebars. Each preview sub-item has its own outline and focuses the matching control.
|
|
52
|
+
|
|
53
|
+
### Drag sidebar components
|
|
54
|
+
|
|
55
|
+
Drag the left handle in Display’s preview or the main sidebar, or focus a handle and use arrow keys. Each plan and gateway card can move independently; Go and Budget use separate cards. Order saves automatically and survives layout changes, hiding and restart. A failed save retains the main sidebar’s previous order.
|
|
56
|
+
|
|
57
|
+
### Combined sidebar, free-model billing and persistent reminders
|
|
58
|
+
|
|
59
|
+
Choose Combined card under Cost → Display → Sidebar layout. Today’s tokens and cost share a row, followed by balance and a thin pricing-period progress bar. Existing layouts, visibility controls and drag ordering remain available; the introductory dialog is shown once.
|
|
60
|
+
|
|
61
|
+
When the active host enables `dsh-our-free-model`, Pricing’s per-model settings offer an optional zero-price mode for future calls through `our-free-model` and `our-free-model-region`, including account channels. Tokens remain recorded. Other providers and stored historical prices keep their billing rules.
|
|
62
|
+
|
|
63
|
+
Codex visibility can enable quota queries, and its explicit query switch persists correctly. Disabled queries have a sidebar entry when the subscription plugin is active. Tabs share the same alignment and padding. Go tooltips show 5-hour, weekly and monthly usage and reset times. Peak reminders use the browser top layer, a body-level fallback and viewport-limited scrolling.
|
|
64
|
+
|
|
65
|
+
Billion-context acknowledgements now persist in the ledger, with a Do not show this reminder again action and a Display preference. Detection and status remain available when popups are muted. Qianwen keeps a 15-second summary timeout and uses 60 seconds for subscription fallback; errors identify slow CLI responses. Credits: @forkhala for [#349](https://github.com/Han-1413141/dsh-cost-meter/issues/349) and [#350](https://github.com/Han-1413141/dsh-cost-meter/issues/350), and @orshih6 for the timeout implementation and tests in [#351](https://github.com/Han-1413141/dsh-cost-meter/pull/351).
|
|
66
|
+
|
|
67
|
+
Validation uses pinned official provider sources, real DSH services and local synthetic HTTP responses, plus browser drag, layout, persistence and failure checks. Fully exit DSH, including its tray process, and reopen after updating.
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# v1.9.17
|
|
2
|
-
|
|
3
|
-
## 中文
|
|
4
|
-
|
|
5
|
-
- 主页侧栏恢复普通展示,移除六点拖动手柄、额外左侧留白和保存提示;拖动与方向键排序仅保留在“费用 → 显示”的预览中。
|
|
6
|
-
- 修复网关卡片拖动遗漏来源 ID 导致排序保存失败的问题;无效排序标识在提交前过滤,保存失败后仍可继续修改组件显示。
|
|
7
|
-
- “侧栏布局”默认展开,切换组件时保持用户的展开选择;四种布局缩略图在窄面板中排为两列。
|
|
8
|
-
- 合并卡片使用对称内边距和紧凑行高,统一简洁卡片的今日行背景;移除拖动造成的多余空间,三行卡片不再出现内部滚动条。
|
|
9
|
-
- `dsh-our-free-model` 免费计费选项改为同一行的开关与文字,说明缩短;仅该插件后续调用记为免费,Token、历史费用与其他渠道规则不变。
|
|
10
|
-
- 修复皮肤隐藏更新公告却留下模态锁定的问题:为公告补齐 dialog 语义与显示样式,无法显示时关闭模态,避免锁住整页。感谢 [@SherUnlocked-4869](https://github.com/SherUnlocked-4869) 在 [#355](https://github.com/Han-1413141/dsh-cost-meter/issues/355) 提供复现和定位。
|
|
11
|
-
- 纳入 [@LetterXbox](https://github.com/LetterXbox) 在 [PR #358](https://github.com/Han-1413141/dsh-cost-meter/pull/358) 提供的 Ollama Cloud 快照模型日历修复,问题来源 [#356](https://github.com/Han-1413141/dsh-cost-meter/issues/356)。带标签模型仍需已有价格或手动映射,历史金额保留原规则。
|
|
12
|
-
|
|
13
|
-
更新后完全退出并重启 DSH,使宿主与界面同时加载新版本。原有组件显示开关和已保存顺序继续生效。
|
|
14
|
-
|
|
15
|
-
## English
|
|
16
|
-
|
|
17
|
-
- Keep drag and keyboard reordering inside Display settings. The home sidebar no longer adds handles, padding or save-status nodes.
|
|
18
|
-
- Preserve gateway source IDs when ordering cards; a failed save no longer blocks subsequent display changes. Sidebar layout choices start expanded.
|
|
19
|
-
- Balance combined-card spacing, share the Simple card background with its Today row, and avoid an inner scrollbar for the three-row card.
|
|
20
|
-
- Align the free-model checkbox with its label and shorten the explanation without changing billing behavior.
|
|
21
|
-
- Keep update guides visible under skin dialog rules and close an invisible modal instead of blocking DSH (#355, reported and diagnosed by @SherUnlocked-4869).
|
|
22
|
-
- Include @LetterXbox’s reviewed PR #358: configured Ollama Cloud snapshot models use its own calendar; historical prices are preserved and automatic price matching is unchanged.
|
|
23
|
-
|
|
24
|
-
Fully quit and restart DSH after updating so the host and UI load the same version. Existing visibility preferences and saved order are retained.
|
|
1
|
+
# v1.9.17
|
|
2
|
+
|
|
3
|
+
## 中文
|
|
4
|
+
|
|
5
|
+
- 主页侧栏恢复普通展示,移除六点拖动手柄、额外左侧留白和保存提示;拖动与方向键排序仅保留在“费用 → 显示”的预览中。
|
|
6
|
+
- 修复网关卡片拖动遗漏来源 ID 导致排序保存失败的问题;无效排序标识在提交前过滤,保存失败后仍可继续修改组件显示。
|
|
7
|
+
- “侧栏布局”默认展开,切换组件时保持用户的展开选择;四种布局缩略图在窄面板中排为两列。
|
|
8
|
+
- 合并卡片使用对称内边距和紧凑行高,统一简洁卡片的今日行背景;移除拖动造成的多余空间,三行卡片不再出现内部滚动条。
|
|
9
|
+
- `dsh-our-free-model` 免费计费选项改为同一行的开关与文字,说明缩短;仅该插件后续调用记为免费,Token、历史费用与其他渠道规则不变。
|
|
10
|
+
- 修复皮肤隐藏更新公告却留下模态锁定的问题:为公告补齐 dialog 语义与显示样式,无法显示时关闭模态,避免锁住整页。感谢 [@SherUnlocked-4869](https://github.com/SherUnlocked-4869) 在 [#355](https://github.com/Han-1413141/dsh-cost-meter/issues/355) 提供复现和定位。
|
|
11
|
+
- 纳入 [@LetterXbox](https://github.com/LetterXbox) 在 [PR #358](https://github.com/Han-1413141/dsh-cost-meter/pull/358) 提供的 Ollama Cloud 快照模型日历修复,问题来源 [#356](https://github.com/Han-1413141/dsh-cost-meter/issues/356)。带标签模型仍需已有价格或手动映射,历史金额保留原规则。
|
|
12
|
+
|
|
13
|
+
更新后完全退出并重启 DSH,使宿主与界面同时加载新版本。原有组件显示开关和已保存顺序继续生效。
|
|
14
|
+
|
|
15
|
+
## English
|
|
16
|
+
|
|
17
|
+
- Keep drag and keyboard reordering inside Display settings. The home sidebar no longer adds handles, padding or save-status nodes.
|
|
18
|
+
- Preserve gateway source IDs when ordering cards; a failed save no longer blocks subsequent display changes. Sidebar layout choices start expanded.
|
|
19
|
+
- Balance combined-card spacing, share the Simple card background with its Today row, and avoid an inner scrollbar for the three-row card.
|
|
20
|
+
- Align the free-model checkbox with its label and shorten the explanation without changing billing behavior.
|
|
21
|
+
- Keep update guides visible under skin dialog rules and close an invisible modal instead of blocking DSH (#355, reported and diagnosed by @SherUnlocked-4869).
|
|
22
|
+
- Include @LetterXbox’s reviewed PR #358: configured Ollama Cloud snapshot models use its own calendar; historical prices are preserved and automatic price matching is unchanged.
|
|
23
|
+
|
|
24
|
+
Fully quit and restart DSH after updating so the host and UI load the same version. Existing visibility preferences and saved order are retained.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# v1.9.19
|
|
2
|
-
|
|
3
|
-
## 中文
|
|
4
|
-
|
|
5
|
-
- 统一侧栏峰谷条、余额、今日用量、模型费用、预算、Coding Plan、Codex 与网关额度的内容边线;标题靠左,金额与比例靠右,模型卡片展开箭头移到标题后。
|
|
6
|
-
- 标准、紧凑、简洁和合并卡片沿用各自的留白,兼容“今日消费与余额同行”;长标题在窄侧栏内换行或省略,避免挤出金额。
|
|
7
|
-
- 显示设置顶部缩小留白,“使用示例数据”并入区域切换工具栏;透明度与 billion-context 兼容提醒移入右侧默认收起的“通用设置”。侧栏布局继续默认展开。
|
|
8
|
-
- 简洁卡片隐藏右侧滚动条和上下箭头,内容较多时仍可通过滚轮、触控和键盘滚动查看。
|
|
9
|
-
|
|
10
|
-
更新后完全退出并重启 DSH。
|
|
11
|
-
|
|
12
|
-
## English
|
|
13
|
-
|
|
14
|
-
- Align sidebar content edges across peak indicators, balances, daily usage, model costs, budgets, Coding Plans, Codex and gateway quotas. Place the model disclosure arrow after its heading and keep amounts right-aligned.
|
|
15
|
-
- Preserve spacing in Standard, Compact, Simple and Combined layouts, including the optional inline today/balance row. Keep long headings inside narrow sidebars.
|
|
16
|
-
- Bring the Display preview closer to the tabs. Put example data in the preview toolbar and move transparency and compatibility notices into the collapsed General settings. Sidebar layout choices remain expanded by default.
|
|
17
|
-
- Hide the Simple card scrollbar and its arrow buttons while preserving wheel, touch and keyboard scrolling.
|
|
18
|
-
|
|
19
|
-
Fully quit and restart DSH after updating.
|
|
1
|
+
# v1.9.19
|
|
2
|
+
|
|
3
|
+
## 中文
|
|
4
|
+
|
|
5
|
+
- 统一侧栏峰谷条、余额、今日用量、模型费用、预算、Coding Plan、Codex 与网关额度的内容边线;标题靠左,金额与比例靠右,模型卡片展开箭头移到标题后。
|
|
6
|
+
- 标准、紧凑、简洁和合并卡片沿用各自的留白,兼容“今日消费与余额同行”;长标题在窄侧栏内换行或省略,避免挤出金额。
|
|
7
|
+
- 显示设置顶部缩小留白,“使用示例数据”并入区域切换工具栏;透明度与 billion-context 兼容提醒移入右侧默认收起的“通用设置”。侧栏布局继续默认展开。
|
|
8
|
+
- 简洁卡片隐藏右侧滚动条和上下箭头,内容较多时仍可通过滚轮、触控和键盘滚动查看。
|
|
9
|
+
|
|
10
|
+
更新后完全退出并重启 DSH。
|
|
11
|
+
|
|
12
|
+
## English
|
|
13
|
+
|
|
14
|
+
- Align sidebar content edges across peak indicators, balances, daily usage, model costs, budgets, Coding Plans, Codex and gateway quotas. Place the model disclosure arrow after its heading and keep amounts right-aligned.
|
|
15
|
+
- Preserve spacing in Standard, Compact, Simple and Combined layouts, including the optional inline today/balance row. Keep long headings inside narrow sidebars.
|
|
16
|
+
- Bring the Display preview closer to the tabs. Put example data in the preview toolbar and move transparency and compatibility notices into the collapsed General settings. Sidebar layout choices remain expanded by default.
|
|
17
|
+
- Hide the Simple card scrollbar and its arrow buttons while preserving wheel, touch and keyboard scrolling.
|
|
18
|
+
|
|
19
|
+
Fully quit and restart DSH after updating.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# v1.9.21
|
|
2
|
-
|
|
3
|
-
## 中文
|
|
4
|
-
|
|
5
|
-
- 修复侧栏合并卡片、简洁卡片和模型费用等组件未跟随透明度设置的问题。开启“跟随皮肤透明度”后,侧栏卡片不再叠加独立底色,关闭后恢复原样。
|
|
6
|
-
- 覆盖标准、紧凑、简洁和合并四种布局,以及今日与余额同行、余额进度条和套餐卡片;弹窗继续保留至少 90% 不透明度。
|
|
7
|
-
|
|
8
|
-
在“费用 → 显示 → 通用设置”开启“跟随皮肤透明度”。更新后完全退出并重启 DSH。
|
|
9
|
-
|
|
10
|
-
## English
|
|
11
|
-
|
|
12
|
-
- Fix sidebar cards that kept a solid background with Follow skin transparency enabled, including Combined, Simple and model-cost cards. Disabling the option restores the original surfaces.
|
|
13
|
-
- Cover all four sidebar layouts, inline today/balance rows, balance progress and plan cards. Floating dialogs retain at least 90% opacity.
|
|
14
|
-
|
|
15
|
-
Enable Follow skin transparency in Cost → Display → General. Fully quit and restart DSH after updating.
|
|
1
|
+
# v1.9.21
|
|
2
|
+
|
|
3
|
+
## 中文
|
|
4
|
+
|
|
5
|
+
- 修复侧栏合并卡片、简洁卡片和模型费用等组件未跟随透明度设置的问题。开启“跟随皮肤透明度”后,侧栏卡片不再叠加独立底色,关闭后恢复原样。
|
|
6
|
+
- 覆盖标准、紧凑、简洁和合并四种布局,以及今日与余额同行、余额进度条和套餐卡片;弹窗继续保留至少 90% 不透明度。
|
|
7
|
+
|
|
8
|
+
在“费用 → 显示 → 通用设置”开启“跟随皮肤透明度”。更新后完全退出并重启 DSH。
|
|
9
|
+
|
|
10
|
+
## English
|
|
11
|
+
|
|
12
|
+
- Fix sidebar cards that kept a solid background with Follow skin transparency enabled, including Combined, Simple and model-cost cards. Disabling the option restores the original surfaces.
|
|
13
|
+
- Cover all four sidebar layouts, inline today/balance rows, balance progress and plan cards. Floating dialogs retain at least 90% opacity.
|
|
14
|
+
|
|
15
|
+
Enable Follow skin transparency in Cost → Display → General. Fully quit and restart DSH after updating.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# v1.9.23
|
|
2
|
+
|
|
3
|
+
## 中文
|
|
4
|
+
|
|
5
|
+
- **团队费用显示在主代理窗口。** 启用智能体团队后,主代理的会话费用和明细自动包含团队成员及其子代理的费用、Token 与调用数,仍可查看每个代理的记录。各代理继续分别入账,汇总不会重复增加每日费用,普通分叉会话不计入团队。
|
|
6
|
+
- **价格列表移除已删除的渠道和模型。** 当前价格配置按 DSH 的供应商、模型目录显示,已删除的项目不再留在待定价列表。历史费用、保存的价格和统计设置保留;恢复渠道后,可继续使用已有设置。目录查询失败时不会把现有模型全部隐藏。
|
|
7
|
+
- **上下文洞察联动跟随显示币种。** 切换 USD、CNY 或 EUR 后,联动标题和金额即时更新。当前上下文的非缓存参考价使用当前显示汇率换算,实际账单沿用既有记录;参考价说明继续显示。
|
|
8
|
+
|
|
9
|
+
更新后完全退出并重启 DSH。团队汇总自动生效;普通子代理的汇总仍可通过现有设置控制。
|
|
10
|
+
|
|
11
|
+
感谢 [@Theicecold](https://github.com/Theicecold) 在 [issue #367](https://github.com/Han-1413141/dsh-cost-meter/issues/367) 提供币种不一致的问题报告和统一显示建议。
|
|
12
|
+
|
|
13
|
+
## English
|
|
14
|
+
|
|
15
|
+
- **Show team costs in the lead's window.** Session costs and details automatically include team members and their subagents, with per-agent records available. Agents retain separate ledger entries, so daily spending is not counted twice. Ordinary conversation forks stay separate.
|
|
16
|
+
- **Remove deleted routes and models from the pricing list.** Filter active pricing configuration against DSH's provider/model directory while retaining historical costs, saved prices and statistics preferences. Restored routes can reuse their settings. Unavailable directory metadata does not hide all existing models.
|
|
17
|
+
- **Follow display currency in the dsh-context integration.** Switching USD, CNY or EUR updates both labels and amounts immediately. The uncached current-context reference uses the current display exchange rate; recorded actual bills retain their existing amounts. Keep the reference-price explanation visible.
|
|
18
|
+
|
|
19
|
+
Fully quit and restart DSH after updating. Team aggregation is automatic; the existing option still controls ordinary subagent aggregation.
|
|
20
|
+
|
|
21
|
+
Thanks to [@Theicecold](https://github.com/Theicecold) for reporting the currency inconsistency and suggesting consistent display in [issue #367](https://github.com/Han-1413141/dsh-cost-meter/issues/367).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# v1.9.24
|
|
2
|
+
|
|
3
|
+
## 中文
|
|
4
|
+
|
|
5
|
+
- **支持 dsh-connect-workbuddy 积分。** 在“费用 → 额度”启用 WorkBuddy 后,可以读取 `dsh-connect-workbuddy` 国内版、国际版当前已选账号的剩余积分与最近到期时间。继续兼容原 `dsh-workbuddy-connect`,已有用户无需改配置。
|
|
6
|
+
- **兼容不同登录状态。** 原连接插件没有可用积分时,继续尝试新插件。新插件国内版未登录或已关闭时,查询国际版;显示单个已选账号的积分,不累加账号池。零积分正常显示,登录拒绝、账号选择失效和查询失败显示对应提示。
|
|
7
|
+
- **国际渠道计入套餐。** `workbuddy-global` 与 `workbuddy-ai` 都沿用 WorkBuddy 的 Plan/API 设置。升级启动时修正历史 API 分类,保留原金额、各币种记录、历史价格、Token 与调用数,模型级覆盖仍优先。
|
|
8
|
+
|
|
9
|
+
凭据解密与登录续期由连接插件处理。费用插件只读取当前 DSH 的本地状态接口,不复制令牌,也不调用模型探测、签到、账号刷新或账号导出接口。更新后完全退出并重启 DSH,再刷新 WorkBuddy 积分。
|
|
10
|
+
|
|
11
|
+
接口参考:[dingminhua/dsh-connect-workbuddy 4.13.1](https://github.com/dingminhua/dsh-connect-workbuddy/tree/2c1626b8dc46e16561924b76ac6cd86b4272e45d),以已发布版本的实际 usage 路由验证国内、国际、零积分、到期时间和失败响应;验证使用合成账号与积分,不连接真实账号。
|
|
12
|
+
|
|
13
|
+
## English
|
|
14
|
+
|
|
15
|
+
- **Read credits from dsh-connect-workbuddy.** Enable WorkBuddy under Cost → Quota to read the selected CN/global account's remaining credits and nearest expiry. Existing dsh-workbuddy-connect support and configuration remain available.
|
|
16
|
+
- **Handle account states.** If the original connector has no usable credits, try the new connector. Fall back to its global region when CN is signed out or disabled. Display one selected account rather than summing its pool; preserve zero balances and report credential, selection and billing failures.
|
|
17
|
+
- **Recognize its international Plan route.** Both workbuddy-global and workbuddy-ai follow WorkBuddy Plan/API settings. Correct historical API attribution at startup while preserving recorded amounts, currencies, prices, tokens and calls. Model overrides retain priority.
|
|
18
|
+
|
|
19
|
+
The connector handles credential decryption and renewal. The cost plugin reads local DSH status routes without copying tokens or invoking model probes, check-ins, account refresh or export. Fully quit and restart DSH after updating, then refresh WorkBuddy credits.
|
|
20
|
+
|
|
21
|
+
Protocol reference: [dingminhua/dsh-connect-workbuddy 4.13.1](https://github.com/dingminhua/dsh-connect-workbuddy/tree/2c1626b8dc46e16561924b76ac6cd86b4272e45d). Verification executes the published usage route with synthetic accounts and credits, covering CN/global, zero, expiry and failures; no real account is contacted.
|