@eddyskywalker/dsh-chatgpt-subscription 0.98.0 → 0.99.0
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 +1 -1
- package/lib/client.js +478 -499
- package/lib/client.js.map +1 -1
- package/lib/index.js +648 -52
- package/lib/types/client/common/AccountPoolSection.d.ts +2 -0
- package/lib/types/client/common/AccountPoolSection.d.ts.map +1 -1
- package/lib/types/client/common/styles.d.ts.map +1 -1
- package/lib/types/client/features/advisor/locales.d.ts +1 -1
- package/lib/types/client/locales-ru/alibaba-token-plan.d.ts.map +1 -1
- package/lib/types/client/locales-ru/antigravity-acp.d.ts.map +1 -1
- package/lib/types/client/locales-ru/grok.d.ts.map +1 -1
- package/lib/types/client/locales-ru/longcat.d.ts.map +1 -1
- package/lib/types/client/locales-ru/opencode-zen.d.ts.map +1 -1
- package/lib/types/client/locales-ru/qianfan-token-plan.d.ts.map +1 -1
- package/lib/types/client/locales-ru/tencent-tokenhub.d.ts.map +1 -1
- package/lib/types/client/locales-ru/volcengine-ark.d.ts.map +1 -1
- package/lib/types/client/providers/alibaba-token-plan/AtpSection.d.ts.map +1 -1
- package/lib/types/client/providers/alibaba-token-plan/locales.d.ts +5 -7
- package/lib/types/client/providers/alibaba-token-plan/locales.d.ts.map +1 -1
- package/lib/types/client/providers/antigravity-acp/AntigravityAcpSection.d.ts.map +1 -1
- package/lib/types/client/providers/antigravity-acp/api.d.ts +2 -0
- package/lib/types/client/providers/antigravity-acp/api.d.ts.map +1 -1
- package/lib/types/client/providers/antigravity-acp/locales.d.ts +78 -60
- package/lib/types/client/providers/antigravity-acp/locales.d.ts.map +1 -1
- package/lib/types/client/providers/claude/locales.d.ts +24 -24
- package/lib/types/client/providers/claude-api/ClaudeApiSection.d.ts.map +1 -1
- package/lib/types/client/providers/claude-api/locales.d.ts +5 -7
- package/lib/types/client/providers/claude-api/locales.d.ts.map +1 -1
- package/lib/types/client/providers/cline-pass/locales.d.ts +6 -6
- package/lib/types/client/providers/codex-chatgpt/locales.d.ts +14 -14
- package/lib/types/client/providers/command-code/locales.d.ts +3 -3
- package/lib/types/client/providers/copilot/CopilotSection.d.ts.map +1 -1
- package/lib/types/client/providers/glm-coding-plan/locales.d.ts +12 -12
- package/lib/types/client/providers/grok/GrokSection.d.ts.map +1 -1
- package/lib/types/client/providers/grok/locales.d.ts +1 -3
- package/lib/types/client/providers/grok/locales.d.ts.map +1 -1
- package/lib/types/client/providers/grok/styles.d.ts.map +1 -1
- package/lib/types/client/providers/kimi-code/locales.d.ts +12 -12
- package/lib/types/client/providers/kimi-code/styles.d.ts.map +1 -1
- package/lib/types/client/providers/longcat/LongcatSection.d.ts.map +1 -1
- package/lib/types/client/providers/longcat/locales.d.ts +1 -3
- package/lib/types/client/providers/longcat/locales.d.ts.map +1 -1
- package/lib/types/client/providers/minimax-code/locales.d.ts +9 -9
- package/lib/types/client/providers/opencode-zen/OpenCodeZenSection.d.ts.map +1 -1
- package/lib/types/client/providers/opencode-zen/locales.d.ts +3 -5
- package/lib/types/client/providers/opencode-zen/locales.d.ts.map +1 -1
- package/lib/types/client/providers/opendesign/locales.d.ts +24 -24
- package/lib/types/client/providers/qianfan-token-plan/QianfanSection.d.ts.map +1 -1
- package/lib/types/client/providers/qianfan-token-plan/locales.d.ts +11 -7
- package/lib/types/client/providers/qianfan-token-plan/locales.d.ts.map +1 -1
- package/lib/types/client/providers/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +1 -1
- package/lib/types/client/providers/qianwen-token-plan/locales.d.ts +3 -5
- package/lib/types/client/providers/qianwen-token-plan/locales.d.ts.map +1 -1
- package/lib/types/client/providers/relayone/RelayOneSection.d.ts.map +1 -1
- package/lib/types/client/providers/relayone/locales.d.ts +3 -5
- package/lib/types/client/providers/relayone/locales.d.ts.map +1 -1
- package/lib/types/client/providers/step-code/locales.d.ts +24 -24
- package/lib/types/client/providers/tencent-tokenhub/TokenHubSection.d.ts.map +1 -1
- package/lib/types/client/providers/tencent-tokenhub/locales.d.ts +7 -9
- package/lib/types/client/providers/tencent-tokenhub/locales.d.ts.map +1 -1
- package/lib/types/client/providers/volcengine-ark/ArkSection.d.ts.map +1 -1
- package/lib/types/client/providers/volcengine-ark/locales.d.ts +5 -7
- package/lib/types/client/providers/volcengine-ark/locales.d.ts.map +1 -1
- package/lib/types/client/providers/workbuddy/locales.d.ts +30 -30
- package/lib/types/client/providers/xiaomi-mimo/MimoSection.d.ts.map +1 -1
- package/lib/types/client/providers/xiaomi-mimo/locales.d.ts +3 -5
- package/lib/types/client/providers/xiaomi-mimo/locales.d.ts.map +1 -1
- package/lib/types/compat.d.ts +1 -1
- package/lib/types/host/common/i18n/en.d.ts.map +1 -1
- package/lib/types/host/common/i18n/ru.d.ts.map +1 -1
- package/lib/types/host/common/i18n/zh.d.ts +1 -0
- package/lib/types/host/common/i18n/zh.d.ts.map +1 -1
- package/lib/types/host/providers/antigravity-acp/acp-client.d.ts +18 -0
- package/lib/types/host/providers/antigravity-acp/acp-client.d.ts.map +1 -1
- package/lib/types/host/providers/antigravity-acp/adapter.d.ts +47 -5
- package/lib/types/host/providers/antigravity-acp/adapter.d.ts.map +1 -1
- package/lib/types/host/providers/antigravity-acp/binary.d.ts +2 -2
- package/lib/types/host/providers/antigravity-acp/cooldown.d.ts +35 -0
- package/lib/types/host/providers/antigravity-acp/cooldown.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/history.d.ts +17 -0
- package/lib/types/host/providers/antigravity-acp/history.d.ts.map +1 -1
- package/lib/types/host/providers/antigravity-acp/login.d.ts +22 -0
- package/lib/types/host/providers/antigravity-acp/login.d.ts.map +1 -1
- package/lib/types/host/providers/antigravity-acp/routes.d.ts +5 -0
- package/lib/types/host/providers/antigravity-acp/routes.d.ts.map +1 -1
- package/lib/types/host/providers/antigravity-acp/session-state.d.ts +73 -0
- package/lib/types/host/providers/antigravity-acp/session-state.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/settings.d.ts +3 -4
- package/lib/types/host/providers/antigravity-acp/settings.d.ts.map +1 -1
- package/lib/types/host/providers/copilot/routes.d.ts.map +1 -1
- package/lib/types/host/providers/opencode-go/mapper-gemini.d.ts.map +1 -1
- package/lib/types/host/providers/qianfan-token-plan/mapper.d.ts.map +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/antigravity-acp-contracts.d.ts +3 -3
- package/lib/types/shared/qianfan-token-plan-contracts.d.ts +4 -3
- package/lib/types/shared/qianfan-token-plan-contracts.d.ts.map +1 -1
- package/package.json +3 -2
- package/presets/dispatch/README.md +1 -1
- package/presets/team/README.md +1 -1
- package/presets/team/agent.cordis.yml +0 -1
|
@@ -36,7 +36,7 @@ export declare const zh: {
|
|
|
36
36
|
readonly loginComplete: "登录完成";
|
|
37
37
|
readonly loginFailed: "登录失败";
|
|
38
38
|
readonly manualPasteSection: "手动粘贴授权码";
|
|
39
|
-
readonly manualPasteHint: "把浏览器地址栏里的 code
|
|
39
|
+
readonly manualPasteHint: "把浏览器地址栏里的 code 或回调 URL 粘贴到这里完成登录。";
|
|
40
40
|
readonly manualPastePlaceholder: "code#state 或完整的回调 URL";
|
|
41
41
|
readonly manualPasteSubmit: "提交授权码";
|
|
42
42
|
readonly manualPasteSubmitting: "提交中...";
|
|
@@ -68,22 +68,22 @@ export declare const zh: {
|
|
|
68
68
|
readonly thinkingModeNone: "无思考";
|
|
69
69
|
readonly enhanced: "思考设置";
|
|
70
70
|
readonly defaultReasoningEffort: "默认思考档位";
|
|
71
|
-
readonly defaultReasoningEffortHint: "
|
|
71
|
+
readonly defaultReasoningEffortHint: "下拉列出目录中的全部档位;实际发送的档位由模型自身能力决定。";
|
|
72
72
|
readonly defaultEffortAuto: "使用模型默认值";
|
|
73
73
|
readonly cacheTtl: "主对话的提示缓存时长";
|
|
74
|
-
readonly cacheTtlHint: "
|
|
74
|
+
readonly cacheTtlHint: "1 小时缓存写入按 2 倍计费;子代理运行时会约每 55 分钟续热一次。";
|
|
75
75
|
readonly cacheTtlSubscription: "跟随官方(订阅默认 1 小时)";
|
|
76
76
|
readonly cacheTtl1h: "1 小时";
|
|
77
77
|
readonly cacheTtl5m: "5 分钟";
|
|
78
78
|
readonly subagentCacheTtl: "子代理与后台请求的缓存时长";
|
|
79
|
-
readonly subagentCacheTtlHint: "
|
|
79
|
+
readonly subagentCacheTtlHint: "子代理与后台请求通常几分钟结束,固定用 5 分钟缓存更划算。";
|
|
80
80
|
readonly subagentCacheTtlOfficial: "跟随官方(5 分钟)";
|
|
81
81
|
readonly fastMode: "快速模式";
|
|
82
82
|
readonly fastModeHint: "仅对支持的模型发送 speed: fast;被拒时自动纠正,并按账号和模型记住结论。";
|
|
83
83
|
readonly cacheKeepalive: "cache-keepalive(cache_touch)";
|
|
84
84
|
readonly cacheKeepaliveHint: "默认关闭;仅 1 小时主对话优先用 cache_touch,失败回退现有续热。尚未经真实订阅直连验证。";
|
|
85
85
|
readonly autoCompactSubagents: "子代理完成后自动压缩";
|
|
86
|
-
readonly autoCompactSubagentsHint: "
|
|
86
|
+
readonly autoCompactSubagentsHint: "默认开启;只压缩子代理自己的上下文,失败不影响任务结果。";
|
|
87
87
|
readonly effortLow: "低 (low)";
|
|
88
88
|
readonly effortMedium: "中 (medium)";
|
|
89
89
|
readonly effortHigh: "高 (high)";
|
|
@@ -92,12 +92,12 @@ export declare const zh: {
|
|
|
92
92
|
readonly modelLadders: "各模型支持的档位";
|
|
93
93
|
readonly modelLadderNone: "该模型不接受思考档位";
|
|
94
94
|
readonly contextWindowSection: "模型上下文窗口";
|
|
95
|
-
readonly contextWindowHint: "
|
|
95
|
+
readonly contextWindowHint: "默认取模型目录值;恢复默认会删除本地覆盖。";
|
|
96
96
|
readonly contextWindowReset: "恢复默认";
|
|
97
97
|
readonly contextWindowResetAll: "全部恢复默认";
|
|
98
98
|
readonly contextWindowResetAllConfirm: "确定把已改过的模型上下文窗口全部恢复为默认值吗?";
|
|
99
99
|
readonly maxTokensSection: "单次输出上限";
|
|
100
|
-
readonly maxTokensHint: "
|
|
100
|
+
readonly maxTokensHint: "单次回复的输出上限,含思考;达到上限会截断并结束本轮。";
|
|
101
101
|
readonly maxTokensInvalid: "输出上限无效:{value}";
|
|
102
102
|
readonly maxTokensResetAllConfirm: "确定把已改过的模型输出上限全部恢复为默认值吗?";
|
|
103
103
|
readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
|
|
@@ -106,7 +106,7 @@ export declare const zh: {
|
|
|
106
106
|
readonly saving: "保存中...";
|
|
107
107
|
readonly tokens: "tokens";
|
|
108
108
|
readonly quotaSection: "用量与额度";
|
|
109
|
-
readonly quotaDesc: "数据来自 Claude
|
|
109
|
+
readonly quotaDesc: "数据来自 Claude 用量接口;页面可见时最多每 60 秒刷新一次。";
|
|
110
110
|
readonly refreshQuota: "刷新用量";
|
|
111
111
|
readonly refreshingQuota: "刷新中...";
|
|
112
112
|
readonly quotaRefreshing: "Host 正在后台刷新额度,稍后会自动更新。";
|
|
@@ -198,7 +198,7 @@ export declare const dictionaries: {
|
|
|
198
198
|
readonly loginComplete: "登录完成";
|
|
199
199
|
readonly loginFailed: "登录失败";
|
|
200
200
|
readonly manualPasteSection: "手动粘贴授权码";
|
|
201
|
-
readonly manualPasteHint: "把浏览器地址栏里的 code
|
|
201
|
+
readonly manualPasteHint: "把浏览器地址栏里的 code 或回调 URL 粘贴到这里完成登录。";
|
|
202
202
|
readonly manualPastePlaceholder: "code#state 或完整的回调 URL";
|
|
203
203
|
readonly manualPasteSubmit: "提交授权码";
|
|
204
204
|
readonly manualPasteSubmitting: "提交中...";
|
|
@@ -230,22 +230,22 @@ export declare const dictionaries: {
|
|
|
230
230
|
readonly thinkingModeNone: "无思考";
|
|
231
231
|
readonly enhanced: "思考设置";
|
|
232
232
|
readonly defaultReasoningEffort: "默认思考档位";
|
|
233
|
-
readonly defaultReasoningEffortHint: "
|
|
233
|
+
readonly defaultReasoningEffortHint: "下拉列出目录中的全部档位;实际发送的档位由模型自身能力决定。";
|
|
234
234
|
readonly defaultEffortAuto: "使用模型默认值";
|
|
235
235
|
readonly cacheTtl: "主对话的提示缓存时长";
|
|
236
|
-
readonly cacheTtlHint: "
|
|
236
|
+
readonly cacheTtlHint: "1 小时缓存写入按 2 倍计费;子代理运行时会约每 55 分钟续热一次。";
|
|
237
237
|
readonly cacheTtlSubscription: "跟随官方(订阅默认 1 小时)";
|
|
238
238
|
readonly cacheTtl1h: "1 小时";
|
|
239
239
|
readonly cacheTtl5m: "5 分钟";
|
|
240
240
|
readonly subagentCacheTtl: "子代理与后台请求的缓存时长";
|
|
241
|
-
readonly subagentCacheTtlHint: "
|
|
241
|
+
readonly subagentCacheTtlHint: "子代理与后台请求通常几分钟结束,固定用 5 分钟缓存更划算。";
|
|
242
242
|
readonly subagentCacheTtlOfficial: "跟随官方(5 分钟)";
|
|
243
243
|
readonly fastMode: "快速模式";
|
|
244
244
|
readonly fastModeHint: "仅对支持的模型发送 speed: fast;被拒时自动纠正,并按账号和模型记住结论。";
|
|
245
245
|
readonly cacheKeepalive: "cache-keepalive(cache_touch)";
|
|
246
246
|
readonly cacheKeepaliveHint: "默认关闭;仅 1 小时主对话优先用 cache_touch,失败回退现有续热。尚未经真实订阅直连验证。";
|
|
247
247
|
readonly autoCompactSubagents: "子代理完成后自动压缩";
|
|
248
|
-
readonly autoCompactSubagentsHint: "
|
|
248
|
+
readonly autoCompactSubagentsHint: "默认开启;只压缩子代理自己的上下文,失败不影响任务结果。";
|
|
249
249
|
readonly effortLow: "低 (low)";
|
|
250
250
|
readonly effortMedium: "中 (medium)";
|
|
251
251
|
readonly effortHigh: "高 (high)";
|
|
@@ -254,12 +254,12 @@ export declare const dictionaries: {
|
|
|
254
254
|
readonly modelLadders: "各模型支持的档位";
|
|
255
255
|
readonly modelLadderNone: "该模型不接受思考档位";
|
|
256
256
|
readonly contextWindowSection: "模型上下文窗口";
|
|
257
|
-
readonly contextWindowHint: "
|
|
257
|
+
readonly contextWindowHint: "默认取模型目录值;恢复默认会删除本地覆盖。";
|
|
258
258
|
readonly contextWindowReset: "恢复默认";
|
|
259
259
|
readonly contextWindowResetAll: "全部恢复默认";
|
|
260
260
|
readonly contextWindowResetAllConfirm: "确定把已改过的模型上下文窗口全部恢复为默认值吗?";
|
|
261
261
|
readonly maxTokensSection: "单次输出上限";
|
|
262
|
-
readonly maxTokensHint: "
|
|
262
|
+
readonly maxTokensHint: "单次回复的输出上限,含思考;达到上限会截断并结束本轮。";
|
|
263
263
|
readonly maxTokensInvalid: "输出上限无效:{value}";
|
|
264
264
|
readonly maxTokensResetAllConfirm: "确定把已改过的模型输出上限全部恢复为默认值吗?";
|
|
265
265
|
readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
|
|
@@ -268,7 +268,7 @@ export declare const dictionaries: {
|
|
|
268
268
|
readonly saving: "保存中...";
|
|
269
269
|
readonly tokens: "tokens";
|
|
270
270
|
readonly quotaSection: "用量与额度";
|
|
271
|
-
readonly quotaDesc: "数据来自 Claude
|
|
271
|
+
readonly quotaDesc: "数据来自 Claude 用量接口;页面可见时最多每 60 秒刷新一次。";
|
|
272
272
|
readonly refreshQuota: "刷新用量";
|
|
273
273
|
readonly refreshingQuota: "刷新中...";
|
|
274
274
|
readonly quotaRefreshing: "Host 正在后台刷新额度,稍后会自动更新。";
|
|
@@ -358,7 +358,7 @@ export declare const dictionaries: {
|
|
|
358
358
|
readonly loginComplete: "登录完成";
|
|
359
359
|
readonly loginFailed: "登录失败";
|
|
360
360
|
readonly manualPasteSection: "手动粘贴授权码";
|
|
361
|
-
readonly manualPasteHint: "把浏览器地址栏里的 code
|
|
361
|
+
readonly manualPasteHint: "把浏览器地址栏里的 code 或回调 URL 粘贴到这里完成登录。";
|
|
362
362
|
readonly manualPastePlaceholder: "code#state 或完整的回调 URL";
|
|
363
363
|
readonly manualPasteSubmit: "提交授权码";
|
|
364
364
|
readonly manualPasteSubmitting: "提交中...";
|
|
@@ -390,22 +390,22 @@ export declare const dictionaries: {
|
|
|
390
390
|
readonly thinkingModeNone: "无思考";
|
|
391
391
|
readonly enhanced: "思考设置";
|
|
392
392
|
readonly defaultReasoningEffort: "默认思考档位";
|
|
393
|
-
readonly defaultReasoningEffortHint: "
|
|
393
|
+
readonly defaultReasoningEffortHint: "下拉列出目录中的全部档位;实际发送的档位由模型自身能力决定。";
|
|
394
394
|
readonly defaultEffortAuto: "使用模型默认值";
|
|
395
395
|
readonly cacheTtl: "主对话的提示缓存时长";
|
|
396
|
-
readonly cacheTtlHint: "
|
|
396
|
+
readonly cacheTtlHint: "1 小时缓存写入按 2 倍计费;子代理运行时会约每 55 分钟续热一次。";
|
|
397
397
|
readonly cacheTtlSubscription: "跟随官方(订阅默认 1 小时)";
|
|
398
398
|
readonly cacheTtl1h: "1 小时";
|
|
399
399
|
readonly cacheTtl5m: "5 分钟";
|
|
400
400
|
readonly subagentCacheTtl: "子代理与后台请求的缓存时长";
|
|
401
|
-
readonly subagentCacheTtlHint: "
|
|
401
|
+
readonly subagentCacheTtlHint: "子代理与后台请求通常几分钟结束,固定用 5 分钟缓存更划算。";
|
|
402
402
|
readonly subagentCacheTtlOfficial: "跟随官方(5 分钟)";
|
|
403
403
|
readonly fastMode: "快速模式";
|
|
404
404
|
readonly fastModeHint: "仅对支持的模型发送 speed: fast;被拒时自动纠正,并按账号和模型记住结论。";
|
|
405
405
|
readonly cacheKeepalive: "cache-keepalive(cache_touch)";
|
|
406
406
|
readonly cacheKeepaliveHint: "默认关闭;仅 1 小时主对话优先用 cache_touch,失败回退现有续热。尚未经真实订阅直连验证。";
|
|
407
407
|
readonly autoCompactSubagents: "子代理完成后自动压缩";
|
|
408
|
-
readonly autoCompactSubagentsHint: "
|
|
408
|
+
readonly autoCompactSubagentsHint: "默认开启;只压缩子代理自己的上下文,失败不影响任务结果。";
|
|
409
409
|
readonly effortLow: "低 (low)";
|
|
410
410
|
readonly effortMedium: "中 (medium)";
|
|
411
411
|
readonly effortHigh: "高 (high)";
|
|
@@ -414,12 +414,12 @@ export declare const dictionaries: {
|
|
|
414
414
|
readonly modelLadders: "各模型支持的档位";
|
|
415
415
|
readonly modelLadderNone: "该模型不接受思考档位";
|
|
416
416
|
readonly contextWindowSection: "模型上下文窗口";
|
|
417
|
-
readonly contextWindowHint: "
|
|
417
|
+
readonly contextWindowHint: "默认取模型目录值;恢复默认会删除本地覆盖。";
|
|
418
418
|
readonly contextWindowReset: "恢复默认";
|
|
419
419
|
readonly contextWindowResetAll: "全部恢复默认";
|
|
420
420
|
readonly contextWindowResetAllConfirm: "确定把已改过的模型上下文窗口全部恢复为默认值吗?";
|
|
421
421
|
readonly maxTokensSection: "单次输出上限";
|
|
422
|
-
readonly maxTokensHint: "
|
|
422
|
+
readonly maxTokensHint: "单次回复的输出上限,含思考;达到上限会截断并结束本轮。";
|
|
423
423
|
readonly maxTokensInvalid: "输出上限无效:{value}";
|
|
424
424
|
readonly maxTokensResetAllConfirm: "确定把已改过的模型输出上限全部恢复为默认值吗?";
|
|
425
425
|
readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
|
|
@@ -428,7 +428,7 @@ export declare const dictionaries: {
|
|
|
428
428
|
readonly saving: "保存中...";
|
|
429
429
|
readonly tokens: "tokens";
|
|
430
430
|
readonly quotaSection: "用量与额度";
|
|
431
|
-
readonly quotaDesc: "数据来自 Claude
|
|
431
|
+
readonly quotaDesc: "数据来自 Claude 用量接口;页面可见时最多每 60 秒刷新一次。";
|
|
432
432
|
readonly refreshQuota: "刷新用量";
|
|
433
433
|
readonly refreshingQuota: "刷新中...";
|
|
434
434
|
readonly quotaRefreshing: "Host 正在后台刷新额度,稍后会自动更新。";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClaudeApiSection.d.ts","sourceRoot":"","sources":["../../../../../src/client/providers/claude-api/ClaudeApiSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAqBzB,OAAO,EAAuB,KAAK,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAE1F,YAAY,EAAE,qBAAqB,EAAE,CAAA;AAerC,wBAAgB,gBAAgB,CAAC,KAAK,GAAE,qBAA0B,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"ClaudeApiSection.d.ts","sourceRoot":"","sources":["../../../../../src/client/providers/claude-api/ClaudeApiSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAqBzB,OAAO,EAAuB,KAAK,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAE1F,YAAY,EAAE,qBAAqB,EAAE,CAAA;AAerC,wBAAgB,gBAAgB,CAAC,KAAK,GAAE,qBAA0B,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA0FrF"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
export declare const NS_CLAUDE_API = "dsh-claude-api";
|
|
2
2
|
export declare const zh: {
|
|
3
3
|
readonly title: "Claude API";
|
|
4
|
-
readonly pageDesc: "
|
|
4
|
+
readonly pageDesc: "独立 API Key 与 Anthropic 兼容端点,主账号优先、故障自动切换。";
|
|
5
5
|
readonly loading: "正在读取线路状态…";
|
|
6
6
|
readonly accountAlias: "账号名称";
|
|
7
7
|
readonly editAccount: "编辑";
|
|
8
8
|
readonly saveAccount: "保存账号";
|
|
9
9
|
readonly cancel: "取消";
|
|
10
10
|
readonly keyKeepPlaceholder: "留空则保留当前 Key";
|
|
11
|
-
readonly enabled: "启用 Claude API";
|
|
12
11
|
readonly keySection: "API Key";
|
|
13
12
|
readonly keyPlaceholder: "sk-ant-…";
|
|
14
13
|
readonly saveKey: "保存密钥";
|
|
@@ -72,7 +71,7 @@ export declare const zh: {
|
|
|
72
71
|
readonly autoCompactSubagents: "子代理完成后自动压缩";
|
|
73
72
|
readonly autoCompactSubagentsHint: "默认开启。只压缩子代理自己的上下文,不影响主对话;压缩失败不影响任务结果。";
|
|
74
73
|
readonly moreNotes: "计费与兼容说明";
|
|
75
|
-
readonly cacheTtlNote: "
|
|
74
|
+
readonly cacheTtlNote: "5 分钟与 1 小时两档;1 小时写入按 2 倍计费,子代理/后台每 55 分钟续热。";
|
|
76
75
|
readonly fastModeNote: "快速模式按溢价计费,并且只对支持它的模型生效。";
|
|
77
76
|
readonly serverCompactionNote: "端点不支持服务端压缩时,自动退回客户端压缩。";
|
|
78
77
|
readonly contextSection: "上下文窗口";
|
|
@@ -122,14 +121,13 @@ export declare const en: Record<ClaudeApiLocaleKey, string>;
|
|
|
122
121
|
export declare const dictionaries: {
|
|
123
122
|
zh: {
|
|
124
123
|
readonly title: "Claude API";
|
|
125
|
-
readonly pageDesc: "
|
|
124
|
+
readonly pageDesc: "独立 API Key 与 Anthropic 兼容端点,主账号优先、故障自动切换。";
|
|
126
125
|
readonly loading: "正在读取线路状态…";
|
|
127
126
|
readonly accountAlias: "账号名称";
|
|
128
127
|
readonly editAccount: "编辑";
|
|
129
128
|
readonly saveAccount: "保存账号";
|
|
130
129
|
readonly cancel: "取消";
|
|
131
130
|
readonly keyKeepPlaceholder: "留空则保留当前 Key";
|
|
132
|
-
readonly enabled: "启用 Claude API";
|
|
133
131
|
readonly keySection: "API Key";
|
|
134
132
|
readonly keyPlaceholder: "sk-ant-…";
|
|
135
133
|
readonly saveKey: "保存密钥";
|
|
@@ -193,7 +191,7 @@ export declare const dictionaries: {
|
|
|
193
191
|
readonly autoCompactSubagents: "子代理完成后自动压缩";
|
|
194
192
|
readonly autoCompactSubagentsHint: "默认开启。只压缩子代理自己的上下文,不影响主对话;压缩失败不影响任务结果。";
|
|
195
193
|
readonly moreNotes: "计费与兼容说明";
|
|
196
|
-
readonly cacheTtlNote: "
|
|
194
|
+
readonly cacheTtlNote: "5 分钟与 1 小时两档;1 小时写入按 2 倍计费,子代理/后台每 55 分钟续热。";
|
|
197
195
|
readonly fastModeNote: "快速模式按溢价计费,并且只对支持它的模型生效。";
|
|
198
196
|
readonly serverCompactionNote: "端点不支持服务端压缩时,自动退回客户端压缩。";
|
|
199
197
|
readonly contextSection: "上下文窗口";
|
|
@@ -238,6 +236,6 @@ export declare const dictionaries: {
|
|
|
238
236
|
readonly quotaFactsScope: string;
|
|
239
237
|
readonly composerLabel: string;
|
|
240
238
|
};
|
|
241
|
-
en: Record<"rotationStrategy" | "cancel" | "loading" | "save" | "tokens" | "title" | "pageDesc" | "moreNotes" | "testConnection" | "testingConnection" | "routeOwned" | "routeConflict" | "modelsSection" | "modelsHint" | "refreshCatalog" | "refreshingCatalog" | "selectAll" | "defaultEffort" | "effortLow" | "effortMedium" | "effortHigh" | "effortMax" | "saving" | "invalidCapacity" | "quotaUsed" | "quotaResets" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "relogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "expires" | "lastUsed" | "accountId" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaExhausted" | "quotaWindow" | "quotaFactsScope" | "composerLabel" | "
|
|
239
|
+
en: Record<"rotationStrategy" | "cancel" | "loading" | "save" | "tokens" | "title" | "pageDesc" | "moreNotes" | "testConnection" | "testingConnection" | "routeOwned" | "routeConflict" | "modelsSection" | "modelsHint" | "refreshCatalog" | "refreshingCatalog" | "selectAll" | "defaultEffort" | "effortLow" | "effortMedium" | "effortHigh" | "effortMax" | "saving" | "invalidCapacity" | "quotaUsed" | "quotaResets" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "relogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "expires" | "lastUsed" | "accountId" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaExhausted" | "quotaWindow" | "quotaFactsScope" | "composerLabel" | "keySection" | "keyConfigured" | "keyMissing" | "keyPlaceholder" | "saveKey" | "savingKey" | "removeKey" | "removingKey" | "storagePath" | "connectionOk" | "connectionFailed" | "latency" | "effortDefault" | "effortNone" | "effortHint" | "clearAll" | "selectionHint" | "contextSection" | "contextHint" | "contextEmpty" | "reset" | "resetAll" | "cacheTtl" | "effortXhigh" | "fastMode" | "cacheTtl1h" | "cacheTtl5m" | "subagentCacheTtl" | "subagentCacheTtlHint" | "autoCompactSubagents" | "autoCompactSubagentsHint" | "catalogStale" | "catalogEmpty" | "modelCount" | "catalogLoading" | "catalogError" | "reasoningSection" | "accountAlias" | "editAccount" | "saveAccount" | "keyKeepPlaceholder" | "clientVersion" | "versionSourceEnv" | "versionSourceNpm" | "versionSourceCached" | "versionSourceDefault" | "versionPending" | "endpoint" | "restoreEndpoint" | "endpointErrorEmpty" | "endpointErrorInvalid" | "endpointErrorScheme" | "endpointErrorCredentials" | "endpointErrorQuery" | "optionsSection" | "optionsHint" | "serverCompaction" | "cacheTtlNote" | "fastModeNote" | "serverCompactionNote", string>;
|
|
242
240
|
};
|
|
243
241
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../../src/client/providers/claude-api/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,mBAAmB,CAAA;AAC7C,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../../src/client/providers/claude-api/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,mBAAmB,CAAA;AAC7C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBL,CAAA;AACV,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,EAAE,CAAA;AAChD,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAuBjD,CAAA;AACD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAa,CAAA"}
|
|
@@ -42,7 +42,7 @@ export declare const zh: {
|
|
|
42
42
|
readonly keyTestFailed: "Key 不可用:{detail}";
|
|
43
43
|
readonly testSavedKey: "测试";
|
|
44
44
|
readonly modelsSection: "模型";
|
|
45
|
-
readonly modelsHint: "
|
|
45
|
+
readonly modelsHint: "仅内置、官方目录和手动添加的模型;首次使用前先刷新。";
|
|
46
46
|
readonly modelCount: "{count} 个模型";
|
|
47
47
|
readonly modelChecklistCount: "已选 {count} / 共 {total} 个模型";
|
|
48
48
|
readonly selectAll: "全选";
|
|
@@ -193,7 +193,7 @@ export declare const en: {
|
|
|
193
193
|
readonly keyTestFailed: "Key rejected: {detail}";
|
|
194
194
|
readonly testSavedKey: "Test";
|
|
195
195
|
readonly modelsSection: "Models";
|
|
196
|
-
readonly modelsHint: "Only bundled
|
|
196
|
+
readonly modelsHint: "Only bundled, official-catalog, and manually added models; refresh once before first use.";
|
|
197
197
|
readonly modelCount: "{count} model(s)";
|
|
198
198
|
readonly modelChecklistCount: "{count} of {total} selected";
|
|
199
199
|
readonly selectAll: "Select all";
|
|
@@ -345,7 +345,7 @@ export declare const dictionaries: {
|
|
|
345
345
|
readonly keyTestFailed: "Key 不可用:{detail}";
|
|
346
346
|
readonly testSavedKey: "测试";
|
|
347
347
|
readonly modelsSection: "模型";
|
|
348
|
-
readonly modelsHint: "
|
|
348
|
+
readonly modelsHint: "仅内置、官方目录和手动添加的模型;首次使用前先刷新。";
|
|
349
349
|
readonly modelCount: "{count} 个模型";
|
|
350
350
|
readonly modelChecklistCount: "已选 {count} / 共 {total} 个模型";
|
|
351
351
|
readonly selectAll: "全选";
|
|
@@ -496,7 +496,7 @@ export declare const dictionaries: {
|
|
|
496
496
|
readonly keyTestFailed: "Key 不可用:{detail}";
|
|
497
497
|
readonly testSavedKey: "测试";
|
|
498
498
|
readonly modelsSection: "模型";
|
|
499
|
-
readonly modelsHint: "
|
|
499
|
+
readonly modelsHint: "仅内置、官方目录和手动添加的模型;首次使用前先刷新。";
|
|
500
500
|
readonly modelCount: "{count} 个模型";
|
|
501
501
|
readonly modelChecklistCount: "已选 {count} / 共 {total} 个模型";
|
|
502
502
|
readonly selectAll: "全选";
|
|
@@ -647,7 +647,7 @@ export declare const dictionaries: {
|
|
|
647
647
|
readonly keyTestFailed: "Key rejected: {detail}";
|
|
648
648
|
readonly testSavedKey: "Test";
|
|
649
649
|
readonly modelsSection: "Models";
|
|
650
|
-
readonly modelsHint: "Only bundled
|
|
650
|
+
readonly modelsHint: "Only bundled, official-catalog, and manually added models; refresh once before first use.";
|
|
651
651
|
readonly modelCount: "{count} model(s)";
|
|
652
652
|
readonly modelChecklistCount: "{count} of {total} selected";
|
|
653
653
|
readonly selectAll: "Select all";
|
|
@@ -798,7 +798,7 @@ export declare const dictionaries: {
|
|
|
798
798
|
readonly keyTestFailed: "Key rejected: {detail}";
|
|
799
799
|
readonly testSavedKey: "Test";
|
|
800
800
|
readonly modelsSection: "Models";
|
|
801
|
-
readonly modelsHint: "Only bundled
|
|
801
|
+
readonly modelsHint: "Only bundled, official-catalog, and manually added models; refresh once before first use.";
|
|
802
802
|
readonly modelCount: "{count} model(s)";
|
|
803
803
|
readonly modelChecklistCount: "{count} of {total} selected";
|
|
804
804
|
readonly selectAll: "Select all";
|
|
@@ -25,10 +25,10 @@ export declare const zh: {
|
|
|
25
25
|
readonly selectAll: "全选";
|
|
26
26
|
readonly unselectAll: "全不选";
|
|
27
27
|
readonly models: "可用模型";
|
|
28
|
-
readonly modelsHint: "
|
|
28
|
+
readonly modelsHint: "仅已勾选模型进入选择器;关闭供应商开关可整体隐藏。";
|
|
29
29
|
readonly proxySettings: "网络代理";
|
|
30
30
|
readonly proxyMode: "代理模式";
|
|
31
|
-
readonly proxyModeHint: "
|
|
31
|
+
readonly proxyModeHint: "只影响本线路的对话、登录、目录与额度;修改后对新请求生效。";
|
|
32
32
|
readonly proxyModeAuto: "系统代理(自动检测)";
|
|
33
33
|
readonly proxyModeCustom: "自定义代理";
|
|
34
34
|
readonly proxyModeDirect: "直连(禁用代理)";
|
|
@@ -37,7 +37,7 @@ export declare const zh: {
|
|
|
37
37
|
readonly customProxyUrlPlaceholder: "例如: http://127.0.0.1:7890";
|
|
38
38
|
readonly saveProxyUrl: "保存代理地址";
|
|
39
39
|
readonly noProxy: "不使用代理的主机";
|
|
40
|
-
readonly noProxyHint: "
|
|
40
|
+
readonly noProxyHint: "这些主机始终直连;支持精确主机、域名后缀和 host:port。";
|
|
41
41
|
readonly noProxyPlaceholder: "例如: copilot.tencent.com, *.corp.example, gateway.lan:8080";
|
|
42
42
|
readonly saveNoProxy: "保存直连主机列表";
|
|
43
43
|
readonly proxyDirectActive: "当前生效:直连(不经过代理)";
|
|
@@ -75,7 +75,7 @@ export declare const zh: {
|
|
|
75
75
|
readonly summaryDetailed: "详细(显示更详细的推理摘要)";
|
|
76
76
|
readonly summaryNone: "无(不显示推理摘要)";
|
|
77
77
|
readonly searchProvider: "搜索来源";
|
|
78
|
-
readonly searchProviderHint: "
|
|
78
|
+
readonly searchProviderHint: "选择联网搜索来源;auto 抓取模式跟随此选择。";
|
|
79
79
|
readonly searchProviderDsh: "DSH 默认";
|
|
80
80
|
readonly searchProviderCodex: "ChatGPT(代理隧道)";
|
|
81
81
|
readonly fetchStatus: "抓取来源(只读)";
|
|
@@ -100,7 +100,7 @@ export declare const zh: {
|
|
|
100
100
|
readonly fetchConfigSource: "模式与上限在插件 Config 中修改(不是本页面偏好),修改后重载插件或重启 DSH 生效。";
|
|
101
101
|
readonly providerDefault: "使用 Provider 默认值";
|
|
102
102
|
readonly contextWindows: "模型上下文窗口";
|
|
103
|
-
readonly contextWindowsHint: "
|
|
103
|
+
readonly contextWindowsHint: "仅列已勾选模型;默认取目录值,可输入容量或恢复默认。";
|
|
104
104
|
readonly contextWindow: "上下文窗口";
|
|
105
105
|
readonly contextWindowInvalid: "上下文窗口必须是正整数,且不能超过模型上限(GPT-6 系列为 872K,其余为 1M);可使用 K 或 M 后缀。";
|
|
106
106
|
readonly contextWindowReset: "恢复默认";
|
|
@@ -234,7 +234,7 @@ export declare const zh: {
|
|
|
234
234
|
readonly deviceCodeLogin: "设备代码登录";
|
|
235
235
|
readonly deviceCodeLoginStarting: "获取代码…";
|
|
236
236
|
readonly deviceCodeLoginDetail: "用设备代码添加账号";
|
|
237
|
-
readonly deviceCodeHint: "
|
|
237
|
+
readonly deviceCodeHint: "在任意设备打开链接并输入代码,本页会自动完成登录。";
|
|
238
238
|
readonly deviceCodeLabel: "设备代码";
|
|
239
239
|
readonly deviceCodeOpen: "打开确认页面";
|
|
240
240
|
readonly deviceCodeCopy: "复制到剪贴板";
|
|
@@ -242,7 +242,7 @@ export declare const zh: {
|
|
|
242
242
|
readonly stopImporting: "停止导入全部本机登录";
|
|
243
243
|
readonly stopImportingLabel: "停止导入全部本机登录(当前 {count} 个)";
|
|
244
244
|
readonly stopImportingBusy: "停止导入中…";
|
|
245
|
-
readonly stopImportingHint: "
|
|
245
|
+
readonly stopImportingHint: "只清除本插件导入的副本,不会修改 Codex CLI 自己的登录文件。";
|
|
246
246
|
readonly 'cardName.chatgpt': "ChatGPT";
|
|
247
247
|
readonly 'cardName.command-code': "Command Code";
|
|
248
248
|
readonly 'cardName.kimi-code': "Kimi Code";
|
|
@@ -342,10 +342,10 @@ export declare const dictionaries: {
|
|
|
342
342
|
readonly selectAll: "全选";
|
|
343
343
|
readonly unselectAll: "全不选";
|
|
344
344
|
readonly models: "可用模型";
|
|
345
|
-
readonly modelsHint: "
|
|
345
|
+
readonly modelsHint: "仅已勾选模型进入选择器;关闭供应商开关可整体隐藏。";
|
|
346
346
|
readonly proxySettings: "网络代理";
|
|
347
347
|
readonly proxyMode: "代理模式";
|
|
348
|
-
readonly proxyModeHint: "
|
|
348
|
+
readonly proxyModeHint: "只影响本线路的对话、登录、目录与额度;修改后对新请求生效。";
|
|
349
349
|
readonly proxyModeAuto: "系统代理(自动检测)";
|
|
350
350
|
readonly proxyModeCustom: "自定义代理";
|
|
351
351
|
readonly proxyModeDirect: "直连(禁用代理)";
|
|
@@ -354,7 +354,7 @@ export declare const dictionaries: {
|
|
|
354
354
|
readonly customProxyUrlPlaceholder: "例如: http://127.0.0.1:7890";
|
|
355
355
|
readonly saveProxyUrl: "保存代理地址";
|
|
356
356
|
readonly noProxy: "不使用代理的主机";
|
|
357
|
-
readonly noProxyHint: "
|
|
357
|
+
readonly noProxyHint: "这些主机始终直连;支持精确主机、域名后缀和 host:port。";
|
|
358
358
|
readonly noProxyPlaceholder: "例如: copilot.tencent.com, *.corp.example, gateway.lan:8080";
|
|
359
359
|
readonly saveNoProxy: "保存直连主机列表";
|
|
360
360
|
readonly proxyDirectActive: "当前生效:直连(不经过代理)";
|
|
@@ -392,7 +392,7 @@ export declare const dictionaries: {
|
|
|
392
392
|
readonly summaryDetailed: "详细(显示更详细的推理摘要)";
|
|
393
393
|
readonly summaryNone: "无(不显示推理摘要)";
|
|
394
394
|
readonly searchProvider: "搜索来源";
|
|
395
|
-
readonly searchProviderHint: "
|
|
395
|
+
readonly searchProviderHint: "选择联网搜索来源;auto 抓取模式跟随此选择。";
|
|
396
396
|
readonly searchProviderDsh: "DSH 默认";
|
|
397
397
|
readonly searchProviderCodex: "ChatGPT(代理隧道)";
|
|
398
398
|
readonly fetchStatus: "抓取来源(只读)";
|
|
@@ -417,7 +417,7 @@ export declare const dictionaries: {
|
|
|
417
417
|
readonly fetchConfigSource: "模式与上限在插件 Config 中修改(不是本页面偏好),修改后重载插件或重启 DSH 生效。";
|
|
418
418
|
readonly providerDefault: "使用 Provider 默认值";
|
|
419
419
|
readonly contextWindows: "模型上下文窗口";
|
|
420
|
-
readonly contextWindowsHint: "
|
|
420
|
+
readonly contextWindowsHint: "仅列已勾选模型;默认取目录值,可输入容量或恢复默认。";
|
|
421
421
|
readonly contextWindow: "上下文窗口";
|
|
422
422
|
readonly contextWindowInvalid: "上下文窗口必须是正整数,且不能超过模型上限(GPT-6 系列为 872K,其余为 1M);可使用 K 或 M 后缀。";
|
|
423
423
|
readonly contextWindowReset: "恢复默认";
|
|
@@ -551,7 +551,7 @@ export declare const dictionaries: {
|
|
|
551
551
|
readonly deviceCodeLogin: "设备代码登录";
|
|
552
552
|
readonly deviceCodeLoginStarting: "获取代码…";
|
|
553
553
|
readonly deviceCodeLoginDetail: "用设备代码添加账号";
|
|
554
|
-
readonly deviceCodeHint: "
|
|
554
|
+
readonly deviceCodeHint: "在任意设备打开链接并输入代码,本页会自动完成登录。";
|
|
555
555
|
readonly deviceCodeLabel: "设备代码";
|
|
556
556
|
readonly deviceCodeOpen: "打开确认页面";
|
|
557
557
|
readonly deviceCodeCopy: "复制到剪贴板";
|
|
@@ -559,7 +559,7 @@ export declare const dictionaries: {
|
|
|
559
559
|
readonly stopImporting: "停止导入全部本机登录";
|
|
560
560
|
readonly stopImportingLabel: "停止导入全部本机登录(当前 {count} 个)";
|
|
561
561
|
readonly stopImportingBusy: "停止导入中…";
|
|
562
|
-
readonly stopImportingHint: "
|
|
562
|
+
readonly stopImportingHint: "只清除本插件导入的副本,不会修改 Codex CLI 自己的登录文件。";
|
|
563
563
|
readonly 'cardName.chatgpt': "ChatGPT";
|
|
564
564
|
readonly 'cardName.command-code': "Command Code";
|
|
565
565
|
readonly 'cardName.kimi-code': "Kimi Code";
|
|
@@ -30,7 +30,7 @@ export declare const zh: {
|
|
|
30
30
|
readonly routeOwned: "模型路由由本插件提供";
|
|
31
31
|
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
|
|
32
32
|
readonly modelsSection: "模型";
|
|
33
|
-
readonly modelsHint: "
|
|
33
|
+
readonly modelsHint: "仅勾选模型进入选择器;全部取消或关闭概览开关可隐藏。";
|
|
34
34
|
readonly refreshCatalog: "刷新模型目录";
|
|
35
35
|
readonly refreshingCatalog: "刷新中...";
|
|
36
36
|
readonly catalogStale: "目录来自缓存,可能过期;可手动刷新";
|
|
@@ -140,7 +140,7 @@ export declare const dictionaries: {
|
|
|
140
140
|
readonly routeOwned: "模型路由由本插件提供";
|
|
141
141
|
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
|
|
142
142
|
readonly modelsSection: "模型";
|
|
143
|
-
readonly modelsHint: "
|
|
143
|
+
readonly modelsHint: "仅勾选模型进入选择器;全部取消或关闭概览开关可隐藏。";
|
|
144
144
|
readonly refreshCatalog: "刷新模型目录";
|
|
145
145
|
readonly refreshingCatalog: "刷新中...";
|
|
146
146
|
readonly catalogStale: "目录来自缓存,可能过期;可手动刷新";
|
|
@@ -248,7 +248,7 @@ export declare const dictionaries: {
|
|
|
248
248
|
readonly routeOwned: "模型路由由本插件提供";
|
|
249
249
|
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
|
|
250
250
|
readonly modelsSection: "模型";
|
|
251
|
-
readonly modelsHint: "
|
|
251
|
+
readonly modelsHint: "仅勾选模型进入选择器;全部取消或关闭概览开关可隐藏。";
|
|
252
252
|
readonly refreshCatalog: "刷新模型目录";
|
|
253
253
|
readonly refreshingCatalog: "刷新中...";
|
|
254
254
|
readonly catalogStale: "目录来自缓存,可能过期;可手动刷新";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopilotSection.d.ts","sourceRoot":"","sources":["../../../../../src/client/providers/copilot/CopilotSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;AAU/D,OAAO,EAKL,KAAK,gBAAgB,EACtB,MAAM,sCAAsC,CAAA;
|
|
1
|
+
{"version":3,"file":"CopilotSection.d.ts","sourceRoot":"","sources":["../../../../../src/client/providers/copilot/CopilotSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;AAU/D,OAAO,EAKL,KAAK,gBAAgB,EACtB,MAAM,sCAAsC,CAAA;AAO7C,MAAM,WAAW,mBAAmB;IAClC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC/B,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC,CAAA;CACvC;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,GAAE,mBAAwB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAwLjF;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -9,12 +9,12 @@ import type { GlmAdoptResultDto, GlmAllowanceKind, GlmQuotaWindowKey } from '../
|
|
|
9
9
|
export declare const NS_GLM_CODING_PLAN = "dsh-glm-coding-plan";
|
|
10
10
|
export declare const zh: {
|
|
11
11
|
readonly title: "GLM(ZCode 账号)";
|
|
12
|
-
readonly pageDesc: "
|
|
12
|
+
readonly pageDesc: "ZCode 授权接入 GLM Coding Plan,管理账号池、额度与模型。";
|
|
13
13
|
readonly loading: "加载中...";
|
|
14
14
|
readonly region: "区域";
|
|
15
15
|
readonly regionCn: "国区(bigmodel.cn)";
|
|
16
16
|
readonly regionIntl: "国际区(z.ai)";
|
|
17
|
-
readonly regionHint: "
|
|
17
|
+
readonly regionHint: "登录与凭据都按所选区域处理,两区账号不能混用。";
|
|
18
18
|
readonly authorizing: "授权中…";
|
|
19
19
|
readonly loginIdle: "尚未开始登录。";
|
|
20
20
|
readonly loginHaveAccounts: "号池里已有 {count} 个账号可用。要再加一个就点上面的「添加账号」。";
|
|
@@ -72,7 +72,7 @@ export declare const zh: {
|
|
|
72
72
|
readonly unselectAll: "全不选";
|
|
73
73
|
readonly modelChecklistCount: "{count}/{total}";
|
|
74
74
|
readonly contextWindowSection: "模型上下文窗口";
|
|
75
|
-
readonly contextWindowHint: "
|
|
75
|
+
readonly contextWindowHint: "默认取随包目录上限;可覆盖 DSH 用于压缩和溢出的容量。";
|
|
76
76
|
readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
|
|
77
77
|
readonly contextWindowReset: "恢复默认";
|
|
78
78
|
readonly contextWindowResetAll: "全部恢复默认";
|
|
@@ -98,7 +98,7 @@ export declare const zh: {
|
|
|
98
98
|
readonly quotaAllowancePlan: "付费套餐";
|
|
99
99
|
readonly quotaAllowanceFreeTrial: "免费体验额度";
|
|
100
100
|
readonly quotaAllowanceUnknown: "未判定";
|
|
101
|
-
readonly quotaAllowanceHint: "
|
|
101
|
+
readonly quotaAllowanceHint: "登录探活认定的额度来源;免费体验为 5 天每天 800 万 token。";
|
|
102
102
|
readonly accountPool: string;
|
|
103
103
|
readonly addAccount: string;
|
|
104
104
|
readonly accountCount: string;
|
|
@@ -136,12 +136,12 @@ export declare const en: Record<keyof typeof zh, string>;
|
|
|
136
136
|
export declare const dictionaries: {
|
|
137
137
|
zh: {
|
|
138
138
|
readonly title: "GLM(ZCode 账号)";
|
|
139
|
-
readonly pageDesc: "
|
|
139
|
+
readonly pageDesc: "ZCode 授权接入 GLM Coding Plan,管理账号池、额度与模型。";
|
|
140
140
|
readonly loading: "加载中...";
|
|
141
141
|
readonly region: "区域";
|
|
142
142
|
readonly regionCn: "国区(bigmodel.cn)";
|
|
143
143
|
readonly regionIntl: "国际区(z.ai)";
|
|
144
|
-
readonly regionHint: "
|
|
144
|
+
readonly regionHint: "登录与凭据都按所选区域处理,两区账号不能混用。";
|
|
145
145
|
readonly authorizing: "授权中…";
|
|
146
146
|
readonly loginIdle: "尚未开始登录。";
|
|
147
147
|
readonly loginHaveAccounts: "号池里已有 {count} 个账号可用。要再加一个就点上面的「添加账号」。";
|
|
@@ -199,7 +199,7 @@ export declare const dictionaries: {
|
|
|
199
199
|
readonly unselectAll: "全不选";
|
|
200
200
|
readonly modelChecklistCount: "{count}/{total}";
|
|
201
201
|
readonly contextWindowSection: "模型上下文窗口";
|
|
202
|
-
readonly contextWindowHint: "
|
|
202
|
+
readonly contextWindowHint: "默认取随包目录上限;可覆盖 DSH 用于压缩和溢出的容量。";
|
|
203
203
|
readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
|
|
204
204
|
readonly contextWindowReset: "恢复默认";
|
|
205
205
|
readonly contextWindowResetAll: "全部恢复默认";
|
|
@@ -225,7 +225,7 @@ export declare const dictionaries: {
|
|
|
225
225
|
readonly quotaAllowancePlan: "付费套餐";
|
|
226
226
|
readonly quotaAllowanceFreeTrial: "免费体验额度";
|
|
227
227
|
readonly quotaAllowanceUnknown: "未判定";
|
|
228
|
-
readonly quotaAllowanceHint: "
|
|
228
|
+
readonly quotaAllowanceHint: "登录探活认定的额度来源;免费体验为 5 天每天 800 万 token。";
|
|
229
229
|
readonly accountPool: string;
|
|
230
230
|
readonly addAccount: string;
|
|
231
231
|
readonly accountCount: string;
|
|
@@ -261,12 +261,12 @@ export declare const dictionaries: {
|
|
|
261
261
|
};
|
|
262
262
|
'zh-CN': {
|
|
263
263
|
readonly title: "GLM(ZCode 账号)";
|
|
264
|
-
readonly pageDesc: "
|
|
264
|
+
readonly pageDesc: "ZCode 授权接入 GLM Coding Plan,管理账号池、额度与模型。";
|
|
265
265
|
readonly loading: "加载中...";
|
|
266
266
|
readonly region: "区域";
|
|
267
267
|
readonly regionCn: "国区(bigmodel.cn)";
|
|
268
268
|
readonly regionIntl: "国际区(z.ai)";
|
|
269
|
-
readonly regionHint: "
|
|
269
|
+
readonly regionHint: "登录与凭据都按所选区域处理,两区账号不能混用。";
|
|
270
270
|
readonly authorizing: "授权中…";
|
|
271
271
|
readonly loginIdle: "尚未开始登录。";
|
|
272
272
|
readonly loginHaveAccounts: "号池里已有 {count} 个账号可用。要再加一个就点上面的「添加账号」。";
|
|
@@ -324,7 +324,7 @@ export declare const dictionaries: {
|
|
|
324
324
|
readonly unselectAll: "全不选";
|
|
325
325
|
readonly modelChecklistCount: "{count}/{total}";
|
|
326
326
|
readonly contextWindowSection: "模型上下文窗口";
|
|
327
|
-
readonly contextWindowHint: "
|
|
327
|
+
readonly contextWindowHint: "默认取随包目录上限;可覆盖 DSH 用于压缩和溢出的容量。";
|
|
328
328
|
readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
|
|
329
329
|
readonly contextWindowReset: "恢复默认";
|
|
330
330
|
readonly contextWindowResetAll: "全部恢复默认";
|
|
@@ -350,7 +350,7 @@ export declare const dictionaries: {
|
|
|
350
350
|
readonly quotaAllowancePlan: "付费套餐";
|
|
351
351
|
readonly quotaAllowanceFreeTrial: "免费体验额度";
|
|
352
352
|
readonly quotaAllowanceUnknown: "未判定";
|
|
353
|
-
readonly quotaAllowanceHint: "
|
|
353
|
+
readonly quotaAllowanceHint: "登录探活认定的额度来源;免费体验为 5 天每天 800 万 token。";
|
|
354
354
|
readonly accountPool: string;
|
|
355
355
|
readonly addAccount: string;
|
|
356
356
|
readonly accountCount: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GrokSection.d.ts","sourceRoot":"","sources":["../../../../../src/client/providers/grok/GrokSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AASvC,OAAO,EAA8D,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAOvH,wBAAgB,WAAW,CAAC,KAAK,GAAE,gBAAqB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"GrokSection.d.ts","sourceRoot":"","sources":["../../../../../src/client/providers/grok/GrokSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AASvC,OAAO,EAA8D,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAOvH,wBAAgB,WAAW,CAAC,KAAK,GAAE,gBAAqB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA4H3E"}
|