@eddyskywalker/dsh-chatgpt-subscription 0.64.1 → 0.66.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 +52 -0
- package/lib/client.js +120 -9
- package/lib/client.js.map +1 -1
- package/lib/index.js +2286 -1054
- package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +1 -1
- package/lib/types/client/kimi-code/locales.d.ts +8 -2
- package/lib/types/client/kimi-code/locales.d.ts.map +1 -1
- package/lib/types/client/locales-ru/kimi-code.d.ts.map +1 -1
- package/lib/types/client/locales-ru/progress-updates.d.ts.map +1 -1
- package/lib/types/client/locales-ru/step-code.d.ts.map +1 -1
- package/lib/types/client/progress-updates/locales.d.ts +23 -11
- package/lib/types/client/progress-updates/locales.d.ts.map +1 -1
- package/lib/types/client/progress-updates/settings-binding.d.ts +11 -1
- package/lib/types/client/progress-updates/settings-binding.d.ts.map +1 -1
- package/lib/types/client/progress-updates/settings-section.d.ts +2 -2
- package/lib/types/client/progress-updates/settings-section.d.ts.map +1 -1
- package/lib/types/client/step-code/StepCodeSection.d.ts.map +1 -1
- package/lib/types/client/step-code/locales.d.ts +5 -2
- package/lib/types/client/step-code/locales.d.ts.map +1 -1
- package/lib/types/compat.d.ts +1 -1
- package/lib/types/host/antigravity/adapter.d.ts +2 -0
- package/lib/types/host/antigravity/adapter.d.ts.map +1 -1
- package/lib/types/host/antigravity/client-version.d.ts +55 -0
- package/lib/types/host/antigravity/client-version.d.ts.map +1 -0
- package/lib/types/host/antigravity/client.d.ts +13 -1
- package/lib/types/host/antigravity/client.d.ts.map +1 -1
- package/lib/types/host/antigravity/image-tool.d.ts.map +1 -1
- package/lib/types/host/antigravity/mapper.d.ts.map +1 -1
- package/lib/types/host/antigravity/oauth.d.ts +9 -0
- package/lib/types/host/antigravity/oauth.d.ts.map +1 -1
- package/lib/types/host/antigravity/types.d.ts +52 -3
- package/lib/types/host/antigravity/types.d.ts.map +1 -1
- package/lib/types/host/cache-warmup/budget.d.ts +2 -2
- package/lib/types/host/cache-warmup/budget.d.ts.map +1 -1
- package/lib/types/host/cache-warmup/contracts.d.ts +2 -0
- package/lib/types/host/cache-warmup/contracts.d.ts.map +1 -1
- package/lib/types/host/cache-warmup/install.d.ts +4 -4
- package/lib/types/host/cache-warmup/install.d.ts.map +1 -1
- package/lib/types/host/cache-warmup/result-tool.d.ts +3 -1
- package/lib/types/host/cache-warmup/result-tool.d.ts.map +1 -1
- package/lib/types/host/cache-warmup/settings.d.ts +5 -1
- package/lib/types/host/cache-warmup/settings.d.ts.map +1 -1
- package/lib/types/host/cache-warmup/usage.d.ts +1 -1
- package/lib/types/host/cache-warmup/usage.d.ts.map +1 -1
- package/lib/types/host/claude/adapter.d.ts +3 -0
- package/lib/types/host/claude/adapter.d.ts.map +1 -1
- package/lib/types/host/cline-pass/mapper.d.ts.map +1 -1
- package/lib/types/host/common/account-pool.d.ts +27 -1
- package/lib/types/host/common/account-pool.d.ts.map +1 -1
- package/lib/types/host/common/cache-activity.d.ts +14 -0
- package/lib/types/host/common/cache-activity.d.ts.map +1 -0
- package/lib/types/host/common/cache-affinity.d.ts +23 -0
- package/lib/types/host/common/cache-affinity.d.ts.map +1 -0
- package/lib/types/host/common/cache-hint.d.ts +18 -0
- package/lib/types/host/common/cache-hint.d.ts.map +1 -0
- package/lib/types/host/common/failure-classification.d.ts +21 -0
- package/lib/types/host/common/failure-classification.d.ts.map +1 -0
- package/lib/types/host/common/hosted-media.d.ts +36 -0
- package/lib/types/host/common/hosted-media.d.ts.map +1 -0
- package/lib/types/host/common/prefix-request-coordinator.d.ts +46 -0
- package/lib/types/host/common/prefix-request-coordinator.d.ts.map +1 -0
- package/lib/types/host/common/prefix-stability.d.ts +24 -0
- package/lib/types/host/common/prefix-stability.d.ts.map +1 -0
- package/lib/types/host/common/prompt-cache-policy.d.ts +43 -0
- package/lib/types/host/common/prompt-cache-policy.d.ts.map +1 -0
- package/lib/types/host/common/reasoning-dialect.d.ts +24 -0
- package/lib/types/host/common/reasoning-dialect.d.ts.map +1 -0
- package/lib/types/host/common/session-cache-state.d.ts +29 -0
- package/lib/types/host/common/session-cache-state.d.ts.map +1 -0
- package/lib/types/host/common/sticky-image-budget.d.ts +10 -0
- package/lib/types/host/common/sticky-image-budget.d.ts.map +1 -0
- package/lib/types/host/common/tool-runaway.d.ts +52 -0
- package/lib/types/host/common/tool-runaway.d.ts.map +1 -0
- package/lib/types/host/kimi-code/account-pool.d.ts +19 -2
- package/lib/types/host/kimi-code/account-pool.d.ts.map +1 -1
- package/lib/types/host/kimi-code/adapter.d.ts +44 -30
- package/lib/types/host/kimi-code/adapter.d.ts.map +1 -1
- package/lib/types/host/kimi-code/cache-affinity.d.ts +112 -0
- package/lib/types/host/kimi-code/cache-affinity.d.ts.map +1 -0
- package/lib/types/host/kimi-code/cache-hint.d.ts +3 -28
- package/lib/types/host/kimi-code/cache-hint.d.ts.map +1 -1
- package/lib/types/host/kimi-code/cache-wait.d.ts +6 -4
- package/lib/types/host/kimi-code/cache-wait.d.ts.map +1 -1
- package/lib/types/host/kimi-code/mapper.d.ts +2 -6
- package/lib/types/host/kimi-code/mapper.d.ts.map +1 -1
- package/lib/types/host/kimi-code/media-files.d.ts +2 -28
- package/lib/types/host/kimi-code/media-files.d.ts.map +1 -1
- package/lib/types/host/kimi-code/repeat-breaker.d.ts +13 -16
- package/lib/types/host/kimi-code/repeat-breaker.d.ts.map +1 -1
- package/lib/types/host/kimi-code/routes.d.ts.map +1 -1
- package/lib/types/host/kimi-code/session-cache-state.d.ts +16 -53
- package/lib/types/host/kimi-code/session-cache-state.d.ts.map +1 -1
- package/lib/types/host/minimax-code/adapter.d.ts +5 -1
- package/lib/types/host/minimax-code/adapter.d.ts.map +1 -1
- package/lib/types/host/minimax-code/files-api.d.ts.map +1 -1
- package/lib/types/host/minimax-code/runtime-enhancements.d.ts.map +1 -1
- package/lib/types/host/opendesign/mapper.d.ts.map +1 -1
- package/lib/types/host/proxy-manager.d.ts +87 -1
- package/lib/types/host/proxy-manager.d.ts.map +1 -1
- package/lib/types/host/qoder/mapper.d.ts.map +1 -1
- package/lib/types/host/responses-client.d.ts +4 -0
- package/lib/types/host/responses-client.d.ts.map +1 -1
- package/lib/types/host/step-code/account-pool.d.ts +2 -2
- package/lib/types/host/step-code/account-pool.d.ts.map +1 -1
- package/lib/types/host/step-code/adapter.d.ts +10 -0
- package/lib/types/host/step-code/adapter.d.ts.map +1 -1
- package/lib/types/host/step-code/routes.d.ts +3 -0
- package/lib/types/host/step-code/routes.d.ts.map +1 -1
- package/lib/types/index.d.ts +22 -3
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/kimi-code-contracts.d.ts +16 -0
- package/lib/types/shared/kimi-code-contracts.d.ts.map +1 -1
- package/lib/types/shared/step-code-contracts.d.ts +5 -0
- package/lib/types/shared/step-code-contracts.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KimiCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/KimiCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;AA0BvE,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AA+CD,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"KimiCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/KimiCodeSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAA;AA0BvE,UAAU,KAAK;IACb,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC;AA+CD,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,kBAAkB,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,YAAY,CAgwBhG"}
|
|
@@ -102,6 +102,8 @@ export declare const zh: {
|
|
|
102
102
|
readonly unknownMetric: "暂无";
|
|
103
103
|
readonly cacheExpired: "本会话已空闲超过缓存有效期,下一轮将重新处理约 {tokens} 个 token。";
|
|
104
104
|
readonly cacheDrift: "最近前缀状态";
|
|
105
|
+
readonly cacheOpening: "开局继承";
|
|
106
|
+
readonly cacheOpeningValue: "{cached} / {tokens} tok({ratio})";
|
|
105
107
|
readonly cacheDriftFirst: "首个请求(缓存为空)";
|
|
106
108
|
readonly cacheDriftStable: "稳定(前缀未变)";
|
|
107
109
|
readonly cacheDriftSystemPrompt: "系统提示已变化(缓存失效)";
|
|
@@ -305,6 +307,8 @@ export declare const dictionaries: {
|
|
|
305
307
|
readonly unknownMetric: "暂无";
|
|
306
308
|
readonly cacheExpired: "本会话已空闲超过缓存有效期,下一轮将重新处理约 {tokens} 个 token。";
|
|
307
309
|
readonly cacheDrift: "最近前缀状态";
|
|
310
|
+
readonly cacheOpening: "开局继承";
|
|
311
|
+
readonly cacheOpeningValue: "{cached} / {tokens} tok({ratio})";
|
|
308
312
|
readonly cacheDriftFirst: "首个请求(缓存为空)";
|
|
309
313
|
readonly cacheDriftStable: "稳定(前缀未变)";
|
|
310
314
|
readonly cacheDriftSystemPrompt: "系统提示已变化(缓存失效)";
|
|
@@ -506,6 +510,8 @@ export declare const dictionaries: {
|
|
|
506
510
|
readonly unknownMetric: "暂无";
|
|
507
511
|
readonly cacheExpired: "本会话已空闲超过缓存有效期,下一轮将重新处理约 {tokens} 个 token。";
|
|
508
512
|
readonly cacheDrift: "最近前缀状态";
|
|
513
|
+
readonly cacheOpening: "开局继承";
|
|
514
|
+
readonly cacheOpeningValue: "{cached} / {tokens} tok({ratio})";
|
|
509
515
|
readonly cacheDriftFirst: "首个请求(缓存为空)";
|
|
510
516
|
readonly cacheDriftStable: "稳定(前缀未变)";
|
|
511
517
|
readonly cacheDriftSystemPrompt: "系统提示已变化(缓存失效)";
|
|
@@ -604,8 +610,8 @@ export declare const dictionaries: {
|
|
|
604
610
|
readonly quotaFactsScope: string;
|
|
605
611
|
readonly composerLabel: string;
|
|
606
612
|
};
|
|
607
|
-
en: Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "deviceCodeHint" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "effortLow" | "effortHigh" | "effortMax" | "quotaUnknown" | "resetAt" | "copied" | "region" | "quotaPlan" | "authenticatedAt" | "openSignInPage" | "wireAnthropic" | "wireOpenai" | "nickname" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "copyCode" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "capVideo" | "capThinkingOnly" | "capEfforts" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capThinkingOnlyFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "capInputCap" | "capNoTools" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "effortThinkingOnlyNote" | "effortNotOffered" | "cacheNote" | "cacheNoteHint" | "effortNone" | "contextWindowPlan" | "cacheOutput" | "cacheWrite" | "cacheWarmupLabel" | "cacheWarmupWarming" | "cacheWarmupSettled" | "unknownMetric" | "cacheExpired" | "cacheDrift" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "cacheDriftImageOffload" | "cacheImageBudgetLabel" | "cacheImageBudgetValue" | "cacheImageBudgetDropped" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "kqTotal" | "kqTip" | "kqPoolKimi" | "kqPoolCode" | "kqResetAfter" | "kqAccount" | "kqAgo" | "kqLastUsed" | "kqShortWindow" | "kqRestUsed" | "kqExpires" | "kqJustNow" | "kqMinutesAgo" | "kqHoursAgo" | "kqDaysAgo" | "kqWindow5h" | "kqWindow7d" | "kqDurationDay" | "kqDurationHour" | "kqDurationMinute" | "kqResetIn" | "kqResetSoon" | "kqRegionMainland" | "kqRegionGlobal" | "requests" | "compactionRoute" | "compactionRouteHint" | "compactionRouteProvider" | "compactionRouteModel" | "compactionRouteSave" | "compactionRouteClear" | "compactionRouteChange" | "compactionRouteFollow" | "compactionRouteSaved" | "compactionRouteFailed" | "compactionRouteNoVideo" | "compactionRouteNoImage" | "compactionRouteEmpty", string>;
|
|
608
|
-
'en-US': Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "deviceCodeHint" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "effortLow" | "effortHigh" | "effortMax" | "quotaUnknown" | "resetAt" | "copied" | "region" | "quotaPlan" | "authenticatedAt" | "openSignInPage" | "wireAnthropic" | "wireOpenai" | "nickname" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "copyCode" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "capVideo" | "capThinkingOnly" | "capEfforts" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capThinkingOnlyFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "capInputCap" | "capNoTools" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "effortThinkingOnlyNote" | "effortNotOffered" | "cacheNote" | "cacheNoteHint" | "effortNone" | "contextWindowPlan" | "cacheOutput" | "cacheWrite" | "cacheWarmupLabel" | "cacheWarmupWarming" | "cacheWarmupSettled" | "unknownMetric" | "cacheExpired" | "cacheDrift" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "cacheDriftImageOffload" | "cacheImageBudgetLabel" | "cacheImageBudgetValue" | "cacheImageBudgetDropped" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "kqTotal" | "kqTip" | "kqPoolKimi" | "kqPoolCode" | "kqResetAfter" | "kqAccount" | "kqAgo" | "kqLastUsed" | "kqShortWindow" | "kqRestUsed" | "kqExpires" | "kqJustNow" | "kqMinutesAgo" | "kqHoursAgo" | "kqDaysAgo" | "kqWindow5h" | "kqWindow7d" | "kqDurationDay" | "kqDurationHour" | "kqDurationMinute" | "kqResetIn" | "kqResetSoon" | "kqRegionMainland" | "kqRegionGlobal" | "requests" | "compactionRoute" | "compactionRouteHint" | "compactionRouteProvider" | "compactionRouteModel" | "compactionRouteSave" | "compactionRouteClear" | "compactionRouteChange" | "compactionRouteFollow" | "compactionRouteSaved" | "compactionRouteFailed" | "compactionRouteNoVideo" | "compactionRouteNoImage" | "compactionRouteEmpty", string>;
|
|
613
|
+
en: Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "deviceCodeHint" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "effortLow" | "effortHigh" | "effortMax" | "quotaUnknown" | "resetAt" | "copied" | "region" | "quotaPlan" | "authenticatedAt" | "openSignInPage" | "wireAnthropic" | "wireOpenai" | "nickname" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "copyCode" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "capVideo" | "capThinkingOnly" | "capEfforts" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capThinkingOnlyFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "capInputCap" | "capNoTools" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "effortThinkingOnlyNote" | "effortNotOffered" | "cacheNote" | "cacheNoteHint" | "effortNone" | "contextWindowPlan" | "cacheOutput" | "cacheWrite" | "cacheWarmupLabel" | "cacheWarmupWarming" | "cacheWarmupSettled" | "unknownMetric" | "cacheExpired" | "cacheDrift" | "cacheOpening" | "cacheOpeningValue" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "cacheDriftImageOffload" | "cacheImageBudgetLabel" | "cacheImageBudgetValue" | "cacheImageBudgetDropped" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "kqTotal" | "kqTip" | "kqPoolKimi" | "kqPoolCode" | "kqResetAfter" | "kqAccount" | "kqAgo" | "kqLastUsed" | "kqShortWindow" | "kqRestUsed" | "kqExpires" | "kqJustNow" | "kqMinutesAgo" | "kqHoursAgo" | "kqDaysAgo" | "kqWindow5h" | "kqWindow7d" | "kqDurationDay" | "kqDurationHour" | "kqDurationMinute" | "kqResetIn" | "kqResetSoon" | "kqRegionMainland" | "kqRegionGlobal" | "requests" | "compactionRoute" | "compactionRouteHint" | "compactionRouteProvider" | "compactionRouteModel" | "compactionRouteSave" | "compactionRouteClear" | "compactionRouteChange" | "compactionRouteFollow" | "compactionRouteSaved" | "compactionRouteFailed" | "compactionRouteNoVideo" | "compactionRouteNoImage" | "compactionRouteEmpty", string>;
|
|
614
|
+
'en-US': Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "deviceCodeHint" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "pageDesc" | "signingIn" | "modelsSection" | "enhanced" | "defaultReasoningEffort" | "defaultReasoningEffortHint" | "defaultEffortAuto" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheCached" | "cacheFresh" | "cacheRequests" | "cacheDriftTools" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "planUnknown" | "cancelSignIn" | "testingConnection" | "testSuccess" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "effortLow" | "effortHigh" | "effortMax" | "quotaUnknown" | "resetAt" | "copied" | "region" | "quotaPlan" | "authenticatedAt" | "openSignInPage" | "wireAnthropic" | "wireOpenai" | "nickname" | "regionMainland" | "regionGlobal" | "refreshRejected" | "deviceCodeSection" | "copyCode" | "userCode" | "codeExpires" | "waitingAuthorization" | "requestingCode" | "oauthHost" | "codingEndpoint" | "capVideo" | "capThinkingOnly" | "capEfforts" | "capDynamicTools" | "capImageOnly" | "capNone" | "capVideoFootnote" | "capThinkingOnlyFootnote" | "capabilitiesTitle" | "capColMedia" | "capColTools" | "capColNotes" | "capPlan" | "capInputCap" | "capNoTools" | "speedRegular" | "speedHighspeed" | "quotaCost" | "minimumPlan" | "effortThinkingOnlyNote" | "effortNotOffered" | "cacheNote" | "cacheNoteHint" | "effortNone" | "contextWindowPlan" | "cacheOutput" | "cacheWrite" | "cacheWarmupLabel" | "cacheWarmupWarming" | "cacheWarmupSettled" | "unknownMetric" | "cacheExpired" | "cacheDrift" | "cacheOpening" | "cacheOpeningValue" | "cacheDriftFirst" | "cacheDriftStable" | "cacheDriftSystemPrompt" | "cacheDriftCacheKey" | "cacheDriftColdKey" | "cacheDriftImageOffload" | "cacheImageBudgetLabel" | "cacheImageBudgetValue" | "cacheImageBudgetDropped" | "preserveThinking" | "preserveOn" | "preserveOff" | "outputCap" | "quotaWallet" | "quotaWalletLimit" | "quotaWalletUsed" | "kqTotal" | "kqTip" | "kqPoolKimi" | "kqPoolCode" | "kqResetAfter" | "kqAccount" | "kqAgo" | "kqLastUsed" | "kqShortWindow" | "kqRestUsed" | "kqExpires" | "kqJustNow" | "kqMinutesAgo" | "kqHoursAgo" | "kqDaysAgo" | "kqWindow5h" | "kqWindow7d" | "kqDurationDay" | "kqDurationHour" | "kqDurationMinute" | "kqResetIn" | "kqResetSoon" | "kqRegionMainland" | "kqRegionGlobal" | "requests" | "compactionRoute" | "compactionRouteHint" | "compactionRouteProvider" | "compactionRouteModel" | "compactionRouteSave" | "compactionRouteClear" | "compactionRouteChange" | "compactionRouteFollow" | "compactionRouteSaved" | "compactionRouteFailed" | "compactionRouteNoVideo" | "compactionRouteNoImage" | "compactionRouteEmpty", string>;
|
|
609
615
|
};
|
|
610
616
|
export type KimiCodeLocaleKey = keyof typeof zh;
|
|
611
617
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,kBAAkB,CAAA;AAE3C,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/kimi-code/locales.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,kBAAkB,CAAA;AAE3C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+KL,CAAA;AAEV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CA6KrC,CAAA;AAEV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,EAAE,CAAA;AAE/C;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kimi-code.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/kimi-code.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"kimi-code.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/kimi-code.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CA8KxD,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,CAmD/D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-code.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/step-code.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"step-code.d.ts","sourceRoot":"","sources":["../../../../src/client/locales-ru/step-code.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAmLxD,CAAA"}
|
|
@@ -39,15 +39,19 @@ export declare const zh: {
|
|
|
39
39
|
readonly settingsEnabledName: "进展更新";
|
|
40
40
|
readonly settingsEnabledNote: "让 agent 在对话中发布进展更新;本插件的所有线路都可用";
|
|
41
41
|
readonly settingsCacheWarmupName: "缓存预热";
|
|
42
|
-
readonly settingsCacheWarmupNote: "
|
|
42
|
+
readonly settingsCacheWarmupNote: "按线路配置:投影大型日志结果,原文可通过 ref 按需补读;只影响之后的新结果";
|
|
43
43
|
readonly settingsRetrievalName: "检索结果投影";
|
|
44
|
-
readonly settingsRetrievalNote: "
|
|
44
|
+
readonly settingsRetrievalNote: "按线路配置:导航任务中投影文件、网页与搜索,编辑审查保留原文;只影响之后的新结果";
|
|
45
45
|
readonly settingsCacheWaitWarmupName: "等待缓存续热";
|
|
46
|
-
readonly settingsCacheWaitWarmupNote: "
|
|
46
|
+
readonly settingsCacheWaitWarmupNote: "等待子代理期间按缓存 TTL 轻量续热;默认用于 Kimi,其他线路需明确 TTL 并显式启用";
|
|
47
|
+
readonly settingsCacheAffinityName: "账号缓存亲和";
|
|
48
|
+
readonly settingsCacheAffinityNote: "多账号轮换时优先选前缀仍热的账号,低额度时让位;默认用于 Kimi,其他线路需证明账号级缓存并显式启用";
|
|
47
49
|
readonly settingsPlanModePipelineName: "计划模式管线";
|
|
48
50
|
readonly settingsPlanModePipelineNote: "澄清访谈收敛后自动进入计划模式出计划,再交审批(仅调度模式生效);关闭后该模式会请用户手动输入 /plan";
|
|
49
51
|
readonly settingsDispatchExecutionGuardName: "调度执行守卫";
|
|
50
52
|
readonly settingsDispatchExecutionGuardNote: "执行期拦截子代理越权调用主控工具及等待子代理时的纯 sleep 空等;不改工具声明面,零损耗保护 Kimi 缓存";
|
|
53
|
+
readonly settingsToolRunawayGuardName: "工具失控治理";
|
|
54
|
+
readonly settingsToolRunawayGuardNote: "同一工具与参数连续重复时分级提醒;Kimi 保留第 12 次强停,其他线路只提醒";
|
|
51
55
|
readonly settingsTeamPolicyCacheGuardName: "智能体团队策略段";
|
|
52
56
|
readonly settingsTeamPolicyCacheGuardNote: "把内置 Agent Teams 的策略段从系统提示词摘掉,改为开启团队协作时以尾部消息投递一次;会话中途切开关不再刷掉整段前缀缓存(默认开启)";
|
|
53
57
|
readonly settingsThresholdName: "催促阈值";
|
|
@@ -93,15 +97,19 @@ export declare const dictionaries: {
|
|
|
93
97
|
readonly settingsEnabledName: "进展更新";
|
|
94
98
|
readonly settingsEnabledNote: "让 agent 在对话中发布进展更新;本插件的所有线路都可用";
|
|
95
99
|
readonly settingsCacheWarmupName: "缓存预热";
|
|
96
|
-
readonly settingsCacheWarmupNote: "
|
|
100
|
+
readonly settingsCacheWarmupNote: "按线路配置:投影大型日志结果,原文可通过 ref 按需补读;只影响之后的新结果";
|
|
97
101
|
readonly settingsRetrievalName: "检索结果投影";
|
|
98
|
-
readonly settingsRetrievalNote: "
|
|
102
|
+
readonly settingsRetrievalNote: "按线路配置:导航任务中投影文件、网页与搜索,编辑审查保留原文;只影响之后的新结果";
|
|
99
103
|
readonly settingsCacheWaitWarmupName: "等待缓存续热";
|
|
100
|
-
readonly settingsCacheWaitWarmupNote: "
|
|
104
|
+
readonly settingsCacheWaitWarmupNote: "等待子代理期间按缓存 TTL 轻量续热;默认用于 Kimi,其他线路需明确 TTL 并显式启用";
|
|
105
|
+
readonly settingsCacheAffinityName: "账号缓存亲和";
|
|
106
|
+
readonly settingsCacheAffinityNote: "多账号轮换时优先选前缀仍热的账号,低额度时让位;默认用于 Kimi,其他线路需证明账号级缓存并显式启用";
|
|
101
107
|
readonly settingsPlanModePipelineName: "计划模式管线";
|
|
102
108
|
readonly settingsPlanModePipelineNote: "澄清访谈收敛后自动进入计划模式出计划,再交审批(仅调度模式生效);关闭后该模式会请用户手动输入 /plan";
|
|
103
109
|
readonly settingsDispatchExecutionGuardName: "调度执行守卫";
|
|
104
110
|
readonly settingsDispatchExecutionGuardNote: "执行期拦截子代理越权调用主控工具及等待子代理时的纯 sleep 空等;不改工具声明面,零损耗保护 Kimi 缓存";
|
|
111
|
+
readonly settingsToolRunawayGuardName: "工具失控治理";
|
|
112
|
+
readonly settingsToolRunawayGuardNote: "同一工具与参数连续重复时分级提醒;Kimi 保留第 12 次强停,其他线路只提醒";
|
|
105
113
|
readonly settingsTeamPolicyCacheGuardName: "智能体团队策略段";
|
|
106
114
|
readonly settingsTeamPolicyCacheGuardNote: "把内置 Agent Teams 的策略段从系统提示词摘掉,改为开启团队协作时以尾部消息投递一次;会话中途切开关不再刷掉整段前缀缓存(默认开启)";
|
|
107
115
|
readonly settingsThresholdName: "催促阈值";
|
|
@@ -143,15 +151,19 @@ export declare const dictionaries: {
|
|
|
143
151
|
readonly settingsEnabledName: "进展更新";
|
|
144
152
|
readonly settingsEnabledNote: "让 agent 在对话中发布进展更新;本插件的所有线路都可用";
|
|
145
153
|
readonly settingsCacheWarmupName: "缓存预热";
|
|
146
|
-
readonly settingsCacheWarmupNote: "
|
|
154
|
+
readonly settingsCacheWarmupNote: "按线路配置:投影大型日志结果,原文可通过 ref 按需补读;只影响之后的新结果";
|
|
147
155
|
readonly settingsRetrievalName: "检索结果投影";
|
|
148
|
-
readonly settingsRetrievalNote: "
|
|
156
|
+
readonly settingsRetrievalNote: "按线路配置:导航任务中投影文件、网页与搜索,编辑审查保留原文;只影响之后的新结果";
|
|
149
157
|
readonly settingsCacheWaitWarmupName: "等待缓存续热";
|
|
150
|
-
readonly settingsCacheWaitWarmupNote: "
|
|
158
|
+
readonly settingsCacheWaitWarmupNote: "等待子代理期间按缓存 TTL 轻量续热;默认用于 Kimi,其他线路需明确 TTL 并显式启用";
|
|
159
|
+
readonly settingsCacheAffinityName: "账号缓存亲和";
|
|
160
|
+
readonly settingsCacheAffinityNote: "多账号轮换时优先选前缀仍热的账号,低额度时让位;默认用于 Kimi,其他线路需证明账号级缓存并显式启用";
|
|
151
161
|
readonly settingsPlanModePipelineName: "计划模式管线";
|
|
152
162
|
readonly settingsPlanModePipelineNote: "澄清访谈收敛后自动进入计划模式出计划,再交审批(仅调度模式生效);关闭后该模式会请用户手动输入 /plan";
|
|
153
163
|
readonly settingsDispatchExecutionGuardName: "调度执行守卫";
|
|
154
164
|
readonly settingsDispatchExecutionGuardNote: "执行期拦截子代理越权调用主控工具及等待子代理时的纯 sleep 空等;不改工具声明面,零损耗保护 Kimi 缓存";
|
|
165
|
+
readonly settingsToolRunawayGuardName: "工具失控治理";
|
|
166
|
+
readonly settingsToolRunawayGuardNote: "同一工具与参数连续重复时分级提醒;Kimi 保留第 12 次强停,其他线路只提醒";
|
|
155
167
|
readonly settingsTeamPolicyCacheGuardName: "智能体团队策略段";
|
|
156
168
|
readonly settingsTeamPolicyCacheGuardNote: "把内置 Agent Teams 的策略段从系统提示词摘掉,改为开启团队协作时以尾部消息投递一次;会话中途切开关不再刷掉整段前缀缓存(默认开启)";
|
|
157
169
|
readonly settingsThresholdName: "催促阈值";
|
|
@@ -167,8 +179,8 @@ export declare const dictionaries: {
|
|
|
167
179
|
readonly settingsUnavailable: "这项设置当前不可修改(宿主没有开放配置表单)";
|
|
168
180
|
readonly settingsSaveFailed: "保存失败,请稍后再试";
|
|
169
181
|
};
|
|
170
|
-
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" | "settingsTeamPolicyCacheGuardName" | "settingsTeamPolicyCacheGuardNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsLanguageName" | "settingsLanguageNote" | "settingsLanguageAuto" | "settingsLanguageZh" | "settingsLanguageEn" | "settingsLanguageRu" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
|
|
171
|
-
'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" | "settingsTeamPolicyCacheGuardName" | "settingsTeamPolicyCacheGuardNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsLanguageName" | "settingsLanguageNote" | "settingsLanguageAuto" | "settingsLanguageZh" | "settingsLanguageEn" | "settingsLanguageRu" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
|
|
182
|
+
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" | "settingsCacheAffinityName" | "settingsCacheAffinityNote" | "settingsPlanModePipelineName" | "settingsPlanModePipelineNote" | "settingsDispatchExecutionGuardName" | "settingsDispatchExecutionGuardNote" | "settingsToolRunawayGuardName" | "settingsToolRunawayGuardNote" | "settingsTeamPolicyCacheGuardName" | "settingsTeamPolicyCacheGuardNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsLanguageName" | "settingsLanguageNote" | "settingsLanguageAuto" | "settingsLanguageZh" | "settingsLanguageEn" | "settingsLanguageRu" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
|
|
183
|
+
'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" | "settingsCacheAffinityName" | "settingsCacheAffinityNote" | "settingsPlanModePipelineName" | "settingsPlanModePipelineNote" | "settingsDispatchExecutionGuardName" | "settingsDispatchExecutionGuardNote" | "settingsToolRunawayGuardName" | "settingsToolRunawayGuardNote" | "settingsTeamPolicyCacheGuardName" | "settingsTeamPolicyCacheGuardNote" | "settingsThresholdName" | "settingsThresholdNote" | "settingsLanguageName" | "settingsLanguageNote" | "settingsLanguageAuto" | "settingsLanguageZh" | "settingsLanguageEn" | "settingsLanguageRu" | "settingsPanelName" | "settingsPanelNote" | "settingsUnavailable" | "settingsSaveFailed", string>;
|
|
172
184
|
};
|
|
173
185
|
/** 本命名空间的字典键联合,供类型化 `t` 座位使用。 */
|
|
174
186
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDpB,CAAA;AAEV,wBAAwB;AACxB,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAmDvD,CAAA;AAED,qCAAqC;AACrC,eAAO,MAAM,YAAY;;QA7GvB,4BAA4B;;;QAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAH5B,4BAA4B;;;QAG5B,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+G7B,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"}
|
|
@@ -56,6 +56,14 @@ export interface ProgressUpdatesSettingsValues {
|
|
|
56
56
|
cacheWarmupRetrieval?: boolean;
|
|
57
57
|
/** 等待子代理期间的缓存持续续热开关(缺键 = 开)。 */
|
|
58
58
|
cacheWaitWarmup?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* 号池的账号缓存亲和开关(缺键 = 开)。
|
|
61
|
+
*
|
|
62
|
+
* 与宿主 src/index.ts 的 Config 同名同义:轮换时优先选「这条前缀的缓存还热着」
|
|
63
|
+
* 的账号,前提是它剩余额度不低于 20%。宿主那边是 default(true),所以缺键时
|
|
64
|
+
* 界面必须同样读成开。
|
|
65
|
+
*/
|
|
66
|
+
cacheAffinity?: boolean;
|
|
59
67
|
/**
|
|
60
68
|
* 计划模式管线开关(缺键 = 开)。
|
|
61
69
|
*
|
|
@@ -72,6 +80,8 @@ export interface ProgressUpdatesSettingsValues {
|
|
|
72
80
|
* 关着」与「实际是开着的」会同时成立。
|
|
73
81
|
*/
|
|
74
82
|
dispatchExecutionGuard?: boolean;
|
|
83
|
+
/** 工具失控治理开关(缺键 = 开);非 Kimi 线路只提醒,不强停。 */
|
|
84
|
+
toolRunawayGuard?: boolean;
|
|
75
85
|
/**
|
|
76
86
|
* Agent Teams 策略段缓存守卫开关(缺键 = 开)。
|
|
77
87
|
*
|
|
@@ -83,7 +93,7 @@ export interface ProgressUpdatesSettingsValues {
|
|
|
83
93
|
/** 输出语言的三种取值,供界面侧声明变量类型。 */
|
|
84
94
|
export type ProgressUpdatesLanguage = NonNullable<ProgressUpdatesSettingsValues['progressUpdatesLanguage']>;
|
|
85
95
|
/** 表单可写的那三个字段名(联合类型,写错名字编译期就报)。 */
|
|
86
|
-
export type ProgressUpdatesField = 'progressUpdates' | 'progressUpdatesNudgeThreshold' | 'progressUpdatesLanguage' | 'cacheWarmup' | 'cacheWarmupRetrieval' | 'cacheWaitWarmup' | 'planModePipeline' | 'dispatchExecutionGuard' | 'teamPolicyCacheGuard';
|
|
96
|
+
export type ProgressUpdatesField = 'progressUpdates' | 'progressUpdatesNudgeThreshold' | 'progressUpdatesLanguage' | 'cacheWarmup' | 'cacheWarmupRetrieval' | 'cacheWaitWarmup' | 'cacheAffinity' | 'planModePipeline' | 'dispatchExecutionGuard' | 'toolRunawayGuard' | 'teamPolicyCacheGuard';
|
|
87
97
|
/**
|
|
88
98
|
* 候选条目 id,按可能性从高到低。
|
|
89
99
|
*
|
|
@@ -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,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AW,IAAI,kBAAkB,CAAC,6BAA6B,CAAC,CAAA;IAChE,cAAc;IACd,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAA;IAC3C,uBAAuB;IACvB,GAAG,CAAC,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IACpF,8BAA8B;IAC9B,OAAO,IAAI,IAAI,CAAA;CAChB;AAoED;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CAAC,GAAG,EAAE;IAAE,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,oBAAoB,GAAG,SAAS,CA4FhH"}
|
|
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,GAAG,IAAI,CAAA;IACrD,2BAA2B;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,yBAAyB;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,gCA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FhH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-section.d.ts","sourceRoot":"","sources":["../../../../src/client/progress-updates/settings-section.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;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;AAmMxC;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,4BAA4B,GAAG,SAAS,CAwX7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/step-code/StepCodeSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AAmBzB,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAA;AAwHhC,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,GAAE,oBAAyB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"StepCodeSection.d.ts","sourceRoot":"","sources":["../../../../src/client/step-code/StepCodeSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AAmBzB,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAA;AAwHhC,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,GAAE,oBAAyB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAmrB/F"}
|
|
@@ -173,6 +173,7 @@ export declare const zh: {
|
|
|
173
173
|
readonly cacheRequestParamsOnHint: "已打开能力位:请求会带上缓存参数。该字段未在 Step 文档中说明,官方对 Step 端点默认也不发。";
|
|
174
174
|
readonly cachePricingNote: "单价未文档化(官方模型表里四个 cost 键全是 0),因此本页只展示 token 维度,不展示任何金额。";
|
|
175
175
|
readonly cacheEmpty: "本进程还没有任何请求回报过用量,跑一次对话后再看。";
|
|
176
|
+
readonly cacheExpiredHint: "缓存可能已过期:距上次请求约 {minutes} 分钟,下次会重新处理前缀。";
|
|
176
177
|
readonly cacheHitRatioUnavailable: "—";
|
|
177
178
|
readonly accountPool: string;
|
|
178
179
|
readonly addAccount: string;
|
|
@@ -373,6 +374,7 @@ export declare const dictionaries: {
|
|
|
373
374
|
readonly cacheRequestParamsOnHint: "已打开能力位:请求会带上缓存参数。该字段未在 Step 文档中说明,官方对 Step 端点默认也不发。";
|
|
374
375
|
readonly cachePricingNote: "单价未文档化(官方模型表里四个 cost 键全是 0),因此本页只展示 token 维度,不展示任何金额。";
|
|
375
376
|
readonly cacheEmpty: "本进程还没有任何请求回报过用量,跑一次对话后再看。";
|
|
377
|
+
readonly cacheExpiredHint: "缓存可能已过期:距上次请求约 {minutes} 分钟,下次会重新处理前缀。";
|
|
376
378
|
readonly cacheHitRatioUnavailable: "—";
|
|
377
379
|
readonly accountPool: string;
|
|
378
380
|
readonly addAccount: string;
|
|
@@ -571,6 +573,7 @@ export declare const dictionaries: {
|
|
|
571
573
|
readonly cacheRequestParamsOnHint: "已打开能力位:请求会带上缓存参数。该字段未在 Step 文档中说明,官方对 Step 端点默认也不发。";
|
|
572
574
|
readonly cachePricingNote: "单价未文档化(官方模型表里四个 cost 键全是 0),因此本页只展示 token 维度,不展示任何金额。";
|
|
573
575
|
readonly cacheEmpty: "本进程还没有任何请求回报过用量,跑一次对话后再看。";
|
|
576
|
+
readonly cacheExpiredHint: "缓存可能已过期:距上次请求约 {minutes} 分钟,下次会重新处理前缀。";
|
|
574
577
|
readonly cacheHitRatioUnavailable: "—";
|
|
575
578
|
readonly accountPool: string;
|
|
576
579
|
readonly addAccount: string;
|
|
@@ -603,8 +606,8 @@ export declare const dictionaries: {
|
|
|
603
606
|
readonly quotaFactsScope: string;
|
|
604
607
|
readonly composerLabel: string;
|
|
605
608
|
};
|
|
606
|
-
en: Record<"quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "expires" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "save" | "quotaSignedOut" | "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" | "progress" | "pageDesc" | "modelsSection" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheRequests" | "quotaSection" | "quotaDesc" | "quotaEmpty" | "adoptedBadge" | "openAuthorizeUrl" | "authorizeUrl" | "loginComplete" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "effortLow" | "effortMedium" | "effortHigh" | "effortXHigh" | "effortMax" | "moreNotes" | "profile" | "profileStepPlan" | "profileStepPlanOversea" | "profilePlatformCn" | "profilePlatformOversea" | "profileHint" | "profileHintExtra" | "region" | "regionCn" | "regionIntl" | "regionHint" | "authorizing" | "loginIdle" | "loginHaveAccounts" | "loginPending" | "loginCompletedAt" | "loginCompleteNoAccount" | "loginError" | "loginRetryable" | "loginNotRetryable" | "pollEvery" | "loginExpiresAt" | "restartLogin" | "cancelLogin" | "cancelLoginBusy" | "manualPasteEmpty" | "adopt" | "adopting" | "adoptAdopted" | "adoptNoAttempt" | "adoptNoCredentialsFile" | "adoptInvalidCredentials" | "adoptUnsupportedShape" | "adoptNotAStepcodeLogin" | "adoptFallback" | "testSuccessAccount" | "testSuccessModel" | "testFailedDetail" | "modelsHintExtra" | "modelsUnavailable" | "dismiss" | "enabledModelIdsSemantics" | "defaultEffort" | "defaultEffortHint" | "defaultEffortHintExtra" | "defaultEffortModel" | "effortMinimal" | "contextWindowHintExtra" | "invalidCapacity" | "quotaRefresh" | "quotaPlan" | "quotaPlanFamily" | "quotaRenews" | "quotaReadAt" | "quotaSources" | "quotaRegion" | "quotaRefreshingNote" | "quotaErrorLabel" | "quotaWindowNames" | "quotaNoReset" | "quotaUsedUnknown" | "quotaKindWindowed" | "quotaKindCredit" | "quotaKindUnknown" | "quotaKindHint" | "quotaWindowFiveHour" | "quotaWindowWeekly" | "quotaWindowCredit" | "quotaBucketTotal" | "quotaBucketRemaining" | "quotaBucketExpires" | "quotaBucketResets" | "quotaCredentialSection" | "quotaCredentialSource" | "quotaCredentialFoot" | "quotaCredentialNone" | "quotaCredentialAuto" | "quotaCredentialManual" | "quotaCredentialAccount" | "quotaCredentialExpires" | "quotaCredentialError" | "quotaCredentialPasswordSection" | "quotaCredentialAccountPlaceholder" | "quotaCredentialPasswordPlaceholder" | "quotaCredentialPasswordSubmit" | "quotaCredentialPasswordSubmitting" | "quotaCredentialAccountEmpty" | "quotaCredentialPasswordEmpty" | "quotaCredentialManualSection" | "quotaCredentialTokenPlaceholder" | "quotaCredentialTokenSubmit" | "quotaCredentialTokenSubmitting" | "quotaCredentialTokenEmpty" | "quotaCredentialClear" | "quotaCredentialClearing" | "cacheStatScope" | "cacheFieldOrder" | "cacheReadTokens" | "cacheMissedTokens" | "cacheWriteNote" | "cacheWriteNoteValue" | "cacheWriteNoteHint" | "cacheRequestParams" | "cacheRequestParamsHint" | "cacheRequestParamsNote" | "cacheRequestParamsOnHint" | "cachePricingNote" | "cacheHitRatioUnavailable", string>;
|
|
607
|
-
'en-US': Record<"quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "expires" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "save" | "quotaSignedOut" | "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" | "progress" | "pageDesc" | "modelsSection" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheRequests" | "quotaSection" | "quotaDesc" | "quotaEmpty" | "adoptedBadge" | "openAuthorizeUrl" | "authorizeUrl" | "loginComplete" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "effortLow" | "effortMedium" | "effortHigh" | "effortXHigh" | "effortMax" | "moreNotes" | "profile" | "profileStepPlan" | "profileStepPlanOversea" | "profilePlatformCn" | "profilePlatformOversea" | "profileHint" | "profileHintExtra" | "region" | "regionCn" | "regionIntl" | "regionHint" | "authorizing" | "loginIdle" | "loginHaveAccounts" | "loginPending" | "loginCompletedAt" | "loginCompleteNoAccount" | "loginError" | "loginRetryable" | "loginNotRetryable" | "pollEvery" | "loginExpiresAt" | "restartLogin" | "cancelLogin" | "cancelLoginBusy" | "manualPasteEmpty" | "adopt" | "adopting" | "adoptAdopted" | "adoptNoAttempt" | "adoptNoCredentialsFile" | "adoptInvalidCredentials" | "adoptUnsupportedShape" | "adoptNotAStepcodeLogin" | "adoptFallback" | "testSuccessAccount" | "testSuccessModel" | "testFailedDetail" | "modelsHintExtra" | "modelsUnavailable" | "dismiss" | "enabledModelIdsSemantics" | "defaultEffort" | "defaultEffortHint" | "defaultEffortHintExtra" | "defaultEffortModel" | "effortMinimal" | "contextWindowHintExtra" | "invalidCapacity" | "quotaRefresh" | "quotaPlan" | "quotaPlanFamily" | "quotaRenews" | "quotaReadAt" | "quotaSources" | "quotaRegion" | "quotaRefreshingNote" | "quotaErrorLabel" | "quotaWindowNames" | "quotaNoReset" | "quotaUsedUnknown" | "quotaKindWindowed" | "quotaKindCredit" | "quotaKindUnknown" | "quotaKindHint" | "quotaWindowFiveHour" | "quotaWindowWeekly" | "quotaWindowCredit" | "quotaBucketTotal" | "quotaBucketRemaining" | "quotaBucketExpires" | "quotaBucketResets" | "quotaCredentialSection" | "quotaCredentialSource" | "quotaCredentialFoot" | "quotaCredentialNone" | "quotaCredentialAuto" | "quotaCredentialManual" | "quotaCredentialAccount" | "quotaCredentialExpires" | "quotaCredentialError" | "quotaCredentialPasswordSection" | "quotaCredentialAccountPlaceholder" | "quotaCredentialPasswordPlaceholder" | "quotaCredentialPasswordSubmit" | "quotaCredentialPasswordSubmitting" | "quotaCredentialAccountEmpty" | "quotaCredentialPasswordEmpty" | "quotaCredentialManualSection" | "quotaCredentialTokenPlaceholder" | "quotaCredentialTokenSubmit" | "quotaCredentialTokenSubmitting" | "quotaCredentialTokenEmpty" | "quotaCredentialClear" | "quotaCredentialClearing" | "cacheStatScope" | "cacheFieldOrder" | "cacheReadTokens" | "cacheMissedTokens" | "cacheWriteNote" | "cacheWriteNoteValue" | "cacheWriteNoteHint" | "cacheRequestParams" | "cacheRequestParamsHint" | "cacheRequestParamsNote" | "cacheRequestParamsOnHint" | "cachePricingNote" | "cacheHitRatioUnavailable", string>;
|
|
609
|
+
en: Record<"quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "expires" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "save" | "quotaSignedOut" | "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" | "progress" | "pageDesc" | "modelsSection" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheRequests" | "quotaSection" | "quotaDesc" | "quotaEmpty" | "adoptedBadge" | "openAuthorizeUrl" | "authorizeUrl" | "loginComplete" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "effortLow" | "effortMedium" | "effortHigh" | "effortXHigh" | "effortMax" | "moreNotes" | "profile" | "profileStepPlan" | "profileStepPlanOversea" | "profilePlatformCn" | "profilePlatformOversea" | "profileHint" | "profileHintExtra" | "region" | "regionCn" | "regionIntl" | "regionHint" | "authorizing" | "loginIdle" | "loginHaveAccounts" | "loginPending" | "loginCompletedAt" | "loginCompleteNoAccount" | "loginError" | "loginRetryable" | "loginNotRetryable" | "pollEvery" | "loginExpiresAt" | "restartLogin" | "cancelLogin" | "cancelLoginBusy" | "manualPasteEmpty" | "adopt" | "adopting" | "adoptAdopted" | "adoptNoAttempt" | "adoptNoCredentialsFile" | "adoptInvalidCredentials" | "adoptUnsupportedShape" | "adoptNotAStepcodeLogin" | "adoptFallback" | "testSuccessAccount" | "testSuccessModel" | "testFailedDetail" | "modelsHintExtra" | "modelsUnavailable" | "dismiss" | "enabledModelIdsSemantics" | "defaultEffort" | "defaultEffortHint" | "defaultEffortHintExtra" | "defaultEffortModel" | "effortMinimal" | "contextWindowHintExtra" | "invalidCapacity" | "quotaRefresh" | "quotaPlan" | "quotaPlanFamily" | "quotaRenews" | "quotaReadAt" | "quotaSources" | "quotaRegion" | "quotaRefreshingNote" | "quotaErrorLabel" | "quotaWindowNames" | "quotaNoReset" | "quotaUsedUnknown" | "quotaKindWindowed" | "quotaKindCredit" | "quotaKindUnknown" | "quotaKindHint" | "quotaWindowFiveHour" | "quotaWindowWeekly" | "quotaWindowCredit" | "quotaBucketTotal" | "quotaBucketRemaining" | "quotaBucketExpires" | "quotaBucketResets" | "quotaCredentialSection" | "quotaCredentialSource" | "quotaCredentialFoot" | "quotaCredentialNone" | "quotaCredentialAuto" | "quotaCredentialManual" | "quotaCredentialAccount" | "quotaCredentialExpires" | "quotaCredentialError" | "quotaCredentialPasswordSection" | "quotaCredentialAccountPlaceholder" | "quotaCredentialPasswordPlaceholder" | "quotaCredentialPasswordSubmit" | "quotaCredentialPasswordSubmitting" | "quotaCredentialAccountEmpty" | "quotaCredentialPasswordEmpty" | "quotaCredentialManualSection" | "quotaCredentialTokenPlaceholder" | "quotaCredentialTokenSubmit" | "quotaCredentialTokenSubmitting" | "quotaCredentialTokenEmpty" | "quotaCredentialClear" | "quotaCredentialClearing" | "cacheStatScope" | "cacheFieldOrder" | "cacheReadTokens" | "cacheMissedTokens" | "cacheWriteNote" | "cacheWriteNoteValue" | "cacheWriteNoteHint" | "cacheRequestParams" | "cacheRequestParamsHint" | "cacheRequestParamsNote" | "cacheRequestParamsOnHint" | "cachePricingNote" | "cacheExpiredHint" | "cacheHitRatioUnavailable", string>;
|
|
610
|
+
'en-US': Record<"quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "expires" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "save" | "quotaSignedOut" | "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" | "progress" | "pageDesc" | "modelsSection" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saved" | "saving" | "cacheSection" | "cacheDesc" | "cacheEmpty" | "cacheHitRatio" | "cacheRequests" | "quotaSection" | "quotaDesc" | "quotaEmpty" | "adoptedBadge" | "openAuthorizeUrl" | "authorizeUrl" | "loginComplete" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "effortLow" | "effortMedium" | "effortHigh" | "effortXHigh" | "effortMax" | "moreNotes" | "profile" | "profileStepPlan" | "profileStepPlanOversea" | "profilePlatformCn" | "profilePlatformOversea" | "profileHint" | "profileHintExtra" | "region" | "regionCn" | "regionIntl" | "regionHint" | "authorizing" | "loginIdle" | "loginHaveAccounts" | "loginPending" | "loginCompletedAt" | "loginCompleteNoAccount" | "loginError" | "loginRetryable" | "loginNotRetryable" | "pollEvery" | "loginExpiresAt" | "restartLogin" | "cancelLogin" | "cancelLoginBusy" | "manualPasteEmpty" | "adopt" | "adopting" | "adoptAdopted" | "adoptNoAttempt" | "adoptNoCredentialsFile" | "adoptInvalidCredentials" | "adoptUnsupportedShape" | "adoptNotAStepcodeLogin" | "adoptFallback" | "testSuccessAccount" | "testSuccessModel" | "testFailedDetail" | "modelsHintExtra" | "modelsUnavailable" | "dismiss" | "enabledModelIdsSemantics" | "defaultEffort" | "defaultEffortHint" | "defaultEffortHintExtra" | "defaultEffortModel" | "effortMinimal" | "contextWindowHintExtra" | "invalidCapacity" | "quotaRefresh" | "quotaPlan" | "quotaPlanFamily" | "quotaRenews" | "quotaReadAt" | "quotaSources" | "quotaRegion" | "quotaRefreshingNote" | "quotaErrorLabel" | "quotaWindowNames" | "quotaNoReset" | "quotaUsedUnknown" | "quotaKindWindowed" | "quotaKindCredit" | "quotaKindUnknown" | "quotaKindHint" | "quotaWindowFiveHour" | "quotaWindowWeekly" | "quotaWindowCredit" | "quotaBucketTotal" | "quotaBucketRemaining" | "quotaBucketExpires" | "quotaBucketResets" | "quotaCredentialSection" | "quotaCredentialSource" | "quotaCredentialFoot" | "quotaCredentialNone" | "quotaCredentialAuto" | "quotaCredentialManual" | "quotaCredentialAccount" | "quotaCredentialExpires" | "quotaCredentialError" | "quotaCredentialPasswordSection" | "quotaCredentialAccountPlaceholder" | "quotaCredentialPasswordPlaceholder" | "quotaCredentialPasswordSubmit" | "quotaCredentialPasswordSubmitting" | "quotaCredentialAccountEmpty" | "quotaCredentialPasswordEmpty" | "quotaCredentialManualSection" | "quotaCredentialTokenPlaceholder" | "quotaCredentialTokenSubmit" | "quotaCredentialTokenSubmitting" | "quotaCredentialTokenEmpty" | "quotaCredentialClear" | "quotaCredentialClearing" | "cacheStatScope" | "cacheFieldOrder" | "cacheReadTokens" | "cacheMissedTokens" | "cacheWriteNote" | "cacheWriteNoteValue" | "cacheWriteNoteHint" | "cacheRequestParams" | "cacheRequestParamsHint" | "cacheRequestParamsNote" | "cacheRequestParamsOnHint" | "cachePricingNote" | "cacheExpiredHint" | "cacheHitRatioUnavailable", string>;
|
|
608
611
|
};
|
|
609
612
|
export type StepCodeLocaleKey = keyof typeof zh;
|
|
610
613
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/step-code/locales.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EACf,gCAAgC,EAChC,wBAAwB,EACxB,sBAAsB,EACvB,MAAM,qCAAqC,CAAA;AAE5C;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,kBAAkB,CAAA;AAE3C,eAAO,MAAM,EAAE;;;;IAOb,uCAAuC;;;;;;;;;;;;;;;IAmBvC;2CACuC
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/step-code/locales.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EACf,gCAAgC,EAChC,wBAAwB,EACxB,sBAAsB,EACvB,MAAM,qCAAqC,CAAA;AAE5C;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,kBAAkB,CAAA;AAE3C,eAAO,MAAM,EAAE;;;;IAOb,uCAAuC;;;;;;;;;;;;;;;IAmBvC;2CACuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiK/B,CAAA;AAGV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CAwL9C,CAAA;AAED,eAAO,MAAM,YAAY;;;;;QAlXvB,uCAAuC;;;;;;;;;;;;;;;QAmBvC;+CACuC;;;;;;;;;;;;;;;;;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M,MAAM,SAAS,GAAG,wBAAwB,CAAC,MAAM,CAAC,CAAA;AAQxD,wBAAgB,aAAa,CAC3B,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAC5C,MAAM,CAER;AAED,oBAAoB;AACpB,MAAM,MAAM,qBAAqB,GAAG,gCAAgC,CAAC,QAAQ,CAAC,CAAA;AAO9E;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,qBAAqB,EAC7B,UAAU,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAC5C,MAAM,CAER"}
|
package/lib/types/compat.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare const ROUTE_PREFIX: "/api/dsh-chatgpt-subscription";
|
|
|
76
76
|
* `test/responses-client.test.ts` asserts the two agree, so a release that
|
|
77
77
|
* forgets this constant fails the suite instead of shipping quietly.
|
|
78
78
|
*/
|
|
79
|
-
export declare const PLUGIN_VERSION: "0.
|
|
79
|
+
export declare const PLUGIN_VERSION: "0.66.0";
|
|
80
80
|
export declare const CODEX_CHATGPT_PROVIDER_ID: "codex-chatgpt";
|
|
81
81
|
export { MINIMAX_CODE_PROVIDER_ID, MINIMAX_CODE_ROUTE_PREFIX } from './shared/minimax-code-contracts.ts';
|
|
82
82
|
export declare const CODEX_API_BASE: "https://chatgpt.com/backend-api/codex";
|
|
@@ -2,6 +2,7 @@ import { LlmAdapter, ReasoningEffortId, type GenerateOptions, type LlmModelInfo,
|
|
|
2
2
|
import type { ImageAttachmentRef } from '@deepseek-ai/dsh-attachment';
|
|
3
3
|
import { FileCredentialStore, FileModelSettingsStore, type AntigravityPreferenceStore } from './token-store.ts';
|
|
4
4
|
import { type AttachmentImageReader } from './mapper.ts';
|
|
5
|
+
import { type PromptCacheOverride } from '../common/prompt-cache-policy.ts';
|
|
5
6
|
export declare function resolveDefaultReasoningEffort(efforts: readonly string[], configuredEffort?: string | null): ReasoningEffortId | undefined;
|
|
6
7
|
import { AccountPoolStore } from './account-pool.ts';
|
|
7
8
|
/**
|
|
@@ -46,6 +47,7 @@ export declare class AntigravityAdapter extends LlmAdapter {
|
|
|
46
47
|
constructor(store?: FileCredentialStore, modelSettings?: FileModelSettingsStore, preferences?: AntigravityPreferenceStore | undefined, options?: {
|
|
47
48
|
fetchFn?: typeof fetch;
|
|
48
49
|
attachments?: AttachmentImageReader;
|
|
50
|
+
promptCache?: PromptCacheOverride;
|
|
49
51
|
}, accountPool?: AccountPoolStore);
|
|
50
52
|
providerInfo(provider: string): LlmProviderInfo;
|
|
51
53
|
providerRetryPolicy(): undefined;
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAYrE,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EAEtB,KAAK,0BAA0B,EAChC,MAAM,kBAAkB,CAAA;AAIzB,OAAO,EAQL,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAA;AAIpB,OAAO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AG,eAAe;IAI/C,mBAAmB,IAAI,SAAS;IAIhC,mBAAmB,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS;IAInE,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB;;;;;;;;;;IAIzE,UAAU,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,YAAY,EAAE,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;CAuT7B"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Hub release this process reports to Cloud Code.
|
|
3
|
+
*
|
|
4
|
+
* The service gates its model catalogue and its Gemini quota buckets on the
|
|
5
|
+
* client version in `User-Agent`, so a pinned constant silently ages into a
|
|
6
|
+
* worse client: the same account sees fewer models and fewer quota buckets than
|
|
7
|
+
* the official app on the same day. The Hub publishes the release it currently
|
|
8
|
+
* ships in its updater manifest, which is what this module reads.
|
|
9
|
+
*
|
|
10
|
+
* The read is deliberately non-blocking. `defaultUserAgent()` is synchronous
|
|
11
|
+
* and is called while a request is being built, so the process always has a
|
|
12
|
+
* usable version to report: the built-in one until a manifest has been read,
|
|
13
|
+
* the last known release after that. A manifest that cannot be read is not a
|
|
14
|
+
* failure -- the reference reimplementations treat it the same way, because a
|
|
15
|
+
* release that is one version old still serves requests.
|
|
16
|
+
*
|
|
17
|
+
* @see https://github.com/router-for-me/CLIProxyAPI — `internal/misc/antigravity_version.go`
|
|
18
|
+
*/
|
|
19
|
+
/** The Hub updater manifest for the arm64 macOS build. */
|
|
20
|
+
export declare const HUB_MANIFEST_URL = "https://antigravity-hub-auto-updater-974169037036.us-central1.run.app/manifest/latest-arm64-mac.yml";
|
|
21
|
+
/**
|
|
22
|
+
* Build changelists of known Hub releases: the `cl=` field of the User-Agent.
|
|
23
|
+
*
|
|
24
|
+
* A release with no entry here omits `cl=` instead of claiming another build's
|
|
25
|
+
* changelist, which is what the official app does for a build it does not know.
|
|
26
|
+
* `2.24.0` was read out of the official darwin-arm archive's build metadata; keep
|
|
27
|
+
* the newest entry and {@link DEFAULT_ANTIGRAVITY_VERSION} in step.
|
|
28
|
+
*/
|
|
29
|
+
export declare const HUB_RELEASE_CHANGELISTS: Readonly<Record<string, string>>;
|
|
30
|
+
/**
|
|
31
|
+
* The Hub release to report right now.
|
|
32
|
+
*
|
|
33
|
+
* `DSH_ANTIGRAVITY_VERSION` still wins: pinning a version is how a user works
|
|
34
|
+
* around a Hub release that misbehaves, and discovery must not override it.
|
|
35
|
+
*/
|
|
36
|
+
export declare function currentHubVersion(): string;
|
|
37
|
+
/**
|
|
38
|
+
* The changelist that belongs to a release, or undefined when it is unknown.
|
|
39
|
+
*
|
|
40
|
+
* `DSH_ANTIGRAVITY_CL` wins for the same reason the version pin does.
|
|
41
|
+
*/
|
|
42
|
+
export declare function hubChangelist(version?: string): string | undefined;
|
|
43
|
+
/** The release an electron-builder manifest declares, e.g. `version: 2.24.0`. */
|
|
44
|
+
export declare function parseHubManifestVersion(text: string): string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Read the Hub release the updater manifest currently publishes.
|
|
47
|
+
*
|
|
48
|
+
* Single-flight and TTL-gated, so calling it on every request costs a `Date.now()`
|
|
49
|
+
* most of the time. Never throws: the caller is a request path, and a manifest
|
|
50
|
+
* that does not answer must not turn into a failed request.
|
|
51
|
+
*/
|
|
52
|
+
export declare function refreshHubVersion(fetchFn?: typeof fetch, now?: number): Promise<void>;
|
|
53
|
+
/** Drops the cached release. Tests only; production has one process-lifetime read. */
|
|
54
|
+
export declare function resetHubVersionCache(): void;
|
|
55
|
+
//# sourceMappingURL=client-version.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-version.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/client-version.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;GAiBG;AAEH,0DAA0D;AAC1D,eAAO,MAAM,gBAAgB,wGAC0E,CAAA;AAQvG;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAIpE,CAAA;AAYD;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAG1C;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,GAAE,MAA4B,GAAG,MAAM,GAAG,SAAS,CAGvF;AAED,iFAAiF;AACjF,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGxE;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,OAAO,KAAa,EAAE,GAAG,SAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAsBhG;AAED,sFAAsF;AACtF,wBAAgB,oBAAoB,IAAI,IAAI,CAI3C"}
|
|
@@ -2,13 +2,25 @@ import { FileCredentialStore, FileModelSettingsStore, type AntigravityCatalogMod
|
|
|
2
2
|
import type { AntigravityAccountQuota, AntigravityQuotaGroup } from '../../shared/antigravity-contracts.ts';
|
|
3
3
|
export declare const ANTIGRAVITY_QUOTA_CACHE_TTL_MS: number;
|
|
4
4
|
export declare function defaultUserAgent(): string;
|
|
5
|
+
export declare function legacyIdentityHeadersEnabled(): boolean;
|
|
5
6
|
export declare function antigravityHeaders(token: string): Record<string, string>;
|
|
6
7
|
export declare function jsonHeaders(token: string): Record<string, string>;
|
|
8
|
+
/**
|
|
9
|
+
* The identity the Hub presents on `onboardUser` control-plane calls.
|
|
10
|
+
*
|
|
11
|
+
* Onboarding is the one surface where the native client is visibly a Node API
|
|
12
|
+
* client: it appends `google-api-nodejs-client/<version>` to its User-Agent and
|
|
13
|
+
* states `X-Goog-Api-Client`. Content requests carry neither, which is why this
|
|
14
|
+
* is a separate builder rather than another field on {@link antigravityHeaders}.
|
|
15
|
+
*/
|
|
16
|
+
export declare function antigravityControlPlaneHeaders(token: string): Record<string, string>;
|
|
7
17
|
export declare function endpointCandidates(): string[];
|
|
8
18
|
export interface AntigravityTierInfo {
|
|
9
19
|
id?: string;
|
|
10
20
|
name?: string;
|
|
11
21
|
description?: string;
|
|
22
|
+
/** The tier the Hub itself onboards a new account into. */
|
|
23
|
+
isDefault?: boolean;
|
|
12
24
|
}
|
|
13
25
|
export interface AntigravityIneligibleTier {
|
|
14
26
|
tierId?: string;
|
|
@@ -24,7 +36,7 @@ export interface LoadCodeAssistDetailResult {
|
|
|
24
36
|
raw?: Record<string, unknown>;
|
|
25
37
|
}
|
|
26
38
|
export declare function loadCodeAssistDetail(token: string, fetchFn?: typeof fetch, signal?: AbortSignal): Promise<LoadCodeAssistDetailResult | undefined>;
|
|
27
|
-
export declare function onboardUser(token: string, fetchFn?: typeof fetch, signal?: AbortSignal): Promise<void>;
|
|
39
|
+
export declare function onboardUser(token: string, fetchFn?: typeof fetch, signal?: AbortSignal, tierId?: string): Promise<void>;
|
|
28
40
|
export declare function listCloudAICompanionProjects(token: string, fetchFn?: typeof fetch): Promise<string | undefined>;
|
|
29
41
|
export declare function loadCodeAssist(token: string, fetchFn?: typeof fetch): Promise<string | undefined>;
|
|
30
42
|
export declare function postJson(path: string, token: string, body: Record<string, unknown>, fetchFn?: typeof fetch): Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/client.ts"],"names":[],"mappings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;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,aAAa,EAAE,SAAS,uBAAuB,EAAE,GAChD,MAAM,EAAE,CAOV;AAED,wBAAsB,iBAAiB,CACrC,KAAK,sBAA4B,EACjC,aAAa,CAAC,EAAE,sBAAsB,EACtC,OAAO,GAAE,OAAO,KAAa,EAC7B,KAAK,UAAQ,GACZ,OAAO,CAAC,uBAAuB,CAAC,CA2ElC;AAED,wBAAgB,cAAc,IAAI,uBAAuB,GAAG,SAAS,CAEpE;AAED,wBAAgB,gBAAgB,IAAI,IAAI,CAIvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-tool.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/image-tool.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image-tool.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/image-tool.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAsB,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAMtG,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAIpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAGtD,KAAK,SAAS,GAAG,OAAO,KAAK,CAAA;AAE7B;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B,gHAGlC,CAAA;AAEV;;;GAGG;AACH,eAAO,MAAM,uBAAuB,qCAAsC,CAAA;AAK1E,MAAM,WAAW,2BAA2B;IAC1C,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,yFAAyF;IACzF,SAAS,CAAC,EAAE,MAAM,OAAO,CAAA;CAC1B;AAkBD,uDAAuD;AACvD,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wEAAwE;AACxE,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,WAAW,EAAE,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,EACpB,SAAS,CAAC,EAAE,MAAM,GACjB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAyBzB;AAYD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CAqC9D;AAcD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,WAAW,EAClB,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,GAChD;IAAE,SAAS,EAAE,cAAc,CAAC;IAAC,IAAI,EAAE,UAAU,CAAA;CAAE,CAiBjD;AASD;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,gBAAgB,EAC7B,KAAK,EAAE,mBAAmB,EAC1B,WAAW,EAAE,eAAe,EAC5B,OAAO,GAAE,2BAAgC,mDA+H1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/mapper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/mapper.ts"],"names":[],"mappings":"AAEA,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,EAML,KAAK,mBAAmB,EACzB,MAAM,YAAY,CAAA;AACnB,OAAO,EAA2B,KAAK,4BA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BAA0C,EAClD,IAAI,GAAE,uBAA4B,GACjC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAoGzB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,oBAAoB,EAAE,CAAA;IAC9B,YAAY,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;KAAE,CAAC,CAAA;IAC9D,YAAY,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,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"}
|
|
@@ -66,6 +66,15 @@ export declare function startCallbackServer(expectedState: string): Promise<{
|
|
|
66
66
|
}>;
|
|
67
67
|
export declare function extractGoogleValidationUrl(text: string): string | undefined;
|
|
68
68
|
export declare function assertFreeTierEligible(payload: LoadCodeAssistDetailResult): void;
|
|
69
|
+
/**
|
|
70
|
+
* The tier to onboard with, chosen the way the Hub chooses one.
|
|
71
|
+
*
|
|
72
|
+
* The Hub onboards into its own default allowed tier; this route additionally
|
|
73
|
+
* requires the free tier to be on offer (it is the only tier this line claims
|
|
74
|
+
* eligibility for), so that one is preferred next. Everything else is the
|
|
75
|
+
* reference implementation's order: first allowed tier, current tier, free tier.
|
|
76
|
+
*/
|
|
77
|
+
export declare function selectOnboardTier(payload: LoadCodeAssistDetailResult): string;
|
|
69
78
|
export declare function discoverAntigravityProject(token: string, fetchFn?: typeof fetch, signal?: AbortSignal, onProgress?: (stage: string) => void): Promise<string | undefined>;
|
|
70
79
|
export declare function exchangeOAuthCode(code: string, verifier: string, callbackUrl: string, fetchFn?: typeof fetch, signal?: AbortSignal, onProgress?: (stage: string) => void): Promise<AntigravityCredentials>;
|
|
71
80
|
export declare function beginWebLogin(store: FileCredentialStore, fetchFn?: typeof fetch, signal?: AbortSignal, onSave?: (credentials: AntigravityCredentials) => Promise<unknown>): Promise<WebLoginFlowState>;
|