@eddyskywalker/dsh-chatgpt-subscription 0.38.0 → 0.39.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 +142 -1
- package/README.md +48 -11
- package/lib/client.js +805 -151
- package/lib/client.js.map +1 -1
- package/lib/index.js +2174 -700
- package/lib/types/client/CodexSubscriptionSection.d.ts +1 -1
- package/lib/types/client/CodexSubscriptionSection.d.ts.map +1 -1
- package/lib/types/client/api.d.ts +16 -1
- package/lib/types/client/api.d.ts.map +1 -1
- package/lib/types/client/cline-pass/ClinePassSection.d.ts.map +1 -1
- package/lib/types/client/cline-pass/api.d.ts +16 -1
- package/lib/types/client/cline-pass/api.d.ts.map +1 -1
- package/lib/types/client/cline-pass/locales.d.ts +144 -18
- package/lib/types/client/cline-pass/locales.d.ts.map +1 -1
- package/lib/types/client/cline-pass/styles.d.ts.map +1 -1
- package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +1 -1
- package/lib/types/client/kimi-code/locales.d.ts +8 -17
- package/lib/types/client/kimi-code/locales.d.ts.map +1 -1
- package/lib/types/client/locales-ru/cline-pass.d.ts.map +1 -1
- package/lib/types/client/locales-ru/hub.d.ts.map +1 -1
- package/lib/types/client/locales-ru/kimi-code.d.ts.map +1 -1
- package/lib/types/client/locales.d.ts +43 -1
- package/lib/types/client/locales.d.ts.map +1 -1
- package/lib/types/client/minimax-code/commands-contract.d.ts +14 -4
- package/lib/types/client/minimax-code/commands-contract.d.ts.map +1 -1
- package/lib/types/client/minimax-code/locales.d.ts +2 -2
- package/lib/types/client/progress-updates/settings-binding.d.ts +8 -1
- package/lib/types/client/progress-updates/settings-binding.d.ts.map +1 -1
- package/lib/types/client/progress-updates/settings-section.d.ts.map +1 -1
- package/lib/types/client/styles.d.ts.map +1 -1
- package/lib/types/compat.d.ts +33 -0
- package/lib/types/compat.d.ts.map +1 -1
- package/lib/types/host/agent-preset.d.ts +5 -0
- package/lib/types/host/agent-preset.d.ts.map +1 -1
- package/lib/types/host/antigravity/account-pool.d.ts.map +1 -1
- package/lib/types/host/antigravity/mapper.d.ts +0 -1
- package/lib/types/host/antigravity/mapper.d.ts.map +1 -1
- package/lib/types/host/antigravity/types.d.ts +1 -2
- package/lib/types/host/antigravity/types.d.ts.map +1 -1
- package/lib/types/host/claude/mapper.d.ts +5 -7
- package/lib/types/host/claude/mapper.d.ts.map +1 -1
- package/lib/types/host/claude/model-catalog.d.ts.map +1 -1
- package/lib/types/host/cline-pass/adapter.d.ts +1 -1
- package/lib/types/host/cline-pass/adapter.d.ts.map +1 -1
- package/lib/types/host/cline-pass/client.d.ts +16 -3
- package/lib/types/host/cline-pass/client.d.ts.map +1 -1
- package/lib/types/host/cline-pass/engine.d.ts +11 -3
- package/lib/types/host/cline-pass/engine.d.ts.map +1 -1
- package/lib/types/host/cline-pass/line.d.ts +1 -1
- package/lib/types/host/cline-pass/line.d.ts.map +1 -1
- package/lib/types/host/cline-pass/protocol.d.ts +18 -0
- package/lib/types/host/cline-pass/protocol.d.ts.map +1 -1
- package/lib/types/host/cline-pass/routes.d.ts +2 -0
- package/lib/types/host/cline-pass/routes.d.ts.map +1 -1
- package/lib/types/host/cline-pass/store.d.ts +2 -0
- package/lib/types/host/cline-pass/store.d.ts.map +1 -1
- package/lib/types/host/cline-pass/token-store.d.ts +11 -0
- package/lib/types/host/cline-pass/token-store.d.ts.map +1 -1
- package/lib/types/host/cline-pass/tools.d.ts.map +1 -1
- package/lib/types/host/cline-pass/types.d.ts +24 -2
- package/lib/types/host/cline-pass/types.d.ts.map +1 -1
- package/lib/types/host/codex-account-pool.d.ts +3 -0
- package/lib/types/host/codex-account-pool.d.ts.map +1 -1
- package/lib/types/host/common/account-pool.d.ts +59 -5
- package/lib/types/host/common/account-pool.d.ts.map +1 -1
- package/lib/types/host/common/credential-read-cache.d.ts +11 -1
- package/lib/types/host/common/credential-read-cache.d.ts.map +1 -1
- package/lib/types/host/common/credentials-compat.d.ts +73 -0
- package/lib/types/host/common/credentials-compat.d.ts.map +1 -0
- package/lib/types/host/common/pool-storage-settings.d.ts +41 -0
- package/lib/types/host/common/pool-storage-settings.d.ts.map +1 -0
- package/lib/types/host/common/pool-storage.d.ts +143 -0
- package/lib/types/host/common/pool-storage.d.ts.map +1 -0
- package/lib/types/host/credential-store-secret-service.d.ts +27 -0
- package/lib/types/host/credential-store-secret-service.d.ts.map +1 -1
- package/lib/types/host/kimi-code/adapter.d.ts.map +1 -1
- package/lib/types/host/kimi-code/cache-hint.d.ts +29 -15
- package/lib/types/host/kimi-code/cache-hint.d.ts.map +1 -1
- package/lib/types/host/kimi-code/mapper.d.ts +34 -31
- package/lib/types/host/kimi-code/mapper.d.ts.map +1 -1
- package/lib/types/host/kimi-code/model-catalog.d.ts +32 -0
- package/lib/types/host/kimi-code/model-catalog.d.ts.map +1 -1
- package/lib/types/host/kimi-code/routes.d.ts.map +1 -1
- package/lib/types/host/kimi-code/token-store.d.ts +1 -11
- package/lib/types/host/kimi-code/token-store.d.ts.map +1 -1
- package/lib/types/host/kimi-code/types.d.ts +38 -14
- package/lib/types/host/kimi-code/types.d.ts.map +1 -1
- package/lib/types/host/oauth-service.d.ts +83 -1
- package/lib/types/host/oauth-service.d.ts.map +1 -1
- package/lib/types/host/preset-sync.d.ts +2 -2
- package/lib/types/host/preset-sync.d.ts.map +1 -1
- package/lib/types/host/qoder/account-pool.d.ts +4 -0
- package/lib/types/host/qoder/account-pool.d.ts.map +1 -1
- package/lib/types/host/qoder/client.d.ts +24 -2
- package/lib/types/host/qoder/client.d.ts.map +1 -1
- package/lib/types/host/qoder/oauth.d.ts +17 -0
- package/lib/types/host/qoder/oauth.d.ts.map +1 -1
- package/lib/types/host/qoder/routes.d.ts.map +1 -1
- package/lib/types/host/routes.d.ts +10 -0
- package/lib/types/host/routes.d.ts.map +1 -1
- package/lib/types/host/subagent-model-authorization.d.ts +20 -5
- package/lib/types/host/subagent-model-authorization.d.ts.map +1 -1
- package/lib/types/host/token-store-linux.d.ts.map +1 -1
- package/lib/types/host/token-store.d.ts +16 -0
- package/lib/types/host/token-store.d.ts.map +1 -1
- package/lib/types/index.d.ts +26 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/cline-pass-contracts.d.ts +48 -2
- package/lib/types/shared/cline-pass-contracts.d.ts.map +1 -1
- package/lib/types/shared/contracts.d.ts +86 -0
- package/lib/types/shared/contracts.d.ts.map +1 -1
- package/lib/types/shared/kimi-code-contracts.d.ts +0 -16
- package/lib/types/shared/kimi-code-contracts.d.ts.map +1 -1
- package/package.json +37 -37
- package/presets/dispatch/agent.cordis.yml +25 -11
|
@@ -2,7 +2,7 @@ import type { PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots
|
|
|
2
2
|
import type { PluginStatusDto, QuotaWindowDto } from '../shared/contracts.ts';
|
|
3
3
|
import { NS } from './locales.ts';
|
|
4
4
|
type Props = PropsRuntime<'settings.section'> & PropsLocale<typeof NS>;
|
|
5
|
-
type BusyAction = 'login' | 'token' | 'quota' | 'reset-credit' | 'test' | 'logout' | 'preferences' | 'set-primary' | 'delete' | 'clear-cooldown' | 'strategy' | 'adopt' | 'adopt-disable' | null;
|
|
5
|
+
type BusyAction = 'login' | 'device-login' | 'token' | 'quota' | 'reset-credit' | 'test' | 'logout' | 'preferences' | 'set-primary' | 'delete' | 'clear-cooldown' | 'strategy' | 'adopt' | 'adopt-disable' | 'storage' | null;
|
|
6
6
|
type Translate = Props['t'];
|
|
7
7
|
export declare function CodexSubscriptionSection({ t }: Props): React.JSX.Element;
|
|
8
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodexSubscriptionSection.d.ts","sourceRoot":"","sources":["../../../src/client/CodexSubscriptionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"CodexSubscription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AC,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAUzN;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,cAAc,CAAC;IAAC,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAczH;AAMD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAYpF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAOlE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,gBAAgB,SAA4B,GAAG,MAAM,GAAG,IAAI,CAGxG;AA0FD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,CAgBtE"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import type { LoginEventDto, LoginStartDto, PluginStatusDto, QuotaStatusDto, ConnectionTestDto, SubscriptionPreferencesDto, SubscriptionPreferencesUpdateDto } from '../shared/contracts.ts';
|
|
1
|
+
import type { DeviceLoginStartDto, LoginEventDto, LoginStartDto, PluginStatusDto, QuotaStatusDto, ConnectionTestDto, SubscriptionPreferencesDto, SubscriptionPreferencesUpdateDto } from '../shared/contracts.ts';
|
|
2
2
|
export declare class SubscriptionApi {
|
|
3
3
|
status(): Promise<PluginStatusDto>;
|
|
4
4
|
startLogin(): Promise<LoginStartDto>;
|
|
5
|
+
/**
|
|
6
|
+
* Start a device-code sign-in instead of the browser callback.
|
|
7
|
+
*
|
|
8
|
+
* The answer already carries what the panel shows — the code, the page, the
|
|
9
|
+
* deadline — so the card does not have to ask the status route for it, and the
|
|
10
|
+
* wait for confirmation arrives on the same event stream as any other login.
|
|
11
|
+
*/
|
|
12
|
+
startDeviceLogin(): Promise<DeviceLoginStartDto>;
|
|
5
13
|
cancelLogin(loginId: string): Promise<{
|
|
6
14
|
cancelled: boolean;
|
|
7
15
|
}>;
|
|
@@ -32,6 +40,13 @@ export declare class SubscriptionApi {
|
|
|
32
40
|
adoptLocalLogin(source: 'codex'): Promise<PluginStatusDto>;
|
|
33
41
|
/** Forget every imported snapshot. The CLIs' own files are never touched. */
|
|
34
42
|
disableAdoptedLocalLogins(): Promise<PluginStatusDto>;
|
|
43
|
+
/**
|
|
44
|
+
* Choose the account-pool store, answering with the refreshed status.
|
|
45
|
+
*
|
|
46
|
+
* The host persists the choice before resolving again, so the status that comes
|
|
47
|
+
* back already names the store the pools will read and write from here on.
|
|
48
|
+
*/
|
|
49
|
+
setPoolStorage(mode: 'keyring' | 'credentials'): Promise<PluginStatusDto>;
|
|
35
50
|
refresh(): Promise<PluginStatusDto>;
|
|
36
51
|
refreshQuota(): Promise<QuotaStatusDto>;
|
|
37
52
|
useResetCredit(): Promise<QuotaStatusDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/client/api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,aAAa,EACb,aAAa,EACb,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,0BAA0B,EAC1B,gCAAgC,EACjC,MAAM,wBAAwB,CAAA;AAE/B,qBAAa,eAAe;IAC1B,MAAM,IAAI,OAAO,CAAC,eAAe,CAAC;IAIlC,UAAU,IAAI,OAAO,CAAC,aAAa,CAAC;IAIpC,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC;IAI7D,kEAAkE;IAClE,MAAM,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,aAAa,EAAE,KAAK,CAAA;KAAE,CAAC;IAI7D;;;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x"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ClinePassSection.d.ts","sourceRoot":"","sources":["../../../../src/client/cline-pass/ClinePassSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAkChF,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAmDD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAm6BjE"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { type ClinePassAccountAction, type ClinePassAuthResult, type ClinePassHistoryRowDto, type ClinePassLoginFlowDto, type ClinePassProbeResultDto, type ClinePassSettingsUpdateDto, type ClinePassTestResultDto, type ClinePassUsageDto, type ClinePassValidateResultDto, type ClinePassWebStatus } from '../../shared/cline-pass-contracts.ts';
|
|
1
|
+
import { type ClinePassAccountAction, type ClinePassAuthResult, type ClinePassCatalogAddResultDto, type ClinePassCatalogSearchItemDto, type ClinePassHistoryRowDto, type ClinePassLoginFlowDto, type ClinePassProbeResultDto, type ClinePassSettingsUpdateDto, type ClinePassTestResultDto, type ClinePassUsageDto, type ClinePassValidateResultDto, type ClinePassWebStatus } from '../../shared/cline-pass-contracts.ts';
|
|
2
|
+
/** One gateway-catalog search hit, as the card renders it. */
|
|
3
|
+
export type ClinePassCatalogSearchItem = ClinePassCatalogSearchItemDto;
|
|
2
4
|
/** What one pin write answers with. */
|
|
3
5
|
export interface ClinePassPinResult {
|
|
4
6
|
pin: {
|
|
@@ -6,6 +8,7 @@ export interface ClinePassPinResult {
|
|
|
6
8
|
exclude: string[];
|
|
7
9
|
pinMode: 'strict' | 'preferred';
|
|
8
10
|
sort: string;
|
|
11
|
+
has: string[];
|
|
9
12
|
};
|
|
10
13
|
warnings: string[];
|
|
11
14
|
status: ClinePassWebStatus;
|
|
@@ -66,6 +69,7 @@ export declare class ClinePassApi {
|
|
|
66
69
|
exclude?: string[];
|
|
67
70
|
pinMode?: string;
|
|
68
71
|
sort?: string;
|
|
72
|
+
has?: string[];
|
|
69
73
|
}): Promise<ClinePassPinResult>;
|
|
70
74
|
resetPin(model: string): Promise<{
|
|
71
75
|
status: ClinePassWebStatus;
|
|
@@ -81,6 +85,7 @@ export declare class ClinePassApi {
|
|
|
81
85
|
test(model: string, pin?: {
|
|
82
86
|
upstreams?: string[];
|
|
83
87
|
exclude?: string[];
|
|
88
|
+
has?: string[];
|
|
84
89
|
}): Promise<{
|
|
85
90
|
result: ClinePassTestResultDto;
|
|
86
91
|
status: ClinePassWebStatus;
|
|
@@ -92,6 +97,16 @@ export declare class ClinePassApi {
|
|
|
92
97
|
sources: string[];
|
|
93
98
|
status: ClinePassWebStatus;
|
|
94
99
|
}>;
|
|
100
|
+
searchCatalog(query: string): Promise<{
|
|
101
|
+
results: ClinePassCatalogSearchItem[];
|
|
102
|
+
}>;
|
|
103
|
+
/**
|
|
104
|
+
* Add one search hit.
|
|
105
|
+
*
|
|
106
|
+
* A marketplace id is billed against the Cline Credits balance, so the host
|
|
107
|
+
* refuses it until the caller acknowledges that (`acknowledgeBilling`).
|
|
108
|
+
*/
|
|
109
|
+
addCatalogModel(model: string, acknowledgeBilling?: boolean): Promise<ClinePassCatalogAddResultDto>;
|
|
95
110
|
readUsage(): Promise<{
|
|
96
111
|
usage: ClinePassUsageDto;
|
|
97
112
|
status: ClinePassWebStatus;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/client/cline-pass/api.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,sBAAs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,EAAE,MAAM,EAAE,kBAAkB,UAAQ,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAIjG,SAAS,IAAI,OAAO,CAAC;QAAE,KAAK,EAAE,iBAAiB,CAAC;QAAC,MAAM,EAAE,kBAAkB,CAAA;KAAE,CAAC;IAI9E,OAAO,CAAC,KAAK,SAAK,EAAE,KAAK,SAAK,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,sBAAsB,EAAE,CAAA;KAAE,CAAC;CAI/F"}
|
|
@@ -42,7 +42,7 @@ export declare const zh: {
|
|
|
42
42
|
readonly keyTestFailed: "Key 不可用:{detail}";
|
|
43
43
|
readonly testSavedKey: "测试";
|
|
44
44
|
readonly modelsSection: "模型";
|
|
45
|
-
readonly modelsHint: "
|
|
45
|
+
readonly modelsHint: "只列出随包内置模型、官方订阅目录和手动添加的模型;首次使用前先刷新一次。其他网关模型在下方按需搜索添加,未勾选的模型不会出现在模型选择器中。";
|
|
46
46
|
readonly modelCount: "{count} 个模型";
|
|
47
47
|
readonly modelChecklistCount: "已选 {count} / 共 {total} 个模型";
|
|
48
48
|
readonly selectAll: "全选";
|
|
@@ -53,6 +53,17 @@ export declare const zh: {
|
|
|
53
53
|
readonly catalogEmpty: "官方目录没有返回任何模型。";
|
|
54
54
|
readonly noModels: "暂无可用模型。";
|
|
55
55
|
readonly catalogSources: "目录来源:{sources}";
|
|
56
|
+
readonly catalogSearch: "搜索";
|
|
57
|
+
readonly catalogSearching: "搜索中…";
|
|
58
|
+
readonly catalogSearchPlaceholder: "搜索网关目录中的模型 id…";
|
|
59
|
+
readonly catalogSearchHint: "搜索结果只用于选择添加,不会把整个网关目录列出来。标「Cline Credits」的是 marketplace 模型,按 credits 计费,不占订阅额度。";
|
|
60
|
+
readonly catalogSearchEmpty: "没有匹配的网关模型。";
|
|
61
|
+
readonly catalogAdd: "添加";
|
|
62
|
+
readonly catalogAdded: "已添加";
|
|
63
|
+
readonly catalogBillingSubscription: "订阅额度";
|
|
64
|
+
readonly catalogBillingCredits: "Cline Credits";
|
|
65
|
+
readonly catalogCreditsWarning: "marketplace 模型,按 Cline Credits 计费,不占用 Cline Pass 订阅额度;余额不足会返回 402。";
|
|
66
|
+
readonly catalogAddCredits: "确认按 credits 添加";
|
|
56
67
|
readonly contextSection: "上下文窗口";
|
|
57
68
|
readonly contextHint: "只对勾选的模型显示。留空或保存无效值会提示错误;恢复默认会清掉覆盖值。";
|
|
58
69
|
readonly tokens: "tokens";
|
|
@@ -87,6 +98,18 @@ export declare const zh: {
|
|
|
87
98
|
readonly noChannels: "尚未探测渠道。点「探测」获取这个模型的可用上游。";
|
|
88
99
|
readonly channelHint: "点击渠道名按顺序钉住;再次点击移除。⊘ 切换排除。";
|
|
89
100
|
readonly lastServed: "最近由 {provider} 服务({ms}ms)";
|
|
101
|
+
readonly anonymousChannel: "匿名路由";
|
|
102
|
+
readonly anonymousChannelHint: "网关的匿名贡献者路由:回答可能被用于训练,无零数据保留(ZDR)保证";
|
|
103
|
+
readonly anonymousServed: "注意:本次回答来自网关的匿名贡献者路由({provider}),可能被用于训练且无 ZDR 保证";
|
|
104
|
+
readonly fingerprintOk: "第一方 DeepSeek 指纹:{fingerprint}";
|
|
105
|
+
readonly pinLikelyIgnored: "该模型当前只发现匿名路由,钉选很可能被网关静默忽略";
|
|
106
|
+
readonly addChannel: "添加";
|
|
107
|
+
readonly manualChannelPlaceholder: "手动输入渠道名(如 deepseek)…";
|
|
108
|
+
readonly manualChannelHint: "探测依赖网关报错列出渠道;当网关把模型改指匿名路由时探测拿不到列表。渠道名是网关级词汇(其他模型探测到的可直接选用),手动钉选后请用「测试」回读验证是否被采纳。";
|
|
109
|
+
readonly hasLabel: "能力过滤 (has)";
|
|
110
|
+
readonly hasHint: "Vercel 网关的模型能力过滤,只写进 providerOptions.gateway.has。1017 默认 vision + implicit-caching(实测是钉选与渠道探测生效的必要条件);其他模型通常留空。";
|
|
111
|
+
readonly pinHas: "能力过滤:{list}";
|
|
112
|
+
readonly testHas: "本次能力过滤:{list}";
|
|
90
113
|
readonly probedAt: "探测于 {time}";
|
|
91
114
|
readonly pipeline: "管线:{pipeline}";
|
|
92
115
|
readonly notPinnable: "该模型当前不支持钉住";
|
|
@@ -122,8 +145,6 @@ export declare const zh: {
|
|
|
122
145
|
readonly maxConcurrentRequests: "每账号并发流上限(0 = 不限)";
|
|
123
146
|
readonly streamIdleTimeoutMs: "流空闲超时(ms)";
|
|
124
147
|
readonly historyLimit: "历史保留条数";
|
|
125
|
-
readonly exposeCatalog: "在模型选择器中列出网关目录的额外模型";
|
|
126
|
-
readonly exposeCatalogHint: "关闭时只列出官方订阅目录与随包内置模型。";
|
|
127
148
|
readonly pinSpelling: "钉住字段写法";
|
|
128
149
|
readonly pinSpellingBoth: "两种写法都发(推荐)";
|
|
129
150
|
readonly pinSpellingDetected: "只发探测到的写法";
|
|
@@ -211,7 +232,7 @@ export declare const en: {
|
|
|
211
232
|
readonly keyTestFailed: "Key rejected: {detail}";
|
|
212
233
|
readonly testSavedKey: "Test";
|
|
213
234
|
readonly modelsSection: "Models";
|
|
214
|
-
readonly modelsHint: "
|
|
235
|
+
readonly modelsHint: "Only bundled models, the official subscription catalog, and manually added models are listed; sync once before first use. Search below to add any other gateway model on demand. Unchecked models do not appear in the model picker.";
|
|
215
236
|
readonly modelCount: "{count} model(s)";
|
|
216
237
|
readonly modelChecklistCount: "{count} of {total} selected";
|
|
217
238
|
readonly selectAll: "Select all";
|
|
@@ -222,6 +243,17 @@ export declare const en: {
|
|
|
222
243
|
readonly catalogEmpty: "The official catalog returned no models.";
|
|
223
244
|
readonly noModels: "No models available.";
|
|
224
245
|
readonly catalogSources: "Catalog sources: {sources}";
|
|
246
|
+
readonly catalogSearch: "Search";
|
|
247
|
+
readonly catalogSearching: "Searching…";
|
|
248
|
+
readonly catalogSearchPlaceholder: "Search the gateway catalog by model id…";
|
|
249
|
+
readonly catalogSearchHint: "Search results are only candidates to add; the full gateway catalog is never dumped into this page. A \"Cline Credits\" hit is a marketplace model billed against the credits balance, not the plan quota.";
|
|
250
|
+
readonly catalogSearchEmpty: "No matching gateway models.";
|
|
251
|
+
readonly catalogAdd: "Add";
|
|
252
|
+
readonly catalogAdded: "Added";
|
|
253
|
+
readonly catalogBillingSubscription: "Subscription";
|
|
254
|
+
readonly catalogBillingCredits: "Cline Credits";
|
|
255
|
+
readonly catalogCreditsWarning: "Marketplace model billed against the Cline Credits balance, not the Cline Pass plan; an empty balance answers 402.";
|
|
256
|
+
readonly catalogAddCredits: "Add and bill credits";
|
|
225
257
|
readonly contextSection: "Context windows";
|
|
226
258
|
readonly contextHint: "Shown for checked models only. An invalid value is reported rather than saved; restoring clears the override.";
|
|
227
259
|
readonly tokens: "tokens";
|
|
@@ -256,6 +288,18 @@ export declare const en: {
|
|
|
256
288
|
readonly noChannels: "No channels discovered yet. Use \"Probe\" to read the model upstream list.";
|
|
257
289
|
readonly channelHint: "Click a channel to add it to the pin order; click again to remove. ⊘ toggles exclusion.";
|
|
258
290
|
readonly lastServed: "Last served by {provider} ({ms}ms)";
|
|
291
|
+
readonly anonymousChannel: "anonymous route";
|
|
292
|
+
readonly anonymousChannelHint: "The gateway's anonymous contributor route: answers may be used for training, with no zero-data-retention guarantee";
|
|
293
|
+
readonly anonymousServed: "Note: this answer was served by the gateway's anonymous contributor route ({provider}) — it may be used for training and carries no ZDR guarantee";
|
|
294
|
+
readonly fingerprintOk: "First-party DeepSeek fingerprint: {fingerprint}";
|
|
295
|
+
readonly pinLikelyIgnored: "Only the anonymous route has been discovered for this model, so a pin will most likely be silently ignored by the gateway";
|
|
296
|
+
readonly addChannel: "Add";
|
|
297
|
+
readonly manualChannelPlaceholder: "type a channel name (e.g. deepseek)…";
|
|
298
|
+
readonly manualChannelHint: "Discovery relies on the gateway naming its channels in an error; a model redirected to the anonymous route yields no list. Channel names are a gateway-wide vocabulary (anything another model discovered is offered), so pin by name anyway and verify with Test.";
|
|
299
|
+
readonly hasLabel: "Capability filter (has)";
|
|
300
|
+
readonly hasHint: "Vercel gateway capability filter, written only to providerOptions.gateway.has. The 1017 default is vision + implicit-caching (measured as required for pinning and discovery); leave empty for other models unless a probe says otherwise.";
|
|
301
|
+
readonly pinHas: "Capabilities: {list}";
|
|
302
|
+
readonly testHas: "Capabilities sent: {list}";
|
|
259
303
|
readonly probedAt: "Probed {time}";
|
|
260
304
|
readonly pipeline: "Pipeline: {pipeline}";
|
|
261
305
|
readonly notPinnable: "This model is not pinnable right now";
|
|
@@ -291,8 +335,6 @@ export declare const en: {
|
|
|
291
335
|
readonly maxConcurrentRequests: "Streams per account (0 = unlimited)";
|
|
292
336
|
readonly streamIdleTimeoutMs: "Stream idle timeout (ms)";
|
|
293
337
|
readonly historyLimit: "History rows retained";
|
|
294
|
-
readonly exposeCatalog: "List extra models from the gateway catalog";
|
|
295
|
-
readonly exposeCatalogHint: "When off, only the official subscription catalog and the bundled table are listed.";
|
|
296
338
|
readonly pinSpelling: "Pin field spelling";
|
|
297
339
|
readonly pinSpellingBoth: "Write both spellings (recommended)";
|
|
298
340
|
readonly pinSpellingDetected: "Write only the probed spelling";
|
|
@@ -381,7 +423,7 @@ export declare const dictionaries: {
|
|
|
381
423
|
readonly keyTestFailed: "Key 不可用:{detail}";
|
|
382
424
|
readonly testSavedKey: "测试";
|
|
383
425
|
readonly modelsSection: "模型";
|
|
384
|
-
readonly modelsHint: "
|
|
426
|
+
readonly modelsHint: "只列出随包内置模型、官方订阅目录和手动添加的模型;首次使用前先刷新一次。其他网关模型在下方按需搜索添加,未勾选的模型不会出现在模型选择器中。";
|
|
385
427
|
readonly modelCount: "{count} 个模型";
|
|
386
428
|
readonly modelChecklistCount: "已选 {count} / 共 {total} 个模型";
|
|
387
429
|
readonly selectAll: "全选";
|
|
@@ -392,6 +434,17 @@ export declare const dictionaries: {
|
|
|
392
434
|
readonly catalogEmpty: "官方目录没有返回任何模型。";
|
|
393
435
|
readonly noModels: "暂无可用模型。";
|
|
394
436
|
readonly catalogSources: "目录来源:{sources}";
|
|
437
|
+
readonly catalogSearch: "搜索";
|
|
438
|
+
readonly catalogSearching: "搜索中…";
|
|
439
|
+
readonly catalogSearchPlaceholder: "搜索网关目录中的模型 id…";
|
|
440
|
+
readonly catalogSearchHint: "搜索结果只用于选择添加,不会把整个网关目录列出来。标「Cline Credits」的是 marketplace 模型,按 credits 计费,不占订阅额度。";
|
|
441
|
+
readonly catalogSearchEmpty: "没有匹配的网关模型。";
|
|
442
|
+
readonly catalogAdd: "添加";
|
|
443
|
+
readonly catalogAdded: "已添加";
|
|
444
|
+
readonly catalogBillingSubscription: "订阅额度";
|
|
445
|
+
readonly catalogBillingCredits: "Cline Credits";
|
|
446
|
+
readonly catalogCreditsWarning: "marketplace 模型,按 Cline Credits 计费,不占用 Cline Pass 订阅额度;余额不足会返回 402。";
|
|
447
|
+
readonly catalogAddCredits: "确认按 credits 添加";
|
|
395
448
|
readonly contextSection: "上下文窗口";
|
|
396
449
|
readonly contextHint: "只对勾选的模型显示。留空或保存无效值会提示错误;恢复默认会清掉覆盖值。";
|
|
397
450
|
readonly tokens: "tokens";
|
|
@@ -426,6 +479,18 @@ export declare const dictionaries: {
|
|
|
426
479
|
readonly noChannels: "尚未探测渠道。点「探测」获取这个模型的可用上游。";
|
|
427
480
|
readonly channelHint: "点击渠道名按顺序钉住;再次点击移除。⊘ 切换排除。";
|
|
428
481
|
readonly lastServed: "最近由 {provider} 服务({ms}ms)";
|
|
482
|
+
readonly anonymousChannel: "匿名路由";
|
|
483
|
+
readonly anonymousChannelHint: "网关的匿名贡献者路由:回答可能被用于训练,无零数据保留(ZDR)保证";
|
|
484
|
+
readonly anonymousServed: "注意:本次回答来自网关的匿名贡献者路由({provider}),可能被用于训练且无 ZDR 保证";
|
|
485
|
+
readonly fingerprintOk: "第一方 DeepSeek 指纹:{fingerprint}";
|
|
486
|
+
readonly pinLikelyIgnored: "该模型当前只发现匿名路由,钉选很可能被网关静默忽略";
|
|
487
|
+
readonly addChannel: "添加";
|
|
488
|
+
readonly manualChannelPlaceholder: "手动输入渠道名(如 deepseek)…";
|
|
489
|
+
readonly manualChannelHint: "探测依赖网关报错列出渠道;当网关把模型改指匿名路由时探测拿不到列表。渠道名是网关级词汇(其他模型探测到的可直接选用),手动钉选后请用「测试」回读验证是否被采纳。";
|
|
490
|
+
readonly hasLabel: "能力过滤 (has)";
|
|
491
|
+
readonly hasHint: "Vercel 网关的模型能力过滤,只写进 providerOptions.gateway.has。1017 默认 vision + implicit-caching(实测是钉选与渠道探测生效的必要条件);其他模型通常留空。";
|
|
492
|
+
readonly pinHas: "能力过滤:{list}";
|
|
493
|
+
readonly testHas: "本次能力过滤:{list}";
|
|
429
494
|
readonly probedAt: "探测于 {time}";
|
|
430
495
|
readonly pipeline: "管线:{pipeline}";
|
|
431
496
|
readonly notPinnable: "该模型当前不支持钉住";
|
|
@@ -461,8 +526,6 @@ export declare const dictionaries: {
|
|
|
461
526
|
readonly maxConcurrentRequests: "每账号并发流上限(0 = 不限)";
|
|
462
527
|
readonly streamIdleTimeoutMs: "流空闲超时(ms)";
|
|
463
528
|
readonly historyLimit: "历史保留条数";
|
|
464
|
-
readonly exposeCatalog: "在模型选择器中列出网关目录的额外模型";
|
|
465
|
-
readonly exposeCatalogHint: "关闭时只列出官方订阅目录与随包内置模型。";
|
|
466
529
|
readonly pinSpelling: "钉住字段写法";
|
|
467
530
|
readonly pinSpellingBoth: "两种写法都发(推荐)";
|
|
468
531
|
readonly pinSpellingDetected: "只发探测到的写法";
|
|
@@ -550,7 +613,7 @@ export declare const dictionaries: {
|
|
|
550
613
|
readonly keyTestFailed: "Key 不可用:{detail}";
|
|
551
614
|
readonly testSavedKey: "测试";
|
|
552
615
|
readonly modelsSection: "模型";
|
|
553
|
-
readonly modelsHint: "
|
|
616
|
+
readonly modelsHint: "只列出随包内置模型、官方订阅目录和手动添加的模型;首次使用前先刷新一次。其他网关模型在下方按需搜索添加,未勾选的模型不会出现在模型选择器中。";
|
|
554
617
|
readonly modelCount: "{count} 个模型";
|
|
555
618
|
readonly modelChecklistCount: "已选 {count} / 共 {total} 个模型";
|
|
556
619
|
readonly selectAll: "全选";
|
|
@@ -561,6 +624,17 @@ export declare const dictionaries: {
|
|
|
561
624
|
readonly catalogEmpty: "官方目录没有返回任何模型。";
|
|
562
625
|
readonly noModels: "暂无可用模型。";
|
|
563
626
|
readonly catalogSources: "目录来源:{sources}";
|
|
627
|
+
readonly catalogSearch: "搜索";
|
|
628
|
+
readonly catalogSearching: "搜索中…";
|
|
629
|
+
readonly catalogSearchPlaceholder: "搜索网关目录中的模型 id…";
|
|
630
|
+
readonly catalogSearchHint: "搜索结果只用于选择添加,不会把整个网关目录列出来。标「Cline Credits」的是 marketplace 模型,按 credits 计费,不占订阅额度。";
|
|
631
|
+
readonly catalogSearchEmpty: "没有匹配的网关模型。";
|
|
632
|
+
readonly catalogAdd: "添加";
|
|
633
|
+
readonly catalogAdded: "已添加";
|
|
634
|
+
readonly catalogBillingSubscription: "订阅额度";
|
|
635
|
+
readonly catalogBillingCredits: "Cline Credits";
|
|
636
|
+
readonly catalogCreditsWarning: "marketplace 模型,按 Cline Credits 计费,不占用 Cline Pass 订阅额度;余额不足会返回 402。";
|
|
637
|
+
readonly catalogAddCredits: "确认按 credits 添加";
|
|
564
638
|
readonly contextSection: "上下文窗口";
|
|
565
639
|
readonly contextHint: "只对勾选的模型显示。留空或保存无效值会提示错误;恢复默认会清掉覆盖值。";
|
|
566
640
|
readonly tokens: "tokens";
|
|
@@ -595,6 +669,18 @@ export declare const dictionaries: {
|
|
|
595
669
|
readonly noChannels: "尚未探测渠道。点「探测」获取这个模型的可用上游。";
|
|
596
670
|
readonly channelHint: "点击渠道名按顺序钉住;再次点击移除。⊘ 切换排除。";
|
|
597
671
|
readonly lastServed: "最近由 {provider} 服务({ms}ms)";
|
|
672
|
+
readonly anonymousChannel: "匿名路由";
|
|
673
|
+
readonly anonymousChannelHint: "网关的匿名贡献者路由:回答可能被用于训练,无零数据保留(ZDR)保证";
|
|
674
|
+
readonly anonymousServed: "注意:本次回答来自网关的匿名贡献者路由({provider}),可能被用于训练且无 ZDR 保证";
|
|
675
|
+
readonly fingerprintOk: "第一方 DeepSeek 指纹:{fingerprint}";
|
|
676
|
+
readonly pinLikelyIgnored: "该模型当前只发现匿名路由,钉选很可能被网关静默忽略";
|
|
677
|
+
readonly addChannel: "添加";
|
|
678
|
+
readonly manualChannelPlaceholder: "手动输入渠道名(如 deepseek)…";
|
|
679
|
+
readonly manualChannelHint: "探测依赖网关报错列出渠道;当网关把模型改指匿名路由时探测拿不到列表。渠道名是网关级词汇(其他模型探测到的可直接选用),手动钉选后请用「测试」回读验证是否被采纳。";
|
|
680
|
+
readonly hasLabel: "能力过滤 (has)";
|
|
681
|
+
readonly hasHint: "Vercel 网关的模型能力过滤,只写进 providerOptions.gateway.has。1017 默认 vision + implicit-caching(实测是钉选与渠道探测生效的必要条件);其他模型通常留空。";
|
|
682
|
+
readonly pinHas: "能力过滤:{list}";
|
|
683
|
+
readonly testHas: "本次能力过滤:{list}";
|
|
598
684
|
readonly probedAt: "探测于 {time}";
|
|
599
685
|
readonly pipeline: "管线:{pipeline}";
|
|
600
686
|
readonly notPinnable: "该模型当前不支持钉住";
|
|
@@ -630,8 +716,6 @@ export declare const dictionaries: {
|
|
|
630
716
|
readonly maxConcurrentRequests: "每账号并发流上限(0 = 不限)";
|
|
631
717
|
readonly streamIdleTimeoutMs: "流空闲超时(ms)";
|
|
632
718
|
readonly historyLimit: "历史保留条数";
|
|
633
|
-
readonly exposeCatalog: "在模型选择器中列出网关目录的额外模型";
|
|
634
|
-
readonly exposeCatalogHint: "关闭时只列出官方订阅目录与随包内置模型。";
|
|
635
719
|
readonly pinSpelling: "钉住字段写法";
|
|
636
720
|
readonly pinSpellingBoth: "两种写法都发(推荐)";
|
|
637
721
|
readonly pinSpellingDetected: "只发探测到的写法";
|
|
@@ -719,7 +803,7 @@ export declare const dictionaries: {
|
|
|
719
803
|
readonly keyTestFailed: "Key rejected: {detail}";
|
|
720
804
|
readonly testSavedKey: "Test";
|
|
721
805
|
readonly modelsSection: "Models";
|
|
722
|
-
readonly modelsHint: "
|
|
806
|
+
readonly modelsHint: "Only bundled models, the official subscription catalog, and manually added models are listed; sync once before first use. Search below to add any other gateway model on demand. Unchecked models do not appear in the model picker.";
|
|
723
807
|
readonly modelCount: "{count} model(s)";
|
|
724
808
|
readonly modelChecklistCount: "{count} of {total} selected";
|
|
725
809
|
readonly selectAll: "Select all";
|
|
@@ -730,6 +814,17 @@ export declare const dictionaries: {
|
|
|
730
814
|
readonly catalogEmpty: "The official catalog returned no models.";
|
|
731
815
|
readonly noModels: "No models available.";
|
|
732
816
|
readonly catalogSources: "Catalog sources: {sources}";
|
|
817
|
+
readonly catalogSearch: "Search";
|
|
818
|
+
readonly catalogSearching: "Searching…";
|
|
819
|
+
readonly catalogSearchPlaceholder: "Search the gateway catalog by model id…";
|
|
820
|
+
readonly catalogSearchHint: "Search results are only candidates to add; the full gateway catalog is never dumped into this page. A \"Cline Credits\" hit is a marketplace model billed against the credits balance, not the plan quota.";
|
|
821
|
+
readonly catalogSearchEmpty: "No matching gateway models.";
|
|
822
|
+
readonly catalogAdd: "Add";
|
|
823
|
+
readonly catalogAdded: "Added";
|
|
824
|
+
readonly catalogBillingSubscription: "Subscription";
|
|
825
|
+
readonly catalogBillingCredits: "Cline Credits";
|
|
826
|
+
readonly catalogCreditsWarning: "Marketplace model billed against the Cline Credits balance, not the Cline Pass plan; an empty balance answers 402.";
|
|
827
|
+
readonly catalogAddCredits: "Add and bill credits";
|
|
733
828
|
readonly contextSection: "Context windows";
|
|
734
829
|
readonly contextHint: "Shown for checked models only. An invalid value is reported rather than saved; restoring clears the override.";
|
|
735
830
|
readonly tokens: "tokens";
|
|
@@ -764,6 +859,18 @@ export declare const dictionaries: {
|
|
|
764
859
|
readonly noChannels: "No channels discovered yet. Use \"Probe\" to read the model upstream list.";
|
|
765
860
|
readonly channelHint: "Click a channel to add it to the pin order; click again to remove. ⊘ toggles exclusion.";
|
|
766
861
|
readonly lastServed: "Last served by {provider} ({ms}ms)";
|
|
862
|
+
readonly anonymousChannel: "anonymous route";
|
|
863
|
+
readonly anonymousChannelHint: "The gateway's anonymous contributor route: answers may be used for training, with no zero-data-retention guarantee";
|
|
864
|
+
readonly anonymousServed: "Note: this answer was served by the gateway's anonymous contributor route ({provider}) — it may be used for training and carries no ZDR guarantee";
|
|
865
|
+
readonly fingerprintOk: "First-party DeepSeek fingerprint: {fingerprint}";
|
|
866
|
+
readonly pinLikelyIgnored: "Only the anonymous route has been discovered for this model, so a pin will most likely be silently ignored by the gateway";
|
|
867
|
+
readonly addChannel: "Add";
|
|
868
|
+
readonly manualChannelPlaceholder: "type a channel name (e.g. deepseek)…";
|
|
869
|
+
readonly manualChannelHint: "Discovery relies on the gateway naming its channels in an error; a model redirected to the anonymous route yields no list. Channel names are a gateway-wide vocabulary (anything another model discovered is offered), so pin by name anyway and verify with Test.";
|
|
870
|
+
readonly hasLabel: "Capability filter (has)";
|
|
871
|
+
readonly hasHint: "Vercel gateway capability filter, written only to providerOptions.gateway.has. The 1017 default is vision + implicit-caching (measured as required for pinning and discovery); leave empty for other models unless a probe says otherwise.";
|
|
872
|
+
readonly pinHas: "Capabilities: {list}";
|
|
873
|
+
readonly testHas: "Capabilities sent: {list}";
|
|
767
874
|
readonly probedAt: "Probed {time}";
|
|
768
875
|
readonly pipeline: "Pipeline: {pipeline}";
|
|
769
876
|
readonly notPinnable: "This model is not pinnable right now";
|
|
@@ -799,8 +906,6 @@ export declare const dictionaries: {
|
|
|
799
906
|
readonly maxConcurrentRequests: "Streams per account (0 = unlimited)";
|
|
800
907
|
readonly streamIdleTimeoutMs: "Stream idle timeout (ms)";
|
|
801
908
|
readonly historyLimit: "History rows retained";
|
|
802
|
-
readonly exposeCatalog: "List extra models from the gateway catalog";
|
|
803
|
-
readonly exposeCatalogHint: "When off, only the official subscription catalog and the bundled table are listed.";
|
|
804
909
|
readonly pinSpelling: "Pin field spelling";
|
|
805
910
|
readonly pinSpellingBoth: "Write both spellings (recommended)";
|
|
806
911
|
readonly pinSpellingDetected: "Write only the probed spelling";
|
|
@@ -888,7 +993,7 @@ export declare const dictionaries: {
|
|
|
888
993
|
readonly keyTestFailed: "Key rejected: {detail}";
|
|
889
994
|
readonly testSavedKey: "Test";
|
|
890
995
|
readonly modelsSection: "Models";
|
|
891
|
-
readonly modelsHint: "
|
|
996
|
+
readonly modelsHint: "Only bundled models, the official subscription catalog, and manually added models are listed; sync once before first use. Search below to add any other gateway model on demand. Unchecked models do not appear in the model picker.";
|
|
892
997
|
readonly modelCount: "{count} model(s)";
|
|
893
998
|
readonly modelChecklistCount: "{count} of {total} selected";
|
|
894
999
|
readonly selectAll: "Select all";
|
|
@@ -899,6 +1004,17 @@ export declare const dictionaries: {
|
|
|
899
1004
|
readonly catalogEmpty: "The official catalog returned no models.";
|
|
900
1005
|
readonly noModels: "No models available.";
|
|
901
1006
|
readonly catalogSources: "Catalog sources: {sources}";
|
|
1007
|
+
readonly catalogSearch: "Search";
|
|
1008
|
+
readonly catalogSearching: "Searching…";
|
|
1009
|
+
readonly catalogSearchPlaceholder: "Search the gateway catalog by model id…";
|
|
1010
|
+
readonly catalogSearchHint: "Search results are only candidates to add; the full gateway catalog is never dumped into this page. A \"Cline Credits\" hit is a marketplace model billed against the credits balance, not the plan quota.";
|
|
1011
|
+
readonly catalogSearchEmpty: "No matching gateway models.";
|
|
1012
|
+
readonly catalogAdd: "Add";
|
|
1013
|
+
readonly catalogAdded: "Added";
|
|
1014
|
+
readonly catalogBillingSubscription: "Subscription";
|
|
1015
|
+
readonly catalogBillingCredits: "Cline Credits";
|
|
1016
|
+
readonly catalogCreditsWarning: "Marketplace model billed against the Cline Credits balance, not the Cline Pass plan; an empty balance answers 402.";
|
|
1017
|
+
readonly catalogAddCredits: "Add and bill credits";
|
|
902
1018
|
readonly contextSection: "Context windows";
|
|
903
1019
|
readonly contextHint: "Shown for checked models only. An invalid value is reported rather than saved; restoring clears the override.";
|
|
904
1020
|
readonly tokens: "tokens";
|
|
@@ -933,6 +1049,18 @@ export declare const dictionaries: {
|
|
|
933
1049
|
readonly noChannels: "No channels discovered yet. Use \"Probe\" to read the model upstream list.";
|
|
934
1050
|
readonly channelHint: "Click a channel to add it to the pin order; click again to remove. ⊘ toggles exclusion.";
|
|
935
1051
|
readonly lastServed: "Last served by {provider} ({ms}ms)";
|
|
1052
|
+
readonly anonymousChannel: "anonymous route";
|
|
1053
|
+
readonly anonymousChannelHint: "The gateway's anonymous contributor route: answers may be used for training, with no zero-data-retention guarantee";
|
|
1054
|
+
readonly anonymousServed: "Note: this answer was served by the gateway's anonymous contributor route ({provider}) — it may be used for training and carries no ZDR guarantee";
|
|
1055
|
+
readonly fingerprintOk: "First-party DeepSeek fingerprint: {fingerprint}";
|
|
1056
|
+
readonly pinLikelyIgnored: "Only the anonymous route has been discovered for this model, so a pin will most likely be silently ignored by the gateway";
|
|
1057
|
+
readonly addChannel: "Add";
|
|
1058
|
+
readonly manualChannelPlaceholder: "type a channel name (e.g. deepseek)…";
|
|
1059
|
+
readonly manualChannelHint: "Discovery relies on the gateway naming its channels in an error; a model redirected to the anonymous route yields no list. Channel names are a gateway-wide vocabulary (anything another model discovered is offered), so pin by name anyway and verify with Test.";
|
|
1060
|
+
readonly hasLabel: "Capability filter (has)";
|
|
1061
|
+
readonly hasHint: "Vercel gateway capability filter, written only to providerOptions.gateway.has. The 1017 default is vision + implicit-caching (measured as required for pinning and discovery); leave empty for other models unless a probe says otherwise.";
|
|
1062
|
+
readonly pinHas: "Capabilities: {list}";
|
|
1063
|
+
readonly testHas: "Capabilities sent: {list}";
|
|
936
1064
|
readonly probedAt: "Probed {time}";
|
|
937
1065
|
readonly pipeline: "Pipeline: {pipeline}";
|
|
938
1066
|
readonly notPinnable: "This model is not pinnable right now";
|
|
@@ -968,8 +1096,6 @@ export declare const dictionaries: {
|
|
|
968
1096
|
readonly maxConcurrentRequests: "Streams per account (0 = unlimited)";
|
|
969
1097
|
readonly streamIdleTimeoutMs: "Stream idle timeout (ms)";
|
|
970
1098
|
readonly historyLimit: "History rows retained";
|
|
971
|
-
readonly exposeCatalog: "List extra models from the gateway catalog";
|
|
972
|
-
readonly exposeCatalogHint: "When off, only the official subscription catalog and the bundled table are listed.";
|
|
973
1099
|
readonly pinSpelling: "Pin field spelling";
|
|
974
1100
|
readonly pinSpellingBoth: "Write both spellings (recommended)";
|
|
975
1101
|
readonly pinSpellingDetected: "Write only the probed spelling";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/cline-pass/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,mBAAmB,CAAA;AAE7C,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/cline-pass/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,mBAAmB,CAAA;AAE7C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6KL,CAAA;AAEV,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2KL,CAAA;AAIV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/client/cline-pass/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/client/cline-pass/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CA0D7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KimiCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/KimiCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"KimiCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/KimiCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;AAsBvE,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAwCD,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CA0rBhG"}
|
|
@@ -70,11 +70,8 @@ export declare const zh: {
|
|
|
70
70
|
readonly defaultReasoningEffortHint: "可用档位跟随勾选的模型自己声明的能力(一个都没勾时按 low / high / max / none 全列);none 表示关闭思考,只对允许关闭的模型有效。切换档位会使上下文缓存失效,建议在同一会话中保持一致。";
|
|
71
71
|
readonly effortThinkingOnlyNote: "勾选的模型里有只支持思考模式的:{models}。它们没有「关闭思考」这一档,请求关闭思考会被服务端拒绝(400),所以这里不提供。";
|
|
72
72
|
readonly effortNotOffered: "当前勾选的模型不接受";
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
readonly cacheTtlDefault: "不传(服务端按 5 分钟档写入)";
|
|
76
|
-
readonly cacheTtl5m: "5 分钟";
|
|
77
|
-
readonly cacheTtl1h: "1 小时";
|
|
73
|
+
readonly cacheNote: "上下文缓存";
|
|
74
|
+
readonly cacheNoteHint: "Kimi 按前缀自动缓存,本线路不发送任何缓存时长字段,由服务端自己决定写入与存活。缓存时长无法从客户端选择:官方文档只给开放平台写了 5m / 1h 两档,Kimi Code 订阅端点既没有文档说明,官方 CLI 也没有发出该字段的能力。实测该端点的默认档在 25 分钟内稳定命中、30 分钟开始零星失效、35 分钟全部失效,所以这里的过期提示按 30 分钟判断。";
|
|
78
75
|
readonly defaultEffortAuto: "使用模型默认值";
|
|
79
76
|
readonly effortLow: "低 (low)";
|
|
80
77
|
readonly effortHigh: "高 (high)";
|
|
@@ -236,11 +233,8 @@ export declare const dictionaries: {
|
|
|
236
233
|
readonly defaultReasoningEffortHint: "可用档位跟随勾选的模型自己声明的能力(一个都没勾时按 low / high / max / none 全列);none 表示关闭思考,只对允许关闭的模型有效。切换档位会使上下文缓存失效,建议在同一会话中保持一致。";
|
|
237
234
|
readonly effortThinkingOnlyNote: "勾选的模型里有只支持思考模式的:{models}。它们没有「关闭思考」这一档,请求关闭思考会被服务端拒绝(400),所以这里不提供。";
|
|
238
235
|
readonly effortNotOffered: "当前勾选的模型不接受";
|
|
239
|
-
readonly
|
|
240
|
-
readonly
|
|
241
|
-
readonly cacheTtlDefault: "不传(服务端按 5 分钟档写入)";
|
|
242
|
-
readonly cacheTtl5m: "5 分钟";
|
|
243
|
-
readonly cacheTtl1h: "1 小时";
|
|
236
|
+
readonly cacheNote: "上下文缓存";
|
|
237
|
+
readonly cacheNoteHint: "Kimi 按前缀自动缓存,本线路不发送任何缓存时长字段,由服务端自己决定写入与存活。缓存时长无法从客户端选择:官方文档只给开放平台写了 5m / 1h 两档,Kimi Code 订阅端点既没有文档说明,官方 CLI 也没有发出该字段的能力。实测该端点的默认档在 25 分钟内稳定命中、30 分钟开始零星失效、35 分钟全部失效,所以这里的过期提示按 30 分钟判断。";
|
|
244
238
|
readonly defaultEffortAuto: "使用模型默认值";
|
|
245
239
|
readonly effortLow: "低 (low)";
|
|
246
240
|
readonly effortHigh: "高 (high)";
|
|
@@ -400,11 +394,8 @@ export declare const dictionaries: {
|
|
|
400
394
|
readonly defaultReasoningEffortHint: "可用档位跟随勾选的模型自己声明的能力(一个都没勾时按 low / high / max / none 全列);none 表示关闭思考,只对允许关闭的模型有效。切换档位会使上下文缓存失效,建议在同一会话中保持一致。";
|
|
401
395
|
readonly effortThinkingOnlyNote: "勾选的模型里有只支持思考模式的:{models}。它们没有「关闭思考」这一档,请求关闭思考会被服务端拒绝(400),所以这里不提供。";
|
|
402
396
|
readonly effortNotOffered: "当前勾选的模型不接受";
|
|
403
|
-
readonly
|
|
404
|
-
readonly
|
|
405
|
-
readonly cacheTtlDefault: "不传(服务端按 5 分钟档写入)";
|
|
406
|
-
readonly cacheTtl5m: "5 分钟";
|
|
407
|
-
readonly cacheTtl1h: "1 小时";
|
|
397
|
+
readonly cacheNote: "上下文缓存";
|
|
398
|
+
readonly cacheNoteHint: "Kimi 按前缀自动缓存,本线路不发送任何缓存时长字段,由服务端自己决定写入与存活。缓存时长无法从客户端选择:官方文档只给开放平台写了 5m / 1h 两档,Kimi Code 订阅端点既没有文档说明,官方 CLI 也没有发出该字段的能力。实测该端点的默认档在 25 分钟内稳定命中、30 分钟开始零星失效、35 分钟全部失效,所以这里的过期提示按 30 分钟判断。";
|
|
408
399
|
readonly defaultEffortAuto: "使用模型默认值";
|
|
409
400
|
readonly effortLow: "低 (low)";
|
|
410
401
|
readonly effortHigh: "高 (high)";
|
|
@@ -493,8 +484,8 @@ export declare const dictionaries: {
|
|
|
493
484
|
readonly quotaFactsScope: string;
|
|
494
485
|
readonly composerLabel: string;
|
|
495
486
|
};
|
|
496
|
-
en: Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "
|
|
497
|
-
'en-US': Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "
|
|
487
|
+
en: Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "deviceCodeHint" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "effortLow" | "effortHigh" | "effortMax" | "quotaUnknown" | "resetAt" | "copied" | "region" | "quotaPlan" | "authenticatedAt" | "openSignInPage" | "wireAnthropic" | "wireOpenai" | "nickname" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "copyCode" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "capVideo" | "capThinkingOnly" | "capEfforts" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capThinkingOnlyFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "capInputCap" | "capNoTools" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "effortThinkingOnlyNote" | "effortNotOffered" | "cacheNote" | "cacheNoteHint" | "effortNone" | "contextWindowPlan" | "cacheOutput" | "cacheWrite" | "cacheWrite5m" | "cacheWrite1h" | "cacheWriteHint" | "unknownMetric" | "cacheHint" | "cacheExpired" | "cacheDrift" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "requests", string>;
|
|
488
|
+
'en-US': Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "deviceCodeHint" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "effortLow" | "effortHigh" | "effortMax" | "quotaUnknown" | "resetAt" | "copied" | "region" | "quotaPlan" | "authenticatedAt" | "openSignInPage" | "wireAnthropic" | "wireOpenai" | "nickname" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "copyCode" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "capVideo" | "capThinkingOnly" | "capEfforts" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capThinkingOnlyFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "capInputCap" | "capNoTools" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "effortThinkingOnlyNote" | "effortNotOffered" | "cacheNote" | "cacheNoteHint" | "effortNone" | "contextWindowPlan" | "cacheOutput" | "cacheWrite" | "cacheWrite5m" | "cacheWrite1h" | "cacheWriteHint" | "unknownMetric" | "cacheHint" | "cacheExpired" | "cacheDrift" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "requests", string>;
|
|
498
489
|
};
|
|
499
490
|
export type KimiCodeLocaleKey = keyof typeof zh;
|
|
500
491
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,kBAAkB,CAAA;AAE3C,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,kBAAkB,CAAA;AAE3C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIL,CAAA;AAEV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CAkIrC,CAAA;AAEV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,EAAE,CAAA;AAE/C;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cline-pass.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/cline-pass.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAGlE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"cline-pass.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/cline-pass.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAGlE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CA6KzD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/hub.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/hub.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CA8MhD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kimi-code.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/kimi-code.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"kimi-code.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/kimi-code.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAmIxD,CAAA"}
|