@eddyskywalker/dsh-chatgpt-subscription 0.53.0 → 0.55.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 +25 -0
- package/README.md +14 -8
- package/lib/client.js +228 -25
- package/lib/client.js.map +1 -1
- package/lib/{entry-progress-updates-BEkdyDZU.js → entry-progress-updates-CxQewio9.js} +4 -2
- package/lib/index.js +21037 -18892
- package/lib/progress-updates.js +1 -1
- package/lib/types/client/common/host-locale-mirror.d.ts +24 -0
- package/lib/types/client/common/host-locale-mirror.d.ts.map +1 -0
- package/lib/types/client/hub/HubOverview.d.ts.map +1 -1
- package/lib/types/client/hub/providers.d.ts +18 -1
- package/lib/types/client/hub/providers.d.ts.map +1 -1
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/locales-ru/hub.d.ts.map +1 -1
- package/lib/types/client/locales-ru/progress-updates.d.ts.map +1 -1
- package/lib/types/client/locales.d.ts +27 -1
- package/lib/types/client/locales.d.ts.map +1 -1
- package/lib/types/client/progress-updates/locales.d.ts +11 -2
- package/lib/types/client/progress-updates/locales.d.ts.map +1 -1
- package/lib/types/client/progress-updates/settings-binding.d.ts +4 -2
- 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/compat.d.ts +35 -16
- package/lib/types/compat.d.ts.map +1 -1
- package/lib/types/host/adapter.d.ts +1 -1
- package/lib/types/host/adapter.d.ts.map +1 -1
- package/lib/types/host/antigravity/adapter.d.ts.map +1 -1
- package/lib/types/host/antigravity/mapper.d.ts +4 -24
- package/lib/types/host/antigravity/mapper.d.ts.map +1 -1
- package/lib/types/host/antigravity/types.d.ts +7 -1
- package/lib/types/host/antigravity/types.d.ts.map +1 -1
- package/lib/types/host/claude/adapter.d.ts.map +1 -1
- package/lib/types/host/claude/client.d.ts +19 -3
- package/lib/types/host/claude/client.d.ts.map +1 -1
- package/lib/types/host/claude/mapper.d.ts +105 -8
- package/lib/types/host/claude/mapper.d.ts.map +1 -1
- package/lib/types/host/claude/model-catalog.d.ts +97 -9
- package/lib/types/host/claude/model-catalog.d.ts.map +1 -1
- package/lib/types/host/claude/types.d.ts +21 -2
- package/lib/types/host/claude/types.d.ts.map +1 -1
- package/lib/types/host/cline-pass/adapter.d.ts +9 -1
- package/lib/types/host/cline-pass/adapter.d.ts.map +1 -1
- package/lib/types/host/cline-pass/mapper.d.ts +18 -0
- package/lib/types/host/cline-pass/mapper.d.ts.map +1 -1
- package/lib/types/host/cline-pass/types.d.ts +8 -2
- package/lib/types/host/cline-pass/types.d.ts.map +1 -1
- package/lib/types/host/codex-account-pool.d.ts.map +1 -1
- package/lib/types/host/codex-catalog.d.ts +9 -0
- package/lib/types/host/codex-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 +44 -2
- package/lib/types/host/command-code/mapper.d.ts.map +1 -1
- package/lib/types/host/command-code/model-catalog.d.ts +53 -11
- package/lib/types/host/command-code/model-catalog.d.ts.map +1 -1
- package/lib/types/host/command-code/routes.d.ts +6 -0
- package/lib/types/host/command-code/routes.d.ts.map +1 -1
- package/lib/types/host/command-code/types.d.ts +24 -3
- package/lib/types/host/command-code/types.d.ts.map +1 -1
- package/lib/types/host/common/account-pool.d.ts +33 -3
- package/lib/types/host/common/account-pool.d.ts.map +1 -1
- package/lib/types/host/common/i18n/en.d.ts +9 -0
- package/lib/types/host/common/i18n/en.d.ts.map +1 -0
- package/lib/types/host/common/i18n/index.d.ts +13 -0
- package/lib/types/host/common/i18n/index.d.ts.map +1 -0
- package/lib/types/host/common/i18n/provider-name.d.ts +10 -0
- package/lib/types/host/common/i18n/provider-name.d.ts.map +1 -0
- package/lib/types/host/common/i18n/ru.d.ts +10 -0
- package/lib/types/host/common/i18n/ru.d.ts.map +1 -0
- package/lib/types/host/common/i18n/runtime.d.ts +54 -0
- package/lib/types/host/common/i18n/runtime.d.ts.map +1 -0
- package/lib/types/host/common/i18n/t.d.ts +38 -0
- package/lib/types/host/common/i18n/t.d.ts.map +1 -0
- package/lib/types/host/common/i18n/zh.d.ts +167 -0
- package/lib/types/host/common/i18n/zh.d.ts.map +1 -0
- package/lib/types/host/common/idle-watchdog.d.ts +27 -7
- package/lib/types/host/common/idle-watchdog.d.ts.map +1 -1
- package/lib/types/host/common/model-request-control.d.ts.map +1 -1
- package/lib/types/host/glm-coding-plan/adapter.d.ts.map +1 -1
- package/lib/types/host/glm-coding-plan/client.d.ts.map +1 -1
- package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts +111 -31
- package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts.map +1 -1
- package/lib/types/host/glm-coding-plan/mapper-openai.d.ts.map +1 -1
- package/lib/types/host/glm-coding-plan/model-catalog.d.ts +12 -3
- package/lib/types/host/glm-coding-plan/model-catalog.d.ts.map +1 -1
- package/lib/types/host/glm-coding-plan/oauth.d.ts.map +1 -1
- package/lib/types/host/glm-coding-plan/routes.d.ts.map +1 -1
- package/lib/types/host/glm-coding-plan/types.d.ts +88 -3
- package/lib/types/host/glm-coding-plan/types.d.ts.map +1 -1
- package/lib/types/host/kimi-code/account-pool.d.ts +2 -2
- package/lib/types/host/kimi-code/account-pool.d.ts.map +1 -1
- package/lib/types/host/kimi-code/adapter.d.ts.map +1 -1
- package/lib/types/host/kimi-code/cache-wait.d.ts +28 -6
- package/lib/types/host/kimi-code/cache-wait.d.ts.map +1 -1
- package/lib/types/host/kimi-code/oauth.d.ts +21 -1
- package/lib/types/host/kimi-code/oauth.d.ts.map +1 -1
- package/lib/types/host/kimi-code/types.d.ts +19 -1
- package/lib/types/host/kimi-code/types.d.ts.map +1 -1
- package/lib/types/host/minimax-code/adapter.d.ts.map +1 -1
- package/lib/types/host/minimax-code/types.d.ts +7 -1
- package/lib/types/host/minimax-code/types.d.ts.map +1 -1
- package/lib/types/host/model-catalog.d.ts +14 -0
- package/lib/types/host/model-catalog.d.ts.map +1 -1
- package/lib/types/host/ollama/adapter.d.ts.map +1 -1
- package/lib/types/host/ollama/types.d.ts +10 -0
- package/lib/types/host/ollama/types.d.ts.map +1 -1
- package/lib/types/host/opendesign/adapter.d.ts.map +1 -1
- package/lib/types/host/opendesign/mapper.d.ts +31 -0
- package/lib/types/host/opendesign/mapper.d.ts.map +1 -1
- package/lib/types/host/opendesign/types.d.ts +8 -2
- package/lib/types/host/opendesign/types.d.ts.map +1 -1
- package/lib/types/host/progress-updates/prompt.d.ts +1 -1
- package/lib/types/host/progress-updates/prompt.d.ts.map +1 -1
- package/lib/types/host/qoder/account-pool.d.ts.map +1 -1
- package/lib/types/host/qoder/adapter.d.ts.map +1 -1
- package/lib/types/host/qoder/client.d.ts.map +1 -1
- package/lib/types/host/qoder/mapper.d.ts +9 -0
- package/lib/types/host/qoder/mapper.d.ts.map +1 -1
- 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/qoder/token-store.d.ts.map +1 -1
- package/lib/types/host/responses-client.d.ts +22 -2
- package/lib/types/host/responses-client.d.ts.map +1 -1
- package/lib/types/host/responses-mapper.d.ts +44 -4
- package/lib/types/host/responses-mapper.d.ts.map +1 -1
- package/lib/types/host/routes.d.ts.map +1 -1
- package/lib/types/host/step-code/account-pool.d.ts.map +1 -1
- package/lib/types/host/step-code/adapter.d.ts.map +1 -1
- package/lib/types/host/step-code/client.d.ts +8 -0
- package/lib/types/host/step-code/client.d.ts.map +1 -1
- package/lib/types/host/step-code/mapper.d.ts +9 -5
- package/lib/types/host/step-code/mapper.d.ts.map +1 -1
- package/lib/types/host/step-code/model-catalog.d.ts +17 -0
- package/lib/types/host/step-code/model-catalog.d.ts.map +1 -1
- package/lib/types/host/step-code/oauth.d.ts.map +1 -1
- package/lib/types/host/step-code/routes.d.ts.map +1 -1
- package/lib/types/host/step-code/token-store.d.ts.map +1 -1
- package/lib/types/host/wire-auth.d.ts +31 -0
- package/lib/types/host/wire-auth.d.ts.map +1 -1
- package/lib/types/host/workbuddy/account-pool.d.ts.map +1 -1
- package/lib/types/host/workbuddy/adapter.d.ts.map +1 -1
- package/lib/types/host/workbuddy/oauth.d.ts.map +1 -1
- package/lib/types/host/workbuddy/types.d.ts +7 -1
- package/lib/types/host/workbuddy/types.d.ts.map +1 -1
- package/lib/types/index.d.ts +8 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/i18n-contracts.d.ts +35 -0
- package/lib/types/shared/i18n-contracts.d.ts.map +1 -0
- package/lib/types/shared/model-catalog.d.ts +58 -12
- package/lib/types/shared/model-catalog.d.ts.map +1 -1
- package/locale/progress-updates/ru.json +6 -0
- package/package.json +1 -1
package/lib/progress-updates.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as name, n as attachProgressSettings, r as inject, t as apply } from "./entry-progress-updates-
|
|
1
|
+
import { i as name, n as attachProgressSettings, r as inject, t as apply } from "./entry-progress-updates-CxQewio9.js";
|
|
2
2
|
export { apply, attachProgressSettings, inject, name };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Publish the browser's resolved language to the Host.
|
|
3
|
+
*
|
|
4
|
+
* The Host cannot see the browser: the active language is resolved on this side
|
|
5
|
+
* (an explicit preference, else the browser's own languages) and exists only in
|
|
6
|
+
* the locale runtime. Everything the Host says on its own — a provider name in
|
|
7
|
+
* the model picker, a quota failure, a progress update — is composed far from
|
|
8
|
+
* here, so the resolved value is mirrored once on install and again on every
|
|
9
|
+
* switch.
|
|
10
|
+
*
|
|
11
|
+
* A failed mirror is silent on purpose: an older harness without the route, or
|
|
12
|
+
* a Host that is restarting, must not break a settings page that otherwise
|
|
13
|
+
* renders fine in the default language.
|
|
14
|
+
* @module dsh-chatgpt-subscription/client/host-locale-mirror
|
|
15
|
+
*/
|
|
16
|
+
import type { LocaleRuntime } from '@deepseek-ai/dsh-client-locale/client';
|
|
17
|
+
/**
|
|
18
|
+
* Mirror the active locale into the Host, now and on every later switch.
|
|
19
|
+
*
|
|
20
|
+
* @param locale - The plugin context's locale runtime, when the harness has one.
|
|
21
|
+
* @returns Teardown for the subscription; a no-op when there is no runtime.
|
|
22
|
+
*/
|
|
23
|
+
export declare function installHostLocaleMirror(locale: LocaleRuntime | undefined): () => void;
|
|
24
|
+
//# sourceMappingURL=host-locale-mirror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-locale-mirror.d.ts","sourceRoot":"","sources":["../../../../src/client/common/host-locale-mirror.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAO1E;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,aAAa,GAAG,SAAS,GAAG,MAAM,IAAI,CA8CrF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HubOverview.d.ts","sourceRoot":"","sources":["../../../../src/client/hub/HubOverview.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAGnE,OAAO,KAAK,EAAkB,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAE1F,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,eAAe,CAAA;AAEvC,OAAO,
|
|
1
|
+
{"version":3,"file":"HubOverview.d.ts","sourceRoot":"","sources":["../../../../src/client/hub/HubOverview.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAGnE,OAAO,KAAK,EAAkB,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAE1F,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,eAAe,CAAA;AAEvC,OAAO,EAA8B,KAAK,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAExF,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,CAAC,CAAA;AAEtD,UAAU,KAAK;IACb,CAAC,EAAE,YAAY,CAAA;IACf,MAAM,CAAC,EAAE,EAAE,qBAAqB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;CAC9C;AAWD,yEAAyE;AACzE,wBAAgB,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,SAAS,EAAE,UAAU,EAAE,qBAAqB,EAAE,CAAC,EAAE,YAAY,GAAG,MAAM,CAcrI;AAED,wBAAgB,WAAW,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA6EnE"}
|
|
@@ -19,7 +19,11 @@ export interface HubDetailRenderProps {
|
|
|
19
19
|
}
|
|
20
20
|
export interface HubProviderDescriptor {
|
|
21
21
|
id: HubProviderId;
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Neutral literal name, used when the active language pack has no entry for
|
|
24
|
+
* this card. The rendering path asks the dictionary first (see
|
|
25
|
+
* {@link hubCardName}); this is the fallback, not the usual output.
|
|
26
|
+
*/
|
|
23
27
|
name: string;
|
|
24
28
|
/**
|
|
25
29
|
* Commit an enable/disable to the line's own settings endpoint.
|
|
@@ -33,6 +37,19 @@ export interface HubProviderDescriptor {
|
|
|
33
37
|
renderDetail(props: HubDetailRenderProps): ReactElement;
|
|
34
38
|
}
|
|
35
39
|
/** Card order on the overview; also the former tab order. */
|
|
40
|
+
/**
|
|
41
|
+
* Card name for one provider in the language in force.
|
|
42
|
+
*
|
|
43
|
+
* The dictionary owns the name so a language pack can translate it; the
|
|
44
|
+
* descriptor's literal is what a build without that key renders, and comparing
|
|
45
|
+
* the lookup against the key itself is how a miss is recognised (the locale
|
|
46
|
+
* service answers with the key when nothing declares it).
|
|
47
|
+
*
|
|
48
|
+
* @param descriptor - Provider whose card is being rendered.
|
|
49
|
+
* @param t - Bound translator of the hub's namespace.
|
|
50
|
+
* @returns Localized card name.
|
|
51
|
+
*/
|
|
52
|
+
export declare function hubCardName(descriptor: HubProviderDescriptor, t: (key: string) => string): string;
|
|
36
53
|
export declare const HUB_PROVIDERS: readonly HubProviderDescriptor[];
|
|
37
54
|
export declare function hubProviderDescriptor(id: string): HubProviderDescriptor | undefined;
|
|
38
55
|
//# sourceMappingURL=providers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../../../src/client/hub/providers.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AA2BpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEtD,uDAAuD;AACvD,MAAM,WAAW,oBAAoB;IACnC,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,CAAA;IACvB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,gFAAgF;IAChF,OAAO,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAA;CAC1C;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,aAAa,CAAA;IACjB
|
|
1
|
+
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../../../src/client/hub/providers.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AA2BpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEtD,uDAAuD;AACvD,MAAM,WAAW,oBAAoB;IACnC,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,CAAA;IACvB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,gFAAgF;IAChF,OAAO,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAA;CAC1C;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,aAAa,CAAA;IACjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;OAOG;IACH,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAA;IACxD,YAAY,CAAC,KAAK,EAAE,oBAAoB,GAAG,YAAY,CAAA;CACxD;AA4BD,6DAA6D;AAC7D;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,UAAU,EAAE,qBAAqB,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,MAAM,CAIjG;AAED,eAAO,MAAM,aAAa,EAAE,SAAS,qBAAqB,EAuFzD,CAAA;AAED,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAEnF"}
|
|
@@ -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;
|
|
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;AAS/D,OAAO,EAAoD,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAGtH,OAAO,EAA0C,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAGlG,OAAO,EAAqD,K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E,kBAAkB,CAAA;QACnC,uBAAuB,EAAE,iBAAiB,CAAA;KAC3C;CACF;AAED,eAAO,MAAM,MAAM,UAQlB,CAAA;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,aAAa,GAAG,IAAI,CAoP9C"}
|
|
@@ -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,CA6NhD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-updates.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/progress-updates.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAA;AAE9E,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,wBAAwB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"progress-updates.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/progress-updates.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAA;AAE9E,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,wBAAwB,EAAE,MAAM,CA6C/D,CAAA"}
|
|
@@ -193,6 +193,19 @@ export declare const zh: {
|
|
|
193
193
|
readonly stopImportingLabel: "停止导入全部本机登录(当前 {count} 个)";
|
|
194
194
|
readonly stopImportingBusy: "停止导入中…";
|
|
195
195
|
readonly stopImportingHint: "停止导入只会让本插件忘记本机 CLI 登录的副本;Codex CLI 自己的登录文件不会被删除或修改。账号池不允许逐条删除借来的凭据,所以这里一次会停止全部导入。";
|
|
196
|
+
readonly 'cardName.chatgpt': "ChatGPT";
|
|
197
|
+
readonly 'cardName.antigravity': "Antigravity";
|
|
198
|
+
readonly 'cardName.command-code': "Command Code";
|
|
199
|
+
readonly 'cardName.kimi-code': "Kimi Code";
|
|
200
|
+
readonly 'cardName.minimax-code': "MiniMax Code";
|
|
201
|
+
readonly 'cardName.glm-coding-plan': "GLM(ZCode 账号)";
|
|
202
|
+
readonly 'cardName.claude': "Claude";
|
|
203
|
+
readonly 'cardName.ollama': "Ollama";
|
|
204
|
+
readonly 'cardName.step-code': "Step Code(Step Plan 订阅)";
|
|
205
|
+
readonly 'cardName.cline-pass': "Cline Pass";
|
|
206
|
+
readonly 'cardName.qoder': "Qoder(订阅)";
|
|
207
|
+
readonly 'cardName.opendesign': "OpenDesign";
|
|
208
|
+
readonly 'cardName.workbuddy': "WorkBuddy";
|
|
196
209
|
readonly modelChecklistCount: "已启用 {count}/{total}";
|
|
197
210
|
readonly accountPool: string;
|
|
198
211
|
readonly addAccount: string;
|
|
@@ -422,6 +435,19 @@ export declare const dictionaries: {
|
|
|
422
435
|
readonly stopImportingLabel: "停止导入全部本机登录(当前 {count} 个)";
|
|
423
436
|
readonly stopImportingBusy: "停止导入中…";
|
|
424
437
|
readonly stopImportingHint: "停止导入只会让本插件忘记本机 CLI 登录的副本;Codex CLI 自己的登录文件不会被删除或修改。账号池不允许逐条删除借来的凭据,所以这里一次会停止全部导入。";
|
|
438
|
+
readonly 'cardName.chatgpt': "ChatGPT";
|
|
439
|
+
readonly 'cardName.antigravity': "Antigravity";
|
|
440
|
+
readonly 'cardName.command-code': "Command Code";
|
|
441
|
+
readonly 'cardName.kimi-code': "Kimi Code";
|
|
442
|
+
readonly 'cardName.minimax-code': "MiniMax Code";
|
|
443
|
+
readonly 'cardName.glm-coding-plan': "GLM(ZCode 账号)";
|
|
444
|
+
readonly 'cardName.claude': "Claude";
|
|
445
|
+
readonly 'cardName.ollama': "Ollama";
|
|
446
|
+
readonly 'cardName.step-code': "Step Code(Step Plan 订阅)";
|
|
447
|
+
readonly 'cardName.cline-pass': "Cline Pass";
|
|
448
|
+
readonly 'cardName.qoder': "Qoder(订阅)";
|
|
449
|
+
readonly 'cardName.opendesign': "OpenDesign";
|
|
450
|
+
readonly 'cardName.workbuddy': "WorkBuddy";
|
|
425
451
|
readonly modelChecklistCount: "已启用 {count}/{total}";
|
|
426
452
|
readonly accountPool: string;
|
|
427
453
|
readonly addAccount: string;
|
|
@@ -454,6 +480,6 @@ export declare const dictionaries: {
|
|
|
454
480
|
readonly quotaFactsScope: string;
|
|
455
481
|
readonly composerLabel: string;
|
|
456
482
|
};
|
|
457
|
-
en: Record<"stale" | "image" | "quota" | "account" | "rotationStrategy" | "pending" | "accountId" | "relogin" | "used" | "tokens" | "title" | "hubTitle" | "intro" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "cancel" | "signOut" | "refreshToken" | "popupBlocked" | "continueLogin" | "loading" | "connection" | "testConnection" | "testing" | "latency" | "selectAll" | "unselectAll" | "models" | "modelsHint" | "proxySettings" | "proxyMode" | "proxyModeHint" | "proxyModeAuto" | "proxyModeCustom" | "proxyModeDirect" | "customProxyUrl" | "customProxyUrlHint" | "customProxyUrlPlaceholder" | "saveProxyUrl" | "proxyDetected" | "proxyDetectedEffective" | "proxyNoneDetected" | "proxyDirectHint" | "poolStorageTitle" | "poolStorageKeyring" | "poolStorageCredentials" | "poolStorageKeyringHint" | "poolStorageCredentialsHint" | "poolStorageEffective" | "poolStorageBackendKeyring" | "poolStorageBackendDpapi" | "poolStorageBackendKeychain" | "poolStorageBackendCredentials" | "poolStorageSwitchWarning" | "poolStorageUnavailableKeyring" | "poolStorageUnavailableCredentials" | "poolStorageUnavailableStore" | "enhancements" | "fastMode" | "fastModeHint" | "outputVerbosity" | "outputVerbosityHint" | "verbosityLow" | "verbosityMedium" | "verbosityHigh" | "reasoningSummary" | "reasoningSummaryHint" | "summaryAuto" | "summaryConcise" | "summaryDetailed" | "summaryNone" | "searchProvider" | "searchProviderHint" | "searchProviderDsh" | "searchProviderCodex" | "fetchStatus" | "fetchStatusHint" | "fetchConfiguredProvider" | "fetchProviderDshDefault" | "switcherState" | "switcherStateIdle" | "switcherStateApplying" | "switcherStateApplied" | "switcherStateMissing" | "switcherStateFailed" | "fetchMode" | "fetchModeAuto" | "fetchModePlugin" | "fetchModeDsh" | "fetchMaxBodyChars" | "fetchMaxResponseBytes" | "characters" | "bytes" | "fetchLimitsInactive" | "fetchConfigSource" | "providerDefault" | "contextWindows" | "contextWindowsHint" | "contextWindow" | "contextWindowInvalid" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "contextWindowsNoneEnabled" | "saveContextWindow" | "save" | "quickQuota" | "quickQuotaHint" | "quotaIntro" | "refreshQuota" | "refreshing" | "noQuota" | "quotaSignedOut" | "updated" | "primary" | "secondary" | "limitWindow" | "remaining" | "available" | "unavailable" | "unlimited" | "credits" | "monthlySpend" | "resetCredits" | "resetCreditExpires" | "useResetCredit" | "usingResetCredit" | "useResetCreditConfirm" | "resetCreditUsed" | "spendControlReached" | "limit" | "exhausted" | "resets" | "quickQuotaLabel" | "quickQuotaLoading" | "imageToolRunning" | "imageToolDone" | "imageToolFailed" | "openImage" | "openNamedImage" | "imageLoading" | "imageLoadFailed" | "imagePreviewClose" | "imagePreviewOpenOriginal" | "retry" | "unknown" | "hubBack" | "hubOverviewHint" | "hubAccountCount" | "hubNoAccounts" | "hubStateEnabled" | "hubStateDisabled" | "hubModelsEnabled" | "hubModelsEnabledOfTotal" | "hubStatusFailed" | "hubSwitchOn" | "hubSwitchOff" | "hubCardLabel" | "hubUpdateCheck" | "hubUpdateChecking" | "hubUpdateApply" | "hubUpdateApplying" | "hubUpdateUpToDate" | "hubUpdateLatestWithUnknownCurrent" | "hubUpdateAvailable" | "hubUpdateInstalled" | "hubUpdateInstalledReplaced" | "hubUpdateInstalledLive" | "hubUpdateInstalledReplacedLive" | "hubUpdateFailedRestored" | "hubUpdateFailedRollbackFailed" | "hubUpdateFailedRollbackSkipped" | "hubUpdateDevelopmentInstall" | "hubUpdatePluginManagerMissing" | "hubUpdateManualOnly" | "hubUpdateCheckFailed" | "hubUpdateCommandLabel" | "localCodexLoginImport" | "localCodexLoginImporting" | "deviceCodeLogin" | "deviceCodeLoginStarting" | "deviceCodeLoginDetail" | "deviceCodeHint" | "deviceCodeLabel" | "deviceCodeOpen" | "deviceCodeCopy" | "deviceCodeWaiting" | "stopImporting" | "stopImportingLabel" | "stopImportingBusy" | "stopImportingHint" | "modelChecklistCount" | "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", string>;
|
|
483
|
+
en: Record<"stale" | "image" | "quota" | "account" | "rotationStrategy" | "pending" | "accountId" | "relogin" | "used" | "tokens" | "title" | "hubTitle" | "intro" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "cancel" | "signOut" | "refreshToken" | "popupBlocked" | "continueLogin" | "loading" | "connection" | "testConnection" | "testing" | "latency" | "selectAll" | "unselectAll" | "models" | "modelsHint" | "proxySettings" | "proxyMode" | "proxyModeHint" | "proxyModeAuto" | "proxyModeCustom" | "proxyModeDirect" | "customProxyUrl" | "customProxyUrlHint" | "customProxyUrlPlaceholder" | "saveProxyUrl" | "proxyDetected" | "proxyDetectedEffective" | "proxyNoneDetected" | "proxyDirectHint" | "poolStorageTitle" | "poolStorageKeyring" | "poolStorageCredentials" | "poolStorageKeyringHint" | "poolStorageCredentialsHint" | "poolStorageEffective" | "poolStorageBackendKeyring" | "poolStorageBackendDpapi" | "poolStorageBackendKeychain" | "poolStorageBackendCredentials" | "poolStorageSwitchWarning" | "poolStorageUnavailableKeyring" | "poolStorageUnavailableCredentials" | "poolStorageUnavailableStore" | "enhancements" | "fastMode" | "fastModeHint" | "outputVerbosity" | "outputVerbosityHint" | "verbosityLow" | "verbosityMedium" | "verbosityHigh" | "reasoningSummary" | "reasoningSummaryHint" | "summaryAuto" | "summaryConcise" | "summaryDetailed" | "summaryNone" | "searchProvider" | "searchProviderHint" | "searchProviderDsh" | "searchProviderCodex" | "fetchStatus" | "fetchStatusHint" | "fetchConfiguredProvider" | "fetchProviderDshDefault" | "switcherState" | "switcherStateIdle" | "switcherStateApplying" | "switcherStateApplied" | "switcherStateMissing" | "switcherStateFailed" | "fetchMode" | "fetchModeAuto" | "fetchModePlugin" | "fetchModeDsh" | "fetchMaxBodyChars" | "fetchMaxResponseBytes" | "characters" | "bytes" | "fetchLimitsInactive" | "fetchConfigSource" | "providerDefault" | "contextWindows" | "contextWindowsHint" | "contextWindow" | "contextWindowInvalid" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "contextWindowsNoneEnabled" | "saveContextWindow" | "save" | "quickQuota" | "quickQuotaHint" | "quotaIntro" | "refreshQuota" | "refreshing" | "noQuota" | "quotaSignedOut" | "updated" | "primary" | "secondary" | "limitWindow" | "remaining" | "available" | "unavailable" | "unlimited" | "credits" | "monthlySpend" | "resetCredits" | "resetCreditExpires" | "useResetCredit" | "usingResetCredit" | "useResetCreditConfirm" | "resetCreditUsed" | "spendControlReached" | "limit" | "exhausted" | "resets" | "quickQuotaLabel" | "quickQuotaLoading" | "imageToolRunning" | "imageToolDone" | "imageToolFailed" | "openImage" | "openNamedImage" | "imageLoading" | "imageLoadFailed" | "imagePreviewClose" | "imagePreviewOpenOriginal" | "retry" | "unknown" | "hubBack" | "hubOverviewHint" | "hubAccountCount" | "hubNoAccounts" | "hubStateEnabled" | "hubStateDisabled" | "hubModelsEnabled" | "hubModelsEnabledOfTotal" | "hubStatusFailed" | "hubSwitchOn" | "hubSwitchOff" | "hubCardLabel" | "hubUpdateCheck" | "hubUpdateChecking" | "hubUpdateApply" | "hubUpdateApplying" | "hubUpdateUpToDate" | "hubUpdateLatestWithUnknownCurrent" | "hubUpdateAvailable" | "hubUpdateInstalled" | "hubUpdateInstalledReplaced" | "hubUpdateInstalledLive" | "hubUpdateInstalledReplacedLive" | "hubUpdateFailedRestored" | "hubUpdateFailedRollbackFailed" | "hubUpdateFailedRollbackSkipped" | "hubUpdateDevelopmentInstall" | "hubUpdatePluginManagerMissing" | "hubUpdateManualOnly" | "hubUpdateCheckFailed" | "hubUpdateCommandLabel" | "localCodexLoginImport" | "localCodexLoginImporting" | "deviceCodeLogin" | "deviceCodeLoginStarting" | "deviceCodeLoginDetail" | "deviceCodeHint" | "deviceCodeLabel" | "deviceCodeOpen" | "deviceCodeCopy" | "deviceCodeWaiting" | "stopImporting" | "stopImportingLabel" | "stopImportingBusy" | "stopImportingHint" | "cardName.chatgpt" | "cardName.antigravity" | "cardName.command-code" | "cardName.kimi-code" | "cardName.minimax-code" | "cardName.glm-coding-plan" | "cardName.claude" | "cardName.ollama" | "cardName.step-code" | "cardName.cline-pass" | "cardName.qoder" | "cardName.opendesign" | "cardName.workbuddy" | "modelChecklistCount" | "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", string>;
|
|
458
484
|
};
|
|
459
485
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../src/client/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE,EAAG,0BAAmC,CAAA;AAIrD,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../src/client/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE,EAAG,0BAAmC,CAAA;AAIrD,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwOL,CAAA;AAEV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CAkO9C,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,EAAE,CAAA;AACvC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAa,CAAA"}
|
|
@@ -42,6 +42,8 @@ export declare const zh: {
|
|
|
42
42
|
readonly settingsCacheWarmupNote: "Kimi Code 专用:投影大型日志结果,原文可通过 ref 按需补读;非 Kimi 线路开关无影响";
|
|
43
43
|
readonly settingsRetrievalName: "检索结果投影";
|
|
44
44
|
readonly settingsRetrievalNote: "Kimi Code 专用:导航任务中投影文件、网页与搜索,编辑审查保留原文;非 Kimi 线路开关无影响";
|
|
45
|
+
readonly settingsCacheWaitWarmupName: "等待缓存续热";
|
|
46
|
+
readonly settingsCacheWaitWarmupNote: "Kimi Code 专用:等待子代理期间每满 20 分钟自动触发一次轻量续热,只要子代理未完成就持续保活;非 Kimi 线路开关无影响";
|
|
45
47
|
readonly settingsPlanModePipelineName: "计划模式管线";
|
|
46
48
|
readonly settingsPlanModePipelineNote: "澄清访谈收敛后自动进入计划模式出计划,再交审批(仅调度模式生效);关闭后该模式会请用户手动输入 /plan";
|
|
47
49
|
readonly settingsDispatchExecutionGuardName: "调度执行守卫";
|
|
@@ -53,6 +55,7 @@ export declare const zh: {
|
|
|
53
55
|
readonly settingsLanguageAuto: "自动(跟随对话)";
|
|
54
56
|
readonly settingsLanguageZh: "中文";
|
|
55
57
|
readonly settingsLanguageEn: "English";
|
|
58
|
+
readonly settingsLanguageRu: "Русский";
|
|
56
59
|
readonly settingsPanelName: "进展面板";
|
|
57
60
|
readonly settingsPanelNote: "在右侧栏查看本次会话的全部进展";
|
|
58
61
|
readonly settingsUnavailable: "这项设置当前不可修改(宿主没有开放配置表单)";
|
|
@@ -91,6 +94,8 @@ export declare const dictionaries: {
|
|
|
91
94
|
readonly settingsCacheWarmupNote: "Kimi Code 专用:投影大型日志结果,原文可通过 ref 按需补读;非 Kimi 线路开关无影响";
|
|
92
95
|
readonly settingsRetrievalName: "检索结果投影";
|
|
93
96
|
readonly settingsRetrievalNote: "Kimi Code 专用:导航任务中投影文件、网页与搜索,编辑审查保留原文;非 Kimi 线路开关无影响";
|
|
97
|
+
readonly settingsCacheWaitWarmupName: "等待缓存续热";
|
|
98
|
+
readonly settingsCacheWaitWarmupNote: "Kimi Code 专用:等待子代理期间每满 20 分钟自动触发一次轻量续热,只要子代理未完成就持续保活;非 Kimi 线路开关无影响";
|
|
94
99
|
readonly settingsPlanModePipelineName: "计划模式管线";
|
|
95
100
|
readonly settingsPlanModePipelineNote: "澄清访谈收敛后自动进入计划模式出计划,再交审批(仅调度模式生效);关闭后该模式会请用户手动输入 /plan";
|
|
96
101
|
readonly settingsDispatchExecutionGuardName: "调度执行守卫";
|
|
@@ -102,6 +107,7 @@ export declare const dictionaries: {
|
|
|
102
107
|
readonly settingsLanguageAuto: "自动(跟随对话)";
|
|
103
108
|
readonly settingsLanguageZh: "中文";
|
|
104
109
|
readonly settingsLanguageEn: "English";
|
|
110
|
+
readonly settingsLanguageRu: "Русский";
|
|
105
111
|
readonly settingsPanelName: "进展面板";
|
|
106
112
|
readonly settingsPanelNote: "在右侧栏查看本次会话的全部进展";
|
|
107
113
|
readonly settingsUnavailable: "这项设置当前不可修改(宿主没有开放配置表单)";
|
|
@@ -136,6 +142,8 @@ export declare const dictionaries: {
|
|
|
136
142
|
readonly settingsCacheWarmupNote: "Kimi Code 专用:投影大型日志结果,原文可通过 ref 按需补读;非 Kimi 线路开关无影响";
|
|
137
143
|
readonly settingsRetrievalName: "检索结果投影";
|
|
138
144
|
readonly settingsRetrievalNote: "Kimi Code 专用:导航任务中投影文件、网页与搜索,编辑审查保留原文;非 Kimi 线路开关无影响";
|
|
145
|
+
readonly settingsCacheWaitWarmupName: "等待缓存续热";
|
|
146
|
+
readonly settingsCacheWaitWarmupNote: "Kimi Code 专用:等待子代理期间每满 20 分钟自动触发一次轻量续热,只要子代理未完成就持续保活;非 Kimi 线路开关无影响";
|
|
139
147
|
readonly settingsPlanModePipelineName: "计划模式管线";
|
|
140
148
|
readonly settingsPlanModePipelineNote: "澄清访谈收敛后自动进入计划模式出计划,再交审批(仅调度模式生效);关闭后该模式会请用户手动输入 /plan";
|
|
141
149
|
readonly settingsDispatchExecutionGuardName: "调度执行守卫";
|
|
@@ -147,13 +155,14 @@ export declare const dictionaries: {
|
|
|
147
155
|
readonly settingsLanguageAuto: "自动(跟随对话)";
|
|
148
156
|
readonly settingsLanguageZh: "中文";
|
|
149
157
|
readonly settingsLanguageEn: "English";
|
|
158
|
+
readonly settingsLanguageRu: "Русский";
|
|
150
159
|
readonly settingsPanelName: "进展面板";
|
|
151
160
|
readonly settingsPanelNote: "在右侧栏查看本次会话的全部进展";
|
|
152
161
|
readonly settingsUnavailable: "这项设置当前不可修改(宿主没有开放配置表单)";
|
|
153
162
|
readonly settingsSaveFailed: "保存失败,请稍后再试";
|
|
154
163
|
};
|
|
155
|
-
en: Record<"navTitle" | "progressTitle" | "progressGuideNote" | "markdownCopy" | "markdownCopied" | "markdownFootnotes" | "progressLatest" | "progressCount" | "progressExpand" | "progressCollapse" | "progressEmptyTitle" | "progressEmptyHint" | "rowPending" | "rowRunning" | "rowDone" | "rowError" | "rowExpand" | "rowCollapse" | "settingsHint" | "settingsOpen" | "settingsEnabledName" | "settingsEnabledNote" | "settingsCacheWarmupName" | "settingsCacheWarmupNote" | "settingsRetrievalName" | "settingsRetrievalNote" | "settingsPlanModePipelineName" | "settingsPlanModePipelineNote" | "settingsDispatchExecutionGuardName" | "settingsDispatchExecutionGuardNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsLanguageName" | "settingsLanguageNote" | "settingsLanguageAuto" | "settingsLanguageZh" | "settingsLanguageEn" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
|
|
156
|
-
'en-US': Record<"navTitle" | "progressTitle" | "progressGuideNote" | "markdownCopy" | "markdownCopied" | "markdownFootnotes" | "progressLatest" | "progressCount" | "progressExpand" | "progressCollapse" | "progressEmptyTitle" | "progressEmptyHint" | "rowPending" | "rowRunning" | "rowDone" | "rowError" | "rowExpand" | "rowCollapse" | "settingsHint" | "settingsOpen" | "settingsEnabledName" | "settingsEnabledNote" | "settingsCacheWarmupName" | "settingsCacheWarmupNote" | "settingsRetrievalName" | "settingsRetrievalNote" | "settingsPlanModePipelineName" | "settingsPlanModePipelineNote" | "settingsDispatchExecutionGuardName" | "settingsDispatchExecutionGuardNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsLanguageName" | "settingsLanguageNote" | "settingsLanguageAuto" | "settingsLanguageZh" | "settingsLanguageEn" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
|
|
164
|
+
en: Record<"navTitle" | "progressTitle" | "progressGuideNote" | "markdownCopy" | "markdownCopied" | "markdownFootnotes" | "progressLatest" | "progressCount" | "progressExpand" | "progressCollapse" | "progressEmptyTitle" | "progressEmptyHint" | "rowPending" | "rowRunning" | "rowDone" | "rowError" | "rowExpand" | "rowCollapse" | "settingsHint" | "settingsOpen" | "settingsEnabledName" | "settingsEnabledNote" | "settingsCacheWarmupName" | "settingsCacheWarmupNote" | "settingsRetrievalName" | "settingsRetrievalNote" | "settingsCacheWaitWarmupName" | "settingsCacheWaitWarmupNote" | "settingsPlanModePipelineName" | "settingsPlanModePipelineNote" | "settingsDispatchExecutionGuardName" | "settingsDispatchExecutionGuardNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsLanguageName" | "settingsLanguageNote" | "settingsLanguageAuto" | "settingsLanguageZh" | "settingsLanguageEn" | "settingsLanguageRu" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
|
|
165
|
+
'en-US': Record<"navTitle" | "progressTitle" | "progressGuideNote" | "markdownCopy" | "markdownCopied" | "markdownFootnotes" | "progressLatest" | "progressCount" | "progressExpand" | "progressCollapse" | "progressEmptyTitle" | "progressEmptyHint" | "rowPending" | "rowRunning" | "rowDone" | "rowError" | "rowExpand" | "rowCollapse" | "settingsHint" | "settingsOpen" | "settingsEnabledName" | "settingsEnabledNote" | "settingsCacheWarmupName" | "settingsCacheWarmupNote" | "settingsRetrievalName" | "settingsRetrievalNote" | "settingsCacheWaitWarmupName" | "settingsCacheWaitWarmupNote" | "settingsPlanModePipelineName" | "settingsPlanModePipelineNote" | "settingsDispatchExecutionGuardName" | "settingsDispatchExecutionGuardNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsLanguageName" | "settingsLanguageNote" | "settingsLanguageAuto" | "settingsLanguageZh" | "settingsLanguageEn" | "settingsLanguageRu" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
|
|
157
166
|
};
|
|
158
167
|
/** 本命名空间的字典键联合,供类型化 `t` 座位使用。 */
|
|
159
168
|
export type ProgressUpdatesLocaleKey = keyof typeof zh;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/progress-updates/locales.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAG,sBAA+B,CAAA;AAElE;;;;;;GAMG;AACH,eAAO,MAAM,EAAE;IACb,4BAA4B;;;IAG5B,4BAA4B
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/progress-updates/locales.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAG,sBAA+B,CAAA;AAElE;;;;;;GAMG;AACH,eAAO,MAAM,EAAE;IACb,4BAA4B;;;IAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CpB,CAAA;AAEV,wBAAwB;AACxB,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,wBAAwB,EAAE,MAAM,CA6CvD,CAAA;AAED,qCAAqC;AACrC,eAAO,MAAM,YAAY;;QAjGvB,4BAA4B;;;QAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAH5B,4BAA4B;;;QAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmG7B,CAAA;AAED,iCAAiC;AACjC,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,EAAE,CAAA;AAEtD,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,mBAAmB;QACnB,sBAAsB,EAAE,wBAAwB,CAAA;KACjD;CACF"}
|
|
@@ -49,11 +49,13 @@ export interface ProgressUpdatesSettingsValues {
|
|
|
49
49
|
* 的独立 bundle,把宿主模块拉进来只为拿一个联合类型不值得。两边的取值必须
|
|
50
50
|
* 逐字一致(宿主 Config schema 里的枚举就是这三个)。
|
|
51
51
|
*/
|
|
52
|
-
progressUpdatesLanguage?: 'auto' | 'zh' | 'en';
|
|
52
|
+
progressUpdatesLanguage?: 'auto' | 'zh' | 'en' | 'ru';
|
|
53
53
|
/** 既有日志/命令结果投影开关(默认开启)。 */
|
|
54
54
|
cacheWarmup?: boolean;
|
|
55
55
|
/** 检索型结果投影独立开关(默认开启)。 */
|
|
56
56
|
cacheWarmupRetrieval?: boolean;
|
|
57
|
+
/** 等待子代理期间的缓存持续续热开关(缺键 = 开)。 */
|
|
58
|
+
cacheWaitWarmup?: boolean;
|
|
57
59
|
/**
|
|
58
60
|
* 计划模式管线开关(缺键 = 开)。
|
|
59
61
|
*
|
|
@@ -74,7 +76,7 @@ export interface ProgressUpdatesSettingsValues {
|
|
|
74
76
|
/** 输出语言的三种取值,供界面侧声明变量类型。 */
|
|
75
77
|
export type ProgressUpdatesLanguage = NonNullable<ProgressUpdatesSettingsValues['progressUpdatesLanguage']>;
|
|
76
78
|
/** 表单可写的那三个字段名(联合类型,写错名字编译期就报)。 */
|
|
77
|
-
export type ProgressUpdatesField = 'progressUpdates' | 'progressUpdatesNudgeThreshold' | 'progressUpdatesLanguage' | 'cacheWarmup' | 'cacheWarmupRetrieval' | 'planModePipeline' | 'dispatchExecutionGuard';
|
|
79
|
+
export type ProgressUpdatesField = 'progressUpdates' | 'progressUpdatesNudgeThreshold' | 'progressUpdatesLanguage' | 'cacheWarmup' | 'cacheWarmupRetrieval' | 'cacheWaitWarmup' | 'planModePipeline' | 'dispatchExecutionGuard';
|
|
78
80
|
/**
|
|
79
81
|
* 候选条目 id,按可能性从高到低。
|
|
80
82
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-binding.d.ts","sourceRoot":"","sources":["../../../../src/client/progress-updates/settings-binding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,aAAa,CAAA;IAC3C,KAAK,EAAE,CAAC,GAAG,SAAS,CAAA;IACpB,IAAI,EAAE,OAAO,CAAA;IACb,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,QAAQ,EAAE,OAAO,CAAA;CAClB;AAQD;;;;;GAKG;AACH,MAAM,WAAW,6BAA6B;IAC5C,WAAW;IACX,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,0BAA0B;IAC1B,6BAA6B,CAAC,EAAE,MAAM,CAAA;IACtC;;;;;;OAMG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"settings-binding.d.ts","sourceRoot":"","sources":["../../../../src/client/progress-updates/settings-binding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,aAAa,CAAA;IAC3C,KAAK,EAAE,CAAC,GAAG,SAAS,CAAA;IACpB,IAAI,EAAE,OAAO,CAAA;IACb,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,QAAQ,EAAE,OAAO,CAAA;CAClB;AAQD;;;;;GAKG;AACH,MAAM,WAAW,6BAA6B;IAC5C,WAAW;IACX,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,0BAA0B;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O,CAAA;CAAE,GAAG,oBAAoB,GAAG,SAAS,CA4FhH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-section.d.ts","sourceRoot":"","sources":["../../../../src/client/progress-updates/settings-section.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAA6C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AACjF,OAAO,EAAqB,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACtE,OAAO,KAAK,EAEV,oBAAoB,EAIrB,MAAM,uBAAuB,CAAA;AAE9B,iCAAiC;AACjC,MAAM,WAAW,+BAA+B;IAC9C,iCAAiC;IACjC,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CAChC;AAED,6BAA6B;AAC7B,MAAM,WAAW,kBAAkB;IACjC,wBAAwB;IACxB,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB;AAED,6CAA6C;AAC7C,MAAM,MAAM,4BAA4B,GAAG,+BAA+B,GAAG,kBAAkB,GAAG,QAAQ,CAAA;AAE1G,8CAA8C;AAC9C,eAAO,MAAM,mBAAmB,IAAI,CAAA;AACpC,YAAY;AACZ,eAAO,MAAM,mBAAmB,KAAK,CAAA;AACrC,kDAAkD;AAClD,eAAO,MAAM,uBAAuB,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"settings-section.d.ts","sourceRoot":"","sources":["../../../../src/client/progress-updates/settings-section.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAA6C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AACjF,OAAO,EAAqB,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACtE,OAAO,KAAK,EAEV,oBAAoB,EAIrB,MAAM,uBAAuB,CAAA;AAE9B,iCAAiC;AACjC,MAAM,WAAW,+BAA+B;IAC9C,iCAAiC;IACjC,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CAChC;AAED,6BAA6B;AAC7B,MAAM,WAAW,kBAAkB;IACjC,wBAAwB;IACxB,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB;AAED,6CAA6C;AAC7C,MAAM,MAAM,4BAA4B,GAAG,+BAA+B,GAAG,kBAAkB,GAAG,QAAQ,CAAA;AAE1G,8CAA8C;AAC9C,eAAO,MAAM,mBAAmB,IAAI,CAAA;AACpC,YAAY;AACZ,eAAO,MAAM,mBAAmB,KAAK,CAAA;AACrC,kDAAkD;AAClD,eAAO,MAAM,uBAAuB,IAAI,CAAA;AA0KxC;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,4BAA4B,GAAG,SAAS,CAkT7F"}
|
package/lib/types/compat.d.ts
CHANGED
|
@@ -11,21 +11,26 @@ export declare const OAUTH_CALLBACK_PATH: "/auth/callback";
|
|
|
11
11
|
export declare const OAUTH_REDIRECT_URI: "http://localhost:1455/auth/callback";
|
|
12
12
|
export declare const OAUTH_SCOPE: "openid profile email offline_access";
|
|
13
13
|
/**
|
|
14
|
-
* The
|
|
15
|
-
* request, and the one OAuth sends during sign-in.
|
|
14
|
+
* The `originator` every request to the Codex backend presents.
|
|
16
15
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
|
|
16
|
+
* The backend keys behaviour off this value and treats it as one client
|
|
17
|
+
* identity, so it is a single constant for the whole request path - the
|
|
18
|
+
* responses endpoint, the model listing, the image and search endpoints all
|
|
19
|
+
* present the same one.
|
|
20
|
+
*
|
|
21
|
+
* The official CLI sends `codex_cli_rs`, and that is what this line sends now:
|
|
22
|
+
* the backend routes and gates on it, so presenting anything else makes this
|
|
23
|
+
* line a different client than the one the service is shaped for.
|
|
24
|
+
*/
|
|
25
|
+
export declare const CODEX_ORIGINATOR: "codex_cli_rs";
|
|
26
|
+
/**
|
|
27
|
+
* The `originator` the OAuth sign-in presents.
|
|
28
|
+
*
|
|
29
|
+
* Deliberately NOT the request originator. The sign-in exchange is a different
|
|
30
|
+
* surface with its own registration, and `opencode` is the value this line has
|
|
31
|
+
* always presented there; changing the sign-in identity is a separate risk from
|
|
32
|
+
* aligning the request identity, so the two are kept apart on purpose.
|
|
26
33
|
*/
|
|
27
|
-
export declare const CODEX_ORIGINATOR: "opencode";
|
|
28
|
-
/** OAuth presents the same identity the request path does (see above). */
|
|
29
34
|
export declare const OAUTH_ORIGINATOR: "opencode";
|
|
30
35
|
export declare const OAUTH_LOGIN_TIMEOUT_MS: number;
|
|
31
36
|
/**
|
|
@@ -71,7 +76,7 @@ export declare const ROUTE_PREFIX: "/api/dsh-chatgpt-subscription";
|
|
|
71
76
|
* `test/responses-client.test.ts` asserts the two agree, so a release that
|
|
72
77
|
* forgets this constant fails the suite instead of shipping quietly.
|
|
73
78
|
*/
|
|
74
|
-
export declare const PLUGIN_VERSION: "0.
|
|
79
|
+
export declare const PLUGIN_VERSION: "0.55.0";
|
|
75
80
|
export declare const CODEX_CHATGPT_PROVIDER_ID: "codex-chatgpt";
|
|
76
81
|
export { MINIMAX_CODE_PROVIDER_ID, MINIMAX_CODE_ROUTE_PREFIX } from './shared/minimax-code-contracts.ts';
|
|
77
82
|
export declare const CODEX_API_BASE: "https://chatgpt.com/backend-api/codex";
|
|
@@ -87,8 +92,22 @@ export declare const CODEX_USAGE_URL: "https://chatgpt.com/backend-api/wham/usag
|
|
|
87
92
|
* the reasoning levels each one accepts. `client_version` is required and is the
|
|
88
93
|
* same value the official CLI sends.
|
|
89
94
|
*/
|
|
90
|
-
|
|
91
|
-
|
|
95
|
+
/**
|
|
96
|
+
* Upstream Codex CLI release this line mirrors.
|
|
97
|
+
*
|
|
98
|
+
* The official client stamps its own version on the wire - in the
|
|
99
|
+
* `user-agent` and in the model listing's `client_version` query - and the
|
|
100
|
+
* backend reads both to decide which client surface it is talking to. This
|
|
101
|
+
* value is the release whose request protocol, Responses Lite shape and model
|
|
102
|
+
* catalog this line implements, so it is stated once and used by both.
|
|
103
|
+
*
|
|
104
|
+
* It is deliberately NOT the plugin version: the plugin release cycle and the
|
|
105
|
+
* upstream release cycle are independent, and the backend compares this
|
|
106
|
+
* number against upstream clients, not against npm.
|
|
107
|
+
*/
|
|
108
|
+
export declare const CODEX_UPSTREAM_VERSION: "0.166.0";
|
|
109
|
+
export declare const CODEX_CLIENT_VERSION: "0.166.0";
|
|
110
|
+
export declare const CODEX_MODELS_URL: "https://chatgpt.com/backend-api/codex/models?client_version=0.166.0";
|
|
92
111
|
/**
|
|
93
112
|
* Beta gate the Codex backend expects on every responses request.
|
|
94
113
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compat.d.ts","sourceRoot":"","sources":["../../src/compat.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAG,yBAAkC,CAAA;AACtE,eAAO,MAAM,uBAAuB,EAAG,8BAAuC,CAAA;AAC9E,eAAO,MAAM,mBAAmB,EAAG,WAAoB,CAAA;AACvD,eAAO,MAAM,mBAAmB,EAAG,IAAa,CAAA;AAChD,eAAO,MAAM,mBAAmB,EAAG,gBAAyB,CAAA;AAC5D,eAAO,MAAM,kBAAkB,uCAAwF,CAAA;AACvH,eAAO,MAAM,WAAW,EAAG,qCAA8C,CAAA;AACzE
|
|
1
|
+
{"version":3,"file":"compat.d.ts","sourceRoot":"","sources":["../../src/compat.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAG,yBAAkC,CAAA;AACtE,eAAO,MAAM,uBAAuB,EAAG,8BAAuC,CAAA;AAC9E,eAAO,MAAM,mBAAmB,EAAG,WAAoB,CAAA;AACvD,eAAO,MAAM,mBAAmB,E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AG,SAAkB,CAAA;AACxD,eAAO,MAAM,oBAAoB,WAAyB,CAAA;AAC1D,eAAO,MAAM,gBAAgB,uEAA6E,CAAA;AAC1G;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,EAAG,wBAAiC,CAAA;AAClE,eAAO,MAAM,uBAAuB,EAAG,+DAAwE,CAAA;AAC/G,eAAO,MAAM,+BAA+B,yEAAgD,CAAA;AAC5F,eAAO,MAAM,qBAAqB,EAAG,sBAA+B,CAAA;AACpE,eAAO,MAAM,iBAAiB,EAAG,aAAsB,CAAA;AACvD;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,EAAG,4BAAqC,CAAA;AAChF,eAAO,MAAM,uBAAuB,EAAG,wBAAiC,CAAA;AACxE,eAAO,MAAM,wBAAwB,EAAG,oBAA6B,CAAA;AACrE,eAAO,MAAM,uBAAuB,EAAG,oBAA6B,CAAA;AACpE,eAAO,MAAM,cAAc,QAAS,CAAA;AACpC,eAAO,MAAM,8BAA8B,QAAS,CAAA;AAEpD,eAAO,MAAM,mBAAmB,2CAAqD,CAAA;AACrF,eAAO,MAAM,eAAe,uCAAiD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LlmAdapter, type GenerateOptions, type LlmModelInfo, type LlmProviderInfo, type LlmResolvedModelInfo, type PreparedAdapterCall, type ResolvedRetryPolicy, type StreamChunk } from '@deepseek-ai/dsh-llm';
|
|
2
2
|
import { PROVIDER_ID } from './model-catalog.ts';
|
|
3
|
-
import type
|
|
3
|
+
import { type CodexCatalogEntry, type CodexCatalogLoadOptions } from './codex-catalog.ts';
|
|
4
4
|
import { ResponsesClient } from './responses-client.ts';
|
|
5
5
|
import type { SubscriptionPreferenceStore } from './preferences.ts';
|
|
6
6
|
export declare class CodexChatGptAdapter extends LlmAdapter {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/host/adapter.ts"],"names":[],"mappings":"AAAA,O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I,OAAO,CAAC,SAAS,YAAY,EAAE,CAAC;IAI9C,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAIzG;;;;;;OAMG;YACW,OAAO;IAKf,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,mBAAmB,CAAC;IActG,MAAM,CAAC,OAAO,EAAE,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;CAM7D;AAED,OAAO,EAAE,WAAW,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":"AAGA,OAAO,EACL,UAAU,EAEV,iBAAiB,EAEjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAWrE,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EAEtB,KAAK,0BAA0B,EAChC,MAAM,kBAAkB,CAAA;AAIzB,OAAO,EAQL,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAA;AAMpB,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,EAAuB,MAAM,mBAAmB,CAAA;AAKzE;;;;;GAKG;AACH,w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CAAC;IAsB/D,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAyCpG,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;YA0BpD,aAAa;CA4S7B"}
|
|
@@ -49,8 +49,8 @@ export declare const REQUEST_IMAGE_MAX_EDGE = 1024;
|
|
|
49
49
|
* ceiling, or undefined when it already fits and is sent as stored.
|
|
50
50
|
*
|
|
51
51
|
* A reference without usable dimensions is sent as stored: there is no basis for
|
|
52
|
-
* choosing a target
|
|
53
|
-
*
|
|
52
|
+
* choosing a target; the shared request-image budget still applies after the
|
|
53
|
+
* attachment service has resolved the bytes that will actually be sent.
|
|
54
54
|
*/
|
|
55
55
|
export declare function requestImageTarget(ref: ImageAttachmentRef, edge?: number): {
|
|
56
56
|
width: number;
|
|
@@ -58,26 +58,6 @@ export declare function requestImageTarget(ref: ImageAttachmentRef, edge?: numbe
|
|
|
58
58
|
maxPixels: number;
|
|
59
59
|
maxBytes: number;
|
|
60
60
|
} | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* Replace the oldest inline images with a text placeholder once one request
|
|
63
|
-
* would carry more than {@link MAX_REQUEST_IMAGE_BYTES} of base64 image data.
|
|
64
|
-
*
|
|
65
|
-
* Without this bound an image-heavy session keeps growing the request body until
|
|
66
|
-
* Google rejects it, and the images that made it fail are the ones the model
|
|
67
|
-
* needed least. The oldest occurrences go first, exactly as DSH's own providers
|
|
68
|
-
* order them, and the placeholder tells the model the image is missing instead
|
|
69
|
-
* of letting it answer as though the picture were simply blank.
|
|
70
|
-
*
|
|
71
|
-
* Each occurrence is measured at the size it will actually be sent at, so an
|
|
72
|
-
* image that only fits after scaling is not replaced (see
|
|
73
|
-
* {@link requestImageBytes}). Replacing an image is the LAST resort: it rewrites
|
|
74
|
-
* the retained prefix and costs the next turn its whole implicit cache hit, so
|
|
75
|
-
* it is worth keeping the image count stable for as long as the bytes allow.
|
|
76
|
-
*
|
|
77
|
-
* @param options - the request about to be built; durable history stays untouched.
|
|
78
|
-
* @returns the original options when they already fit, otherwise shallow copies.
|
|
79
|
-
*/
|
|
80
|
-
export declare function offloadOldestRequestImages(options: GenerateOptions): GenerateOptions;
|
|
81
61
|
/**
|
|
82
62
|
* Read every durable `{ type: 'image', attachment }` block one request carries.
|
|
83
63
|
*
|
|
@@ -88,8 +68,8 @@ export declare function offloadOldestRequestImages(options: GenerateOptions): Ge
|
|
|
88
68
|
* model a text marker, because a turn that silently loses its image is far
|
|
89
69
|
* harder to diagnose than one that says so.
|
|
90
70
|
*
|
|
91
|
-
* WHY SCALE INSTEAD OF DROP.
|
|
92
|
-
* image with placeholder text once the request exceeds
|
|
71
|
+
* WHY SCALE INSTEAD OF DROP. The shared request-image offload pass has to
|
|
72
|
+
* replace an image with placeholder text once the request exceeds
|
|
93
73
|
* {@link MAX_REQUEST_IMAGE_BYTES}, and the count it replaces grows with every
|
|
94
74
|
* image added afterwards. Each change rewrites the retained prefix, so Google's
|
|
95
75
|
* implicit cache misses again on the very next turn. An image whose long edge is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/mapper.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,oBAAoB,EAEzB,KAAK,eAAe,EAEpB,KAAK,WAAW,EAEjB,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAEtF,OAAO,EAOL,KAAK,mBAAmB,EACzB,MAAM,YAAY,CAAA;AACnB,OAAO,EAA2B,KAAK,4BAA4B,EAAE,MAAM,kBA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AI,EAAE,MAAM,GAAG,WAAW,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IAChF,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,EAAE,OAAO,CAAA;IACpB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAA;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,2EAA2E;IAC3E,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,iBAAiB,IAAI,WAAW,CAW/C;AA2CD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,WAAW,EAAE,CAyGjF;AA4CD,wBAAgB,WAAW,CAAC,KAAK,EAAE,WAAW,GAAG,WAAW,EAAE,CAmB7D"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
export declare const PROVIDER_NAME = "Antigravity";
|
|
2
2
|
export declare const PROVIDER_ID = "antigravity";
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Idle ceiling for one streaming response before it is declared stalled.
|
|
5
|
+
*
|
|
6
|
+
* Strictly inside the transport's own 300 s stream timeout; see
|
|
7
|
+
* `host/common/idle-watchdog.ts` for the measured basis.
|
|
8
|
+
*/
|
|
9
|
+
export declare const STREAM_IDLE_TIMEOUT_MS = 120000;
|
|
4
10
|
export declare const STREAM_IDLE_TIMEOUT_CODE = "LLM_STREAM_IDLE_TIMEOUT";
|
|
5
11
|
export declare const DISCOVERY_TIMEOUT_MS = 8000;
|
|
6
12
|
export declare const PROJECT_CACHE_TTL_MS: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,gBAAgB,CAAA;AAC1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FAAsF;AACtF,MAAM,WAAW,mBAAmB;IAClC,gFAAgF;IAChF,KAAK,EAAE,QAAQ,CAAA;IACf;;;;OAIG;IACH,OAAO,EAAE,aAAa,GAAG,IAAI,CAAA;CAC9B;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,QAAQ,CAkE3D;AAED,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -196,19 +196,35 @@ interface ListingEntry {
|
|
|
196
196
|
/** The window the listing stated, or null when it stated none. */
|
|
197
197
|
contextWindow: number | null;
|
|
198
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* Whether one listing id names a Claude or Anthropic model.
|
|
201
|
+
*
|
|
202
|
+
* TRANSCRIBED from the official client's own model discovery, which keeps an
|
|
203
|
+
* entry when its id contains `claude` or `anthropic` ANYWHERE in the string,
|
|
204
|
+
* matched case-insensitively, and ignores everything else. A provider-prefixed
|
|
205
|
+
* id such as `vertex_ai/claude-sonnet-4-6` or `bedrock/anthropic.claude-sonnet-4-5`
|
|
206
|
+
* passes; an id that contains neither substring does not.
|
|
207
|
+
*/
|
|
208
|
+
export declare function isClaudeModelId(id: string): boolean;
|
|
199
209
|
/**
|
|
200
210
|
* Fold the live listing onto the frozen capability table.
|
|
201
211
|
*
|
|
202
212
|
* `contextWindow` is the ONLY field the listing may write. Everything else is
|
|
203
213
|
* copied from `resolveClaudeModel`, which returns the catalog entry for a known
|
|
204
|
-
* id and
|
|
205
|
-
* heard of
|
|
206
|
-
*
|
|
214
|
+
* id and the current-model template for an unknown one — so an id this line has
|
|
215
|
+
* never heard of inherits the shape of the current generation (adaptive
|
|
216
|
+
* thinking, the full effort ladder, image support, a 1M window) instead of
|
|
217
|
+
* inheriting invented capabilities from the listing. The listing's own
|
|
218
|
+
* `context_window` overrides the WINDOW and nothing else.
|
|
207
219
|
*
|
|
208
220
|
* The catalog is NOT widened by the listing: the returned array contains exactly
|
|
209
221
|
* the ids the server named, because the listing is the authority on what this
|
|
210
222
|
* account may call. (The fallback path is what keeps a failed call from
|
|
211
223
|
* narrowing it to nothing.)
|
|
224
|
+
*
|
|
225
|
+
* Entries whose id names no Claude or Anthropic model are IGNORED, exactly as
|
|
226
|
+
* the official client's discovery ignores them: a listing that also names
|
|
227
|
+
* something else must not put that something else in this line's picker.
|
|
212
228
|
*/
|
|
213
229
|
export declare function mergeListingIntoCatalog(listing: readonly ListingEntry[]): ClaudeModelEntry[];
|
|
214
230
|
/** Options for {@link loadCatalog}. */
|