@eddyskywalker/dsh-chatgpt-subscription 0.32.0 → 0.34.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/CHANGELOG.md +81 -0
- package/README.md +100 -111
- package/lib/client.js +4731 -1239
- package/lib/client.js.map +1 -1
- package/lib/index.js +11514 -3162
- package/lib/types/client/common/format.d.ts +10 -0
- package/lib/types/client/common/format.d.ts.map +1 -1
- package/lib/types/client/hub/brand-icons.d.ts +18 -2
- package/lib/types/client/hub/brand-icons.d.ts.map +1 -1
- package/lib/types/client/hub/hub-styles.d.ts.map +1 -1
- package/lib/types/client/hub/providers.d.ts.map +1 -1
- package/lib/types/client/index.d.ts +4 -0
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/minimax-code/VideoFormDialog.d.ts +46 -50
- package/lib/types/client/minimax-code/VideoFormDialog.d.ts.map +1 -1
- package/lib/types/client/minimax-code/locales.d.ts +80 -20
- package/lib/types/client/minimax-code/locales.d.ts.map +1 -1
- package/lib/types/client/minimax-code/styles.d.ts.map +1 -1
- package/lib/types/client/minimax-code/video-command-host.d.ts +17 -11
- package/lib/types/client/minimax-code/video-command-host.d.ts.map +1 -1
- package/lib/types/client/minimax-code/video-command-icon.d.ts +38 -0
- package/lib/types/client/minimax-code/video-command-icon.d.ts.map +1 -0
- package/lib/types/client/minimax-code/video-command.d.ts +53 -59
- package/lib/types/client/minimax-code/video-command.d.ts.map +1 -1
- package/lib/types/client/minimax-code/video-media-dropzone.d.ts +57 -0
- package/lib/types/client/minimax-code/video-media-dropzone.d.ts.map +1 -0
- package/lib/types/client/minimax-code/video-media-input.d.ts +173 -0
- package/lib/types/client/minimax-code/video-media-input.d.ts.map +1 -0
- package/lib/types/client/minimax-code/video-presets.d.ts +67 -0
- package/lib/types/client/minimax-code/video-presets.d.ts.map +1 -0
- package/lib/types/client/minimax-code/video-workspace.d.ts +41 -0
- package/lib/types/client/minimax-code/video-workspace.d.ts.map +1 -0
- package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts +20 -0
- package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts.map +1 -0
- package/lib/types/client/opendesign/OpenDesignSection.d.ts +18 -0
- package/lib/types/client/opendesign/OpenDesignSection.d.ts.map +1 -0
- package/lib/types/client/opendesign/api.d.ts +45 -0
- package/lib/types/client/opendesign/api.d.ts.map +1 -0
- package/lib/types/client/opendesign/locales.d.ts +689 -0
- package/lib/types/client/opendesign/locales.d.ts.map +1 -0
- package/lib/types/client/opendesign/styles.d.ts +11 -0
- package/lib/types/client/opendesign/styles.d.ts.map +1 -0
- package/lib/types/client/qoder/QoderComposerQuota.d.ts +41 -0
- package/lib/types/client/qoder/QoderComposerQuota.d.ts.map +1 -0
- package/lib/types/client/qoder/QoderSection.d.ts +36 -0
- package/lib/types/client/qoder/QoderSection.d.ts.map +1 -0
- package/lib/types/client/qoder/api.d.ts +4 -0
- package/lib/types/client/qoder/api.d.ts.map +1 -0
- package/lib/types/client/qoder/locales.d.ts +316 -0
- package/lib/types/client/qoder/locales.d.ts.map +1 -0
- package/lib/types/client/qoder/styles.d.ts +16 -0
- package/lib/types/client/qoder/styles.d.ts.map +1 -0
- package/lib/types/client/qoder/useQoderSection.d.ts +97 -0
- package/lib/types/client/qoder/useQoderSection.d.ts.map +1 -0
- package/lib/types/host/common/model-request-control.d.ts +1 -1
- package/lib/types/host/common/model-request-control.d.ts.map +1 -1
- package/lib/types/host/common/request-diagnostics.d.ts +1 -1
- package/lib/types/host/common/request-diagnostics.d.ts.map +1 -1
- package/lib/types/host/kimi-code/adapter.d.ts +34 -1
- package/lib/types/host/kimi-code/adapter.d.ts.map +1 -1
- package/lib/types/host/kimi-code/mapper.d.ts +8 -0
- package/lib/types/host/kimi-code/mapper.d.ts.map +1 -1
- package/lib/types/host/kimi-code/types.d.ts +92 -0
- package/lib/types/host/kimi-code/types.d.ts.map +1 -1
- package/lib/types/host/opendesign/account-pool.d.ts +54 -0
- package/lib/types/host/opendesign/account-pool.d.ts.map +1 -0
- package/lib/types/host/opendesign/adapter.d.ts +69 -0
- package/lib/types/host/opendesign/adapter.d.ts.map +1 -0
- package/lib/types/host/opendesign/catalog.d.ts +44 -0
- package/lib/types/host/opendesign/catalog.d.ts.map +1 -0
- package/lib/types/host/opendesign/client.d.ts +148 -0
- package/lib/types/host/opendesign/client.d.ts.map +1 -0
- package/lib/types/host/opendesign/line.d.ts +49 -0
- package/lib/types/host/opendesign/line.d.ts.map +1 -0
- package/lib/types/host/opendesign/mapper.d.ts +128 -0
- package/lib/types/host/opendesign/mapper.d.ts.map +1 -0
- package/lib/types/host/opendesign/oauth.d.ts +105 -0
- package/lib/types/host/opendesign/oauth.d.ts.map +1 -0
- package/lib/types/host/opendesign/routes.d.ts +74 -0
- package/lib/types/host/opendesign/routes.d.ts.map +1 -0
- package/lib/types/host/opendesign/token-store.d.ts +154 -0
- package/lib/types/host/opendesign/token-store.d.ts.map +1 -0
- package/lib/types/host/opendesign/types.d.ts +180 -0
- package/lib/types/host/opendesign/types.d.ts.map +1 -0
- package/lib/types/host/qoder/account-pool.d.ts +137 -0
- package/lib/types/host/qoder/account-pool.d.ts.map +1 -0
- package/lib/types/host/qoder/adapter.d.ts +158 -0
- package/lib/types/host/qoder/adapter.d.ts.map +1 -0
- package/lib/types/host/qoder/adopt.d.ts +146 -0
- package/lib/types/host/qoder/adopt.d.ts.map +1 -0
- package/lib/types/host/qoder/client.d.ts +301 -0
- package/lib/types/host/qoder/client.d.ts.map +1 -0
- package/lib/types/host/qoder/cosy.d.ts +173 -0
- package/lib/types/host/qoder/cosy.d.ts.map +1 -0
- package/lib/types/host/qoder/mapper.d.ts +235 -0
- package/lib/types/host/qoder/mapper.d.ts.map +1 -0
- package/lib/types/host/qoder/model-catalog.d.ts +231 -0
- package/lib/types/host/qoder/model-catalog.d.ts.map +1 -0
- package/lib/types/host/qoder/oauth.d.ts +134 -0
- package/lib/types/host/qoder/oauth.d.ts.map +1 -0
- package/lib/types/host/qoder/routes.d.ts +119 -0
- package/lib/types/host/qoder/routes.d.ts.map +1 -0
- package/lib/types/host/qoder/token-store.d.ts +280 -0
- package/lib/types/host/qoder/token-store.d.ts.map +1 -0
- package/lib/types/host/qoder/types.d.ts +257 -0
- package/lib/types/host/qoder/types.d.ts.map +1 -0
- package/lib/types/host/workbuddy/adapter.d.ts.map +1 -1
- package/lib/types/host/workbuddy/mapper.d.ts +1 -0
- package/lib/types/host/workbuddy/mapper.d.ts.map +1 -1
- package/lib/types/index.d.ts +15 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/opendesign-contracts.d.ts +159 -0
- package/lib/types/shared/opendesign-contracts.d.ts.map +1 -0
- package/lib/types/shared/qoder-contracts.d.ts +332 -0
- package/lib/types/shared/qoder-contracts.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,689 @@
|
|
|
1
|
+
export declare const NS_OPENDESIGN = "dsh-opendesign";
|
|
2
|
+
export declare const zh: {
|
|
3
|
+
readonly relogin: "重新登录";
|
|
4
|
+
readonly needsRelogin: "登录已失效";
|
|
5
|
+
readonly addAccount: "添加 API Key";
|
|
6
|
+
readonly noAccounts: "暂无账号。点「登录 OpenDesign 账号」完成浏览器授权,或用「添加 API Key」粘贴控制台签发的 Key。";
|
|
7
|
+
readonly title: "OpenDesign";
|
|
8
|
+
readonly pageDesc: "接入 OpenDesign 订阅:浏览器授权登录(推荐,可同时读余额)或粘贴 Cloud 控制台的 API Key,即可用订阅额度调用其模型网关。多账号自动轮换。";
|
|
9
|
+
readonly login: "登录 OpenDesign 账号";
|
|
10
|
+
readonly loggingIn: "登录中...";
|
|
11
|
+
readonly loginHint: "在浏览器中打开激活页并确认下方代码;确认后账号会自动加入号池,无需再粘贴 Key。";
|
|
12
|
+
readonly loginCode: "授权代码";
|
|
13
|
+
readonly loginOpen: "打开激活页";
|
|
14
|
+
readonly loginWaiting: "等待浏览器确认…";
|
|
15
|
+
readonly loginCancel: "取消登录";
|
|
16
|
+
readonly loginIdle: "尚未开始登录。";
|
|
17
|
+
readonly loginHaveAccounts: "号池已有 {count} 个账号可用。";
|
|
18
|
+
readonly loginComplete: "已登录:{account}";
|
|
19
|
+
readonly loginCompleteNoAccount: "上次登录已完成,但当前号池中没有可用账号。";
|
|
20
|
+
readonly loginFailed: "登录失败:{detail}";
|
|
21
|
+
readonly useApiKey: "添加 API Key";
|
|
22
|
+
readonly oauthAccount: "浏览器授权";
|
|
23
|
+
readonly apiKeyAccount: "API Key";
|
|
24
|
+
readonly routeOwned: "模型路由由本插件提供";
|
|
25
|
+
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
|
|
26
|
+
readonly error: "操作失败:{detail}";
|
|
27
|
+
readonly saved: "已保存";
|
|
28
|
+
readonly keySection: "添加 API Key";
|
|
29
|
+
readonly keyHint: "在 OpenDesign Cloud 控制台的工作区(API Keys)创建 Key 后粘贴到此处。";
|
|
30
|
+
readonly keyConsoleLink: "打开 OpenDesign Cloud 控制台";
|
|
31
|
+
readonly keyPlaceholder: "粘贴 OpenDesign API Key";
|
|
32
|
+
readonly keyAliasLabel: "备注名(可选)";
|
|
33
|
+
readonly keyAliasPlaceholder: "例如:主号、备用号";
|
|
34
|
+
readonly keyAliasHint: "网关不返回账号信息,多个 Key 靠备注名区分。";
|
|
35
|
+
readonly keyBaseUrlLabel: "网关地址覆盖(可选)";
|
|
36
|
+
readonly keyBaseUrlPlaceholder: "默认 https://amr-link.open-design.ai/v1";
|
|
37
|
+
readonly keySave: "添加";
|
|
38
|
+
readonly keySaving: "添加中...";
|
|
39
|
+
readonly keyTest: "测试 Key";
|
|
40
|
+
readonly cancel: "取消";
|
|
41
|
+
readonly keyTesting: "测试中...";
|
|
42
|
+
readonly keyTestOk: "Key 可用({ms}ms,可见 {count} 个模型)";
|
|
43
|
+
readonly keyTestFailed: "Key 不可用:{detail}";
|
|
44
|
+
readonly testSavedKey: "测试";
|
|
45
|
+
readonly modelsSection: "模型";
|
|
46
|
+
readonly modelsHint: "模型目录来自随包内置列表;添加 Key 后自动同步一次该 Key 可见的实时目录,也可手动刷新。未勾选的模型不会出现在模型选择器中。";
|
|
47
|
+
readonly modelChecklistCount: "已选 {count} / 共 {total} 个模型";
|
|
48
|
+
readonly selectAll: "全选";
|
|
49
|
+
readonly unselectAll: "全不选";
|
|
50
|
+
readonly catalogSync: "刷新模型目录";
|
|
51
|
+
readonly catalogSyncing: "刷新中...";
|
|
52
|
+
readonly catalogNeverSynced: "尚未同步实时目录:当前显示的是随包内置列表。添加 Key 后会自动同步一次,或点右上角「刷新模型目录」。";
|
|
53
|
+
readonly catalogSyncedNote: "实时目录已同步 {count} 个模型。";
|
|
54
|
+
readonly noModels: "暂无可用模型。";
|
|
55
|
+
readonly pricingNote: "价格为官方公开价目(美元 / 每百万 token,输入 / 输出)。";
|
|
56
|
+
readonly contextSection: "上下文窗口";
|
|
57
|
+
readonly contextHint: "官方未公布各模型的上下文窗口:默认按 128k 处理,可在这里按模型修正。留空或保存无效值会提示错误;恢复默认会清掉覆盖值。";
|
|
58
|
+
readonly tokens: "tokens";
|
|
59
|
+
readonly contextSave: "保存";
|
|
60
|
+
readonly contextOverridden: "已覆盖";
|
|
61
|
+
readonly contextSaving: "保存中";
|
|
62
|
+
readonly contextReset: "恢复默认";
|
|
63
|
+
readonly contextResetAll: "全部恢复默认";
|
|
64
|
+
readonly contextEmpty: "勾选至少一个模型后,这里会出现它的上下文窗口设置。";
|
|
65
|
+
readonly advancedSection: "高级设置";
|
|
66
|
+
readonly baseURL: "默认网关地址";
|
|
67
|
+
readonly defaultContextWindow: "默认上下文窗口";
|
|
68
|
+
readonly defaultMaxTokens: "默认输出预算";
|
|
69
|
+
readonly maxConcurrentRequests: "每账号并发流上限(0 = 不限)";
|
|
70
|
+
readonly streamIdleTimeoutMs: "流空闲超时(ms)";
|
|
71
|
+
readonly saveSettings: "保存设置";
|
|
72
|
+
readonly savingSettings: "保存中...";
|
|
73
|
+
readonly limitsSection: "说明";
|
|
74
|
+
readonly usageSection: "钱包余额";
|
|
75
|
+
readonly usageHint: "余额属于账号。浏览器授权登录的账号带控制 Key,可直接读;粘贴的 API Key 没有控制 Key,请在控制台查看。刷新会为每个可读的 OAuth 账号各发一次请求。";
|
|
76
|
+
readonly usageRefresh: "刷新余额";
|
|
77
|
+
readonly usageRefreshing: "刷新中...";
|
|
78
|
+
readonly usageEmpty: "尚未读取余额。";
|
|
79
|
+
readonly usageUnavailable: "读不到余额:{detail}";
|
|
80
|
+
readonly usageBalance: "余额 ${amount}";
|
|
81
|
+
readonly usageReadAt: "读取于 {time}";
|
|
82
|
+
readonly limitKey: "凭据存储在系统加密凭据库中,界面从不显示 Key 本身。";
|
|
83
|
+
readonly limitGateway: "请求由 OpenDesign 网关服务,实际上游由网关决定。";
|
|
84
|
+
readonly limitRoute: "模型路由按 provider id 抢占:若已有其他插件占用 opendesign,本卡仍可配置,但请求由对方服务。";
|
|
85
|
+
readonly limitQuota: "余额读取只覆盖浏览器授权登录的账号;粘贴的 API Key 请在 OpenDesign Cloud 控制台查看用量。";
|
|
86
|
+
readonly accountPool: string;
|
|
87
|
+
readonly accountCount: string;
|
|
88
|
+
readonly primaryAccount: string;
|
|
89
|
+
readonly activeAccount: string;
|
|
90
|
+
readonly setPrimary: string;
|
|
91
|
+
readonly deleteAccount: string;
|
|
92
|
+
readonly cooling: string;
|
|
93
|
+
readonly cooldownLeft: string;
|
|
94
|
+
readonly cooldownRemaining: string;
|
|
95
|
+
readonly cooldownRemainingSeconds: string;
|
|
96
|
+
readonly modelCooldown: string;
|
|
97
|
+
readonly clearCooldown: string;
|
|
98
|
+
readonly rotationStrategy: string;
|
|
99
|
+
readonly strategySequential: string;
|
|
100
|
+
readonly strategyRoundRobin: string;
|
|
101
|
+
readonly strategySticky: string;
|
|
102
|
+
readonly email: string;
|
|
103
|
+
readonly expires: string;
|
|
104
|
+
readonly lastUsed: string;
|
|
105
|
+
readonly accountId: string;
|
|
106
|
+
readonly accountQuota: string;
|
|
107
|
+
readonly quotaNone: string;
|
|
108
|
+
readonly quotaSnapshot: string;
|
|
109
|
+
readonly quotaResets: string;
|
|
110
|
+
readonly quotaExhausted: string;
|
|
111
|
+
readonly quotaWindow: string;
|
|
112
|
+
readonly quotaUsed: string;
|
|
113
|
+
readonly quotaFactsScope: string;
|
|
114
|
+
readonly composerLabel: string;
|
|
115
|
+
};
|
|
116
|
+
export declare const en: {
|
|
117
|
+
readonly relogin: "Add again";
|
|
118
|
+
readonly needsRelogin: "Key invalid";
|
|
119
|
+
readonly addAccount: "Add API key";
|
|
120
|
+
readonly noAccounts: "No accounts yet. Click \"Add API key\" and paste a key created in the OpenDesign Cloud console.";
|
|
121
|
+
readonly title: "OpenDesign";
|
|
122
|
+
readonly pageDesc: "Connect an OpenDesign subscription: create an API key in the Cloud console and paste it here to call its model gateway on plan credits. Pooled accounts rotate automatically.";
|
|
123
|
+
readonly login: "Sign in to OpenDesign";
|
|
124
|
+
readonly loggingIn: "Signing in...";
|
|
125
|
+
readonly loginHint: "Open the activation page in your browser and confirm the code below; the account joins the pool automatically, with no key to paste.";
|
|
126
|
+
readonly loginCode: "Authorization code";
|
|
127
|
+
readonly loginOpen: "Open activation page";
|
|
128
|
+
readonly loginWaiting: "Waiting for browser confirmation…";
|
|
129
|
+
readonly loginCancel: "Cancel sign-in";
|
|
130
|
+
readonly loginIdle: "No sign-in started in this process yet.";
|
|
131
|
+
readonly loginHaveAccounts: "The pool already holds {count} usable account(s).";
|
|
132
|
+
readonly loginComplete: "Signed in as {account}";
|
|
133
|
+
readonly loginCompleteNoAccount: "The previous sign-in completed, but the pool currently holds no usable account.";
|
|
134
|
+
readonly loginFailed: "Sign-in failed: {detail}";
|
|
135
|
+
readonly useApiKey: "Add API key";
|
|
136
|
+
readonly oauthAccount: "Browser sign-in";
|
|
137
|
+
readonly apiKeyAccount: "API key";
|
|
138
|
+
readonly routeOwned: "Model route served by this plugin";
|
|
139
|
+
readonly routeConflict: "The model route is already owned by another provider: {detail}";
|
|
140
|
+
readonly error: "Action failed: {detail}";
|
|
141
|
+
readonly saved: "Saved";
|
|
142
|
+
readonly keySection: "Add an API key";
|
|
143
|
+
readonly keyHint: "Create a key in the OpenDesign Cloud console (workspace → API Keys) and paste it here.";
|
|
144
|
+
readonly keyConsoleLink: "Open the OpenDesign Cloud console";
|
|
145
|
+
readonly keyPlaceholder: "Paste an OpenDesign API key";
|
|
146
|
+
readonly keyAliasLabel: "Label (optional)";
|
|
147
|
+
readonly keyAliasPlaceholder: "e.g. primary, backup";
|
|
148
|
+
readonly keyAliasHint: "The gateway reports no account identity, so labels tell several keys apart.";
|
|
149
|
+
readonly keyBaseUrlLabel: "Gateway override (optional)";
|
|
150
|
+
readonly keyBaseUrlPlaceholder: "default: https://amr-link.open-design.ai/v1";
|
|
151
|
+
readonly keySave: "Add";
|
|
152
|
+
readonly keySaving: "Adding...";
|
|
153
|
+
readonly keyTest: "Test key";
|
|
154
|
+
readonly cancel: "Cancel";
|
|
155
|
+
readonly keyTesting: "Testing...";
|
|
156
|
+
readonly keyTestOk: "Key works ({ms}ms, {count} models visible)";
|
|
157
|
+
readonly keyTestFailed: "Key rejected: {detail}";
|
|
158
|
+
readonly testSavedKey: "Test";
|
|
159
|
+
readonly modelsSection: "Models";
|
|
160
|
+
readonly modelsHint: "The list starts from the bundled table; adding a key syncs the live catalog that key can see, and a manual refresh syncs it again. Unchecked models do not appear in the model picker.";
|
|
161
|
+
readonly modelChecklistCount: "{count} of {total} selected";
|
|
162
|
+
readonly selectAll: "Select all";
|
|
163
|
+
readonly unselectAll: "Clear all";
|
|
164
|
+
readonly catalogSync: "Refresh catalog";
|
|
165
|
+
readonly catalogSyncing: "Refreshing...";
|
|
166
|
+
readonly catalogNeverSynced: "The live catalog has not been synced yet, so the bundled table is listed. Adding a key syncs it once automatically; the refresh button syncs it again.";
|
|
167
|
+
readonly catalogSyncedNote: "Live catalog synced: {count} model(s).";
|
|
168
|
+
readonly noModels: "No models available.";
|
|
169
|
+
readonly pricingNote: "Prices are the official public list (USD per 1M tokens, input / output).";
|
|
170
|
+
readonly contextSection: "Context windows";
|
|
171
|
+
readonly contextHint: "The vendor publishes no per-model context windows, so models default to 128k; correct any model here. An invalid value is reported rather than saved; restoring clears the override.";
|
|
172
|
+
readonly tokens: "tokens";
|
|
173
|
+
readonly contextSave: "Save";
|
|
174
|
+
readonly contextOverridden: "overridden";
|
|
175
|
+
readonly contextSaving: "Saving";
|
|
176
|
+
readonly contextReset: "Restore default";
|
|
177
|
+
readonly contextResetAll: "Restore all defaults";
|
|
178
|
+
readonly contextEmpty: "Check at least one model to configure its context window here.";
|
|
179
|
+
readonly advancedSection: "Advanced";
|
|
180
|
+
readonly baseURL: "Default gateway";
|
|
181
|
+
readonly defaultContextWindow: "Default context window";
|
|
182
|
+
readonly defaultMaxTokens: "Default output budget";
|
|
183
|
+
readonly maxConcurrentRequests: "Streams per account (0 = unlimited)";
|
|
184
|
+
readonly streamIdleTimeoutMs: "Stream idle timeout (ms)";
|
|
185
|
+
readonly saveSettings: "Save settings";
|
|
186
|
+
readonly savingSettings: "Saving...";
|
|
187
|
+
readonly limitsSection: "Notes";
|
|
188
|
+
readonly usageSection: "Wallet balance";
|
|
189
|
+
readonly usageHint: "Balances belong to accounts. Browser-signed-in accounts carry a control key and can be read here; a pasted API key has none — check the console for it. Refreshing sends one request per readable OAuth account.";
|
|
190
|
+
readonly usageRefresh: "Refresh balance";
|
|
191
|
+
readonly usageRefreshing: "Refreshing...";
|
|
192
|
+
readonly usageEmpty: "No balance reading yet.";
|
|
193
|
+
readonly usageUnavailable: "Could not read the balance: {detail}";
|
|
194
|
+
readonly usageBalance: "Balance ${amount}";
|
|
195
|
+
readonly usageReadAt: "Read at {time}";
|
|
196
|
+
readonly limitKey: "API keys live in the OS credential store; the card never shows the key itself.";
|
|
197
|
+
readonly limitGateway: "Requests are served by the OpenDesign gateway, which chooses the actual upstream.";
|
|
198
|
+
readonly limitRoute: "The route is claimed by provider id: if another plugin already serves opendesign, this card still configures the line but that provider answers the requests.";
|
|
199
|
+
readonly limitQuota: "Balance reads cover browser-signed-in accounts only; for a pasted API key, see usage in the OpenDesign Cloud console.";
|
|
200
|
+
readonly accountPool: string;
|
|
201
|
+
readonly accountCount: string;
|
|
202
|
+
readonly primaryAccount: string;
|
|
203
|
+
readonly activeAccount: string;
|
|
204
|
+
readonly setPrimary: string;
|
|
205
|
+
readonly deleteAccount: string;
|
|
206
|
+
readonly cooling: string;
|
|
207
|
+
readonly cooldownLeft: string;
|
|
208
|
+
readonly cooldownRemaining: string;
|
|
209
|
+
readonly cooldownRemainingSeconds: string;
|
|
210
|
+
readonly modelCooldown: string;
|
|
211
|
+
readonly clearCooldown: string;
|
|
212
|
+
readonly rotationStrategy: string;
|
|
213
|
+
readonly strategySequential: string;
|
|
214
|
+
readonly strategyRoundRobin: string;
|
|
215
|
+
readonly strategySticky: string;
|
|
216
|
+
readonly email: string;
|
|
217
|
+
readonly expires: string;
|
|
218
|
+
readonly lastUsed: string;
|
|
219
|
+
readonly accountId: string;
|
|
220
|
+
readonly accountQuota: string;
|
|
221
|
+
readonly quotaNone: string;
|
|
222
|
+
readonly quotaSnapshot: string;
|
|
223
|
+
readonly quotaResets: string;
|
|
224
|
+
readonly quotaExhausted: string;
|
|
225
|
+
readonly quotaWindow: string;
|
|
226
|
+
readonly quotaUsed: string;
|
|
227
|
+
readonly quotaFactsScope: string;
|
|
228
|
+
readonly composerLabel: string;
|
|
229
|
+
};
|
|
230
|
+
export declare const dictionaries: {
|
|
231
|
+
zh: {
|
|
232
|
+
readonly relogin: "重新登录";
|
|
233
|
+
readonly needsRelogin: "登录已失效";
|
|
234
|
+
readonly addAccount: "添加 API Key";
|
|
235
|
+
readonly noAccounts: "暂无账号。点「登录 OpenDesign 账号」完成浏览器授权,或用「添加 API Key」粘贴控制台签发的 Key。";
|
|
236
|
+
readonly title: "OpenDesign";
|
|
237
|
+
readonly pageDesc: "接入 OpenDesign 订阅:浏览器授权登录(推荐,可同时读余额)或粘贴 Cloud 控制台的 API Key,即可用订阅额度调用其模型网关。多账号自动轮换。";
|
|
238
|
+
readonly login: "登录 OpenDesign 账号";
|
|
239
|
+
readonly loggingIn: "登录中...";
|
|
240
|
+
readonly loginHint: "在浏览器中打开激活页并确认下方代码;确认后账号会自动加入号池,无需再粘贴 Key。";
|
|
241
|
+
readonly loginCode: "授权代码";
|
|
242
|
+
readonly loginOpen: "打开激活页";
|
|
243
|
+
readonly loginWaiting: "等待浏览器确认…";
|
|
244
|
+
readonly loginCancel: "取消登录";
|
|
245
|
+
readonly loginIdle: "尚未开始登录。";
|
|
246
|
+
readonly loginHaveAccounts: "号池已有 {count} 个账号可用。";
|
|
247
|
+
readonly loginComplete: "已登录:{account}";
|
|
248
|
+
readonly loginCompleteNoAccount: "上次登录已完成,但当前号池中没有可用账号。";
|
|
249
|
+
readonly loginFailed: "登录失败:{detail}";
|
|
250
|
+
readonly useApiKey: "添加 API Key";
|
|
251
|
+
readonly oauthAccount: "浏览器授权";
|
|
252
|
+
readonly apiKeyAccount: "API Key";
|
|
253
|
+
readonly routeOwned: "模型路由由本插件提供";
|
|
254
|
+
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
|
|
255
|
+
readonly error: "操作失败:{detail}";
|
|
256
|
+
readonly saved: "已保存";
|
|
257
|
+
readonly keySection: "添加 API Key";
|
|
258
|
+
readonly keyHint: "在 OpenDesign Cloud 控制台的工作区(API Keys)创建 Key 后粘贴到此处。";
|
|
259
|
+
readonly keyConsoleLink: "打开 OpenDesign Cloud 控制台";
|
|
260
|
+
readonly keyPlaceholder: "粘贴 OpenDesign API Key";
|
|
261
|
+
readonly keyAliasLabel: "备注名(可选)";
|
|
262
|
+
readonly keyAliasPlaceholder: "例如:主号、备用号";
|
|
263
|
+
readonly keyAliasHint: "网关不返回账号信息,多个 Key 靠备注名区分。";
|
|
264
|
+
readonly keyBaseUrlLabel: "网关地址覆盖(可选)";
|
|
265
|
+
readonly keyBaseUrlPlaceholder: "默认 https://amr-link.open-design.ai/v1";
|
|
266
|
+
readonly keySave: "添加";
|
|
267
|
+
readonly keySaving: "添加中...";
|
|
268
|
+
readonly keyTest: "测试 Key";
|
|
269
|
+
readonly cancel: "取消";
|
|
270
|
+
readonly keyTesting: "测试中...";
|
|
271
|
+
readonly keyTestOk: "Key 可用({ms}ms,可见 {count} 个模型)";
|
|
272
|
+
readonly keyTestFailed: "Key 不可用:{detail}";
|
|
273
|
+
readonly testSavedKey: "测试";
|
|
274
|
+
readonly modelsSection: "模型";
|
|
275
|
+
readonly modelsHint: "模型目录来自随包内置列表;添加 Key 后自动同步一次该 Key 可见的实时目录,也可手动刷新。未勾选的模型不会出现在模型选择器中。";
|
|
276
|
+
readonly modelChecklistCount: "已选 {count} / 共 {total} 个模型";
|
|
277
|
+
readonly selectAll: "全选";
|
|
278
|
+
readonly unselectAll: "全不选";
|
|
279
|
+
readonly catalogSync: "刷新模型目录";
|
|
280
|
+
readonly catalogSyncing: "刷新中...";
|
|
281
|
+
readonly catalogNeverSynced: "尚未同步实时目录:当前显示的是随包内置列表。添加 Key 后会自动同步一次,或点右上角「刷新模型目录」。";
|
|
282
|
+
readonly catalogSyncedNote: "实时目录已同步 {count} 个模型。";
|
|
283
|
+
readonly noModels: "暂无可用模型。";
|
|
284
|
+
readonly pricingNote: "价格为官方公开价目(美元 / 每百万 token,输入 / 输出)。";
|
|
285
|
+
readonly contextSection: "上下文窗口";
|
|
286
|
+
readonly contextHint: "官方未公布各模型的上下文窗口:默认按 128k 处理,可在这里按模型修正。留空或保存无效值会提示错误;恢复默认会清掉覆盖值。";
|
|
287
|
+
readonly tokens: "tokens";
|
|
288
|
+
readonly contextSave: "保存";
|
|
289
|
+
readonly contextOverridden: "已覆盖";
|
|
290
|
+
readonly contextSaving: "保存中";
|
|
291
|
+
readonly contextReset: "恢复默认";
|
|
292
|
+
readonly contextResetAll: "全部恢复默认";
|
|
293
|
+
readonly contextEmpty: "勾选至少一个模型后,这里会出现它的上下文窗口设置。";
|
|
294
|
+
readonly advancedSection: "高级设置";
|
|
295
|
+
readonly baseURL: "默认网关地址";
|
|
296
|
+
readonly defaultContextWindow: "默认上下文窗口";
|
|
297
|
+
readonly defaultMaxTokens: "默认输出预算";
|
|
298
|
+
readonly maxConcurrentRequests: "每账号并发流上限(0 = 不限)";
|
|
299
|
+
readonly streamIdleTimeoutMs: "流空闲超时(ms)";
|
|
300
|
+
readonly saveSettings: "保存设置";
|
|
301
|
+
readonly savingSettings: "保存中...";
|
|
302
|
+
readonly limitsSection: "说明";
|
|
303
|
+
readonly usageSection: "钱包余额";
|
|
304
|
+
readonly usageHint: "余额属于账号。浏览器授权登录的账号带控制 Key,可直接读;粘贴的 API Key 没有控制 Key,请在控制台查看。刷新会为每个可读的 OAuth 账号各发一次请求。";
|
|
305
|
+
readonly usageRefresh: "刷新余额";
|
|
306
|
+
readonly usageRefreshing: "刷新中...";
|
|
307
|
+
readonly usageEmpty: "尚未读取余额。";
|
|
308
|
+
readonly usageUnavailable: "读不到余额:{detail}";
|
|
309
|
+
readonly usageBalance: "余额 ${amount}";
|
|
310
|
+
readonly usageReadAt: "读取于 {time}";
|
|
311
|
+
readonly limitKey: "凭据存储在系统加密凭据库中,界面从不显示 Key 本身。";
|
|
312
|
+
readonly limitGateway: "请求由 OpenDesign 网关服务,实际上游由网关决定。";
|
|
313
|
+
readonly limitRoute: "模型路由按 provider id 抢占:若已有其他插件占用 opendesign,本卡仍可配置,但请求由对方服务。";
|
|
314
|
+
readonly limitQuota: "余额读取只覆盖浏览器授权登录的账号;粘贴的 API Key 请在 OpenDesign Cloud 控制台查看用量。";
|
|
315
|
+
readonly accountPool: string;
|
|
316
|
+
readonly accountCount: string;
|
|
317
|
+
readonly primaryAccount: string;
|
|
318
|
+
readonly activeAccount: string;
|
|
319
|
+
readonly setPrimary: string;
|
|
320
|
+
readonly deleteAccount: string;
|
|
321
|
+
readonly cooling: string;
|
|
322
|
+
readonly cooldownLeft: string;
|
|
323
|
+
readonly cooldownRemaining: string;
|
|
324
|
+
readonly cooldownRemainingSeconds: string;
|
|
325
|
+
readonly modelCooldown: string;
|
|
326
|
+
readonly clearCooldown: string;
|
|
327
|
+
readonly rotationStrategy: string;
|
|
328
|
+
readonly strategySequential: string;
|
|
329
|
+
readonly strategyRoundRobin: string;
|
|
330
|
+
readonly strategySticky: string;
|
|
331
|
+
readonly email: string;
|
|
332
|
+
readonly expires: string;
|
|
333
|
+
readonly lastUsed: string;
|
|
334
|
+
readonly accountId: string;
|
|
335
|
+
readonly accountQuota: string;
|
|
336
|
+
readonly quotaNone: string;
|
|
337
|
+
readonly quotaSnapshot: string;
|
|
338
|
+
readonly quotaResets: string;
|
|
339
|
+
readonly quotaExhausted: string;
|
|
340
|
+
readonly quotaWindow: string;
|
|
341
|
+
readonly quotaUsed: string;
|
|
342
|
+
readonly quotaFactsScope: string;
|
|
343
|
+
readonly composerLabel: string;
|
|
344
|
+
};
|
|
345
|
+
'zh-CN': {
|
|
346
|
+
readonly relogin: "重新登录";
|
|
347
|
+
readonly needsRelogin: "登录已失效";
|
|
348
|
+
readonly addAccount: "添加 API Key";
|
|
349
|
+
readonly noAccounts: "暂无账号。点「登录 OpenDesign 账号」完成浏览器授权,或用「添加 API Key」粘贴控制台签发的 Key。";
|
|
350
|
+
readonly title: "OpenDesign";
|
|
351
|
+
readonly pageDesc: "接入 OpenDesign 订阅:浏览器授权登录(推荐,可同时读余额)或粘贴 Cloud 控制台的 API Key,即可用订阅额度调用其模型网关。多账号自动轮换。";
|
|
352
|
+
readonly login: "登录 OpenDesign 账号";
|
|
353
|
+
readonly loggingIn: "登录中...";
|
|
354
|
+
readonly loginHint: "在浏览器中打开激活页并确认下方代码;确认后账号会自动加入号池,无需再粘贴 Key。";
|
|
355
|
+
readonly loginCode: "授权代码";
|
|
356
|
+
readonly loginOpen: "打开激活页";
|
|
357
|
+
readonly loginWaiting: "等待浏览器确认…";
|
|
358
|
+
readonly loginCancel: "取消登录";
|
|
359
|
+
readonly loginIdle: "尚未开始登录。";
|
|
360
|
+
readonly loginHaveAccounts: "号池已有 {count} 个账号可用。";
|
|
361
|
+
readonly loginComplete: "已登录:{account}";
|
|
362
|
+
readonly loginCompleteNoAccount: "上次登录已完成,但当前号池中没有可用账号。";
|
|
363
|
+
readonly loginFailed: "登录失败:{detail}";
|
|
364
|
+
readonly useApiKey: "添加 API Key";
|
|
365
|
+
readonly oauthAccount: "浏览器授权";
|
|
366
|
+
readonly apiKeyAccount: "API Key";
|
|
367
|
+
readonly routeOwned: "模型路由由本插件提供";
|
|
368
|
+
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
|
|
369
|
+
readonly error: "操作失败:{detail}";
|
|
370
|
+
readonly saved: "已保存";
|
|
371
|
+
readonly keySection: "添加 API Key";
|
|
372
|
+
readonly keyHint: "在 OpenDesign Cloud 控制台的工作区(API Keys)创建 Key 后粘贴到此处。";
|
|
373
|
+
readonly keyConsoleLink: "打开 OpenDesign Cloud 控制台";
|
|
374
|
+
readonly keyPlaceholder: "粘贴 OpenDesign API Key";
|
|
375
|
+
readonly keyAliasLabel: "备注名(可选)";
|
|
376
|
+
readonly keyAliasPlaceholder: "例如:主号、备用号";
|
|
377
|
+
readonly keyAliasHint: "网关不返回账号信息,多个 Key 靠备注名区分。";
|
|
378
|
+
readonly keyBaseUrlLabel: "网关地址覆盖(可选)";
|
|
379
|
+
readonly keyBaseUrlPlaceholder: "默认 https://amr-link.open-design.ai/v1";
|
|
380
|
+
readonly keySave: "添加";
|
|
381
|
+
readonly keySaving: "添加中...";
|
|
382
|
+
readonly keyTest: "测试 Key";
|
|
383
|
+
readonly cancel: "取消";
|
|
384
|
+
readonly keyTesting: "测试中...";
|
|
385
|
+
readonly keyTestOk: "Key 可用({ms}ms,可见 {count} 个模型)";
|
|
386
|
+
readonly keyTestFailed: "Key 不可用:{detail}";
|
|
387
|
+
readonly testSavedKey: "测试";
|
|
388
|
+
readonly modelsSection: "模型";
|
|
389
|
+
readonly modelsHint: "模型目录来自随包内置列表;添加 Key 后自动同步一次该 Key 可见的实时目录,也可手动刷新。未勾选的模型不会出现在模型选择器中。";
|
|
390
|
+
readonly modelChecklistCount: "已选 {count} / 共 {total} 个模型";
|
|
391
|
+
readonly selectAll: "全选";
|
|
392
|
+
readonly unselectAll: "全不选";
|
|
393
|
+
readonly catalogSync: "刷新模型目录";
|
|
394
|
+
readonly catalogSyncing: "刷新中...";
|
|
395
|
+
readonly catalogNeverSynced: "尚未同步实时目录:当前显示的是随包内置列表。添加 Key 后会自动同步一次,或点右上角「刷新模型目录」。";
|
|
396
|
+
readonly catalogSyncedNote: "实时目录已同步 {count} 个模型。";
|
|
397
|
+
readonly noModels: "暂无可用模型。";
|
|
398
|
+
readonly pricingNote: "价格为官方公开价目(美元 / 每百万 token,输入 / 输出)。";
|
|
399
|
+
readonly contextSection: "上下文窗口";
|
|
400
|
+
readonly contextHint: "官方未公布各模型的上下文窗口:默认按 128k 处理,可在这里按模型修正。留空或保存无效值会提示错误;恢复默认会清掉覆盖值。";
|
|
401
|
+
readonly tokens: "tokens";
|
|
402
|
+
readonly contextSave: "保存";
|
|
403
|
+
readonly contextOverridden: "已覆盖";
|
|
404
|
+
readonly contextSaving: "保存中";
|
|
405
|
+
readonly contextReset: "恢复默认";
|
|
406
|
+
readonly contextResetAll: "全部恢复默认";
|
|
407
|
+
readonly contextEmpty: "勾选至少一个模型后,这里会出现它的上下文窗口设置。";
|
|
408
|
+
readonly advancedSection: "高级设置";
|
|
409
|
+
readonly baseURL: "默认网关地址";
|
|
410
|
+
readonly defaultContextWindow: "默认上下文窗口";
|
|
411
|
+
readonly defaultMaxTokens: "默认输出预算";
|
|
412
|
+
readonly maxConcurrentRequests: "每账号并发流上限(0 = 不限)";
|
|
413
|
+
readonly streamIdleTimeoutMs: "流空闲超时(ms)";
|
|
414
|
+
readonly saveSettings: "保存设置";
|
|
415
|
+
readonly savingSettings: "保存中...";
|
|
416
|
+
readonly limitsSection: "说明";
|
|
417
|
+
readonly usageSection: "钱包余额";
|
|
418
|
+
readonly usageHint: "余额属于账号。浏览器授权登录的账号带控制 Key,可直接读;粘贴的 API Key 没有控制 Key,请在控制台查看。刷新会为每个可读的 OAuth 账号各发一次请求。";
|
|
419
|
+
readonly usageRefresh: "刷新余额";
|
|
420
|
+
readonly usageRefreshing: "刷新中...";
|
|
421
|
+
readonly usageEmpty: "尚未读取余额。";
|
|
422
|
+
readonly usageUnavailable: "读不到余额:{detail}";
|
|
423
|
+
readonly usageBalance: "余额 ${amount}";
|
|
424
|
+
readonly usageReadAt: "读取于 {time}";
|
|
425
|
+
readonly limitKey: "凭据存储在系统加密凭据库中,界面从不显示 Key 本身。";
|
|
426
|
+
readonly limitGateway: "请求由 OpenDesign 网关服务,实际上游由网关决定。";
|
|
427
|
+
readonly limitRoute: "模型路由按 provider id 抢占:若已有其他插件占用 opendesign,本卡仍可配置,但请求由对方服务。";
|
|
428
|
+
readonly limitQuota: "余额读取只覆盖浏览器授权登录的账号;粘贴的 API Key 请在 OpenDesign Cloud 控制台查看用量。";
|
|
429
|
+
readonly accountPool: string;
|
|
430
|
+
readonly accountCount: string;
|
|
431
|
+
readonly primaryAccount: string;
|
|
432
|
+
readonly activeAccount: string;
|
|
433
|
+
readonly setPrimary: string;
|
|
434
|
+
readonly deleteAccount: string;
|
|
435
|
+
readonly cooling: string;
|
|
436
|
+
readonly cooldownLeft: string;
|
|
437
|
+
readonly cooldownRemaining: string;
|
|
438
|
+
readonly cooldownRemainingSeconds: string;
|
|
439
|
+
readonly modelCooldown: string;
|
|
440
|
+
readonly clearCooldown: string;
|
|
441
|
+
readonly rotationStrategy: string;
|
|
442
|
+
readonly strategySequential: string;
|
|
443
|
+
readonly strategyRoundRobin: string;
|
|
444
|
+
readonly strategySticky: string;
|
|
445
|
+
readonly email: string;
|
|
446
|
+
readonly expires: string;
|
|
447
|
+
readonly lastUsed: string;
|
|
448
|
+
readonly accountId: string;
|
|
449
|
+
readonly accountQuota: string;
|
|
450
|
+
readonly quotaNone: string;
|
|
451
|
+
readonly quotaSnapshot: string;
|
|
452
|
+
readonly quotaResets: string;
|
|
453
|
+
readonly quotaExhausted: string;
|
|
454
|
+
readonly quotaWindow: string;
|
|
455
|
+
readonly quotaUsed: string;
|
|
456
|
+
readonly quotaFactsScope: string;
|
|
457
|
+
readonly composerLabel: string;
|
|
458
|
+
};
|
|
459
|
+
en: {
|
|
460
|
+
readonly relogin: "Add again";
|
|
461
|
+
readonly needsRelogin: "Key invalid";
|
|
462
|
+
readonly addAccount: "Add API key";
|
|
463
|
+
readonly noAccounts: "No accounts yet. Click \"Add API key\" and paste a key created in the OpenDesign Cloud console.";
|
|
464
|
+
readonly title: "OpenDesign";
|
|
465
|
+
readonly pageDesc: "Connect an OpenDesign subscription: create an API key in the Cloud console and paste it here to call its model gateway on plan credits. Pooled accounts rotate automatically.";
|
|
466
|
+
readonly login: "Sign in to OpenDesign";
|
|
467
|
+
readonly loggingIn: "Signing in...";
|
|
468
|
+
readonly loginHint: "Open the activation page in your browser and confirm the code below; the account joins the pool automatically, with no key to paste.";
|
|
469
|
+
readonly loginCode: "Authorization code";
|
|
470
|
+
readonly loginOpen: "Open activation page";
|
|
471
|
+
readonly loginWaiting: "Waiting for browser confirmation…";
|
|
472
|
+
readonly loginCancel: "Cancel sign-in";
|
|
473
|
+
readonly loginIdle: "No sign-in started in this process yet.";
|
|
474
|
+
readonly loginHaveAccounts: "The pool already holds {count} usable account(s).";
|
|
475
|
+
readonly loginComplete: "Signed in as {account}";
|
|
476
|
+
readonly loginCompleteNoAccount: "The previous sign-in completed, but the pool currently holds no usable account.";
|
|
477
|
+
readonly loginFailed: "Sign-in failed: {detail}";
|
|
478
|
+
readonly useApiKey: "Add API key";
|
|
479
|
+
readonly oauthAccount: "Browser sign-in";
|
|
480
|
+
readonly apiKeyAccount: "API key";
|
|
481
|
+
readonly routeOwned: "Model route served by this plugin";
|
|
482
|
+
readonly routeConflict: "The model route is already owned by another provider: {detail}";
|
|
483
|
+
readonly error: "Action failed: {detail}";
|
|
484
|
+
readonly saved: "Saved";
|
|
485
|
+
readonly keySection: "Add an API key";
|
|
486
|
+
readonly keyHint: "Create a key in the OpenDesign Cloud console (workspace → API Keys) and paste it here.";
|
|
487
|
+
readonly keyConsoleLink: "Open the OpenDesign Cloud console";
|
|
488
|
+
readonly keyPlaceholder: "Paste an OpenDesign API key";
|
|
489
|
+
readonly keyAliasLabel: "Label (optional)";
|
|
490
|
+
readonly keyAliasPlaceholder: "e.g. primary, backup";
|
|
491
|
+
readonly keyAliasHint: "The gateway reports no account identity, so labels tell several keys apart.";
|
|
492
|
+
readonly keyBaseUrlLabel: "Gateway override (optional)";
|
|
493
|
+
readonly keyBaseUrlPlaceholder: "default: https://amr-link.open-design.ai/v1";
|
|
494
|
+
readonly keySave: "Add";
|
|
495
|
+
readonly keySaving: "Adding...";
|
|
496
|
+
readonly keyTest: "Test key";
|
|
497
|
+
readonly cancel: "Cancel";
|
|
498
|
+
readonly keyTesting: "Testing...";
|
|
499
|
+
readonly keyTestOk: "Key works ({ms}ms, {count} models visible)";
|
|
500
|
+
readonly keyTestFailed: "Key rejected: {detail}";
|
|
501
|
+
readonly testSavedKey: "Test";
|
|
502
|
+
readonly modelsSection: "Models";
|
|
503
|
+
readonly modelsHint: "The list starts from the bundled table; adding a key syncs the live catalog that key can see, and a manual refresh syncs it again. Unchecked models do not appear in the model picker.";
|
|
504
|
+
readonly modelChecklistCount: "{count} of {total} selected";
|
|
505
|
+
readonly selectAll: "Select all";
|
|
506
|
+
readonly unselectAll: "Clear all";
|
|
507
|
+
readonly catalogSync: "Refresh catalog";
|
|
508
|
+
readonly catalogSyncing: "Refreshing...";
|
|
509
|
+
readonly catalogNeverSynced: "The live catalog has not been synced yet, so the bundled table is listed. Adding a key syncs it once automatically; the refresh button syncs it again.";
|
|
510
|
+
readonly catalogSyncedNote: "Live catalog synced: {count} model(s).";
|
|
511
|
+
readonly noModels: "No models available.";
|
|
512
|
+
readonly pricingNote: "Prices are the official public list (USD per 1M tokens, input / output).";
|
|
513
|
+
readonly contextSection: "Context windows";
|
|
514
|
+
readonly contextHint: "The vendor publishes no per-model context windows, so models default to 128k; correct any model here. An invalid value is reported rather than saved; restoring clears the override.";
|
|
515
|
+
readonly tokens: "tokens";
|
|
516
|
+
readonly contextSave: "Save";
|
|
517
|
+
readonly contextOverridden: "overridden";
|
|
518
|
+
readonly contextSaving: "Saving";
|
|
519
|
+
readonly contextReset: "Restore default";
|
|
520
|
+
readonly contextResetAll: "Restore all defaults";
|
|
521
|
+
readonly contextEmpty: "Check at least one model to configure its context window here.";
|
|
522
|
+
readonly advancedSection: "Advanced";
|
|
523
|
+
readonly baseURL: "Default gateway";
|
|
524
|
+
readonly defaultContextWindow: "Default context window";
|
|
525
|
+
readonly defaultMaxTokens: "Default output budget";
|
|
526
|
+
readonly maxConcurrentRequests: "Streams per account (0 = unlimited)";
|
|
527
|
+
readonly streamIdleTimeoutMs: "Stream idle timeout (ms)";
|
|
528
|
+
readonly saveSettings: "Save settings";
|
|
529
|
+
readonly savingSettings: "Saving...";
|
|
530
|
+
readonly limitsSection: "Notes";
|
|
531
|
+
readonly usageSection: "Wallet balance";
|
|
532
|
+
readonly usageHint: "Balances belong to accounts. Browser-signed-in accounts carry a control key and can be read here; a pasted API key has none — check the console for it. Refreshing sends one request per readable OAuth account.";
|
|
533
|
+
readonly usageRefresh: "Refresh balance";
|
|
534
|
+
readonly usageRefreshing: "Refreshing...";
|
|
535
|
+
readonly usageEmpty: "No balance reading yet.";
|
|
536
|
+
readonly usageUnavailable: "Could not read the balance: {detail}";
|
|
537
|
+
readonly usageBalance: "Balance ${amount}";
|
|
538
|
+
readonly usageReadAt: "Read at {time}";
|
|
539
|
+
readonly limitKey: "API keys live in the OS credential store; the card never shows the key itself.";
|
|
540
|
+
readonly limitGateway: "Requests are served by the OpenDesign gateway, which chooses the actual upstream.";
|
|
541
|
+
readonly limitRoute: "The route is claimed by provider id: if another plugin already serves opendesign, this card still configures the line but that provider answers the requests.";
|
|
542
|
+
readonly limitQuota: "Balance reads cover browser-signed-in accounts only; for a pasted API key, see usage in the OpenDesign Cloud console.";
|
|
543
|
+
readonly accountPool: string;
|
|
544
|
+
readonly accountCount: string;
|
|
545
|
+
readonly primaryAccount: string;
|
|
546
|
+
readonly activeAccount: string;
|
|
547
|
+
readonly setPrimary: string;
|
|
548
|
+
readonly deleteAccount: string;
|
|
549
|
+
readonly cooling: string;
|
|
550
|
+
readonly cooldownLeft: string;
|
|
551
|
+
readonly cooldownRemaining: string;
|
|
552
|
+
readonly cooldownRemainingSeconds: string;
|
|
553
|
+
readonly modelCooldown: string;
|
|
554
|
+
readonly clearCooldown: string;
|
|
555
|
+
readonly rotationStrategy: string;
|
|
556
|
+
readonly strategySequential: string;
|
|
557
|
+
readonly strategyRoundRobin: string;
|
|
558
|
+
readonly strategySticky: string;
|
|
559
|
+
readonly email: string;
|
|
560
|
+
readonly expires: string;
|
|
561
|
+
readonly lastUsed: string;
|
|
562
|
+
readonly accountId: string;
|
|
563
|
+
readonly accountQuota: string;
|
|
564
|
+
readonly quotaNone: string;
|
|
565
|
+
readonly quotaSnapshot: string;
|
|
566
|
+
readonly quotaResets: string;
|
|
567
|
+
readonly quotaExhausted: string;
|
|
568
|
+
readonly quotaWindow: string;
|
|
569
|
+
readonly quotaUsed: string;
|
|
570
|
+
readonly quotaFactsScope: string;
|
|
571
|
+
readonly composerLabel: string;
|
|
572
|
+
};
|
|
573
|
+
'en-US': {
|
|
574
|
+
readonly relogin: "Add again";
|
|
575
|
+
readonly needsRelogin: "Key invalid";
|
|
576
|
+
readonly addAccount: "Add API key";
|
|
577
|
+
readonly noAccounts: "No accounts yet. Click \"Add API key\" and paste a key created in the OpenDesign Cloud console.";
|
|
578
|
+
readonly title: "OpenDesign";
|
|
579
|
+
readonly pageDesc: "Connect an OpenDesign subscription: create an API key in the Cloud console and paste it here to call its model gateway on plan credits. Pooled accounts rotate automatically.";
|
|
580
|
+
readonly login: "Sign in to OpenDesign";
|
|
581
|
+
readonly loggingIn: "Signing in...";
|
|
582
|
+
readonly loginHint: "Open the activation page in your browser and confirm the code below; the account joins the pool automatically, with no key to paste.";
|
|
583
|
+
readonly loginCode: "Authorization code";
|
|
584
|
+
readonly loginOpen: "Open activation page";
|
|
585
|
+
readonly loginWaiting: "Waiting for browser confirmation…";
|
|
586
|
+
readonly loginCancel: "Cancel sign-in";
|
|
587
|
+
readonly loginIdle: "No sign-in started in this process yet.";
|
|
588
|
+
readonly loginHaveAccounts: "The pool already holds {count} usable account(s).";
|
|
589
|
+
readonly loginComplete: "Signed in as {account}";
|
|
590
|
+
readonly loginCompleteNoAccount: "The previous sign-in completed, but the pool currently holds no usable account.";
|
|
591
|
+
readonly loginFailed: "Sign-in failed: {detail}";
|
|
592
|
+
readonly useApiKey: "Add API key";
|
|
593
|
+
readonly oauthAccount: "Browser sign-in";
|
|
594
|
+
readonly apiKeyAccount: "API key";
|
|
595
|
+
readonly routeOwned: "Model route served by this plugin";
|
|
596
|
+
readonly routeConflict: "The model route is already owned by another provider: {detail}";
|
|
597
|
+
readonly error: "Action failed: {detail}";
|
|
598
|
+
readonly saved: "Saved";
|
|
599
|
+
readonly keySection: "Add an API key";
|
|
600
|
+
readonly keyHint: "Create a key in the OpenDesign Cloud console (workspace → API Keys) and paste it here.";
|
|
601
|
+
readonly keyConsoleLink: "Open the OpenDesign Cloud console";
|
|
602
|
+
readonly keyPlaceholder: "Paste an OpenDesign API key";
|
|
603
|
+
readonly keyAliasLabel: "Label (optional)";
|
|
604
|
+
readonly keyAliasPlaceholder: "e.g. primary, backup";
|
|
605
|
+
readonly keyAliasHint: "The gateway reports no account identity, so labels tell several keys apart.";
|
|
606
|
+
readonly keyBaseUrlLabel: "Gateway override (optional)";
|
|
607
|
+
readonly keyBaseUrlPlaceholder: "default: https://amr-link.open-design.ai/v1";
|
|
608
|
+
readonly keySave: "Add";
|
|
609
|
+
readonly keySaving: "Adding...";
|
|
610
|
+
readonly keyTest: "Test key";
|
|
611
|
+
readonly cancel: "Cancel";
|
|
612
|
+
readonly keyTesting: "Testing...";
|
|
613
|
+
readonly keyTestOk: "Key works ({ms}ms, {count} models visible)";
|
|
614
|
+
readonly keyTestFailed: "Key rejected: {detail}";
|
|
615
|
+
readonly testSavedKey: "Test";
|
|
616
|
+
readonly modelsSection: "Models";
|
|
617
|
+
readonly modelsHint: "The list starts from the bundled table; adding a key syncs the live catalog that key can see, and a manual refresh syncs it again. Unchecked models do not appear in the model picker.";
|
|
618
|
+
readonly modelChecklistCount: "{count} of {total} selected";
|
|
619
|
+
readonly selectAll: "Select all";
|
|
620
|
+
readonly unselectAll: "Clear all";
|
|
621
|
+
readonly catalogSync: "Refresh catalog";
|
|
622
|
+
readonly catalogSyncing: "Refreshing...";
|
|
623
|
+
readonly catalogNeverSynced: "The live catalog has not been synced yet, so the bundled table is listed. Adding a key syncs it once automatically; the refresh button syncs it again.";
|
|
624
|
+
readonly catalogSyncedNote: "Live catalog synced: {count} model(s).";
|
|
625
|
+
readonly noModels: "No models available.";
|
|
626
|
+
readonly pricingNote: "Prices are the official public list (USD per 1M tokens, input / output).";
|
|
627
|
+
readonly contextSection: "Context windows";
|
|
628
|
+
readonly contextHint: "The vendor publishes no per-model context windows, so models default to 128k; correct any model here. An invalid value is reported rather than saved; restoring clears the override.";
|
|
629
|
+
readonly tokens: "tokens";
|
|
630
|
+
readonly contextSave: "Save";
|
|
631
|
+
readonly contextOverridden: "overridden";
|
|
632
|
+
readonly contextSaving: "Saving";
|
|
633
|
+
readonly contextReset: "Restore default";
|
|
634
|
+
readonly contextResetAll: "Restore all defaults";
|
|
635
|
+
readonly contextEmpty: "Check at least one model to configure its context window here.";
|
|
636
|
+
readonly advancedSection: "Advanced";
|
|
637
|
+
readonly baseURL: "Default gateway";
|
|
638
|
+
readonly defaultContextWindow: "Default context window";
|
|
639
|
+
readonly defaultMaxTokens: "Default output budget";
|
|
640
|
+
readonly maxConcurrentRequests: "Streams per account (0 = unlimited)";
|
|
641
|
+
readonly streamIdleTimeoutMs: "Stream idle timeout (ms)";
|
|
642
|
+
readonly saveSettings: "Save settings";
|
|
643
|
+
readonly savingSettings: "Saving...";
|
|
644
|
+
readonly limitsSection: "Notes";
|
|
645
|
+
readonly usageSection: "Wallet balance";
|
|
646
|
+
readonly usageHint: "Balances belong to accounts. Browser-signed-in accounts carry a control key and can be read here; a pasted API key has none — check the console for it. Refreshing sends one request per readable OAuth account.";
|
|
647
|
+
readonly usageRefresh: "Refresh balance";
|
|
648
|
+
readonly usageRefreshing: "Refreshing...";
|
|
649
|
+
readonly usageEmpty: "No balance reading yet.";
|
|
650
|
+
readonly usageUnavailable: "Could not read the balance: {detail}";
|
|
651
|
+
readonly usageBalance: "Balance ${amount}";
|
|
652
|
+
readonly usageReadAt: "Read at {time}";
|
|
653
|
+
readonly limitKey: "API keys live in the OS credential store; the card never shows the key itself.";
|
|
654
|
+
readonly limitGateway: "Requests are served by the OpenDesign gateway, which chooses the actual upstream.";
|
|
655
|
+
readonly limitRoute: "The route is claimed by provider id: if another plugin already serves opendesign, this card still configures the line but that provider answers the requests.";
|
|
656
|
+
readonly limitQuota: "Balance reads cover browser-signed-in accounts only; for a pasted API key, see usage in the OpenDesign Cloud console.";
|
|
657
|
+
readonly accountPool: string;
|
|
658
|
+
readonly accountCount: string;
|
|
659
|
+
readonly primaryAccount: string;
|
|
660
|
+
readonly activeAccount: string;
|
|
661
|
+
readonly setPrimary: string;
|
|
662
|
+
readonly deleteAccount: string;
|
|
663
|
+
readonly cooling: string;
|
|
664
|
+
readonly cooldownLeft: string;
|
|
665
|
+
readonly cooldownRemaining: string;
|
|
666
|
+
readonly cooldownRemainingSeconds: string;
|
|
667
|
+
readonly modelCooldown: string;
|
|
668
|
+
readonly clearCooldown: string;
|
|
669
|
+
readonly rotationStrategy: string;
|
|
670
|
+
readonly strategySequential: string;
|
|
671
|
+
readonly strategyRoundRobin: string;
|
|
672
|
+
readonly strategySticky: string;
|
|
673
|
+
readonly email: string;
|
|
674
|
+
readonly expires: string;
|
|
675
|
+
readonly lastUsed: string;
|
|
676
|
+
readonly accountId: string;
|
|
677
|
+
readonly accountQuota: string;
|
|
678
|
+
readonly quotaNone: string;
|
|
679
|
+
readonly quotaSnapshot: string;
|
|
680
|
+
readonly quotaResets: string;
|
|
681
|
+
readonly quotaExhausted: string;
|
|
682
|
+
readonly quotaWindow: string;
|
|
683
|
+
readonly quotaUsed: string;
|
|
684
|
+
readonly quotaFactsScope: string;
|
|
685
|
+
readonly composerLabel: string;
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
export type OpenDesignLocaleKey = keyof typeof zh;
|
|
689
|
+
//# sourceMappingURL=locales.d.ts.map
|