dsh-cost-meter 1.9.21 → 1.9.22

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/lib/index.js CHANGED
@@ -3494,6 +3494,12 @@ export async function runStartupImports(ledger, sessionsRoot, sessionSource = nu
3494
3494
  ledger.migrations.push('scnet-provider-split-v1')
3495
3495
  ledger.scheduleWrite()
3496
3496
  }
3497
+ // #364: reclassify international WorkBuddy history without repricing calls.
3498
+ if (!ledger.migrations.includes('workbuddy-ai-provider-split-v1')) {
3499
+ splitLedgerApiCost(ledger)
3500
+ ledger.migrations.push('workbuddy-ai-provider-split-v1')
3501
+ ledger.scheduleWrite()
3502
+ }
3497
3503
  if (ledger.migrations.includes(SEPTEMBER_PRICE_PENDING)) {
3498
3504
  const options = { mode: ledger.config.priceMatch, overrides: ledger.config.priceOverrides }
3499
3505
  const boundaries = new Set([FLASH_PRICE_EFFECTIVE_AT])
@@ -42,7 +42,7 @@ export const PLAN_PROVIDER_ALIASES = {
42
42
  kimi: ['kimi', 'kimi-code'],
43
43
  commandcode: ['commandcode', 'command-code'],
44
44
  clinepass: ['clinepass', 'cline-pass'],
45
- workbuddy: ['workbuddy', 'workbuddy-subscription'],
45
+ workbuddy: ['workbuddy', 'workbuddy-subscription', 'workbuddy-ai'],
46
46
  antigravity: ['antigravity'],
47
47
  stepfun: ['stepfun', 'step-code'],
48
48
  'volcengine-agent': ['volcengine-agent', 'ark-agent-plan', 'volcengine-agent-plan'],
@@ -145,8 +145,8 @@ export function isRoutedThirdPartyCall(provider, modelId, prices) {
145
145
 
146
146
  /**
147
147
  * 计费分类:'plan'(订阅额度制)或 'api'(按量计费)。
148
- * 优先级:models['provider:model'] 显式覆盖 → providers[planId] 配置 → auto
149
- * (该家启用开关开着即 plan,否则 api)。deepseek 等非 Plan 渠道恒 api;
148
+ * 优先级:模型级覆盖 → 原始渠道配置 → Plan 家族配置 → auto
149
+ * (该家启用开关开着即 plan,否则 api)。未知渠道默认 api,可显式覆盖;
150
150
  * 但 provider 为空/'deepseek' 且模型属第三方目录的路由调用(v1.5.53 兑底
151
151
  * 修复引入的场景)按 'go' 归类继续判定——需传入 prices 才能识别。
152
152
  * @param provider - 请求渠道名(可能是别名)。
@@ -169,10 +169,13 @@ export function billingClassOf(provider, modelId, planBilling, enabledPlans, pri
169
169
  if (canonical === 'plan' || canonical === 'api') return canonical
170
170
  }
171
171
  }
172
- if (planId === null) return 'api'
173
172
  const providers = planBilling?.providers
174
- const configured = providers !== null && typeof providers === 'object' ? providers[planId] : undefined
175
- if (configured === 'plan' || configured === 'api') return configured
173
+ for (const id of [provider, planId]) {
174
+ if (id == null) continue
175
+ const configured = providers?.[id]
176
+ if (configured === 'plan' || configured === 'api') return configured
177
+ }
178
+ if (planId === null) return 'api'
176
179
  return enabledPlans instanceof Set && enabledPlans.has(planId) ? 'plan' : 'api'
177
180
  }
178
181
 
package/lib/store.js CHANGED
@@ -1467,7 +1467,7 @@ export function applyConfigPatch(current, rawPatch) {
1467
1467
  } else {
1468
1468
  if (!['cost', 'general', 'section'].includes(usage.position)) errors.push(vmsg(locale, 'usagePosition'))
1469
1469
  }
1470
- // Plan/API 双轨计费分类校验(issue #64):providers 只认已知 Plan 提供商,值三选一;
1470
+ // providers 接受 Plan 家族或自定义渠道名;显式分类不依赖额度查询支持。
1471
1471
  // models 键为 'provider:model',值 plan/api/auto(auto 视作未覆盖,直接剔除)。
1472
1472
  const planBilling = candidate.planBilling
1473
1473
  if (planBilling === null || typeof planBilling !== 'object' || Array.isArray(planBilling)) {
@@ -1478,7 +1478,7 @@ export function applyConfigPatch(current, rawPatch) {
1478
1478
  errors.push(vmsg(locale, 'planBillingProvider'))
1479
1479
  } else {
1480
1480
  for (const [id, value] of Object.entries(providersIn)) {
1481
- if (!PLAN_PROVIDER_IDS.includes(id) || !['auto', 'plan', 'api'].includes(value)) {
1481
+ if (!id.trim() || !['auto', 'plan', 'api'].includes(value)) {
1482
1482
  errors.push(vmsg(locale, 'planBillingProvider', { key: id }))
1483
1483
  }
1484
1484
  }
@@ -1867,12 +1867,17 @@ export function sanitizeConfig(raw) {
1867
1867
  }
1868
1868
  }
1869
1869
  out.codingPlans = plans
1870
- // planBilling(issue #64):providers 只保留已知 Plan 提供商与合法值;models 只保留显式 plan/api 覆盖。
1870
+ // 保留合法的渠道覆盖;已知 Plan 家族补齐默认值,models 只保留显式 plan/api。
1871
1871
  const pbProviders = {}
1872
1872
  for (const id of PLAN_PROVIDER_IDS) {
1873
1873
  const v = out.planBilling?.providers?.[id]
1874
1874
  pbProviders[id] = ['auto', 'plan', 'api'].includes(v) ? v : (DEFAULT_PLAN_PROVIDER_CLASS[id] ?? 'auto')
1875
1875
  }
1876
+ if (out.planBilling?.providers && typeof out.planBilling.providers === 'object' && !Array.isArray(out.planBilling.providers)) {
1877
+ for (const [id, value] of Object.entries(out.planBilling.providers)) {
1878
+ if (id.trim() && !['__proto__', 'constructor', 'prototype'].includes(id) && ['auto', 'plan', 'api'].includes(value)) pbProviders[id] = value
1879
+ }
1880
+ }
1876
1881
  const pbModels = {}
1877
1882
  if (out.planBilling?.models !== null && typeof out.planBilling?.models === 'object' && !Array.isArray(out.planBilling?.models)) {
1878
1883
  for (const [k, v] of Object.entries(out.planBilling.models)) {
package/package.json CHANGED
@@ -1,215 +1,216 @@
1
- {
2
- "name": "dsh-cost-meter",
3
- "version": "1.9.21",
4
- "description": "DeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(14 家,含 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 14 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-repair-sessions": "./lib/repair-sessions-cli.js"
9
- },
10
- "exports": {
11
- ".": {
12
- "default": "./lib/bootstrap.js"
13
- },
14
- "./client": {
15
- "default": "./lib/client.js"
16
- },
17
- "./typert": {
18
- "default": "./lib/typert.host.js"
19
- },
20
- "./package.json": "./package.json",
21
- "./locale/*.json": "./locale/*.json"
22
- },
23
- "dsh": {
24
- "bundle": {
25
- "patch": "./cordis.patch.yml"
26
- },
27
- "client": {
28
- "platform": "web"
29
- },
30
- "compatibility": {
31
- "dsh": ">=0.2.0-rc.1 <0.3.0-0",
32
- "dshReleases": {
33
- "0.2.0-rc.1": "compatible",
34
- "0.2.0-rc.2": "compatible",
35
- "0.2.1-alpha.5": "compatible",
36
- "0.2.1-rc.1": "compatible",
37
- "0.2.1-rc.2": "compatible"
38
- }
39
- }
40
- },
41
- "dshhub": {
42
- "schemaVersion": 1,
43
- "displayName": "dsh-cost-meter",
44
- "summary": "DeepSeek Harness 会话费用统计:本会话费用、预算图框、官方余额、自定义 Provider 余额查询、Coding Plan 额度查询、历史记录,支持峰谷计价(切换前弹窗与系统通知提醒)与官方价格一键同步。",
45
- "categories": [
46
- "费用",
47
- "Web UI",
48
- "观测"
49
- ],
50
- "surfaces": [
51
- "host",
52
- "web"
53
- ],
54
- "capabilities": {
55
- "provides": [
56
- "service:cost-meter"
57
- ]
58
- },
59
- "compatibility": {
60
- "dsh": ">=0.2.0-rc.1 <0.3.0-0",
61
- "node": ">=20"
62
- },
63
- "permissions": {
64
- "network": [
65
- "https://api.deepseek.com",
66
- "https://api-docs.deepseek.com",
67
- "https://open.volcengineapi.com",
68
- "https://ark.cn-beijing.volces.com",
69
- "https://opencode.ai",
70
- "https://api.anthropic.com",
71
- "https://api.z.ai",
72
- "https://open.bigmodel.cn",
73
- "https://www.minimaxi.com",
74
- "https://www.minimax.cn",
75
- "https://www.minimax.io",
76
- "https://api.kimi.com",
77
- "https://api.moonshot.cn",
78
- "https://openrouter.ai",
79
- "https://api.siliconflow.cn",
80
- "https://api.commandcode.ai",
81
- "https://api.cline.bot",
82
- "https://api.factory.ai",
83
- "https://ax.ac.sugon.com",
84
- "https://platform.qianwenai.com",
85
- "https://platform-home.qianwenai.com",
86
- "https://business.aliyuncs.com",
87
- "https://tokenrhythm.studio",
88
- "https://platform.xiaomimimo.com",
89
- "https://www.codebuddy.cn",
90
- "https://www.workbuddy.ai",
91
- "https://amr-api.open-design.ai",
92
- "https://api.frankfurter.dev"
93
- ]
94
- }
95
- },
96
- "files": [
97
- "docs/web-request-fees.md",
98
- "locale",
99
- "lib",
100
- "cordis.patch.yml",
101
- "docs/provider-pricing.json",
102
- "docs/billing-statistics.md",
103
- "docs/billion-context-billing.md",
104
- "docs/opendesign-billing.md",
105
- "docs/custom-balance-sources.md",
106
- "docs/performance-2026-10-18.md",
107
- "docs/performance-2026-10-18.json",
108
- "docs/update-notes-2026-10-15.md",
109
- "docs/ledger-lock-recovery.md",
110
- "docs/external-usage.md",
111
- "docs/qwen-cli-quota.md",
112
- "docs/factory-quota.md",
113
- "docs/session-sidebar-recovery.md",
114
- "docs/provider-pricing-2026-10.md",
115
- "docs/openrouter-prices.md",
116
- "docs/context-costs-design.md",
117
- "docs/context-costs-preview.png",
118
- "docs/cost-share-overview.png",
119
- "docs/call-detail-preview.png",
120
- "docs/step-billing-preview.png",
121
- "docs/maintenance-review-2026-10-10.md",
122
- "THIRD_PARTY_NOTICES.md",
123
- "docs/display-settings.md",
124
- "docs/update-notes-1.8.28.md",
125
- "docs/update-notes-1.8.29.md",
126
- "docs/context-stream-diagnostics.md",
127
- "docs/exchange-rates.md",
128
- "docs/update-notes-1.8.30.md",
129
- "docs/idle-performance.md",
130
- "docs/pricing-history-storage.md",
131
- "docs/custom-model-prices.md",
132
- "docs/update-notes-1.8.31.md",
133
- "docs/update-notes-1.8.32.md",
134
- "docs/update-notes-1.8.33.md",
135
- "docs/update-notes-1.8.34.md",
136
- "docs/update-notes-1.8.35.md",
137
- "docs/update-notes-1.8.36.md",
138
- "docs/update-notes-1.9.0.md",
139
- "docs/update-notes-1.9.1.md",
140
- "docs/update-notes-1.9.2.md",
141
- "docs/better-session.md",
142
- "docs/model-history-repricing.md",
143
- "docs/tokenrhythm-balance.md",
144
- "docs/dsh-0.2.1-compatibility.md",
145
- "docs/pnpm-supply-chain-policy.md",
146
- "docs/update-notes-1.9.3.md",
147
- "docs/update-notes-1.9.4.md",
148
- "docs/update-notes-1.9.5.md",
149
- "docs/update-notes-1.9.6.md",
150
- "docs/update-notes-1.9.7.md",
151
- "docs/update-notes-1.9.8.md",
152
- "docs/update-notes-1.9.9.md",
153
- "docs/plugin-compatibility-watch.md",
154
- "docs/update-notes-1.9.10.md",
155
- "docs/update-notes-1.9.11.md",
156
- "docs/update-notes-1.9.12.md",
157
- "docs/update-notes-1.9.13.md",
158
- "docs/update-notes-1.9.14.md",
159
- "docs/update-notes-1.9.15.md",
160
- "docs/update-notes-1.9.16.md",
161
- "docs/update-notes-1.9.17.md",
162
- "docs/update-notes-1.9.18.md",
163
- "docs/update-notes-1.9.19.md",
164
- "docs/update-notes-1.9.20.md",
165
- "docs/update-notes-1.9.21.md"
166
- ],
167
- "dependencies": {
168
- "acorn": "8.15.0",
169
- "zod": "4.6.5"
170
- },
171
- "peerDependencies": {
172
- "@deepseek-ai/dsh-credentials": ">=0.2.0-rc.1 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
173
- "@deepseek-ai/dsh-home-paths": ">=0.2.0-rc.1 <0.3.0-0 || >=0.2.1-0 <0.3.0-0"
174
- },
175
- "repository": {
176
- "type": "git",
177
- "url": "git+https://github.com/Han-1413141/dsh-cost-meter.git"
178
- },
179
- "homepage": "https://github.com/Han-1413141/dsh-cost-meter#readme",
180
- "keywords": [
181
- "deepseek",
182
- "deepseek-harness",
183
- "dsh",
184
- "dsh-plugin",
185
- "client-plugin",
186
- "cost",
187
- "usage",
188
- "billing",
189
- "budget",
190
- "i18n",
191
- "bilingual",
192
- "zh",
193
- "en",
194
- "language"
195
- ],
196
- "license": "MIT",
197
- "engines": {
198
- "node": ">=20",
199
- "dsh": ">=0.2.0-rc.1 <0.3.0-0"
200
- },
201
- "os": [
202
- "darwin",
203
- "linux",
204
- "win32"
205
- ],
206
- "scripts": {
207
- "build": "node scripts/build.mjs",
208
- "test": "node test/verify.mjs"
209
- },
210
- "devDependencies": {
211
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.1",
212
- "@deepseek-ai/dsh-home-paths": "0.2.1-rc.1",
213
- "esbuild": "^0.28.2"
214
- }
215
- }
1
+ {
2
+ "name": "dsh-cost-meter",
3
+ "version": "1.9.22",
4
+ "description": "DeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(14 家,含 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 14 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-repair-sessions": "./lib/repair-sessions-cli.js"
9
+ },
10
+ "exports": {
11
+ ".": {
12
+ "default": "./lib/bootstrap.js"
13
+ },
14
+ "./client": {
15
+ "default": "./lib/client.js"
16
+ },
17
+ "./typert": {
18
+ "default": "./lib/typert.host.js"
19
+ },
20
+ "./package.json": "./package.json",
21
+ "./locale/*.json": "./locale/*.json"
22
+ },
23
+ "dsh": {
24
+ "bundle": {
25
+ "patch": "./cordis.patch.yml"
26
+ },
27
+ "client": {
28
+ "platform": "web"
29
+ },
30
+ "compatibility": {
31
+ "dsh": ">=0.2.0-rc.1 <0.3.0-0",
32
+ "dshReleases": {
33
+ "0.2.0-rc.1": "compatible",
34
+ "0.2.0-rc.2": "compatible",
35
+ "0.2.1-alpha.5": "compatible",
36
+ "0.2.1-rc.1": "compatible",
37
+ "0.2.1-rc.2": "compatible"
38
+ }
39
+ }
40
+ },
41
+ "dshhub": {
42
+ "schemaVersion": 1,
43
+ "displayName": "dsh-cost-meter",
44
+ "summary": "DeepSeek Harness 会话费用统计:本会话费用、预算图框、官方余额、自定义 Provider 余额查询、Coding Plan 额度查询、历史记录,支持峰谷计价(切换前弹窗与系统通知提醒)与官方价格一键同步。",
45
+ "categories": [
46
+ "费用",
47
+ "Web UI",
48
+ "观测"
49
+ ],
50
+ "surfaces": [
51
+ "host",
52
+ "web"
53
+ ],
54
+ "capabilities": {
55
+ "provides": [
56
+ "service:cost-meter"
57
+ ]
58
+ },
59
+ "compatibility": {
60
+ "dsh": ">=0.2.0-rc.1 <0.3.0-0",
61
+ "node": ">=20"
62
+ },
63
+ "permissions": {
64
+ "network": [
65
+ "https://api.deepseek.com",
66
+ "https://api-docs.deepseek.com",
67
+ "https://open.volcengineapi.com",
68
+ "https://ark.cn-beijing.volces.com",
69
+ "https://opencode.ai",
70
+ "https://api.anthropic.com",
71
+ "https://api.z.ai",
72
+ "https://open.bigmodel.cn",
73
+ "https://www.minimaxi.com",
74
+ "https://www.minimax.cn",
75
+ "https://www.minimax.io",
76
+ "https://api.kimi.com",
77
+ "https://api.moonshot.cn",
78
+ "https://openrouter.ai",
79
+ "https://api.siliconflow.cn",
80
+ "https://api.commandcode.ai",
81
+ "https://api.cline.bot",
82
+ "https://api.factory.ai",
83
+ "https://ax.ac.sugon.com",
84
+ "https://platform.qianwenai.com",
85
+ "https://platform-home.qianwenai.com",
86
+ "https://business.aliyuncs.com",
87
+ "https://tokenrhythm.studio",
88
+ "https://platform.xiaomimimo.com",
89
+ "https://www.codebuddy.cn",
90
+ "https://www.workbuddy.ai",
91
+ "https://amr-api.open-design.ai",
92
+ "https://api.frankfurter.dev"
93
+ ]
94
+ }
95
+ },
96
+ "files": [
97
+ "docs/web-request-fees.md",
98
+ "locale",
99
+ "lib",
100
+ "cordis.patch.yml",
101
+ "docs/provider-pricing.json",
102
+ "docs/billing-statistics.md",
103
+ "docs/billion-context-billing.md",
104
+ "docs/opendesign-billing.md",
105
+ "docs/custom-balance-sources.md",
106
+ "docs/performance-2026-10-18.md",
107
+ "docs/performance-2026-10-18.json",
108
+ "docs/update-notes-2026-10-15.md",
109
+ "docs/ledger-lock-recovery.md",
110
+ "docs/external-usage.md",
111
+ "docs/qwen-cli-quota.md",
112
+ "docs/factory-quota.md",
113
+ "docs/session-sidebar-recovery.md",
114
+ "docs/provider-pricing-2026-10.md",
115
+ "docs/openrouter-prices.md",
116
+ "docs/context-costs-design.md",
117
+ "docs/context-costs-preview.png",
118
+ "docs/cost-share-overview.png",
119
+ "docs/call-detail-preview.png",
120
+ "docs/step-billing-preview.png",
121
+ "docs/maintenance-review-2026-10-10.md",
122
+ "THIRD_PARTY_NOTICES.md",
123
+ "docs/display-settings.md",
124
+ "docs/update-notes-1.8.28.md",
125
+ "docs/update-notes-1.8.29.md",
126
+ "docs/context-stream-diagnostics.md",
127
+ "docs/exchange-rates.md",
128
+ "docs/update-notes-1.8.30.md",
129
+ "docs/idle-performance.md",
130
+ "docs/pricing-history-storage.md",
131
+ "docs/custom-model-prices.md",
132
+ "docs/update-notes-1.8.31.md",
133
+ "docs/update-notes-1.8.32.md",
134
+ "docs/update-notes-1.8.33.md",
135
+ "docs/update-notes-1.8.34.md",
136
+ "docs/update-notes-1.8.35.md",
137
+ "docs/update-notes-1.8.36.md",
138
+ "docs/update-notes-1.9.0.md",
139
+ "docs/update-notes-1.9.1.md",
140
+ "docs/update-notes-1.9.2.md",
141
+ "docs/better-session.md",
142
+ "docs/model-history-repricing.md",
143
+ "docs/tokenrhythm-balance.md",
144
+ "docs/dsh-0.2.1-compatibility.md",
145
+ "docs/pnpm-supply-chain-policy.md",
146
+ "docs/update-notes-1.9.3.md",
147
+ "docs/update-notes-1.9.4.md",
148
+ "docs/update-notes-1.9.5.md",
149
+ "docs/update-notes-1.9.6.md",
150
+ "docs/update-notes-1.9.7.md",
151
+ "docs/update-notes-1.9.8.md",
152
+ "docs/update-notes-1.9.9.md",
153
+ "docs/plugin-compatibility-watch.md",
154
+ "docs/update-notes-1.9.10.md",
155
+ "docs/update-notes-1.9.11.md",
156
+ "docs/update-notes-1.9.12.md",
157
+ "docs/update-notes-1.9.13.md",
158
+ "docs/update-notes-1.9.14.md",
159
+ "docs/update-notes-1.9.15.md",
160
+ "docs/update-notes-1.9.16.md",
161
+ "docs/update-notes-1.9.17.md",
162
+ "docs/update-notes-1.9.18.md",
163
+ "docs/update-notes-1.9.19.md",
164
+ "docs/update-notes-1.9.20.md",
165
+ "docs/update-notes-1.9.21.md",
166
+ "docs/update-notes-1.9.22.md"
167
+ ],
168
+ "dependencies": {
169
+ "acorn": "8.15.0",
170
+ "zod": "4.6.5"
171
+ },
172
+ "peerDependencies": {
173
+ "@deepseek-ai/dsh-credentials": ">=0.2.0-rc.1 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
174
+ "@deepseek-ai/dsh-home-paths": ">=0.2.0-rc.1 <0.3.0-0 || >=0.2.1-0 <0.3.0-0"
175
+ },
176
+ "repository": {
177
+ "type": "git",
178
+ "url": "git+https://github.com/Han-1413141/dsh-cost-meter.git"
179
+ },
180
+ "homepage": "https://github.com/Han-1413141/dsh-cost-meter#readme",
181
+ "keywords": [
182
+ "deepseek",
183
+ "deepseek-harness",
184
+ "dsh",
185
+ "dsh-plugin",
186
+ "client-plugin",
187
+ "cost",
188
+ "usage",
189
+ "billing",
190
+ "budget",
191
+ "i18n",
192
+ "bilingual",
193
+ "zh",
194
+ "en",
195
+ "language"
196
+ ],
197
+ "license": "MIT",
198
+ "engines": {
199
+ "node": ">=20",
200
+ "dsh": ">=0.2.0-rc.1 <0.3.0-0"
201
+ },
202
+ "os": [
203
+ "darwin",
204
+ "linux",
205
+ "win32"
206
+ ],
207
+ "scripts": {
208
+ "build": "node scripts/build.mjs",
209
+ "test": "node test/verify.mjs"
210
+ },
211
+ "devDependencies": {
212
+ "@deepseek-ai/dsh-credentials": "0.2.1-rc.1",
213
+ "@deepseek-ai/dsh-home-paths": "0.2.1-rc.1",
214
+ "esbuild": "^0.28.2"
215
+ }
216
+ }