@eddyskywalker/dsh-chatgpt-subscription 0.27.2 → 0.29.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 +34 -0
- package/README.md +2 -2
- package/lib/client.js +274 -149
- package/lib/client.js.map +1 -1
- package/lib/index.js +187 -37
- package/lib/types/client/CodexSubscriptionSection.d.ts.map +1 -1
- package/lib/types/client/antigravity/locales.d.ts +11 -2
- package/lib/types/client/antigravity/locales.d.ts.map +1 -1
- package/lib/types/client/claude/locales.d.ts +11 -2
- package/lib/types/client/claude/locales.d.ts.map +1 -1
- package/lib/types/client/command-code/locales.d.ts +11 -2
- package/lib/types/client/command-code/locales.d.ts.map +1 -1
- package/lib/types/client/common/AccountPoolSection.d.ts +10 -2
- package/lib/types/client/common/AccountPoolSection.d.ts.map +1 -1
- package/lib/types/client/common/account-pool-labels.d.ts +17 -0
- package/lib/types/client/common/account-pool-labels.d.ts.map +1 -1
- package/lib/types/client/common/format.d.ts +14 -0
- package/lib/types/client/common/format.d.ts.map +1 -1
- package/lib/types/client/common/styles.d.ts.map +1 -1
- package/lib/types/client/glm-coding-plan/locales.d.ts +11 -2
- package/lib/types/client/glm-coding-plan/locales.d.ts.map +1 -1
- package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +1 -1
- package/lib/types/client/kimi-code/locales.d.ts +11 -2
- package/lib/types/client/kimi-code/locales.d.ts.map +1 -1
- package/lib/types/client/locales.d.ts +7 -1
- package/lib/types/client/locales.d.ts.map +1 -1
- package/lib/types/client/minimax-code/locales.d.ts +11 -2
- package/lib/types/client/minimax-code/locales.d.ts.map +1 -1
- package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts.map +1 -1
- package/lib/types/client/ollama/locales.d.ts +18 -0
- package/lib/types/client/ollama/locales.d.ts.map +1 -1
- package/lib/types/client/progress-updates/index.d.ts.map +1 -1
- package/lib/types/client/step-code/locales.d.ts +11 -2
- package/lib/types/client/step-code/locales.d.ts.map +1 -1
- package/lib/types/client/step-code/useStepCodeSection.d.ts.map +1 -1
- package/lib/types/client/workbuddy/locales.d.ts +6 -0
- package/lib/types/client/workbuddy/locales.d.ts.map +1 -1
- package/lib/types/client/workbuddy/useWorkBuddySection.d.ts.map +1 -1
- package/lib/types/host/antigravity/account-pool.d.ts +17 -3
- package/lib/types/host/antigravity/account-pool.d.ts.map +1 -1
- package/lib/types/host/antigravity/adapter.d.ts +7 -2
- package/lib/types/host/antigravity/adapter.d.ts.map +1 -1
- package/lib/types/host/minimax-code/model-catalog.d.ts +32 -4
- package/lib/types/host/minimax-code/model-catalog.d.ts.map +1 -1
- package/lib/types/host/minimax-code/types.d.ts +1 -1
- package/lib/types/host/subagent-model-authorization.d.ts +3 -3
- package/lib/types/host/workbuddy/account-pool.d.ts +24 -0
- package/lib/types/host/workbuddy/account-pool.d.ts.map +1 -1
- package/lib/types/index.d.ts +3 -3
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/account-pool-contracts.d.ts +24 -0
- package/lib/types/shared/account-pool-contracts.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -7425,6 +7425,8 @@ function antigravityPoolQuota(quota) {
|
|
|
7425
7425
|
}
|
|
7426
7426
|
return poolQuota(quota.fetchedAt, windows);
|
|
7427
7427
|
}
|
|
7428
|
+
/** How much of the upstream detail the family guard quotes in its message. */
|
|
7429
|
+
const MAX_DETAIL_CHARS = 500;
|
|
7428
7430
|
/**
|
|
7429
7431
|
* Antigravity's account pool.
|
|
7430
7432
|
*
|
|
@@ -7572,11 +7574,19 @@ var AccountPoolStore = class {
|
|
|
7572
7574
|
familyKey(accountId, family) {
|
|
7573
7575
|
return `${family}\u0000${accountId}`;
|
|
7574
7576
|
}
|
|
7575
|
-
/**
|
|
7576
|
-
|
|
7577
|
+
/**
|
|
7578
|
+
* Cool one account down for one quota family after an upstream 429.
|
|
7579
|
+
*
|
|
7580
|
+
* `detail` is what the upstream actually said, kept beside the cooldown it
|
|
7581
|
+
* caused: the pool sentence the guard raises is about the pool, and the
|
|
7582
|
+
* upstream statement is the only part that tells the user WHY the request
|
|
7583
|
+
* was refused.
|
|
7584
|
+
*/
|
|
7585
|
+
markFamilyCooldown(accountId, family, durationMs, reason, detail) {
|
|
7577
7586
|
this.familyCooldowns.set(this.familyKey(accountId, family), {
|
|
7578
7587
|
until: Date.now() + Math.max(1e3, durationMs),
|
|
7579
|
-
reason
|
|
7588
|
+
reason,
|
|
7589
|
+
...detail === void 0 || detail === "" ? {} : { detail }
|
|
7580
7590
|
});
|
|
7581
7591
|
}
|
|
7582
7592
|
/** Accounts whose allowance for this family is still cooling down. */
|
|
@@ -7590,11 +7600,26 @@ var AccountPoolStore = class {
|
|
|
7590
7600
|
}
|
|
7591
7601
|
return ids;
|
|
7592
7602
|
}
|
|
7593
|
-
|
|
7594
|
-
|
|
7603
|
+
/**
|
|
7604
|
+
* The family cooldown that expires soonest, with the account it belongs to.
|
|
7605
|
+
*
|
|
7606
|
+
* The wait the guard reports and the upstream detail it quotes come from
|
|
7607
|
+
* this ONE entry: two separate scans could pick different accounts, and the
|
|
7608
|
+
* message would then name a wait for one cooldown and a reason for another.
|
|
7609
|
+
*/
|
|
7610
|
+
soonestFamilyCooldown(family, now = Date.now()) {
|
|
7611
|
+
let soonest;
|
|
7595
7612
|
const prefix = `${family}\u0000`;
|
|
7596
|
-
for (const [key, entry] of this.familyCooldowns)
|
|
7597
|
-
|
|
7613
|
+
for (const [key, entry] of this.familyCooldowns) {
|
|
7614
|
+
if (!key.startsWith(prefix) || entry.until <= now) continue;
|
|
7615
|
+
if (soonest === void 0 || entry.until < soonest.until) soonest = {
|
|
7616
|
+
accountId: key.slice(prefix.length),
|
|
7617
|
+
until: entry.until,
|
|
7618
|
+
reason: entry.reason,
|
|
7619
|
+
...entry.detail === void 0 ? {} : { detail: entry.detail }
|
|
7620
|
+
};
|
|
7621
|
+
}
|
|
7622
|
+
return soonest ?? null;
|
|
7598
7623
|
}
|
|
7599
7624
|
/**
|
|
7600
7625
|
* {@link getEffectiveAccount} for one quota family: accounts whose allowance
|
|
@@ -7611,8 +7636,11 @@ var AccountPoolStore = class {
|
|
|
7611
7636
|
return await this.getEffectiveAccount(exclude, fetchFn);
|
|
7612
7637
|
} catch (error) {
|
|
7613
7638
|
if (cooling.size === 0 || !(error instanceof LlmError) || error.code !== "RATE_LIMIT") throw error;
|
|
7614
|
-
const
|
|
7615
|
-
|
|
7639
|
+
const soonest = this.soonestFamilyCooldown(family);
|
|
7640
|
+
const wait = soonest === null ? null : soonest.until - Date.now();
|
|
7641
|
+
const label = family === "gemini" ? "Gemini" : "Claude / GPT";
|
|
7642
|
+
const detail = soonest?.detail;
|
|
7643
|
+
throw new LlmError(`全部可用 Antigravity 账号的 ${label} 配额均处于限制或冷却中 (429)。` + (wait === null ? "" : `最短预计在 ${Math.ceil(wait / 6e4)} 分钟后解除冷却。`) + (detail === void 0 || detail === "" ? "" : `上游返回:${detail.length > MAX_DETAIL_CHARS ? `${detail.slice(0, MAX_DETAIL_CHARS)}…` : detail}`) + "其他模型族的配额不受影响,可切换到其他模型族继续使用。", "RATE_LIMIT", {
|
|
7616
7644
|
status: 429,
|
|
7617
7645
|
cause: error
|
|
7618
7646
|
});
|
|
@@ -7635,6 +7663,18 @@ function resolveDefaultReasoningEffort$4(efforts, configuredEffort) {
|
|
|
7635
7663
|
if (efforts.includes("low")) return ReasoningEffortId("low");
|
|
7636
7664
|
if (efforts.length > 0) return ReasoningEffortId(efforts[0]);
|
|
7637
7665
|
}
|
|
7666
|
+
/** How much of an upstream error body is quoted back to the user. */
|
|
7667
|
+
const MAX_UPSTREAM_BODY_CHARS = 500;
|
|
7668
|
+
/**
|
|
7669
|
+
* The upstream error body, short enough to read in a notice.
|
|
7670
|
+
*
|
|
7671
|
+
* A 429 body is small when the service states a reset time in it and can be an
|
|
7672
|
+
* arbitrary blob when it does not, so the excerpt is what a notice carries.
|
|
7673
|
+
*/
|
|
7674
|
+
function upstreamBodyExcerpt(body) {
|
|
7675
|
+
const text = body.trim();
|
|
7676
|
+
return text.length > MAX_UPSTREAM_BODY_CHARS ? `${text.slice(0, MAX_UPSTREAM_BODY_CHARS)}…` : text;
|
|
7677
|
+
}
|
|
7638
7678
|
/**
|
|
7639
7679
|
* Milliseconds in one duration string: protobuf JSON (`"12.5s"`) or Go form
|
|
7640
7680
|
* (`"1h2m3.5s"`, `"373.8ms"`). Undefined when the string is neither.
|
|
@@ -7894,6 +7934,7 @@ var AntigravityAdapter = class extends LlmAdapter {
|
|
|
7894
7934
|
...antigravityHeaders(token),
|
|
7895
7935
|
...model.id.startsWith("claude-") ? { "anthropic-beta": "interleaved-thinking-2025-05-14" } : {}
|
|
7896
7936
|
};
|
|
7937
|
+
let firstResponse;
|
|
7897
7938
|
for (const endpoint of endpointCandidates()) try {
|
|
7898
7939
|
let sentBody = body;
|
|
7899
7940
|
response = await fetchFn(`${endpoint}/v1internal:streamGenerateContent?alt=sse`, {
|
|
@@ -7959,23 +8000,34 @@ var AntigravityAdapter = class extends LlmAdapter {
|
|
|
7959
8000
|
});
|
|
7960
8001
|
}
|
|
7961
8002
|
}
|
|
8003
|
+
if (firstResponse === void 0) firstResponse = response;
|
|
7962
8004
|
if (response.ok || response.status === 400) break;
|
|
7963
8005
|
if (response.status === 404) break;
|
|
8006
|
+
if (response.status === 429) {
|
|
8007
|
+
response = firstResponse;
|
|
8008
|
+
break;
|
|
8009
|
+
}
|
|
8010
|
+
response = firstResponse;
|
|
7964
8011
|
} catch (err) {
|
|
7965
8012
|
if (signal.aborted) throw new LlmError("Antigravity request aborted", "ABORTED", { cause: err });
|
|
7966
8013
|
}
|
|
7967
8014
|
if (response && response.status === 429) {
|
|
7968
8015
|
const errorBody = await response.clone().text().catch(() => "");
|
|
7969
|
-
const
|
|
7970
|
-
|
|
7971
|
-
|
|
8016
|
+
const statedWaitMs = retryDelayMs(response.headers, errorBody);
|
|
8017
|
+
if (statedWaitMs !== void 0) {
|
|
8018
|
+
this.accountPool.markFamilyCooldown(account.id, family, statedWaitMs, "429 Rate Limit", upstreamBodyExcerpt(errorBody));
|
|
8019
|
+
if (await this.accountPool.hasAnotherAvailableAccountFor(family, triedAccountIds)) continue;
|
|
8020
|
+
}
|
|
7972
8021
|
}
|
|
7973
8022
|
break;
|
|
7974
8023
|
}
|
|
7975
8024
|
if (!response || !response.ok) {
|
|
7976
8025
|
const status = response?.status ?? 500;
|
|
7977
|
-
const errText = await response?.text().catch(() => "");
|
|
7978
|
-
if (status === 429)
|
|
8026
|
+
const errText = await response?.text().catch(() => "") ?? "";
|
|
8027
|
+
if (response && response.status === 429) {
|
|
8028
|
+
if (retryDelayMs(response.headers, errText) !== void 0) throw new LlmError(`Antigravity 账号配额已耗尽或请求受限 (429 RESOURCE_EXHAUSTED)。请在插件设置页查看配额剩余百分比及重置倒计时。原始响应: ${errText || "No response"}`, "RATE_LIMIT", { status: 429 });
|
|
8029
|
+
throw new LlmError(`Antigravity 上游返回 429 (RESOURCE_EXHAUSTED) 但未给出重置时间,因此按瞬时限流处理,不视为账号配额耗尽,也不会冷却该账号。原始响应: ${upstreamBodyExcerpt(errText) || "No response"}`, "SERVER", { status: 429 });
|
|
8030
|
+
}
|
|
7979
8031
|
throw new LlmError(`Antigravity API error (${status}): ${errText || "No response"}`, isHttpContextOverflow(status, errText) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR", { status });
|
|
7980
8032
|
}
|
|
7981
8033
|
if (!response.body) throw new LlmError("Antigravity returned empty response body", "PROVIDER_ERROR");
|
|
@@ -8333,6 +8385,7 @@ async function requestImage(accountPool, store, fetchFn, prompt, aspectRatio, si
|
|
|
8333
8385
|
tried.add(account.id);
|
|
8334
8386
|
const body = JSON.stringify(buildImageRequest(prompt, projectId || "antigravity-default", aspectRatio));
|
|
8335
8387
|
let response;
|
|
8388
|
+
let firstResponse;
|
|
8336
8389
|
for (const endpoint of endpointCandidates()) try {
|
|
8337
8390
|
response = await fetchFn(`${endpoint}/v1internal:streamGenerateContent?alt=sse`, {
|
|
8338
8391
|
method: "POST",
|
|
@@ -8340,7 +8393,13 @@ async function requestImage(accountPool, store, fetchFn, prompt, aspectRatio, si
|
|
|
8340
8393
|
body,
|
|
8341
8394
|
signal
|
|
8342
8395
|
});
|
|
8396
|
+
if (firstResponse === void 0) firstResponse = response;
|
|
8343
8397
|
if (response.ok || response.status === 400 || response.status === 404) break;
|
|
8398
|
+
if (response.status === 429) {
|
|
8399
|
+
response = firstResponse;
|
|
8400
|
+
break;
|
|
8401
|
+
}
|
|
8402
|
+
response = firstResponse;
|
|
8344
8403
|
} catch (error) {
|
|
8345
8404
|
if (signal.aborted) throw error;
|
|
8346
8405
|
}
|
|
@@ -8348,10 +8407,13 @@ async function requestImage(accountPool, store, fetchFn, prompt, aspectRatio, si
|
|
|
8348
8407
|
const status = response?.status;
|
|
8349
8408
|
const errorText = await response?.text().catch(() => "") ?? "";
|
|
8350
8409
|
if (status === 429 && response) {
|
|
8351
|
-
const
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
|
|
8410
|
+
const statedWaitMs = retryDelayMs(response.headers, errorText);
|
|
8411
|
+
if (statedWaitMs !== void 0) {
|
|
8412
|
+
accountPool.markFamilyCooldown(account.id, "gemini", statedWaitMs, "429 Rate Limit", upstreamBodyExcerpt(errorText));
|
|
8413
|
+
if (await accountPool.hasAnotherAvailableAccountFor("gemini", tried)) continue;
|
|
8414
|
+
throw new HarnessError(`Antigravity image generation was rate limited. ${errorText}`.trim(), "ANTIGRAVITY_IMAGE_RATE_LIMITED");
|
|
8415
|
+
}
|
|
8416
|
+
throw new HarnessError(`Antigravity image generation was rate limited (429) without a stated reset time, so it is handled as a transient rate limit rather than a spent quota. ${upstreamBodyExcerpt(errorText)}`.trim(), "ANTIGRAVITY_IMAGE_RATE_LIMITED");
|
|
8355
8417
|
}
|
|
8356
8418
|
throw new HarnessError(`Antigravity image generation failed (${status ?? "no response"}).${errorText ? ` ${errorText}` : ""}`, "ANTIGRAVITY_IMAGE_FAILED");
|
|
8357
8419
|
}
|
|
@@ -26986,7 +27048,7 @@ const ANTHROPIC_VERSION$1 = "2023-06-01";
|
|
|
26986
27048
|
* in 2 MB.
|
|
26987
27049
|
* - MiniMax's catalog — the source this line transcribes its own numbers from —
|
|
26988
27050
|
* gives the flagship M3 a 512K context window (1M optional) and M3.1 Flash
|
|
26989
|
-
*
|
|
27051
|
+
* 1M, and the model table bounds a single image at 10 MB. A 2 MB
|
|
26990
27052
|
* total-body ceiling cannot coexist with a 10 MB single-image bound: one
|
|
26991
27053
|
* legitimate image would trip the guard on its own.
|
|
26992
27054
|
*
|
|
@@ -27213,7 +27275,7 @@ function computeMinimaxAuthOwner(credentials, accountId) {
|
|
|
27213
27275
|
function videoOmissionText(reason, label) {
|
|
27214
27276
|
const subject = label === void 0 || label === "" ? "the attached video" : label;
|
|
27215
27277
|
switch (reason) {
|
|
27216
|
-
case "unsupported-model": return "[video omitted: " + subject + " cannot be sent because the selected MiniMax model does not accept video input; switch to MiniMax-M3 or MiniMax-M3.1-Flash
|
|
27278
|
+
case "unsupported-model": return "[video omitted: " + subject + " cannot be sent because the selected MiniMax model does not accept video input; switch to MiniMax-M3 or MiniMax-M3.1-Flash, or ask the user to describe the video.]";
|
|
27217
27279
|
case "unsupported-container": return "[video omitted: " + subject + " uses a container the MiniMax coding endpoint does not accept; supported formats are " + VIDEO_MEDIA_TYPES.join(", ") + ".]";
|
|
27218
27280
|
case "unreadable": return "[video omitted: " + subject + " could not be read from storage; ask the user to attach it again if its contents are needed.]";
|
|
27219
27281
|
case "unsupported-wire": return "[video omitted: " + subject + " cannot be sent on the Anthropic Messages protocol, which documents no video content part. MiniMax video input is an OpenAI-surface feature; ask the user to describe the video.]";
|
|
@@ -28312,6 +28374,13 @@ function processMinimaxStreamLine(line, state) {
|
|
|
28312
28374
|
*
|
|
28313
28375
|
* `MiniMax-M3` is the durable default: it is the flagship the measured request
|
|
28314
28376
|
* used, and it is the one model whose wire behaviour is directly attested.
|
|
28377
|
+
*
|
|
28378
|
+
* The fourth id used to be `MiniMax-M3.1-Flash-Preview`. MiniMax published
|
|
28379
|
+
* `MiniMax-M3.1-Flash` (no suffix) and the preview id was measured answering
|
|
28380
|
+
* 200 on the same day, so the catalog carries the GA name only. Anything still
|
|
28381
|
+
* naming the preview id in a stored selection, a `provider/model` route string
|
|
28382
|
+
* or a doc must be rewritten, or it resolves to a model this build has no entry
|
|
28383
|
+
* for.
|
|
28315
28384
|
*/
|
|
28316
28385
|
const MINIMAX_CODE_MODELS = [
|
|
28317
28386
|
{
|
|
@@ -28367,8 +28436,8 @@ const MINIMAX_CODE_MODELS = [
|
|
|
28367
28436
|
description: "Flagship subscription model. Thinking is on by default and can be disabled. Accepts text, image and video; up to 9 attachments, 10MB per image and 50MB per video."
|
|
28368
28437
|
},
|
|
28369
28438
|
{
|
|
28370
|
-
id: "MiniMax-M3.1-Flash
|
|
28371
|
-
name: "MiniMax M3.1 Flash
|
|
28439
|
+
id: "MiniMax-M3.1-Flash",
|
|
28440
|
+
name: "MiniMax M3.1 Flash",
|
|
28372
28441
|
contextWindow: 1e6,
|
|
28373
28442
|
optionalContextWindow: null,
|
|
28374
28443
|
maxTokens: 128e3,
|
|
@@ -28391,17 +28460,47 @@ const MINIMAX_CODE_MODELS = [
|
|
|
28391
28460
|
maxImageBytes: 10 * 1024 * 1024,
|
|
28392
28461
|
maxVideoBytes: 50 * 1024 * 1024,
|
|
28393
28462
|
filesApiDocumented: true,
|
|
28394
|
-
description: "
|
|
28463
|
+
description: "Flash model with a 1M context window. Thinking is forced on with a selectable effort level. Accepts up to 4 attachments."
|
|
28395
28464
|
}
|
|
28396
28465
|
];
|
|
28397
28466
|
const BY_ID = new Map(MINIMAX_CODE_MODELS.map((model) => [model.id, model]));
|
|
28467
|
+
/**
|
|
28468
|
+
* Ids this line used to serve, mapped to the id that replaced them.
|
|
28469
|
+
*
|
|
28470
|
+
* MiniMax published `MiniMax-M3.1-Flash` on 2026-10-19 and dropped the
|
|
28471
|
+
* `-Preview` suffix; the preview id was measured answering 200 the same day.
|
|
28472
|
+
* A stored selection, a saved conversation or a hand-edited route may still
|
|
28473
|
+
* name the old id, and dropping it on sight would empty a selection the user
|
|
28474
|
+
* made on purpose: the picker would show no model at all. The map is one-way,
|
|
28475
|
+
* because the old id and the new one are the same model and only the spelling
|
|
28476
|
+
* changed.
|
|
28477
|
+
*/
|
|
28478
|
+
const RENAMED_MODEL_IDS = { "MiniMax-M3.1-Flash-Preview": "MiniMax-M3.1-Flash" };
|
|
28479
|
+
/**
|
|
28480
|
+
* The id a model name resolves to now.
|
|
28481
|
+
*
|
|
28482
|
+
* The WIRE still carries whatever id the caller asked for, so a session
|
|
28483
|
+
* recorded under the old id keeps talking to the id it was recorded with - and
|
|
28484
|
+
* keeps its replayed thinking blocks, whose signatures belong to that model.
|
|
28485
|
+
* Only the LOOKUP is renamed: a retired id now finds the same catalog entry
|
|
28486
|
+
* the new id finds, so its capabilities, its context window and its thinking
|
|
28487
|
+
* shape stay exactly what they were.
|
|
28488
|
+
*/
|
|
28489
|
+
function resolveMinimaxCodeModelId(modelId) {
|
|
28490
|
+
const trimmed = modelId.trim();
|
|
28491
|
+
return RENAMED_MODEL_IDS[trimmed] ?? trimmed;
|
|
28492
|
+
}
|
|
28493
|
+
/** The retired ids that now name one model. */
|
|
28494
|
+
function retiredIdsFor(modelId) {
|
|
28495
|
+
return Object.keys(RENAMED_MODEL_IDS).filter((retired) => RENAMED_MODEL_IDS[retired] === modelId);
|
|
28496
|
+
}
|
|
28398
28497
|
/** Registry entry for one model id, or undefined when the id is unknown. */
|
|
28399
28498
|
function minimaxCodeModelDef(modelId) {
|
|
28400
|
-
return BY_ID.get(modelId
|
|
28499
|
+
return BY_ID.get(resolveMinimaxCodeModelId(modelId));
|
|
28401
28500
|
}
|
|
28402
28501
|
/** Display name for one model id, falling back to the raw id so nothing is hidden. */
|
|
28403
28502
|
function minimaxCodeModelName(modelId) {
|
|
28404
|
-
return BY_ID.get(modelId
|
|
28503
|
+
return BY_ID.get(resolveMinimaxCodeModelId(modelId))?.name ?? modelId;
|
|
28405
28504
|
}
|
|
28406
28505
|
/** Every model id the picker offers, in catalog order. */
|
|
28407
28506
|
function minimaxCodeModelIds() {
|
|
@@ -28447,9 +28546,17 @@ function effortForModel(modelId, requested) {
|
|
|
28447
28546
|
* request on that model against a number the user never chose.
|
|
28448
28547
|
*/
|
|
28449
28548
|
function contextWindowForModel(modelId, contextWindowOverrides) {
|
|
28450
|
-
const
|
|
28451
|
-
const
|
|
28452
|
-
|
|
28549
|
+
const trimmed = modelId.trim();
|
|
28550
|
+
const resolved = resolveMinimaxCodeModelId(trimmed);
|
|
28551
|
+
const fallback = BY_ID.get(resolved)?.contextWindow ?? 512e3;
|
|
28552
|
+
for (const candidate of [
|
|
28553
|
+
trimmed,
|
|
28554
|
+
resolved,
|
|
28555
|
+
...retiredIdsFor(resolved)
|
|
28556
|
+
]) {
|
|
28557
|
+
const override = contextWindowOverrides?.[candidate];
|
|
28558
|
+
if (typeof override === "number" && Number.isFinite(override) && override >= 1e3) return Math.floor(override);
|
|
28559
|
+
}
|
|
28453
28560
|
return fallback;
|
|
28454
28561
|
}
|
|
28455
28562
|
/**
|
|
@@ -28466,8 +28573,9 @@ function resolveMinimaxCodeEnabledModelIds(stored, enabled = true) {
|
|
|
28466
28573
|
if (!enabled) return [];
|
|
28467
28574
|
const catalogIds = minimaxCodeModelIds();
|
|
28468
28575
|
const shipped = new Set(catalogIds);
|
|
28469
|
-
|
|
28470
|
-
|
|
28576
|
+
const resolved = stored.map((id) => resolveMinimaxCodeModelId(id));
|
|
28577
|
+
if (resolved.length === shipped.size && resolved.every((id) => shipped.has(id))) return catalogIds;
|
|
28578
|
+
return [...new Set(resolved)].filter((id) => shipped.has(id));
|
|
28471
28579
|
}
|
|
28472
28580
|
/**
|
|
28473
28581
|
* The settings-card rows for the whole shipped catalog.
|
|
@@ -38550,7 +38658,7 @@ var WorkBuddyAccountPool = class extends AccountPoolCore {
|
|
|
38550
38658
|
return refreshed;
|
|
38551
38659
|
},
|
|
38552
38660
|
refreshFailureStatus: (error) => error instanceof LlmError && error.code === "INVALID_CREDENTIAL" ? "expired" : void 0,
|
|
38553
|
-
extendSummary: (account, base) => ({
|
|
38661
|
+
extendSummary: (account, base, now) => ({
|
|
38554
38662
|
...base,
|
|
38555
38663
|
region: account.region ?? account.credentials.region,
|
|
38556
38664
|
source: account.source,
|
|
@@ -38565,6 +38673,10 @@ var WorkBuddyAccountPool = class extends AccountPoolCore {
|
|
|
38565
38673
|
...(() => {
|
|
38566
38674
|
const quota = quotaFor(account.id);
|
|
38567
38675
|
return quota === void 0 ? {} : { quota };
|
|
38676
|
+
})(),
|
|
38677
|
+
...(() => {
|
|
38678
|
+
const modelCooldowns = this.liveModelCooldowns(account.id, now);
|
|
38679
|
+
return modelCooldowns.length === 0 ? {} : { modelCooldowns };
|
|
38568
38680
|
})()
|
|
38569
38681
|
}),
|
|
38570
38682
|
preferAccountId: () => this.resolveSelectionId(options.selection?.().selectedAccountId ?? null),
|
|
@@ -38742,6 +38854,44 @@ var WorkBuddyAccountPool = class extends AccountPoolCore {
|
|
|
38742
38854
|
const until = this.modelCooldowns.get(accountId)?.get(model);
|
|
38743
38855
|
return until !== void 0 && until > now ? until : void 0;
|
|
38744
38856
|
}
|
|
38857
|
+
/**
|
|
38858
|
+
* The models this account is parked on right now, with the instant each park
|
|
38859
|
+
* lifts.
|
|
38860
|
+
*
|
|
38861
|
+
* Only LIVE parks are reported: a window that has passed is dropped here, so
|
|
38862
|
+
* the card never shows a model that may already serve. The lift instant is
|
|
38863
|
+
* the one the upstream named, stored verbatim by
|
|
38864
|
+
* {@link markModelCooldown}; it is never recomputed from a duration that has
|
|
38865
|
+
* since drifted, because a re-derived instant would drift with it.
|
|
38866
|
+
*/
|
|
38867
|
+
liveModelCooldowns(accountId, now) {
|
|
38868
|
+
const models = this.modelCooldowns.get(accountId);
|
|
38869
|
+
if (models === void 0) return [];
|
|
38870
|
+
const live = [];
|
|
38871
|
+
for (const [model, until] of models) if (until > now) live.push({
|
|
38872
|
+
model,
|
|
38873
|
+
cooldownUntil: until
|
|
38874
|
+
});
|
|
38875
|
+
else models.delete(model);
|
|
38876
|
+
if (models.size === 0) this.modelCooldowns.delete(accountId);
|
|
38877
|
+
return live;
|
|
38878
|
+
}
|
|
38879
|
+
/**
|
|
38880
|
+
* Clear one account's cooldown AND the models it is parked on.
|
|
38881
|
+
*
|
|
38882
|
+
* The card's "reset cooldown" button promises the account is usable again. A
|
|
38883
|
+
* model park is a cooldown too — the account stays eligible, but it still
|
|
38884
|
+
* refuses the model the request wants — so leaving the park behind would
|
|
38885
|
+
* report a reset that did not happen, and the park would outlive the only
|
|
38886
|
+
* control the user has over it.
|
|
38887
|
+
*
|
|
38888
|
+
* The base write comes first: it is the half that can fail, and a failed
|
|
38889
|
+
* write must leave the account's state as it was rather than half-cleared.
|
|
38890
|
+
*/
|
|
38891
|
+
async clearCooldown(accountId) {
|
|
38892
|
+
await super.clearCooldown(accountId);
|
|
38893
|
+
this.modelCooldowns.delete(accountId);
|
|
38894
|
+
}
|
|
38745
38895
|
/** Accounts currently parked on one model, with lifted entries pruned on the way. */
|
|
38746
38896
|
parkedAccountIds(model, now = Date.now()) {
|
|
38747
38897
|
const parked = /* @__PURE__ */ new Set();
|
|
@@ -59404,11 +59554,11 @@ function inheritedRouteOf(agent) {
|
|
|
59404
59554
|
* value that already carries its provider prefix.
|
|
59405
59555
|
*
|
|
59406
59556
|
* The discovery tool that hands a model to the model renders each route as
|
|
59407
|
-
* `provider/model` (`minimax-code/MiniMax-M3.1-Flash
|
|
59557
|
+
* `provider/model` (`minimax-code/MiniMax-M3.1-Flash`), and the
|
|
59408
59558
|
* `model` parameter is documented as "Model id interpreted by provider". A
|
|
59409
59559
|
* model that copies that line into `model` while naming `provider` separately
|
|
59410
59560
|
* therefore sends `provider` = `minimax-code` and `model` =
|
|
59411
|
-
* `minimax-code/MiniMax-M3.1-Flash
|
|
59561
|
+
* `minimax-code/MiniMax-M3.1-Flash`. That is the single most likely way
|
|
59412
59562
|
* a correct-looking call is formed, and treating the doubled text as an opaque
|
|
59413
59563
|
* model id both denies it and — had it been authorized — resolved a model the
|
|
59414
59564
|
* provider does not have. The prefix is stripped only when the remainder is a
|
|
@@ -59490,7 +59640,7 @@ function unauthorizedRouteReason(provider, model, allowed, explicit) {
|
|
|
59490
59640
|
* The id is deliberately NOT accepted here. The guard is the plugin plane, so
|
|
59491
59641
|
* it cannot rewrite the arguments the delegation tool executes: that tool hands
|
|
59492
59642
|
* `model` to the adapter verbatim, and the adapter matches it against its own
|
|
59493
|
-
* table, where `minimax-code/MiniMax-M3.1-Flash
|
|
59643
|
+
* table, where `minimax-code/MiniMax-M3.1-Flash` is not a model. A
|
|
59494
59644
|
* guard that accepted the doubled text would turn this clear refusal into a
|
|
59495
59645
|
* downstream `NO_ADAPTER`/unknown-model failure. Naming the two fields
|
|
59496
59646
|
* separately is what actually unblocks the call.
|
|
@@ -62499,7 +62649,7 @@ function resolveProgressUpdatesSettings(config) {
|
|
|
62499
62649
|
const enabled = readProgressConfigField(config?.progressUpdates);
|
|
62500
62650
|
const threshold = readProgressConfigField(config?.progressUpdatesNudgeThreshold);
|
|
62501
62651
|
return {
|
|
62502
|
-
enabled: enabled
|
|
62652
|
+
enabled: enabled !== false,
|
|
62503
62653
|
nudgeThreshold: typeof threshold === "number" && Number.isSafeInteger(threshold) && threshold > 0 ? threshold : 8
|
|
62504
62654
|
};
|
|
62505
62655
|
}
|
|
@@ -62699,7 +62849,7 @@ const Config = z.object({
|
|
|
62699
62849
|
reasoningCollapseGuard: z.union([z.object({}), z.const(false)]).default(false),
|
|
62700
62850
|
noAnswerResume: z.union([z.object({}), z.const(false)]).default({}),
|
|
62701
62851
|
codexStreamIdleTimeoutMs: z.number().min(1).max(MAX_TIMER_DELAY_MS).step(1).default(DEFAULT_STREAM_IDLE_TIMEOUT_MS),
|
|
62702
|
-
progressUpdates: z.boolean().default(
|
|
62852
|
+
progressUpdates: z.boolean().default(true).volatile().description("启用进展更新:允许 agent 用 progress_update 工具主动汇报多步任务的进展,并在侧栏展示。"),
|
|
62703
62853
|
progressUpdatesNudgeThreshold: z.number().step(1).min(1).max(50).default(8).volatile().description("催促阈值:连续这么多轮带工具调用却没有进展更新时,提醒 agent 发一条进展。")
|
|
62704
62854
|
});
|
|
62705
62855
|
const inject = [
|
|
@@ -63306,4 +63456,4 @@ function apply(ctx, pluginConfig = {}) {
|
|
|
63306
63456
|
}, "dsh-chatgpt-subscription: adapter, routes, and lifecycle");
|
|
63307
63457
|
}
|
|
63308
63458
|
//#endregion
|
|
63309
|
-
export { AccountPoolCore, AccountPoolStore, AntigravityAdapter, ADOPTED_CREDENTIAL_EXPIRED_HINT as CLAUDE_ADOPTED_CREDENTIAL_EXPIRED_HINT, API_BASE as CLAUDE_API_BASE, DEFAULT_VISIBLE_MODEL_IDS as CLAUDE_DEFAULT_VISIBLE_MODELS, FALLBACK_MODELS as CLAUDE_FALLBACK_MODELS, MESSAGES_PATH as CLAUDE_MESSAGES_PATH, CLAUDE_MODELS, CLAUDE_MODEL_IDS, PROVIDER_ID as CLAUDE_PROVIDER_ID, PROVIDER_NAME as CLAUDE_PROVIDER_NAME, QUOTA_CACHE_TTL_MS as CLAUDE_QUOTA_CACHE_TTL_MS, CLAUDE_REASONING_EFFORTS, ROUTE_PREFIX as CLAUDE_ROUTE_PREFIX, ClaudeAccountPool, ClaudeAdapter, FileCredentialStore as ClaudeCredentialStore, FileModelSettingsStore as ClaudeModelSettingsStore, CodexAccountPool, CodexChatGptAdapter, CommandCodeAccountPool, CommandCodeAdapter, FileCredentialStore$1 as CommandCodeCredentialStore, FileModelSettingsStore$1 as CommandCodeModelSettingsStore, Config, DEFAULT_GUARD_OPTIONS, DEFAULT_SUBAGENT_INHERIT_TOOLS, FileCredentialStore$2 as FileCredentialStore, FileModelSettingsStore$2 as FileModelSettingsStore, GLM_CODING_PLAN_PREFERENCES_NAMESPACE, QUOTA_WINDOW_MINUTES as GLM_CODING_PLAN_QUOTA_WINDOW_MINUTES, GLM_CODING_PLAN_RETRY_POLICY_CONFIG, PROVIDER_ID$1 as GLM_CODING_PLAN_ROUTE_PROVIDER_ID, PROVIDER_NAME$1 as GLM_CODING_PLAN_ROUTE_PROVIDER_NAME, GLM_MODEL_CATALOG, GLM_MODEL_IDS, GLM_POOL_COOLDOWN_MS, GlmAdoptedCredentialRefreshError, GlmCodingPlanAccountPool, GlmCodingPlanAdapter, GlmCodingPlanCredentialStore, GlmCodingPlanModelSettingsStore, KIMI_CODE_MODELS, KIMI_CODE_RETRY_POLICY_CONFIG, KimiCodeAccountPool, KimiCodeAdapter, FileCredentialStore$3 as KimiCodeCredentialStore, FileModelSettingsStore$3 as KimiCodeModelSettingsStore, LinuxFileTokenStore, AGENT_LLM_PREFIX as MINIMAX_CODE_AGENT_LLM_PREFIX, DEFAULT_MAX_MESSAGE_BODY_BYTES as MINIMAX_CODE_MAX_MESSAGE_BODY_BYTES, MESSAGES_PATH$1 as MINIMAX_CODE_MESSAGES_PATH, MINIMAX_CODE_MODELS, PROBE_MODEL as MINIMAX_CODE_PROBE_MODEL, MINIMAX_CODE_PROVIDER_ID, MINIMAX_CODE_PROVIDER_NAME, MINIMAX_CODE_REASONING_EFFORTS, REGION_HOSTS as MINIMAX_CODE_REGION_HOSTS, MINIMAX_CODE_RETRY_POLICY_CONFIG, MINIMAX_CODE_ROUTE_PREFIX, MacKeychainTokenStore, MinimaxCodeAccountPool, MinimaxCodeAdapter, MinimaxCodeCheckinService, MinimaxCodeCredentialStore, MinimaxCodeModelSettingsStore, OAuthService, ProxyManager, RELAY_PROBE_ENV, RELAY_PROBE_FILE_ENV, RELAY_PROBE_FILE_NAME, RELAY_PROBE_MAX_BYTES, RELAY_SOURCE_KINDS, RESUME_HINT, RESUME_HINT_STRICT, RelayProbe, ResponsesClient, STEP_CODE_POOL_COOLDOWN_MS, STEP_CODE_PROFILES, STEP_CODE_PROVIDER_ID, STEP_CODE_PROVIDER_NAME, STEP_CODE_RETRY_POLICY_CONFIG, STEP_CODE_ROUTE_PREFIX, SUBAGENT_MODEL_SELECTION_NAMESPACE, SUBAGENT_POLICY_EVENT, SearchProviderSwitcher, StepCodeAccountPool, StepCodeAdapter, StepCodeCredentialRefreshError, StepCodeCredentialStore, StepCodeModelSettingsStore, StepCodeQuotaCredentialStore, UsageService, FALLBACK_MODELS$1 as WORKBUDDY_MODELS, WORKBUDDY_MODEL_IDS, WindowsDpapiTokenStore, WorkBuddyAdapter, WorkBuddyCheckinService, FileCredentialStore$4 as WorkBuddyCredentialStore, FileModelSettingsStore$4 as WorkBuddyModelSettingsStore, adoptZcodeSignIn as adoptGlmZcodeSignIn, adoptedPoolAccountKey, apply, assertRequestBodyFits as assertMinimaxCodeBodyFits, assertStreamComplete as assertMinimaxCodeStreamComplete, auditChildRoutes, auditedRoutesOf, authorizedRoutesFor, beginLogin as beginClaudeLogin, beginWebLogin as beginKimiCodeLogin, beginWebLogin$1 as beginMinimaxCodeLogin, beginWebLogin$2 as beginWebLogin, buildClaudeModelOptions, buildGlmRequestPlan, buildMinimaxCodeModelOptions, buildMinimaxRequest, cachedStepCodeModelCatalog, cancelLogin as cancelClaudeLogin, cancelWebLogin as cancelMinimaxCodeLogin, catalogModelOptions, childRoutesOf, clampOutputToContext as clampMinimaxCodeOutputToContext, classifyFailure as classifyClaudeFailure, classifyKimiFailure, classifyMinimaxFailure, classifyFailure$1 as classifyWorkBuddyFailure, claudeCliVersion, claudeCodeCredentialPaths, claudeCodeCredentialPresence, codeForFailure as claudeCodeForFailure, credentialPath as claudeCredentialPath, defaultContextWindowFor as claudeDefaultContextWindow, maxOutputTokensFor as claudeMaxOutputTokens, claudeModelCanDisableThinking, modelSettingsPath as claudeModelSettingsPath, claudeModelSupportsImage, claudeModelSupportsTemperature, claudePoolPath, claudeReasoningEfforts, claudeThinkingMode, toLlmError as claudeToLlmError, clearCachedQuota, clearCachedCatalog as clearClaudeCatalog, clearCachedQuota$1 as clearClaudeQuota, clearCachedQuota$2 as clearCommandCodeQuota, clearCachedQuota$3 as clearKimiCodeQuota, clearCachedQuota$4 as clearMinimaxCodeQuota, clearCachedCatalog$1 as clearWorkBuddyCatalog, clearCachedQuota$5 as clearWorkBuddyQuota, closeMinimaxStream, codeBuddyAuthDir, codexPoolPath, collapseScore, commandCodeAccountKey, credentialPath$1 as commandCodeCredentialPath, modelSettingsPath$1 as commandCodeModelSettingsPath, commandCodePoolPath, contextWindowForModel, convergeGlmEffort, createAntigravityImageTool, createCodexFetchProvider, createCodexImageTool, createCodexSearchProvider, createFileRelayProbeSink, createMinimaxCodeAccountsHandler, createMessage as createMinimaxCodeMessage, createPkcePair as createMinimaxCodePkcePair, createStreamState as createMinimaxCodeStreamState, createPlatformTokenStore, createSubagentAuthorization, credentialPath$2 as credentialPath, credentialsFromAdopt, credentialsFromCliLogin, delegationDenialReason, delegationModeOf, describeCredentials as describeMinimaxCodeCredentials, detectSystemProxy, dshHomeDir, effectiveRouteOf, ensureAccessToken as ensureClaudeAccessToken, ensureAccessToken$1 as ensureKimiCodeAccessToken, ensureAccessToken$2 as ensureMinimaxCodeAccessToken, fetchAccountQuota, fetchAccountQuota$1 as fetchClaudeQuota, fetchAccountQuota$2 as fetchCommandCodeQuota, fetchGlmQuota, fetchAccountQuota$3 as fetchKimiCodeQuota, fetchUserInfo as fetchKimiCodeUserInfo, fetchTokenPlanQuota as fetchMinimaxCodeQuota, fetchAccountQuota$4 as fetchWorkBuddyQuota, getCachedQuota as getCachedGlmCodingPlanQuota, getCachedQuota$1 as getCachedQuota, getLoginStatus as getClaudeLoginStatus, getCachedQuota$2 as getClaudeQuota, getClaudeWebStatus, getWebLoginStatus as getCommandCodeLoginStatus, getCachedQuota$3 as getCommandCodeQuota, getCommandCodeWebStatus, getGlmCodingPlanStatus, getWebLoginStatus$1 as getKimiCodeLoginStatus, getCachedQuota$4 as getKimiCodeQuota, getKimiCodeWebStatus, getWebLogin as getMinimaxCodeLogin, getCachedQuota$5 as getMinimaxCodeQuota, getMinimaxCodeWebStatus, getStepCodeStatus, getCachedQuota$6 as getWorkBuddyQuota, getWorkBuddyWebStatus, glmCatalogSize, authorizeUrl as glmCodingPlanAuthorizeUrl, catalogSize as glmCodingPlanCatalogCount, credentialPath$3 as glmCodingPlanCredentialPath, modelSettingsPath$2 as glmCodingPlanModelSettingsPath, modelsForRegion as glmCodingPlanModelsForRegion, glmCodingPlanPoolIdentity, glmCodingPlanPoolPath, glmCodingPlanPoolQuota, glmCodingPlanPoolStatus, glmCodingPlanSettingsSource, glmCooldownDecision, glmSubPathOf, inheritOverrideReason, inheritRouteDenialReason, inheritedRouteOf, inject, installReasoningCollapseGuard, installRelayProbe, installSubagentModelAuthorization, isAdoptedClaudeCredential, isAdoptedCredentialExpired, isAdoptedCredential as isAdoptedGlmCodingPlanCredential, isAdoptedZcodeCredential as isAdoptedGlmZcodeCredential, isAdoptedPoolCredential, isClaudeReasoningEffort, isGlmReasoningEffort, isMinimaxCodeReasoningEffort, isRefreshTokenRejected as isMinimaxCodeRefreshTokenRejected, isThinkingDisabledEffort, credentialPath$4 as kimiCodeCredentialPath, kimiCodeModelDef, modelSettingsPath$3 as kimiCodeModelSettingsPath, kimiCodePoolPath, listModelIds as listMinimaxCodeModelIds, loadCatalog as loadClaudeCatalog, loadProviderModels as loadCommandCodeModels, loadCatalog$1 as loadGlmCodingPlanCatalog, loadProviderModels$1 as loadKimiCodeModels, loadConfigCatalog as loadWorkBuddyModels, loginAndSave, mapCodexUsage, mergeGlmCodingPlanSettings, accountFromCredentials as minimaxCodeAccountFromCredentials, accountHost as minimaxCodeAccountHost, agentBaseUrl as minimaxCodeAgentBaseUrl, authJsonPath as minimaxCodeAuthJsonPath, authStateJsonPath as minimaxCodeAuthStateJsonPath, catalogSize$1 as minimaxCodeCatalogSize, credentialIsFresh as minimaxCodeCredentialIsFresh, effortForModel as minimaxCodeEffortForModel, minimaxHomeDir as minimaxCodeHomeDir, maxMessageBodyBytes as minimaxCodeMaxMessageBodyBytes, maxOutputTokensFor$1 as minimaxCodeMaxOutputTokens, messagesUrl as minimaxCodeMessagesUrl, minimaxCodeModelDef, minimaxCodeModelIds, minimaxCodeModelName, modelRequestHeaders as minimaxCodeModelRequestHeaders, modelSettingsPath$4 as minimaxCodeModelSettingsPath, outputConfigFor as minimaxCodeOutputConfig, pluginCredentialPath as minimaxCodePluginCredentialPath, minimaxCodePoolIdentity, minimaxCodePoolPath, minimaxCodePoolStatus, quotaHostCandidates as minimaxCodeQuotaHostCandidates, quotaRequestHeaders as minimaxCodeQuotaRequestHeaders, subPathOf as minimaxCodeSubPathOf, tokenPlanRemainsUrl as minimaxCodeTokenPlanRemainsUrl, modelSettingsPath$5 as modelSettingsPath, normalizeDelegationToolNames, normalizeRegion as normalizeGlmCodingPlanRegion, normalizeInheritToolNames, normalizeRotationStrategy, parseAllowedRoutes, parseClaudeCredentialDocument, parseClaudeCredentials, parseClaudePoolData, parseUsagePayload as parseClaudeUsagePayload, parseCodexPoolData, parseCodexUsage, parseCommandCodePoolData, parseGlmCodingPlanCredentials, parseGlmCodingPlanPoolData, parseKimiCodePoolData, parseMinimaxCodeCredentials, parseMinimaxCodePoolData, parseTokenPlanQuota as parseMinimaxCodeQuota, parseAnthropicUsage as parseMinimaxCodeUsage, parseResponsesStream, parseBilling as parseWorkBuddyBilling, parseConfigModels as parseWorkBuddyConfigModels, parseCredentialFile as parseWorkBuddyCredential, policyRoutesOf, pollWebLogin as pollMinimaxCodeLogin, probeConnection as probeClaudeConnection, processMinimaxStreamLine, readChildDescriptor, readClaudeCodeCredentials, readGlmResetAt, readStepCodeCacheStats, redactToken as redactMinimaxCodeToken, refreshAntigravityToken, refreshAccessToken as refreshClaudeToken, refreshAccessToken$1 as refreshKimiCodeToken, refreshAccessToken$2 as refreshMinimaxCodeToken, refreshCredentials as refreshWorkBuddyCredentials, registerClaudePreferenceStore, registerClaudeRoutes, registerCommandCodePreferenceStore, registerCommandCodeRoutes, registerGlmCodingPlanPreferenceStore, registerGlmCodingPlanRoutes, registerKimiCodePreferenceStore, registerKimiCodeRoutes, registerMinimaxCodePreferenceStore, registerMinimaxCodeRoutes, registerStepCodePreferenceStore, registerStepCodeRoutes, registerWorkBuddyPreferenceStore, registerWorkBuddyRoutes, relayProbeEnabled, relayProbeEnvFile, relayProbeEnvValue, relayProbeLogPath, rememberStepCodeCacheUsage, requestDeviceAuthorization as requestKimiCodeDeviceAuthorization, requestDeviceAuthorization$1 as requestMinimaxCodeDeviceAuthorization, resetWebLogins as resetMinimaxCodeLogins, resolveEnabledModelIds as resolveClaudeEnabledModelIds, resolveLoginInput as resolveClaudeLoginInput, resolveClaudeModel, resolveGlmModel, resolveGuardOptions, resolveRegion as resolveKimiCodeRegion, resolveMinimaxCodeEnabledModelIds, resolveQuotaCounts as resolveMinimaxCodeQuotaCounts, resolveWorkBuddyModel, revokeToken as revokeMinimaxCodeToken, saveApiKey as saveCommandCodeApiKey, scanCredentials as scanWorkBuddyCredentials, setClaudeCliVersion, beginWebLogin$3 as startCommandCodeLogin, stepCodeCatalogSize, credentialPath$5 as stepCodeCredentialPath, stepCodeModelCatalogFrom, modelSettingsPath$6 as stepCodeModelSettingsPath, stepCodePoolIdentity, stepCodePoolPath, stepCodePoolQuota, stepCodePoolStatus, stepCodePoolStatusSlice, quotaCredentialPath as stepCodeQuotaCredentialPath, stepCodeSettingsSource, stepCodeSubPathOf, subagentModelSelectionPreference, submitLoginInput as submitClaudeLoginInput, summarizeFailureBody as summarizeMinimaxCodeFailureBody, testConnection as testMinimaxCodeConnection, unauthorizedRouteReason, validateAuthorizationScope, validateDelegationToolNames, validateInheritToolNames, verifyCodingPlanKey as verifyGlmCodingPlanKey, violationText, modelSettingsPath$7 as workBuddyModelSettingsPath, modelsForRegion$1 as workBuddyModelsForRegion, zcodeCredentialsPath };
|
|
63459
|
+
export { AccountPoolCore, AccountPoolStore, AntigravityAdapter, ADOPTED_CREDENTIAL_EXPIRED_HINT as CLAUDE_ADOPTED_CREDENTIAL_EXPIRED_HINT, API_BASE as CLAUDE_API_BASE, DEFAULT_VISIBLE_MODEL_IDS as CLAUDE_DEFAULT_VISIBLE_MODELS, FALLBACK_MODELS as CLAUDE_FALLBACK_MODELS, MESSAGES_PATH as CLAUDE_MESSAGES_PATH, CLAUDE_MODELS, CLAUDE_MODEL_IDS, PROVIDER_ID as CLAUDE_PROVIDER_ID, PROVIDER_NAME as CLAUDE_PROVIDER_NAME, QUOTA_CACHE_TTL_MS as CLAUDE_QUOTA_CACHE_TTL_MS, CLAUDE_REASONING_EFFORTS, ROUTE_PREFIX as CLAUDE_ROUTE_PREFIX, ClaudeAccountPool, ClaudeAdapter, FileCredentialStore as ClaudeCredentialStore, FileModelSettingsStore as ClaudeModelSettingsStore, CodexAccountPool, CodexChatGptAdapter, CommandCodeAccountPool, CommandCodeAdapter, FileCredentialStore$1 as CommandCodeCredentialStore, FileModelSettingsStore$1 as CommandCodeModelSettingsStore, Config, DEFAULT_GUARD_OPTIONS, DEFAULT_SUBAGENT_INHERIT_TOOLS, FileCredentialStore$2 as FileCredentialStore, FileModelSettingsStore$2 as FileModelSettingsStore, GLM_CODING_PLAN_PREFERENCES_NAMESPACE, QUOTA_WINDOW_MINUTES as GLM_CODING_PLAN_QUOTA_WINDOW_MINUTES, GLM_CODING_PLAN_RETRY_POLICY_CONFIG, PROVIDER_ID$1 as GLM_CODING_PLAN_ROUTE_PROVIDER_ID, PROVIDER_NAME$1 as GLM_CODING_PLAN_ROUTE_PROVIDER_NAME, GLM_MODEL_CATALOG, GLM_MODEL_IDS, GLM_POOL_COOLDOWN_MS, GlmAdoptedCredentialRefreshError, GlmCodingPlanAccountPool, GlmCodingPlanAdapter, GlmCodingPlanCredentialStore, GlmCodingPlanModelSettingsStore, KIMI_CODE_MODELS, KIMI_CODE_RETRY_POLICY_CONFIG, KimiCodeAccountPool, KimiCodeAdapter, FileCredentialStore$3 as KimiCodeCredentialStore, FileModelSettingsStore$3 as KimiCodeModelSettingsStore, LinuxFileTokenStore, AGENT_LLM_PREFIX as MINIMAX_CODE_AGENT_LLM_PREFIX, DEFAULT_MAX_MESSAGE_BODY_BYTES as MINIMAX_CODE_MAX_MESSAGE_BODY_BYTES, MESSAGES_PATH$1 as MINIMAX_CODE_MESSAGES_PATH, MINIMAX_CODE_MODELS, PROBE_MODEL as MINIMAX_CODE_PROBE_MODEL, MINIMAX_CODE_PROVIDER_ID, MINIMAX_CODE_PROVIDER_NAME, MINIMAX_CODE_REASONING_EFFORTS, REGION_HOSTS as MINIMAX_CODE_REGION_HOSTS, MINIMAX_CODE_RETRY_POLICY_CONFIG, MINIMAX_CODE_ROUTE_PREFIX, MacKeychainTokenStore, MinimaxCodeAccountPool, MinimaxCodeAdapter, MinimaxCodeCheckinService, MinimaxCodeCredentialStore, MinimaxCodeModelSettingsStore, OAuthService, ProxyManager, RELAY_PROBE_ENV, RELAY_PROBE_FILE_ENV, RELAY_PROBE_FILE_NAME, RELAY_PROBE_MAX_BYTES, RELAY_SOURCE_KINDS, RESUME_HINT, RESUME_HINT_STRICT, RelayProbe, ResponsesClient, STEP_CODE_POOL_COOLDOWN_MS, STEP_CODE_PROFILES, STEP_CODE_PROVIDER_ID, STEP_CODE_PROVIDER_NAME, STEP_CODE_RETRY_POLICY_CONFIG, STEP_CODE_ROUTE_PREFIX, SUBAGENT_MODEL_SELECTION_NAMESPACE, SUBAGENT_POLICY_EVENT, SearchProviderSwitcher, StepCodeAccountPool, StepCodeAdapter, StepCodeCredentialRefreshError, StepCodeCredentialStore, StepCodeModelSettingsStore, StepCodeQuotaCredentialStore, UsageService, FALLBACK_MODELS$1 as WORKBUDDY_MODELS, WORKBUDDY_MODEL_IDS, WindowsDpapiTokenStore, WorkBuddyAdapter, WorkBuddyCheckinService, FileCredentialStore$4 as WorkBuddyCredentialStore, FileModelSettingsStore$4 as WorkBuddyModelSettingsStore, adoptZcodeSignIn as adoptGlmZcodeSignIn, adoptedPoolAccountKey, apply, assertRequestBodyFits as assertMinimaxCodeBodyFits, assertStreamComplete as assertMinimaxCodeStreamComplete, auditChildRoutes, auditedRoutesOf, authorizedRoutesFor, beginLogin as beginClaudeLogin, beginWebLogin as beginKimiCodeLogin, beginWebLogin$1 as beginMinimaxCodeLogin, beginWebLogin$2 as beginWebLogin, buildClaudeModelOptions, buildGlmRequestPlan, buildMinimaxCodeModelOptions, buildMinimaxRequest, cachedStepCodeModelCatalog, cancelLogin as cancelClaudeLogin, cancelWebLogin as cancelMinimaxCodeLogin, catalogModelOptions, childRoutesOf, clampOutputToContext as clampMinimaxCodeOutputToContext, classifyFailure as classifyClaudeFailure, classifyKimiFailure, classifyMinimaxFailure, classifyFailure$1 as classifyWorkBuddyFailure, claudeCliVersion, claudeCodeCredentialPaths, claudeCodeCredentialPresence, codeForFailure as claudeCodeForFailure, credentialPath as claudeCredentialPath, defaultContextWindowFor as claudeDefaultContextWindow, maxOutputTokensFor as claudeMaxOutputTokens, claudeModelCanDisableThinking, modelSettingsPath as claudeModelSettingsPath, claudeModelSupportsImage, claudeModelSupportsTemperature, claudePoolPath, claudeReasoningEfforts, claudeThinkingMode, toLlmError as claudeToLlmError, clearCachedQuota, clearCachedCatalog as clearClaudeCatalog, clearCachedQuota$1 as clearClaudeQuota, clearCachedQuota$2 as clearCommandCodeQuota, clearCachedQuota$3 as clearKimiCodeQuota, clearCachedQuota$4 as clearMinimaxCodeQuota, clearCachedCatalog$1 as clearWorkBuddyCatalog, clearCachedQuota$5 as clearWorkBuddyQuota, closeMinimaxStream, codeBuddyAuthDir, codexPoolPath, collapseScore, commandCodeAccountKey, credentialPath$1 as commandCodeCredentialPath, modelSettingsPath$1 as commandCodeModelSettingsPath, commandCodePoolPath, contextWindowForModel, convergeGlmEffort, createAntigravityImageTool, createCodexFetchProvider, createCodexImageTool, createCodexSearchProvider, createFileRelayProbeSink, createMinimaxCodeAccountsHandler, createMessage as createMinimaxCodeMessage, createPkcePair as createMinimaxCodePkcePair, createStreamState as createMinimaxCodeStreamState, createPlatformTokenStore, createSubagentAuthorization, credentialPath$2 as credentialPath, credentialsFromAdopt, credentialsFromCliLogin, delegationDenialReason, delegationModeOf, describeCredentials as describeMinimaxCodeCredentials, detectSystemProxy, dshHomeDir, effectiveRouteOf, ensureAccessToken as ensureClaudeAccessToken, ensureAccessToken$1 as ensureKimiCodeAccessToken, ensureAccessToken$2 as ensureMinimaxCodeAccessToken, fetchAccountQuota, fetchAccountQuota$1 as fetchClaudeQuota, fetchAccountQuota$2 as fetchCommandCodeQuota, fetchGlmQuota, fetchAccountQuota$3 as fetchKimiCodeQuota, fetchUserInfo as fetchKimiCodeUserInfo, fetchTokenPlanQuota as fetchMinimaxCodeQuota, fetchAccountQuota$4 as fetchWorkBuddyQuota, getCachedQuota as getCachedGlmCodingPlanQuota, getCachedQuota$1 as getCachedQuota, getLoginStatus as getClaudeLoginStatus, getCachedQuota$2 as getClaudeQuota, getClaudeWebStatus, getWebLoginStatus as getCommandCodeLoginStatus, getCachedQuota$3 as getCommandCodeQuota, getCommandCodeWebStatus, getGlmCodingPlanStatus, getWebLoginStatus$1 as getKimiCodeLoginStatus, getCachedQuota$4 as getKimiCodeQuota, getKimiCodeWebStatus, getWebLogin as getMinimaxCodeLogin, getCachedQuota$5 as getMinimaxCodeQuota, getMinimaxCodeWebStatus, getStepCodeStatus, getCachedQuota$6 as getWorkBuddyQuota, getWorkBuddyWebStatus, glmCatalogSize, authorizeUrl as glmCodingPlanAuthorizeUrl, catalogSize as glmCodingPlanCatalogCount, credentialPath$3 as glmCodingPlanCredentialPath, modelSettingsPath$2 as glmCodingPlanModelSettingsPath, modelsForRegion as glmCodingPlanModelsForRegion, glmCodingPlanPoolIdentity, glmCodingPlanPoolPath, glmCodingPlanPoolQuota, glmCodingPlanPoolStatus, glmCodingPlanSettingsSource, glmCooldownDecision, glmSubPathOf, inheritOverrideReason, inheritRouteDenialReason, inheritedRouteOf, inject, installReasoningCollapseGuard, installRelayProbe, installSubagentModelAuthorization, isAdoptedClaudeCredential, isAdoptedCredentialExpired, isAdoptedCredential as isAdoptedGlmCodingPlanCredential, isAdoptedZcodeCredential as isAdoptedGlmZcodeCredential, isAdoptedPoolCredential, isClaudeReasoningEffort, isGlmReasoningEffort, isMinimaxCodeReasoningEffort, isRefreshTokenRejected as isMinimaxCodeRefreshTokenRejected, isThinkingDisabledEffort, credentialPath$4 as kimiCodeCredentialPath, kimiCodeModelDef, modelSettingsPath$3 as kimiCodeModelSettingsPath, kimiCodePoolPath, listModelIds as listMinimaxCodeModelIds, loadCatalog as loadClaudeCatalog, loadProviderModels as loadCommandCodeModels, loadCatalog$1 as loadGlmCodingPlanCatalog, loadProviderModels$1 as loadKimiCodeModels, loadConfigCatalog as loadWorkBuddyModels, loginAndSave, mapCodexUsage, mergeGlmCodingPlanSettings, accountFromCredentials as minimaxCodeAccountFromCredentials, accountHost as minimaxCodeAccountHost, agentBaseUrl as minimaxCodeAgentBaseUrl, authJsonPath as minimaxCodeAuthJsonPath, authStateJsonPath as minimaxCodeAuthStateJsonPath, catalogSize$1 as minimaxCodeCatalogSize, credentialIsFresh as minimaxCodeCredentialIsFresh, effortForModel as minimaxCodeEffortForModel, minimaxHomeDir as minimaxCodeHomeDir, maxMessageBodyBytes as minimaxCodeMaxMessageBodyBytes, maxOutputTokensFor$1 as minimaxCodeMaxOutputTokens, messagesUrl as minimaxCodeMessagesUrl, minimaxCodeModelDef, minimaxCodeModelIds, minimaxCodeModelName, modelRequestHeaders as minimaxCodeModelRequestHeaders, modelSettingsPath$4 as minimaxCodeModelSettingsPath, outputConfigFor as minimaxCodeOutputConfig, pluginCredentialPath as minimaxCodePluginCredentialPath, minimaxCodePoolIdentity, minimaxCodePoolPath, minimaxCodePoolStatus, quotaHostCandidates as minimaxCodeQuotaHostCandidates, quotaRequestHeaders as minimaxCodeQuotaRequestHeaders, subPathOf as minimaxCodeSubPathOf, tokenPlanRemainsUrl as minimaxCodeTokenPlanRemainsUrl, modelSettingsPath$5 as modelSettingsPath, normalizeDelegationToolNames, normalizeRegion as normalizeGlmCodingPlanRegion, normalizeInheritToolNames, normalizeRotationStrategy, parseAllowedRoutes, parseClaudeCredentialDocument, parseClaudeCredentials, parseClaudePoolData, parseUsagePayload as parseClaudeUsagePayload, parseCodexPoolData, parseCodexUsage, parseCommandCodePoolData, parseGlmCodingPlanCredentials, parseGlmCodingPlanPoolData, parseKimiCodePoolData, parseMinimaxCodeCredentials, parseMinimaxCodePoolData, parseTokenPlanQuota as parseMinimaxCodeQuota, parseAnthropicUsage as parseMinimaxCodeUsage, parseResponsesStream, parseBilling as parseWorkBuddyBilling, parseConfigModels as parseWorkBuddyConfigModels, parseCredentialFile as parseWorkBuddyCredential, policyRoutesOf, pollWebLogin as pollMinimaxCodeLogin, probeConnection as probeClaudeConnection, processMinimaxStreamLine, readChildDescriptor, readClaudeCodeCredentials, readGlmResetAt, readStepCodeCacheStats, redactToken as redactMinimaxCodeToken, refreshAntigravityToken, refreshAccessToken as refreshClaudeToken, refreshAccessToken$1 as refreshKimiCodeToken, refreshAccessToken$2 as refreshMinimaxCodeToken, refreshCredentials as refreshWorkBuddyCredentials, registerClaudePreferenceStore, registerClaudeRoutes, registerCommandCodePreferenceStore, registerCommandCodeRoutes, registerGlmCodingPlanPreferenceStore, registerGlmCodingPlanRoutes, registerKimiCodePreferenceStore, registerKimiCodeRoutes, registerMinimaxCodePreferenceStore, registerMinimaxCodeRoutes, registerStepCodePreferenceStore, registerStepCodeRoutes, registerWorkBuddyPreferenceStore, registerWorkBuddyRoutes, relayProbeEnabled, relayProbeEnvFile, relayProbeEnvValue, relayProbeLogPath, rememberStepCodeCacheUsage, requestDeviceAuthorization as requestKimiCodeDeviceAuthorization, requestDeviceAuthorization$1 as requestMinimaxCodeDeviceAuthorization, resetWebLogins as resetMinimaxCodeLogins, resolveEnabledModelIds as resolveClaudeEnabledModelIds, resolveLoginInput as resolveClaudeLoginInput, resolveClaudeModel, resolveGlmModel, resolveGuardOptions, resolveRegion as resolveKimiCodeRegion, resolveMinimaxCodeEnabledModelIds, resolveMinimaxCodeModelId, resolveQuotaCounts as resolveMinimaxCodeQuotaCounts, resolveWorkBuddyModel, revokeToken as revokeMinimaxCodeToken, saveApiKey as saveCommandCodeApiKey, scanCredentials as scanWorkBuddyCredentials, setClaudeCliVersion, beginWebLogin$3 as startCommandCodeLogin, stepCodeCatalogSize, credentialPath$5 as stepCodeCredentialPath, stepCodeModelCatalogFrom, modelSettingsPath$6 as stepCodeModelSettingsPath, stepCodePoolIdentity, stepCodePoolPath, stepCodePoolQuota, stepCodePoolStatus, stepCodePoolStatusSlice, quotaCredentialPath as stepCodeQuotaCredentialPath, stepCodeSettingsSource, stepCodeSubPathOf, subagentModelSelectionPreference, submitLoginInput as submitClaudeLoginInput, summarizeFailureBody as summarizeMinimaxCodeFailureBody, testConnection as testMinimaxCodeConnection, unauthorizedRouteReason, validateAuthorizationScope, validateDelegationToolNames, validateInheritToolNames, verifyCodingPlanKey as verifyGlmCodingPlanKey, violationText, modelSettingsPath$7 as workBuddyModelSettingsPath, modelsForRegion$1 as workBuddyModelsForRegion, zcodeCredentialsPath };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodexSubscriptionSection.d.ts","sourceRoot":"","sources":["../../../src/client/CodexSubscriptionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,KAAK,EAAyB,eAAe,EAAkB,cAAc,EAA8D,MAAM,wBAAwB,CAAA;AAShL,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAA;AAGjC,KAAK,KAAK,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,CAAA;AACtE,KAAK,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,aAAa,GAC9F,aAAa,GAAG,QAAQ,GAAG,gBAAgB,GAAG,UAAU,GAAG,OAAO,GAAG,eAAe,GAAG,IAAI,CAAA;AAC/F,KAAK,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,CAAA;AAE3B,wBAAgB,wBAAwB,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"CodexSubscriptionSection.d.ts","sourceRoot":"","sources":["../../../src/client/CodexSubscriptionSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,KAAK,EAAyB,eAAe,EAAkB,cAAc,EAA8D,MAAM,wBAAwB,CAAA;AAShL,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAA;AAGjC,KAAK,KAAK,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,CAAA;AACtE,KAAK,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,aAAa,GAC9F,aAAa,GAAG,QAAQ,GAAG,gBAAgB,GAAG,UAAU,GAAG,OAAO,GAAG,eAAe,GAAG,IAAI,CAAA;AAC/F,KAAK,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,CAAA;AAE3B,wBAAgB,wBAAwB,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA4oBxE;AA+BD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE;IAAE,MAAM,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,CAAC;IAAC,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CA4B7I;AAWD,wBAAgB,gBAAgB,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAAE,YAAY,EAAE,WAAW,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAAC,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAUzN;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,cAAc,CAAC;IAAC,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAczH;AAMD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAYpF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAOlE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,gBAAgB,SAA4B,GAAG,MAAM,GAAG,IAAI,CAGxG;AAoCD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,CAgBtE"}
|
|
@@ -77,6 +77,9 @@ export declare const zh: {
|
|
|
77
77
|
tokens: string;
|
|
78
78
|
accountCount: string;
|
|
79
79
|
cooldownLeft: string;
|
|
80
|
+
cooldownRemaining: string;
|
|
81
|
+
cooldownRemainingSeconds: string;
|
|
82
|
+
modelCooldown: string;
|
|
80
83
|
needsRelogin: string;
|
|
81
84
|
relogin: string;
|
|
82
85
|
email: string;
|
|
@@ -171,6 +174,9 @@ export declare const dictionaries: {
|
|
|
171
174
|
tokens: string;
|
|
172
175
|
accountCount: string;
|
|
173
176
|
cooldownLeft: string;
|
|
177
|
+
cooldownRemaining: string;
|
|
178
|
+
cooldownRemainingSeconds: string;
|
|
179
|
+
modelCooldown: string;
|
|
174
180
|
needsRelogin: string;
|
|
175
181
|
relogin: string;
|
|
176
182
|
email: string;
|
|
@@ -263,6 +269,9 @@ export declare const dictionaries: {
|
|
|
263
269
|
tokens: string;
|
|
264
270
|
accountCount: string;
|
|
265
271
|
cooldownLeft: string;
|
|
272
|
+
cooldownRemaining: string;
|
|
273
|
+
cooldownRemainingSeconds: string;
|
|
274
|
+
modelCooldown: string;
|
|
266
275
|
needsRelogin: string;
|
|
267
276
|
relogin: string;
|
|
268
277
|
email: string;
|
|
@@ -277,8 +286,8 @@ export declare const dictionaries: {
|
|
|
277
286
|
quotaFactsScope: string;
|
|
278
287
|
composerLabel: string;
|
|
279
288
|
};
|
|
280
|
-
en: Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "refreshToken" | "loading" | "connection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "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" | "cacheMiss" | "cacheMissIdle" | "cacheDriftNone" | "cacheDriftContents" | "cacheDriftSystemInstruction" | "cacheDriftTools" | "cacheDriftSessionId" | "cacheDriftNewSession" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "googleValidation" | "resetPrefix" | "resetUnavailable" | "resetNow" | "timeDayHour" | "timeHourMin" | "timeMin" | "updatedAt" | "loginFailed", string>;
|
|
281
|
-
'en-US': Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "refreshToken" | "loading" | "connection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "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" | "cacheMiss" | "cacheMissIdle" | "cacheDriftNone" | "cacheDriftContents" | "cacheDriftSystemInstruction" | "cacheDriftTools" | "cacheDriftSessionId" | "cacheDriftNewSession" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "googleValidation" | "resetPrefix" | "resetUnavailable" | "resetNow" | "timeDayHour" | "timeHourMin" | "timeMin" | "updatedAt" | "loginFailed", string>;
|
|
289
|
+
en: Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "refreshToken" | "loading" | "connection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "modelCooldown" | "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" | "cacheMiss" | "cacheMissIdle" | "cacheDriftNone" | "cacheDriftContents" | "cacheDriftSystemInstruction" | "cacheDriftTools" | "cacheDriftSessionId" | "cacheDriftNewSession" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "googleValidation" | "resetPrefix" | "resetUnavailable" | "resetNow" | "timeDayHour" | "timeHourMin" | "timeMin" | "updatedAt" | "loginFailed", string>;
|
|
290
|
+
'en-US': Record<"account" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "signOut" | "refreshToken" | "loading" | "connection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "modelCooldown" | "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" | "cacheMiss" | "cacheMissIdle" | "cacheDriftNone" | "cacheDriftContents" | "cacheDriftSystemInstruction" | "cacheDriftTools" | "cacheDriftSessionId" | "cacheDriftNewSession" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "googleValidation" | "resetPrefix" | "resetUnavailable" | "resetNow" | "timeDayHour" | "timeHourMin" | "timeMin" | "updatedAt" | "loginFailed", string>;
|
|
282
291
|
};
|
|
283
292
|
export type AntigravityLocaleKey = keyof typeof zh;
|
|
284
293
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,oBAAoB,CAAA;AAI/C,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/antigravity/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,oBAAoB,CAAA;AAI/C,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8Ed,CAAA;AAED,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CA6E9C,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,EAAE,CAAA"}
|
|
@@ -130,6 +130,9 @@ export declare const zh: {
|
|
|
130
130
|
readonly deleteAccount: string;
|
|
131
131
|
readonly cooling: string;
|
|
132
132
|
readonly cooldownLeft: string;
|
|
133
|
+
readonly cooldownRemaining: string;
|
|
134
|
+
readonly cooldownRemainingSeconds: string;
|
|
135
|
+
readonly modelCooldown: string;
|
|
133
136
|
readonly clearCooldown: string;
|
|
134
137
|
readonly needsRelogin: string;
|
|
135
138
|
readonly relogin: string;
|
|
@@ -277,6 +280,9 @@ export declare const dictionaries: {
|
|
|
277
280
|
readonly deleteAccount: string;
|
|
278
281
|
readonly cooling: string;
|
|
279
282
|
readonly cooldownLeft: string;
|
|
283
|
+
readonly cooldownRemaining: string;
|
|
284
|
+
readonly cooldownRemainingSeconds: string;
|
|
285
|
+
readonly modelCooldown: string;
|
|
280
286
|
readonly clearCooldown: string;
|
|
281
287
|
readonly needsRelogin: string;
|
|
282
288
|
readonly relogin: string;
|
|
@@ -422,6 +428,9 @@ export declare const dictionaries: {
|
|
|
422
428
|
readonly deleteAccount: string;
|
|
423
429
|
readonly cooling: string;
|
|
424
430
|
readonly cooldownLeft: string;
|
|
431
|
+
readonly cooldownRemaining: string;
|
|
432
|
+
readonly cooldownRemainingSeconds: string;
|
|
433
|
+
readonly modelCooldown: string;
|
|
425
434
|
readonly clearCooldown: string;
|
|
426
435
|
readonly needsRelogin: string;
|
|
427
436
|
readonly relogin: string;
|
|
@@ -443,8 +452,8 @@ export declare const dictionaries: {
|
|
|
443
452
|
readonly quotaFactsScope: string;
|
|
444
453
|
readonly composerLabel: string;
|
|
445
454
|
};
|
|
446
|
-
en: Record<"account" | "quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "source" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowInvalid" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "quotaSignedOut" | "stopImporting" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "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" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "now" | "planUnknown" | "subscriptionType" | "sourceManaged" | "sourceClaudeCode" | "adoptedBadge" | "signInSection" | "cancelSignIn" | "openAuthorizeUrl" | "authorizeUrl" | "redirectUri" | "loginModeManual" | "loginModeLoopback" | "loginFallbackReason" | "loginWaiting" | "loginExchanging" | "loginComplete" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "importClaudeCode" | "importing" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "testRetryable" | "testNotRetryable" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "capImage" | "capNoImage" | "capThinkingOff" | "thinkingModeMidConvo" | "thinkingModeAdaptive" | "thinkingModeBudget" | "thinkingModeNone" | "cacheTtl" | "cacheTtlHint" | "cacheTtlSubscription" | "cacheTtl1h" | "cacheTtl5m" | "effortLow" | "effortMedium" | "effortHigh" | "effortXHigh" | "effortMax" | "modelLadders" | "modelLadderNone" | "quotaUnknown" | "quotaUnknownHint" | "usedLabel" | "remainingLabel" | "left" | "resetAt" | "resetUnknown" | "observedAt" | "quotaError" | "extraUsage" | "extraUsageEnabled" | "extraUsageDisabled" | "extraUsageLimit" | "sourceUsage" | "sourceHeaders" | "quotaStatus" | "quotaRepresentative" | "copy" | "copied", string>;
|
|
447
|
-
'en-US': Record<"account" | "quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "source" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowInvalid" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "quotaSignedOut" | "stopImporting" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "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" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "now" | "planUnknown" | "subscriptionType" | "sourceManaged" | "sourceClaudeCode" | "adoptedBadge" | "signInSection" | "cancelSignIn" | "openAuthorizeUrl" | "authorizeUrl" | "redirectUri" | "loginModeManual" | "loginModeLoopback" | "loginFallbackReason" | "loginWaiting" | "loginExchanging" | "loginComplete" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "importClaudeCode" | "importing" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "testRetryable" | "testNotRetryable" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "capImage" | "capNoImage" | "capThinkingOff" | "thinkingModeMidConvo" | "thinkingModeAdaptive" | "thinkingModeBudget" | "thinkingModeNone" | "cacheTtl" | "cacheTtlHint" | "cacheTtlSubscription" | "cacheTtl1h" | "cacheTtl5m" | "effortLow" | "effortMedium" | "effortHigh" | "effortXHigh" | "effortMax" | "modelLadders" | "modelLadderNone" | "quotaUnknown" | "quotaUnknownHint" | "usedLabel" | "remainingLabel" | "left" | "resetAt" | "resetUnknown" | "observedAt" | "quotaError" | "extraUsage" | "extraUsageEnabled" | "extraUsageDisabled" | "extraUsageLimit" | "sourceUsage" | "sourceHeaders" | "quotaStatus" | "quotaRepresentative" | "copy" | "copied", string>;
|
|
455
|
+
en: Record<"account" | "quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "source" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowInvalid" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "quotaSignedOut" | "stopImporting" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "modelCooldown" | "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" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "now" | "planUnknown" | "subscriptionType" | "sourceManaged" | "sourceClaudeCode" | "adoptedBadge" | "signInSection" | "cancelSignIn" | "openAuthorizeUrl" | "authorizeUrl" | "redirectUri" | "loginModeManual" | "loginModeLoopback" | "loginFallbackReason" | "loginWaiting" | "loginExchanging" | "loginComplete" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "importClaudeCode" | "importing" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "testRetryable" | "testNotRetryable" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "capImage" | "capNoImage" | "capThinkingOff" | "thinkingModeMidConvo" | "thinkingModeAdaptive" | "thinkingModeBudget" | "thinkingModeNone" | "cacheTtl" | "cacheTtlHint" | "cacheTtlSubscription" | "cacheTtl1h" | "cacheTtl5m" | "effortLow" | "effortMedium" | "effortHigh" | "effortXHigh" | "effortMax" | "modelLadders" | "modelLadderNone" | "quotaUnknown" | "quotaUnknownHint" | "usedLabel" | "remainingLabel" | "left" | "resetAt" | "resetUnknown" | "observedAt" | "quotaError" | "extraUsage" | "extraUsageEnabled" | "extraUsageDisabled" | "extraUsageLimit" | "sourceUsage" | "sourceHeaders" | "quotaStatus" | "quotaRepresentative" | "copy" | "copied", string>;
|
|
456
|
+
'en-US': Record<"account" | "quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "source" | "tokens" | "title" | "signedOut" | "signedIn" | "plan" | "expires" | "signIn" | "signInAgain" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowInvalid" | "contextWindowReset" | "contextWindowResetAll" | "contextWindowResetAllConfirm" | "save" | "refreshQuota" | "quotaSignedOut" | "stopImporting" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "modelCooldown" | "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" | "saving" | "quotaSection" | "quotaDesc" | "refreshingQuota" | "quotaEmpty" | "updatedAt" | "loginFailed" | "now" | "planUnknown" | "subscriptionType" | "sourceManaged" | "sourceClaudeCode" | "adoptedBadge" | "signInSection" | "cancelSignIn" | "openAuthorizeUrl" | "authorizeUrl" | "redirectUri" | "loginModeManual" | "loginModeLoopback" | "loginFallbackReason" | "loginWaiting" | "loginExchanging" | "loginComplete" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "importClaudeCode" | "importing" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "testRetryable" | "testNotRetryable" | "routeOwned" | "routeConflict" | "refreshCatalog" | "refreshingCatalog" | "capImage" | "capNoImage" | "capThinkingOff" | "thinkingModeMidConvo" | "thinkingModeAdaptive" | "thinkingModeBudget" | "thinkingModeNone" | "cacheTtl" | "cacheTtlHint" | "cacheTtlSubscription" | "cacheTtl1h" | "cacheTtl5m" | "effortLow" | "effortMedium" | "effortHigh" | "effortXHigh" | "effortMax" | "modelLadders" | "modelLadderNone" | "quotaUnknown" | "quotaUnknownHint" | "usedLabel" | "remainingLabel" | "left" | "resetAt" | "resetUnknown" | "observedAt" | "quotaError" | "extraUsage" | "extraUsageEnabled" | "extraUsageDisabled" | "extraUsageLimit" | "sourceUsage" | "sourceHeaders" | "quotaStatus" | "quotaRepresentative" | "copy" | "copied", string>;
|
|
448
457
|
};
|
|
449
458
|
export type ClaudeLocaleKey = keyof typeof zh;
|
|
450
459
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/claude/locales.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,eAAe,CAAA;AAErC,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/claude/locales.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,eAAe,CAAA;AAErC,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2IL,CAAA;AAEV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CAiIrC,CAAA;AAEV,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,EAAE,CAAA"}
|