dsh-cost-meter 1.9.49 → 1.9.50

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/package.json CHANGED
@@ -1,257 +1,257 @@
1
- {
2
- "name": "dsh-cost-meter",
3
- "version": "1.9.49",
4
- "description": "DeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(16 家,含 WorkBuddy 官方积分、OpenDesign 工作区查询、含小米 MiMo Token Plan 控制台 Cookie 查询、SCNet Token Plan 本地 Credits 计量与火山方舟 Volcano Ark Coding Plan AK/SK 签名查询)、自定义 Provider 余额查询(可配任意 HTTP 端点)与余额进度条、峰谷计价时段显示与切换前弹窗/系统通知提醒(位置/提前量/类型可配),界面中英双语。Session cost tracking plugin for DeepSeek Harness: per-conversation cost, daily totals, history and official price sync, with multi-vendor model pricing (built-in 170+ model-ID catalog with auto-matching), Coding Plan quota queries & display for 16 vendors (incl. WorkBuddy official credits, OpenDesign workspace queries, Xiaomi MiMo Token Plan via console cookie, local credits metering for the SCNet Token Plan and Volcano Ark Coding Plan via AK/SK signature), plan/API dual-track billing with per-1% & full-window Token Plan usage estimates, custom provider balance lookup (configurable HTTP endpoint) and balance progress bar, plus peak/off-peak pricing display with pre-switch popup & system-notification alerts (position / lead time / type configurable), in a bilingual (Chinese/English) UI.",
5
- "type": "module",
6
- "main": "lib/bootstrap.js",
7
- "bin": {
8
- "dsh-cost-meter": "./lib/billing-storage-cli.js",
9
- "dsh-cost-meter-repair-sessions": "./lib/repair-sessions-cli.js"
10
- },
11
- "exports": {
12
- ".": {
13
- "default": "./lib/bootstrap.js"
14
- },
15
- "./client": {
16
- "default": "./lib/client.js"
17
- },
18
- "./typert": {
19
- "default": "./lib/typert.host.js"
20
- },
21
- "./package.json": "./package.json",
22
- "./locale/*.json": "./locale/*.json"
23
- },
24
- "dsh": {
25
- "bundle": {
26
- "patch": "./cordis.patch.yml"
27
- },
28
- "client": {
29
- "platform": "web"
30
- },
31
- "compatibility": {
32
- "dsh": ">=0.2.0-rc.1 <0.3.0-0",
33
- "dshReleases": {
34
- "0.2.0-rc.1": "compatible",
35
- "0.2.0-rc.2": "compatible",
36
- "0.2.1-alpha.5": "compatible",
37
- "0.2.1-rc.1": "compatible",
38
- "0.2.1-rc.2": "compatible"
39
- }
40
- }
41
- },
42
- "dshhub": {
43
- "schemaVersion": 1,
44
- "displayName": "dsh-cost-meter",
45
- "summary": "DeepSeek Harness 会话费用统计:本会话费用、预算图框、官方余额、自定义 Provider 余额查询、Coding Plan 额度查询、历史记录,支持峰谷计价(切换前弹窗与系统通知提醒)与官方价格一键同步。",
46
- "categories": [
47
- "费用",
48
- "Web UI",
49
- "观测"
50
- ],
51
- "surfaces": [
52
- "host",
53
- "web"
54
- ],
55
- "capabilities": {
56
- "provides": [
57
- "service:cost-meter"
58
- ]
59
- },
60
- "compatibility": {
61
- "dsh": ">=0.2.0-rc.1 <0.3.0-0",
62
- "node": ">=20"
63
- },
64
- "permissions": {
65
- "network": [
66
- "https://chatgpt.com",
67
- "https://api.deepseek.com",
68
- "https://api-docs.deepseek.com",
69
- "https://open.volcengineapi.com",
70
- "https://ark.cn-beijing.volces.com",
71
- "https://opencode.ai",
72
- "https://api.anthropic.com",
73
- "https://api.z.ai",
74
- "https://open.bigmodel.cn",
75
- "https://www.minimaxi.com",
76
- "https://www.minimax.cn",
77
- "https://www.minimax.io",
78
- "https://api.kimi.com",
79
- "https://api.moonshot.cn",
80
- "https://openrouter.ai",
81
- "https://api.siliconflow.cn",
82
- "https://api.commandcode.ai",
83
- "https://api.cline.bot",
84
- "https://api.factory.ai",
85
- "https://ax.ac.sugon.com",
86
- "https://platform.qianwenai.com",
87
- "https://platform-home.qianwenai.com",
88
- "https://business.aliyuncs.com",
89
- "https://tokenrhythm.studio",
90
- "https://platform.xiaomimimo.com",
91
- "https://console.bce.baidu.com",
92
- "https://www.codebuddy.cn",
93
- "https://www.workbuddy.ai",
94
- "https://amr-api.open-design.ai",
95
- "https://api.frankfurter.dev"
96
- ]
97
- }
98
- },
99
- "files": [
100
- "docs/web-request-fees.md",
101
- "locale",
102
- "lib",
103
- "cordis.patch.yml",
104
- "docs/provider-pricing.json",
105
- "docs/subscription-catalog.json",
106
- "docs/catalog-2026-10-28.md",
107
- "docs/billing-statistics.md",
108
- "docs/billion-context-billing.md",
109
- "docs/opendesign-billing.md",
110
- "docs/custom-balance-sources.md",
111
- "docs/performance-2026-10-18.md",
112
- "docs/performance-2026-10-18.json",
113
- "docs/update-notes-2026-10-15.md",
114
- "docs/ledger-lock-recovery.md",
115
- "docs/external-usage.md",
116
- "docs/qwen-cli-quota.md",
117
- "docs/factory-quota.md",
118
- "docs/baidu-token-plan.md",
119
- "docs/session-sidebar-recovery.md",
120
- "docs/provider-pricing-2026-10.md",
121
- "docs/openrouter-prices.md",
122
- "docs/context-costs-design.md",
123
- "docs/context-costs-preview.png",
124
- "docs/cost-share-overview.png",
125
- "docs/call-detail-preview.png",
126
- "docs/step-billing-preview.png",
127
- "docs/maintenance-review-2026-10-10.md",
128
- "THIRD_PARTY_NOTICES.md",
129
- "docs/display-settings.md",
130
- "docs/update-notes-1.8.28.md",
131
- "docs/update-notes-1.8.29.md",
132
- "docs/context-stream-diagnostics.md",
133
- "docs/exchange-rates.md",
134
- "docs/update-notes-1.8.30.md",
135
- "docs/idle-performance.md",
136
- "docs/pricing-history-storage.md",
137
- "docs/custom-model-prices.md",
138
- "docs/update-notes-1.8.31.md",
139
- "docs/update-notes-1.8.32.md",
140
- "docs/update-notes-1.8.33.md",
141
- "docs/update-notes-1.8.34.md",
142
- "docs/update-notes-1.8.35.md",
143
- "docs/update-notes-1.8.36.md",
144
- "docs/update-notes-1.9.0.md",
145
- "docs/update-notes-1.9.1.md",
146
- "docs/update-notes-1.9.2.md",
147
- "docs/better-session.md",
148
- "docs/model-history-repricing.md",
149
- "docs/tokenrhythm-balance.md",
150
- "docs/dsh-0.2.1-compatibility.md",
151
- "docs/pnpm-supply-chain-policy.md",
152
- "docs/update-notes-1.9.3.md",
153
- "docs/update-notes-1.9.4.md",
154
- "docs/update-notes-1.9.5.md",
155
- "docs/update-notes-1.9.6.md",
156
- "docs/update-notes-1.9.7.md",
157
- "docs/update-notes-1.9.8.md",
158
- "docs/update-notes-1.9.9.md",
159
- "docs/plugin-compatibility-watch.md",
160
- "docs/update-notes-1.9.10.md",
161
- "docs/update-notes-1.9.11.md",
162
- "docs/update-notes-1.9.12.md",
163
- "docs/update-notes-1.9.13.md",
164
- "docs/update-notes-1.9.14.md",
165
- "docs/update-notes-1.9.15.md",
166
- "docs/update-notes-1.9.16.md",
167
- "docs/update-notes-1.9.17.md",
168
- "docs/update-notes-1.9.18.md",
169
- "docs/update-notes-1.9.19.md",
170
- "docs/update-notes-1.9.20.md",
171
- "docs/update-notes-1.9.21.md",
172
- "docs/update-notes-1.9.22.md",
173
- "docs/update-notes-1.9.23.md",
174
- "docs/update-notes-1.9.24.md",
175
- "docs/update-notes-1.9.25.md",
176
- "docs/update-notes-1.9.26.md",
177
- "docs/update-notes-1.9.27.md",
178
- "docs/update-notes-1.9.28.md",
179
- "docs/update-notes-1.9.29.md",
180
- "docs/update-notes-1.9.30.md",
181
- "docs/settings-pages.md",
182
- "docs/update-notes-1.9.31.md",
183
- "docs/update-notes-1.9.32.md",
184
- "docs/update-notes-1.9.33.md",
185
- "docs/billing-storage.md",
186
- "docs/update-notes-1.9.34.md",
187
- "docs/update-notes-1.9.35.md",
188
- "docs/update-notes-1.9.36.md",
189
- "docs/update-notes-1.9.37.md",
190
- "docs/update-notes-1.9.38.md",
191
- "docs/update-notes-1.9.39.md",
192
- "docs/update-notes-1.9.40.md",
193
- "docs/update-notes-1.9.41.md",
194
- "docs/update-notes-1.9.42.md",
195
- "docs/update-notes-1.9.43.md",
196
- "docs/update-notes-1.9.44.md",
197
- "docs/update-notes-1.9.45.md",
198
- "docs/update-notes-1.9.46.md",
199
- "docs/update-notes-1.9.47.md",
200
- "docs/update-notes-1.9.48.md",
201
- "docs/provider-peak-schedules.md",
202
- "docs/billion-context-peer-discovery.md",
203
- "docs/official-price-sync-safety.md",
204
- "docs/update-notes-1.9.49.md",
205
- "docs/billing-review-2026-11-02.md",
206
- "docs/billing-currency.md",
207
- "docs/native-search-billing.md"
208
- ],
209
- "dependencies": {
210
- "acorn": "8.15.0",
211
- "zod": "4.6.6"
212
- },
213
- "peerDependencies": {
214
- "@deepseek-ai/dsh-credentials": ">=0.2.0-rc.1 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
215
- "@deepseek-ai/dsh-home-paths": ">=0.2.0-rc.1 <0.3.0-0 || >=0.2.1-0 <0.3.0-0"
216
- },
217
- "repository": {
218
- "type": "git",
219
- "url": "git+https://github.com/Han-1413141/dsh-cost-meter.git"
220
- },
221
- "homepage": "https://github.com/Han-1413141/dsh-cost-meter#readme",
222
- "keywords": [
223
- "deepseek",
224
- "deepseek-harness",
225
- "dsh",
226
- "dsh-plugin",
227
- "client-plugin",
228
- "cost",
229
- "usage",
230
- "billing",
231
- "budget",
232
- "i18n",
233
- "bilingual",
234
- "zh",
235
- "en",
236
- "language"
237
- ],
238
- "license": "MIT",
239
- "engines": {
240
- "node": ">=20",
241
- "dsh": ">=0.2.0-rc.1 <0.3.0-0"
242
- },
243
- "os": [
244
- "darwin",
245
- "linux",
246
- "win32"
247
- ],
248
- "scripts": {
249
- "build": "node scripts/build.mjs",
250
- "test": "node test/verify.mjs"
251
- },
252
- "devDependencies": {
253
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.4",
254
- "@deepseek-ai/dsh-home-paths": "0.2.1-rc.4",
255
- "esbuild": "^0.28.2"
256
- }
257
- }
1
+ {
2
+ "name": "dsh-cost-meter",
3
+ "version": "1.9.50",
4
+ "description": "DeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(16 家,含 WorkBuddy 官方积分、OpenDesign 工作区查询、含小米 MiMo Token Plan 控制台 Cookie 查询、SCNet Token Plan 本地 Credits 计量与火山方舟 Volcano Ark Coding Plan AK/SK 签名查询)、自定义 Provider 余额查询(可配任意 HTTP 端点)与余额进度条、峰谷计价时段显示与切换前弹窗/系统通知提醒(位置/提前量/类型可配),界面中英双语。Session cost tracking plugin for DeepSeek Harness: per-conversation cost, daily totals, history and official price sync, with multi-vendor model pricing (built-in 170+ model-ID catalog with auto-matching), Coding Plan quota queries & display for 16 vendors (incl. WorkBuddy official credits, OpenDesign workspace queries, Xiaomi MiMo Token Plan via console cookie, local credits metering for the SCNet Token Plan and Volcano Ark Coding Plan via AK/SK signature), plan/API dual-track billing with per-1% & full-window Token Plan usage estimates, custom provider balance lookup (configurable HTTP endpoint) and balance progress bar, plus peak/off-peak pricing display with pre-switch popup & system-notification alerts (position / lead time / type configurable), in a bilingual (Chinese/English) UI.",
5
+ "type": "module",
6
+ "main": "lib/bootstrap.js",
7
+ "bin": {
8
+ "dsh-cost-meter": "./lib/billing-storage-cli.js",
9
+ "dsh-cost-meter-repair-sessions": "./lib/repair-sessions-cli.js"
10
+ },
11
+ "exports": {
12
+ ".": {
13
+ "default": "./lib/bootstrap.js"
14
+ },
15
+ "./client": {
16
+ "default": "./lib/client.js"
17
+ },
18
+ "./typert": {
19
+ "default": "./lib/typert.host.js"
20
+ },
21
+ "./package.json": "./package.json",
22
+ "./locale/*.json": "./locale/*.json"
23
+ },
24
+ "dsh": {
25
+ "bundle": {
26
+ "patch": "./cordis.patch.yml"
27
+ },
28
+ "client": {
29
+ "platform": "web"
30
+ },
31
+ "compatibility": {
32
+ "dsh": ">=0.2.0-rc.1 <0.3.0-0",
33
+ "dshReleases": {
34
+ "0.2.0-rc.1": "compatible",
35
+ "0.2.0-rc.2": "compatible",
36
+ "0.2.1-alpha.5": "compatible",
37
+ "0.2.1-rc.1": "compatible",
38
+ "0.2.1-rc.2": "compatible"
39
+ }
40
+ }
41
+ },
42
+ "dshhub": {
43
+ "schemaVersion": 1,
44
+ "displayName": "dsh-cost-meter",
45
+ "summary": "DeepSeek Harness 会话费用统计:本会话费用、预算图框、官方余额、自定义 Provider 余额查询、Coding Plan 额度查询、历史记录,支持峰谷计价(切换前弹窗与系统通知提醒)与官方价格一键同步。",
46
+ "categories": [
47
+ "费用",
48
+ "Web UI",
49
+ "观测"
50
+ ],
51
+ "surfaces": [
52
+ "host",
53
+ "web"
54
+ ],
55
+ "capabilities": {
56
+ "provides": [
57
+ "service:cost-meter"
58
+ ]
59
+ },
60
+ "compatibility": {
61
+ "dsh": ">=0.2.0-rc.1 <0.3.0-0",
62
+ "node": ">=20"
63
+ },
64
+ "permissions": {
65
+ "network": [
66
+ "https://chatgpt.com",
67
+ "https://api.deepseek.com",
68
+ "https://api-docs.deepseek.com",
69
+ "https://open.volcengineapi.com",
70
+ "https://ark.cn-beijing.volces.com",
71
+ "https://opencode.ai",
72
+ "https://api.anthropic.com",
73
+ "https://api.z.ai",
74
+ "https://open.bigmodel.cn",
75
+ "https://www.minimaxi.com",
76
+ "https://www.minimax.cn",
77
+ "https://www.minimax.io",
78
+ "https://api.kimi.com",
79
+ "https://api.moonshot.cn",
80
+ "https://openrouter.ai",
81
+ "https://api.siliconflow.cn",
82
+ "https://api.commandcode.ai",
83
+ "https://api.cline.bot",
84
+ "https://api.factory.ai",
85
+ "https://ax.ac.sugon.com",
86
+ "https://platform.qianwenai.com",
87
+ "https://platform-home.qianwenai.com",
88
+ "https://business.aliyuncs.com",
89
+ "https://tokenrhythm.studio",
90
+ "https://platform.xiaomimimo.com",
91
+ "https://console.bce.baidu.com",
92
+ "https://www.codebuddy.cn",
93
+ "https://www.workbuddy.ai",
94
+ "https://amr-api.open-design.ai",
95
+ "https://api.frankfurter.dev"
96
+ ]
97
+ }
98
+ },
99
+ "files": [
100
+ "docs/web-request-fees.md",
101
+ "locale",
102
+ "lib",
103
+ "cordis.patch.yml",
104
+ "docs/provider-pricing.json",
105
+ "docs/subscription-catalog.json",
106
+ "docs/catalog-2026-10-28.md",
107
+ "docs/billing-statistics.md",
108
+ "docs/billion-context-billing.md",
109
+ "docs/opendesign-billing.md",
110
+ "docs/custom-balance-sources.md",
111
+ "docs/performance-2026-10-18.md",
112
+ "docs/performance-2026-10-18.json",
113
+ "docs/update-notes-2026-10-15.md",
114
+ "docs/ledger-lock-recovery.md",
115
+ "docs/external-usage.md",
116
+ "docs/qwen-cli-quota.md",
117
+ "docs/factory-quota.md",
118
+ "docs/baidu-token-plan.md",
119
+ "docs/session-sidebar-recovery.md",
120
+ "docs/provider-pricing-2026-10.md",
121
+ "docs/openrouter-prices.md",
122
+ "docs/context-costs-design.md",
123
+ "docs/context-costs-preview.png",
124
+ "docs/cost-share-overview.png",
125
+ "docs/call-detail-preview.png",
126
+ "docs/step-billing-preview.png",
127
+ "docs/maintenance-review-2026-10-10.md",
128
+ "THIRD_PARTY_NOTICES.md",
129
+ "docs/display-settings.md",
130
+ "docs/update-notes-1.8.28.md",
131
+ "docs/update-notes-1.8.29.md",
132
+ "docs/context-stream-diagnostics.md",
133
+ "docs/exchange-rates.md",
134
+ "docs/update-notes-1.8.30.md",
135
+ "docs/idle-performance.md",
136
+ "docs/pricing-history-storage.md",
137
+ "docs/custom-model-prices.md",
138
+ "docs/update-notes-1.8.31.md",
139
+ "docs/update-notes-1.8.32.md",
140
+ "docs/update-notes-1.8.33.md",
141
+ "docs/update-notes-1.8.34.md",
142
+ "docs/update-notes-1.8.35.md",
143
+ "docs/update-notes-1.8.36.md",
144
+ "docs/update-notes-1.9.0.md",
145
+ "docs/update-notes-1.9.1.md",
146
+ "docs/update-notes-1.9.2.md",
147
+ "docs/better-session.md",
148
+ "docs/model-history-repricing.md",
149
+ "docs/tokenrhythm-balance.md",
150
+ "docs/dsh-0.2.1-compatibility.md",
151
+ "docs/pnpm-supply-chain-policy.md",
152
+ "docs/update-notes-1.9.3.md",
153
+ "docs/update-notes-1.9.4.md",
154
+ "docs/update-notes-1.9.5.md",
155
+ "docs/update-notes-1.9.6.md",
156
+ "docs/update-notes-1.9.7.md",
157
+ "docs/update-notes-1.9.8.md",
158
+ "docs/update-notes-1.9.9.md",
159
+ "docs/plugin-compatibility-watch.md",
160
+ "docs/update-notes-1.9.10.md",
161
+ "docs/update-notes-1.9.11.md",
162
+ "docs/update-notes-1.9.12.md",
163
+ "docs/update-notes-1.9.13.md",
164
+ "docs/update-notes-1.9.14.md",
165
+ "docs/update-notes-1.9.15.md",
166
+ "docs/update-notes-1.9.16.md",
167
+ "docs/update-notes-1.9.17.md",
168
+ "docs/update-notes-1.9.18.md",
169
+ "docs/update-notes-1.9.19.md",
170
+ "docs/update-notes-1.9.20.md",
171
+ "docs/update-notes-1.9.21.md",
172
+ "docs/update-notes-1.9.22.md",
173
+ "docs/update-notes-1.9.23.md",
174
+ "docs/update-notes-1.9.24.md",
175
+ "docs/update-notes-1.9.25.md",
176
+ "docs/update-notes-1.9.26.md",
177
+ "docs/update-notes-1.9.27.md",
178
+ "docs/update-notes-1.9.28.md",
179
+ "docs/update-notes-1.9.29.md",
180
+ "docs/update-notes-1.9.30.md",
181
+ "docs/settings-pages.md",
182
+ "docs/update-notes-1.9.31.md",
183
+ "docs/update-notes-1.9.32.md",
184
+ "docs/update-notes-1.9.33.md",
185
+ "docs/billing-storage.md",
186
+ "docs/update-notes-1.9.34.md",
187
+ "docs/update-notes-1.9.35.md",
188
+ "docs/update-notes-1.9.36.md",
189
+ "docs/update-notes-1.9.37.md",
190
+ "docs/update-notes-1.9.38.md",
191
+ "docs/update-notes-1.9.39.md",
192
+ "docs/update-notes-1.9.40.md",
193
+ "docs/update-notes-1.9.41.md",
194
+ "docs/update-notes-1.9.42.md",
195
+ "docs/update-notes-1.9.43.md",
196
+ "docs/update-notes-1.9.44.md",
197
+ "docs/update-notes-1.9.45.md",
198
+ "docs/update-notes-1.9.46.md",
199
+ "docs/update-notes-1.9.47.md",
200
+ "docs/update-notes-1.9.48.md",
201
+ "docs/provider-peak-schedules.md",
202
+ "docs/billion-context-peer-discovery.md",
203
+ "docs/official-price-sync-safety.md",
204
+ "docs/update-notes-1.9.50.md",
205
+ "docs/billing-review-2026-11-02.md",
206
+ "docs/billing-currency.md",
207
+ "docs/native-search-billing.md"
208
+ ],
209
+ "dependencies": {
210
+ "acorn": "8.15.0",
211
+ "zod": "4.6.6"
212
+ },
213
+ "peerDependencies": {
214
+ "@deepseek-ai/dsh-credentials": ">=0.2.0-rc.1 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
215
+ "@deepseek-ai/dsh-home-paths": ">=0.2.0-rc.1 <0.3.0-0 || >=0.2.1-0 <0.3.0-0"
216
+ },
217
+ "repository": {
218
+ "type": "git",
219
+ "url": "git+https://github.com/Han-1413141/dsh-cost-meter.git"
220
+ },
221
+ "homepage": "https://github.com/Han-1413141/dsh-cost-meter#readme",
222
+ "keywords": [
223
+ "deepseek",
224
+ "deepseek-harness",
225
+ "dsh",
226
+ "dsh-plugin",
227
+ "client-plugin",
228
+ "cost",
229
+ "usage",
230
+ "billing",
231
+ "budget",
232
+ "i18n",
233
+ "bilingual",
234
+ "zh",
235
+ "en",
236
+ "language"
237
+ ],
238
+ "license": "MIT",
239
+ "engines": {
240
+ "node": ">=20",
241
+ "dsh": ">=0.2.0-rc.1 <0.3.0-0"
242
+ },
243
+ "os": [
244
+ "darwin",
245
+ "linux",
246
+ "win32"
247
+ ],
248
+ "scripts": {
249
+ "build": "node scripts/build.mjs",
250
+ "test": "node test/verify.mjs"
251
+ },
252
+ "devDependencies": {
253
+ "@deepseek-ai/dsh-credentials": "0.2.1-rc.4",
254
+ "@deepseek-ai/dsh-home-paths": "0.2.1-rc.4",
255
+ "esbuild": "^0.28.2"
256
+ }
257
+ }
@@ -1,30 +0,0 @@
1
- # v1.9.49:套餐圆环、搜索计费与费用核对
2
-
3
- ## 中文
4
-
5
- - 套餐侧栏新增可选的开口圆环,将多个额度窗口并排显示,保留已用/剩余方向、重置时间提示、刷新和纯文本模式。感谢 [@Eancen](https://github.com/Eancen) 在 [#455](https://github.com/Han-1413141/dsh-cost-meter/issues/455) 提出布局需求并提供浅色、深色参考图。
6
- - 修复后加载的网络插件替换 `fetch` 后,原生搜索响应无法被观察的问题;嵌套包装共享请求状态,避免重复计费。感谢 [@loxxa-carry](https://github.com/loxxa-carry) 在 [#456](https://github.com/Han-1413141/dsh-cost-meter/issues/456) 提供宿主版本、诊断计数和手动补记建议。
7
- - 新增 `record-search` 命令,预览或补记已确认漏记的成功搜索请求费;同一记录 ID 重试不会重复入账,保留手动来源与历史回放。不估算缺失的模型 Token。
8
- - 费用概览新增“计费核对”,显示实际生效的 DeepSeek 价表币种、显示币种及套餐费用口径,并提供价格同步入口。今日费用提示改为“按当前价表计算”。
9
-
10
- ### 使用方式
11
-
12
- 1. **圆环**:设置 → 费用 → 显示 → 侧栏 → 调整组件 → 套餐进度条,将“套餐额度样式”改为“开口圆环”。默认仍是横向进度条;“隐藏进度条,仅显示紧凑文本”优先生效。
13
- 2. **核对人民币费用**:设置 → 费用 → 概览 → 计费核对 → 查看并同步官方价表。人民币账户选择 CNY 官方价格,等待保存后执行同步;仅修改显示币种或选择同步币种不会更换正在使用的价表。
14
- 3. **搜索漏记**:升级并完全重启 DSH,之后的成功搜索会重新观察。若确认旧记录漏记了成功请求,可按[搜索计费说明](web-request-fees.md#手动补记已确认的漏记请求)先预览,再追加 `--apply`。覆盖缺口计数本身不能当作成功次数。
15
-
16
- ### 费用偏高检查
17
-
18
- 已复现币种差异:Flash 谷价每百万输出 Token 为 $0.60 或 ¥4;美元价乘以 7.2 得到 ¥4.32。两套官方报价不能靠切换显示币种互相替代。新增提示使用实际价表单位,尚未同步时会明确显示。
19
-
20
- 同时检查缓存和推理 Token、累积用量、包装路由、峰谷时段、套餐/API 分类、倍率、历史汇率、并发入账和搜索请求费。检查范围、复现数据和测试入口见[计费检查记录](billing-review-2026-11-02.md)。群内截图没有厂商、模型、渠道或对照金额,不能将上述币种差异认定为该次反馈的确定原因。
21
-
22
- ## English
23
-
24
- Coding Plan cards now offer open-ring gauges through **Settings → Cost → Display → Sidebar → Plan quota style**. Bars remain the default; compact text takes precedence. Refresh, reset-time tooltips and used/remaining directions are retained.
25
-
26
- Native-search observation now reconnects when a later plugin replaces global `fetch`, without replacing the transport or counting nested observers twice. The `record-search` CLI supports explicit, idempotent corrections of confirmed missing successful request fees. It previews by default and requires `--apply` to write; model-token gaps remain visible.
27
-
28
- The overview's billing check identifies the active DeepSeek price currency, display currency and subscription-equivalent basis. It links to official price synchronization without changing rates or recalculating history on its own. USD rates converted to CNY can differ from official CNY prices; for example $0.60 × 7.2 = ¥4.32 versus the published ¥4 Flash off-peak output rate.
29
-
30
- Thanks to @Eancen for the layout request and references in #455, and @loxxa-carry for the runtime diagnostics and correction-workflow suggestion in #456.