@eddyskywalker/dsh-chatgpt-subscription 0.11.4 → 0.11.5
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 +11 -0
- package/README.md +4 -0
- package/lib/client.js +39 -1
- package/lib/client.js.map +1 -1
- package/lib/index.js +244 -114
- package/lib/types/host/antigravity/adapter.d.ts.map +1 -1
- package/lib/types/host/antigravity/mapper.d.ts.map +1 -1
- package/lib/types/host/claude/adapter.d.ts.map +1 -1
- package/lib/types/host/claude/mapper.d.ts.map +1 -1
- package/lib/types/host/command-code/adapter.d.ts.map +1 -1
- package/lib/types/host/command-code/mapper.d.ts.map +1 -1
- package/lib/types/host/common/context-overflow.d.ts +7 -0
- package/lib/types/host/common/context-overflow.d.ts.map +1 -0
- package/lib/types/host/kimi-code/adapter.d.ts.map +1 -1
- package/lib/types/host/kimi-code/mapper.d.ts.map +1 -1
- package/lib/types/host/minimax-code/adapter.d.ts.map +1 -1
- package/lib/types/host/minimax-code/mapper.d.ts.map +1 -1
- package/lib/types/host/ollama/client.d.ts +29 -0
- package/lib/types/host/ollama/client.d.ts.map +1 -1
- package/lib/types/host/ollama/routes.d.ts.map +1 -1
- package/lib/types/host/responses-client.d.ts.map +1 -1
- package/lib/types/host/workbuddy/adapter.d.ts.map +1 -1
- package/lib/types/host/workbuddy/mapper.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -5629,6 +5629,32 @@ function withWritable(value) {
|
|
|
5629
5629
|
};
|
|
5630
5630
|
}
|
|
5631
5631
|
//#endregion
|
|
5632
|
+
//#region src/host/common/context-overflow.ts
|
|
5633
|
+
/** Stable code understood by Harness overflow recovery, including older hosts. */
|
|
5634
|
+
const CONTEXT_OVERFLOW_CODE = "CONTEXT_WINDOW_EXCEEDED";
|
|
5635
|
+
/** Inspect provider error fields only; never classify request bodies or successful output. */
|
|
5636
|
+
function isContextOverflow(error) {
|
|
5637
|
+
if (typeof error === "string") {
|
|
5638
|
+
try {
|
|
5639
|
+
const parsed = JSON.parse(error);
|
|
5640
|
+
if (typeof parsed === "object" && parsed !== null) return isContextOverflow(parsed);
|
|
5641
|
+
} catch {}
|
|
5642
|
+
return /\bcontext[_ -](?:length|window)[_ -](?:exceeded|overflow|limit[_ -]exceeded)\b/i.test(error) || /\b(?:maximum|max)(?: allowed| supported)? context (?:length|window)\b/i.test(error) && /\b(?:exceed(?:s|ed)?|requested|resulted in|reduce|too (?:long|large))\b/i.test(error) || /\b(?:prompt|input|request) (?:is )?too (?:long|large) for (?:the |this )?(?:model(?:'s)? )?context\b/i.test(error) || /\b(?:prompt|input) (?:is )?too long:\s*[\d,]+ tokens?\s*>\s*[\d,]+\s*(?:tokens?\s*)?maximum\b/i.test(error) || /\brequest exceeded model token limit\b/i.test(error) || /\b(?:input|prompt|request|messages?)\b.{0,40}\bexceed(?:s|ed)?\b.{0,40}\b(?:model(?:'s)? )?context (?:length|window)\b/i.test(error);
|
|
5643
|
+
}
|
|
5644
|
+
if (typeof error !== "object" || error === null || Array.isArray(error)) return false;
|
|
5645
|
+
const fields = error;
|
|
5646
|
+
return [
|
|
5647
|
+
fields.code,
|
|
5648
|
+
fields.type,
|
|
5649
|
+
fields.message,
|
|
5650
|
+
fields.error
|
|
5651
|
+
].some((value) => typeof value === "string" ? isContextOverflow(value) : value !== error && value !== void 0 && isContextOverflow(value));
|
|
5652
|
+
}
|
|
5653
|
+
/** Only request-rejection statuses can be reclassified as context overflow. */
|
|
5654
|
+
function isHttpContextOverflow(status, error) {
|
|
5655
|
+
return (status === 400 || status === 413 || status === 422) && isContextOverflow(error);
|
|
5656
|
+
}
|
|
5657
|
+
//#endregion
|
|
5632
5658
|
//#region src/host/common/brand-compat.ts
|
|
5633
5659
|
const toToolCallId = (id) => {
|
|
5634
5660
|
const mod = LlmModule;
|
|
@@ -6578,7 +6604,7 @@ async function* parseResponsesStream(response, signal, hiddenSandboxControls = /
|
|
|
6578
6604
|
const message = string(error?.message) ?? "Codex generation failed.";
|
|
6579
6605
|
const rawCode = string(error?.code)?.toLowerCase();
|
|
6580
6606
|
const isOverload = message.toLowerCase().includes("overload") || message.toLowerCase().includes("server error") || rawCode === "server_error" || rawCode === "service_unavailable" || rawCode === "internal_error";
|
|
6581
|
-
throw new LlmError(message, message.toLowerCase().includes("rate limit") || rawCode === "rate_limit" ? "RATE_LIMIT" : isOverload ? "SERVER_ERROR" : string(error?.code)?.toUpperCase() ?? "PROVIDER_ERROR");
|
|
6607
|
+
throw new LlmError(message, message.toLowerCase().includes("rate limit") || rawCode === "rate_limit" ? "RATE_LIMIT" : isOverload ? "SERVER_ERROR" : isContextOverflow(error) ? CONTEXT_OVERFLOW_CODE : string(error?.code)?.toUpperCase() ?? "PROVIDER_ERROR");
|
|
6582
6608
|
}
|
|
6583
6609
|
};
|
|
6584
6610
|
try {
|
|
@@ -6746,6 +6772,7 @@ async function responseError(response) {
|
|
|
6746
6772
|
...requestId ? { requestId: ProviderRequestId(requestId) } : {},
|
|
6747
6773
|
...response.status === 429 ? { providerRetryAfterMs: retryAfterMs$1(response.headers) } : {}
|
|
6748
6774
|
};
|
|
6775
|
+
if (isHttpContextOverflow(response.status, detail)) return new LlmError(`Codex context window exceeded: ${detail}`, CONTEXT_OVERFLOW_CODE, options);
|
|
6749
6776
|
if (response.status === 401) return new LlmError("ChatGPT sign-in has expired. Sign in again.", "AUTH", options);
|
|
6750
6777
|
if (response.status === 404) return new LlmError(`Codex model or resource not found (${response.status})${detail ? `: ${detail}` : "."}`, "NOT_FOUND", options);
|
|
6751
6778
|
if (response.status === 429) return new LlmError("Codex rate limit reached.", "RATE_LIMIT", options);
|
|
@@ -9142,6 +9169,8 @@ function processStreamLine$2(line, state) {
|
|
|
9142
9169
|
const chunk = safeJsonParse$5(json);
|
|
9143
9170
|
if (!isRecord$21(chunk)) return [];
|
|
9144
9171
|
const responseData = isRecord$21(chunk.response) ? chunk.response : chunk;
|
|
9172
|
+
const error = isRecord$21(chunk.error) ? chunk.error : isRecord$21(responseData.error) ? responseData.error : void 0;
|
|
9173
|
+
if (error !== void 0) throw new LlmError$1(`Antigravity stream error: ${asString$14(error.message) ?? "unknown error"}`, isContextOverflow(error) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR");
|
|
9145
9174
|
const candidates = Array.isArray(responseData.candidates) ? responseData.candidates : [];
|
|
9146
9175
|
const candidate = isRecord$21(candidates[0]) ? candidates[0] : void 0;
|
|
9147
9176
|
const content = isRecord$21(candidate?.content) ? candidate.content : void 0;
|
|
@@ -9663,7 +9692,7 @@ var AntigravityAdapter = class extends LlmAdapter {
|
|
|
9663
9692
|
const status = response?.status ?? 500;
|
|
9664
9693
|
const errText = await response?.text().catch(() => "");
|
|
9665
9694
|
if (status === 429) throw new LlmError(`Antigravity 账号配额已耗尽或请求受限 (429 RESOURCE_EXHAUSTED)。请在插件设置页查看配额剩余百分比及重置倒计时。原始响应: ${errText || "No response"}`, "RATE_LIMIT", { status: 429 });
|
|
9666
|
-
throw new LlmError(`Antigravity API error (${status}): ${errText || "No response"}`, "PROVIDER_ERROR", { status });
|
|
9695
|
+
throw new LlmError(`Antigravity API error (${status}): ${errText || "No response"}`, isHttpContextOverflow(status, errText) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR", { status });
|
|
9667
9696
|
}
|
|
9668
9697
|
if (!response.body) throw new LlmError("Antigravity returned empty response body", "PROVIDER_ERROR");
|
|
9669
9698
|
const reader = response.body.getReader();
|
|
@@ -13126,6 +13155,7 @@ function processOpenAIStreamLine$1(line, state) {
|
|
|
13126
13155
|
const chunk = safeJsonParse$4(payload);
|
|
13127
13156
|
if (!isRecord$19(chunk)) return [];
|
|
13128
13157
|
const out = [];
|
|
13158
|
+
if (isRecord$19(chunk.error)) throw new LlmError$1(`Command Code stream error: ${asString$12(chunk.error.message) ?? "unknown error"}`, isContextOverflow(chunk.error) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR");
|
|
13129
13159
|
const usage = isRecord$19(chunk.usage) ? chunk.usage : void 0;
|
|
13130
13160
|
if (usage) {
|
|
13131
13161
|
state.sawUsage = true;
|
|
@@ -13395,7 +13425,10 @@ function processAnthropicStreamLine$1(line, state) {
|
|
|
13395
13425
|
state.done = true;
|
|
13396
13426
|
return closeStream$4(state);
|
|
13397
13427
|
}
|
|
13398
|
-
if (type === "error")
|
|
13428
|
+
if (type === "error") {
|
|
13429
|
+
const error = isRecord$19(event.error) ? event.error : {};
|
|
13430
|
+
throw new LlmError$1(`Command Code stream error: ${asString$12(error.message) ?? "unknown error"}`, isContextOverflow(error) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR");
|
|
13431
|
+
}
|
|
13399
13432
|
return out;
|
|
13400
13433
|
}
|
|
13401
13434
|
function tokenUsage$4(state) {
|
|
@@ -13506,7 +13539,7 @@ function processResponsesStreamLine(line, state) {
|
|
|
13506
13539
|
state.done = true;
|
|
13507
13540
|
const errorObj = isRecord$19(parsed.error) ? parsed.error : isRecord$19(parsed.response) && isRecord$19(parsed.response.error) ? parsed.response.error : null;
|
|
13508
13541
|
const detail = (typeof parsed.message === "string" ? parsed.message : "") || (errorObj && typeof errorObj.message === "string" ? errorObj.message : "") || (isRecord$19(parsed.response) && typeof parsed.response.error === "string" ? parsed.response.error : typeof parsed.error === "string" ? parsed.error : "");
|
|
13509
|
-
throw new LlmError$1(detail === "" ? "Command Code responses stream failed" : `Command Code responses stream failed: ${detail}`, "PROVIDER_ERROR");
|
|
13542
|
+
throw new LlmError$1(detail === "" ? "Command Code responses stream failed" : `Command Code responses stream failed: ${detail}`, isContextOverflow(errorObj ?? detail) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR");
|
|
13510
13543
|
}
|
|
13511
13544
|
return [];
|
|
13512
13545
|
}
|
|
@@ -14106,7 +14139,7 @@ var CommandCodeAdapter = class extends LlmAdapter {
|
|
|
14106
14139
|
});
|
|
14107
14140
|
}
|
|
14108
14141
|
if (status >= 500) throw new LlmError(`${PROVIDER_NAME$5} upstream server error (${status}): ${detail || "No response"}`, "SERVER", { status });
|
|
14109
|
-
throw new LlmError(`${PROVIDER_NAME$5} API error (${status}): ${detail || "No response"}`, "PROVIDER_ERROR", { status });
|
|
14142
|
+
throw new LlmError(`${PROVIDER_NAME$5} API error (${status}): ${detail || "No response"}`, isHttpContextOverflow(status, detail) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR", { status });
|
|
14110
14143
|
}
|
|
14111
14144
|
if (response.body === null) throw new LlmError("Command Code returned an empty response body", "PROVIDER_ERROR");
|
|
14112
14145
|
const reader = response.body.getReader();
|
|
@@ -15860,16 +15893,57 @@ function accumulateToolCall(raw, pending, openaiShape) {
|
|
|
15860
15893
|
* making the line unusable.
|
|
15861
15894
|
*/
|
|
15862
15895
|
async function loadCatalog$1(fetchFn, credentials) {
|
|
15863
|
-
|
|
15864
|
-
|
|
15865
|
-
|
|
15866
|
-
|
|
15867
|
-
|
|
15868
|
-
|
|
15869
|
-
|
|
15870
|
-
|
|
15896
|
+
return (await fetchCatalog(fetchFn, credentials)).models;
|
|
15897
|
+
}
|
|
15898
|
+
/**
|
|
15899
|
+
* The same read as {@link loadCatalog}, keeping the reason it failed.
|
|
15900
|
+
*
|
|
15901
|
+
* Never throws, for the reason its wrapper has always given. What it adds is that
|
|
15902
|
+
* "failed" stops being one opaque state, so the settings card can name the
|
|
15903
|
+
* cause instead of asking the user to guess.
|
|
15904
|
+
*/
|
|
15905
|
+
async function fetchCatalog(fetchFn, credentials) {
|
|
15906
|
+
let response;
|
|
15907
|
+
try {
|
|
15908
|
+
response = await fetchFn(`${CLOUD_BASE_URL}${NATIVE_TAGS_PATH}`, {
|
|
15909
|
+
method: "GET",
|
|
15910
|
+
headers: headersFor(credentials, "application/json"),
|
|
15911
|
+
signal: AbortSignal.timeout(CATALOG_TIMEOUT_MS)
|
|
15912
|
+
});
|
|
15913
|
+
} catch {
|
|
15914
|
+
return {
|
|
15915
|
+
models: [],
|
|
15916
|
+
failure: "unreachable"
|
|
15917
|
+
};
|
|
15918
|
+
}
|
|
15919
|
+
if (!response.ok) return response.status === 401 || response.status === 403 ? {
|
|
15920
|
+
models: [],
|
|
15921
|
+
failure: "auth",
|
|
15922
|
+
status: response.status
|
|
15923
|
+
} : {
|
|
15924
|
+
models: [],
|
|
15925
|
+
failure: "upstream",
|
|
15926
|
+
status: response.status
|
|
15927
|
+
};
|
|
15928
|
+
let data;
|
|
15929
|
+
try {
|
|
15930
|
+
data = await response.json();
|
|
15931
|
+
} catch {
|
|
15932
|
+
return {
|
|
15933
|
+
models: [],
|
|
15934
|
+
failure: "malformed"
|
|
15935
|
+
};
|
|
15936
|
+
}
|
|
15937
|
+
if (typeof data !== "object" || data === null) return {
|
|
15938
|
+
models: [],
|
|
15939
|
+
failure: "malformed"
|
|
15940
|
+
};
|
|
15871
15941
|
const record = data;
|
|
15872
|
-
|
|
15942
|
+
if (!Array.isArray(record.models)) return {
|
|
15943
|
+
models: [],
|
|
15944
|
+
failure: "malformed"
|
|
15945
|
+
};
|
|
15946
|
+
const models = record.models;
|
|
15873
15947
|
const result = [];
|
|
15874
15948
|
for (const entry of models) {
|
|
15875
15949
|
if (typeof entry !== "object" || entry === null) continue;
|
|
@@ -15884,7 +15958,7 @@ async function loadCatalog$1(fetchFn, credentials) {
|
|
|
15884
15958
|
fetchedAt: Date.now()
|
|
15885
15959
|
});
|
|
15886
15960
|
}
|
|
15887
|
-
return result;
|
|
15961
|
+
return { models: result };
|
|
15888
15962
|
}
|
|
15889
15963
|
//#endregion
|
|
15890
15964
|
//#region src/host/ollama/mapper.ts
|
|
@@ -16482,6 +16556,8 @@ function textOf$4(content) {
|
|
|
16482
16556
|
//#endregion
|
|
16483
16557
|
//#region src/host/ollama/routes.ts
|
|
16484
16558
|
const ROUTE_PREFIX$3 = "/ollama/api";
|
|
16559
|
+
/** Where a user creates the keys this line stores. */
|
|
16560
|
+
const OLLAMA_KEYS_URL = "https://ollama.com/settings/keys";
|
|
16485
16561
|
function sendJson$5(response, status, body) {
|
|
16486
16562
|
const payload = JSON.stringify(body);
|
|
16487
16563
|
response.writeHead(status, { "content-type": "application/json; charset=utf-8" });
|
|
@@ -16507,6 +16583,22 @@ async function readRequestJson$5(request) {
|
|
|
16507
16583
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) throw new Error("Request body must be a JSON object.");
|
|
16508
16584
|
return parsed;
|
|
16509
16585
|
}
|
|
16586
|
+
/**
|
|
16587
|
+
* The sentence the card shows for a catalog read that produced nothing.
|
|
16588
|
+
*
|
|
16589
|
+
* Every one of these used to collapse into "Could not read the model list from
|
|
16590
|
+
* Ollama", which told a user nothing they could act on — the complaint in issue
|
|
16591
|
+
* #36. The four causes have four different remedies, so they are named apart.
|
|
16592
|
+
*/
|
|
16593
|
+
function catalogFailureMessage(result) {
|
|
16594
|
+
switch (result.failure) {
|
|
16595
|
+
case "auth": return `Ollama rejected the stored API key (HTTP ${result.status ?? 401}). Create or re-paste a key at ${OLLAMA_KEYS_URL}.`;
|
|
16596
|
+
case "upstream": return `Ollama answered HTTP ${result.status ?? "?"} for ${CLOUD_BASE_URL}/api/tags.`;
|
|
16597
|
+
case "unreachable": return "Could not reach Ollama Cloud. Check the network or proxy, then sync again.";
|
|
16598
|
+
case "malformed": return "Ollama answered with something that is not a /api/tags document (a proxy or filter may be rewriting the reply).";
|
|
16599
|
+
default: return "Could not read the model list from Ollama.";
|
|
16600
|
+
}
|
|
16601
|
+
}
|
|
16510
16602
|
/** Whether one account can serve a request right now. */
|
|
16511
16603
|
function isUsable(account, now) {
|
|
16512
16604
|
if (account.authStatus !== void 0 && account.authStatus !== "ok") return false;
|
|
@@ -16557,123 +16649,144 @@ function registerOllamaRoutes(ctx, options) {
|
|
|
16557
16649
|
handler: async (request, response) => {
|
|
16558
16650
|
const path = new URL(request.url || "/", "http://dsh.local").pathname.replace(/^\/ollama\/api\/?/, "");
|
|
16559
16651
|
const method = request.method ?? "GET";
|
|
16560
|
-
|
|
16561
|
-
|
|
16562
|
-
value: await getOllamaWebStatus(options)
|
|
16563
|
-
});
|
|
16564
|
-
if (path === "accounts") {
|
|
16565
|
-
if (method === "GET") return sendJson$5(response, 200, {
|
|
16652
|
+
try {
|
|
16653
|
+
if (path === "" || path === "status") return sendJson$5(response, 200, {
|
|
16566
16654
|
ok: true,
|
|
16567
16655
|
value: await getOllamaWebStatus(options)
|
|
16568
16656
|
});
|
|
16569
|
-
if (
|
|
16570
|
-
|
|
16571
|
-
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
|
|
16576
|
-
body = await readRequestJson$5(request);
|
|
16577
|
-
} catch (error) {
|
|
16578
|
-
return sendJson$5(response, 400, {
|
|
16657
|
+
if (path === "accounts") {
|
|
16658
|
+
if (method === "GET") return sendJson$5(response, 200, {
|
|
16659
|
+
ok: true,
|
|
16660
|
+
value: await getOllamaWebStatus(options)
|
|
16661
|
+
});
|
|
16662
|
+
if (method !== "POST") return sendMethodNotAllowed$4(response);
|
|
16663
|
+
if (!isSameOriginMutation(request)) return sendJson$5(response, 403, {
|
|
16579
16664
|
ok: false,
|
|
16580
|
-
error:
|
|
16665
|
+
error: "Cross-origin request rejected."
|
|
16581
16666
|
});
|
|
16582
|
-
|
|
16583
|
-
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
|
|
16587
|
-
const apiKey = typeof body.apiKey === "string" ? body.apiKey.trim() : "";
|
|
16588
|
-
if (apiKey === "") return sendJson$5(response, 400, {
|
|
16667
|
+
let body;
|
|
16668
|
+
try {
|
|
16669
|
+
body = await readRequestJson$5(request);
|
|
16670
|
+
} catch (error) {
|
|
16671
|
+
return sendJson$5(response, 400, {
|
|
16589
16672
|
ok: false,
|
|
16590
|
-
error:
|
|
16673
|
+
error: error instanceof Error ? error.message : String(error)
|
|
16591
16674
|
});
|
|
16592
|
-
|
|
16593
|
-
|
|
16594
|
-
|
|
16595
|
-
|
|
16596
|
-
|
|
16597
|
-
|
|
16675
|
+
}
|
|
16676
|
+
const action = typeof body.action === "string" ? body.action : "";
|
|
16677
|
+
const accountId = typeof body.accountId === "string" ? body.accountId : void 0;
|
|
16678
|
+
try {
|
|
16679
|
+
if (action === "add") {
|
|
16680
|
+
const apiKey = typeof body.apiKey === "string" ? body.apiKey.trim() : "";
|
|
16681
|
+
if (apiKey === "") return sendJson$5(response, 400, {
|
|
16682
|
+
ok: false,
|
|
16683
|
+
error: "API key is required."
|
|
16684
|
+
});
|
|
16685
|
+
const alias = typeof body.alias === "string" && body.alias.trim() !== "" ? body.alias.trim() : void 0;
|
|
16686
|
+
const credentials = {
|
|
16687
|
+
apiKey,
|
|
16688
|
+
addedAt: Date.now()
|
|
16689
|
+
};
|
|
16690
|
+
if (alias !== void 0) credentials.alias = alias;
|
|
16691
|
+
return sendJson$5(response, 200, {
|
|
16692
|
+
ok: true,
|
|
16693
|
+
value: { id: (await accountPool.addAccount(credentials, alias)).id }
|
|
16694
|
+
});
|
|
16695
|
+
}
|
|
16696
|
+
if (accountId === void 0) return sendJson$5(response, 400, {
|
|
16697
|
+
ok: false,
|
|
16698
|
+
error: "accountId is required."
|
|
16699
|
+
});
|
|
16700
|
+
if (action === "set-primary") await accountPool.setPrimary(accountId);
|
|
16701
|
+
else if (action === "set-alias" && typeof body.alias === "string") await accountPool.setAlias(accountId, body.alias);
|
|
16702
|
+
else if (action === "delete") await accountPool.deleteAccount(accountId);
|
|
16703
|
+
else if (action === "clear-cooldown") await accountPool.clearCooldown(accountId);
|
|
16704
|
+
else if (action === "strategy" && (body.strategy === "sequential" || body.strategy === "round-robin" || body.strategy === "sticky")) await accountPool.setStrategy(body.strategy);
|
|
16705
|
+
else return sendJson$5(response, 400, {
|
|
16706
|
+
ok: false,
|
|
16707
|
+
error: "Unsupported account action."
|
|
16708
|
+
});
|
|
16709
|
+
} catch (error) {
|
|
16710
|
+
return sendJson$5(response, 400, {
|
|
16711
|
+
ok: false,
|
|
16712
|
+
error: error instanceof Error ? error.message : String(error)
|
|
16713
|
+
});
|
|
16714
|
+
}
|
|
16715
|
+
return sendJson$5(response, 200, {
|
|
16716
|
+
ok: true,
|
|
16717
|
+
value: await getOllamaWebStatus(options)
|
|
16718
|
+
});
|
|
16719
|
+
}
|
|
16720
|
+
if (path === "models") {
|
|
16721
|
+
if (method === "GET") {
|
|
16722
|
+
const settings = await modelSettings.read();
|
|
16598
16723
|
return sendJson$5(response, 200, {
|
|
16599
16724
|
ok: true,
|
|
16600
|
-
value: {
|
|
16725
|
+
value: {
|
|
16726
|
+
models: settings.catalogModels,
|
|
16727
|
+
enabled: settings.enabled,
|
|
16728
|
+
enabledModelIds: settings.enabledModelIds
|
|
16729
|
+
}
|
|
16601
16730
|
});
|
|
16602
16731
|
}
|
|
16603
|
-
if (
|
|
16732
|
+
if (method !== "POST") return sendMethodNotAllowed$4(response);
|
|
16733
|
+
if (!isSameOriginMutation(request)) return sendJson$5(response, 403, {
|
|
16604
16734
|
ok: false,
|
|
16605
|
-
error: "
|
|
16735
|
+
error: "Cross-origin request rejected."
|
|
16606
16736
|
});
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
|
|
16737
|
+
const body = await readRequestJson$5(request).catch(() => ({}));
|
|
16738
|
+
if (typeof body.enabled === "boolean") await modelSettings.update({ enabled: body.enabled });
|
|
16739
|
+
if (Array.isArray(body.enabledModelIds)) await modelSettings.update({ enabledModelIds: body.enabledModelIds.filter((id) => typeof id === "string") });
|
|
16740
|
+
return sendJson$5(response, 200, {
|
|
16741
|
+
ok: true,
|
|
16742
|
+
value: await modelSettings.read()
|
|
16743
|
+
});
|
|
16744
|
+
}
|
|
16745
|
+
if (path === "catalog/refresh") {
|
|
16746
|
+
if (method !== "POST") return sendMethodNotAllowed$4(response);
|
|
16747
|
+
if (!isSameOriginMutation(request)) return sendJson$5(response, 403, {
|
|
16613
16748
|
ok: false,
|
|
16614
|
-
error: "
|
|
16749
|
+
error: "Cross-origin request rejected."
|
|
16615
16750
|
});
|
|
16616
|
-
|
|
16617
|
-
|
|
16751
|
+
let credentials = null;
|
|
16752
|
+
let poolBusy = false;
|
|
16753
|
+
try {
|
|
16754
|
+
credentials = (await accountPool.getEffectiveCredential(void 0, fetchFn)).credentials;
|
|
16755
|
+
} catch {
|
|
16756
|
+
poolBusy = await accountPool.read().then((data) => data.accounts.length > 0 && data.accounts.every((account) => isUsable(account, Date.now()) === false)).catch(() => false);
|
|
16757
|
+
credentials = null;
|
|
16758
|
+
}
|
|
16759
|
+
if (credentials === null) return sendJson$5(response, 400, {
|
|
16618
16760
|
ok: false,
|
|
16619
|
-
error:
|
|
16761
|
+
error: poolBusy ? "Every stored Ollama key is cooling down right now. Wait for the cooldown, then sync again." : "Add an API key before syncing models."
|
|
16620
16762
|
});
|
|
16621
|
-
|
|
16622
|
-
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
|
|
16627
|
-
|
|
16628
|
-
|
|
16629
|
-
|
|
16763
|
+
const result = await fetchCatalog(fetchFn, credentials);
|
|
16764
|
+
if (result.models.length === 0) return sendJson$5(response, 502, {
|
|
16765
|
+
ok: false,
|
|
16766
|
+
error: catalogFailureMessage(result)
|
|
16767
|
+
});
|
|
16768
|
+
try {
|
|
16769
|
+
await modelSettings.storeCatalog(result.models);
|
|
16770
|
+
} catch (error) {
|
|
16771
|
+
const detail = error instanceof Error ? error.message : String(error);
|
|
16772
|
+
return sendJson$5(response, 500, {
|
|
16773
|
+
ok: false,
|
|
16774
|
+
error: `Read ${result.models.length} models from Ollama but could not save them locally: ${detail}`
|
|
16775
|
+
});
|
|
16776
|
+
}
|
|
16630
16777
|
return sendJson$5(response, 200, {
|
|
16631
16778
|
ok: true,
|
|
16632
|
-
value: {
|
|
16633
|
-
models: settings.catalogModels,
|
|
16634
|
-
enabled: settings.enabled,
|
|
16635
|
-
enabledModelIds: settings.enabledModelIds
|
|
16636
|
-
}
|
|
16779
|
+
value: { models: result.models }
|
|
16637
16780
|
});
|
|
16638
16781
|
}
|
|
16639
|
-
|
|
16640
|
-
if (!isSameOriginMutation(request)) return sendJson$5(response, 403, {
|
|
16641
|
-
ok: false,
|
|
16642
|
-
error: "Cross-origin request rejected."
|
|
16643
|
-
});
|
|
16644
|
-
const body = await readRequestJson$5(request).catch(() => ({}));
|
|
16645
|
-
if (typeof body.enabled === "boolean") await modelSettings.update({ enabled: body.enabled });
|
|
16646
|
-
if (Array.isArray(body.enabledModelIds)) await modelSettings.update({ enabledModelIds: body.enabledModelIds.filter((id) => typeof id === "string") });
|
|
16647
|
-
return sendJson$5(response, 200, {
|
|
16648
|
-
ok: true,
|
|
16649
|
-
value: await modelSettings.read()
|
|
16650
|
-
});
|
|
16651
|
-
}
|
|
16652
|
-
if (path === "catalog/refresh") {
|
|
16653
|
-
if (method !== "POST") return sendMethodNotAllowed$4(response);
|
|
16654
|
-
if (!isSameOriginMutation(request)) return sendJson$5(response, 403, {
|
|
16782
|
+
return sendJson$5(response, 404, {
|
|
16655
16783
|
ok: false,
|
|
16656
|
-
error: "
|
|
16657
|
-
});
|
|
16658
|
-
let credentials = null;
|
|
16659
|
-
try {
|
|
16660
|
-
credentials = (await accountPool.getEffectiveCredential(void 0, fetchFn)).credentials;
|
|
16661
|
-
} catch {
|
|
16662
|
-
credentials = null;
|
|
16663
|
-
}
|
|
16664
|
-
if (credentials === null) return sendJson$5(response, 400, {
|
|
16665
|
-
ok: false,
|
|
16666
|
-
error: "Add an API key before syncing models."
|
|
16784
|
+
error: "not-found"
|
|
16667
16785
|
});
|
|
16668
|
-
|
|
16669
|
-
|
|
16786
|
+
} catch (error) {
|
|
16787
|
+
return sendJson$5(response, 500, {
|
|
16670
16788
|
ok: false,
|
|
16671
|
-
error:
|
|
16672
|
-
});
|
|
16673
|
-
await modelSettings.storeCatalog(models);
|
|
16674
|
-
return sendJson$5(response, 200, {
|
|
16675
|
-
ok: true,
|
|
16676
|
-
value: { models }
|
|
16789
|
+
error: error instanceof Error ? error.message : String(error)
|
|
16677
16790
|
});
|
|
16678
16791
|
}
|
|
16679
16792
|
}
|
|
@@ -20244,7 +20357,7 @@ function processOpenAIStreamLine(line, state) {
|
|
|
20244
20357
|
if (!isRecord$16(chunk)) return [];
|
|
20245
20358
|
const out = [];
|
|
20246
20359
|
const errorPayload = isRecord$16(chunk.error) ? chunk.error : void 0;
|
|
20247
|
-
if (errorPayload !== void 0) throw new LlmError$1(`Kimi Code stream error: ${asString$9(errorPayload.message) ?? "unknown error"}`, "PROVIDER_ERROR");
|
|
20360
|
+
if (errorPayload !== void 0) throw new LlmError$1(`Kimi Code stream error: ${asString$9(errorPayload.message) ?? "unknown error"}`, isContextOverflow(errorPayload) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR");
|
|
20248
20361
|
const usage = isRecord$16(chunk.usage) ? chunk.usage : void 0;
|
|
20249
20362
|
if (usage) {
|
|
20250
20363
|
state.sawUsage = true;
|
|
@@ -20511,7 +20624,10 @@ function processAnthropicStreamLine(line, state) {
|
|
|
20511
20624
|
state.done = true;
|
|
20512
20625
|
return closeStream$2(state);
|
|
20513
20626
|
}
|
|
20514
|
-
if (type === "error")
|
|
20627
|
+
if (type === "error") {
|
|
20628
|
+
const error = isRecord$16(event.error) ? event.error : {};
|
|
20629
|
+
throw new LlmError$1(`Kimi Code stream error: ${asString$9(error.message) ?? "unknown error"}`, isContextOverflow(error) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR");
|
|
20630
|
+
}
|
|
20515
20631
|
return out;
|
|
20516
20632
|
}
|
|
20517
20633
|
/**
|
|
@@ -20744,6 +20860,11 @@ function summarizeFailureBody$1(raw) {
|
|
|
20744
20860
|
*/
|
|
20745
20861
|
function classifyKimiFailure(status, bodyText) {
|
|
20746
20862
|
const detail = summarizeFailureBody$1(bodyText);
|
|
20863
|
+
if (isHttpContextOverflow(status, bodyText)) return {
|
|
20864
|
+
code: CONTEXT_OVERFLOW_CODE,
|
|
20865
|
+
retryable: false,
|
|
20866
|
+
message: `${PROVIDER_NAME$3} context window exceeded: ${detail}`
|
|
20867
|
+
};
|
|
20747
20868
|
if (status === 402) return {
|
|
20748
20869
|
code: "SERVER",
|
|
20749
20870
|
retryable: true,
|
|
@@ -23379,7 +23500,10 @@ function processMinimaxStreamLine(line, state) {
|
|
|
23379
23500
|
state.done = true;
|
|
23380
23501
|
return closeMinimaxStream(state);
|
|
23381
23502
|
}
|
|
23382
|
-
if (type === "error")
|
|
23503
|
+
if (type === "error") {
|
|
23504
|
+
const error = isRecord$15(event.error) ? event.error : {};
|
|
23505
|
+
throw new LlmError$1("MiniMax Code(编程订阅) stream error: " + (asString$8(error.message) ?? "unknown error"), isContextOverflow(error) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR");
|
|
23506
|
+
}
|
|
23383
23507
|
return out;
|
|
23384
23508
|
}
|
|
23385
23509
|
//#endregion
|
|
@@ -25407,6 +25531,11 @@ function matchesAny(text, patterns) {
|
|
|
25407
25531
|
*/
|
|
25408
25532
|
function classifyMinimaxFailure(status, bodyText) {
|
|
25409
25533
|
const detail = summarizeFailureBody(bodyText);
|
|
25534
|
+
if (isHttpContextOverflow(status, bodyText)) return {
|
|
25535
|
+
code: CONTEXT_OVERFLOW_CODE,
|
|
25536
|
+
retryable: false,
|
|
25537
|
+
message: `${PROVIDER_NAME$2} context window exceeded: ${detail}`
|
|
25538
|
+
};
|
|
25410
25539
|
if (status === 401 || status === 403) return {
|
|
25411
25540
|
code: "INVALID_CREDENTIAL",
|
|
25412
25541
|
retryable: false,
|
|
@@ -30052,7 +30181,7 @@ function processStreamLine$1(line, state) {
|
|
|
30052
30181
|
if (!isRecord$8(chunk)) return [];
|
|
30053
30182
|
const out = [];
|
|
30054
30183
|
const errorPayload = isRecord$8(chunk.error) ? chunk.error : void 0;
|
|
30055
|
-
if (errorPayload !== void 0) throw new LlmError$1(`WorkBuddy stream error: ${asString$4(errorPayload.message) ?? "unknown error"}`, "PROVIDER_ERROR");
|
|
30184
|
+
if (errorPayload !== void 0) throw new LlmError$1(`WorkBuddy stream error: ${asString$4(errorPayload.message) ?? "unknown error"}`, isContextOverflow(errorPayload) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR");
|
|
30056
30185
|
const usage = isRecord$8(chunk.usage) ? chunk.usage : void 0;
|
|
30057
30186
|
if (usage) {
|
|
30058
30187
|
state.sawUsage = true;
|
|
@@ -30485,7 +30614,7 @@ function classifyFailure$1(status, detail, headers) {
|
|
|
30485
30614
|
if (code === 11135 || code === 11133) return new LlmError(`${PROVIDER_NAME$1} rejected the request parameters (${code}). An image may be unsupported by this model or unreadable.${detail ? ` ${detail}` : ""}`, "PROVIDER_ERROR", { status });
|
|
30486
30615
|
if (code === 11128) return new LlmError(`${PROVIDER_NAME$1} rejected the message history: the conversation must open with a system prompt.${detail ? ` ${detail}` : ""}`, "PROVIDER_ERROR", { status });
|
|
30487
30616
|
if (status >= 500 || code === 11134) return new LlmError(`${PROVIDER_NAME$1} upstream server error (${status}): ${detail || "No response"}`, "SERVER", { status });
|
|
30488
|
-
return new LlmError(`${PROVIDER_NAME$1} API error (${status}): ${detail || "No response"}`, "PROVIDER_ERROR", { status });
|
|
30617
|
+
return new LlmError(`${PROVIDER_NAME$1} API error (${status}): ${detail || "No response"}`, isHttpContextOverflow(status, detail) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR", { status });
|
|
30489
30618
|
}
|
|
30490
30619
|
/** Read the subscription's own numeric error code out of a response body. */
|
|
30491
30620
|
function readErrorCode(detail) {
|
|
@@ -35029,7 +35158,7 @@ function processStreamLine(line, state) {
|
|
|
35029
35158
|
const error = isRecord$5(event.error) ? event.error : {};
|
|
35030
35159
|
const message = asString$2(error.message) ?? "unknown error";
|
|
35031
35160
|
const kind = asString$2(error.type);
|
|
35032
|
-
throw new LlmError$1("Claude stream error" + (kind === void 0 ? "" : " (" + kind + ")") + ": " + message, "PROVIDER_ERROR");
|
|
35161
|
+
throw new LlmError$1("Claude stream error" + (kind === void 0 ? "" : " (" + kind + ")") + ": " + message, isContextOverflow(error) ? CONTEXT_OVERFLOW_CODE : "PROVIDER_ERROR");
|
|
35033
35162
|
}
|
|
35034
35163
|
return out;
|
|
35035
35164
|
}
|
|
@@ -36754,6 +36883,7 @@ function toLlmError(failure) {
|
|
|
36754
36883
|
};
|
|
36755
36884
|
const detail = failure.message === "" ? "" : " " + failure.message;
|
|
36756
36885
|
if (failure.clientVersionTooOld) return new LlmError("Claude(订阅) refused this request because the client version it was told is below the server's floor (claude_code_version_too_old). Raise it with the DSH_CLAUDE_CLI_VERSION environment variable (or a setClaudeCliVersion pin), then retry — the stored sign-in is still valid." + detail, "PROVIDER_ERROR", options);
|
|
36886
|
+
if (failure.kind === "request" && isHttpContextOverflow(failure.status, failure.message)) return new LlmError("Claude(订阅) context window exceeded." + detail, CONTEXT_OVERFLOW_CODE, options);
|
|
36757
36887
|
switch (failure.kind) {
|
|
36758
36888
|
case "credential": return new LlmError("Claude(订阅) rejected the stored credential. Sign in again from Settings > Claude." + detail, "INVALID_CREDENTIAL", options);
|
|
36759
36889
|
case "rate_limit_account":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/antigravity/adapter.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EAEV,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAA;AAU7B,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,KAAK,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAG/G,OAAO,EAOL,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAA;AAIpB,wBAAgB,6BAA6B,CAC3C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-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":"AACA,OAAO,EAGL,KAAK,oBAAoB,EAEzB,KAAK,eAAe,EAEpB,KAAK,WAAW,EAEjB,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,eAAe,EAAsB,MAAM,6BAA6B,CAAA;AAEtF,OAAO,EAQL,KAAK,mBAAmB,EACzB,MAAM,YAAY,CAAA;AAyBnB,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAI3E;AAkBD,8EAA8E;AAC9E,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,eAAe,EAAE,WAAW,CAAC,CAAA;AAEtE,sFAAsF;AACtF,MAAM,MAAM,oBAAoB,GAC5B;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC9E;IAAE,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAA;CAAE,CAAA;AAEpC,qFAAqF;AACrF,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAA;AAgD7E;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,QAAmB,CAAA;AAwBvD;;;;;;;;;;;;GAYG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,eAAe,GAAG,eAAe,CA4BpF;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,eAAe,EACxB,WAAW,EAAE,qBAAqB,GAAG,SAAS,EAC9C,MAAM,CAAC,EAAE,WAAW,GACnB,OA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AAI,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,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,CAiGjF;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,WAAW,GAAG,WAAW,EAAE,CAmB7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/claude/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkHG;
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/claude/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkHG;AAIH,OAAO,EACL,UAAU,EACV,QAAQ,EACR,iBAAiB,EAEjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,sBAAs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W,CAAC;IAanE;;;;;;;;;;OAUG;YACW,iBAAiB;IA8C/B;;;;;;;;OAQG;IACH;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;YAMZ,cAAc;YAiEb,aAAa;CA2I7B;AAsBD;;;;;;;;;GASG;AACH,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,SAAS,MAAM,EAAE,EAC1B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAC/B,iBAAiB,GAAG,SAAS,CAI/B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,OAAO,GAAG,OAAO,CAI3F;AAiBD,6DAA6D;AAC7D,wBAAgB,aAAa,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,GAAE,MAAmB,GAAG,MAAM,CAUtF;AAED,2DAA2D;AAC3D,wBAAgB,cAAc,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,CAO7D;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,QAAQ,CAkE3D;AAED,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../../../src/host/claude/mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmLG;
|
|
1
|
+
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../../../src/host/claude/mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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A;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;IACxB,sEAAsE;IACtE,eAAe,EAAE,MAAM,CAAA;IACvB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3C,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,CAAC,EAAE,eAAe,GAAG,iBAAiB,CAsBhF;AAyND;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,WAAW,EAAE,CAyBnE;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAInE;AA0BD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,GAAG,WAAW,EAAE,CA+JvF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/command-code/adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../src/host/command-code/adapter.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EAEV,iBAAiB,EAEjB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAA;AAoB7B,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAChC,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAE1D,OAAO,EAUL,KAAK,qBAAqB,EAE3B,M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