@rayadesu/dsh-client-ui-billing 0.3.6 → 0.3.8
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/client.js +2 -2
- package/lib/types/client/locales.d.ts +1 -1
- package/package.json +23 -21
package/lib/client.js
CHANGED
|
@@ -4708,7 +4708,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4708
4708
|
"state.unavailable": "额度不可用",
|
|
4709
4709
|
"action.refresh": "刷新",
|
|
4710
4710
|
"info.aria": "花费说明",
|
|
4711
|
-
"info.hint": "仅能预估 DeepSeek
|
|
4711
|
+
"info.hint": "仅能预估 DeepSeek 及 MiMo 相关模型。本会话花费按每条消息的发生时刻(北京时间)所在峰谷时段单价计费:缓存命中输入、未命中输入(含缓存写入)、输出(含推理)分别计价。DeepSeek 费率按 8 月 17 日实行的标准,高峰时段为北京时间周一至周五 9:00–12:00、14:00–18:00,周末全天按低谷价计费;MiMo 系列不区分峰谷,统一费率。",
|
|
4712
4712
|
"badge.aria": "DeepSeek 额度:{amount}",
|
|
4713
4713
|
"panel.aria": "DeepSeek 额度详情",
|
|
4714
4714
|
"label.sessionRanking": "今日会话花费",
|
|
@@ -4729,7 +4729,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4729
4729
|
"state.unavailable": "Balance unavailable",
|
|
4730
4730
|
"action.refresh": "Refresh",
|
|
4731
4731
|
"info.aria": "About this spend",
|
|
4732
|
-
"info.hint": "Only DeepSeek models are estimated. This session's spend is priced per message at the rate of its Beijing-time peak/off-peak hour: cache-hit input, cache-miss input (including cache writes), and output (including reasoning) are billed separately.
|
|
4732
|
+
"info.hint": "Only DeepSeek and MiMo models are estimated. This session's spend is priced per message at the rate of its Beijing-time peak/off-peak hour: cache-hit input, cache-miss input (including cache writes), and output (including reasoning) are billed separately. DeepSeek rates follow the August 17 pricing; peak hours are Beijing time Monday–Friday 09:00–12:00 and 14:00–18:00, and weekends are billed at off-peak prices all day. MiMo series uses a flat rate with no peak/off-peak distinction.",
|
|
4733
4733
|
"badge.aria": "DeepSeek balance {amount}",
|
|
4734
4734
|
"panel.aria": "DeepSeek balance details",
|
|
4735
4735
|
"label.sessionRanking": "Today session spend",
|
|
@@ -16,7 +16,7 @@ export declare const zh: {
|
|
|
16
16
|
readonly 'state.unavailable': "额度不可用";
|
|
17
17
|
readonly 'action.refresh': "刷新";
|
|
18
18
|
readonly 'info.aria': "花费说明";
|
|
19
|
-
readonly 'info.hint': "仅能预估 DeepSeek
|
|
19
|
+
readonly 'info.hint': "仅能预估 DeepSeek 及 MiMo 相关模型。本会话花费按每条消息的发生时刻(北京时间)所在峰谷时段单价计费:缓存命中输入、未命中输入(含缓存写入)、输出(含推理)分别计价。DeepSeek 费率按 8 月 17 日实行的标准,高峰时段为北京时间周一至周五 9:00–12:00、14:00–18:00,周末全天按低谷价计费;MiMo 系列不区分峰谷,统一费率。";
|
|
20
20
|
readonly 'badge.aria': "DeepSeek 额度:{amount}";
|
|
21
21
|
readonly 'panel.aria': "DeepSeek 额度详情";
|
|
22
22
|
readonly 'label.sessionRanking': "今日会话花费";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rayadesu/dsh-client-ui-billing",
|
|
3
3
|
"description": "Session-header DeepSeek account-balance and conversation-spend badge over the billing Remote",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -47,26 +47,28 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@rayadesu/dsh-llm-billing": "^0.3.
|
|
51
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.
|
|
52
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.
|
|
53
|
-
"@deepseek-ai/dsh-typert-protocol": "^0.1.
|
|
54
|
-
"@deepseek-ai/dsh-invariants": "^0.1.
|
|
50
|
+
"@rayadesu/dsh-llm-billing": "^0.3.8",
|
|
51
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.5",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-alpha.5",
|
|
53
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.2-alpha.5",
|
|
54
|
+
"@deepseek-ai/dsh-invariants": "^0.1.2-alpha.5",
|
|
55
55
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
56
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.
|
|
57
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.
|
|
58
|
-
"@deepseek-ai/dsh-session": "^0.1.
|
|
56
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.2-alpha.5",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.5",
|
|
58
|
+
"@deepseek-ai/dsh-session": "^0.1.2-alpha.5"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@rayadesu/dsh-llm-billing": "^0.3.
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-client-
|
|
64
|
-
"@deepseek-ai/dsh-client-
|
|
65
|
-
"@deepseek-ai/dsh-client-
|
|
66
|
-
"@deepseek-ai/dsh-client-ui-
|
|
67
|
-
"@deepseek-ai/dsh-client-ui-
|
|
68
|
-
"@deepseek-ai/dsh-
|
|
69
|
-
"@deepseek-ai/dsh-
|
|
61
|
+
"@rayadesu/dsh-llm-billing": "^0.3.8",
|
|
62
|
+
"@deepseek-ai/dsh-api-gateway": "^0.1.2-alpha.5",
|
|
63
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.5",
|
|
64
|
+
"@deepseek-ai/dsh-client-store": "^0.1.2-alpha.5",
|
|
65
|
+
"@deepseek-ai/dsh-client-test-runtime": "^0.1.2-alpha.5",
|
|
66
|
+
"@deepseek-ai/dsh-client-ui-chat": "^0.1.2-alpha.5",
|
|
67
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-alpha.5",
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-alpha.5",
|
|
69
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.5",
|
|
70
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.2-alpha.5",
|
|
71
|
+
"@deepseek-ai/dsh-invariants": "^0.1.2-alpha.5",
|
|
70
72
|
"@testing-library/dom": "^10.4.1",
|
|
71
73
|
"@testing-library/react": "^16.3.2",
|
|
72
74
|
"@types/react": "~18.3.1",
|
|
@@ -74,9 +76,9 @@
|
|
|
74
76
|
"react-dom": "^18.2.0",
|
|
75
77
|
"use-sync-external-store": "^1.2.0",
|
|
76
78
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
77
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.
|
|
78
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.
|
|
79
|
-
"@deepseek-ai/dsh-session": "^0.1.
|
|
79
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.2-alpha.5",
|
|
80
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.5",
|
|
81
|
+
"@deepseek-ai/dsh-session": "^0.1.2-alpha.5"
|
|
80
82
|
},
|
|
81
83
|
"files": [
|
|
82
84
|
"lib/index.js",
|