@eddyskywalker/dsh-chatgpt-subscription 0.98.1 → 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 +617 -42
- 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/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 +1 -1
package/lib/client.js
CHANGED
|
@@ -638,10 +638,10 @@ window.__ModuleLoader__.load({
|
|
|
638
638
|
selectAll: "全选",
|
|
639
639
|
unselectAll: "全不选",
|
|
640
640
|
models: "可用模型",
|
|
641
|
-
modelsHint: "
|
|
641
|
+
modelsHint: "仅已勾选模型进入选择器;关闭供应商开关可整体隐藏。",
|
|
642
642
|
proxySettings: "网络代理",
|
|
643
643
|
proxyMode: "代理模式",
|
|
644
|
-
proxyModeHint: "
|
|
644
|
+
proxyModeHint: "只影响本线路的对话、登录、目录与额度;修改后对新请求生效。",
|
|
645
645
|
proxyModeAuto: "系统代理(自动检测)",
|
|
646
646
|
proxyModeCustom: "自定义代理",
|
|
647
647
|
proxyModeDirect: "直连(禁用代理)",
|
|
@@ -650,7 +650,7 @@ window.__ModuleLoader__.load({
|
|
|
650
650
|
customProxyUrlPlaceholder: "例如: http://127.0.0.1:7890",
|
|
651
651
|
saveProxyUrl: "保存代理地址",
|
|
652
652
|
noProxy: "不使用代理的主机",
|
|
653
|
-
noProxyHint: "
|
|
653
|
+
noProxyHint: "这些主机始终直连;支持精确主机、域名后缀和 host:port。",
|
|
654
654
|
noProxyPlaceholder: "例如: copilot.tencent.com, *.corp.example, gateway.lan:8080",
|
|
655
655
|
saveNoProxy: "保存直连主机列表",
|
|
656
656
|
proxyDirectActive: "当前生效:直连(不经过代理)",
|
|
@@ -688,7 +688,7 @@ window.__ModuleLoader__.load({
|
|
|
688
688
|
summaryDetailed: "详细(显示更详细的推理摘要)",
|
|
689
689
|
summaryNone: "无(不显示推理摘要)",
|
|
690
690
|
searchProvider: "搜索来源",
|
|
691
|
-
searchProviderHint: "
|
|
691
|
+
searchProviderHint: "选择联网搜索来源;auto 抓取模式跟随此选择。",
|
|
692
692
|
searchProviderDsh: "DSH 默认",
|
|
693
693
|
searchProviderCodex: "ChatGPT(代理隧道)",
|
|
694
694
|
fetchStatus: "抓取来源(只读)",
|
|
@@ -713,7 +713,7 @@ window.__ModuleLoader__.load({
|
|
|
713
713
|
fetchConfigSource: "模式与上限在插件 Config 中修改(不是本页面偏好),修改后重载插件或重启 DSH 生效。",
|
|
714
714
|
providerDefault: "使用 Provider 默认值",
|
|
715
715
|
contextWindows: "模型上下文窗口",
|
|
716
|
-
contextWindowsHint: "
|
|
716
|
+
contextWindowsHint: "仅列已勾选模型;默认取目录值,可输入容量或恢复默认。",
|
|
717
717
|
contextWindow: "上下文窗口",
|
|
718
718
|
contextWindowInvalid: "上下文窗口必须是正整数,且不能超过模型上限(GPT-6 系列为 872K,其余为 1M);可使用 K 或 M 后缀。",
|
|
719
719
|
contextWindowReset: "恢复默认",
|
|
@@ -847,7 +847,7 @@ window.__ModuleLoader__.load({
|
|
|
847
847
|
deviceCodeLogin: "设备代码登录",
|
|
848
848
|
deviceCodeLoginStarting: "获取代码…",
|
|
849
849
|
deviceCodeLoginDetail: "用设备代码添加账号",
|
|
850
|
-
deviceCodeHint: "
|
|
850
|
+
deviceCodeHint: "在任意设备打开链接并输入代码,本页会自动完成登录。",
|
|
851
851
|
deviceCodeLabel: "设备代码",
|
|
852
852
|
deviceCodeOpen: "打开确认页面",
|
|
853
853
|
deviceCodeCopy: "复制到剪贴板",
|
|
@@ -855,7 +855,7 @@ window.__ModuleLoader__.load({
|
|
|
855
855
|
stopImporting: "停止导入全部本机登录",
|
|
856
856
|
stopImportingLabel: "停止导入全部本机登录(当前 {count} 个)",
|
|
857
857
|
stopImportingBusy: "停止导入中…",
|
|
858
|
-
stopImportingHint: "
|
|
858
|
+
stopImportingHint: "只清除本插件导入的副本,不会修改 Codex CLI 自己的登录文件。",
|
|
859
859
|
"cardName.chatgpt": "ChatGPT",
|
|
860
860
|
"cardName.command-code": "Command Code",
|
|
861
861
|
"cardName.kimi-code": "Kimi Code",
|
|
@@ -925,10 +925,10 @@ window.__ModuleLoader__.load({
|
|
|
925
925
|
selectAll: "Select all",
|
|
926
926
|
unselectAll: "Unselect all",
|
|
927
927
|
models: "Available models",
|
|
928
|
-
modelsHint: "
|
|
928
|
+
modelsHint: "Only checked models reach the picker; turn off the provider switch to hide it entirely.",
|
|
929
929
|
proxySettings: "Network Proxy",
|
|
930
930
|
proxyMode: "Proxy Mode",
|
|
931
|
-
proxyModeHint: "Affects
|
|
931
|
+
proxyModeHint: "Affects this line only: chat, sign-in, catalog, and quota; changes apply to new requests.",
|
|
932
932
|
proxyModeAuto: "System Proxy (Auto-detect)",
|
|
933
933
|
proxyModeCustom: "Custom Proxy",
|
|
934
934
|
proxyModeDirect: "Direct (No Proxy)",
|
|
@@ -937,7 +937,7 @@ window.__ModuleLoader__.load({
|
|
|
937
937
|
customProxyUrlPlaceholder: "e.g. http://127.0.0.1:7890",
|
|
938
938
|
saveProxyUrl: "Save Proxy URL",
|
|
939
939
|
noProxy: "Hosts that bypass the proxy",
|
|
940
|
-
noProxyHint: "These hosts always connect directly
|
|
940
|
+
noProxyHint: "These hosts always connect directly; exact hosts, domain suffixes, and host:port are supported.",
|
|
941
941
|
noProxyPlaceholder: "e.g. copilot.tencent.com, *.corp.example, gateway.lan:8080",
|
|
942
942
|
saveNoProxy: "Save bypass list",
|
|
943
943
|
proxyDirectActive: "Active now: direct (no proxy)",
|
|
@@ -975,7 +975,7 @@ window.__ModuleLoader__.load({
|
|
|
975
975
|
summaryDetailed: "Detailed (in-depth summary)",
|
|
976
976
|
summaryNone: "None (hide reasoning summary)",
|
|
977
977
|
searchProvider: "Search provider",
|
|
978
|
-
searchProviderHint: "Choose
|
|
978
|
+
searchProviderHint: "Choose the web-search source; fetch mode auto follows this choice.",
|
|
979
979
|
searchProviderDsh: "DSH default",
|
|
980
980
|
searchProviderCodex: "ChatGPT (Proxy tunnel)",
|
|
981
981
|
fetchStatus: "Fetch source (read-only)",
|
|
@@ -1000,7 +1000,7 @@ window.__ModuleLoader__.load({
|
|
|
1000
1000
|
fetchConfigSource: "Mode and limits are changed in the plugin Config, not in these settings; they take effect after a plugin reload or a DSH restart.",
|
|
1001
1001
|
providerDefault: "Use provider default",
|
|
1002
1002
|
contextWindows: "Model context windows",
|
|
1003
|
-
contextWindowsHint: "Lists
|
|
1003
|
+
contextWindowsHint: "Lists checked models only; uses catalog values, with custom capacities or restore.",
|
|
1004
1004
|
contextWindow: "Context window",
|
|
1005
1005
|
contextWindowInvalid: "The context window must be a positive integer within the model limit (872K for the GPT-6 family, 1M otherwise). K and M suffixes are accepted.",
|
|
1006
1006
|
contextWindowReset: "Restore default",
|
|
@@ -1134,7 +1134,7 @@ window.__ModuleLoader__.load({
|
|
|
1134
1134
|
deviceCodeLogin: "Device-code sign-in",
|
|
1135
1135
|
deviceCodeLoginStarting: "Requesting code…",
|
|
1136
1136
|
deviceCodeLoginDetail: "Add account with device code",
|
|
1137
|
-
deviceCodeHint: "Open the link
|
|
1137
|
+
deviceCodeHint: "Open the link on any device and enter the code; this page finishes signing in.",
|
|
1138
1138
|
deviceCodeLabel: "Device code",
|
|
1139
1139
|
deviceCodeOpen: "Open the confirmation page",
|
|
1140
1140
|
deviceCodeCopy: "Copy to clipboard",
|
|
@@ -1142,7 +1142,7 @@ window.__ModuleLoader__.load({
|
|
|
1142
1142
|
stopImporting: "Stop importing all local sign-ins",
|
|
1143
1143
|
stopImportingLabel: "Stop importing all local sign-ins ({count} currently imported)",
|
|
1144
1144
|
stopImportingBusy: "Stopping the import…",
|
|
1145
|
-
stopImportingHint: "
|
|
1145
|
+
stopImportingHint: "Only clears the imported copy; the Codex CLI sign-in file is untouched.",
|
|
1146
1146
|
"cardName.chatgpt": "ChatGPT",
|
|
1147
1147
|
"cardName.command-code": "Command Code",
|
|
1148
1148
|
"cardName.kimi-code": "Kimi Code",
|
|
@@ -2617,6 +2617,10 @@ window.__ModuleLoader__.load({
|
|
|
2617
2617
|
children: props.loginBusyLabel || t.addAccount
|
|
2618
2618
|
})]
|
|
2619
2619
|
}),
|
|
2620
|
+
props.description !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
2621
|
+
className: "dsha-muted",
|
|
2622
|
+
children: props.description
|
|
2623
|
+
}),
|
|
2620
2624
|
props.showStrategy !== false && accounts.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2621
2625
|
className: "dsha-pref-row",
|
|
2622
2626
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.rotationStrategy }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
@@ -4890,7 +4894,7 @@ window.__ModuleLoader__.load({
|
|
|
4890
4894
|
routeOwned: "模型路由由本插件提供",
|
|
4891
4895
|
routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。",
|
|
4892
4896
|
modelsSection: "模型",
|
|
4893
|
-
modelsHint: "
|
|
4897
|
+
modelsHint: "仅勾选模型进入选择器;全部取消或关闭概览开关可隐藏。",
|
|
4894
4898
|
refreshCatalog: "刷新模型目录",
|
|
4895
4899
|
refreshingCatalog: "刷新中...",
|
|
4896
4900
|
catalogStale: "目录来自缓存,可能过期;可手动刷新",
|
|
@@ -4967,7 +4971,7 @@ window.__ModuleLoader__.load({
|
|
|
4967
4971
|
routeOwned: "This plugin serves the model route",
|
|
4968
4972
|
routeConflict: "Another provider already owns the model route: {detail}. Remove the duplicate provider configuration in DSH settings and reload.",
|
|
4969
4973
|
modelsSection: "Models",
|
|
4970
|
-
modelsHint: "
|
|
4974
|
+
modelsHint: "Only checked models reach the picker; clear all or use the overview switch to hide.",
|
|
4971
4975
|
refreshCatalog: "Refresh catalog",
|
|
4972
4976
|
refreshingCatalog: "Refreshing...",
|
|
4973
4977
|
catalogStale: "Cached catalog may be stale; refresh to revalidate",
|
|
@@ -5910,7 +5914,7 @@ window.__ModuleLoader__.load({
|
|
|
5910
5914
|
routeOwned: "模型路由由本插件提供",
|
|
5911
5915
|
routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。",
|
|
5912
5916
|
modelsSection: "模型",
|
|
5913
|
-
modelsHint: "
|
|
5917
|
+
modelsHint: "仅勾选模型进入选择器;全部取消或关闭概览开关可隐藏。",
|
|
5914
5918
|
refreshCatalog: "刷新模型目录",
|
|
5915
5919
|
refreshingCatalog: "刷新中...",
|
|
5916
5920
|
selectAll: "全选",
|
|
@@ -5950,7 +5954,7 @@ window.__ModuleLoader__.load({
|
|
|
5950
5954
|
effortMax: "最高 (max)",
|
|
5951
5955
|
effortNone: "关闭思考",
|
|
5952
5956
|
contextWindowSection: "模型上下文窗口",
|
|
5953
|
-
contextWindowHint: "
|
|
5957
|
+
contextWindowHint: "默认 256K;k3 的 1M 需 Allegretto 及以上套餐,可在此覆盖。",
|
|
5954
5958
|
contextWindowPlan: "完整上下文需要 {plan} 套餐",
|
|
5955
5959
|
contextWindowReset: "恢复默认",
|
|
5956
5960
|
contextWindowResetAll: "全部恢复默认",
|
|
@@ -6042,7 +6046,7 @@ window.__ModuleLoader__.load({
|
|
|
6042
6046
|
loading: "加载中...",
|
|
6043
6047
|
loginFailed: "登录失败",
|
|
6044
6048
|
apiKeyLogin: "API Key 登录",
|
|
6045
|
-
apiKeyHint: "
|
|
6049
|
+
apiKeyHint: "粘贴 Kimi Code 会员 Key;与设备码共用套餐,Moonshot 平台 Key 不可用。",
|
|
6046
6050
|
apiKeyReplaceHint: "为「{alias}」粘贴一个新的 API Key,替换已失效的那一个;账号名称与轮换位置保持不变。",
|
|
6047
6051
|
apiKeyPlaceholder: "sk-kimi-…",
|
|
6048
6052
|
apiKeySubmit: "验证并添加",
|
|
@@ -6053,7 +6057,7 @@ window.__ModuleLoader__.load({
|
|
|
6053
6057
|
requests: "次请求",
|
|
6054
6058
|
tokens: "tokens",
|
|
6055
6059
|
compactionRoute: "压缩模型",
|
|
6056
|
-
compactionRouteHint: "
|
|
6060
|
+
compactionRouteHint: "压缩摘要由哪个模型生成;留空则跟随会话模型与本线路额度。",
|
|
6057
6061
|
compactionRouteProvider: "线路",
|
|
6058
6062
|
compactionRouteModel: "模型",
|
|
6059
6063
|
compactionRouteSave: "保存",
|
|
@@ -6106,7 +6110,7 @@ window.__ModuleLoader__.load({
|
|
|
6106
6110
|
routeOwned: "This plugin serves the model route",
|
|
6107
6111
|
routeConflict: "Another provider already owns the model route: {detail}. Remove the duplicate provider configuration in DSH settings and reload.",
|
|
6108
6112
|
modelsSection: "Models",
|
|
6109
|
-
modelsHint: "
|
|
6113
|
+
modelsHint: "Only checked models reach the picker; clear all or use the overview switch to hide.",
|
|
6110
6114
|
refreshCatalog: "Refresh catalog",
|
|
6111
6115
|
refreshingCatalog: "Refreshing...",
|
|
6112
6116
|
selectAll: "Select all",
|
|
@@ -6146,7 +6150,7 @@ window.__ModuleLoader__.load({
|
|
|
6146
6150
|
effortMax: "Max",
|
|
6147
6151
|
effortNone: "Thinking off",
|
|
6148
6152
|
contextWindowSection: "Model context window",
|
|
6149
|
-
contextWindowHint: "Defaults to
|
|
6153
|
+
contextWindowHint: "Defaults to 256K; k3 needs Allegretto or above for 1M, overridable here.",
|
|
6150
6154
|
contextWindowPlan: "Full context requires the {plan} plan",
|
|
6151
6155
|
contextWindowReset: "Restore default",
|
|
6152
6156
|
contextWindowResetAll: "Restore all defaults",
|
|
@@ -6238,7 +6242,7 @@ window.__ModuleLoader__.load({
|
|
|
6238
6242
|
loading: "Loading...",
|
|
6239
6243
|
loginFailed: "Sign-in failed",
|
|
6240
6244
|
apiKeyLogin: "Use an API key",
|
|
6241
|
-
apiKeyHint: "Paste a
|
|
6245
|
+
apiKeyHint: "Paste a Kimi Code membership key; it shares plan quota, and Moonshot platform keys do not work.",
|
|
6242
6246
|
apiKeyReplaceHint: "Paste a new API key for “{alias}” to replace the one that stopped working; the account keeps its name and place in the rotation.",
|
|
6243
6247
|
apiKeyPlaceholder: "sk-kimi-…",
|
|
6244
6248
|
apiKeySubmit: "Verify and add",
|
|
@@ -6249,7 +6253,7 @@ window.__ModuleLoader__.load({
|
|
|
6249
6253
|
requests: "requests",
|
|
6250
6254
|
tokens: "tokens",
|
|
6251
6255
|
compactionRoute: "Compaction model",
|
|
6252
|
-
compactionRouteHint: "
|
|
6256
|
+
compactionRouteHint: "Model that writes compaction summaries; leave unset to follow the conversation model.",
|
|
6253
6257
|
compactionRouteProvider: "Line",
|
|
6254
6258
|
compactionRouteModel: "Model",
|
|
6255
6259
|
compactionRouteSave: "Save",
|
|
@@ -7855,11 +7859,11 @@ window.__ModuleLoader__.load({
|
|
|
7855
7859
|
testSuccessModel: "连接正常({model})",
|
|
7856
7860
|
testFailed: "连接失败",
|
|
7857
7861
|
modelsSection: "模型",
|
|
7858
|
-
modelsHint: "
|
|
7862
|
+
modelsHint: "目录随包内置,共 {count} 个模型;仅勾选模型进入选择器。",
|
|
7859
7863
|
modelsUnavailable: "暂无可显示的模型。",
|
|
7860
7864
|
quotaSection: "用量与配额",
|
|
7861
7865
|
dailyCheckin: "每日签到",
|
|
7862
|
-
checkinHint: "
|
|
7866
|
+
checkinHint: "用本线路登录态签到;DSH 启动时自动执行,之后每 10 分钟补检。",
|
|
7863
7867
|
checkinAuto: "自动签到",
|
|
7864
7868
|
checkinToday: "今日已签 {done}/{total}",
|
|
7865
7869
|
checkinSkipped: "{count} 个暂不可签",
|
|
@@ -7906,7 +7910,7 @@ window.__ModuleLoader__.load({
|
|
|
7906
7910
|
defaultReasoningEffortHint: "控制支持推理的模型在未单独指定时的思考强度。",
|
|
7907
7911
|
defaultEffortAuto: "自动(各模型默认)",
|
|
7908
7912
|
contextWindowSection: "模型上下文窗口",
|
|
7909
|
-
contextWindowHint: "
|
|
7913
|
+
contextWindowHint: "默认取网关目录上限;可覆盖 DSH 用于压缩和溢出的容量。",
|
|
7910
7914
|
contextWindowNoneEnabled: "尚未勾选任何模型,先在上方「模型」中勾选。",
|
|
7911
7915
|
contextWindowReset: "恢复默认",
|
|
7912
7916
|
contextWindowResetAll: "全部恢复默认",
|
|
@@ -8053,11 +8057,11 @@ window.__ModuleLoader__.load({
|
|
|
8053
8057
|
testSuccessModel: "Connection OK ({model})",
|
|
8054
8058
|
testFailed: "Connection failed",
|
|
8055
8059
|
modelsSection: "Models",
|
|
8056
|
-
modelsHint: "The catalog is
|
|
8060
|
+
modelsHint: "The catalog is bundled with {count} models; only checked models reach the picker.",
|
|
8057
8061
|
modelsUnavailable: "No model to show yet.",
|
|
8058
8062
|
quotaSection: "Usage & quota",
|
|
8059
8063
|
dailyCheckin: "Daily check-in",
|
|
8060
|
-
checkinHint: "
|
|
8064
|
+
checkinHint: "Uses this line sign-in to check in; runs at DSH startup and every 10 minutes after.",
|
|
8061
8065
|
checkinAuto: "Auto check-in",
|
|
8062
8066
|
checkinToday: "Checked in today {done}/{total}",
|
|
8063
8067
|
checkinSkipped: "{count} not claimable yet",
|
|
@@ -8104,7 +8108,7 @@ window.__ModuleLoader__.load({
|
|
|
8104
8108
|
defaultReasoningEffortHint: "Thinking strength for reasoning models when the conversation does not pick one.",
|
|
8105
8109
|
defaultEffortAuto: "Auto (each model default)",
|
|
8106
8110
|
contextWindowSection: "Model context windows",
|
|
8107
|
-
contextWindowHint: "
|
|
8111
|
+
contextWindowHint: "Uses the gateway catalog limit; override the capacity DSH uses for compaction and overflow.",
|
|
8108
8112
|
contextWindowNoneEnabled: "No model is checked yet — pick one in \"Models\" above.",
|
|
8109
8113
|
contextWindowReset: "Restore default",
|
|
8110
8114
|
contextWindowResetAll: "Restore all defaults",
|
|
@@ -10245,12 +10249,12 @@ window.__ModuleLoader__.load({
|
|
|
10245
10249
|
const zh$28 = {
|
|
10246
10250
|
...accountPoolZh,
|
|
10247
10251
|
title: "GLM(ZCode 账号)",
|
|
10248
|
-
pageDesc: "
|
|
10252
|
+
pageDesc: "ZCode 授权接入 GLM Coding Plan,管理账号池、额度与模型。",
|
|
10249
10253
|
loading: "加载中...",
|
|
10250
10254
|
region: "区域",
|
|
10251
10255
|
regionCn: "国区(bigmodel.cn)",
|
|
10252
10256
|
regionIntl: "国际区(z.ai)",
|
|
10253
|
-
regionHint: "
|
|
10257
|
+
regionHint: "登录与凭据都按所选区域处理,两区账号不能混用。",
|
|
10254
10258
|
authorizing: "授权中…",
|
|
10255
10259
|
loginIdle: "尚未开始登录。",
|
|
10256
10260
|
loginHaveAccounts: "号池里已有 {count} 个账号可用。要再加一个就点上面的「添加账号」。",
|
|
@@ -10308,7 +10312,7 @@ window.__ModuleLoader__.load({
|
|
|
10308
10312
|
unselectAll: "全不选",
|
|
10309
10313
|
modelChecklistCount: "{count}/{total}",
|
|
10310
10314
|
contextWindowSection: "模型上下文窗口",
|
|
10311
|
-
contextWindowHint: "
|
|
10315
|
+
contextWindowHint: "默认取随包目录上限;可覆盖 DSH 用于压缩和溢出的容量。",
|
|
10312
10316
|
contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。",
|
|
10313
10317
|
contextWindowReset: "恢复默认",
|
|
10314
10318
|
contextWindowResetAll: "全部恢复默认",
|
|
@@ -10334,17 +10338,17 @@ window.__ModuleLoader__.load({
|
|
|
10334
10338
|
quotaAllowancePlan: "付费套餐",
|
|
10335
10339
|
quotaAllowanceFreeTrial: "免费体验额度",
|
|
10336
10340
|
quotaAllowanceUnknown: "未判定",
|
|
10337
|
-
quotaAllowanceHint: "
|
|
10341
|
+
quotaAllowanceHint: "登录探活认定的额度来源;免费体验为 5 天每天 800 万 token。"
|
|
10338
10342
|
};
|
|
10339
10343
|
const en$28 = {
|
|
10340
10344
|
...accountPoolEn,
|
|
10341
10345
|
title: "GLM (ZCode account)",
|
|
10342
|
-
pageDesc: "Sign in with
|
|
10346
|
+
pageDesc: "Sign in with ZCode for GLM Coding Plan, with account pool, quota, and models.",
|
|
10343
10347
|
loading: "Loading...",
|
|
10344
10348
|
region: "Region",
|
|
10345
10349
|
regionCn: "China (bigmodel.cn)",
|
|
10346
10350
|
regionIntl: "International (z.ai)",
|
|
10347
|
-
regionHint: "
|
|
10351
|
+
regionHint: "Sign-in and credentials follow the selected region; the two regions never mix.",
|
|
10348
10352
|
authorizing: "Authorizing…",
|
|
10349
10353
|
loginIdle: "No sign-in started yet.",
|
|
10350
10354
|
loginHaveAccounts: "The pool already holds {count} account(s), ready to use. To add another, choose “Add Account” above.",
|
|
@@ -10402,7 +10406,7 @@ window.__ModuleLoader__.load({
|
|
|
10402
10406
|
unselectAll: "Deselect all",
|
|
10403
10407
|
modelChecklistCount: "{count}/{total}",
|
|
10404
10408
|
contextWindowSection: "Model context windows",
|
|
10405
|
-
contextWindowHint: "
|
|
10409
|
+
contextWindowHint: "Uses the bundled catalog limit; override the capacity DSH uses for compaction and overflow.",
|
|
10406
10410
|
contextWindowNoneEnabled: "No model is checked yet. Check one above and its context window setting appears here.",
|
|
10407
10411
|
contextWindowReset: "Restore default",
|
|
10408
10412
|
contextWindowResetAll: "Restore all defaults",
|
|
@@ -10428,7 +10432,7 @@ window.__ModuleLoader__.load({
|
|
|
10428
10432
|
quotaAllowancePlan: "Paid plan",
|
|
10429
10433
|
quotaAllowanceFreeTrial: "Free trial allowance",
|
|
10430
10434
|
quotaAllowanceUnknown: "Undetermined",
|
|
10431
|
-
quotaAllowanceHint: "The allowance source
|
|
10435
|
+
quotaAllowanceHint: "The allowance source found at sign-in; the trial gives 8M tokens daily for 5 days."
|
|
10432
10436
|
};
|
|
10433
10437
|
const dictionaries$28 = {
|
|
10434
10438
|
zh: zh$28,
|
|
@@ -11438,7 +11442,7 @@ window.__ModuleLoader__.load({
|
|
|
11438
11442
|
loginComplete: "登录完成",
|
|
11439
11443
|
loginFailed: "登录失败",
|
|
11440
11444
|
manualPasteSection: "手动粘贴授权码",
|
|
11441
|
-
manualPasteHint: "把浏览器地址栏里的 code
|
|
11445
|
+
manualPasteHint: "把浏览器地址栏里的 code 或回调 URL 粘贴到这里完成登录。",
|
|
11442
11446
|
manualPastePlaceholder: "code#state 或完整的回调 URL",
|
|
11443
11447
|
manualPasteSubmit: "提交授权码",
|
|
11444
11448
|
manualPasteSubmitting: "提交中...",
|
|
@@ -11470,22 +11474,22 @@ window.__ModuleLoader__.load({
|
|
|
11470
11474
|
thinkingModeNone: "无思考",
|
|
11471
11475
|
enhanced: "思考设置",
|
|
11472
11476
|
defaultReasoningEffort: "默认思考档位",
|
|
11473
|
-
defaultReasoningEffortHint: "
|
|
11477
|
+
defaultReasoningEffortHint: "下拉列出目录中的全部档位;实际发送的档位由模型自身能力决定。",
|
|
11474
11478
|
defaultEffortAuto: "使用模型默认值",
|
|
11475
11479
|
cacheTtl: "主对话的提示缓存时长",
|
|
11476
|
-
cacheTtlHint: "
|
|
11480
|
+
cacheTtlHint: "1 小时缓存写入按 2 倍计费;子代理运行时会约每 55 分钟续热一次。",
|
|
11477
11481
|
cacheTtlSubscription: "跟随官方(订阅默认 1 小时)",
|
|
11478
11482
|
cacheTtl1h: "1 小时",
|
|
11479
11483
|
cacheTtl5m: "5 分钟",
|
|
11480
11484
|
subagentCacheTtl: "子代理与后台请求的缓存时长",
|
|
11481
|
-
subagentCacheTtlHint: "
|
|
11485
|
+
subagentCacheTtlHint: "子代理与后台请求通常几分钟结束,固定用 5 分钟缓存更划算。",
|
|
11482
11486
|
subagentCacheTtlOfficial: "跟随官方(5 分钟)",
|
|
11483
11487
|
fastMode: "快速模式",
|
|
11484
11488
|
fastModeHint: "仅对支持的模型发送 speed: fast;被拒时自动纠正,并按账号和模型记住结论。",
|
|
11485
11489
|
cacheKeepalive: "cache-keepalive(cache_touch)",
|
|
11486
11490
|
cacheKeepaliveHint: "默认关闭;仅 1 小时主对话优先用 cache_touch,失败回退现有续热。尚未经真实订阅直连验证。",
|
|
11487
11491
|
autoCompactSubagents: "子代理完成后自动压缩",
|
|
11488
|
-
autoCompactSubagentsHint: "
|
|
11492
|
+
autoCompactSubagentsHint: "默认开启;只压缩子代理自己的上下文,失败不影响任务结果。",
|
|
11489
11493
|
effortLow: "低 (low)",
|
|
11490
11494
|
effortMedium: "中 (medium)",
|
|
11491
11495
|
effortHigh: "高 (high)",
|
|
@@ -11494,12 +11498,12 @@ window.__ModuleLoader__.load({
|
|
|
11494
11498
|
modelLadders: "各模型支持的档位",
|
|
11495
11499
|
modelLadderNone: "该模型不接受思考档位",
|
|
11496
11500
|
contextWindowSection: "模型上下文窗口",
|
|
11497
|
-
contextWindowHint: "
|
|
11501
|
+
contextWindowHint: "默认取模型目录值;恢复默认会删除本地覆盖。",
|
|
11498
11502
|
contextWindowReset: "恢复默认",
|
|
11499
11503
|
contextWindowResetAll: "全部恢复默认",
|
|
11500
11504
|
contextWindowResetAllConfirm: "确定把已改过的模型上下文窗口全部恢复为默认值吗?",
|
|
11501
11505
|
maxTokensSection: "单次输出上限",
|
|
11502
|
-
maxTokensHint: "
|
|
11506
|
+
maxTokensHint: "单次回复的输出上限,含思考;达到上限会截断并结束本轮。",
|
|
11503
11507
|
maxTokensInvalid: "输出上限无效:{value}",
|
|
11504
11508
|
maxTokensResetAllConfirm: "确定把已改过的模型输出上限全部恢复为默认值吗?",
|
|
11505
11509
|
contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。",
|
|
@@ -11508,7 +11512,7 @@ window.__ModuleLoader__.load({
|
|
|
11508
11512
|
saving: "保存中...",
|
|
11509
11513
|
tokens: "tokens",
|
|
11510
11514
|
quotaSection: "用量与额度",
|
|
11511
|
-
quotaDesc: "数据来自 Claude
|
|
11515
|
+
quotaDesc: "数据来自 Claude 用量接口;页面可见时最多每 60 秒刷新一次。",
|
|
11512
11516
|
refreshQuota: "刷新用量",
|
|
11513
11517
|
refreshingQuota: "刷新中...",
|
|
11514
11518
|
quotaRefreshing: "Host 正在后台刷新额度,稍后会自动更新。",
|
|
@@ -11568,7 +11572,7 @@ window.__ModuleLoader__.load({
|
|
|
11568
11572
|
loginComplete: "Signed in",
|
|
11569
11573
|
loginFailed: "Sign-in failed",
|
|
11570
11574
|
manualPasteSection: "Paste the authorization code",
|
|
11571
|
-
manualPasteHint: "Paste the code
|
|
11575
|
+
manualPasteHint: "Paste the code or callback URL from the browser to finish signing in.",
|
|
11572
11576
|
manualPastePlaceholder: "code#state or the full callback URL",
|
|
11573
11577
|
manualPasteSubmit: "Submit code",
|
|
11574
11578
|
manualPasteSubmitting: "Submitting...",
|
|
@@ -11600,21 +11604,21 @@ window.__ModuleLoader__.load({
|
|
|
11600
11604
|
thinkingModeNone: "No thinking",
|
|
11601
11605
|
enhanced: "Thinking",
|
|
11602
11606
|
defaultReasoningEffort: "Default thinking level",
|
|
11603
|
-
defaultReasoningEffortHint: "
|
|
11607
|
+
defaultReasoningEffortHint: "Lists every catalog level; only levels the model supports are sent.",
|
|
11604
11608
|
cacheTtl: "Prompt cache duration for the main conversation",
|
|
11605
|
-
cacheTtlHint: "
|
|
11609
|
+
cacheTtlHint: "A 1-hour cache write costs 2x; while subagents run, the line refreshes it about every 55 minutes.",
|
|
11606
11610
|
cacheTtlSubscription: "Follow the official (subscription default 1h)",
|
|
11607
11611
|
cacheTtl1h: "1 hour",
|
|
11608
11612
|
cacheTtl5m: "5 minutes",
|
|
11609
11613
|
subagentCacheTtl: "Cache duration for subagents and background requests",
|
|
11610
|
-
subagentCacheTtlHint: "
|
|
11614
|
+
subagentCacheTtlHint: "Subagent and background requests usually finish in minutes, so a 5-minute cache is cheaper.",
|
|
11611
11615
|
subagentCacheTtlOfficial: "Follow the official (5 minutes)",
|
|
11612
11616
|
fastMode: "Fast mode",
|
|
11613
11617
|
fastModeHint: "Sends speed: fast only for supported models; corrects refusals and remembers the result per account and model.",
|
|
11614
11618
|
cacheKeepalive: "cache-keepalive (cache_touch)",
|
|
11615
11619
|
cacheKeepaliveHint: "Off by default. For 1-hour main conversations, try cache_touch first and fall back to the existing warmup. Not yet verified directly with a real subscription.",
|
|
11616
11620
|
autoCompactSubagents: "Compact subagents after completion",
|
|
11617
|
-
autoCompactSubagentsHint: "On by default
|
|
11621
|
+
autoCompactSubagentsHint: "On by default; compacts only the subagent context, and failure never changes the task result.",
|
|
11618
11622
|
defaultEffortAuto: "Use the model default",
|
|
11619
11623
|
effortLow: "Low",
|
|
11620
11624
|
effortMedium: "Medium",
|
|
@@ -11624,12 +11628,12 @@ window.__ModuleLoader__.load({
|
|
|
11624
11628
|
modelLadders: "Per-model levels",
|
|
11625
11629
|
modelLadderNone: "This model accepts no thinking level",
|
|
11626
11630
|
contextWindowSection: "Model context window",
|
|
11627
|
-
contextWindowHint: "
|
|
11631
|
+
contextWindowHint: "Uses the catalog value; restoring the default removes the local override.",
|
|
11628
11632
|
contextWindowReset: "Restore default",
|
|
11629
11633
|
contextWindowResetAll: "Restore all defaults",
|
|
11630
11634
|
contextWindowResetAllConfirm: "Restore every changed model context window to its default?",
|
|
11631
11635
|
maxTokensSection: "Output limit per reply",
|
|
11632
|
-
maxTokensHint: "
|
|
11636
|
+
maxTokensHint: "Maximum output per reply, including thinking; reaching it truncates the reply and ends the turn.",
|
|
11633
11637
|
maxTokensInvalid: "Invalid output limit: {value}",
|
|
11634
11638
|
maxTokensResetAllConfirm: "Restore every changed model output limit to its default?",
|
|
11635
11639
|
contextWindowNoneEnabled: "No model is checked yet. Check one above and its context window setting appears here.",
|
|
@@ -11638,7 +11642,7 @@ window.__ModuleLoader__.load({
|
|
|
11638
11642
|
saving: "Saving...",
|
|
11639
11643
|
tokens: "tokens",
|
|
11640
11644
|
quotaSection: "Usage & quota",
|
|
11641
|
-
quotaDesc: "Read from the Claude usage endpoint
|
|
11645
|
+
quotaDesc: "Read from the Claude usage endpoint; refreshes at most once every 60 seconds while visible.",
|
|
11642
11646
|
refreshQuota: "Refresh quota",
|
|
11643
11647
|
refreshingQuota: "Refreshing...",
|
|
11644
11648
|
quotaRefreshing: "The Host is refreshing the quota in the background; the numbers update shortly.",
|
|
@@ -11692,7 +11696,7 @@ window.__ModuleLoader__.load({
|
|
|
11692
11696
|
* 'login/status' on a timer while the user is in the browser, and this one does
|
|
11693
11697
|
* the same so a stalled flow is visible rather than silent.
|
|
11694
11698
|
*/
|
|
11695
|
-
const LOGIN_POLL_MS = 2e3;
|
|
11699
|
+
const LOGIN_POLL_MS$1 = 2e3;
|
|
11696
11700
|
function useClaudeSection({ onModelChange, loadModelDirectory }) {
|
|
11697
11701
|
const [status, setStatus] = (0, react.useState)(null);
|
|
11698
11702
|
const [loading, setLoading] = (0, react.useState)(true);
|
|
@@ -11763,7 +11767,7 @@ window.__ModuleLoader__.load({
|
|
|
11763
11767
|
} else if (poll.status === "error") setError(poll.error || t.loginFailed);
|
|
11764
11768
|
} catch {}
|
|
11765
11769
|
})();
|
|
11766
|
-
}, LOGIN_POLL_MS);
|
|
11770
|
+
}, LOGIN_POLL_MS$1);
|
|
11767
11771
|
return () => window.clearInterval(timer);
|
|
11768
11772
|
}, [
|
|
11769
11773
|
flow?.status,
|
|
@@ -13474,6 +13478,10 @@ window.__ModuleLoader__.load({
|
|
|
13474
13478
|
startLogin() {
|
|
13475
13479
|
return post$13(`${API$7}/login/start`, {});
|
|
13476
13480
|
}
|
|
13481
|
+
/** End the official sign-in over ACP and return the refreshed status. */
|
|
13482
|
+
logout() {
|
|
13483
|
+
return post$13(`${API$7}/logout`, {});
|
|
13484
|
+
}
|
|
13477
13485
|
/** Re-read the auth state after a sign-in attempt. */
|
|
13478
13486
|
loginStatus() {
|
|
13479
13487
|
return request$11(`${API$7}/login/status`);
|
|
@@ -13555,8 +13563,11 @@ window.__ModuleLoader__.load({
|
|
|
13555
13563
|
signInStarting: "正在启动…",
|
|
13556
13564
|
signInSuccess: "已发起登录:浏览器由 Antigravity CLI 打开,完成授权后状态会自动变为「已登录」。",
|
|
13557
13565
|
signInHintSummary: "登录是怎么完成的?",
|
|
13558
|
-
signInHint: "登录由 Antigravity CLI
|
|
13566
|
+
signInHint: "登录由 Antigravity CLI 完成;本插件不读取 Google 凭据。",
|
|
13559
13567
|
signInHeadless: "无界面环境请在终端执行 agy acp --login,然后回到此页刷新。",
|
|
13568
|
+
signOut: "退出登录",
|
|
13569
|
+
signOutRunning: "正在退出…",
|
|
13570
|
+
signOutConfirm: "退出 Antigravity 登录?这会让本机官方 CLI 共用的登录状态失效。",
|
|
13560
13571
|
authDisabled: "线路已停用,未查询登录状态",
|
|
13561
13572
|
tierLabel: "订阅档位",
|
|
13562
13573
|
tierUnknown: "官方进程未报告",
|
|
@@ -13579,16 +13590,16 @@ window.__ModuleLoader__.load({
|
|
|
13579
13590
|
effortLabels: "可选思考档位:{levels}",
|
|
13580
13591
|
enhanced: "增强功能",
|
|
13581
13592
|
defaultReasoningEffort: "默认思考档位",
|
|
13582
|
-
defaultReasoningEffortHint: "
|
|
13593
|
+
defaultReasoningEffortHint: "新会话的默认档位;模型不支持的档位会被丢弃。",
|
|
13583
13594
|
defaultEffortAuto: "不指定(用官方默认)",
|
|
13584
13595
|
permissionPolicy: "工具权限",
|
|
13585
13596
|
permissionPolicyReject: "拒绝",
|
|
13586
13597
|
permissionPolicyAllow: "自动批准(推荐)",
|
|
13587
|
-
permissionPolicyHint: "
|
|
13598
|
+
permissionPolicyHint: "控制 Antigravity 自带工具的权限请求与子代理自动批准。",
|
|
13588
13599
|
nativeTools: "自带工具",
|
|
13589
|
-
nativeToolsAllow: "
|
|
13590
|
-
nativeToolsCancel: "
|
|
13591
|
-
nativeToolsHint: "
|
|
13600
|
+
nativeToolsAllow: "允许并记录(需手动开启)",
|
|
13601
|
+
nativeToolsCancel: "拒绝该次调用并继续(推荐)",
|
|
13602
|
+
nativeToolsHint: "默认只拒绝这次自带工具调用,Agent 可以改走 DSH 工具并继续;开启“允许并记录”会让该调用绕过 DSH 权限。",
|
|
13592
13603
|
usageSection: "最近一轮用量",
|
|
13593
13604
|
usageInputLabel: "输入",
|
|
13594
13605
|
usageOutputLabel: "输出",
|
|
@@ -13607,14 +13618,14 @@ window.__ModuleLoader__.load({
|
|
|
13607
13618
|
scopeSummary: "包含系统提示拼接、会话复用条件、子代理工具集、额度与代理五项说明。",
|
|
13608
13619
|
scopeHintSummary: "查看能力边界说明",
|
|
13609
13620
|
scopeHint: "由官方 ACP 协议与 CLI 决定的行为边界:",
|
|
13610
|
-
scopePrompt: "ACP 没有独立的 system
|
|
13611
|
-
scopeHistory: "
|
|
13621
|
+
scopePrompt: "标准 ACP 没有独立的 system 提示槽位:本线路把 DSH 的系统提示作为提示首段发送,不修改官方 Agent 自身的系统提示。",
|
|
13622
|
+
scopeHistory: "正常结束后会话随进程一起停放;进程重启后若存在持久化会话指针,先通过官方 session/resume 恢复并只发送增量。只有历史前缀、工具目录或工作目录不匹配,或恢复失败时,才重建会话并重放带锚点的历史。",
|
|
13612
13623
|
scopeTools: "作为主模型时工具由 DSH 执行并把关;作为子代理时子进程使用官方 Agent 自己的工具集。",
|
|
13613
13624
|
scopeQuota: "官方服务端不公布剩余额度,因此本卡片不显示任何百分比或余额。",
|
|
13614
13625
|
scopeNetwork: "本线路的网络请求由官方 CLI(agy)自己管理,插件无法为它单独指定代理;这里的代理设置也不会作用于它。",
|
|
13615
13626
|
error: "操作失败:{detail}",
|
|
13616
|
-
complianceSummary: "
|
|
13617
|
-
complianceNotice: "
|
|
13627
|
+
complianceSummary: "使用条款与边界(点开查看)",
|
|
13628
|
+
complianceNotice: "Google 更新后的 Antigravity Additional Terms 明确允许通过受支持接口运行未经修改的 Antigravity harness,包括以 ACP 嵌入第三方 UI、从其他 harness 作为工具或子代理调用、CLI headless,以及 MCP、skills、rules、hooks、plugins 等受支持扩展。违规通常只暂停 Antigravity 访问并提供申诉恢复,不影响其他 Google 账号功能。本插件运行 Google 官方 agy / ACP 服务端,不逆向协议、不读取凭据、单账号不轮换;但修改官方二进制、抽取或代理 OAuth、账号轮换、绕过配额及滥用仍不在允许范围。自定义可执行文件路径时必须确保仍是官方未修改版本。",
|
|
13618
13629
|
disabledHint: "该线路当前已停用;在上方订阅总览打开开关后才会出现在模型选择器中。",
|
|
13619
13630
|
enabledHint: "该线路当前已启用。",
|
|
13620
13631
|
toggleHint: "可在「订阅服务」总览页的该线路卡片上随时停用。"
|
|
@@ -13647,8 +13658,11 @@ window.__ModuleLoader__.load({
|
|
|
13647
13658
|
signInStarting: "Starting...",
|
|
13648
13659
|
signInSuccess: "Sign-in started: the Antigravity CLI opens the browser, and the status here turns to signed in once you approve it.",
|
|
13649
13660
|
signInHintSummary: "How does sign-in work?",
|
|
13650
|
-
signInHint: "
|
|
13661
|
+
signInHint: "Antigravity CLI handles sign-in; this plugin never reads Google credentials.",
|
|
13651
13662
|
signInHeadless: "On a headless host run agy acp --login in a terminal, then refresh here.",
|
|
13663
|
+
signOut: "Sign out",
|
|
13664
|
+
signOutRunning: "Signing out...",
|
|
13665
|
+
signOutConfirm: "Sign out of Antigravity? This clears the sign-in shared by the official CLI on this machine.",
|
|
13652
13666
|
authDisabled: "Line is off - sign-in was not checked",
|
|
13653
13667
|
tierLabel: "Plan",
|
|
13654
13668
|
tierUnknown: "Not reported by the official process",
|
|
@@ -13671,16 +13685,16 @@ window.__ModuleLoader__.load({
|
|
|
13671
13685
|
effortLabels: "Thinking levels: {levels}",
|
|
13672
13686
|
enhanced: "Enhanced",
|
|
13673
13687
|
defaultReasoningEffort: "Default thinking level",
|
|
13674
|
-
defaultReasoningEffortHint: "
|
|
13688
|
+
defaultReasoningEffortHint: "Default level for new sessions; unsupported levels are dropped.",
|
|
13675
13689
|
defaultEffortAuto: "Do not specify (official default)",
|
|
13676
13690
|
permissionPolicy: "Tool permissions",
|
|
13677
13691
|
permissionPolicyReject: "Reject",
|
|
13678
13692
|
permissionPolicyAllow: "Auto-approve (recommended)",
|
|
13679
|
-
permissionPolicyHint: "
|
|
13693
|
+
permissionPolicyHint: "Controls permission requests for Antigravity native tools and subagent auto-approval.",
|
|
13680
13694
|
nativeTools: "Built-in tools",
|
|
13681
|
-
nativeToolsAllow: "
|
|
13682
|
-
nativeToolsCancel: "
|
|
13683
|
-
nativeToolsHint: "
|
|
13695
|
+
nativeToolsAllow: "Allow and record (opt-in)",
|
|
13696
|
+
nativeToolsCancel: "Deny the call and continue (recommended)",
|
|
13697
|
+
nativeToolsHint: "By default only the native call is denied, so the agent can switch to a DSH tool and continue. Allow-and-record lets that call bypass DSH permissions.",
|
|
13684
13698
|
usageSection: "Last turn usage",
|
|
13685
13699
|
usageInputLabel: "Input",
|
|
13686
13700
|
usageOutputLabel: "Output",
|
|
@@ -13699,14 +13713,14 @@ window.__ModuleLoader__.load({
|
|
|
13699
13713
|
scopeSummary: "Notes on system prompt handling, session reuse, subagent tools, quota, and proxy behavior.",
|
|
13700
13714
|
scopeHintSummary: "Show capability notes",
|
|
13701
13715
|
scopeHint: "Behavior defined by the official ACP protocol and CLI:",
|
|
13702
|
-
scopePrompt: "ACP has no separate system-prompt slot: the DSH system prompt travels as the head of the prompt, and the official agent's own system prompt
|
|
13703
|
-
scopeHistory: "After a normal finish the session parks with its process
|
|
13716
|
+
scopePrompt: "Standard ACP has no separate system-prompt slot: the DSH system prompt travels as the head of the prompt, and the official agent's own system prompt is left unchanged.",
|
|
13717
|
+
scopeHistory: "After a normal finish the session parks with its process. After a host restart the line first reconnects through the official session/resume when a durable pointer exists, then sends only the increment. A changed history prefix, tool catalogue or working directory, or a failed resume, is what triggers a rebuild with an anchored replay.",
|
|
13704
13718
|
scopeTools: "As a main model its tool calls are executed and gated by DSH; as a subagent the child runs the official agent's own tools.",
|
|
13705
13719
|
scopeQuota: "The official server publishes no remaining quota, so this card shows no percentage and no balance.",
|
|
13706
13720
|
scopeNetwork: "This line's network requests are managed by the official CLI (agy) itself; the plugin cannot give it a separate proxy, and the proxy settings elsewhere do not apply to it.",
|
|
13707
13721
|
error: "Action failed: {detail}",
|
|
13708
|
-
complianceSummary: "Terms
|
|
13709
|
-
complianceNotice: "
|
|
13722
|
+
complianceSummary: "Terms and boundaries (click to read)",
|
|
13723
|
+
complianceNotice: "Google's updated Antigravity Additional Terms expressly permit running an unmodified Antigravity harness through supported interfaces, including ACP in a third-party UI, calling it as a tool or subagent from another harness, CLI headless use, and supported MCP, skills, rules, hooks and plugin extensions. Violations normally suspend Antigravity access with an appeal path and do not affect the rest of your Google account. This plugin runs the official agy / ACP server, does not reverse-engineer the protocol, does not read credentials, and uses one account without rotation. Modified binaries, OAuth extraction or proxying, account rotation, quota bypass and abuse remain outside the permitted scope. A custom executable path must still point at an unmodified official build.",
|
|
13710
13724
|
disabledHint: "This line is switched off. Turn it on from its card in the subscription overview to make it appear in the model picker.",
|
|
13711
13725
|
enabledHint: "This line is enabled.",
|
|
13712
13726
|
toggleHint: "You can switch it off at any time from its card in the subscription overview."
|
|
@@ -13820,6 +13834,11 @@ window.__ModuleLoader__.load({
|
|
|
13820
13834
|
await reload();
|
|
13821
13835
|
}).catch((cause) => setError(cause instanceof Error ? cause.message : String(cause))).finally(() => setBusy(null));
|
|
13822
13836
|
}, [reload, t]);
|
|
13837
|
+
const signOut = (0, react.useCallback)(() => {
|
|
13838
|
+
if (typeof window !== "undefined" && !window.confirm(t.signOutConfirm)) return;
|
|
13839
|
+
setLoginNotice(null);
|
|
13840
|
+
run("logout", () => API$6.logout());
|
|
13841
|
+
}, [run, t]);
|
|
13823
13842
|
const saveBinaryPath = (0, react.useCallback)(() => {
|
|
13824
13843
|
run("binary", () => API$6.update({ binaryPath: binaryPath.trim() === "" ? null : binaryPath.trim() }));
|
|
13825
13844
|
}, [run, binaryPath]);
|
|
@@ -13977,11 +13996,22 @@ window.__ModuleLoader__.load({
|
|
|
13977
13996
|
children: [
|
|
13978
13997
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
13979
13998
|
className: "dsha-grouphead",
|
|
13980
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", { children: t.authSection }), /* @__PURE__ */ (0, react_jsx_runtime.
|
|
13981
|
-
|
|
13982
|
-
|
|
13983
|
-
|
|
13984
|
-
|
|
13999
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", { children: t.authSection }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
14000
|
+
style: {
|
|
14001
|
+
display: "flex",
|
|
14002
|
+
gap: 8
|
|
14003
|
+
},
|
|
14004
|
+
children: [auth?.authenticated === true && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
14005
|
+
className: "dsha-btn",
|
|
14006
|
+
disabled: busy !== null,
|
|
14007
|
+
onClick: signOut,
|
|
14008
|
+
children: busy === "logout" ? t.signOutRunning : t.signOut
|
|
14009
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
14010
|
+
className: "dsha-btn dsha-btn-primary",
|
|
14011
|
+
disabled: busy !== null,
|
|
14012
|
+
onClick: signIn,
|
|
14013
|
+
children: busy === "login" ? t.signInStarting : auth?.authenticated === true ? t.signInAgain : t.signIn
|
|
14014
|
+
})]
|
|
13985
14015
|
})]
|
|
13986
14016
|
}),
|
|
13987
14017
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -14140,18 +14170,18 @@ window.__ModuleLoader__.load({
|
|
|
14140
14170
|
})] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
|
|
14141
14171
|
className: "dsha-select",
|
|
14142
14172
|
"aria-label": t.nativeTools,
|
|
14143
|
-
value: status?.nativeToolPolicy ?? "
|
|
14173
|
+
value: status?.nativeToolPolicy ?? "cancel",
|
|
14144
14174
|
disabled: busy !== null,
|
|
14145
14175
|
onChange: (event) => {
|
|
14146
14176
|
const value = event.currentTarget.value === "cancel" ? "cancel" : "allow";
|
|
14147
14177
|
run("nativeTools", () => API$6.update({ nativeToolPolicy: value }));
|
|
14148
14178
|
},
|
|
14149
14179
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
14150
|
-
value: "allow",
|
|
14151
|
-
children: t.nativeToolsAllow
|
|
14152
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
14153
14180
|
value: "cancel",
|
|
14154
14181
|
children: t.nativeToolsCancel
|
|
14182
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
14183
|
+
value: "allow",
|
|
14184
|
+
children: t.nativeToolsAllow
|
|
14155
14185
|
})]
|
|
14156
14186
|
})]
|
|
14157
14187
|
})
|
|
@@ -14319,7 +14349,7 @@ window.__ModuleLoader__.load({
|
|
|
14319
14349
|
clearAll: "全不选",
|
|
14320
14350
|
noneSelected: "未选择任何模式,线路不会出现在模型选择器中。",
|
|
14321
14351
|
limitations: "能力边界",
|
|
14322
|
-
limitationsText: "
|
|
14352
|
+
limitationsText: "支持文本、思考、图片与 DSH 工具;Quick 使用非公开数据面,升级后可能需适配。",
|
|
14323
14353
|
error: "操作失败:{detail}",
|
|
14324
14354
|
routeConflict: "Provider 路由冲突:{detail}",
|
|
14325
14355
|
disabled: "线路已停用,未查询登录状态。",
|
|
@@ -14376,7 +14406,7 @@ window.__ModuleLoader__.load({
|
|
|
14376
14406
|
clearAll: "Clear all",
|
|
14377
14407
|
noneSelected: "No mode is selected; the line is hidden from the model picker.",
|
|
14378
14408
|
limitations: "Scope",
|
|
14379
|
-
limitationsText: "Supports text,
|
|
14409
|
+
limitationsText: "Supports text, thinking, images, and DSH tools; the Quick data plane may change on upgrades.",
|
|
14380
14410
|
error: "Action failed: {detail}",
|
|
14381
14411
|
routeConflict: "Provider route conflict: {detail}",
|
|
14382
14412
|
disabled: "The line is disabled; auth was not queried.",
|
|
@@ -15671,6 +15701,8 @@ window.__ModuleLoader__.load({
|
|
|
15671
15701
|
//#endregion
|
|
15672
15702
|
//#region src/client/providers/copilot/CopilotSection.tsx
|
|
15673
15703
|
const api$23 = createLineApi("/copilot/api", "GitHub Copilot");
|
|
15704
|
+
/** Device-flow polling cadence; GitHub's device grant uses a five-second interval. */
|
|
15705
|
+
const LOGIN_POLL_MS = 5e3;
|
|
15674
15706
|
/**
|
|
15675
15707
|
* The Copilot settings card.
|
|
15676
15708
|
*
|
|
@@ -15705,6 +15737,30 @@ window.__ModuleLoader__.load({
|
|
|
15705
15737
|
(0, react.useEffect)(() => {
|
|
15706
15738
|
load();
|
|
15707
15739
|
}, [load]);
|
|
15740
|
+
const loginStatus = status?.login.status;
|
|
15741
|
+
(0, react.useEffect)(() => {
|
|
15742
|
+
if (loginStatus !== "pending") return;
|
|
15743
|
+
let disposed = false;
|
|
15744
|
+
let timer;
|
|
15745
|
+
const poll = async () => {
|
|
15746
|
+
try {
|
|
15747
|
+
const next = await api$23.post("/login/poll", {});
|
|
15748
|
+
if (disposed) return;
|
|
15749
|
+
setError(null);
|
|
15750
|
+
if (next.status === "pending") timer = setTimeout(() => void poll(), LOGIN_POLL_MS);
|
|
15751
|
+
else await load();
|
|
15752
|
+
} catch (cause) {
|
|
15753
|
+
if (disposed) return;
|
|
15754
|
+
setError(cause instanceof Error ? cause.message : String(cause));
|
|
15755
|
+
timer = setTimeout(() => void poll(), LOGIN_POLL_MS);
|
|
15756
|
+
}
|
|
15757
|
+
};
|
|
15758
|
+
poll();
|
|
15759
|
+
return () => {
|
|
15760
|
+
disposed = true;
|
|
15761
|
+
if (timer !== void 0) clearTimeout(timer);
|
|
15762
|
+
};
|
|
15763
|
+
}, [loginStatus, load]);
|
|
15708
15764
|
const commit = (0, react.useCallback)(async (kind, action, notify = true) => {
|
|
15709
15765
|
try {
|
|
15710
15766
|
setBusy(kind);
|
|
@@ -16015,10 +16071,9 @@ window.__ModuleLoader__.load({
|
|
|
16015
16071
|
const NS_ARK = "dsh-volcengine-ark";
|
|
16016
16072
|
const zh$21 = {
|
|
16017
16073
|
title: "火山方舟(Ark 套餐)",
|
|
16018
|
-
pageDesc: "
|
|
16074
|
+
pageDesc: "用套餐专属 Key 调用方舟模型,额度另需 AccessKey。",
|
|
16019
16075
|
loading: "加载中...",
|
|
16020
16076
|
moreNotes: "更多说明",
|
|
16021
|
-
enabled: "启用此线路",
|
|
16022
16077
|
keySection: "套餐 API Key",
|
|
16023
16078
|
keyConfigured: "已配置套餐专属 API Key;凭据只保存在主机加密存储中。",
|
|
16024
16079
|
keyMissing: "尚未配置 API Key。请在方舟控制台创建套餐专属 Key。",
|
|
@@ -16089,7 +16144,7 @@ window.__ModuleLoader__.load({
|
|
|
16089
16144
|
detailHigh: "high(保留细节)",
|
|
16090
16145
|
visionHint: "普通截图建议 auto/low;OCR 或细小文字可切换 high。是否接受图片由各模型能力决定。",
|
|
16091
16146
|
cacheSection: "缓存统计",
|
|
16092
|
-
cacheDesc: "
|
|
16147
|
+
cacheDesc: "只统计上游回报的缓存命中,未公布显式缓存字段。",
|
|
16093
16148
|
cacheHitRatio: "缓存命中率",
|
|
16094
16149
|
cacheReset: "清空统计",
|
|
16095
16150
|
cacheNoData: "还没有可统计的请求。",
|
|
@@ -16101,10 +16156,9 @@ window.__ModuleLoader__.load({
|
|
|
16101
16156
|
zh: zh$21,
|
|
16102
16157
|
en: {
|
|
16103
16158
|
title: "Volcengine Ark (plan)",
|
|
16104
|
-
pageDesc: "
|
|
16159
|
+
pageDesc: "Use a plan key for Ark models; usage needs an AccessKey.",
|
|
16105
16160
|
loading: "Loading...",
|
|
16106
16161
|
moreNotes: "More details",
|
|
16107
|
-
enabled: "Enable this line",
|
|
16108
16162
|
keySection: "Plan API key",
|
|
16109
16163
|
keyConfigured: "A plan key is configured and stored only in host encrypted storage.",
|
|
16110
16164
|
keyMissing: "No API key yet. Create a plan key in the Ark console.",
|
|
@@ -16175,7 +16229,7 @@ window.__ModuleLoader__.load({
|
|
|
16175
16229
|
detailHigh: "high (more detail)",
|
|
16176
16230
|
visionHint: "Use auto/low for ordinary screenshots and high for OCR or small text. Whether a model takes images comes from its own capability entry.",
|
|
16177
16231
|
cacheSection: "Cache stats",
|
|
16178
|
-
cacheDesc: "
|
|
16232
|
+
cacheDesc: "Only upstream-reported cache hits are counted; no explicit cache fields are published.",
|
|
16179
16233
|
cacheHitRatio: "Cache hit ratio",
|
|
16180
16234
|
cacheReset: "Clear stats",
|
|
16181
16235
|
cacheNoData: "No request has been counted yet.",
|
|
@@ -16498,16 +16552,6 @@ window.__ModuleLoader__.load({
|
|
|
16498
16552
|
className: "dsha-muted",
|
|
16499
16553
|
children: t.pageDesc
|
|
16500
16554
|
}),
|
|
16501
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16502
|
-
className: "dsha-pref-row",
|
|
16503
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
16504
|
-
type: "checkbox",
|
|
16505
|
-
"aria-label": t.enabled,
|
|
16506
|
-
checked: status?.enabled !== false,
|
|
16507
|
-
disabled: busy !== null,
|
|
16508
|
-
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
16509
|
-
})]
|
|
16510
|
-
}),
|
|
16511
16555
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
16512
16556
|
className: "dsha-empty",
|
|
16513
16557
|
children: status?.authenticated ? t.keyConfigured : t.keyMissing
|
|
@@ -16918,7 +16962,7 @@ window.__ModuleLoader__.load({
|
|
|
16918
16962
|
routeOwned: "本插件正在服务该模型路由。",
|
|
16919
16963
|
routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重新加载。",
|
|
16920
16964
|
modelsSection: "模型",
|
|
16921
|
-
modelsHint: "
|
|
16965
|
+
modelsHint: "仅已勾选模型进入选择器;能力取自运行时目录,不从名称推断。",
|
|
16922
16966
|
modelsHintExtra: "拿不到证据的字段按兜底值显示而不是猜;目录按凭据所在区域过滤,跨区调用会被上游拒绝。",
|
|
16923
16967
|
modelsUnavailable: "暂无可显示的模型(目录按需发现,登录后或点「刷新模型目录」再试)。",
|
|
16924
16968
|
refreshCatalog: "刷新模型目录",
|
|
@@ -16927,9 +16971,9 @@ window.__ModuleLoader__.load({
|
|
|
16927
16971
|
selectAll: "全选",
|
|
16928
16972
|
unselectAll: "全不选",
|
|
16929
16973
|
modelChecklistCount: "{count}/{total}",
|
|
16930
|
-
enabledModelIdsSemantics: "
|
|
16974
|
+
enabledModelIdsSemantics: "清空勾选等于不过滤;要限制模型,只勾选需要的那几个。",
|
|
16931
16975
|
defaultEffort: "默认思考档位",
|
|
16932
|
-
defaultEffortHint: "
|
|
16976
|
+
defaultEffortHint: "请求会先收敛到目标模型支持的档位,不会发送不支持的档。",
|
|
16933
16977
|
defaultEffortHintExtra: "收敛逻辑在 host;选「跟随各模型默认」表示各模型用它自己的默认档位。",
|
|
16934
16978
|
defaultEffortModel: "跟随各模型默认",
|
|
16935
16979
|
effortMinimal: "最低(minimal)",
|
|
@@ -16950,7 +16994,7 @@ window.__ModuleLoader__.load({
|
|
|
16950
16994
|
saved: "已保存",
|
|
16951
16995
|
invalidCapacity: "容量格式无效:{value}",
|
|
16952
16996
|
quotaSection: "用量与配额",
|
|
16953
|
-
quotaDesc: "数据来自 Step
|
|
16997
|
+
quotaDesc: "数据来自 Step 开发者中心;读取失败不影响模型请求。",
|
|
16954
16998
|
quotaRefresh: "刷新用量",
|
|
16955
16999
|
quotaRefreshing: "刷新中...",
|
|
16956
17000
|
quotaSignedOut: "未登录,先在上方完成登录。",
|
|
@@ -16971,7 +17015,7 @@ window.__ModuleLoader__.load({
|
|
|
16971
17015
|
quotaKindWindowed: "老式窗口套餐(5 小时 / 周)",
|
|
16972
17016
|
quotaKindCredit: "Credit 月池",
|
|
16973
17017
|
quotaKindUnknown: "认不出的套餐形状",
|
|
16974
|
-
quotaKindHint: "
|
|
17018
|
+
quotaKindHint: "按返回载荷识别套餐代际;无法识别时不画进度条。",
|
|
16975
17019
|
quotaWindowFiveHour: "5 小时窗口",
|
|
16976
17020
|
quotaWindowWeekly: "周窗口",
|
|
16977
17021
|
quotaWindowCredit: "Credit 月池",
|
|
@@ -17003,7 +17047,7 @@ window.__ModuleLoader__.load({
|
|
|
17003
17047
|
quotaCredentialClear: "清除额度凭据",
|
|
17004
17048
|
quotaCredentialClearing: "清除中...",
|
|
17005
17049
|
cacheSection: "缓存用量",
|
|
17006
|
-
cacheDesc: "Step
|
|
17050
|
+
cacheDesc: "Step 使用自动前缀缓存,只有读侧统计;写侧恒为 0。",
|
|
17007
17051
|
cacheStatScope: "以下数字是 DSH 本机对已回报用量的请求做的统计,不是上游账单。",
|
|
17008
17052
|
cacheFieldOrder: "读侧解析顺序",
|
|
17009
17053
|
cacheReadTokens: "缓存读入",
|
|
@@ -17012,10 +17056,10 @@ window.__ModuleLoader__.load({
|
|
|
17012
17056
|
cacheRequests: "统计请求数",
|
|
17013
17057
|
cacheWriteNote: "本线路不报缓存写入",
|
|
17014
17058
|
cacheWriteNoteValue: "写侧 token",
|
|
17015
|
-
cacheWriteNoteHint: "
|
|
17059
|
+
cacheWriteNoteHint: "服务端没有缓存写入动作,写侧恒为 0,因此不画写侧进度条。",
|
|
17016
17060
|
cacheRequestParams: "在请求里发送缓存参数",
|
|
17017
17061
|
cacheRequestParamsHint: "当前不发缓存参数:Step 服务端是自动前缀缓存,官方对 Step 端点也默认不发。",
|
|
17018
|
-
cacheRequestParamsNote: "
|
|
17062
|
+
cacheRequestParamsNote: "开启后会发送 Step 未公开的字段,确认端点支持后再启用。",
|
|
17019
17063
|
cacheRequestParamsOnHint: "已打开能力位:请求会带上缓存参数。该字段未在 Step 文档中说明,官方对 Step 端点默认也不发。",
|
|
17020
17064
|
cachePricingNote: "单价未文档化(官方模型表里四个 cost 键全是 0),因此本页只展示 token 维度,不展示任何金额。",
|
|
17021
17065
|
cacheEmpty: "本进程还没有任何请求回报过用量,跑一次对话后再看。",
|
|
@@ -17086,7 +17130,7 @@ window.__ModuleLoader__.load({
|
|
|
17086
17130
|
routeOwned: "This plugin serves the model route.",
|
|
17087
17131
|
routeConflict: "Another provider already owns the model route: {detail}. Remove the duplicate provider configuration in DSH settings and reload.",
|
|
17088
17132
|
modelsSection: "Models",
|
|
17089
|
-
modelsHint: "Only checked models
|
|
17133
|
+
modelsHint: "Only checked models reach the picker; capabilities come from the runtime catalog, not names.",
|
|
17090
17134
|
modelsHintExtra: "A field with no evidence falls back to its declared default rather than being guessed; the catalog is filtered by the region of the credential, and the upstream rejects a model asked of the wrong region.",
|
|
17091
17135
|
modelsUnavailable: "No model to show yet (the catalog is discovered on demand — sign in, or use “Refresh catalog”).",
|
|
17092
17136
|
refreshCatalog: "Refresh catalog",
|
|
@@ -17095,9 +17139,9 @@ window.__ModuleLoader__.load({
|
|
|
17095
17139
|
selectAll: "Select all",
|
|
17096
17140
|
unselectAll: "Deselect all",
|
|
17097
17141
|
modelChecklistCount: "{count}/{total}",
|
|
17098
|
-
enabledModelIdsSemantics: "
|
|
17142
|
+
enabledModelIdsSemantics: "Clearing all checks means no filter; to limit models, check only the ones you need.",
|
|
17099
17143
|
defaultEffort: "Default thinking level",
|
|
17100
|
-
defaultEffortHint: "
|
|
17144
|
+
defaultEffortHint: "Requests converge to a level the target model supports, so unsupported levels are never sent.",
|
|
17101
17145
|
defaultEffortHintExtra: "The convergence lives on the host; choosing “each model its own default” leaves every model where it is.",
|
|
17102
17146
|
defaultEffortModel: "Each model its own default",
|
|
17103
17147
|
effortMinimal: "Minimal",
|
|
@@ -17118,7 +17162,7 @@ window.__ModuleLoader__.load({
|
|
|
17118
17162
|
saved: "Saved",
|
|
17119
17163
|
invalidCapacity: "Invalid capacity: {value}",
|
|
17120
17164
|
quotaSection: "Usage & quota",
|
|
17121
|
-
quotaDesc: "Read from the Step developer center
|
|
17165
|
+
quotaDesc: "Read from the Step developer center; a failed read never affects model requests.",
|
|
17122
17166
|
quotaRefresh: "Refresh usage",
|
|
17123
17167
|
quotaRefreshing: "Refreshing...",
|
|
17124
17168
|
quotaSignedOut: "Not signed in — finish the sign-in above first.",
|
|
@@ -17139,7 +17183,7 @@ window.__ModuleLoader__.load({
|
|
|
17139
17183
|
quotaKindWindowed: "Legacy window plan (5 hours / week)",
|
|
17140
17184
|
quotaKindCredit: "Credit pool",
|
|
17141
17185
|
quotaKindUnknown: "Unrecognized plan shape",
|
|
17142
|
-
quotaKindHint: "The
|
|
17186
|
+
quotaKindHint: "The payload shape identifies the plan generation; unrecognized plans show no bars.",
|
|
17143
17187
|
quotaWindowFiveHour: "5-hour window",
|
|
17144
17188
|
quotaWindowWeekly: "Weekly window",
|
|
17145
17189
|
quotaWindowCredit: "Credit pool",
|
|
@@ -17171,7 +17215,7 @@ window.__ModuleLoader__.load({
|
|
|
17171
17215
|
quotaCredentialClear: "Clear the quota credential",
|
|
17172
17216
|
quotaCredentialClearing: "Clearing…",
|
|
17173
17217
|
cacheSection: "Cache usage",
|
|
17174
|
-
cacheDesc: "
|
|
17218
|
+
cacheDesc: "Step caches prefixes automatically, so only reads are measured; writes are always zero.",
|
|
17175
17219
|
cacheStatScope: "These figures are the local tally DSH keeps over the requests that reported usage on this machine — not an upstream bill.",
|
|
17176
17220
|
cacheFieldOrder: "Read-side field order",
|
|
17177
17221
|
cacheReadTokens: "Read from cache",
|
|
@@ -17180,10 +17224,10 @@ window.__ModuleLoader__.load({
|
|
|
17180
17224
|
cacheRequests: "Requests counted",
|
|
17181
17225
|
cacheWriteNote: "This route reports no cache writes",
|
|
17182
17226
|
cacheWriteNoteValue: "Write tokens",
|
|
17183
|
-
cacheWriteNoteHint: "The
|
|
17227
|
+
cacheWriteNoteHint: "The service has no cache-write action; writes stay zero, so no write bar is shown.",
|
|
17184
17228
|
cacheRequestParams: "Send cache parameters in requests",
|
|
17185
17229
|
cacheRequestParamsHint: "No cache parameters are sent: the Step service uses an automatic prefix cache, and the official client does not send them to Step either.",
|
|
17186
|
-
cacheRequestParamsNote: "
|
|
17230
|
+
cacheRequestParamsNote: "Sends fields Step does not document; enable it only after confirming endpoint support.",
|
|
17187
17231
|
cacheRequestParamsOnHint: "The capability is on: requests carry cache parameters. Step does not document them, and the official client does not send them to Step either.",
|
|
17188
17232
|
cachePricingNote: "Unit prices are undocumented (all four cost keys are 0 in the official model table), so this page shows TOKENS ONLY and no money figure at all.",
|
|
17189
17233
|
cacheEmpty: "No request on this machine has reported usage yet — run a conversation and look again.",
|
|
@@ -18918,7 +18962,7 @@ window.__ModuleLoader__.load({
|
|
|
18918
18962
|
keyTestFailed: "Key 不可用:{detail}",
|
|
18919
18963
|
testSavedKey: "测试",
|
|
18920
18964
|
modelsSection: "模型",
|
|
18921
|
-
modelsHint: "
|
|
18965
|
+
modelsHint: "仅内置、官方目录和手动添加的模型;首次使用前先刷新。",
|
|
18922
18966
|
modelCount: "{count} 个模型",
|
|
18923
18967
|
modelChecklistCount: "已选 {count} / 共 {total} 个模型",
|
|
18924
18968
|
selectAll: "全选",
|
|
@@ -19042,7 +19086,7 @@ window.__ModuleLoader__.load({
|
|
|
19042
19086
|
keyTestFailed: "Key rejected: {detail}",
|
|
19043
19087
|
testSavedKey: "Test",
|
|
19044
19088
|
modelsSection: "Models",
|
|
19045
|
-
modelsHint: "Only bundled
|
|
19089
|
+
modelsHint: "Only bundled, official-catalog, and manually added models; refresh once before first use.",
|
|
19046
19090
|
modelCount: "{count} model(s)",
|
|
19047
19091
|
modelChecklistCount: "{count} of {total} selected",
|
|
19048
19092
|
selectAll: "Select all",
|
|
@@ -20259,7 +20303,7 @@ window.__ModuleLoader__.load({
|
|
|
20259
20303
|
modelRowOutput: "输出 {cap}",
|
|
20260
20304
|
...accountPoolZh,
|
|
20261
20305
|
title: "Qoder(订阅)",
|
|
20262
|
-
pageDesc: "用 Qoder
|
|
20306
|
+
pageDesc: "用 Qoder 订阅接入,管理账号池、额度、缓存与模型。",
|
|
20263
20307
|
loading: "加载中...",
|
|
20264
20308
|
/** 折叠区的标题:标题下只留一句,其余原句收在这里(折叠不是删除)。 */
|
|
20265
20309
|
moreNotes: "更多说明",
|
|
@@ -20342,7 +20386,7 @@ window.__ModuleLoader__.load({
|
|
|
20342
20386
|
saving: "保存中…",
|
|
20343
20387
|
invalidCapacity: "无效的容量:{value}",
|
|
20344
20388
|
quotaSection: "额度",
|
|
20345
|
-
quotaDesc: "额度来自 Qoder
|
|
20389
|
+
quotaDesc: "额度来自 Qoder 账号接口;含个人额度、加购 Credits 与组织资源包。",
|
|
20346
20390
|
quotaBucketPersonal: "个人额度",
|
|
20347
20391
|
/** 输入框胶囊上的排队提示(后面跟上游给的位置,如「排队中 3」)。 */
|
|
20348
20392
|
queuePosition: "排队中",
|
|
@@ -20372,7 +20416,7 @@ window.__ModuleLoader__.load({
|
|
|
20372
20416
|
quotaNoUnit: "",
|
|
20373
20417
|
/** 上游明说额度用尽:它是账号层面的事实,三只桶全是 0 时只有它能说清为什么被拒。 */
|
|
20374
20418
|
quotaExceeded: "额度已用尽",
|
|
20375
|
-
quotaExceededHint: "
|
|
20419
|
+
quotaExceededHint: "该账号额度已用尽;等周期重置或升级套餐后再试。",
|
|
20376
20420
|
quotaUpgradeLink: "打开升级页面",
|
|
20377
20421
|
cacheSection: "缓存用量",
|
|
20378
20422
|
cacheStatScope: "本进程启动以来的本地 token 统计,仅供参考。",
|
|
@@ -20396,7 +20440,7 @@ window.__ModuleLoader__.load({
|
|
|
20396
20440
|
modelRowOutput: "out {cap}",
|
|
20397
20441
|
...accountPoolEn,
|
|
20398
20442
|
title: "Qoder (Subscription)",
|
|
20399
|
-
pageDesc: "Connect
|
|
20443
|
+
pageDesc: "Connect a Qoder subscription and manage accounts, quota, cache, and models.",
|
|
20400
20444
|
loading: "Loading...",
|
|
20401
20445
|
moreNotes: "More notes",
|
|
20402
20446
|
region: "Region",
|
|
@@ -20477,7 +20521,7 @@ window.__ModuleLoader__.load({
|
|
|
20477
20521
|
saving: "Saving…",
|
|
20478
20522
|
invalidCapacity: "Invalid capacity: {value}",
|
|
20479
20523
|
quotaSection: "Quota",
|
|
20480
|
-
quotaDesc: "Quota
|
|
20524
|
+
quotaDesc: "Quota comes from the Qoder account endpoint: personal allowance, credits, and org packs.",
|
|
20481
20525
|
quotaBucketPersonal: "Personal quota",
|
|
20482
20526
|
queuePosition: "Queued",
|
|
20483
20527
|
checkinTitle: "Daily check-in",
|
|
@@ -20505,7 +20549,7 @@ window.__ModuleLoader__.load({
|
|
|
20505
20549
|
quotaErrorLabel: "Quota read failed",
|
|
20506
20550
|
quotaNoUnit: "",
|
|
20507
20551
|
quotaExceeded: "Quota exhausted",
|
|
20508
|
-
quotaExceededHint: "
|
|
20552
|
+
quotaExceededHint: "This account is out of quota; wait for the reset or upgrade the plan.",
|
|
20509
20553
|
quotaUpgradeLink: "Open the upgrade page",
|
|
20510
20554
|
cacheSection: "Cache usage",
|
|
20511
20555
|
cacheStatScope: "Local statistics (tokens, accumulated since this process started): it answers \"how much the cache helped\", not the upstream bill.",
|
|
@@ -21903,7 +21947,7 @@ window.__ModuleLoader__.load({
|
|
|
21903
21947
|
addAccount: "添加 API Key",
|
|
21904
21948
|
noAccounts: "暂无账号。点「登录 OpenDesign 账号」完成浏览器授权,或用「添加 API Key」粘贴控制台签发的 Key。",
|
|
21905
21949
|
title: "OpenDesign",
|
|
21906
|
-
pageDesc: "
|
|
21950
|
+
pageDesc: "用浏览器授权或 API Key 接入 OpenDesign,多账号自动轮换。",
|
|
21907
21951
|
login: "登录 OpenDesign 账号",
|
|
21908
21952
|
loggingIn: "登录中...",
|
|
21909
21953
|
loginHint: "在浏览器中打开激活页并确认下方代码;确认后账号会自动加入号池,无需再粘贴 Key。",
|
|
@@ -21941,7 +21985,7 @@ window.__ModuleLoader__.load({
|
|
|
21941
21985
|
keyTestFailed: "Key 不可用:{detail}",
|
|
21942
21986
|
testSavedKey: "测试",
|
|
21943
21987
|
modelsSection: "模型",
|
|
21944
|
-
modelsHint: "
|
|
21988
|
+
modelsHint: "目录随包内置;添加 Key 后自动同步,仅勾选模型进入选择器。",
|
|
21945
21989
|
modelChecklistCount: "已选 {count} / 共 {total} 个模型",
|
|
21946
21990
|
selectAll: "全选",
|
|
21947
21991
|
unselectAll: "全不选",
|
|
@@ -21954,7 +21998,7 @@ window.__ModuleLoader__.load({
|
|
|
21954
21998
|
unservedBadge: "套餐不支持",
|
|
21955
21999
|
unservedHint: "当前套餐不提供的模型默认隐藏,勾选后会强制显示。",
|
|
21956
22000
|
contextSection: "上下文窗口",
|
|
21957
|
-
contextHint: "
|
|
22001
|
+
contextHint: "官方未公布窗口,默认按 128K;可逐模型覆盖或恢复默认。",
|
|
21958
22002
|
tokens: "tokens",
|
|
21959
22003
|
contextSave: "保存",
|
|
21960
22004
|
contextOverridden: "已覆盖",
|
|
@@ -21972,7 +22016,7 @@ window.__ModuleLoader__.load({
|
|
|
21972
22016
|
savingSettings: "保存中...",
|
|
21973
22017
|
limitsSection: "说明",
|
|
21974
22018
|
usageSection: "套餐与额度",
|
|
21975
|
-
usageHint: "
|
|
22019
|
+
usageHint: "浏览器登录可直接读额度;粘贴的 Key 需在控制台查看。",
|
|
21976
22020
|
usageRefresh: "刷新额度",
|
|
21977
22021
|
usageRefreshing: "刷新中...",
|
|
21978
22022
|
usageEmpty: "尚未读取额度。",
|
|
@@ -22011,7 +22055,7 @@ window.__ModuleLoader__.load({
|
|
|
22011
22055
|
addAccount: "Add API key",
|
|
22012
22056
|
noAccounts: "No accounts yet. Click \"Add API key\" and paste a key created in the OpenDesign Cloud console.",
|
|
22013
22057
|
title: "OpenDesign",
|
|
22014
|
-
pageDesc: "Connect
|
|
22058
|
+
pageDesc: "Connect OpenDesign by browser sign-in or API key, with automatic account rotation.",
|
|
22015
22059
|
login: "Sign in to OpenDesign",
|
|
22016
22060
|
loggingIn: "Signing in...",
|
|
22017
22061
|
loginHint: "Open the activation page in your browser and confirm the code below; the account joins the pool automatically, with no key to paste.",
|
|
@@ -22049,7 +22093,7 @@ window.__ModuleLoader__.load({
|
|
|
22049
22093
|
keyTestFailed: "Key rejected: {detail}",
|
|
22050
22094
|
testSavedKey: "Test",
|
|
22051
22095
|
modelsSection: "Models",
|
|
22052
|
-
modelsHint: "The
|
|
22096
|
+
modelsHint: "The catalog is bundled; adding a key syncs it, and only checked models reach the picker.",
|
|
22053
22097
|
modelChecklistCount: "{count} of {total} selected",
|
|
22054
22098
|
selectAll: "Select all",
|
|
22055
22099
|
unselectAll: "Clear all",
|
|
@@ -22062,7 +22106,7 @@ window.__ModuleLoader__.load({
|
|
|
22062
22106
|
unservedBadge: "Not in plan",
|
|
22063
22107
|
unservedHint: "Models the current plan does not serve stay hidden by default; checking one here forces it to show.",
|
|
22064
22108
|
contextSection: "Context windows",
|
|
22065
|
-
contextHint: "
|
|
22109
|
+
contextHint: "Upstream publishes no windows, so the default is 128K; override or restore per model.",
|
|
22066
22110
|
tokens: "tokens",
|
|
22067
22111
|
contextSave: "Save",
|
|
22068
22112
|
contextOverridden: "overridden",
|
|
@@ -22080,7 +22124,7 @@ window.__ModuleLoader__.load({
|
|
|
22080
22124
|
savingSettings: "Saving...",
|
|
22081
22125
|
limitsSection: "Notes",
|
|
22082
22126
|
usageSection: "Plan and credits",
|
|
22083
|
-
usageHint: "
|
|
22127
|
+
usageHint: "Browser sign-in can read usage; keys added by paste must be checked in the console.",
|
|
22084
22128
|
usageRefresh: "Refresh plan & credits",
|
|
22085
22129
|
usageRefreshing: "Refreshing...",
|
|
22086
22130
|
usageEmpty: "No plan or credit reading yet.",
|
|
@@ -23195,7 +23239,7 @@ window.__ModuleLoader__.load({
|
|
|
23195
23239
|
regionIntl: "国际区",
|
|
23196
23240
|
accountType: "账号类型",
|
|
23197
23241
|
routeUnreachable: "无法读取 WorkBuddy 设置路由",
|
|
23198
|
-
routeUnreachableHint: "
|
|
23242
|
+
routeUnreachableHint: "浏览器插件比 Host 新,重启 DSH 让两端使用同一构建。",
|
|
23199
23243
|
rescan: "重新扫描",
|
|
23200
23244
|
rescanning: "扫描中...",
|
|
23201
23245
|
accounts: "账号管理",
|
|
@@ -23217,7 +23261,7 @@ window.__ModuleLoader__.load({
|
|
|
23217
23261
|
routeOwned: "模型路由由本插件提供",
|
|
23218
23262
|
routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。",
|
|
23219
23263
|
modelsSection: "模型",
|
|
23220
|
-
modelsHint: "
|
|
23264
|
+
modelsHint: "仅勾选模型进入选择器;目录按账号区域过滤,跨区调用会被拒。",
|
|
23221
23265
|
refreshCatalog: "刷新模型目录",
|
|
23222
23266
|
refreshingCatalog: "刷新中...",
|
|
23223
23267
|
selectAll: "全选",
|
|
@@ -23237,7 +23281,7 @@ window.__ModuleLoader__.load({
|
|
|
23237
23281
|
noReasoningModels: "当前账号的模型都没有声明可用的思考档位,因此没有可选的默认档位。",
|
|
23238
23282
|
defaultEffortKept: "已保存的档位不被当前任何模型支持,已保留但不会生效。",
|
|
23239
23283
|
contextWindowSection: "模型上下文窗口",
|
|
23240
|
-
contextWindowHint: "
|
|
23284
|
+
contextWindowHint: "默认取网关目录的真实上限;可覆盖 DSH 用于压缩和溢出的容量。",
|
|
23241
23285
|
contextWindowReset: "恢复默认",
|
|
23242
23286
|
contextWindowResetAll: "全部恢复默认",
|
|
23243
23287
|
contextWindowResetAllConfirm: "确定把已改过的模型上下文窗口全部恢复为默认值吗?",
|
|
@@ -23269,7 +23313,7 @@ window.__ModuleLoader__.load({
|
|
|
23269
23313
|
checkinNow: "立即签到",
|
|
23270
23314
|
checkinRunning: "签到中…",
|
|
23271
23315
|
outboundSection: "出站身份",
|
|
23272
|
-
outboundHint: "
|
|
23316
|
+
outboundHint: "选择请求的客户端身份;换身份不会增加额度。",
|
|
23273
23317
|
outboundAuto: "自动(按账号分配)",
|
|
23274
23318
|
outboundCli: "CLI(默认,实测可用)",
|
|
23275
23319
|
outboundWorkbuddy: "WorkBuddy 桌面端",
|
|
@@ -23282,7 +23326,7 @@ window.__ModuleLoader__.load({
|
|
|
23282
23326
|
atRestSaved: "已保存密钥",
|
|
23283
23327
|
atRestSealed: "检测到 {count} 个加密凭据,未保存密钥前无法使用。",
|
|
23284
23328
|
guardrailsSection: "本地额度护栏",
|
|
23285
|
-
guardrailsHint: "
|
|
23329
|
+
guardrailsHint: "额度或日 token 触顶时切到池内其他账号;填 0 关闭。",
|
|
23286
23330
|
guardrailsReserve: "保留积分",
|
|
23287
23331
|
guardrailsDaily: "账号日 token",
|
|
23288
23332
|
guardrailsModelDaily: "模型日 token",
|
|
@@ -23321,7 +23365,7 @@ window.__ModuleLoader__.load({
|
|
|
23321
23365
|
regionIntl: "International",
|
|
23322
23366
|
accountType: "Account type",
|
|
23323
23367
|
routeUnreachable: "The WorkBuddy settings route could not be read",
|
|
23324
|
-
routeUnreachableHint: "The
|
|
23368
|
+
routeUnreachableHint: "The browser plugin is newer than the Host; restart DSH so both use the same build.",
|
|
23325
23369
|
rescan: "Rescan",
|
|
23326
23370
|
rescanning: "Scanning...",
|
|
23327
23371
|
accounts: "Account Management",
|
|
@@ -23343,7 +23387,7 @@ window.__ModuleLoader__.load({
|
|
|
23343
23387
|
routeOwned: "This plugin serves the model route",
|
|
23344
23388
|
routeConflict: "Another provider already owns the model route: {detail}. Remove the duplicate provider configuration in DSH settings and reload.",
|
|
23345
23389
|
modelsSection: "Models",
|
|
23346
|
-
modelsHint: "
|
|
23390
|
+
modelsHint: "Only checked models reach the picker; the catalog is region-filtered and cross-region calls fail.",
|
|
23347
23391
|
refreshCatalog: "Refresh catalog",
|
|
23348
23392
|
refreshingCatalog: "Refreshing...",
|
|
23349
23393
|
selectAll: "Select all",
|
|
@@ -23363,7 +23407,7 @@ window.__ModuleLoader__.load({
|
|
|
23363
23407
|
noReasoningModels: "None of this account’s models declare a reasoning level, so there is no default to choose.",
|
|
23364
23408
|
defaultEffortKept: "The saved level is not supported by any current model; it is kept but has no effect.",
|
|
23365
23409
|
contextWindowSection: "Model context window",
|
|
23366
|
-
contextWindowHint: "
|
|
23410
|
+
contextWindowHint: "Uses the gateway catalog limit; override the capacity DSH uses for compaction and overflow.",
|
|
23367
23411
|
contextWindowReset: "Restore default",
|
|
23368
23412
|
contextWindowResetAll: "Restore all defaults",
|
|
23369
23413
|
contextWindowResetAllConfirm: "Restore every changed model context window to its default?",
|
|
@@ -23395,7 +23439,7 @@ window.__ModuleLoader__.load({
|
|
|
23395
23439
|
checkinNow: "Check in now",
|
|
23396
23440
|
checkinRunning: "Checking in…",
|
|
23397
23441
|
outboundSection: "Outbound identity",
|
|
23398
|
-
outboundHint: "
|
|
23442
|
+
outboundHint: "Sets the client identity; switching identity never adds allowance.",
|
|
23399
23443
|
outboundAuto: "Auto (per account)",
|
|
23400
23444
|
outboundCli: "CLI (default, measured working)",
|
|
23401
23445
|
outboundWorkbuddy: "WorkBuddy desktop",
|
|
@@ -23408,7 +23452,7 @@ window.__ModuleLoader__.load({
|
|
|
23408
23452
|
atRestSaved: "Key saved",
|
|
23409
23453
|
atRestSealed: "{count} sealed credentials found; they stay unreadable until a key is saved.",
|
|
23410
23454
|
guardrailsSection: "Local quota guardrails",
|
|
23411
|
-
guardrailsHint: "
|
|
23455
|
+
guardrailsHint: "Switches to another pooled account at a credit or daily token limit; 0 disables it.",
|
|
23412
23456
|
guardrailsReserve: "Reserve credits",
|
|
23413
23457
|
guardrailsDaily: "Account daily tokens",
|
|
23414
23458
|
guardrailsModelDaily: "Model daily tokens",
|
|
@@ -24801,10 +24845,9 @@ window.__ModuleLoader__.load({
|
|
|
24801
24845
|
const NS_QIANWEN = "dsh-qianwen-token-plan";
|
|
24802
24846
|
const zh$15 = {
|
|
24803
24847
|
title: "Qwen Token Plan(千问)",
|
|
24804
|
-
pageDesc: "
|
|
24848
|
+
pageDesc: "用套餐专属 Key 调用 Qwen,支持缓存、思考与视觉预算。",
|
|
24805
24849
|
loading: "加载中...",
|
|
24806
24850
|
moreNotes: "更多说明",
|
|
24807
|
-
enabled: "启用此线路",
|
|
24808
24851
|
keySection: "API Key",
|
|
24809
24852
|
keyConfigured: "已配置套餐专属 API Key;凭据只保存在主机加密存储中。",
|
|
24810
24853
|
keyMissing: "尚未配置 API Key。请在千问 Token Plan 控制台创建套餐专属 Key。",
|
|
@@ -24876,10 +24919,9 @@ window.__ModuleLoader__.load({
|
|
|
24876
24919
|
zh: zh$15,
|
|
24877
24920
|
en: {
|
|
24878
24921
|
title: "Qwen Token Plan",
|
|
24879
|
-
pageDesc: "Use a
|
|
24922
|
+
pageDesc: "Use a plan key for Qwen, with caching, thinking, and visual budgets.",
|
|
24880
24923
|
loading: "Loading...",
|
|
24881
24924
|
moreNotes: "More details",
|
|
24882
|
-
enabled: "Enable this line",
|
|
24883
24925
|
keySection: "API key",
|
|
24884
24926
|
keyConfigured: "A dedicated plan key is configured and stored only in host encrypted storage.",
|
|
24885
24927
|
keyMissing: "No API key yet. Create a dedicated key in the Qianwen Token Plan console.",
|
|
@@ -25188,16 +25230,6 @@ window.__ModuleLoader__.load({
|
|
|
25188
25230
|
className: "dsha-muted",
|
|
25189
25231
|
children: t.pageDesc
|
|
25190
25232
|
}),
|
|
25191
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
25192
|
-
className: "dsha-pref-row",
|
|
25193
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
25194
|
-
type: "checkbox",
|
|
25195
|
-
"aria-label": t.enabled,
|
|
25196
|
-
checked: status?.enabled !== false,
|
|
25197
|
-
disabled: busy !== null,
|
|
25198
|
-
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
25199
|
-
})]
|
|
25200
|
-
}),
|
|
25201
25233
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
25202
25234
|
className: "dsha-empty",
|
|
25203
25235
|
children: status?.authenticated ? t.keyConfigured : t.keyMissing
|
|
@@ -25508,8 +25540,7 @@ window.__ModuleLoader__.load({
|
|
|
25508
25540
|
const NS_RELAYONE = "dsh-relayone";
|
|
25509
25541
|
const zh$14 = {
|
|
25510
25542
|
title: "RelayOne",
|
|
25511
|
-
pageDesc: "一个 API Key
|
|
25512
|
-
enabled: "启用 RelayOne",
|
|
25543
|
+
pageDesc: "一个 RelayOne API Key,接入当前分组的对话与媒体模型。",
|
|
25513
25544
|
keySection: "API Key",
|
|
25514
25545
|
keyPlaceholder: "sk-…",
|
|
25515
25546
|
saveKey: "保存密钥",
|
|
@@ -25617,8 +25648,7 @@ window.__ModuleLoader__.load({
|
|
|
25617
25648
|
zh: zh$14,
|
|
25618
25649
|
en: {
|
|
25619
25650
|
title: "RelayOne",
|
|
25620
|
-
pageDesc: "One API key for the chat and media models
|
|
25621
|
-
enabled: "Enable RelayOne",
|
|
25651
|
+
pageDesc: "One RelayOne API key for the chat and media models in its current group.",
|
|
25622
25652
|
keySection: "API Key",
|
|
25623
25653
|
keyPlaceholder: "sk-…",
|
|
25624
25654
|
saveKey: "Save key",
|
|
@@ -25988,6 +26018,53 @@ window.__ModuleLoader__.load({
|
|
|
25988
26018
|
xhigh: "effortXhigh",
|
|
25989
26019
|
max: "effortMax"
|
|
25990
26020
|
};
|
|
26021
|
+
/** The active key's quota, drawn in the same card language as every other line. */
|
|
26022
|
+
function RelayOneKeyQuota({ quota, labels }) {
|
|
26023
|
+
const text = relayOneQuotaAccountText(quota);
|
|
26024
|
+
if (text === null) return null;
|
|
26025
|
+
const unlimited = relayOneQuotaIsUnlimited(quota);
|
|
26026
|
+
const remaining = quota.remainingPercent === null ? null : Math.max(0, Math.min(100, quota.remainingPercent));
|
|
26027
|
+
const level = quotaLevel(remaining ?? 100);
|
|
26028
|
+
const stale = quota.state === "stale";
|
|
26029
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26030
|
+
className: "dsha-account-quota dshro-key-quota",
|
|
26031
|
+
title: quota.error ?? void 0,
|
|
26032
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26033
|
+
className: "dsha-account-quota-head",
|
|
26034
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: labels.quotaLabel }), stale && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("em", { children: labels.quotaStale })]
|
|
26035
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26036
|
+
className: "dsha-account-quota-row",
|
|
26037
|
+
"data-level": level,
|
|
26038
|
+
children: [
|
|
26039
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
26040
|
+
className: "dsha-account-quota-name",
|
|
26041
|
+
children: labels.quotaAvailable
|
|
26042
|
+
}),
|
|
26043
|
+
remaining !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
26044
|
+
className: "dsha-account-quota-track",
|
|
26045
|
+
role: "progressbar",
|
|
26046
|
+
"aria-label": labels.quotaLabel + ": " + text,
|
|
26047
|
+
"aria-valuemin": 0,
|
|
26048
|
+
"aria-valuemax": 100,
|
|
26049
|
+
"aria-valuenow": remaining,
|
|
26050
|
+
"aria-valuetext": text,
|
|
26051
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("i", {
|
|
26052
|
+
className: "dsha-account-quota-fill",
|
|
26053
|
+
style: { width: `${remaining}%` }
|
|
26054
|
+
})
|
|
26055
|
+
}),
|
|
26056
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
26057
|
+
className: "dsha-account-quota-value",
|
|
26058
|
+
children: text
|
|
26059
|
+
}),
|
|
26060
|
+
unlimited && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
26061
|
+
className: "dsha-account-quota-meta",
|
|
26062
|
+
children: labels.quotaUnlimited
|
|
26063
|
+
})
|
|
26064
|
+
]
|
|
26065
|
+
})]
|
|
26066
|
+
});
|
|
26067
|
+
}
|
|
25991
26068
|
function RelayOneSection(props = {}) {
|
|
25992
26069
|
const t = useLineDict(NS_RELAYONE, zh$14);
|
|
25993
26070
|
const view = useRelayOneSection(props);
|
|
@@ -26005,83 +26082,57 @@ window.__ModuleLoader__.load({
|
|
|
26005
26082
|
className: "dsha-page dshro-page",
|
|
26006
26083
|
"data-provider": "relayone",
|
|
26007
26084
|
children: [
|
|
26008
|
-
/* @__PURE__ */ (0, react_jsx_runtime.
|
|
26009
|
-
className: "
|
|
26010
|
-
children:
|
|
26011
|
-
|
|
26012
|
-
|
|
26013
|
-
|
|
26014
|
-
|
|
26015
|
-
|
|
26016
|
-
|
|
26017
|
-
|
|
26018
|
-
|
|
26019
|
-
|
|
26020
|
-
|
|
26021
|
-
|
|
26022
|
-
|
|
26023
|
-
|
|
26024
|
-
|
|
26025
|
-
|
|
26026
|
-
|
|
26027
|
-
}),
|
|
26028
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
26029
|
-
className: "dsha-muted",
|
|
26030
|
-
children: t.pageDesc
|
|
26031
|
-
}),
|
|
26032
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26033
|
-
className: "dsha-pref-row",
|
|
26034
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
26035
|
-
type: "checkbox",
|
|
26036
|
-
"aria-label": t.enabled,
|
|
26037
|
-
checked: status?.enabled !== false,
|
|
26085
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
26086
|
+
className: "dshro-account",
|
|
26087
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(AccountPoolSection, {
|
|
26088
|
+
accounts: status?.accounts ?? [],
|
|
26089
|
+
activeAccountId: status?.activeAccountId,
|
|
26090
|
+
rotationStrategy: status?.rotationStrategy ?? "sequential",
|
|
26091
|
+
labels: t,
|
|
26092
|
+
description: t.pageDesc,
|
|
26093
|
+
busy,
|
|
26094
|
+
onLogin: () => void 0,
|
|
26095
|
+
renderLoginActions: () => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26096
|
+
className: "dsha-actions",
|
|
26097
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
26098
|
+
className: "dsha-btn",
|
|
26099
|
+
disabled: busy !== null || !status?.authenticated,
|
|
26100
|
+
onClick: () => void view.testConnection(),
|
|
26101
|
+
children: busy === "connection" ? t.testingConnection : t.testConnection
|
|
26102
|
+
}), status?.authenticated && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
26103
|
+
className: "dsha-btn",
|
|
26038
26104
|
disabled: busy !== null,
|
|
26039
|
-
|
|
26040
|
-
|
|
26041
|
-
}),
|
|
26042
|
-
status?.authenticated && status.quota !== void 0 && status.quota.state !== "idle" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26043
|
-
className: "dsha-row dshro-quota-row",
|
|
26044
|
-
title: status.quota.error ?? void 0,
|
|
26045
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
26046
|
-
className: "dsha-label",
|
|
26047
|
-
children: t.quotaLabel
|
|
26048
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
26049
|
-
className: "dsha-value",
|
|
26050
|
-
children: relayOneQuotaAccountText(status.quota) ?? "—"
|
|
26105
|
+
onClick: () => void view.removeKey(),
|
|
26106
|
+
children: busy === "remove-key" ? t.removingKey : t.removeKey
|
|
26051
26107
|
})]
|
|
26052
26108
|
}),
|
|
26053
|
-
|
|
26054
|
-
|
|
26055
|
-
|
|
26109
|
+
onSetPrimary: (id) => void view.accountAction("set-primary", "set-primary", { accountId: id }),
|
|
26110
|
+
onDelete: (id) => void view.accountAction("delete", "delete", { accountId: id }),
|
|
26111
|
+
onClearCooldown: (id) => void view.accountAction("clear-cooldown", "clear-cooldown", { accountId: id }),
|
|
26112
|
+
onSetStrategy: () => void 0,
|
|
26113
|
+
showStrategy: false,
|
|
26114
|
+
omitDetails: ["email", "expires"],
|
|
26115
|
+
renderQuota: (account) => {
|
|
26116
|
+
const quota = status?.quota;
|
|
26117
|
+
const activeId = status?.activeAccountId ?? status?.accounts.find((candidate) => candidate.isPrimary)?.id;
|
|
26118
|
+
if (account.id !== activeId || quota === void 0) return null;
|
|
26119
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RelayOneKeyQuota, {
|
|
26120
|
+
quota,
|
|
26121
|
+
labels: t
|
|
26122
|
+
});
|
|
26123
|
+
},
|
|
26124
|
+
renderAccountActions: (account) => account.id === status?.activeAccountId ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
26125
|
+
className: "dsha-btn dsha-btn-primary",
|
|
26126
|
+
disabled: busy !== null,
|
|
26127
|
+
onClick: () => void view.accountAction("use:" + account.id, "use", { accountId: account.id }),
|
|
26128
|
+
children: busy === "use:" + account.id ? t.switchingKey : t.useKey
|
|
26056
26129
|
}),
|
|
26057
|
-
|
|
26058
|
-
|
|
26059
|
-
children: view.connection.connected ? t.connectionOk + " · " + t.latency.replace("{ms}", String(view.connection.latencyMs)) + " · " + t.modelCount.replace("{count}", String(view.connection.modelCount)) : t.connectionFailed + ": " + (view.connection.error ?? "—")
|
|
26060
|
-
}),
|
|
26061
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(AccountPoolSection, {
|
|
26062
|
-
accounts: status?.accounts ?? [],
|
|
26063
|
-
activeAccountId: status?.activeAccountId,
|
|
26064
|
-
rotationStrategy: status?.rotationStrategy ?? "sequential",
|
|
26065
|
-
labels: t,
|
|
26066
|
-
busy,
|
|
26067
|
-
onLogin: () => void 0,
|
|
26068
|
-
renderLoginActions: () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
26130
|
+
children: [
|
|
26131
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
26069
26132
|
className: "dsha-muted",
|
|
26070
26133
|
children: status?.authenticated ? t.keyConfigured : t.keyMissing
|
|
26071
26134
|
}),
|
|
26072
|
-
|
|
26073
|
-
onDelete: (id) => void view.accountAction("delete", "delete", { accountId: id }),
|
|
26074
|
-
onClearCooldown: (id) => void view.accountAction("clear-cooldown", "clear-cooldown", { accountId: id }),
|
|
26075
|
-
onSetStrategy: () => void 0,
|
|
26076
|
-
showStrategy: false,
|
|
26077
|
-
omitDetails: ["email", "expires"],
|
|
26078
|
-
renderAccountActions: (account) => account.id === status?.activeAccountId ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
26079
|
-
className: "dsha-btn dsha-btn-primary",
|
|
26080
|
-
disabled: busy !== null,
|
|
26081
|
-
onClick: () => void view.accountAction("use:" + account.id, "use", { accountId: account.id }),
|
|
26082
|
-
children: busy === "use:" + account.id ? t.switchingKey : t.useKey
|
|
26083
|
-
}),
|
|
26084
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26135
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26085
26136
|
className: "dshro-key-row",
|
|
26086
26137
|
children: [
|
|
26087
26138
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
@@ -26110,7 +26161,16 @@ window.__ModuleLoader__.load({
|
|
|
26110
26161
|
children: busy === "key" ? t.savingKey : t.saveKey
|
|
26111
26162
|
})
|
|
26112
26163
|
]
|
|
26113
|
-
}),
|
|
26164
|
+
}),
|
|
26165
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
26166
|
+
className: "dsha-muted",
|
|
26167
|
+
children: status?.serving === false && status.conflict ? t.routeConflict.replace("{detail}", status.conflict) : t.routeOwned
|
|
26168
|
+
}),
|
|
26169
|
+
view.connection !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
26170
|
+
className: view.connection.connected ? "dsha-muted" : "dsha-notice",
|
|
26171
|
+
children: view.connection.connected ? t.connectionOk + " · " + t.latency.replace("{ms}", String(view.connection.latencyMs)) + " · " + t.modelCount.replace("{count}", String(view.connection.modelCount)) : t.connectionFailed + ": " + (view.connection.error ?? "—")
|
|
26172
|
+
}),
|
|
26173
|
+
status?.authenticated && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26114
26174
|
className: "dsha-row",
|
|
26115
26175
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
26116
26176
|
className: "dsha-label",
|
|
@@ -26119,9 +26179,9 @@ window.__ModuleLoader__.load({
|
|
|
26119
26179
|
className: "dsha-value",
|
|
26120
26180
|
children: status.storagePath
|
|
26121
26181
|
})]
|
|
26122
|
-
})
|
|
26123
|
-
|
|
26124
|
-
|
|
26182
|
+
})
|
|
26183
|
+
]
|
|
26184
|
+
})
|
|
26125
26185
|
}),
|
|
26126
26186
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
26127
26187
|
className: "dsha-group dshro-models",
|
|
@@ -26391,14 +26451,13 @@ window.__ModuleLoader__.load({
|
|
|
26391
26451
|
const zh$13 = {
|
|
26392
26452
|
...accountPoolZh,
|
|
26393
26453
|
title: "Claude API",
|
|
26394
|
-
pageDesc: "
|
|
26454
|
+
pageDesc: "独立 API Key 与 Anthropic 兼容端点,主账号优先、故障自动切换。",
|
|
26395
26455
|
loading: "正在读取线路状态…",
|
|
26396
26456
|
accountAlias: "账号名称",
|
|
26397
26457
|
editAccount: "编辑",
|
|
26398
26458
|
saveAccount: "保存账号",
|
|
26399
26459
|
cancel: "取消",
|
|
26400
26460
|
keyKeepPlaceholder: "留空则保留当前 Key",
|
|
26401
|
-
enabled: "启用 Claude API",
|
|
26402
26461
|
keySection: "API Key",
|
|
26403
26462
|
keyPlaceholder: "sk-ant-…",
|
|
26404
26463
|
saveKey: "保存密钥",
|
|
@@ -26462,7 +26521,7 @@ window.__ModuleLoader__.load({
|
|
|
26462
26521
|
autoCompactSubagents: "子代理完成后自动压缩",
|
|
26463
26522
|
autoCompactSubagentsHint: "默认开启。只压缩子代理自己的上下文,不影响主对话;压缩失败不影响任务结果。",
|
|
26464
26523
|
moreNotes: "计费与兼容说明",
|
|
26465
|
-
cacheTtlNote: "
|
|
26524
|
+
cacheTtlNote: "5 分钟与 1 小时两档;1 小时写入按 2 倍计费,子代理/后台每 55 分钟续热。",
|
|
26466
26525
|
fastModeNote: "快速模式按溢价计费,并且只对支持它的模型生效。",
|
|
26467
26526
|
serverCompactionNote: "端点不支持服务端压缩时,自动退回客户端压缩。",
|
|
26468
26527
|
contextSection: "上下文窗口",
|
|
@@ -26480,14 +26539,13 @@ window.__ModuleLoader__.load({
|
|
|
26480
26539
|
en: {
|
|
26481
26540
|
...accountPoolEn,
|
|
26482
26541
|
title: "Claude API",
|
|
26483
|
-
pageDesc: "
|
|
26542
|
+
pageDesc: "Independent API keys and Anthropic-compatible endpoints, with automatic failover.",
|
|
26484
26543
|
loading: "Reading the line status…",
|
|
26485
26544
|
accountAlias: "Account name",
|
|
26486
26545
|
editAccount: "Edit",
|
|
26487
26546
|
saveAccount: "Save account",
|
|
26488
26547
|
cancel: "Cancel",
|
|
26489
26548
|
keyKeepPlaceholder: "Leave blank to keep the current key",
|
|
26490
|
-
enabled: "Enable Claude API",
|
|
26491
26549
|
keySection: "API Key",
|
|
26492
26550
|
keyPlaceholder: "sk-ant-…",
|
|
26493
26551
|
saveKey: "Save key",
|
|
@@ -26551,7 +26609,7 @@ window.__ModuleLoader__.load({
|
|
|
26551
26609
|
autoCompactSubagents: "Compact subagents after completion",
|
|
26552
26610
|
autoCompactSubagentsHint: "On by default. Only the subagent’s own context is compacted; the main conversation is untouched and failure does not change the task result.",
|
|
26553
26611
|
moreNotes: "Pricing and compatibility notes",
|
|
26554
|
-
cacheTtlNote: "
|
|
26612
|
+
cacheTtlNote: "5 minutes or 1 hour; 1-hour writes cost 2x, with a 55-minute refresh while subagents run.",
|
|
26555
26613
|
fastModeNote: "Fast mode is premium-priced and only applies to models that support it.",
|
|
26556
26614
|
serverCompactionNote: "When the endpoint does not support server-side compaction, the line falls back to client compaction.",
|
|
26557
26615
|
contextSection: "Context windows",
|
|
@@ -26966,6 +27024,7 @@ window.__ModuleLoader__.load({
|
|
|
26966
27024
|
...t,
|
|
26967
27025
|
accountPool: t.title
|
|
26968
27026
|
},
|
|
27027
|
+
description: t.pageDesc,
|
|
26969
27028
|
onLogin: view.openAddAccount,
|
|
26970
27029
|
onSetPrimary: (id) => void view.accountAction("set-primary", id),
|
|
26971
27030
|
onDelete: (id) => void view.accountAction("delete", id),
|
|
@@ -26993,20 +27052,6 @@ window.__ModuleLoader__.load({
|
|
|
26993
27052
|
children: busy === "connection-" + entry.id ? t.testingConnection : t.testConnection
|
|
26994
27053
|
})] }),
|
|
26995
27054
|
children: [
|
|
26996
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
26997
|
-
className: "dsha-muted",
|
|
26998
|
-
children: t.pageDesc
|
|
26999
|
-
}),
|
|
27000
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
27001
|
-
className: "dsha-pref-row",
|
|
27002
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
27003
|
-
type: "checkbox",
|
|
27004
|
-
"aria-label": t.enabled,
|
|
27005
|
-
checked: status?.enabled !== false,
|
|
27006
|
-
disabled: busy !== null,
|
|
27007
|
-
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
27008
|
-
})]
|
|
27009
|
-
}),
|
|
27010
27055
|
view.accountFormOpen && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
27011
27056
|
className: "dshca-account-form",
|
|
27012
27057
|
children: [
|
|
@@ -27351,9 +27396,15 @@ window.__ModuleLoader__.load({
|
|
|
27351
27396
|
function isQianfanDeploymentId(value) {
|
|
27352
27397
|
return value === "personal" || value === "team";
|
|
27353
27398
|
}
|
|
27354
|
-
const QIANFAN_REASONING_EFFORTS = [
|
|
27399
|
+
const QIANFAN_REASONING_EFFORTS = [
|
|
27400
|
+
"none",
|
|
27401
|
+
"low",
|
|
27402
|
+
"medium",
|
|
27403
|
+
"high",
|
|
27404
|
+
"max"
|
|
27405
|
+
];
|
|
27355
27406
|
function isQianfanReasoningEffort(value) {
|
|
27356
|
-
return value === "none" || value === "high";
|
|
27407
|
+
return value === "none" || value === "low" || value === "medium" || value === "high" || value === "max";
|
|
27357
27408
|
}
|
|
27358
27409
|
const QIANFAN_IMAGE_DETAILS = [
|
|
27359
27410
|
"low",
|
|
@@ -27368,10 +27419,9 @@ window.__ModuleLoader__.load({
|
|
|
27368
27419
|
const NS_QIANFAN = "dsh-qianfan-token-plan";
|
|
27369
27420
|
const zh$12 = {
|
|
27370
27421
|
title: "千帆 Token Plan(百度)",
|
|
27371
|
-
pageDesc: "
|
|
27422
|
+
pageDesc: "用套餐专属 Key 调用千帆模型,额度请在百度云查看。",
|
|
27372
27423
|
loading: "加载中...",
|
|
27373
27424
|
moreNotes: "更多说明",
|
|
27374
|
-
enabled: "启用此线路",
|
|
27375
27425
|
keySection: "套餐 API Key",
|
|
27376
27426
|
keyConfigured: "已配置套餐专属 API Key;凭据只保存在主机加密存储中。",
|
|
27377
27427
|
keyMissing: "尚未配置 API Key。请在千帆控制台创建 Token Plan 专属 Key。",
|
|
@@ -27396,10 +27446,13 @@ window.__ModuleLoader__.load({
|
|
|
27396
27446
|
quotaUnsupported: "千帆只把 Token Plan 的用量给百度云控制台会话,推理 Key 查不到;本线路因此不显示额度条,也不猜测数字。",
|
|
27397
27447
|
thinkingSection: "思考与推理",
|
|
27398
27448
|
defaultEffort: "默认思考档位",
|
|
27399
|
-
effortHint: "
|
|
27449
|
+
effortHint: "留空表示不发送思考参数,由上游决定。",
|
|
27400
27450
|
effortDefault: "上游默认",
|
|
27401
27451
|
effortNone: "关闭思考",
|
|
27452
|
+
effortLow: "轻度思考",
|
|
27453
|
+
effortMedium: "中度思考",
|
|
27402
27454
|
effortHigh: "深度思考",
|
|
27455
|
+
effortMax: "最大思考",
|
|
27403
27456
|
modelsSection: "模型",
|
|
27404
27457
|
modelsHint: "套餐模型来自随包目录:千帆不提供该套餐的模型清单接口。",
|
|
27405
27458
|
selectAll: "全选",
|
|
@@ -27431,10 +27484,9 @@ window.__ModuleLoader__.load({
|
|
|
27431
27484
|
zh: zh$12,
|
|
27432
27485
|
en: {
|
|
27433
27486
|
title: "Qianfan Token Plan (Baidu)",
|
|
27434
|
-
pageDesc: "
|
|
27487
|
+
pageDesc: "Use a plan key for Qianfan models; check usage in Baidu Cloud.",
|
|
27435
27488
|
loading: "Loading…",
|
|
27436
27489
|
moreNotes: "More",
|
|
27437
|
-
enabled: "Enable this line",
|
|
27438
27490
|
keySection: "Plan API key",
|
|
27439
27491
|
keyConfigured: "A plan key is stored; credentials live only in the host's encrypted store.",
|
|
27440
27492
|
keyMissing: "No API key yet. Create a Token Plan key in the Qianfan console.",
|
|
@@ -27459,10 +27511,13 @@ window.__ModuleLoader__.load({
|
|
|
27459
27511
|
quotaUnsupported: "Qianfan reports Token Plan usage only to a Baidu Cloud console session, never to the plan key, so this line shows no meter rather than a guessed number.",
|
|
27460
27512
|
thinkingSection: "Thinking",
|
|
27461
27513
|
defaultEffort: "Default reasoning effort",
|
|
27462
|
-
effortHint: "Empty sends no
|
|
27514
|
+
effortHint: "Empty sends no thinking parameter and lets the upstream decide.",
|
|
27463
27515
|
effortDefault: "Upstream default",
|
|
27464
27516
|
effortNone: "Thinking off",
|
|
27517
|
+
effortLow: "Light thinking",
|
|
27518
|
+
effortMedium: "Medium thinking",
|
|
27465
27519
|
effortHigh: "Deep thinking",
|
|
27520
|
+
effortMax: "Maximum thinking",
|
|
27466
27521
|
modelsSection: "Models",
|
|
27467
27522
|
modelsHint: "The bundled table is the only catalog: Qianfan publishes no listing for this plan.",
|
|
27468
27523
|
selectAll: "Select all",
|
|
@@ -27679,7 +27734,10 @@ window.__ModuleLoader__.load({
|
|
|
27679
27734
|
//#region src/client/providers/qianfan-token-plan/QianfanSection.tsx
|
|
27680
27735
|
const EFFORT_KEYS$6 = {
|
|
27681
27736
|
none: "effortNone",
|
|
27682
|
-
|
|
27737
|
+
low: "effortLow",
|
|
27738
|
+
medium: "effortMedium",
|
|
27739
|
+
high: "effortHigh",
|
|
27740
|
+
max: "effortMax"
|
|
27683
27741
|
};
|
|
27684
27742
|
const DEPLOYMENT_KEYS$2 = {
|
|
27685
27743
|
personal: "deploymentPersonal",
|
|
@@ -27724,16 +27782,6 @@ window.__ModuleLoader__.load({
|
|
|
27724
27782
|
className: "dsha-muted",
|
|
27725
27783
|
children: t.pageDesc
|
|
27726
27784
|
}),
|
|
27727
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
27728
|
-
className: "dsha-pref-row",
|
|
27729
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
27730
|
-
type: "checkbox",
|
|
27731
|
-
"aria-label": t.enabled,
|
|
27732
|
-
checked: status?.enabled !== false,
|
|
27733
|
-
disabled: busy !== null,
|
|
27734
|
-
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
27735
|
-
})]
|
|
27736
|
-
}),
|
|
27737
27785
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
27738
27786
|
className: "dsha-empty",
|
|
27739
27787
|
children: status?.authenticated ? t.keyConfigured : t.keyMissing
|
|
@@ -28021,10 +28069,9 @@ window.__ModuleLoader__.load({
|
|
|
28021
28069
|
const NS_LONGCAT = "dsh-longcat";
|
|
28022
28070
|
const zh$11 = {
|
|
28023
28071
|
title: "LongCat",
|
|
28024
|
-
pageDesc: "
|
|
28072
|
+
pageDesc: "用开放平台 API Key 调用 LongCat 模型。",
|
|
28025
28073
|
loading: "加载中...",
|
|
28026
28074
|
moreNotes: "更多说明",
|
|
28027
|
-
enabled: "启用本线路",
|
|
28028
28075
|
keySection: "API Key",
|
|
28029
28076
|
keyConfigured: "已保存 API Key,只存在于宿主加密存储。",
|
|
28030
28077
|
keyMissing: "还没有 API Key。可以在 LongCat 开放平台创建一个。",
|
|
@@ -28092,10 +28139,9 @@ window.__ModuleLoader__.load({
|
|
|
28092
28139
|
zh: zh$11,
|
|
28093
28140
|
en: {
|
|
28094
28141
|
title: "LongCat",
|
|
28095
|
-
pageDesc: "
|
|
28142
|
+
pageDesc: "Use a LongCat platform API key for LongCat models.",
|
|
28096
28143
|
loading: "Loading...",
|
|
28097
28144
|
moreNotes: "More details",
|
|
28098
|
-
enabled: "Enable this line",
|
|
28099
28145
|
keySection: "API key",
|
|
28100
28146
|
keyConfigured: "An API key is configured and stored only in host encrypted storage.",
|
|
28101
28147
|
keyMissing: "No API key yet. Create one in the LongCat console.",
|
|
@@ -28408,16 +28454,6 @@ window.__ModuleLoader__.load({
|
|
|
28408
28454
|
className: "dsha-muted",
|
|
28409
28455
|
children: t.pageDesc
|
|
28410
28456
|
}),
|
|
28411
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
28412
|
-
className: "dsha-pref-row",
|
|
28413
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
28414
|
-
type: "checkbox",
|
|
28415
|
-
"aria-label": t.enabled,
|
|
28416
|
-
checked: status?.enabled !== false,
|
|
28417
|
-
disabled: busy !== null,
|
|
28418
|
-
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
28419
|
-
})]
|
|
28420
|
-
}),
|
|
28421
28457
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
28422
28458
|
className: "dsha-empty",
|
|
28423
28459
|
children: status?.authenticated ? t.keyConfigured : t.keyMissing
|
|
@@ -28758,10 +28794,9 @@ window.__ModuleLoader__.load({
|
|
|
28758
28794
|
const NS_XIAOMI_MIMO = "dsh-xiaomi-mimo";
|
|
28759
28795
|
const zh$10 = {
|
|
28760
28796
|
title: "Xiaomi MiMo Token Plan(Xiaomi MiMo)",
|
|
28761
|
-
pageDesc: "
|
|
28797
|
+
pageDesc: "用套餐专属 Key 调用 MiMo,支持缓存、思考与视觉预算。",
|
|
28762
28798
|
loading: "加载中...",
|
|
28763
28799
|
moreNotes: "更多说明",
|
|
28764
|
-
enabled: "启用此线路",
|
|
28765
28800
|
keySection: "API Key",
|
|
28766
28801
|
keyConfigured: "已配置套餐专属 API Key;凭据只保存在主机加密存储中。",
|
|
28767
28802
|
keyMissing: "尚未配置 API Key。请在Xiaomi MiMo Token Plan 控制台创建套餐专属 Key。",
|
|
@@ -28836,10 +28871,9 @@ window.__ModuleLoader__.load({
|
|
|
28836
28871
|
zh: zh$10,
|
|
28837
28872
|
en: {
|
|
28838
28873
|
title: "Xiaomi MiMo Token Plan",
|
|
28839
|
-
pageDesc: "Use a
|
|
28874
|
+
pageDesc: "Use a plan key for MiMo, with caching, thinking, and visual budgets.",
|
|
28840
28875
|
loading: "Loading...",
|
|
28841
28876
|
moreNotes: "More details",
|
|
28842
|
-
enabled: "Enable this line",
|
|
28843
28877
|
keySection: "API key",
|
|
28844
28878
|
keyConfigured: "A dedicated plan key is configured and stored only in host encrypted storage.",
|
|
28845
28879
|
keyMissing: "No API key yet. Create a dedicated key in the XiaomiMimo Token Plan console.",
|
|
@@ -29152,16 +29186,6 @@ window.__ModuleLoader__.load({
|
|
|
29152
29186
|
className: "dsha-muted",
|
|
29153
29187
|
children: t.pageDesc
|
|
29154
29188
|
}),
|
|
29155
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
29156
|
-
className: "dsha-pref-row",
|
|
29157
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
29158
|
-
type: "checkbox",
|
|
29159
|
-
"aria-label": t.enabled,
|
|
29160
|
-
checked: status?.enabled !== false,
|
|
29161
|
-
disabled: busy !== null,
|
|
29162
|
-
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
29163
|
-
})]
|
|
29164
|
-
}),
|
|
29165
29189
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
29166
29190
|
className: "dsha-pref-row",
|
|
29167
29191
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.region }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
@@ -29504,10 +29528,9 @@ window.__ModuleLoader__.load({
|
|
|
29504
29528
|
const NS_TOKENHUB = "dsh-tencent-tokenhub";
|
|
29505
29529
|
const zh$9 = {
|
|
29506
29530
|
title: "腾讯 TokenHub(Token Plan)",
|
|
29507
|
-
pageDesc: "
|
|
29531
|
+
pageDesc: "用套餐专属 Key 调用 TokenHub 模型,企业额度另需 SecretKey。",
|
|
29508
29532
|
loading: "加载中...",
|
|
29509
29533
|
moreNotes: "更多说明",
|
|
29510
|
-
enabled: "启用此线路",
|
|
29511
29534
|
keySection: "套餐 API Key",
|
|
29512
29535
|
keyConfigured: "已配置套餐专属 API Key;凭据只保存在主机加密存储中。",
|
|
29513
29536
|
keyMissing: "尚未配置 API Key。请在腾讯云 TokenHub 控制台创建套餐专属 Key。",
|
|
@@ -29530,7 +29553,7 @@ window.__ModuleLoader__.load({
|
|
|
29530
29553
|
deploymentIntl: "全球站(新加坡)",
|
|
29531
29554
|
deploymentHint: "中国站与全球站是两套端点与用量接口,Key 不能混用;按量付费(/v1)不在本线路内。",
|
|
29532
29555
|
quotaSection: "套餐用量",
|
|
29533
|
-
quotaDesc: "
|
|
29556
|
+
quotaDesc: "仅企业版公布用量,需 SecretId/SecretKey 查询。",
|
|
29534
29557
|
quotaMissing: "未配置 SecretId / SecretKey,无法读取企业版套餐用量;个人版没有可用接口,控制台之外取不到。",
|
|
29535
29558
|
quotaError: "用量读取失败:{detail}",
|
|
29536
29559
|
quotaRefresh: "刷新用量",
|
|
@@ -29578,7 +29601,7 @@ window.__ModuleLoader__.load({
|
|
|
29578
29601
|
detailHigh: "high(保留细节)",
|
|
29579
29602
|
visionHint: "普通截图建议 auto/low;OCR 或细小文字可切换 high。是否接受图片由各模型能力决定。",
|
|
29580
29603
|
cacheSection: "缓存统计",
|
|
29581
|
-
cacheDesc: "
|
|
29604
|
+
cacheDesc: "只统计上游回报的缓存命中,未公布显式缓存字段。",
|
|
29582
29605
|
cacheHitRatio: "缓存命中率",
|
|
29583
29606
|
cacheReset: "清空统计",
|
|
29584
29607
|
cacheNoData: "还没有可统计的请求。",
|
|
@@ -29590,10 +29613,9 @@ window.__ModuleLoader__.load({
|
|
|
29590
29613
|
zh: zh$9,
|
|
29591
29614
|
en: {
|
|
29592
29615
|
title: "Tencent TokenHub (Token Plan)",
|
|
29593
|
-
pageDesc: "
|
|
29616
|
+
pageDesc: "Use a plan key for TokenHub models; enterprise usage needs a SecretKey.",
|
|
29594
29617
|
loading: "Loading...",
|
|
29595
29618
|
moreNotes: "More details",
|
|
29596
|
-
enabled: "Enable this line",
|
|
29597
29619
|
keySection: "Plan API key",
|
|
29598
29620
|
keyConfigured: "A deployment key is configured and stored only in host encrypted storage.",
|
|
29599
29621
|
keyMissing: "No API key yet. Create a deployment key in the TokenHub console.",
|
|
@@ -29616,7 +29638,7 @@ window.__ModuleLoader__.load({
|
|
|
29616
29638
|
deploymentIntl: "Global (Singapore)",
|
|
29617
29639
|
deploymentHint: "China and Global are separate endpoints and quota APIs, and a key is refused by the other; pay-as-you-go (/v1) is not part of this line.",
|
|
29618
29640
|
quotaSection: "Plan usage",
|
|
29619
|
-
quotaDesc: "Only the enterprise plan
|
|
29641
|
+
quotaDesc: "Only the enterprise plan reports usage, read with a SecretId/SecretKey.",
|
|
29620
29642
|
quotaMissing: "No SecretId / SecretKey yet, so the enterprise plan usage cannot be read. The personal plan has no API outside the console.",
|
|
29621
29643
|
quotaError: "Reading the deployment usage failed: {detail}",
|
|
29622
29644
|
quotaRefresh: "Refresh usage",
|
|
@@ -29664,7 +29686,7 @@ window.__ModuleLoader__.load({
|
|
|
29664
29686
|
detailHigh: "high (more detail)",
|
|
29665
29687
|
visionHint: "Use auto/low for ordinary screenshots and high for OCR or small text. Whether a model takes images comes from its own capability entry.",
|
|
29666
29688
|
cacheSection: "Cache stats",
|
|
29667
|
-
cacheDesc: "
|
|
29689
|
+
cacheDesc: "Only upstream-reported cache hits are counted; no explicit cache fields are published.",
|
|
29668
29690
|
cacheHitRatio: "Cache hit ratio",
|
|
29669
29691
|
cacheReset: "Clear stats",
|
|
29670
29692
|
cacheNoData: "No request has been counted yet.",
|
|
@@ -29987,16 +30009,6 @@ window.__ModuleLoader__.load({
|
|
|
29987
30009
|
className: "dsha-muted",
|
|
29988
30010
|
children: t.pageDesc
|
|
29989
30011
|
}),
|
|
29990
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
29991
|
-
className: "dsha-pref-row",
|
|
29992
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
29993
|
-
type: "checkbox",
|
|
29994
|
-
"aria-label": t.enabled,
|
|
29995
|
-
checked: status?.enabled !== false,
|
|
29996
|
-
disabled: busy !== null,
|
|
29997
|
-
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
29998
|
-
})]
|
|
29999
|
-
}),
|
|
30000
30012
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
30001
30013
|
className: "dsha-empty",
|
|
30002
30014
|
children: status?.authenticated ? t.keyConfigured : t.keyMissing
|
|
@@ -30369,10 +30381,9 @@ window.__ModuleLoader__.load({
|
|
|
30369
30381
|
const NS_ATP = "dsh-alibaba-token-plan";
|
|
30370
30382
|
const zh$8 = {
|
|
30371
30383
|
title: "阿里云百炼(Token Plan)",
|
|
30372
|
-
pageDesc: "
|
|
30384
|
+
pageDesc: "用套餐专属 Key 调用百炼、阿里云与 Qwen Cloud 模型。",
|
|
30373
30385
|
loading: "加载中...",
|
|
30374
30386
|
moreNotes: "更多说明",
|
|
30375
|
-
enabled: "启用此线路",
|
|
30376
30387
|
keySection: "套餐 API Key",
|
|
30377
30388
|
keyConfigured: "已配置套餐专属 API Key;凭据只保存在主机加密存储中。",
|
|
30378
30389
|
keyMissing: "尚未配置 API Key。请在控制台的 Token Plan 页面创建套餐专属 Key(sk-sp- 开头)。",
|
|
@@ -30447,17 +30458,16 @@ window.__ModuleLoader__.load({
|
|
|
30447
30458
|
cacheHitRatio: "缓存命中率",
|
|
30448
30459
|
cacheNoData: "暂无数据",
|
|
30449
30460
|
explicitCache: "复用固定前缀",
|
|
30450
|
-
explicitCacheHint: "
|
|
30461
|
+
explicitCacheHint: "开启后会标记可复用内容;端点支持情况未实测,默认关闭。",
|
|
30451
30462
|
composerLabel: "套餐用量"
|
|
30452
30463
|
};
|
|
30453
30464
|
const dictionaries$8 = {
|
|
30454
30465
|
zh: zh$8,
|
|
30455
30466
|
en: {
|
|
30456
30467
|
title: "Alibaba Bailian (Token Plan)",
|
|
30457
|
-
pageDesc: "Use a Bailian, Alibaba Cloud
|
|
30468
|
+
pageDesc: "Use a plan key for Bailian, Alibaba Cloud, and Qwen Cloud plan models.",
|
|
30458
30469
|
loading: "Loading...",
|
|
30459
30470
|
moreNotes: "More notes",
|
|
30460
|
-
enabled: "Enable this line",
|
|
30461
30471
|
keySection: "Plan API key",
|
|
30462
30472
|
keyConfigured: "A plan key is stored; the credential never leaves the host encrypted store.",
|
|
30463
30473
|
keyMissing: "No API key yet. Create a plan key (sk-sp-…) on the console Token Plan page.",
|
|
@@ -30532,7 +30542,7 @@ window.__ModuleLoader__.load({
|
|
|
30532
30542
|
cacheHitRatio: "Cache hit rate",
|
|
30533
30543
|
cacheNoData: "No data yet",
|
|
30534
30544
|
explicitCache: "Reuse stable prefixes",
|
|
30535
|
-
explicitCacheHint: "Marks
|
|
30545
|
+
explicitCacheHint: "Marks reusable content when enabled; endpoint support is untested, so it is off by default.",
|
|
30536
30546
|
composerLabel: "Plan usage"
|
|
30537
30547
|
}
|
|
30538
30548
|
};
|
|
@@ -30852,16 +30862,6 @@ window.__ModuleLoader__.load({
|
|
|
30852
30862
|
className: "dsha-muted",
|
|
30853
30863
|
children: t.pageDesc
|
|
30854
30864
|
}),
|
|
30855
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
30856
|
-
className: "dsha-pref-row",
|
|
30857
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
30858
|
-
type: "checkbox",
|
|
30859
|
-
"aria-label": t.enabled,
|
|
30860
|
-
checked: status?.enabled !== false,
|
|
30861
|
-
disabled: busy !== null,
|
|
30862
|
-
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
30863
|
-
})]
|
|
30864
|
-
}),
|
|
30865
30865
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
30866
30866
|
className: "dsha-empty",
|
|
30867
30867
|
children: status?.authenticated ? t.keyConfigured : t.keyMissing
|
|
@@ -31232,9 +31232,8 @@ window.__ModuleLoader__.load({
|
|
|
31232
31232
|
const NS_ZEN = "dsh-opencode-zen";
|
|
31233
31233
|
const zh$7 = {
|
|
31234
31234
|
title: "OpenCode Zen",
|
|
31235
|
-
pageDesc: "
|
|
31235
|
+
pageDesc: "免费模型免 Key 可用,付费模型填入 Key 后启用。",
|
|
31236
31236
|
loading: "正在读取线路状态…",
|
|
31237
|
-
enabled: "启用线路",
|
|
31238
31237
|
keySection: "API Key",
|
|
31239
31238
|
keyPlaceholder: "粘贴 OpenCode Zen 的 API Key(可选)",
|
|
31240
31239
|
saveKey: "保存 Key",
|
|
@@ -31291,9 +31290,8 @@ window.__ModuleLoader__.load({
|
|
|
31291
31290
|
zh: zh$7,
|
|
31292
31291
|
en: {
|
|
31293
31292
|
title: "OpenCode Zen",
|
|
31294
|
-
pageDesc: "
|
|
31293
|
+
pageDesc: "Free models need no key; paid models unlock with one.",
|
|
31295
31294
|
loading: "Reading line status…",
|
|
31296
|
-
enabled: "Enable line",
|
|
31297
31295
|
keySection: "API key",
|
|
31298
31296
|
keyPlaceholder: "Paste an OpenCode Zen API key (optional)",
|
|
31299
31297
|
saveKey: "Save key",
|
|
@@ -31596,16 +31594,6 @@ window.__ModuleLoader__.load({
|
|
|
31596
31594
|
className: "dsha-muted",
|
|
31597
31595
|
children: t.pageDesc
|
|
31598
31596
|
}),
|
|
31599
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
31600
|
-
className: "dsha-pref-row",
|
|
31601
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
31602
|
-
type: "checkbox",
|
|
31603
|
-
"aria-label": t.enabled,
|
|
31604
|
-
checked: status?.enabled !== false,
|
|
31605
|
-
disabled: busy !== null,
|
|
31606
|
-
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
31607
|
-
})]
|
|
31608
|
-
}),
|
|
31609
31597
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
31610
31598
|
className: "dsha-muted",
|
|
31611
31599
|
children: status?.hasCredentials === true ? t.keyConfigured : t.keyMissing
|
|
@@ -31838,10 +31826,9 @@ window.__ModuleLoader__.load({
|
|
|
31838
31826
|
const zh$6 = {
|
|
31839
31827
|
...accountPoolZh,
|
|
31840
31828
|
title: "Grok",
|
|
31841
|
-
pageDesc: "
|
|
31829
|
+
pageDesc: "用 Grok 订阅或 xAI API Key 调用模型。",
|
|
31842
31830
|
loading: "加载中...",
|
|
31843
31831
|
moreNotes: "更多说明",
|
|
31844
|
-
enabled: "启用本线路",
|
|
31845
31832
|
subscription: "Grok 订阅",
|
|
31846
31833
|
apiKeyMode: "xAI API Key",
|
|
31847
31834
|
signedInAs: "登录账号",
|
|
@@ -31936,10 +31923,9 @@ window.__ModuleLoader__.load({
|
|
|
31936
31923
|
en: {
|
|
31937
31924
|
...accountPoolEn,
|
|
31938
31925
|
title: "Grok",
|
|
31939
|
-
pageDesc: "Use a
|
|
31926
|
+
pageDesc: "Use a Grok subscription or an xAI API key.",
|
|
31940
31927
|
loading: "Loading...",
|
|
31941
31928
|
moreNotes: "More details",
|
|
31942
|
-
enabled: "Enable this line",
|
|
31943
31929
|
subscription: "Grok subscription",
|
|
31944
31930
|
apiKeyMode: "xAI API key",
|
|
31945
31931
|
signedInAs: "Signed in as",
|
|
@@ -32394,34 +32380,12 @@ window.__ModuleLoader__.load({
|
|
|
32394
32380
|
className: "dsha-page dshg-page",
|
|
32395
32381
|
"data-provider": "grok",
|
|
32396
32382
|
children: [
|
|
32397
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
32398
|
-
className: "dsha-group dshg-account",
|
|
32399
|
-
children: [
|
|
32400
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
32401
|
-
className: "dsha-grouphead",
|
|
32402
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", { children: t.title })
|
|
32403
|
-
}),
|
|
32404
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
32405
|
-
className: "dsha-muted",
|
|
32406
|
-
children: t.pageDesc
|
|
32407
|
-
}),
|
|
32408
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
32409
|
-
className: "dsha-pref-row",
|
|
32410
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.enabled }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
32411
|
-
type: "checkbox",
|
|
32412
|
-
"aria-label": t.enabled,
|
|
32413
|
-
checked: status?.enabled !== false,
|
|
32414
|
-
disabled: busy !== null,
|
|
32415
|
-
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
32416
|
-
})]
|
|
32417
|
-
})
|
|
32418
|
-
]
|
|
32419
|
-
}),
|
|
32420
32383
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(AccountPoolSection, {
|
|
32421
32384
|
accounts: status?.accounts ?? [],
|
|
32422
32385
|
activeAccountId: status?.activeAccountId,
|
|
32423
32386
|
rotationStrategy: status?.rotationStrategy ?? "sequential",
|
|
32424
32387
|
labels: t,
|
|
32388
|
+
description: t.pageDesc,
|
|
32425
32389
|
busy,
|
|
32426
32390
|
loginBusyLabel: login?.state === "pending" ? t.loginPending : t.loginStart,
|
|
32427
32391
|
onLogin: () => void view.startLogin(),
|
|
@@ -32514,7 +32478,7 @@ window.__ModuleLoader__.load({
|
|
|
32514
32478
|
]
|
|
32515
32479
|
}),
|
|
32516
32480
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
32517
|
-
className: "
|
|
32481
|
+
className: "dshg-account-tools",
|
|
32518
32482
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
32519
32483
|
className: "dsha-btn",
|
|
32520
32484
|
disabled: busy !== null,
|
|
@@ -32595,31 +32559,39 @@ window.__ModuleLoader__.load({
|
|
|
32595
32559
|
children: new Date(catalog.fetchedAt).toLocaleString()
|
|
32596
32560
|
})]
|
|
32597
32561
|
}),
|
|
32598
|
-
more(t.moreNotes, [t.catalogRefreshHint]),
|
|
32599
32562
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
32600
|
-
className: "
|
|
32601
|
-
children: [
|
|
32602
|
-
|
|
32603
|
-
|
|
32604
|
-
|
|
32605
|
-
|
|
32606
|
-
|
|
32607
|
-
|
|
32608
|
-
|
|
32609
|
-
|
|
32610
|
-
|
|
32611
|
-
|
|
32612
|
-
|
|
32613
|
-
|
|
32614
|
-
|
|
32615
|
-
|
|
32616
|
-
|
|
32617
|
-
|
|
32618
|
-
|
|
32619
|
-
|
|
32620
|
-
|
|
32621
|
-
|
|
32622
|
-
|
|
32563
|
+
className: "dshg-notes-row",
|
|
32564
|
+
children: [more(t.moreNotes, [t.catalogRefreshHint]), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
32565
|
+
className: "dshg-doc-links",
|
|
32566
|
+
children: [
|
|
32567
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
32568
|
+
href: "https://console.x.ai",
|
|
32569
|
+
target: "_blank",
|
|
32570
|
+
rel: "noreferrer",
|
|
32571
|
+
children: t.dashboard
|
|
32572
|
+
}),
|
|
32573
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
32574
|
+
"aria-hidden": "true",
|
|
32575
|
+
children: "·"
|
|
32576
|
+
}),
|
|
32577
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
32578
|
+
href: "https://docs.x.ai/developers",
|
|
32579
|
+
target: "_blank",
|
|
32580
|
+
rel: "noreferrer",
|
|
32581
|
+
children: t.docsLink
|
|
32582
|
+
}),
|
|
32583
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
32584
|
+
"aria-hidden": "true",
|
|
32585
|
+
children: "·"
|
|
32586
|
+
}),
|
|
32587
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
32588
|
+
href: "https://x.ai/cli",
|
|
32589
|
+
target: "_blank",
|
|
32590
|
+
rel: "noreferrer",
|
|
32591
|
+
children: t.buildDocs
|
|
32592
|
+
})
|
|
32593
|
+
]
|
|
32594
|
+
})]
|
|
32623
32595
|
})
|
|
32624
32596
|
]
|
|
32625
32597
|
}),
|
|
@@ -35189,7 +35161,7 @@ window.__ModuleLoader__.load({
|
|
|
35189
35161
|
loginComplete: "Вход выполнен",
|
|
35190
35162
|
loginFailed: "Вход не удался",
|
|
35191
35163
|
manualPasteSection: "Вставить код авторизации",
|
|
35192
|
-
manualPasteHint: "Вставьте код
|
|
35164
|
+
manualPasteHint: "Вставьте код или URL возврата из браузера, чтобы завершить вход.",
|
|
35193
35165
|
manualPastePlaceholder: "code#state или полный URL возврата",
|
|
35194
35166
|
manualPasteSubmit: "Отправить код",
|
|
35195
35167
|
manualPasteSubmitting: "Отправляем…",
|
|
@@ -35221,22 +35193,22 @@ window.__ModuleLoader__.load({
|
|
|
35221
35193
|
thinkingModeNone: "Без рассуждений",
|
|
35222
35194
|
enhanced: "Рассуждения",
|
|
35223
35195
|
defaultReasoningEffort: "Уровень рассуждений по умолчанию",
|
|
35224
|
-
defaultReasoningEffortHint: "
|
|
35196
|
+
defaultReasoningEffortHint: "Показаны все уровни каталога; отправляется только поддерживаемый моделью.",
|
|
35225
35197
|
defaultEffortAuto: "Значение модели по умолчанию",
|
|
35226
35198
|
cacheTtl: "Время жизни кеша промпта для основного диалога",
|
|
35227
|
-
cacheTtlHint: "
|
|
35199
|
+
cacheTtlHint: "Запись кеша на час стоит 2x; при работе субагентов кеш обновляется примерно раз в 55 минут.",
|
|
35228
35200
|
cacheTtlSubscription: "Как у официального (в подписке по умолчанию 1 ч)",
|
|
35229
35201
|
cacheTtl1h: "1 час",
|
|
35230
35202
|
cacheTtl5m: "5 минут",
|
|
35231
35203
|
subagentCacheTtl: "Время жизни кеша для субагентов и фоновых запросов",
|
|
35232
|
-
subagentCacheTtlHint: "
|
|
35204
|
+
subagentCacheTtlHint: "Субагенты и фоновые задачи обычно завершаются за минуты, поэтому кеш на 5 минут выгоднее.",
|
|
35233
35205
|
subagentCacheTtlOfficial: "Как у официального (5 минут)",
|
|
35234
35206
|
fastMode: "Быстрый режим",
|
|
35235
35207
|
fastModeHint: "Host отправляет speed: fast только поддерживаемым моделям; при отказе исправляет запрос и запоминает результат.",
|
|
35236
35208
|
cacheKeepalive: "cache-keepalive (cache_touch)",
|
|
35237
35209
|
cacheKeepaliveHint: "По умолчанию выключено; для диалога 1 ч сначала cache_touch, при ошибке — прежний keepalive. Реальная подписка напрямую ещё не проверена.",
|
|
35238
35210
|
autoCompactSubagents: "Автоматически сжимать субагентов после завершения",
|
|
35239
|
-
autoCompactSubagentsHint: "Включено по
|
|
35211
|
+
autoCompactSubagentsHint: "Включено по умолчанию; сжимает только контекст субагента, ошибка не влияет на результат.",
|
|
35240
35212
|
effortLow: "Низкий (low)",
|
|
35241
35213
|
effortMedium: "Средний (medium)",
|
|
35242
35214
|
effortHigh: "Высокий (high)",
|
|
@@ -35245,12 +35217,12 @@ window.__ModuleLoader__.load({
|
|
|
35245
35217
|
modelLadders: "Уровни по моделям",
|
|
35246
35218
|
modelLadderNone: "Эта модель не принимает уровень рассуждений",
|
|
35247
35219
|
contextWindowSection: "Контекстное окно модели",
|
|
35248
|
-
contextWindowHint: "
|
|
35220
|
+
contextWindowHint: "Берётся значение каталога; сброс удаляет локальное переопределение.",
|
|
35249
35221
|
contextWindowReset: "Сбросить к умолчанию",
|
|
35250
35222
|
contextWindowResetAll: "Сбросить все",
|
|
35251
35223
|
contextWindowResetAllConfirm: "Сбросить контекстные окна всех изменённых моделей к значениям по умолчанию?",
|
|
35252
35224
|
maxTokensSection: "Предел вывода за ответ",
|
|
35253
|
-
maxTokensHint: "
|
|
35225
|
+
maxTokensHint: "Предел вывода за ответ с учётом размышлений; при достижении ответ обрывается.",
|
|
35254
35226
|
maxTokensInvalid: "Недопустимый предел вывода: {value}",
|
|
35255
35227
|
maxTokensResetAllConfirm: "Вернуть все изменённые пределы вывода к значениям по умолчанию?",
|
|
35256
35228
|
contextWindowNoneEnabled: "Ни одна модель не отмечена. Отметьте модель выше, и здесь появятся её настройки контекстного окна.",
|
|
@@ -35259,7 +35231,7 @@ window.__ModuleLoader__.load({
|
|
|
35259
35231
|
saving: "Сохраняем…",
|
|
35260
35232
|
tokens: "токены",
|
|
35261
35233
|
quotaSection: "Расход и квота",
|
|
35262
|
-
quotaDesc: "Данные из эндпоинта расхода Claude
|
|
35234
|
+
quotaDesc: "Данные из эндпоинта расхода Claude; обновление не чаще раза в 60 секунд.",
|
|
35263
35235
|
refreshQuota: "Обновить расход",
|
|
35264
35236
|
refreshingQuota: "Обновляем…",
|
|
35265
35237
|
quotaRefreshing: "Host обновляет квоту в фоне, цифры скоро появятся.",
|
|
@@ -35334,7 +35306,7 @@ window.__ModuleLoader__.load({
|
|
|
35334
35306
|
keyTestFailed: "Ключ отклонён: {detail}",
|
|
35335
35307
|
testSavedKey: "Проверить",
|
|
35336
35308
|
modelsSection: "Модели",
|
|
35337
|
-
modelsHint: "
|
|
35309
|
+
modelsHint: "Только встроенные, официальные и добавленные вручную модели; перед первым использованием обновите.",
|
|
35338
35310
|
modelCount: "Моделей: {count}",
|
|
35339
35311
|
modelChecklistCount: "Выбрано {count} из {total}",
|
|
35340
35312
|
selectAll: "Выбрать все",
|
|
@@ -35448,7 +35420,7 @@ window.__ModuleLoader__.load({
|
|
|
35448
35420
|
routeOwned: "Маршрут моделей обслуживает этот плагин",
|
|
35449
35421
|
routeConflict: "Маршрут моделей уже занят другим провайдером: {detail}. Удалите дублирующую конфигурацию провайдера в настройках DSH и перезагрузите.",
|
|
35450
35422
|
modelsSection: "Модели",
|
|
35451
|
-
modelsHint: "
|
|
35423
|
+
modelsHint: "В списке только отмеченные модели; снимите все или выключите переключатель обзора.",
|
|
35452
35424
|
refreshCatalog: "Обновить каталог",
|
|
35453
35425
|
refreshingCatalog: "Обновление…",
|
|
35454
35426
|
catalogStale: "Каталог взят из кеша и может быть устаревшим; обновите, чтобы проверить",
|
|
@@ -35498,12 +35470,12 @@ window.__ModuleLoader__.load({
|
|
|
35498
35470
|
const dictionary$29 = {
|
|
35499
35471
|
...accountPoolRu,
|
|
35500
35472
|
title: "GLM (аккаунт ZCode)",
|
|
35501
|
-
pageDesc: "Вход
|
|
35473
|
+
pageDesc: "Вход через ZCode в GLM Coding Plan: пул аккаунтов, квота и модели.",
|
|
35502
35474
|
loading: "Загрузка…",
|
|
35503
35475
|
region: "Регион",
|
|
35504
35476
|
regionCn: "Китай (bigmodel.cn)",
|
|
35505
35477
|
regionIntl: "Международный (z.ai)",
|
|
35506
|
-
regionHint: "
|
|
35478
|
+
regionHint: "Вход и учётные данные привязаны к выбранному региону; регионы не смешиваются.",
|
|
35507
35479
|
authorizing: "Авторизация…",
|
|
35508
35480
|
loginIdle: "Вход ещё не начат.",
|
|
35509
35481
|
loginHaveAccounts: "В пуле уже {count} аккаунтов, они готовы к работе. Чтобы добавить ещё, нажмите «Добавить аккаунт» выше.",
|
|
@@ -35561,7 +35533,7 @@ window.__ModuleLoader__.load({
|
|
|
35561
35533
|
unselectAll: "Снять все",
|
|
35562
35534
|
modelChecklistCount: "{count}/{total}",
|
|
35563
35535
|
contextWindowSection: "Контекстное окно моделей",
|
|
35564
|
-
contextWindowHint: "
|
|
35536
|
+
contextWindowHint: "Берётся предел из встроенного каталога; можно задать ёмкость для сжатия и переполнения DSH.",
|
|
35565
35537
|
contextWindowNoneEnabled: "Ни одна модель не отмечена. Отметьте её выше — и здесь появятся настройки её контекстного окна.",
|
|
35566
35538
|
contextWindowReset: "Вернуть значение по умолчанию",
|
|
35567
35539
|
contextWindowResetAll: "Вернуть все значения",
|
|
@@ -35587,7 +35559,7 @@ window.__ModuleLoader__.load({
|
|
|
35587
35559
|
quotaAllowancePlan: "Платный тариф",
|
|
35588
35560
|
quotaAllowanceFreeTrial: "Бесплатный пробный лимит",
|
|
35589
35561
|
quotaAllowanceUnknown: "Не определён",
|
|
35590
|
-
quotaAllowanceHint: "Источник лимита,
|
|
35562
|
+
quotaAllowanceHint: "Источник лимита, найденный при входе; пробный — 8 млн токенов в день 5 дней."
|
|
35591
35563
|
};
|
|
35592
35564
|
//#endregion
|
|
35593
35565
|
//#region src/client/locales-ru/hub.ts
|
|
@@ -35925,7 +35897,7 @@ window.__ModuleLoader__.load({
|
|
|
35925
35897
|
routeOwned: "Маршрут моделей обслуживает этот плагин",
|
|
35926
35898
|
routeConflict: "Маршрут моделей уже занят другим провайдером: {detail}. Удалите дублирующую конфигурацию провайдера в настройках DSH и повторите.",
|
|
35927
35899
|
modelsSection: "Модели",
|
|
35928
|
-
modelsHint: "
|
|
35900
|
+
modelsHint: "В списке только отмеченные модели; снимите все или выключите переключатель обзора.",
|
|
35929
35901
|
refreshCatalog: "Обновить каталог",
|
|
35930
35902
|
refreshingCatalog: "Обновление…",
|
|
35931
35903
|
selectAll: "Выбрать все",
|
|
@@ -35965,7 +35937,7 @@ window.__ModuleLoader__.load({
|
|
|
35965
35937
|
effortMax: "Максимальный",
|
|
35966
35938
|
effortNone: "Рассуждения выкл.",
|
|
35967
35939
|
contextWindowSection: "Контекстное окно модели",
|
|
35968
|
-
contextWindowHint: "По умолчанию
|
|
35940
|
+
contextWindowHint: "По умолчанию 256K; для 1M у k3 нужен Allegretto и выше, можно переопределить.",
|
|
35969
35941
|
contextWindowPlan: "Полное контекстное окно требует тарифа {plan}",
|
|
35970
35942
|
contextWindowReset: "Вернуть по умолчанию",
|
|
35971
35943
|
contextWindowResetAll: "Вернуть все по умолчанию",
|
|
@@ -36057,7 +36029,7 @@ window.__ModuleLoader__.load({
|
|
|
36057
36029
|
loading: "Загрузка…",
|
|
36058
36030
|
loginFailed: "Вход не выполнен",
|
|
36059
36031
|
apiKeyLogin: "Вход по API-ключу",
|
|
36060
|
-
apiKeyHint: "Вставьте
|
|
36032
|
+
apiKeyHint: "Вставьте ключ подписки Kimi Code; он делит квоту тарифа, ключи Moonshot не подходят.",
|
|
36061
36033
|
apiKeyReplaceHint: "Вставьте новый API-ключ для «{alias}» вместо переставшего работать; имя аккаунта и его место в ротации сохранятся.",
|
|
36062
36034
|
apiKeyPlaceholder: "sk-kimi-…",
|
|
36063
36035
|
apiKeySubmit: "Проверить и добавить",
|
|
@@ -36068,7 +36040,7 @@ window.__ModuleLoader__.load({
|
|
|
36068
36040
|
requests: "запросов",
|
|
36069
36041
|
tokens: "токенов",
|
|
36070
36042
|
compactionRoute: "Модель сжатия",
|
|
36071
|
-
compactionRouteHint: "
|
|
36043
|
+
compactionRouteHint: "Модель для сводок сжатия; пусто — модель диалога и лимит линии.",
|
|
36072
36044
|
compactionRouteProvider: "Линия",
|
|
36073
36045
|
compactionRouteModel: "Модель",
|
|
36074
36046
|
compactionRouteSave: "Сохранить",
|
|
@@ -36126,11 +36098,11 @@ window.__ModuleLoader__.load({
|
|
|
36126
36098
|
testSuccessModel: "Подключение в порядке ({model})",
|
|
36127
36099
|
testFailed: "Подключение не удалось",
|
|
36128
36100
|
modelsSection: "Модели",
|
|
36129
|
-
modelsHint: "Каталог
|
|
36101
|
+
modelsHint: "Каталог встроен, моделей: {count}; в выборе только отмеченные.",
|
|
36130
36102
|
modelsUnavailable: "Пока нет моделей для показа.",
|
|
36131
36103
|
quotaSection: "Расход и квота",
|
|
36132
36104
|
dailyCheckin: "Ежедневная отметка",
|
|
36133
|
-
checkinHint: "Отмечается
|
|
36105
|
+
checkinHint: "Отмечается входом этой линии; при запуске DSH и далее каждые 10 минут.",
|
|
36134
36106
|
checkinAuto: "Автоотметка",
|
|
36135
36107
|
checkinToday: "Отмечено сегодня {done}/{total}",
|
|
36136
36108
|
checkinSkipped: "{count} пока нельзя",
|
|
@@ -36177,7 +36149,7 @@ window.__ModuleLoader__.load({
|
|
|
36177
36149
|
defaultReasoningEffortHint: "Сила рассуждений для моделей с рассуждениями, когда в диалоге уровень не выбран.",
|
|
36178
36150
|
defaultEffortAuto: "Авто (по умолчанию у каждой модели)",
|
|
36179
36151
|
contextWindowSection: "Контекстные окна моделей",
|
|
36180
|
-
contextWindowHint: "
|
|
36152
|
+
contextWindowHint: "Берётся предел из каталога шлюза; можно задать ёмкость для сжатия и переполнения DSH.",
|
|
36181
36153
|
contextWindowNoneEnabled: "Ни одна модель не отмечена — выберите её в блоке «Модели» выше.",
|
|
36182
36154
|
contextWindowReset: "Вернуть по умолчанию",
|
|
36183
36155
|
contextWindowResetAll: "Вернуть все по умолчанию",
|
|
@@ -36365,8 +36337,11 @@ window.__ModuleLoader__.load({
|
|
|
36365
36337
|
signInStarting: "Запуск…",
|
|
36366
36338
|
signInSuccess: "Вход запущен: браузер откроет Antigravity CLI, а состояние здесь сменится на «выполнен вход» после подтверждения.",
|
|
36367
36339
|
signInHintSummary: "Как проходит вход?",
|
|
36368
|
-
signInHint: "Вход выполняет
|
|
36340
|
+
signInHint: "Вход выполняет Antigravity CLI; плагин не читает учётные данные Google.",
|
|
36369
36341
|
signInHeadless: "На хосте без графической среды выполните в терминале agy acp --login, затем обновите страницу.",
|
|
36342
|
+
signOut: "Выйти из аккаунта",
|
|
36343
|
+
signOutRunning: "Выход…",
|
|
36344
|
+
signOutConfirm: "Выйти из аккаунта Antigravity? Это завершит вход, которым пользуется официальный CLI на этой машине.",
|
|
36370
36345
|
authDisabled: "Линия отключена — состояние входа не проверялось",
|
|
36371
36346
|
tierLabel: "Тариф",
|
|
36372
36347
|
tierUnknown: "Официальный процесс не сообщил",
|
|
@@ -36389,16 +36364,16 @@ window.__ModuleLoader__.load({
|
|
|
36389
36364
|
effortLabels: "Уровни размышления: {levels}",
|
|
36390
36365
|
enhanced: "Дополнительно",
|
|
36391
36366
|
defaultReasoningEffort: "Уровень размышления по умолчанию",
|
|
36392
|
-
defaultReasoningEffortHint: "
|
|
36367
|
+
defaultReasoningEffortHint: "Уровень по умолчанию для новых сессий; неподдерживаемые отбрасываются.",
|
|
36393
36368
|
defaultEffortAuto: "Не указывать (по умолчанию у официального клиента)",
|
|
36394
36369
|
permissionPolicy: "Разрешения инструментов",
|
|
36395
36370
|
permissionPolicyReject: "Отклонять",
|
|
36396
36371
|
permissionPolicyAllow: "Автоматически разрешать (рекомендуется)",
|
|
36397
|
-
permissionPolicyHint: "
|
|
36372
|
+
permissionPolicyHint: "Управляет запросами разрешений для встроенных инструментов Antigravity и автоодобрением субагентов.",
|
|
36398
36373
|
nativeTools: "Встроенные инструменты",
|
|
36399
|
-
nativeToolsAllow: "
|
|
36400
|
-
nativeToolsCancel: "
|
|
36401
|
-
nativeToolsHint: "
|
|
36374
|
+
nativeToolsAllow: "Разрешить и записать (нужно включить)",
|
|
36375
|
+
nativeToolsCancel: "Отклонить вызов и продолжить (рекомендуется)",
|
|
36376
|
+
nativeToolsHint: "По умолчанию отклоняется только встроенный вызов, поэтому агент может перейти на инструмент DSH и продолжить. Разрешение открывает обход разрешений DSH.",
|
|
36402
36377
|
usageSection: "Расход последнего хода",
|
|
36403
36378
|
usageInputLabel: "Вход",
|
|
36404
36379
|
usageOutputLabel: "Выход",
|
|
@@ -36417,14 +36392,14 @@ window.__ModuleLoader__.load({
|
|
|
36417
36392
|
scopeSummary: "Сведения о системном промпте, повторном использовании сессии, инструментах субагента, квоте и прокси.",
|
|
36418
36393
|
scopeHintSummary: "Показать сведения о границах",
|
|
36419
36394
|
scopeHint: "Поведение, определяемое официальным протоколом ACP и CLI:",
|
|
36420
|
-
scopePrompt: "В ACP нет отдельного слота системного промпта: системный промпт DSH
|
|
36421
|
-
scopeHistory: "После нормального завершения сессия паркуется вместе с
|
|
36395
|
+
scopePrompt: "В стандартном ACP нет отдельного слота системного промпта: эта линия передаёт системный промпт DSH в начале запроса и не изменяет собственный системный промпт официального агента.",
|
|
36396
|
+
scopeHistory: "После нормального завершения сессия паркуется вместе с процессом. После перезапуска хоста линия сначала восстанавливает её через официальный session/resume, если есть сохранённый указатель, и отправляет только приращение. Перестройка с повторной отправкой и якорем нужна лишь при изменении префикса истории, набора инструментов или рабочего каталога, либо при неудачном восстановлении.",
|
|
36422
36397
|
scopeTools: "Как основная модель линия выполняет вызовы инструментов через DSH и под его контролем; как субагент дочерний процесс использует собственные инструменты официального агента.",
|
|
36423
36398
|
scopeNetwork: "Сетевые запросы этой линии выполняет сам официальный CLI (agy); плагин не может назначить ей отдельный прокси, и настройки прокси в других местах на неё не действуют.",
|
|
36424
36399
|
scopeQuota: "Официальный сервер не публикует остаток квоты, поэтому карточка не показывает ни процентов, ни баланса.",
|
|
36425
36400
|
error: "Не удалось выполнить действие: {detail}",
|
|
36426
|
-
complianceSummary: "
|
|
36427
|
-
complianceNotice: "
|
|
36401
|
+
complianceSummary: "Условия и границы (нажмите, чтобы прочитать)",
|
|
36402
|
+
complianceNotice: "Обновлённые дополнительные условия Google Antigravity прямо разрешают запуск неизменённого Antigravity harness через поддерживаемые интерфейсы: ACP в стороннем UI, вызов как инструмента или субагента из другого harness, headless-режим CLI и поддерживаемые расширения MCP, skills, rules, hooks и plugins. Нарушения обычно приводят к приостановке доступа к Antigravity с возможностью апелляции и не затрагивают остальные функции аккаунта Google. Плагин запускает официальные agy и ACP-сервер, не реверс-инжинирит протокол, не читает учётные данные и использует один аккаунт без ротации. Изменённые сборки, извлечение или проксирование OAuth, ротация аккаунтов, обход квот и злоупотребления остаются вне разрешённой области. Путь к исполняемому файлу должен указывать на неизменённую официальную сборку.",
|
|
36428
36403
|
disabledHint: "Линия сейчас отключена. Включите её на карточке в обзоре подписок — после этого она появится в выборе моделей.",
|
|
36429
36404
|
enabledHint: "Линия включена.",
|
|
36430
36405
|
toggleHint: "Отключить её можно в любой момент на карточке в обзоре подписок."
|
|
@@ -36438,7 +36413,7 @@ window.__ModuleLoader__.load({
|
|
|
36438
36413
|
addAccount: "Добавить API-ключ",
|
|
36439
36414
|
noAccounts: "Аккаунтов пока нет. Нажмите «Добавить API-ключ» и вставьте ключ, созданный в консоли OpenDesign Cloud.",
|
|
36440
36415
|
title: "OpenDesign",
|
|
36441
|
-
pageDesc: "
|
|
36416
|
+
pageDesc: "Подключение OpenDesign через браузер или API-ключ с автопереключением аккаунтов.",
|
|
36442
36417
|
login: "Войти в аккаунт OpenDesign",
|
|
36443
36418
|
loggingIn: "Вход…",
|
|
36444
36419
|
loginHint: "Откройте страницу активации в браузере и подтвердите код ниже; аккаунт сам добавится в пул, вставлять ключ не нужно.",
|
|
@@ -36476,7 +36451,7 @@ window.__ModuleLoader__.load({
|
|
|
36476
36451
|
keyTestFailed: "Ключ отклонён: {detail}",
|
|
36477
36452
|
testSavedKey: "Проверить",
|
|
36478
36453
|
modelsSection: "Модели",
|
|
36479
|
-
modelsHint: "
|
|
36454
|
+
modelsHint: "Каталог встроен; после добавления ключа он синхронизируется, в выборе только отмеченные модели.",
|
|
36480
36455
|
modelChecklistCount: "Выбрано {count} из {total}",
|
|
36481
36456
|
selectAll: "Выбрать все",
|
|
36482
36457
|
unselectAll: "Снять все",
|
|
@@ -36489,7 +36464,7 @@ window.__ModuleLoader__.load({
|
|
|
36489
36464
|
unservedBadge: "Нет в тарифе",
|
|
36490
36465
|
unservedHint: "Модели, которых нет в текущем тарифе, по умолчанию скрыты; отметьте их здесь, чтобы показать принудительно.",
|
|
36491
36466
|
contextSection: "Контекстные окна",
|
|
36492
|
-
contextHint: "
|
|
36467
|
+
contextHint: "Апстрим не публикует окна; по умолчанию 128K, можно переопределить или сбросить.",
|
|
36493
36468
|
tokens: "токены",
|
|
36494
36469
|
contextSave: "Сохранить",
|
|
36495
36470
|
contextOverridden: "переопределено",
|
|
@@ -36507,7 +36482,7 @@ window.__ModuleLoader__.load({
|
|
|
36507
36482
|
savingSettings: "Сохранение…",
|
|
36508
36483
|
limitsSection: "Примечания",
|
|
36509
36484
|
usageSection: "Тариф и кредиты",
|
|
36510
|
-
usageHint: "
|
|
36485
|
+
usageHint: "Вход через браузер читает расход; для вставленного ключа смотрите консоль.",
|
|
36511
36486
|
usageRefresh: "Обновить тариф и кредиты",
|
|
36512
36487
|
usageRefreshing: "Обновление…",
|
|
36513
36488
|
usageEmpty: "Тариф и кредиты ещё не читались.",
|
|
@@ -36661,7 +36636,7 @@ window.__ModuleLoader__.load({
|
|
|
36661
36636
|
modelRowOutput: "вывод {cap}",
|
|
36662
36637
|
...accountPoolRu,
|
|
36663
36638
|
title: "Qoder (подписка)",
|
|
36664
|
-
pageDesc: "Подключение подписки Qoder
|
|
36639
|
+
pageDesc: "Подключение подписки Qoder: аккаунты, квота, кеш и модели.",
|
|
36665
36640
|
loading: "Загрузка…",
|
|
36666
36641
|
moreNotes: "Подробнее",
|
|
36667
36642
|
region: "Регион",
|
|
@@ -36742,7 +36717,7 @@ window.__ModuleLoader__.load({
|
|
|
36742
36717
|
saving: "Сохранение…",
|
|
36743
36718
|
invalidCapacity: "Недопустимая ёмкость: {value}",
|
|
36744
36719
|
quotaSection: "Квота",
|
|
36745
|
-
quotaDesc: "Квота
|
|
36720
|
+
quotaDesc: "Квота из эндпоинта аккаунта Qoder: личный лимит, кредиты и пакеты организации.",
|
|
36746
36721
|
quotaBucketPersonal: "Личная квота",
|
|
36747
36722
|
queuePosition: "В очереди",
|
|
36748
36723
|
checkinTitle: "Ежедневная отметка",
|
|
@@ -36770,7 +36745,7 @@ window.__ModuleLoader__.load({
|
|
|
36770
36745
|
quotaErrorLabel: "Не удалось прочитать квоту",
|
|
36771
36746
|
quotaNoUnit: "",
|
|
36772
36747
|
quotaExceeded: "Квота исчерпана",
|
|
36773
|
-
quotaExceededHint: "
|
|
36748
|
+
quotaExceededHint: "Лимит аккаунта исчерпан; дождитесь сброса или смените тариф.",
|
|
36774
36749
|
quotaUpgradeLink: "Открыть страницу тарифа",
|
|
36775
36750
|
cacheSection: "Расход кеша",
|
|
36776
36751
|
cacheStatScope: "Локальная статистика (в токенах, с начала работы процесса): она отвечает, насколько помог кеш, и не является счётом апстрима.",
|
|
@@ -36850,7 +36825,7 @@ window.__ModuleLoader__.load({
|
|
|
36850
36825
|
routeOwned: "Этот плагин обслуживает маршрут модели.",
|
|
36851
36826
|
routeConflict: "Маршрут модели уже занят другим провайдером: {detail}. Удалите дублирующую конфигурацию провайдера в настройках DSH и перезагрузите.",
|
|
36852
36827
|
modelsSection: "Модели",
|
|
36853
|
-
modelsHint: "В
|
|
36828
|
+
modelsHint: "В выборе участвуют только отмеченные модели; возможности берутся из каталога, не из имени.",
|
|
36854
36829
|
modelsHintExtra: "Поле без подтверждения показывает объявленное значение по умолчанию, а не догадку; каталог фильтруется по региону учётных данных, а модель, запрошенную не в своём регионе, апстрим отклоняет.",
|
|
36855
36830
|
modelsUnavailable: "Пока нет моделей для показа (каталог обнаруживается по требованию — войдите или нажмите «Обновить каталог»).",
|
|
36856
36831
|
refreshCatalog: "Обновить каталог",
|
|
@@ -36859,9 +36834,9 @@ window.__ModuleLoader__.load({
|
|
|
36859
36834
|
selectAll: "Выбрать все",
|
|
36860
36835
|
unselectAll: "Снять все",
|
|
36861
36836
|
modelChecklistCount: "{count}/{total}",
|
|
36862
|
-
enabledModelIdsSemantics: "
|
|
36837
|
+
enabledModelIdsSemantics: "Снять все отметки — значит не фильтровать; чтобы ограничить набор, отметьте нужные.",
|
|
36863
36838
|
defaultEffort: "Уровень рассуждений по умолчанию",
|
|
36864
|
-
defaultEffortHint: "
|
|
36839
|
+
defaultEffortHint: "Запрос приводится к уровню, который поддерживает модель; неподдерживаемый не отправляется.",
|
|
36865
36840
|
defaultEffortHintExtra: "Приведение выполняется на host; вариант «уровень по умолчанию у каждой модели» оставляет каждую модель на её собственном уровне.",
|
|
36866
36841
|
defaultEffortModel: "Уровень по умолчанию у каждой модели",
|
|
36867
36842
|
effortMinimal: "Минимальный (minimal)",
|
|
@@ -36882,7 +36857,7 @@ window.__ModuleLoader__.load({
|
|
|
36882
36857
|
saved: "Сохранено",
|
|
36883
36858
|
invalidCapacity: "Неверный формат ёмкости: {value}",
|
|
36884
36859
|
quotaSection: "Расход и квота",
|
|
36885
|
-
quotaDesc: "Данные из центра разработчика Step
|
|
36860
|
+
quotaDesc: "Данные из центра разработчика Step; ошибка чтения не влияет на запросы.",
|
|
36886
36861
|
quotaRefresh: "Обновить расход",
|
|
36887
36862
|
quotaRefreshing: "Обновление…",
|
|
36888
36863
|
quotaSignedOut: "Вход не выполнен — сначала войдите выше.",
|
|
@@ -36903,7 +36878,7 @@ window.__ModuleLoader__.load({
|
|
|
36903
36878
|
quotaKindWindowed: "Старый оконный тариф (5 часов / неделя)",
|
|
36904
36879
|
quotaKindCredit: "Credit-пул",
|
|
36905
36880
|
quotaKindUnknown: "Неопознанная форма тарифа",
|
|
36906
|
-
quotaKindHint: "
|
|
36881
|
+
quotaKindHint: "Поколение тарифа определяется по структуре ответа; без распознавания полосы не рисуются.",
|
|
36907
36882
|
quotaWindowFiveHour: "Окно 5 часов",
|
|
36908
36883
|
quotaWindowWeekly: "Недельное окно",
|
|
36909
36884
|
quotaWindowCredit: "Credit-пул",
|
|
@@ -36935,7 +36910,7 @@ window.__ModuleLoader__.load({
|
|
|
36935
36910
|
quotaCredentialClear: "Очистить учётные данные квоты",
|
|
36936
36911
|
quotaCredentialClearing: "Очистка…",
|
|
36937
36912
|
cacheSection: "Расход кеша",
|
|
36938
|
-
cacheDesc: "
|
|
36913
|
+
cacheDesc: "Step автоматически кеширует префиксы: измеряется только чтение, запись всегда 0.",
|
|
36939
36914
|
cacheStatScope: "Эти цифры — локальный подсчёт DSH по запросам, которые сообщили расход на этой машине, а не счёт от апстрима.",
|
|
36940
36915
|
cacheFieldOrder: "Порядок полей чтения",
|
|
36941
36916
|
cacheReadTokens: "Прочитано из кеша",
|
|
@@ -36944,10 +36919,10 @@ window.__ModuleLoader__.load({
|
|
|
36944
36919
|
cacheRequests: "Учтено запросов",
|
|
36945
36920
|
cacheWriteNote: "Эта линия не сообщает о записи в кеш",
|
|
36946
36921
|
cacheWriteNoteValue: "Токены записи",
|
|
36947
|
-
cacheWriteNoteHint: "
|
|
36922
|
+
cacheWriteNoteHint: "У сервиса нет записи в кеш; запись всегда 0, поэтому полоса не рисуется.",
|
|
36948
36923
|
cacheRequestParams: "Отправлять параметры кеша в запросах",
|
|
36949
36924
|
cacheRequestParamsHint: "Сейчас параметры кеша не отправляются: на стороне Step автоматический префиксный кеш, и официальный клиент для Step их тоже не отправляет.",
|
|
36950
|
-
cacheRequestParamsNote: "
|
|
36925
|
+
cacheRequestParamsNote: "Отправляет недокументированные поля Step; включайте, только если эндпоинт их принимает.",
|
|
36951
36926
|
cacheRequestParamsOnHint: "Возможность включена: запросы несут параметры кеша. Step их не документирует, и официальный клиент для Step их тоже не отправляет.",
|
|
36952
36927
|
cachePricingNote: "Цены за единицу не документированы (все четыре ключа cost в официальной таблице моделей равны 0), поэтому страница показывает только токены и никаких сумм.",
|
|
36953
36928
|
cacheEmpty: "Ни один запрос на этой машине ещё не сообщил расход — проведите диалог и посмотрите снова.",
|
|
@@ -36977,7 +36952,7 @@ window.__ModuleLoader__.load({
|
|
|
36977
36952
|
regionIntl: "Международный",
|
|
36978
36953
|
accountType: "Тип аккаунта",
|
|
36979
36954
|
routeUnreachable: "Не удалось прочитать маршрут настроек WorkBuddy",
|
|
36980
|
-
routeUnreachableHint: "Плагин в браузере
|
|
36955
|
+
routeUnreachableHint: "Плагин в браузере новее Host; перезапустите DSH, чтобы обе части были из одной сборки.",
|
|
36981
36956
|
rescan: "Пересканировать",
|
|
36982
36957
|
rescanning: "Сканирование...",
|
|
36983
36958
|
accounts: "Управление аккаунтами",
|
|
@@ -36999,7 +36974,7 @@ window.__ModuleLoader__.load({
|
|
|
36999
36974
|
routeOwned: "Маршрут моделей обслуживает этот плагин",
|
|
37000
36975
|
routeConflict: "Маршрут моделей уже занят другим провайдером: {detail}. Удалите дублирующую конфигурацию провайдера в настройках DSH и повторите.",
|
|
37001
36976
|
modelsSection: "Модели",
|
|
37002
|
-
modelsHint: "
|
|
36977
|
+
modelsHint: "В выборе только отмеченные модели; каталог фильтруется по региону, межрегиональные вызовы отклоняются.",
|
|
37003
36978
|
refreshCatalog: "Обновить каталог",
|
|
37004
36979
|
refreshingCatalog: "Обновление...",
|
|
37005
36980
|
selectAll: "Выбрать все",
|
|
@@ -37019,7 +36994,7 @@ window.__ModuleLoader__.load({
|
|
|
37019
36994
|
noReasoningModels: "Ни одна модель этого аккаунта не объявляет уровень размышлений, поэтому выбирать нечего.",
|
|
37020
36995
|
defaultEffortKept: "Сохранённый уровень не поддерживается ни одной текущей моделью: он сохранён, но не действует.",
|
|
37021
36996
|
contextWindowSection: "Контекстное окно модели",
|
|
37022
|
-
contextWindowHint: "
|
|
36997
|
+
contextWindowHint: "Берётся реальный предел из каталога шлюза; можно задать ёмкость для сжатия и переполнения DSH.",
|
|
37023
36998
|
contextWindowReset: "Вернуть значение по умолчанию",
|
|
37024
36999
|
contextWindowResetAll: "Вернуть все значения",
|
|
37025
37000
|
contextWindowResetAllConfirm: "Вернуть всем изменённым контекстным окнам значения по умолчанию?",
|
|
@@ -37051,7 +37026,7 @@ window.__ModuleLoader__.load({
|
|
|
37051
37026
|
checkinNow: "Отметиться сейчас",
|
|
37052
37027
|
checkinRunning: "Отметка…",
|
|
37053
37028
|
outboundSection: "Исходящая идентичность",
|
|
37054
|
-
outboundHint: "
|
|
37029
|
+
outboundHint: "Задаёт клиентскую идентичность; её смена не добавляет лимит.",
|
|
37055
37030
|
outboundAuto: "Авто (по аккаунту)",
|
|
37056
37031
|
outboundCli: "CLI (по умолчанию, проверено)",
|
|
37057
37032
|
outboundWorkbuddy: "WorkBuddy для рабочего стола",
|
|
@@ -37064,7 +37039,7 @@ window.__ModuleLoader__.load({
|
|
|
37064
37039
|
atRestSaved: "Ключ сохранён",
|
|
37065
37040
|
atRestSealed: "Найдено зашифрованных учётных данных: {count}; без ключа они остаются нечитаемыми.",
|
|
37066
37041
|
guardrailsSection: "Локальные предохранители квоты",
|
|
37067
|
-
guardrailsHint: "
|
|
37042
|
+
guardrailsHint: "Переключает на другой аккаунт пула при лимите кредитов или токенов; 0 отключает.",
|
|
37068
37043
|
guardrailsReserve: "Резерв кредитов",
|
|
37069
37044
|
guardrailsDaily: "Дневные токены аккаунта",
|
|
37070
37045
|
guardrailsModelDaily: "Дневные токены модели",
|
|
@@ -37094,10 +37069,9 @@ window.__ModuleLoader__.load({
|
|
|
37094
37069
|
//#region src/client/locales-ru/qianwen-token-plan.ts
|
|
37095
37070
|
const dictionary$17 = {
|
|
37096
37071
|
title: "Qwen Token Plan",
|
|
37097
|
-
pageDesc: "
|
|
37072
|
+
pageDesc: "Ключ тарифа для Qwen: кеш, размышления и визуальный бюджет.",
|
|
37098
37073
|
loading: "Загрузка…",
|
|
37099
37074
|
moreNotes: "Подробнее",
|
|
37100
|
-
enabled: "Включить линию",
|
|
37101
37075
|
keySection: "API-ключ",
|
|
37102
37076
|
keyConfigured: "Выделенный ключ настроен и хранится только в зашифрованном хранилище host.",
|
|
37103
37077
|
keyMissing: "API-ключ не настроен. Создайте выделенный ключ в консоли Qianwen Token Plan.",
|
|
@@ -37169,8 +37143,7 @@ window.__ModuleLoader__.load({
|
|
|
37169
37143
|
//#region src/client/locales-ru/relayone.ts
|
|
37170
37144
|
const dictionary$16 = {
|
|
37171
37145
|
title: "RelayOne",
|
|
37172
|
-
pageDesc: "Один API-ключ для диалоговых и
|
|
37173
|
-
enabled: "Включить RelayOne",
|
|
37146
|
+
pageDesc: "Один API-ключ RelayOne для диалоговых и медиамоделей текущей группы.",
|
|
37174
37147
|
keySection: "API-ключ",
|
|
37175
37148
|
keyPlaceholder: "sk-…",
|
|
37176
37149
|
saveKey: "Сохранить ключ",
|
|
@@ -37281,14 +37254,13 @@ window.__ModuleLoader__.load({
|
|
|
37281
37254
|
strategySequential: "Последовательно (сначала основной, затем резервный)",
|
|
37282
37255
|
noAccounts: "Аккаунтов пока нет. Добавьте адрес и API-ключ.",
|
|
37283
37256
|
title: "Claude API",
|
|
37284
|
-
pageDesc: "
|
|
37257
|
+
pageDesc: "Отдельные ключи и Anthropic-совместимый эндпоинт, автоматическое переключение при сбое.",
|
|
37285
37258
|
loading: "Чтение состояния линии…",
|
|
37286
37259
|
accountAlias: "Имя аккаунта",
|
|
37287
37260
|
editAccount: "Изменить",
|
|
37288
37261
|
saveAccount: "Сохранить аккаунт",
|
|
37289
37262
|
cancel: "Отмена",
|
|
37290
37263
|
keyKeepPlaceholder: "Оставьте пустым, чтобы сохранить текущий ключ",
|
|
37291
|
-
enabled: "Включить Claude API",
|
|
37292
37264
|
keySection: "API-ключ",
|
|
37293
37265
|
keyPlaceholder: "sk-ant-…",
|
|
37294
37266
|
saveKey: "Сохранить ключ",
|
|
@@ -37352,7 +37324,7 @@ window.__ModuleLoader__.load({
|
|
|
37352
37324
|
autoCompactSubagents: "Автоматически сжимать субагентов после завершения",
|
|
37353
37325
|
autoCompactSubagentsHint: "Включено по умолчанию. Сжимается только контекст субагента; основной диалог не меняется, а ошибка сжатия не меняет результат задачи.",
|
|
37354
37326
|
moreNotes: "Тарификация и совместимость",
|
|
37355
|
-
cacheTtlNote: "
|
|
37327
|
+
cacheTtlNote: "Кеш на 5 минут или 1 час; час стоит 2x, при субагентах обновление раз в 55 минут.",
|
|
37356
37328
|
fastModeNote: "Быстрый режим оплачивается по повышенному тарифу и действует только для моделей, которые его поддерживают.",
|
|
37357
37329
|
serverCompactionNote: "Если эндпоинт не поддерживает сжатие на стороне сервера, линия возвращается к клиентскому сжатию.",
|
|
37358
37330
|
contextSection: "Контекстные окна",
|
|
@@ -37406,7 +37378,7 @@ window.__ModuleLoader__.load({
|
|
|
37406
37378
|
clearAll: "Снять все",
|
|
37407
37379
|
noneSelected: "Ничего не выбрано; линия скрыта из выбора модели.",
|
|
37408
37380
|
limitations: "Ограничения",
|
|
37409
|
-
limitationsText: "
|
|
37381
|
+
limitationsText: "Текст, размышления, изображения и инструменты DSH; канал Quick может меняться после обновлений.",
|
|
37410
37382
|
error: "Ошибка: {detail}",
|
|
37411
37383
|
routeConflict: "Конфликт маршрута Provider: {detail}",
|
|
37412
37384
|
disabled: "Линия отключена; состояние входа не запрашивалось.",
|
|
@@ -37610,10 +37582,9 @@ window.__ModuleLoader__.load({
|
|
|
37610
37582
|
/** Russian dictionary for the Volcengine Ark card. */
|
|
37611
37583
|
const dictionary$8 = {
|
|
37612
37584
|
title: "Volcengine Ark (тариф)",
|
|
37613
|
-
pageDesc: "
|
|
37585
|
+
pageDesc: "Ключ тарифа для моделей Ark; расход — через AccessKey.",
|
|
37614
37586
|
loading: "Загрузка...",
|
|
37615
37587
|
moreNotes: "Подробнее",
|
|
37616
|
-
enabled: "Включить линию",
|
|
37617
37588
|
keySection: "Ключ тарифа",
|
|
37618
37589
|
keyConfigured: "Ключ тарифа настроен и хранится только в шифрованном хранилище хоста.",
|
|
37619
37590
|
keyMissing: "Ключа пока нет. Создайте ключ тарифа в консоли Ark.",
|
|
@@ -37684,7 +37655,7 @@ window.__ModuleLoader__.load({
|
|
|
37684
37655
|
detailHigh: "high (больше деталей)",
|
|
37685
37656
|
visionHint: "Для обычных скриншотов auto/low, для OCR и мелкого текста — high. Приём изображений определяется записью модели.",
|
|
37686
37657
|
cacheSection: "Статистика кэша",
|
|
37687
|
-
cacheDesc: "
|
|
37658
|
+
cacheDesc: "Учитываются только попадания из ответов апстрима; явных полей кеша нет.",
|
|
37688
37659
|
cacheHitRatio: "Доля попаданий",
|
|
37689
37660
|
cacheReset: "Очистить статистику",
|
|
37690
37661
|
cacheNoData: "Запросов пока не было.",
|
|
@@ -37719,10 +37690,9 @@ window.__ModuleLoader__.load({
|
|
|
37719
37690
|
/** Russian dictionary for the Qianfan Token Plan card. */
|
|
37720
37691
|
const dictionary$6 = {
|
|
37721
37692
|
title: "Qianfan Token Plan (Baidu)",
|
|
37722
|
-
pageDesc: "
|
|
37693
|
+
pageDesc: "Ключ тарифа для моделей Qianfan; расход смотрите в Baidu Cloud.",
|
|
37723
37694
|
loading: "Загрузка…",
|
|
37724
37695
|
moreNotes: "Подробнее",
|
|
37725
|
-
enabled: "Включить линию",
|
|
37726
37696
|
keySection: "Ключ плана",
|
|
37727
37697
|
keyConfigured: "Ключ плана сохранён; учётные данные лежат только в шифрованном хранилище хоста.",
|
|
37728
37698
|
keyMissing: "Ключа пока нет. Создайте ключ Token Plan в консоли Qianfan.",
|
|
@@ -37747,10 +37717,13 @@ window.__ModuleLoader__.load({
|
|
|
37747
37717
|
quotaUnsupported: "Qianfan отдаёт расход Token Plan только сессии консоли Baidu Cloud, но не ключу плана, поэтому линия не показывает шкалу вместо выдуманного числа.",
|
|
37748
37718
|
thinkingSection: "Размышление",
|
|
37749
37719
|
defaultEffort: "Уровень рассуждения по умолчанию",
|
|
37750
|
-
effortHint: "Пустое значение не отправляет
|
|
37720
|
+
effortHint: "Пустое значение не отправляет параметр размышления и оставляет решение провайдеру.",
|
|
37751
37721
|
effortDefault: "Как у провайдера",
|
|
37752
37722
|
effortNone: "Без размышления",
|
|
37723
|
+
effortLow: "Лёгкое размышление",
|
|
37724
|
+
effortMedium: "Среднее размышление",
|
|
37753
37725
|
effortHigh: "Глубокое размышление",
|
|
37726
|
+
effortMax: "Максимальное размышление",
|
|
37754
37727
|
modelsSection: "Модели",
|
|
37755
37728
|
modelsHint: "Встроенная таблица — единственный каталог: Qianfan не публикует список моделей плана.",
|
|
37756
37729
|
selectAll: "Выбрать все",
|
|
@@ -37783,10 +37756,9 @@ window.__ModuleLoader__.load({
|
|
|
37783
37756
|
/** Russian dictionary for the LongCat card. */
|
|
37784
37757
|
const dictionary$5 = {
|
|
37785
37758
|
title: "LongCat",
|
|
37786
|
-
pageDesc: "
|
|
37759
|
+
pageDesc: "API-ключ платформы LongCat для моделей LongCat.",
|
|
37787
37760
|
loading: "Загрузка...",
|
|
37788
37761
|
moreNotes: "Подробнее",
|
|
37789
|
-
enabled: "Включить линию",
|
|
37790
37762
|
keySection: "Ключ API",
|
|
37791
37763
|
keyConfigured: "Ключ сохранён и хранится только в зашифрованном хранилище хоста.",
|
|
37792
37764
|
keyMissing: "Ключа пока нет. Создайте его в консоли LongCat.",
|
|
@@ -37855,10 +37827,9 @@ window.__ModuleLoader__.load({
|
|
|
37855
37827
|
const dictionary$4 = {
|
|
37856
37828
|
...accountPoolRu,
|
|
37857
37829
|
title: "Grok",
|
|
37858
|
-
pageDesc: "
|
|
37830
|
+
pageDesc: "Подписка Grok или API-ключ xAI.",
|
|
37859
37831
|
loading: "Загрузка...",
|
|
37860
37832
|
moreNotes: "Подробнее",
|
|
37861
|
-
enabled: "Включить линию",
|
|
37862
37833
|
subscription: "Подписка Grok",
|
|
37863
37834
|
apiKeyMode: "API-ключ xAI",
|
|
37864
37835
|
signedInAs: "Аккаунт",
|
|
@@ -37952,10 +37923,9 @@ window.__ModuleLoader__.load({
|
|
|
37952
37923
|
//#region src/client/locales-ru/xiaomi-mimo.ts
|
|
37953
37924
|
const dictionary$3 = {
|
|
37954
37925
|
title: "Xiaomi MiMo Token Plan",
|
|
37955
|
-
pageDesc: "
|
|
37926
|
+
pageDesc: "Ключ тарифа для MiMo: кеш, размышления и визуальный бюджет.",
|
|
37956
37927
|
loading: "Загрузка…",
|
|
37957
37928
|
moreNotes: "Подробнее",
|
|
37958
|
-
enabled: "Включить линию",
|
|
37959
37929
|
keySection: "API-ключ",
|
|
37960
37930
|
keyConfigured: "Выделенный ключ настроен и хранится только в зашифрованном хранилище host.",
|
|
37961
37931
|
keyMissing: "API-ключ не настроен. Создайте выделенный ключ в консоли XiaomiMimo Token Plan.",
|
|
@@ -38031,10 +38001,9 @@ window.__ModuleLoader__.load({
|
|
|
38031
38001
|
/** Russian dictionary for the Tencent TokenHub card. */
|
|
38032
38002
|
const dictionary$2 = {
|
|
38033
38003
|
title: "Tencent TokenHub (Token Plan)",
|
|
38034
|
-
pageDesc: "
|
|
38004
|
+
pageDesc: "Ключ тарифа для моделей TokenHub; расход enterprise — через SecretKey.",
|
|
38035
38005
|
loading: "Загрузка...",
|
|
38036
38006
|
moreNotes: "Подробнее",
|
|
38037
|
-
enabled: "Включить линию",
|
|
38038
38007
|
keySection: "Ключ тарифа",
|
|
38039
38008
|
keyConfigured: "Ключ тарифа настроен и хранится только в шифрованном хранилище хоста.",
|
|
38040
38009
|
keyMissing: "Ключа пока нет. Создайте ключ тарифа в консоли TokenHub.",
|
|
@@ -38057,7 +38026,7 @@ window.__ModuleLoader__.load({
|
|
|
38057
38026
|
deploymentIntl: "Global (Сингапур)",
|
|
38058
38027
|
deploymentHint: "Китай и Global — разные эндпоинты и разные вызовы квоты, ключ одного не подходит другому; оплата по факту (/v1) в линию не входит.",
|
|
38059
38028
|
quotaSection: "Расход тарифа",
|
|
38060
|
-
quotaDesc: "Расход публикует только
|
|
38029
|
+
quotaDesc: "Расход публикует только enterprise-тариф, для чтения нужны SecretId/SecretKey.",
|
|
38061
38030
|
quotaMissing: "SecretId / SecretKey не заданы, поэтому расход тарифа enterprise прочитать нельзя. У личного тарифа вне консоли API нет.",
|
|
38062
38031
|
quotaError: "Не удалось прочитать расход: {detail}",
|
|
38063
38032
|
quotaRefresh: "Обновить расход",
|
|
@@ -38105,7 +38074,7 @@ window.__ModuleLoader__.load({
|
|
|
38105
38074
|
detailHigh: "high (больше деталей)",
|
|
38106
38075
|
visionHint: "Для обычных скриншотов auto/low, для OCR и мелкого текста — high. Приём изображений определяется записью модели.",
|
|
38107
38076
|
cacheSection: "Статистика кэша",
|
|
38108
|
-
cacheDesc: "
|
|
38077
|
+
cacheDesc: "Учитываются только попадания из ответов апстрима; явных полей кеша нет.",
|
|
38109
38078
|
cacheHitRatio: "Доля попаданий",
|
|
38110
38079
|
cacheReset: "Очистить статистику",
|
|
38111
38080
|
cacheNoData: "Запросов пока не было.",
|
|
@@ -38118,10 +38087,9 @@ window.__ModuleLoader__.load({
|
|
|
38118
38087
|
/** Russian dictionary for the Alibaba Token Plan card. */
|
|
38119
38088
|
const dictionary$1 = {
|
|
38120
38089
|
title: "Alibaba Bailian (Token Plan)",
|
|
38121
|
-
pageDesc: "Ключ
|
|
38090
|
+
pageDesc: "Ключ тарифа для моделей Bailian, Alibaba Cloud и Qwen Cloud.",
|
|
38122
38091
|
loading: "Загрузка...",
|
|
38123
38092
|
moreNotes: "Подробнее",
|
|
38124
|
-
enabled: "Включить линию",
|
|
38125
38093
|
keySection: "Ключ тарифа",
|
|
38126
38094
|
keyConfigured: "Ключ тарифа сохранён; учётные данные остаются в зашифрованном хранилище хоста.",
|
|
38127
38095
|
keyMissing: "Ключа нет. Создайте ключ тарифа (sk-sp-…) в консоли на странице Token Plan.",
|
|
@@ -38196,7 +38164,7 @@ window.__ModuleLoader__.load({
|
|
|
38196
38164
|
cacheHitRatio: "Доля попаданий",
|
|
38197
38165
|
cacheNoData: "Пока нет данных",
|
|
38198
38166
|
explicitCache: "Переиспользовать стабильный префикс",
|
|
38199
|
-
explicitCacheHint: "Помечает
|
|
38167
|
+
explicitCacheHint: "Помечает повторяемое содержимое; поддержка не проверена, поэтому по умолчанию выключено.",
|
|
38200
38168
|
composerLabel: "Расход тарифа"
|
|
38201
38169
|
};
|
|
38202
38170
|
//#endregion
|
|
@@ -38204,9 +38172,8 @@ window.__ModuleLoader__.load({
|
|
|
38204
38172
|
/** Russian dictionary for the OpenCode Zen card. */
|
|
38205
38173
|
const dictionary = {
|
|
38206
38174
|
title: "OpenCode Zen",
|
|
38207
|
-
pageDesc: "
|
|
38175
|
+
pageDesc: "Бесплатные модели без ключа, платные — после ввода ключа.",
|
|
38208
38176
|
loading: "Чтение состояния линии…",
|
|
38209
|
-
enabled: "Включить линию",
|
|
38210
38177
|
keySection: "API-ключ",
|
|
38211
38178
|
keyPlaceholder: "Вставьте API-ключ OpenCode Zen (необязательно)",
|
|
38212
38179
|
saveKey: "Сохранить ключ",
|
|
@@ -38719,21 +38686,25 @@ window.__ModuleLoader__.load({
|
|
|
38719
38686
|
/* Quota inside one account row. It follows the account, so it sits with the
|
|
38720
38687
|
account's identity, badges and timestamps rather than in a page-level block
|
|
38721
38688
|
that could only ever describe whichever account was active when it was read. */
|
|
38722
|
-
|
|
38723
|
-
|
|
38689
|
+
/* The shared quota block uses the same card language as Kimi's provider-specific
|
|
38690
|
+
block: a quiet section head ruled like a staff, a wide 12px meter, and the
|
|
38691
|
+
reset note under the bar instead of squeezed between label and value. */
|
|
38692
|
+
.dsha-account-quota{display:flex;flex-direction:column;gap:14px;margin-top:12px}
|
|
38693
|
+
.dsha-account-quota-head{align-items:center;color:var(--dsw-alias-label-secondary);display:flex;font-size:12px;font-weight:600;gap:10px;letter-spacing:.02em}
|
|
38694
|
+
.dsha-account-quota-head::after{background:repeating-linear-gradient(to bottom,var(--dsw-alias-border-l2) 0 1px,transparent 1px 5px);content:"";flex:1;height:21px;min-width:48px}
|
|
38724
38695
|
.dsha-account-quota-head em{color:var(--dsw-alias-label-tertiary);font-style:normal;font-weight:400}
|
|
38725
38696
|
.dsha-account-quota-empty{color:var(--dsw-alias-label-tertiary);font-size:12px}
|
|
38726
|
-
.dsha-account-quota-row{
|
|
38727
|
-
.dsha-account-quota-
|
|
38697
|
+
.dsha-account-quota-row{column-gap:10px;display:grid;font-size:14px;grid-template-columns:minmax(0,1fr) auto;row-gap:7px}
|
|
38698
|
+
.dsha-account-quota-row+.dsha-account-quota-row{border-top:0.5px solid var(--dsw-alias-border-l2);padding-top:14px}
|
|
38699
|
+
.dsha-account-quota-name{color:var(--dsw-alias-label-primary);grid-column:1;grid-row:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
38728
38700
|
/* The track is drawn even when nothing is used: an empty bar nobody can see
|
|
38729
38701
|
leaves the row reading as a stray label next to a number. */
|
|
38730
|
-
.dsha-account-quota-track{background:color-mix(in srgb,var(--dsw-alias-label-
|
|
38731
|
-
.dsha-account-quota-fill{background:var(--dsw-alias-
|
|
38702
|
+
.dsha-account-quota-track{background:color-mix(in srgb,var(--dsw-alias-label-primary) 9%,transparent);border-radius:4px;grid-column:1/-1;grid-row:2;height:12px;min-width:56px;overflow:hidden}
|
|
38703
|
+
.dsha-account-quota-fill{background:var(--dsw-alias-label-primary,#1a1a19);border-radius:2px;display:block;height:100%;min-width:0;transition:width .9s cubic-bezier(.22,.61,.36,1)}
|
|
38732
38704
|
.dsha-account-quota-row[data-level=warning] .dsha-account-quota-fill{background:var(--dsw-alias-label-warning,#d9913b)}
|
|
38733
38705
|
.dsha-account-quota-row[data-level=danger] .dsha-account-quota-fill{background:var(--dsw-alias-label-danger,#d94b4b)}
|
|
38734
|
-
.dsha-account-quota-value{color:var(--dsw-alias-label-primary);
|
|
38735
|
-
.dsha-account-quota-meta{color:var(--dsw-alias-label-tertiary);
|
|
38736
|
-
@media(max-width:560px){.dsha-account-quota-meta{display:none}}
|
|
38706
|
+
.dsha-account-quota-value{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;grid-column:2;grid-row:1;white-space:nowrap}
|
|
38707
|
+
.dsha-account-quota-meta{color:var(--dsw-alias-label-tertiary);font-size:12px;font-variant-numeric:tabular-nums;grid-column:1/-1;grid-row:3;line-height:1.4}
|
|
38737
38708
|
/* ---------- Shared account-pool card skeleton ----------
|
|
38738
38709
|
The roster every provider's AccountPoolSection renders (list, card, header,
|
|
38739
38710
|
identity, title, badges, details, actions). These rules used to live in the
|
|
@@ -38746,7 +38717,10 @@ window.__ModuleLoader__.load({
|
|
|
38746
38717
|
(kimi/sibling); only the shared variant fills are kept here, and
|
|
38747
38718
|
.dsha-badge.danger stays defined above in this same sheet. */
|
|
38748
38719
|
.dsha-accounts-list{display:flex;flex-direction:column;gap:10px;margin-top:10px}
|
|
38749
|
-
|
|
38720
|
+
/* The rounded shell and top sheen are shared so every line's quota card reads
|
|
38721
|
+
as one family; Kimi and OpenCode Go no longer override this skeleton. */
|
|
38722
|
+
.dsha-account-card{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l2);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:8px;background-image:linear-gradient(180deg,color-mix(in srgb,var(--dsw-alias-label-primary) 4%,transparent),transparent 46%);transition:border-color .3s ease,box-shadow .3s ease}
|
|
38723
|
+
.dsha-account-card:hover{border-color:color-mix(in srgb,var(--dsw-alias-label-primary) 22%,var(--dsw-alias-border-l2));box-shadow:0 8px 24px rgba(0,0,0,.16)}
|
|
38750
38724
|
.dsha-account-card.active{border-color:color-mix(in srgb,var(--dsw-alias-button-info-fill,#397ee8) 60%,var(--dsw-alias-border-l2))}
|
|
38751
38725
|
.dsha-account-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
|
|
38752
38726
|
.dsha-account-identity{display:flex;align-items:center;gap:8px;min-width:0}
|
|
@@ -39068,10 +39042,8 @@ window.__ModuleLoader__.load({
|
|
|
39068
39042
|
/* ---------- Kimi Code 账号卡片里的额度区(KimiQuotaCard) ----------
|
|
39069
39043
|
档位名用 Georgia 字标,右侧压一条五线谱;音符按档位换插图,悬停时逐笔浮入。
|
|
39070
39044
|
总使用量是 Kimi 池与 Code 池的堆叠条,5 小时与 7 天各一条单行进度。 */
|
|
39071
|
-
/*
|
|
39072
|
-
|
|
39073
|
-
.dsha-account-card.dsha-account-card--kimi{border-radius:14px;border-width:1px;background-image:linear-gradient(180deg,color-mix(in srgb,var(--dsw-alias-label-primary) 4%,transparent),transparent 46%);transition:border-color .3s ease,box-shadow .3s ease}
|
|
39074
|
-
.dsha-account-card.dsha-account-card--kimi:hover{border-color:color-mix(in srgb,var(--dsw-alias-label-primary) 22%,var(--dsw-alias-border-l2));box-shadow:0 8px 24px rgba(0,0,0,.16)}
|
|
39045
|
+
/* 卡壳(圆角、细边、顶部高光与悬停阴影)由共享 .dsha-account-card 提供,
|
|
39046
|
+
不再让 Kimi 单独覆盖;--kimi 仍作为 OpenCode Go 复用者的语义标记保留。 */
|
|
39075
39047
|
|
|
39076
39048
|
.dsha-kq{--kq-fg:var(--dsw-alias-label-primary);--kq-fg-2:var(--dsw-alias-label-secondary);--kq-fg-3:var(--dsw-alias-label-tertiary);--kq-line:var(--dsw-alias-border-l2);--kq-track:color-mix(in srgb,var(--dsw-alias-label-primary) 9%,transparent);--kq-rest:var(--dsw-alias-label-primary,#1a1a19);--kq-code:var(--dsw-alias-button-info-fill,#397ee8);--kq-tip-bg:var(--dsw-alias-label-primary,#2f2f2d);color:var(--kq-fg);display:flex;flex-direction:column;min-width:0}
|
|
39077
39049
|
.dsha-kq-head{align-items:center;display:flex;gap:6px}
|
|
@@ -72904,9 +72876,16 @@ window.__ModuleLoader__.load({
|
|
|
72904
72876
|
.dshg-login{border:0.5px solid var(--dsw-alias-border-l2);border-radius:10px;display:grid;gap:10px;margin-top:10px;padding:12px}
|
|
72905
72877
|
.dshg-login-code{align-items:center;display:flex;flex-wrap:wrap;gap:10px}
|
|
72906
72878
|
.dshg-login-code strong{font-family:var(--dsw-alias-font-mono);font-size:20px;letter-spacing:2px}
|
|
72879
|
+
.dshg-account-tools{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:14px;padding-top:2px}
|
|
72907
72880
|
.dshg-details{border-top:0.5px solid var(--dsw-alias-border-l2);padding:10px 0 2px}
|
|
72908
|
-
.dshg-details>summary{color:var(--dsw-alias-label-secondary);cursor:pointer;font-size:12px;list-style:none}
|
|
72881
|
+
.dshg-details>summary{color:var(--dsw-alias-label-secondary);cursor:pointer;font-size:12px;line-height:1.55;list-style:none}
|
|
72909
72882
|
.dshg-details>p{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:1.55;margin:9px 0 0}
|
|
72883
|
+
.dshg-notes-row{align-items:center;border-top:0.5px solid var(--dsw-alias-border-l2);display:flex;flex-wrap:wrap;gap:10px 16px;justify-content:space-between;margin-top:12px;padding-top:10px}
|
|
72884
|
+
.dshg-notes-row .dshg-details{border-top:0;flex:1 1 180px;min-width:0;padding:0}
|
|
72885
|
+
.dshg-doc-links{align-items:center;display:flex;flex-wrap:wrap;font-size:12px;gap:8px;line-height:1.55;margin-left:auto}
|
|
72886
|
+
.dshg-doc-links a{color:var(--dsw-alias-label-link,#397ee8);font-size:12px;text-decoration:none}
|
|
72887
|
+
.dshg-doc-links a:hover{text-decoration:underline}
|
|
72888
|
+
.dshg-doc-links span{color:var(--dsw-alias-label-tertiary);font-size:12px}
|
|
72910
72889
|
.dshg-model-meta{color:var(--dsw-alias-label-tertiary);font-size:11px;margin-left:5px}
|
|
72911
72890
|
`, STYLE_ID$8);
|
|
72912
72891
|
}
|