@eddyskywalker/dsh-chatgpt-subscription 0.10.15 → 0.10.21
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 +45 -1
- package/README.md +8 -4
- package/lib/client.js +641 -121
- package/lib/client.js.map +1 -1
- package/lib/index.js +2086 -306
- package/lib/types/client/ProviderHubSection.d.ts.map +1 -1
- package/lib/types/client/command-code/CommandCodeSection.d.ts.map +1 -1
- package/lib/types/client/index.d.ts +1 -0
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/locales.d.ts +4 -4
- package/lib/types/client/ollama/OllamaSection.d.ts +25 -0
- package/lib/types/client/ollama/OllamaSection.d.ts.map +1 -0
- package/lib/types/client/ollama/api.d.ts +36 -0
- package/lib/types/client/ollama/api.d.ts.map +1 -0
- package/lib/types/client/ollama/locales.d.ts +413 -0
- package/lib/types/client/ollama/locales.d.ts.map +1 -0
- package/lib/types/host/antigravity/adapter.d.ts.map +1 -1
- package/lib/types/host/claude/adapter.d.ts +3 -5
- package/lib/types/host/claude/adapter.d.ts.map +1 -1
- package/lib/types/host/claude/model-catalog.d.ts +30 -16
- package/lib/types/host/claude/model-catalog.d.ts.map +1 -1
- package/lib/types/host/command-code/adapter.d.ts.map +1 -1
- package/lib/types/host/command-code/mapper.d.ts.map +1 -1
- package/lib/types/host/command-code/model-catalog.d.ts +19 -2
- package/lib/types/host/command-code/model-catalog.d.ts.map +1 -1
- package/lib/types/host/command-code/types.d.ts +29 -1
- package/lib/types/host/command-code/types.d.ts.map +1 -1
- package/lib/types/host/common/output-reservation.d.ts +11 -0
- package/lib/types/host/common/output-reservation.d.ts.map +1 -0
- package/lib/types/host/kimi-code/adapter.d.ts.map +1 -1
- package/lib/types/host/kimi-code/model-catalog.d.ts +1 -1
- package/lib/types/host/kimi-code/model-catalog.d.ts.map +1 -1
- package/lib/types/host/minimax-code/adapter.d.ts +2 -3
- package/lib/types/host/minimax-code/adapter.d.ts.map +1 -1
- package/lib/types/host/model-catalog.d.ts.map +1 -1
- package/lib/types/host/ollama/account-pool.d.ts +65 -0
- package/lib/types/host/ollama/account-pool.d.ts.map +1 -0
- package/lib/types/host/ollama/adapter.d.ts +47 -0
- package/lib/types/host/ollama/adapter.d.ts.map +1 -0
- package/lib/types/host/ollama/client.d.ts +101 -0
- package/lib/types/host/ollama/client.d.ts.map +1 -0
- package/lib/types/host/ollama/mapper.d.ts +44 -0
- package/lib/types/host/ollama/mapper.d.ts.map +1 -0
- package/lib/types/host/ollama/routes.d.ts +22 -0
- package/lib/types/host/ollama/routes.d.ts.map +1 -0
- package/lib/types/host/ollama/token-store.d.ts +73 -0
- package/lib/types/host/ollama/token-store.d.ts.map +1 -0
- package/lib/types/host/ollama/types.d.ts +115 -0
- package/lib/types/host/ollama/types.d.ts.map +1 -0
- package/lib/types/host/reasoning-collapse-guard/index.d.ts.map +1 -1
- package/lib/types/host/responses-mapper.d.ts +0 -2
- package/lib/types/host/responses-mapper.d.ts.map +1 -1
- package/lib/types/host/search-provider-switcher.d.ts +12 -0
- package/lib/types/host/search-provider-switcher.d.ts.map +1 -1
- package/lib/types/host/workbuddy/adapter.d.ts.map +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/command-code-contracts.d.ts +10 -4
- package/lib/types/shared/command-code-contracts.d.ts.map +1 -1
- package/lib/types/shared/model-catalog.d.ts +58 -1
- package/lib/types/shared/model-catalog.d.ts.map +1 -1
- package/lib/types/shared/ollama-contracts.d.ts +36 -0
- package/lib/types/shared/ollama-contracts.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProviderHubSection.d.ts","sourceRoot":"","sources":["../../../src/client/ProviderHubSection.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;
|
|
1
|
+
{"version":3,"file":"ProviderHubSection.d.ts","sourceRoot":"","sources":["../../../src/client/ProviderHubSection.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AASjF,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAA;AAEjC,KAAK,KAAK,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,GAAG;IACvE,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;CAC3B,CAAA;AAkBD;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,CAAC,EAAE,aAAa,EAAE,GAAG,OAAO,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAiE7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/command-code/CommandCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"CommandCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/command-code/CommandCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;AA4BvE,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAiBD,wEAAwE;AACxE,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAOlE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIpD;AA2CD,wBAAgB,kBAAkB,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAynBnG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAenE,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAe/D,OAAO,EAAqD,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAenE,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAe/D,OAAO,EAAqD,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAQxH,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,0BAA0B,EAAE,SAAS,CAAA;QACrC,iBAAiB,EAAE,GAAG,CAAA;QACtB,YAAY,EAAE,GAAG,CAAA;QACjB,kBAAkB,EAAE,GAAG,CAAA;QACvB,eAAe,EAAE,GAAG,CAAA;QACpB,kBAAkB,EAAE,oBAAoB,CAAA;QACxC,eAAe,EAAE,GAAG,CAAA;QACpB,YAAY,EAAE,GAAG,CAAA;KAClB;CACF;AAED,eAAO,MAAM,MAAM,UAQlB,CAAA;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,aAAa,GAAG,IAAI,CAuL9C"}
|
|
@@ -60,12 +60,12 @@ export declare const zh: {
|
|
|
60
60
|
readonly fastMode: "快速模式(1.5x 速度)";
|
|
61
61
|
readonly fastModeHint: "提升 Token 生成速度至约 1.5 倍;将以约 2x–2.5x 速度消耗 Codex 订阅额度。";
|
|
62
62
|
readonly outputVerbosity: "输出详细程度";
|
|
63
|
-
readonly outputVerbosityHint: "控制 Codex
|
|
63
|
+
readonly outputVerbosityHint: "控制 Codex 最终回答的详细程度;不影响思考深度。默认值与官方 Codex 客户端一致(低)。";
|
|
64
64
|
readonly verbosityLow: "低(保持回答简洁)";
|
|
65
65
|
readonly verbosityMedium: "中(兼顾细节与简洁)";
|
|
66
66
|
readonly verbosityHigh: "高(在回答中包含更多细节)";
|
|
67
67
|
readonly reasoningSummary: "推理摘要";
|
|
68
|
-
readonly reasoningSummaryHint: "选择 ChatGPT
|
|
68
|
+
readonly reasoningSummaryHint: "选择 ChatGPT 总结其推理的方式;不影响思考深度。默认值与官方 Codex 客户端一致(不生成摘要,可省额度)。";
|
|
69
69
|
readonly summaryAuto: "自动(让模型选择摘要详细程度)";
|
|
70
70
|
readonly summaryConcise: "简洁(显示简要推理摘要)";
|
|
71
71
|
readonly summaryDetailed: "详细(显示更详细的推理摘要)";
|
|
@@ -215,12 +215,12 @@ export declare const dictionaries: {
|
|
|
215
215
|
readonly fastMode: "快速模式(1.5x 速度)";
|
|
216
216
|
readonly fastModeHint: "提升 Token 生成速度至约 1.5 倍;将以约 2x–2.5x 速度消耗 Codex 订阅额度。";
|
|
217
217
|
readonly outputVerbosity: "输出详细程度";
|
|
218
|
-
readonly outputVerbosityHint: "控制 Codex
|
|
218
|
+
readonly outputVerbosityHint: "控制 Codex 最终回答的详细程度;不影响思考深度。默认值与官方 Codex 客户端一致(低)。";
|
|
219
219
|
readonly verbosityLow: "低(保持回答简洁)";
|
|
220
220
|
readonly verbosityMedium: "中(兼顾细节与简洁)";
|
|
221
221
|
readonly verbosityHigh: "高(在回答中包含更多细节)";
|
|
222
222
|
readonly reasoningSummary: "推理摘要";
|
|
223
|
-
readonly reasoningSummaryHint: "选择 ChatGPT
|
|
223
|
+
readonly reasoningSummaryHint: "选择 ChatGPT 总结其推理的方式;不影响思考深度。默认值与官方 Codex 客户端一致(不生成摘要,可省额度)。";
|
|
224
224
|
readonly summaryAuto: "自动(让模型选择摘要详细程度)";
|
|
225
225
|
readonly summaryConcise: "简洁(显示简要推理摘要)";
|
|
226
226
|
readonly summaryDetailed: "详细(显示更详细的推理摘要)";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A token count short enough to sit in an account card.
|
|
4
|
+
*
|
|
5
|
+
* Exact below a thousand, then thousands, then millions. A six-figure number with
|
|
6
|
+
* no grouping is unreadable at card width, and these are running totals that only
|
|
7
|
+
* ever grow, so rounding is fine but commas are not optional.
|
|
8
|
+
*/
|
|
9
|
+
export declare function formatTokens(value: number): string;
|
|
10
|
+
interface Props {
|
|
11
|
+
onModelChange?: () => void;
|
|
12
|
+
loadModelDirectory?: () => void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The Ollama tab.
|
|
16
|
+
*
|
|
17
|
+
* Deliberately thin. The account card, its badges, the rotation picker and the
|
|
18
|
+
* storage notice are the shared {@link AccountPoolSection}, so this line looks
|
|
19
|
+
* like every other provider tab by construction rather than by imitation; only
|
|
20
|
+
* what is genuinely Ollama's - pasting a key, syncing the catalog, and the
|
|
21
|
+
* documented service limits - is written here.
|
|
22
|
+
*/
|
|
23
|
+
export declare function OllamaSection(props: Props): React.ReactElement;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=OllamaSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OllamaSection.d.ts","sourceRoot":"","sources":["../../../../src/client/ollama/OllamaSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;AAS/D;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKlD;AAED,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CA2P9D"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { OllamaWebStatus } from '../../shared/ollama-contracts.ts';
|
|
2
|
+
/**
|
|
3
|
+
* The Ollama settings API, as the card uses it.
|
|
4
|
+
*
|
|
5
|
+
* Deliberately the same envelope and the same fetch shape every other provider
|
|
6
|
+
* section uses, so the shared account-pool card and this helper read alike.
|
|
7
|
+
*/
|
|
8
|
+
export declare class OllamaApi {
|
|
9
|
+
status(): Promise<OllamaWebStatus>;
|
|
10
|
+
/**
|
|
11
|
+
* One pool action, returning the refreshed status.
|
|
12
|
+
*
|
|
13
|
+
* The host answers with the same envelope the status route uses, so the card
|
|
14
|
+
* never has to guess what the pool looks like after a change.
|
|
15
|
+
*/
|
|
16
|
+
accountAction(action: 'add' | 'set-primary' | 'set-alias' | 'delete' | 'clear-cooldown' | 'strategy', body?: {
|
|
17
|
+
accountId?: string;
|
|
18
|
+
alias?: string;
|
|
19
|
+
strategy?: string;
|
|
20
|
+
apiKey?: string;
|
|
21
|
+
}): Promise<OllamaWebStatus>;
|
|
22
|
+
refreshCatalog(): Promise<{
|
|
23
|
+
models: unknown[];
|
|
24
|
+
}>;
|
|
25
|
+
/**
|
|
26
|
+
* Replace the enabled-model selection.
|
|
27
|
+
*
|
|
28
|
+
* The whole list is sent rather than a single id's new state, because the card
|
|
29
|
+
* offers bulk select and unselect and would otherwise have to read the current
|
|
30
|
+
* selection before it could answer 'turn this one off'.
|
|
31
|
+
*/
|
|
32
|
+
setEnabledModels(enabledModelIds: string[]): Promise<{
|
|
33
|
+
enabledModelIds: string[];
|
|
34
|
+
}>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/client/ollama/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAIvE;;;;;GAKG;AACH,qBAAa,SAAS;IACpB,MAAM,IAAI,OAAO,CAAC,eAAe,CAAC;IAIlC;;;;;OAKG;IACH,aAAa,CACX,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,WAAW,GAAG,QAAQ,GAAG,gBAAgB,GAAG,UAAU,EACtF,IAAI,GAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAO,GACpF,OAAO,CAAC,eAAe,CAAC;IAI3B,cAAc,IAAI,OAAO,CAAC;QAAE,MAAM,EAAE,OAAO,EAAE,CAAA;KAAE,CAAC;IAIhD;;;;;;OAMG;IACH,gBAAgB,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;QAAE,eAAe,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;CAGpF"}
|
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
export declare const NS_OLLAMA = "dsh-ollama";
|
|
2
|
+
export declare const zh: {
|
|
3
|
+
readonly relogin: "更换 Key";
|
|
4
|
+
readonly needsRelogin: "Key 已失效";
|
|
5
|
+
readonly addAccount: "添加 API Key";
|
|
6
|
+
readonly noAccounts: "暂无 API Key。点击「添加 API Key」粘贴 ollama.com 创建的 Key。";
|
|
7
|
+
readonly storageNotice: "API Key 由 Host 保存于本地安全存储,不会进入浏览器。";
|
|
8
|
+
readonly title: "Ollama";
|
|
9
|
+
readonly pageDesc: "接入 Ollama Cloud,用多个 API Key 组成号池,自动轮换与故障转移。";
|
|
10
|
+
readonly provider: "Provider";
|
|
11
|
+
readonly providerValue: "Ollama · ollama";
|
|
12
|
+
readonly routeOwned: "模型路由由本插件提供";
|
|
13
|
+
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
|
|
14
|
+
readonly keySection: "添加 API Key";
|
|
15
|
+
readonly keyHint: "在 https://ollama.com/settings/keys 创建 API Key 后粘贴到此处。Key 不会过期,可随时在设置页吊销。";
|
|
16
|
+
readonly keyPlaceholder: "粘贴 Ollama API Key";
|
|
17
|
+
readonly keyAliasLabel: "备注名(可选)";
|
|
18
|
+
readonly keyAliasPlaceholder: "例如:主号、备用号";
|
|
19
|
+
readonly keyAliasHint: "Ollama 不返回账号信息,多个 Key 靠备注名区分。";
|
|
20
|
+
readonly keySave: "添加";
|
|
21
|
+
readonly keySaving: "添加中...";
|
|
22
|
+
readonly modelsSection: "模型";
|
|
23
|
+
readonly modelsHint: "模型列表来自 Ollama 的 /api/tags,随服务更新,无需手动维护。";
|
|
24
|
+
readonly catalogSync: "同步模型列表";
|
|
25
|
+
readonly catalogSyncing: "同步中...";
|
|
26
|
+
readonly catalogNeverSynced: "尚未同步模型列表。点右上角「同步模型列表」获取你账号可用的模型 —— 在此之前这里不会有任何条目,本线路也不会出现在模型选择器中。";
|
|
27
|
+
readonly catalogEmpty: "Ollama 未返回任何模型。";
|
|
28
|
+
readonly catalogNeedKey: "请先添加一个 API Key,再同步模型列表。";
|
|
29
|
+
readonly catalogFailed: "无法从 Ollama 读取模型列表。";
|
|
30
|
+
readonly modelCount: "{count} 个模型";
|
|
31
|
+
readonly noModels: "暂无可用模型。";
|
|
32
|
+
readonly selectAll: "全选";
|
|
33
|
+
readonly unselectAll: "全不选";
|
|
34
|
+
readonly noneSelected: "未选择任何模型,该线路不会出现在模型选择器中。";
|
|
35
|
+
readonly limitsSection: "能力边界";
|
|
36
|
+
readonly limitsHint: "以下为 Ollama Cloud 官方文档列出的限制,本线路不会绕过:";
|
|
37
|
+
readonly limitNoStateful: "不支持 Responses 的有状态会话(仅无状态形式)。";
|
|
38
|
+
readonly limitNoWebSearch: "不支持通过 /v1/responses 使用内置联网搜索。";
|
|
39
|
+
readonly limitNoToolReplay: "不支持自定义工具调用的重放(replay)。";
|
|
40
|
+
readonly limitUsage: "Ollama 没有配额/剩余额度 API(上游 issue #15132、#15663 均已关闭),所以只能显示「已消耗」,无法显示「剩余多少」。";
|
|
41
|
+
readonly wireNote: "请求默认走 OpenAI 兼容面(/v1),必要时回落到原生面(/api/chat)。";
|
|
42
|
+
readonly lastModel: "最近模型";
|
|
43
|
+
readonly keyCreated: "添加于";
|
|
44
|
+
readonly error: "操作失败:{detail}";
|
|
45
|
+
readonly usageTitle: "累计消耗";
|
|
46
|
+
readonly usageInput: "输入 {tokens}";
|
|
47
|
+
readonly usageOutput: "输出 {tokens}";
|
|
48
|
+
readonly usageRequests: "{count} 次请求";
|
|
49
|
+
readonly usageNone: "尚无请求";
|
|
50
|
+
readonly usageHint: "按 Ollama 每次响应自带的 token 计数本地累加。";
|
|
51
|
+
readonly accountPool: string;
|
|
52
|
+
readonly accountCount: string;
|
|
53
|
+
readonly primaryAccount: string;
|
|
54
|
+
readonly activeAccount: string;
|
|
55
|
+
readonly setPrimary: string;
|
|
56
|
+
readonly deleteAccount: string;
|
|
57
|
+
readonly cooling: string;
|
|
58
|
+
readonly cooldownLeft: string;
|
|
59
|
+
readonly clearCooldown: string;
|
|
60
|
+
readonly rotationStrategy: string;
|
|
61
|
+
readonly strategySequential: string;
|
|
62
|
+
readonly strategyRoundRobin: string;
|
|
63
|
+
readonly strategySticky: string;
|
|
64
|
+
readonly storage: string;
|
|
65
|
+
readonly email: string;
|
|
66
|
+
readonly expires: string;
|
|
67
|
+
readonly lastUsed: string;
|
|
68
|
+
readonly accountId: string;
|
|
69
|
+
};
|
|
70
|
+
export declare const en: {
|
|
71
|
+
readonly relogin: "Replace Key";
|
|
72
|
+
readonly needsRelogin: "Key rejected";
|
|
73
|
+
readonly addAccount: "Add API Key";
|
|
74
|
+
readonly noAccounts: "No API keys yet. Click \"Add API Key\" to paste one from ollama.com.";
|
|
75
|
+
readonly storageNotice: "API keys are stored locally by the Host and never sent to the browser.";
|
|
76
|
+
readonly title: "Ollama";
|
|
77
|
+
readonly pageDesc: "Connect Ollama Cloud with several API keys pooled for rotation and failover.";
|
|
78
|
+
readonly provider: "Provider";
|
|
79
|
+
readonly providerValue: "Ollama · ollama";
|
|
80
|
+
readonly routeOwned: "Model route served by this plugin";
|
|
81
|
+
readonly routeConflict: "The model route is already owned by another provider: {detail}";
|
|
82
|
+
readonly keySection: "Add an API key";
|
|
83
|
+
readonly keyHint: "Create a key at https://ollama.com/settings/keys and paste it here. Keys do not expire and can be revoked from that page.";
|
|
84
|
+
readonly keyPlaceholder: "Paste an Ollama API key";
|
|
85
|
+
readonly keyAliasLabel: "Label (optional)";
|
|
86
|
+
readonly keyAliasPlaceholder: "e.g. primary, backup";
|
|
87
|
+
readonly keyAliasHint: "Ollama reports no account identity, so labels are what tell several keys apart.";
|
|
88
|
+
readonly keySave: "Add";
|
|
89
|
+
readonly keySaving: "Adding...";
|
|
90
|
+
readonly modelsSection: "Models";
|
|
91
|
+
readonly modelsHint: "The list comes from Ollama '/api/tags' and tracks the service, so there is nothing to maintain by hand.";
|
|
92
|
+
readonly catalogSync: "Sync model list";
|
|
93
|
+
readonly catalogSyncing: "Syncing...";
|
|
94
|
+
readonly catalogNeverSynced: "The model list has not been synced yet. Use \"Sync model list\" above to fetch the models your account can use - until then this list is empty and the line will not appear in the model picker.";
|
|
95
|
+
readonly catalogEmpty: "Ollama returned no models.";
|
|
96
|
+
readonly catalogNeedKey: "Add an API key before syncing the model list.";
|
|
97
|
+
readonly catalogFailed: "Could not read the model list from Ollama.";
|
|
98
|
+
readonly modelCount: "{count} model(s)";
|
|
99
|
+
readonly noModels: "No models available.";
|
|
100
|
+
readonly selectAll: "Select all";
|
|
101
|
+
readonly unselectAll: "Clear all";
|
|
102
|
+
readonly noneSelected: "No models are selected, so this line will not appear in the model picker.";
|
|
103
|
+
readonly limitsSection: "Documented limits";
|
|
104
|
+
readonly limitsHint: "Ollama Cloud documents these limits; this line does not work around them:";
|
|
105
|
+
readonly limitNoStateful: "No stateful Responses (stateless only).";
|
|
106
|
+
readonly limitNoWebSearch: "No built-in web search through /v1/responses.";
|
|
107
|
+
readonly limitNoToolReplay: "No replay of custom tool calls.";
|
|
108
|
+
readonly limitUsage: "Ollama has no quota or remaining-balance API (upstream issues #15132 and #15663 were both closed), so this card can show what has been consumed but not what is left.";
|
|
109
|
+
readonly wireNote: "Requests use the OpenAI-compatible surface (/v1) and fall back to the native surface (/api/chat) when needed.";
|
|
110
|
+
readonly lastModel: "Last model";
|
|
111
|
+
readonly keyCreated: "Added";
|
|
112
|
+
readonly error: "Action failed: {detail}";
|
|
113
|
+
readonly usageTitle: "Consumed so far";
|
|
114
|
+
readonly usageInput: "in {tokens}";
|
|
115
|
+
readonly usageOutput: "out {tokens}";
|
|
116
|
+
readonly usageRequests: "{count} request(s)";
|
|
117
|
+
readonly usageNone: "No requests yet";
|
|
118
|
+
readonly usageHint: "Summed locally from the token counts Ollama returns on each response.";
|
|
119
|
+
readonly accountPool: string;
|
|
120
|
+
readonly accountCount: string;
|
|
121
|
+
readonly primaryAccount: string;
|
|
122
|
+
readonly activeAccount: string;
|
|
123
|
+
readonly setPrimary: string;
|
|
124
|
+
readonly deleteAccount: string;
|
|
125
|
+
readonly cooling: string;
|
|
126
|
+
readonly cooldownLeft: string;
|
|
127
|
+
readonly clearCooldown: string;
|
|
128
|
+
readonly rotationStrategy: string;
|
|
129
|
+
readonly strategySequential: string;
|
|
130
|
+
readonly strategyRoundRobin: string;
|
|
131
|
+
readonly strategySticky: string;
|
|
132
|
+
readonly storage: string;
|
|
133
|
+
readonly email: string;
|
|
134
|
+
readonly expires: string;
|
|
135
|
+
readonly lastUsed: string;
|
|
136
|
+
readonly accountId: string;
|
|
137
|
+
};
|
|
138
|
+
export declare const dictionaries: {
|
|
139
|
+
zh: {
|
|
140
|
+
readonly relogin: "更换 Key";
|
|
141
|
+
readonly needsRelogin: "Key 已失效";
|
|
142
|
+
readonly addAccount: "添加 API Key";
|
|
143
|
+
readonly noAccounts: "暂无 API Key。点击「添加 API Key」粘贴 ollama.com 创建的 Key。";
|
|
144
|
+
readonly storageNotice: "API Key 由 Host 保存于本地安全存储,不会进入浏览器。";
|
|
145
|
+
readonly title: "Ollama";
|
|
146
|
+
readonly pageDesc: "接入 Ollama Cloud,用多个 API Key 组成号池,自动轮换与故障转移。";
|
|
147
|
+
readonly provider: "Provider";
|
|
148
|
+
readonly providerValue: "Ollama · ollama";
|
|
149
|
+
readonly routeOwned: "模型路由由本插件提供";
|
|
150
|
+
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
|
|
151
|
+
readonly keySection: "添加 API Key";
|
|
152
|
+
readonly keyHint: "在 https://ollama.com/settings/keys 创建 API Key 后粘贴到此处。Key 不会过期,可随时在设置页吊销。";
|
|
153
|
+
readonly keyPlaceholder: "粘贴 Ollama API Key";
|
|
154
|
+
readonly keyAliasLabel: "备注名(可选)";
|
|
155
|
+
readonly keyAliasPlaceholder: "例如:主号、备用号";
|
|
156
|
+
readonly keyAliasHint: "Ollama 不返回账号信息,多个 Key 靠备注名区分。";
|
|
157
|
+
readonly keySave: "添加";
|
|
158
|
+
readonly keySaving: "添加中...";
|
|
159
|
+
readonly modelsSection: "模型";
|
|
160
|
+
readonly modelsHint: "模型列表来自 Ollama 的 /api/tags,随服务更新,无需手动维护。";
|
|
161
|
+
readonly catalogSync: "同步模型列表";
|
|
162
|
+
readonly catalogSyncing: "同步中...";
|
|
163
|
+
readonly catalogNeverSynced: "尚未同步模型列表。点右上角「同步模型列表」获取你账号可用的模型 —— 在此之前这里不会有任何条目,本线路也不会出现在模型选择器中。";
|
|
164
|
+
readonly catalogEmpty: "Ollama 未返回任何模型。";
|
|
165
|
+
readonly catalogNeedKey: "请先添加一个 API Key,再同步模型列表。";
|
|
166
|
+
readonly catalogFailed: "无法从 Ollama 读取模型列表。";
|
|
167
|
+
readonly modelCount: "{count} 个模型";
|
|
168
|
+
readonly noModels: "暂无可用模型。";
|
|
169
|
+
readonly selectAll: "全选";
|
|
170
|
+
readonly unselectAll: "全不选";
|
|
171
|
+
readonly noneSelected: "未选择任何模型,该线路不会出现在模型选择器中。";
|
|
172
|
+
readonly limitsSection: "能力边界";
|
|
173
|
+
readonly limitsHint: "以下为 Ollama Cloud 官方文档列出的限制,本线路不会绕过:";
|
|
174
|
+
readonly limitNoStateful: "不支持 Responses 的有状态会话(仅无状态形式)。";
|
|
175
|
+
readonly limitNoWebSearch: "不支持通过 /v1/responses 使用内置联网搜索。";
|
|
176
|
+
readonly limitNoToolReplay: "不支持自定义工具调用的重放(replay)。";
|
|
177
|
+
readonly limitUsage: "Ollama 没有配额/剩余额度 API(上游 issue #15132、#15663 均已关闭),所以只能显示「已消耗」,无法显示「剩余多少」。";
|
|
178
|
+
readonly wireNote: "请求默认走 OpenAI 兼容面(/v1),必要时回落到原生面(/api/chat)。";
|
|
179
|
+
readonly lastModel: "最近模型";
|
|
180
|
+
readonly keyCreated: "添加于";
|
|
181
|
+
readonly error: "操作失败:{detail}";
|
|
182
|
+
readonly usageTitle: "累计消耗";
|
|
183
|
+
readonly usageInput: "输入 {tokens}";
|
|
184
|
+
readonly usageOutput: "输出 {tokens}";
|
|
185
|
+
readonly usageRequests: "{count} 次请求";
|
|
186
|
+
readonly usageNone: "尚无请求";
|
|
187
|
+
readonly usageHint: "按 Ollama 每次响应自带的 token 计数本地累加。";
|
|
188
|
+
readonly accountPool: string;
|
|
189
|
+
readonly accountCount: string;
|
|
190
|
+
readonly primaryAccount: string;
|
|
191
|
+
readonly activeAccount: string;
|
|
192
|
+
readonly setPrimary: string;
|
|
193
|
+
readonly deleteAccount: string;
|
|
194
|
+
readonly cooling: string;
|
|
195
|
+
readonly cooldownLeft: string;
|
|
196
|
+
readonly clearCooldown: string;
|
|
197
|
+
readonly rotationStrategy: string;
|
|
198
|
+
readonly strategySequential: string;
|
|
199
|
+
readonly strategyRoundRobin: string;
|
|
200
|
+
readonly strategySticky: string;
|
|
201
|
+
readonly storage: string;
|
|
202
|
+
readonly email: string;
|
|
203
|
+
readonly expires: string;
|
|
204
|
+
readonly lastUsed: string;
|
|
205
|
+
readonly accountId: string;
|
|
206
|
+
};
|
|
207
|
+
'zh-CN': {
|
|
208
|
+
readonly relogin: "更换 Key";
|
|
209
|
+
readonly needsRelogin: "Key 已失效";
|
|
210
|
+
readonly addAccount: "添加 API Key";
|
|
211
|
+
readonly noAccounts: "暂无 API Key。点击「添加 API Key」粘贴 ollama.com 创建的 Key。";
|
|
212
|
+
readonly storageNotice: "API Key 由 Host 保存于本地安全存储,不会进入浏览器。";
|
|
213
|
+
readonly title: "Ollama";
|
|
214
|
+
readonly pageDesc: "接入 Ollama Cloud,用多个 API Key 组成号池,自动轮换与故障转移。";
|
|
215
|
+
readonly provider: "Provider";
|
|
216
|
+
readonly providerValue: "Ollama · ollama";
|
|
217
|
+
readonly routeOwned: "模型路由由本插件提供";
|
|
218
|
+
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重试。";
|
|
219
|
+
readonly keySection: "添加 API Key";
|
|
220
|
+
readonly keyHint: "在 https://ollama.com/settings/keys 创建 API Key 后粘贴到此处。Key 不会过期,可随时在设置页吊销。";
|
|
221
|
+
readonly keyPlaceholder: "粘贴 Ollama API Key";
|
|
222
|
+
readonly keyAliasLabel: "备注名(可选)";
|
|
223
|
+
readonly keyAliasPlaceholder: "例如:主号、备用号";
|
|
224
|
+
readonly keyAliasHint: "Ollama 不返回账号信息,多个 Key 靠备注名区分。";
|
|
225
|
+
readonly keySave: "添加";
|
|
226
|
+
readonly keySaving: "添加中...";
|
|
227
|
+
readonly modelsSection: "模型";
|
|
228
|
+
readonly modelsHint: "模型列表来自 Ollama 的 /api/tags,随服务更新,无需手动维护。";
|
|
229
|
+
readonly catalogSync: "同步模型列表";
|
|
230
|
+
readonly catalogSyncing: "同步中...";
|
|
231
|
+
readonly catalogNeverSynced: "尚未同步模型列表。点右上角「同步模型列表」获取你账号可用的模型 —— 在此之前这里不会有任何条目,本线路也不会出现在模型选择器中。";
|
|
232
|
+
readonly catalogEmpty: "Ollama 未返回任何模型。";
|
|
233
|
+
readonly catalogNeedKey: "请先添加一个 API Key,再同步模型列表。";
|
|
234
|
+
readonly catalogFailed: "无法从 Ollama 读取模型列表。";
|
|
235
|
+
readonly modelCount: "{count} 个模型";
|
|
236
|
+
readonly noModels: "暂无可用模型。";
|
|
237
|
+
readonly selectAll: "全选";
|
|
238
|
+
readonly unselectAll: "全不选";
|
|
239
|
+
readonly noneSelected: "未选择任何模型,该线路不会出现在模型选择器中。";
|
|
240
|
+
readonly limitsSection: "能力边界";
|
|
241
|
+
readonly limitsHint: "以下为 Ollama Cloud 官方文档列出的限制,本线路不会绕过:";
|
|
242
|
+
readonly limitNoStateful: "不支持 Responses 的有状态会话(仅无状态形式)。";
|
|
243
|
+
readonly limitNoWebSearch: "不支持通过 /v1/responses 使用内置联网搜索。";
|
|
244
|
+
readonly limitNoToolReplay: "不支持自定义工具调用的重放(replay)。";
|
|
245
|
+
readonly limitUsage: "Ollama 没有配额/剩余额度 API(上游 issue #15132、#15663 均已关闭),所以只能显示「已消耗」,无法显示「剩余多少」。";
|
|
246
|
+
readonly wireNote: "请求默认走 OpenAI 兼容面(/v1),必要时回落到原生面(/api/chat)。";
|
|
247
|
+
readonly lastModel: "最近模型";
|
|
248
|
+
readonly keyCreated: "添加于";
|
|
249
|
+
readonly error: "操作失败:{detail}";
|
|
250
|
+
readonly usageTitle: "累计消耗";
|
|
251
|
+
readonly usageInput: "输入 {tokens}";
|
|
252
|
+
readonly usageOutput: "输出 {tokens}";
|
|
253
|
+
readonly usageRequests: "{count} 次请求";
|
|
254
|
+
readonly usageNone: "尚无请求";
|
|
255
|
+
readonly usageHint: "按 Ollama 每次响应自带的 token 计数本地累加。";
|
|
256
|
+
readonly accountPool: string;
|
|
257
|
+
readonly accountCount: string;
|
|
258
|
+
readonly primaryAccount: string;
|
|
259
|
+
readonly activeAccount: string;
|
|
260
|
+
readonly setPrimary: string;
|
|
261
|
+
readonly deleteAccount: string;
|
|
262
|
+
readonly cooling: string;
|
|
263
|
+
readonly cooldownLeft: string;
|
|
264
|
+
readonly clearCooldown: string;
|
|
265
|
+
readonly rotationStrategy: string;
|
|
266
|
+
readonly strategySequential: string;
|
|
267
|
+
readonly strategyRoundRobin: string;
|
|
268
|
+
readonly strategySticky: string;
|
|
269
|
+
readonly storage: string;
|
|
270
|
+
readonly email: string;
|
|
271
|
+
readonly expires: string;
|
|
272
|
+
readonly lastUsed: string;
|
|
273
|
+
readonly accountId: string;
|
|
274
|
+
};
|
|
275
|
+
en: {
|
|
276
|
+
readonly relogin: "Replace Key";
|
|
277
|
+
readonly needsRelogin: "Key rejected";
|
|
278
|
+
readonly addAccount: "Add API Key";
|
|
279
|
+
readonly noAccounts: "No API keys yet. Click \"Add API Key\" to paste one from ollama.com.";
|
|
280
|
+
readonly storageNotice: "API keys are stored locally by the Host and never sent to the browser.";
|
|
281
|
+
readonly title: "Ollama";
|
|
282
|
+
readonly pageDesc: "Connect Ollama Cloud with several API keys pooled for rotation and failover.";
|
|
283
|
+
readonly provider: "Provider";
|
|
284
|
+
readonly providerValue: "Ollama · ollama";
|
|
285
|
+
readonly routeOwned: "Model route served by this plugin";
|
|
286
|
+
readonly routeConflict: "The model route is already owned by another provider: {detail}";
|
|
287
|
+
readonly keySection: "Add an API key";
|
|
288
|
+
readonly keyHint: "Create a key at https://ollama.com/settings/keys and paste it here. Keys do not expire and can be revoked from that page.";
|
|
289
|
+
readonly keyPlaceholder: "Paste an Ollama API key";
|
|
290
|
+
readonly keyAliasLabel: "Label (optional)";
|
|
291
|
+
readonly keyAliasPlaceholder: "e.g. primary, backup";
|
|
292
|
+
readonly keyAliasHint: "Ollama reports no account identity, so labels are what tell several keys apart.";
|
|
293
|
+
readonly keySave: "Add";
|
|
294
|
+
readonly keySaving: "Adding...";
|
|
295
|
+
readonly modelsSection: "Models";
|
|
296
|
+
readonly modelsHint: "The list comes from Ollama '/api/tags' and tracks the service, so there is nothing to maintain by hand.";
|
|
297
|
+
readonly catalogSync: "Sync model list";
|
|
298
|
+
readonly catalogSyncing: "Syncing...";
|
|
299
|
+
readonly catalogNeverSynced: "The model list has not been synced yet. Use \"Sync model list\" above to fetch the models your account can use - until then this list is empty and the line will not appear in the model picker.";
|
|
300
|
+
readonly catalogEmpty: "Ollama returned no models.";
|
|
301
|
+
readonly catalogNeedKey: "Add an API key before syncing the model list.";
|
|
302
|
+
readonly catalogFailed: "Could not read the model list from Ollama.";
|
|
303
|
+
readonly modelCount: "{count} model(s)";
|
|
304
|
+
readonly noModels: "No models available.";
|
|
305
|
+
readonly selectAll: "Select all";
|
|
306
|
+
readonly unselectAll: "Clear all";
|
|
307
|
+
readonly noneSelected: "No models are selected, so this line will not appear in the model picker.";
|
|
308
|
+
readonly limitsSection: "Documented limits";
|
|
309
|
+
readonly limitsHint: "Ollama Cloud documents these limits; this line does not work around them:";
|
|
310
|
+
readonly limitNoStateful: "No stateful Responses (stateless only).";
|
|
311
|
+
readonly limitNoWebSearch: "No built-in web search through /v1/responses.";
|
|
312
|
+
readonly limitNoToolReplay: "No replay of custom tool calls.";
|
|
313
|
+
readonly limitUsage: "Ollama has no quota or remaining-balance API (upstream issues #15132 and #15663 were both closed), so this card can show what has been consumed but not what is left.";
|
|
314
|
+
readonly wireNote: "Requests use the OpenAI-compatible surface (/v1) and fall back to the native surface (/api/chat) when needed.";
|
|
315
|
+
readonly lastModel: "Last model";
|
|
316
|
+
readonly keyCreated: "Added";
|
|
317
|
+
readonly error: "Action failed: {detail}";
|
|
318
|
+
readonly usageTitle: "Consumed so far";
|
|
319
|
+
readonly usageInput: "in {tokens}";
|
|
320
|
+
readonly usageOutput: "out {tokens}";
|
|
321
|
+
readonly usageRequests: "{count} request(s)";
|
|
322
|
+
readonly usageNone: "No requests yet";
|
|
323
|
+
readonly usageHint: "Summed locally from the token counts Ollama returns on each response.";
|
|
324
|
+
readonly accountPool: string;
|
|
325
|
+
readonly accountCount: string;
|
|
326
|
+
readonly primaryAccount: string;
|
|
327
|
+
readonly activeAccount: string;
|
|
328
|
+
readonly setPrimary: string;
|
|
329
|
+
readonly deleteAccount: string;
|
|
330
|
+
readonly cooling: string;
|
|
331
|
+
readonly cooldownLeft: string;
|
|
332
|
+
readonly clearCooldown: string;
|
|
333
|
+
readonly rotationStrategy: string;
|
|
334
|
+
readonly strategySequential: string;
|
|
335
|
+
readonly strategyRoundRobin: string;
|
|
336
|
+
readonly strategySticky: string;
|
|
337
|
+
readonly storage: string;
|
|
338
|
+
readonly email: string;
|
|
339
|
+
readonly expires: string;
|
|
340
|
+
readonly lastUsed: string;
|
|
341
|
+
readonly accountId: string;
|
|
342
|
+
};
|
|
343
|
+
'en-US': {
|
|
344
|
+
readonly relogin: "Replace Key";
|
|
345
|
+
readonly needsRelogin: "Key rejected";
|
|
346
|
+
readonly addAccount: "Add API Key";
|
|
347
|
+
readonly noAccounts: "No API keys yet. Click \"Add API Key\" to paste one from ollama.com.";
|
|
348
|
+
readonly storageNotice: "API keys are stored locally by the Host and never sent to the browser.";
|
|
349
|
+
readonly title: "Ollama";
|
|
350
|
+
readonly pageDesc: "Connect Ollama Cloud with several API keys pooled for rotation and failover.";
|
|
351
|
+
readonly provider: "Provider";
|
|
352
|
+
readonly providerValue: "Ollama · ollama";
|
|
353
|
+
readonly routeOwned: "Model route served by this plugin";
|
|
354
|
+
readonly routeConflict: "The model route is already owned by another provider: {detail}";
|
|
355
|
+
readonly keySection: "Add an API key";
|
|
356
|
+
readonly keyHint: "Create a key at https://ollama.com/settings/keys and paste it here. Keys do not expire and can be revoked from that page.";
|
|
357
|
+
readonly keyPlaceholder: "Paste an Ollama API key";
|
|
358
|
+
readonly keyAliasLabel: "Label (optional)";
|
|
359
|
+
readonly keyAliasPlaceholder: "e.g. primary, backup";
|
|
360
|
+
readonly keyAliasHint: "Ollama reports no account identity, so labels are what tell several keys apart.";
|
|
361
|
+
readonly keySave: "Add";
|
|
362
|
+
readonly keySaving: "Adding...";
|
|
363
|
+
readonly modelsSection: "Models";
|
|
364
|
+
readonly modelsHint: "The list comes from Ollama '/api/tags' and tracks the service, so there is nothing to maintain by hand.";
|
|
365
|
+
readonly catalogSync: "Sync model list";
|
|
366
|
+
readonly catalogSyncing: "Syncing...";
|
|
367
|
+
readonly catalogNeverSynced: "The model list has not been synced yet. Use \"Sync model list\" above to fetch the models your account can use - until then this list is empty and the line will not appear in the model picker.";
|
|
368
|
+
readonly catalogEmpty: "Ollama returned no models.";
|
|
369
|
+
readonly catalogNeedKey: "Add an API key before syncing the model list.";
|
|
370
|
+
readonly catalogFailed: "Could not read the model list from Ollama.";
|
|
371
|
+
readonly modelCount: "{count} model(s)";
|
|
372
|
+
readonly noModels: "No models available.";
|
|
373
|
+
readonly selectAll: "Select all";
|
|
374
|
+
readonly unselectAll: "Clear all";
|
|
375
|
+
readonly noneSelected: "No models are selected, so this line will not appear in the model picker.";
|
|
376
|
+
readonly limitsSection: "Documented limits";
|
|
377
|
+
readonly limitsHint: "Ollama Cloud documents these limits; this line does not work around them:";
|
|
378
|
+
readonly limitNoStateful: "No stateful Responses (stateless only).";
|
|
379
|
+
readonly limitNoWebSearch: "No built-in web search through /v1/responses.";
|
|
380
|
+
readonly limitNoToolReplay: "No replay of custom tool calls.";
|
|
381
|
+
readonly limitUsage: "Ollama has no quota or remaining-balance API (upstream issues #15132 and #15663 were both closed), so this card can show what has been consumed but not what is left.";
|
|
382
|
+
readonly wireNote: "Requests use the OpenAI-compatible surface (/v1) and fall back to the native surface (/api/chat) when needed.";
|
|
383
|
+
readonly lastModel: "Last model";
|
|
384
|
+
readonly keyCreated: "Added";
|
|
385
|
+
readonly error: "Action failed: {detail}";
|
|
386
|
+
readonly usageTitle: "Consumed so far";
|
|
387
|
+
readonly usageInput: "in {tokens}";
|
|
388
|
+
readonly usageOutput: "out {tokens}";
|
|
389
|
+
readonly usageRequests: "{count} request(s)";
|
|
390
|
+
readonly usageNone: "No requests yet";
|
|
391
|
+
readonly usageHint: "Summed locally from the token counts Ollama returns on each response.";
|
|
392
|
+
readonly accountPool: string;
|
|
393
|
+
readonly accountCount: string;
|
|
394
|
+
readonly primaryAccount: string;
|
|
395
|
+
readonly activeAccount: string;
|
|
396
|
+
readonly setPrimary: string;
|
|
397
|
+
readonly deleteAccount: string;
|
|
398
|
+
readonly cooling: string;
|
|
399
|
+
readonly cooldownLeft: string;
|
|
400
|
+
readonly clearCooldown: string;
|
|
401
|
+
readonly rotationStrategy: string;
|
|
402
|
+
readonly strategySequential: string;
|
|
403
|
+
readonly strategyRoundRobin: string;
|
|
404
|
+
readonly strategySticky: string;
|
|
405
|
+
readonly storage: string;
|
|
406
|
+
readonly email: string;
|
|
407
|
+
readonly expires: string;
|
|
408
|
+
readonly lastUsed: string;
|
|
409
|
+
readonly accountId: string;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
export type OllamaLocaleKey = keyof typeof zh;
|
|
413
|
+
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/ollama/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,eAAe,CAAA;AAErC,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEL,CAAA;AAEV,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDL,CAAA;AAIV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/adapter.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EAEV,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAA;AAU7B,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,KAAK,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAG/G,OAAO,EAOL,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAA;AAIpB,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,SAAS,MAAM,EAAE,EAC1B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAC/B,iBAAiB,GAAG,SAAS,CAc/B;AAED,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAEpD,qBAAa,kBAAmB,SAAQ,UAAU;IAI9C,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC;IAC7B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAN1B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAkB;gBAG3B,KAAK,sBAA4B,EACjC,aAAa,yBAA+B,EAC5C,WAAW,CAAC,EAAE,0BAA0B,YAAA,EACxC,OAAO,GAAE;QAAE,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;QAAC,WAAW,CAAC,EAAE,qBAAqB,CAAA;KAAO,EAC9F,WAAW,CAAC,EAAE,gBAAgB;IAMhC,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe;IAI/C,mBAAmB,IAAI,SAAS;IAIhC,mBAAmB,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS;IAI7D,UAAU,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,YAAY,EAAE,CAAC;IAmB/D,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAwCpG,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAO/F,MAAM,CAAC,OAAO,EAAE,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;YAwBpD,aAAa;CAuI7B"}
|
|
@@ -96,11 +96,9 @@
|
|
|
96
96
|
* importing it before it exists would make this adapter uncompilable, and
|
|
97
97
|
* importing it afterwards changes nothing, because the only methods used are
|
|
98
98
|
* the five in {@link ClaudeAccountPoolLike}.
|
|
99
|
-
* - A2.
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* catalog. Loading it per request would add a cached round trip that cannot
|
|
103
|
-
* change a byte of the body.
|
|
99
|
+
* - A2. When no fixed output default was materialized, the request path reads
|
|
100
|
+
* the cached catalog to preserve its wire cap independently of compaction
|
|
101
|
+
* reservation metadata. Thinking forms still come from the frozen catalog.
|
|
104
102
|
* - A3. A 429 with no `retry-after` and no reset instant cools the account for
|
|
105
103
|
* {@link POOL_COOLDOWN_MS}. That is deliberately shorter than the 5-hour
|
|
106
104
|
* window: an account parked for hours after a burst limit recovers would cost
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/claude/adapter.ts"],"names":[],"mappings":"AAAA
|
|
1
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