@xiaoso/dsh-tool-plus 0.1.2 → 0.1.4
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/README.en.md +1 -1
- package/README.md +1 -1
- package/lib/{abort-CsjZitYv.mjs → abort-Cwwm4Err.mjs} +1 -1
- package/lib/{amazon-bedrock-CfNIDi5k.mjs → amazon-bedrock-TVMpUTRG.mjs} +7 -7
- package/lib/{anthropic-BVfZdnMp.mjs → anthropic-BL6LFDQS.mjs} +12 -12
- package/lib/{anthropic-DGXmmg43.mjs → anthropic-CDmj476p.mjs} +2 -2
- package/lib/{api-key-login-BikQAfD-.mjs → api-key-login-CIDnXeYd.mjs} +1 -1
- package/lib/{aws-credentials-DrssNMn_.mjs → aws-credentials-B20dliS7.mjs} +5 -5
- package/lib/{azure-openai-responses-C-5q-5K2.mjs → azure-openai-responses-BkhsLmN3.mjs} +8 -8
- package/lib/{browser-render-z6b8Ljo9.mjs → browser-render-CmgvSNte.mjs} +2 -2
- package/lib/{bundled-references-D71z7_T3.mjs → bundled-references-ChZSPDFw.mjs} +2 -2
- package/lib/{callback-server-Di6C4RqI.mjs → callback-server-CFJK-jvK.mjs} +1 -1
- package/lib/{cursor-CQQtygwl.mjs → cursor-B6HcmplF.mjs} +1 -1
- package/lib/{cursor-Hr5Zw1gt.mjs → cursor-B8m6SqAH.mjs} +3 -3
- package/lib/{cursor-DXJxwdcg.mjs → cursor-CRpLpaZ3.mjs} +7 -7
- package/lib/{device-code-wZUbgPdB.mjs → device-code-CuXTWYwY.mjs} +1 -1
- package/lib/{devin-DXJoDlW2.mjs → devin-BcQwht1W.mjs} +1 -1
- package/lib/{devin-CF6UhCFw.mjs → devin-BvMfGevz.mjs} +2 -2
- package/lib/{devin-P37gURs_.mjs → devin-DUAfvBsW.mjs} +5 -5
- package/lib/{error-DoHuatWw.mjs → error-C-f_Wnw4.mjs} +1 -1
- package/lib/{event-stream-C-FmBYUt.mjs → event-stream-Dh2guZxS.mjs} +1 -1
- package/lib/{github-copilot-qETlj_bD.mjs → github-copilot-B3kQl0g0.mjs} +1 -1
- package/lib/{github-copilot-C2dTonBX.mjs → github-copilot-suDymKrx.mjs} +3 -3
- package/lib/{gitlab-duo-FQZiFRQe.mjs → gitlab-duo-BriUTP8k.mjs} +3 -3
- package/lib/{gitlab-duo-workflow-DLTabzOy.mjs → gitlab-duo-workflow-wK5Ljzmc.mjs} +2 -2
- package/lib/{google-BilwFSzx.mjs → google-CE5tFDod.mjs} +3 -3
- package/lib/{google-antigravity-BfBiINdu.mjs → google-antigravity-C1jgNljz.mjs} +2 -2
- package/lib/{google-auth-CWlKXJ-H.mjs → google-auth-DYJLM792.mjs} +3 -3
- package/lib/{google-gemini-cli-CB89ljNz.mjs → google-gemini-cli-8BT513Ul.mjs} +3 -3
- package/lib/{google-gemini-cli-CygFcR6N.mjs → google-gemini-cli-D6cSmfvB.mjs} +8 -8
- package/lib/{google-oauth-shared-Cn82h1o2.mjs → google-oauth-shared-BLVTvokk.mjs} +2 -2
- package/lib/{google-shared-CF1JrqTM.mjs → google-shared-CVbHK5vZ.mjs} +6 -6
- package/lib/{google-vertex-DgMhhFw8.mjs → google-vertex-Bui-ypAe.mjs} +5 -5
- package/lib/{identity-C0SPVyIZ.mjs → identity-HNO1Oe9B.mjs} +1 -1
- package/lib/{idle-iterator-HzbbfXP4.mjs → idle-iterator-CYAxUkSD.mjs} +2 -2
- package/lib/index.mjs +9250 -9237
- package/lib/{kimi-DHDO6Fde.mjs → kimi-DgcUpPtK.mjs} +4 -4
- package/lib/{launch-DwpE70Pv.mjs → launch-BmgEUycu.mjs} +2 -2
- package/lib/{markit-B9exZ0ZV.mjs → markit-DtGoRE6M.mjs} +2 -2
- package/lib/{minimax-code-vAhEXhev.mjs → minimax-code-Y3h5li9N.mjs} +1 -1
- package/lib/{models-Cp3PzU3l.mjs → models-DRA2c_8U.mjs} +1 -1
- package/lib/{ollama-TrkXTNqE.mjs → ollama-Df9ce-Cp.mjs} +8 -8
- package/lib/{openai-codex-CrjHtSH4.mjs → openai-codex-CAVI3Me-.mjs} +3 -3
- package/lib/{openai-codex-responses-C4uMpWNy.mjs → openai-codex-responses-BcnOotRB.mjs} +10 -10
- package/lib/{openai-completions-1ydXm5vF.mjs → openai-completions-Bq4WT47M.mjs} +13 -13
- package/lib/{openai-reasoning-fallback-CigKCyzc.mjs → openai-reasoning-fallback-DXsfiSXO.mjs} +2 -2
- package/lib/{openai-responses-CN79gRGQ.mjs → openai-responses-Mq_-PjvE.mjs} +10 -10
- package/lib/{opencode-CEGlimzL.mjs → opencode-BsVw9rCD.mjs} +1 -1
- package/lib/{perplexity-BLJN-8dM.mjs → perplexity-XgLF73E7.mjs} +2 -2
- package/lib/{proxy-XOYi58TM.mjs → proxy-D9lm7ONA.mjs} +1 -1
- package/lib/{scrapers-kdFCThln.mjs → scrapers-D145Jmdq.mjs} +4 -4
- package/lib/{stream-DveNFWSN.mjs → stream-Bjq8wjfr.mjs} +57 -57
- package/lib/{stream-markup-healing-C9eC7Gf8.mjs → stream-markup-healing-DZ6bVDxH.mjs} +3 -3
- package/lib/trash-cli.mjs +33 -6
- package/lib/{types-BUO0JXO-.mjs → types-DX_bvuus.mjs} +1 -1
- package/lib/{utils-B-mTYQBc.mjs → utils-CQHPEQ3W.mjs} +1 -1
- package/lib/{utils-fnV2zzp3.mjs → utils-Cp2Mxf_U.mjs} +3 -3
- package/lib/{utils-NmfqUq33.mjs → utils-DeT1yYiQ.mjs} +24 -24
- package/lib/{vision-guard-BsvOWmfB.mjs → vision-guard-mBmtAHx0.mjs} +2 -2
- package/lib/{wafer-Dpy7tL3l.mjs → wafer-BlhWLweO.mjs} +1 -1
- package/lib/{xai-oauth-BkPNQS-q.mjs → xai-oauth-5pORHUrg.mjs} +2 -2
- package/lib/{xiaomi-CG3TsYRz.mjs → xiaomi-7mE345KX.mjs} +1 -1
- package/lib/{zai--cewobzN.mjs → zai-CeNpMV3W.mjs} +2 -2
- package/lib/{zip-CqKW2-TK.mjs → zip-BK7UHCwX.mjs} +1 -1
- package/package.json +38 -39
- package/presets/package.json +2 -2
- package/lib/{src-D_e1qMwi.mjs → src-BcD0_rQR.mjs} +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
3
|
import { r as __exportAll } from "./fs-promises-shim-Bx0fpxuk.mjs";
|
|
4
|
-
import { H as getAgentDir, P as $env } from "./src-
|
|
5
|
-
import { c as OAuthError, h as LoginCancelledError } from "./error-
|
|
6
|
-
import "./utils-
|
|
4
|
+
import { H as getAgentDir, P as $env } from "./src-BcD0_rQR.mjs";
|
|
5
|
+
import { c as OAuthError, h as LoginCancelledError } from "./error-C-f_Wnw4.mjs";
|
|
6
|
+
import "./utils-Cp2Mxf_U.mjs";
|
|
7
7
|
import { n as isRecord } from "./type-guards-B9VVjRDK.mjs";
|
|
8
|
-
import * as path from "node:path";
|
|
9
8
|
import * as fs from "node:fs";
|
|
9
|
+
import * as path from "node:path";
|
|
10
10
|
import * as os from "node:os";
|
|
11
11
|
import { scheduler } from "node:timers/promises";
|
|
12
12
|
import * as crypto from "node:crypto";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
|
-
import { d as $which, l as exec } from "./src-
|
|
4
|
-
import * as path from "node:path";
|
|
3
|
+
import { d as $which, l as exec } from "./src-BcD0_rQR.mjs";
|
|
5
4
|
import * as fs from "node:fs";
|
|
5
|
+
import * as path from "node:path";
|
|
6
6
|
import * as os from "node:os";
|
|
7
7
|
//#region src/tools/bash/logger.ts
|
|
8
8
|
let current = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
3
|
import { n as fs_promises_shim_exports } from "./fs-promises-shim-Bx0fpxuk.mjs";
|
|
4
|
-
import { l as unzip, u as unzipText } from "./zip-
|
|
4
|
+
import { l as unzip, u as unzipText } from "./zip-BK7UHCwX.mjs";
|
|
5
5
|
import { n as normalizeTablesHtml, t as createTurndown } from "./turndown-DN7ByzEI.mjs";
|
|
6
|
-
import * as path from "node:path";
|
|
7
6
|
import { pdfToMarkdown } from "@oh-my-pi/pi-natives";
|
|
7
|
+
import * as path from "node:path";
|
|
8
8
|
import * as zlib from "node:zlib";
|
|
9
9
|
//#region node_modules/.pnpm/@oh-my-pi+pi-utils@17.3.5/node_modules/@oh-my-pi/pi-utils/src/docx/xml.ts
|
|
10
10
|
const ENTITY_PATTERN = /&(?:#x[\da-fA-F]+|#\d+|amp|apos|gt|lt|quot);/g;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
|
-
import { t as createApiKeyLogin } from "./api-key-login-
|
|
3
|
+
import { t as createApiKeyLogin } from "./api-key-login-CIDnXeYd.mjs";
|
|
4
4
|
//#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/minimax-code.ts
|
|
5
5
|
/**
|
|
6
6
|
* MiniMax Token Plan login flow.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
|
-
import { t as cleanModelName } from "./utils-
|
|
3
|
+
import { t as cleanModelName } from "./utils-CQHPEQ3W.mjs";
|
|
4
4
|
//#region node_modules/.pnpm/@oh-my-pi+pi-catalog@17.3.5/node_modules/@oh-my-pi/pi-catalog/src/fireworks-model-id.ts
|
|
5
5
|
const FIREWORKS_WIRE_PREFIX = "accounts/fireworks/models/";
|
|
6
6
|
const FIREPASS_WIRE_PREFIX = "accounts/fireworks/routers/";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
3
|
import { r as __exportAll } from "./fs-promises-shim-Bx0fpxuk.mjs";
|
|
4
|
-
import { g as parseStreamingJson, i as readJsonl } from "./src-
|
|
5
|
-
import { G as fetchWithRetry, b as LLAMA_CPP_TOOL_CALL_PARSE_PATTERN, g as MissingApiKeyError, l as finalize, z as OllamaApiError } from "./error-
|
|
6
|
-
import { C as kStreamingPartialJson, I as sanitizeSchemaForOllama, a as normalizeSystemPrompts, h as clearStreamingPartialJson, k as toolWireSchema, m as transformMessages } from "./utils-
|
|
7
|
-
import { Ct as withEmptyCompletionRetry, n as getEnvApiKey } from "./stream-
|
|
8
|
-
import { i as partitionVisionContent, r as joinTextWithImagePlaceholder } from "./vision-guard-
|
|
9
|
-
import { t as AssistantMessageEventStream } from "./event-stream-
|
|
10
|
-
import { n as getOpenAIStreamFirstEventTimeoutMs, r as getOpenAIStreamIdleTimeoutMs, t as armPreResponseTimeout } from "./idle-iterator-
|
|
11
|
-
import { n as getStreamMarkupHealingPattern, t as StreamMarkupHealing } from "./stream-markup-healing-
|
|
4
|
+
import { g as parseStreamingJson, i as readJsonl } from "./src-BcD0_rQR.mjs";
|
|
5
|
+
import { G as fetchWithRetry, b as LLAMA_CPP_TOOL_CALL_PARSE_PATTERN, g as MissingApiKeyError, l as finalize, z as OllamaApiError } from "./error-C-f_Wnw4.mjs";
|
|
6
|
+
import { C as kStreamingPartialJson, I as sanitizeSchemaForOllama, a as normalizeSystemPrompts, h as clearStreamingPartialJson, k as toolWireSchema, m as transformMessages } from "./utils-Cp2Mxf_U.mjs";
|
|
7
|
+
import { Ct as withEmptyCompletionRetry, n as getEnvApiKey } from "./stream-Bjq8wjfr.mjs";
|
|
8
|
+
import { i as partitionVisionContent, r as joinTextWithImagePlaceholder } from "./vision-guard-mBmtAHx0.mjs";
|
|
9
|
+
import { t as AssistantMessageEventStream } from "./event-stream-Dh2guZxS.mjs";
|
|
10
|
+
import { n as getOpenAIStreamFirstEventTimeoutMs, r as getOpenAIStreamIdleTimeoutMs, t as armPreResponseTimeout } from "./idle-iterator-CYAxUkSD.mjs";
|
|
11
|
+
import { n as getStreamMarkupHealingPattern, t as StreamMarkupHealing } from "./stream-markup-healing-DZ6bVDxH.mjs";
|
|
12
12
|
//#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/providers/ollama.ts
|
|
13
13
|
var ollama_exports = /* @__PURE__ */ __exportAll({ streamOllama: () => streamOllama });
|
|
14
14
|
function normalizeBaseUrl(baseUrl) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
|
-
import { c as OAuthError, h as LoginCancelledError } from "./error-
|
|
4
|
-
import "./utils-
|
|
3
|
+
import { c as OAuthError, h as LoginCancelledError } from "./error-C-f_Wnw4.mjs";
|
|
4
|
+
import "./utils-Cp2Mxf_U.mjs";
|
|
5
5
|
import { n as isRecord } from "./type-guards-B9VVjRDK.mjs";
|
|
6
|
-
import { t as OAuthCallbackFlow } from "./callback-server-
|
|
6
|
+
import { t as OAuthCallbackFlow } from "./callback-server-CFJK-jvK.mjs";
|
|
7
7
|
import { t as generatePKCE } from "./pkce-BlQikGPu.mjs";
|
|
8
8
|
import { i as OPENAI_HEADER_VALUES } from "./codex-P1dGpX7G.mjs";
|
|
9
9
|
//#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/openai-codex.ts
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
3
|
import { r as __exportAll } from "./fs-promises-shim-Bx0fpxuk.mjs";
|
|
4
|
-
import { B as USER_AGENT, C as error, I as $flag, P as $env, S as debug, g as parseStreamingJson, o as readSseJson, q as getInstallId, t as structuredCloneJSON, w as time } from "./src-
|
|
5
|
-
import { G as fetchWithRetry, V as ProviderHttpError, g as MissingApiKeyError, l as finalize, v as AbortError } from "./error-
|
|
6
|
-
import { A as NO_STRICT, C as kStreamingPartialJson, L as sanitizeSchemaForOpenAIResponses, a as normalizeSystemPrompts, c as sanitizeOpenAIResponsesAssistantFallbackItemsForReplay, d as stripOpenAIResponsesComputerLinkedReasoningIdsForReplay, h as clearStreamingPartialJson, j as adaptSchemaForStrict, k as toolWireSchema, l as sanitizeOpenAIResponsesAssistantHistoryItemsForReplay, m as transformMessages, n as getOpenAIResponsesHistoryItems, p as redactSensitiveInObject, r as getOpenAIResponsesHistoryPayload, t as createOpenAIResponsesHistoryPayload } from "./utils-
|
|
4
|
+
import { B as USER_AGENT, C as error, I as $flag, P as $env, S as debug, g as parseStreamingJson, o as readSseJson, q as getInstallId, t as structuredCloneJSON, w as time } from "./src-BcD0_rQR.mjs";
|
|
5
|
+
import { G as fetchWithRetry, V as ProviderHttpError, g as MissingApiKeyError, l as finalize, v as AbortError } from "./error-C-f_Wnw4.mjs";
|
|
6
|
+
import { A as NO_STRICT, C as kStreamingPartialJson, L as sanitizeSchemaForOpenAIResponses, a as normalizeSystemPrompts, c as sanitizeOpenAIResponsesAssistantFallbackItemsForReplay, d as stripOpenAIResponsesComputerLinkedReasoningIdsForReplay, h as clearStreamingPartialJson, j as adaptSchemaForStrict, k as toolWireSchema, l as sanitizeOpenAIResponsesAssistantHistoryItemsForReplay, m as transformMessages, n as getOpenAIResponsesHistoryItems, p as redactSensitiveInObject, r as getOpenAIResponsesHistoryPayload, t as createOpenAIResponsesHistoryPayload } from "./utils-Cp2Mxf_U.mjs";
|
|
7
7
|
import { t as asRecord } from "./type-guards-B9VVjRDK.mjs";
|
|
8
|
-
import { A as computerCallMetadata, B as finalizeCustomToolCallInputDone, E as buildResponsesDeltaInput, F as createSequentialCutoffSummaryState, H as finalizePendingResponsesToolCalls, K as getOpenAIPromptCacheKey, L as encodeResponsesToolCallId, M as convertResponsesInputContent, Q as isOpenAIResponsesProgressEvent, R as encodeTextSignatureV1, U as finalizeReasoningThinking, V as finalizeMessageText, W as finalizeToolCallArgumentsDone, X as hasExecutableIncompleteResponsesToolCalls, a as accumulateCustomToolCallInputDelta, at as populateResponsesUsageFromResponse, bt as escapeHarmonyControlTokens, c as appendMessageTextDelta, d as appendReasoningSummaryTextDelta, f as appendResponsesImageResult, j as convertResponsesAssistantMessage, l as appendReasoningSummaryPart, n as getEnvApiKey, nt as mapOpenAIResponsesStopReason, o as accumulateToolCallArgumentsDelta, p as appendResponsesToolResultMessages, r as isOfficialCodexApiUrl, rt as normalizeOpenAIPromptCacheKey, s as appendMessageContentPart, st as promoteResponsesToolUseStopReason, tt as mapOpenAIReasoningEffort, u as appendReasoningSummaryPartDone, x as applyReasoningSummaryDone, xt as isHarmonyDialectModel, y as applyOpenAIServiceTier, z as escapeReplayedControlTokens } from "./stream-
|
|
9
|
-
import { r as getProxyForUrl } from "./proxy-
|
|
10
|
-
import { E as supportsCodexReasoningSummary, T as supportsAllTurnsReasoningContext, s as requireSupportedEffort, t as calculateCost } from "./models-
|
|
11
|
-
import { a as toNumber } from "./utils-
|
|
12
|
-
import "./identity-
|
|
13
|
-
import { t as AssistantMessageEventStream } from "./event-stream-
|
|
8
|
+
import { A as computerCallMetadata, B as finalizeCustomToolCallInputDone, E as buildResponsesDeltaInput, F as createSequentialCutoffSummaryState, H as finalizePendingResponsesToolCalls, K as getOpenAIPromptCacheKey, L as encodeResponsesToolCallId, M as convertResponsesInputContent, Q as isOpenAIResponsesProgressEvent, R as encodeTextSignatureV1, U as finalizeReasoningThinking, V as finalizeMessageText, W as finalizeToolCallArgumentsDone, X as hasExecutableIncompleteResponsesToolCalls, a as accumulateCustomToolCallInputDelta, at as populateResponsesUsageFromResponse, bt as escapeHarmonyControlTokens, c as appendMessageTextDelta, d as appendReasoningSummaryTextDelta, f as appendResponsesImageResult, j as convertResponsesAssistantMessage, l as appendReasoningSummaryPart, n as getEnvApiKey, nt as mapOpenAIResponsesStopReason, o as accumulateToolCallArgumentsDelta, p as appendResponsesToolResultMessages, r as isOfficialCodexApiUrl, rt as normalizeOpenAIPromptCacheKey, s as appendMessageContentPart, st as promoteResponsesToolUseStopReason, tt as mapOpenAIReasoningEffort, u as appendReasoningSummaryPartDone, x as applyReasoningSummaryDone, xt as isHarmonyDialectModel, y as applyOpenAIServiceTier, z as escapeReplayedControlTokens } from "./stream-Bjq8wjfr.mjs";
|
|
9
|
+
import { r as getProxyForUrl } from "./proxy-D9lm7ONA.mjs";
|
|
10
|
+
import { E as supportsCodexReasoningSummary, T as supportsAllTurnsReasoningContext, s as requireSupportedEffort, t as calculateCost } from "./models-DRA2c_8U.mjs";
|
|
11
|
+
import { a as toNumber } from "./utils-CQHPEQ3W.mjs";
|
|
12
|
+
import "./identity-HNO1Oe9B.mjs";
|
|
13
|
+
import { t as AssistantMessageEventStream } from "./event-stream-Dh2guZxS.mjs";
|
|
14
14
|
import { a as getCodexAccountId, i as OPENAI_HEADER_VALUES, n as CODEX_CLIENT_VERSION, r as OPENAI_HEADERS, t as CODEX_BASE_URL } from "./codex-P1dGpX7G.mjs";
|
|
15
|
-
import { n as getOpenAIStreamFirstEventTimeoutMs, o as iterateWithIdleTimeout, r as getOpenAIStreamIdleTimeoutMs, t as armPreResponseTimeout } from "./idle-iterator-
|
|
15
|
+
import { n as getOpenAIStreamFirstEventTimeoutMs, o as iterateWithIdleTimeout, r as getOpenAIStreamIdleTimeoutMs, t as armPreResponseTimeout } from "./idle-iterator-CYAxUkSD.mjs";
|
|
16
16
|
import { n as isRequestDebugEnabled, t as createRequestDebugSession } from "./request-debug-HJMoJncL.mjs";
|
|
17
17
|
import { t as notifyRawSseEvent } from "./sse-debug-CYdjOC96.mjs";
|
|
18
18
|
import { t as compactGrammarDefinition } from "./grammar-D-NqNUxQ.mjs";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
3
|
import { r as __exportAll } from "./fs-promises-shim-Bx0fpxuk.mjs";
|
|
4
|
-
import { P as $env, T as warn, _ as parseStreamingJsonThrottled, g as parseStreamingJson } from "./src-
|
|
5
|
-
import { B as OpenAIHttpError, d as callWithCopilotModelRetry, l as finalize, n as StreamTimeoutError, s as ProviderResponseError, t as ConfigurationError, v as AbortError } from "./error-
|
|
6
|
-
import { A as NO_STRICT, F as sanitizeSchemaForGrammar, O as flattenExclusiveRequiredRootUnion, P as normalizeSchemaForMoonshot, S as kStreamingLastParseLen, a as normalizeSystemPrompts, g as isDemotedThinking, j as adaptSchemaForStrict, k as toolWireSchema, m as transformMessages, s as resolveCacheRetention, w as renderDemotedThinking } from "./utils-
|
|
7
|
-
import { $ as isOpenRouterAnthropicModel, Ct as withEmptyCompletionRetry, I as disableStrictToolsForScope, J as getOpenAIStrictToolsScope, K as getOpenAIPromptCacheKey, N as createInitialResponsesAssistantMessage, O as calculateOpenAIUsageAccounting, P as createOpenAIStrictToolsState, St as hasVisibleAssistantContent, T as applyWireModelIdTransform, Z as isCompiledGrammarTooLargeStrictError, _ as applyOpenAIExtraBody, _t as isForcedToolChoice, b as applyOpenRouterReportedCost, ct as resolveOpenAICompatPolicy, dt as resolveOpenAIRequestSetup, et as isStrictToolsDisabledForScope, h as applyChatCompletionsToolStream, it as parseAzureDeploymentNameMap, k as clearOpenAIStrictToolsState, lt as resolveOpenAICompletionsOutputClamp, m as applyChatCompletionsCompatPolicy, n as getEnvApiKey, pt as shouldRetryWithoutStrictTools, ut as resolveOpenAIOutputTokenParam, v as applyOpenAIGatewayRouting, vt as mapToOpenAICompletionsToolChoice, y as applyOpenAIServiceTier } from "./stream-
|
|
8
|
-
import { t as createAbortSourceTracker } from "./abort-
|
|
9
|
-
import { b as isKimiModelId, c as resolveWireModelId, t as calculateCost } from "./models-
|
|
10
|
-
import "./identity-
|
|
11
|
-
import { n as isDashscopeCompatibleModeTextOnlyQwen, r as joinTextWithImagePlaceholder, t as NON_VISION_IMAGE_PLACEHOLDER } from "./vision-guard-
|
|
4
|
+
import { P as $env, T as warn, _ as parseStreamingJsonThrottled, g as parseStreamingJson } from "./src-BcD0_rQR.mjs";
|
|
5
|
+
import { B as OpenAIHttpError, d as callWithCopilotModelRetry, l as finalize, n as StreamTimeoutError, s as ProviderResponseError, t as ConfigurationError, v as AbortError } from "./error-C-f_Wnw4.mjs";
|
|
6
|
+
import { A as NO_STRICT, F as sanitizeSchemaForGrammar, O as flattenExclusiveRequiredRootUnion, P as normalizeSchemaForMoonshot, S as kStreamingLastParseLen, a as normalizeSystemPrompts, g as isDemotedThinking, j as adaptSchemaForStrict, k as toolWireSchema, m as transformMessages, s as resolveCacheRetention, w as renderDemotedThinking } from "./utils-Cp2Mxf_U.mjs";
|
|
7
|
+
import { $ as isOpenRouterAnthropicModel, Ct as withEmptyCompletionRetry, I as disableStrictToolsForScope, J as getOpenAIStrictToolsScope, K as getOpenAIPromptCacheKey, N as createInitialResponsesAssistantMessage, O as calculateOpenAIUsageAccounting, P as createOpenAIStrictToolsState, St as hasVisibleAssistantContent, T as applyWireModelIdTransform, Z as isCompiledGrammarTooLargeStrictError, _ as applyOpenAIExtraBody, _t as isForcedToolChoice, b as applyOpenRouterReportedCost, ct as resolveOpenAICompatPolicy, dt as resolveOpenAIRequestSetup, et as isStrictToolsDisabledForScope, h as applyChatCompletionsToolStream, it as parseAzureDeploymentNameMap, k as clearOpenAIStrictToolsState, lt as resolveOpenAICompletionsOutputClamp, m as applyChatCompletionsCompatPolicy, n as getEnvApiKey, pt as shouldRetryWithoutStrictTools, ut as resolveOpenAIOutputTokenParam, v as applyOpenAIGatewayRouting, vt as mapToOpenAICompletionsToolChoice, y as applyOpenAIServiceTier } from "./stream-Bjq8wjfr.mjs";
|
|
8
|
+
import { t as createAbortSourceTracker } from "./abort-Cwwm4Err.mjs";
|
|
9
|
+
import { b as isKimiModelId, c as resolveWireModelId, t as calculateCost } from "./models-DRA2c_8U.mjs";
|
|
10
|
+
import "./identity-HNO1Oe9B.mjs";
|
|
11
|
+
import { n as isDashscopeCompatibleModeTextOnlyQwen, r as joinTextWithImagePlaceholder, t as NON_VISION_IMAGE_PLACEHOLDER } from "./vision-guard-mBmtAHx0.mjs";
|
|
12
12
|
import { t as findStrictToolSchemaViolation } from "./strict-tool-validation-imVLUcbI.mjs";
|
|
13
|
-
import { t as AssistantMessageEventStream } from "./event-stream-
|
|
14
|
-
import { n as getOpenAIStreamFirstEventTimeoutMs, o as iterateWithIdleTimeout, r as getOpenAIStreamIdleTimeoutMs, s as iterateWithTerminalGrace } from "./idle-iterator-
|
|
15
|
-
import { t as getKimiCommonHeaders } from "./kimi-
|
|
13
|
+
import { t as AssistantMessageEventStream } from "./event-stream-Dh2guZxS.mjs";
|
|
14
|
+
import { n as getOpenAIStreamFirstEventTimeoutMs, o as iterateWithIdleTimeout, r as getOpenAIStreamIdleTimeoutMs, s as iterateWithTerminalGrace } from "./idle-iterator-CYAxUkSD.mjs";
|
|
15
|
+
import { t as getKimiCommonHeaders } from "./kimi-DgcUpPtK.mjs";
|
|
16
16
|
import { t as notifyProviderResponse } from "./provider-response-C6vcbQyO.mjs";
|
|
17
|
-
import { t as StreamMarkupHealing } from "./stream-markup-healing-
|
|
18
|
-
import { a as getOpenAIReasoningEffortFallback, c as postOpenAIStream, i as createOpenAIReasoningEffortFallbackState, n as clearOpenAIReasoningEffortFallbackState, o as rememberOpenAIReasoningEffortFallback, r as createOpenAIReasoningEffortFallbackKey, s as resolveOpenAIReasoningEffortFallback, t as applyOpenAIReasoningEffortFallback } from "./openai-reasoning-fallback-
|
|
17
|
+
import { t as StreamMarkupHealing } from "./stream-markup-healing-DZ6bVDxH.mjs";
|
|
18
|
+
import { a as getOpenAIReasoningEffortFallback, c as postOpenAIStream, i as createOpenAIReasoningEffortFallbackState, n as clearOpenAIReasoningEffortFallbackState, o as rememberOpenAIReasoningEffortFallback, r as createOpenAIReasoningEffortFallbackKey, s as resolveOpenAIReasoningEffortFallback, t as applyOpenAIReasoningEffortFallback } from "./openai-reasoning-fallback-DXsfiSXO.mjs";
|
|
19
19
|
//#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/providers/openai-completions.ts
|
|
20
20
|
var openai_completions_exports = /* @__PURE__ */ __exportAll({
|
|
21
21
|
convertMessages: () => convertMessages,
|
package/lib/{openai-reasoning-fallback-CigKCyzc.mjs → openai-reasoning-fallback-DXsfiSXO.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
|
-
import { o as readSseJson } from "./src-
|
|
4
|
-
import { B as OpenAIHttpError, G as fetchWithRetry, W as extractHttpStatusFromError, s as ProviderResponseError } from "./error-
|
|
3
|
+
import { o as readSseJson } from "./src-BcD0_rQR.mjs";
|
|
4
|
+
import { B as OpenAIHttpError, G as fetchWithRetry, W as extractHttpStatusFromError, s as ProviderResponseError } from "./error-C-f_Wnw4.mjs";
|
|
5
5
|
//#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/utils/openai-http.ts
|
|
6
6
|
/**
|
|
7
7
|
* JSON-POST → SSE transport for OpenAI-wire streaming endpoints (chat
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
3
|
import { r as __exportAll } from "./fs-promises-shim-Bx0fpxuk.mjs";
|
|
4
|
-
import { I as $flag, S as debug, T as warn, t as structuredCloneJSON } from "./src-
|
|
5
|
-
import { A as isTransientStreamParseError, B as OpenAIHttpError, d as callWithCopilotModelRetry, l as finalize, n as StreamTimeoutError, s as ProviderResponseError, t as ConfigurationError, v as AbortError } from "./error-
|
|
6
|
-
import { A as NO_STRICT, L as sanitizeSchemaForOpenAIResponses, O as flattenExclusiveRequiredRootUnion, P as normalizeSchemaForMoonshot, a as normalizeSystemPrompts, j as adaptSchemaForStrict, k as toolWireSchema, l as sanitizeOpenAIResponsesAssistantHistoryItemsForReplay, s as resolveCacheRetention, t as createOpenAIResponsesHistoryPayload } from "./utils-
|
|
7
|
-
import { $ as isOpenRouterAnthropicModel, Ct as withEmptyCompletionRetry, D as buildResponsesInput, E as buildResponsesDeltaInput, G as getJuiceValue, I as disableStrictToolsForScope, J as getOpenAIStrictToolsScope, K as getOpenAIPromptCacheKey, N as createInitialResponsesAssistantMessage, P as createOpenAIStrictToolsState, Q as isOpenAIResponsesProgressEvent, S as applyResponsesCompatPolicy, T as applyWireModelIdTransform, Y as getOpenRouterResponsesSessionId, Z as isCompiledGrammarTooLargeStrictError, _ as applyOpenAIExtraBody, _t as isForcedToolChoice, ct as resolveOpenAICompatPolicy, dt as resolveOpenAIRequestSetup, et as isStrictToolsDisabledForScope, ft as resolveOpenAIResponsesOutputClamp, g as applyCommonResponsesSamplingParams, k as clearOpenAIStrictToolsState, n as getEnvApiKey, ot as processResponsesStream, pt as shouldRetryWithoutStrictTools, q as getOpenAIResponsesRoutingSessionId, ut as resolveOpenAIOutputTokenParam, v as applyOpenAIGatewayRouting, w as applyVercelResponsesCacheControls, yt as mapToOpenAIResponsesToolChoice } from "./stream-
|
|
8
|
-
import { t as createAbortSourceTracker } from "./abort-
|
|
9
|
-
import { A as semverGte, D as bareModelId, j as hostMatchesUrl, k as parseOpenAIModel } from "./models-
|
|
10
|
-
import "./identity-
|
|
4
|
+
import { I as $flag, S as debug, T as warn, t as structuredCloneJSON } from "./src-BcD0_rQR.mjs";
|
|
5
|
+
import { A as isTransientStreamParseError, B as OpenAIHttpError, d as callWithCopilotModelRetry, l as finalize, n as StreamTimeoutError, s as ProviderResponseError, t as ConfigurationError, v as AbortError } from "./error-C-f_Wnw4.mjs";
|
|
6
|
+
import { A as NO_STRICT, L as sanitizeSchemaForOpenAIResponses, O as flattenExclusiveRequiredRootUnion, P as normalizeSchemaForMoonshot, a as normalizeSystemPrompts, j as adaptSchemaForStrict, k as toolWireSchema, l as sanitizeOpenAIResponsesAssistantHistoryItemsForReplay, s as resolveCacheRetention, t as createOpenAIResponsesHistoryPayload } from "./utils-Cp2Mxf_U.mjs";
|
|
7
|
+
import { $ as isOpenRouterAnthropicModel, Ct as withEmptyCompletionRetry, D as buildResponsesInput, E as buildResponsesDeltaInput, G as getJuiceValue, I as disableStrictToolsForScope, J as getOpenAIStrictToolsScope, K as getOpenAIPromptCacheKey, N as createInitialResponsesAssistantMessage, P as createOpenAIStrictToolsState, Q as isOpenAIResponsesProgressEvent, S as applyResponsesCompatPolicy, T as applyWireModelIdTransform, Y as getOpenRouterResponsesSessionId, Z as isCompiledGrammarTooLargeStrictError, _ as applyOpenAIExtraBody, _t as isForcedToolChoice, ct as resolveOpenAICompatPolicy, dt as resolveOpenAIRequestSetup, et as isStrictToolsDisabledForScope, ft as resolveOpenAIResponsesOutputClamp, g as applyCommonResponsesSamplingParams, k as clearOpenAIStrictToolsState, n as getEnvApiKey, ot as processResponsesStream, pt as shouldRetryWithoutStrictTools, q as getOpenAIResponsesRoutingSessionId, ut as resolveOpenAIOutputTokenParam, v as applyOpenAIGatewayRouting, w as applyVercelResponsesCacheControls, yt as mapToOpenAIResponsesToolChoice } from "./stream-Bjq8wjfr.mjs";
|
|
8
|
+
import { t as createAbortSourceTracker } from "./abort-Cwwm4Err.mjs";
|
|
9
|
+
import { A as semverGte, D as bareModelId, j as hostMatchesUrl, k as parseOpenAIModel } from "./models-DRA2c_8U.mjs";
|
|
10
|
+
import "./identity-HNO1Oe9B.mjs";
|
|
11
11
|
import { t as findStrictToolSchemaViolation } from "./strict-tool-validation-imVLUcbI.mjs";
|
|
12
|
-
import { t as AssistantMessageEventStream } from "./event-stream-
|
|
13
|
-
import { n as getOpenAIStreamFirstEventTimeoutMs, o as iterateWithIdleTimeout, r as getOpenAIStreamIdleTimeoutMs } from "./idle-iterator-
|
|
12
|
+
import { t as AssistantMessageEventStream } from "./event-stream-Dh2guZxS.mjs";
|
|
13
|
+
import { n as getOpenAIStreamFirstEventTimeoutMs, o as iterateWithIdleTimeout, r as getOpenAIStreamIdleTimeoutMs } from "./idle-iterator-CYAxUkSD.mjs";
|
|
14
14
|
import { t as notifyProviderResponse } from "./provider-response-C6vcbQyO.mjs";
|
|
15
15
|
import { t as compactGrammarDefinition } from "./grammar-D-NqNUxQ.mjs";
|
|
16
|
-
import { a as getOpenAIReasoningEffortFallback, c as postOpenAIStream, i as createOpenAIReasoningEffortFallbackState, n as clearOpenAIReasoningEffortFallbackState, o as rememberOpenAIReasoningEffortFallback, r as createOpenAIReasoningEffortFallbackKey, s as resolveOpenAIReasoningEffortFallback, t as applyOpenAIReasoningEffortFallback } from "./openai-reasoning-fallback-
|
|
16
|
+
import { a as getOpenAIReasoningEffortFallback, c as postOpenAIStream, i as createOpenAIReasoningEffortFallbackState, n as clearOpenAIReasoningEffortFallbackState, o as rememberOpenAIReasoningEffortFallback, r as createOpenAIReasoningEffortFallbackKey, s as resolveOpenAIReasoningEffortFallback, t as applyOpenAIReasoningEffortFallback } from "./openai-reasoning-fallback-DXsfiSXO.mjs";
|
|
17
17
|
import { scheduler } from "node:timers/promises";
|
|
18
18
|
//#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/providers/openai-responses.ts
|
|
19
19
|
var openai_responses_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
|
-
import { _ as OnPromptRequiredError, h as LoginCancelledError, m as ApiKeyRequiredError } from "./error-
|
|
3
|
+
import { _ as OnPromptRequiredError, h as LoginCancelledError, m as ApiKeyRequiredError } from "./error-C-f_Wnw4.mjs";
|
|
4
4
|
//#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/opencode.ts
|
|
5
5
|
/**
|
|
6
6
|
* OpenCode Zen login flow.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
|
-
import { D as Cookie, E as $, O as CookieMap, P as $env } from "./src-
|
|
4
|
-
import { V as ProviderHttpError, _ as OnPromptRequiredError, c as OAuthError, h as LoginCancelledError } from "./error-
|
|
3
|
+
import { D as Cookie, E as $, O as CookieMap, P as $env } from "./src-BcD0_rQR.mjs";
|
|
4
|
+
import { V as ProviderHttpError, _ as OnPromptRequiredError, c as OAuthError, h as LoginCancelledError } from "./error-C-f_Wnw4.mjs";
|
|
5
5
|
import * as os from "node:os";
|
|
6
6
|
//#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/perplexity.ts
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
|
-
import { n as StreamTimeoutError, r as ValidationError, v as AbortError } from "./error-
|
|
3
|
+
import { n as StreamTimeoutError, r as ValidationError, v as AbortError } from "./error-C-f_Wnw4.mjs";
|
|
4
4
|
import * as tls from "node:tls";
|
|
5
5
|
import * as net from "node:net";
|
|
6
6
|
//#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/utils/proxy.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
3
|
import { n as fs_promises_shim_exports } from "./fs-promises-shim-Bx0fpxuk.mjs";
|
|
4
|
-
import { B as USER_AGENT, G as getDocsRsCacheDir, N as formatNumber, P as $env, T as warn, c as combineSignals, j as formatBytes, l as exec, s as Snowflake, x as parseFrontmatter, y as isEnoent } from "./src-
|
|
5
|
-
import { V as tryParseJson } from "./utils-
|
|
6
|
-
import { a as fetchBinary, c as getParallelExtractContent, i as convertWithMarkit, l as ensureTool, m as settings, n as asRecord, o as extractWithParallel, r as asString, s as findParallelApiKey, t as asNumber } from "./utils-
|
|
4
|
+
import { B as USER_AGENT, G as getDocsRsCacheDir, N as formatNumber, P as $env, T as warn, c as combineSignals, j as formatBytes, l as exec, s as Snowflake, x as parseFrontmatter, y as isEnoent } from "./src-BcD0_rQR.mjs";
|
|
5
|
+
import { V as tryParseJson } from "./utils-Cp2Mxf_U.mjs";
|
|
6
|
+
import { a as fetchBinary, c as getParallelExtractContent, i as convertWithMarkit, l as ensureTool, m as settings, n as asRecord, o as extractWithParallel, r as asString, s as findParallelApiKey, t as asNumber } from "./utils-DeT1yYiQ.mjs";
|
|
7
7
|
import { n as isRecord } from "./type-guards-B9VVjRDK.mjs";
|
|
8
8
|
import { r as throwIfAborted, t as ToolAbortError } from "./tool-errors-DoyxivAR.mjs";
|
|
9
|
-
import { c as getLocalizedText, d as looksLikeHtml, i as decodeHtmlEntities, l as htmlToBasicMarkdown, o as formatIsoDate, r as buildResult, s as formatMediaDuration, u as loadPage } from "./types-
|
|
9
|
+
import { c as getLocalizedText, d as looksLikeHtml, i as decodeHtmlEntities, l as htmlToBasicMarkdown, o as formatIsoDate, r as buildResult, s as formatMediaDuration, u as loadPage } from "./types-DX_bvuus.mjs";
|
|
10
10
|
import * as path from "node:path";
|
|
11
11
|
import * as os from "node:os";
|
|
12
12
|
import { gunzipSync } from "node:zlib";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { installBunShim as __installBunShim } from "./bun-shim.mjs";
|
|
2
2
|
__installBunShim();
|
|
3
3
|
import { n as fs_promises_shim_exports } from "./fs-promises-shim-Bx0fpxuk.mjs";
|
|
4
|
-
import { B as USER_AGENT, L as $pickenv, P as $env, T as warn, _ as parseStreamingJsonThrottled, et as once, f as parseImageMetadata, g as parseStreamingJson, m as classifyJsonPrefix, t as structuredCloneJSON } from "./src-
|
|
5
|
-
import { G as fetchWithRetry, S as classify, T as is, W as extractHttpStatusFromError, _ as OnPromptRequiredError, c as OAuthError, g as MissingApiKeyError, h as LoginCancelledError, m as ApiKeyRequiredError, s as ProviderResponseError, t as ConfigurationError, y as Flag } from "./error-
|
|
6
|
-
import { B as stringifyJson, C as kStreamingPartialJson, S as kStreamingLastParseLen, a as normalizeSystemPrompts, c as sanitizeOpenAIResponsesAssistantFallbackItemsForReplay, f as stripUnpairedOpenAIResponsesComputerReasoningIdsForReplay, h as clearStreamingPartialJson, i as normalizeResponsesToolCallId, l as sanitizeOpenAIResponsesAssistantHistoryItemsForReplay, m as transformMessages, n as getOpenAIResponsesHistoryItems, r as getOpenAIResponsesHistoryPayload, s as resolveCacheRetention, u as sanitizeOpenAIResponsesHistoryItemsForReplay, v as kStreamingArgumentsDone } from "./utils-
|
|
4
|
+
import { B as USER_AGENT, L as $pickenv, P as $env, T as warn, _ as parseStreamingJsonThrottled, et as once, f as parseImageMetadata, g as parseStreamingJson, m as classifyJsonPrefix, t as structuredCloneJSON } from "./src-BcD0_rQR.mjs";
|
|
5
|
+
import { G as fetchWithRetry, S as classify, T as is, W as extractHttpStatusFromError, _ as OnPromptRequiredError, c as OAuthError, g as MissingApiKeyError, h as LoginCancelledError, m as ApiKeyRequiredError, s as ProviderResponseError, t as ConfigurationError, y as Flag } from "./error-C-f_Wnw4.mjs";
|
|
6
|
+
import { B as stringifyJson, C as kStreamingPartialJson, S as kStreamingLastParseLen, a as normalizeSystemPrompts, c as sanitizeOpenAIResponsesAssistantFallbackItemsForReplay, f as stripUnpairedOpenAIResponsesComputerReasoningIdsForReplay, h as clearStreamingPartialJson, i as normalizeResponsesToolCallId, l as sanitizeOpenAIResponsesAssistantHistoryItemsForReplay, m as transformMessages, n as getOpenAIResponsesHistoryItems, r as getOpenAIResponsesHistoryPayload, s as resolveCacheRetention, u as sanitizeOpenAIResponsesHistoryItemsForReplay, v as kStreamingArgumentsDone } from "./utils-Cp2Mxf_U.mjs";
|
|
7
7
|
import { n as isRecord } from "./type-guards-B9VVjRDK.mjs";
|
|
8
|
-
import { n as validateApiKeyAgainstModelsEndpoint, r as validateOpenAICompatibleApiKey, t as createApiKeyLogin } from "./api-key-login-
|
|
9
|
-
import { a as resolveAwsRegistryApiKey, c as resolveAwsRegion, i as resolveAwsBearerToken, n as resolveAwsCredentials, o as AUTHENTICATED_SENTINEL, r as signRequest, t as invalidateAwsCredentialCache } from "./aws-credentials-
|
|
10
|
-
import "./abort-
|
|
11
|
-
import "./proxy-
|
|
12
|
-
import { C as isReasoningGlmModelId, F as toFirepassWireModelId, I as toFireworksPublicModelId, L as toFireworksWireModelId, _ as isGlmVisionModelId, a as getSupportedEfforts, b as isKimiModelId, d as xaiResponsesReasoningEffortMap, g as isGlm52ReasoningEffortModelId, m as anthropicModelSupportsThinking, r as getBundledModels, t as calculateCost, u as THINKING_EFFORTS, v as isGrokReasoningEffortCapable, y as isKimiK3ModelId } from "./models-
|
|
13
|
-
import { a as toNumber, i as toBoolean, n as discoveryFetch, o as toPositiveNumber, r as isAnthropicOAuthToken } from "./utils-
|
|
14
|
-
import { i as resolveModelReference, n as getBundledModelReferenceIndex, t as preferredDialect } from "./identity-
|
|
15
|
-
import { a as getGitHubCopilotBaseUrl, i as discoverGitHubCopilotApiEndpoint, o as isPersonalGitHubCopilotBaseUrl, t as COPILOT_API_HEADERS, u as parseGitHubCopilotApiKey } from "./github-copilot-
|
|
16
|
-
import { i as partitionVisionContent, o as shouldSendServiceTier, r as joinTextWithImagePlaceholder, t as NON_VISION_IMAGE_PLACEHOLDER } from "./vision-guard-
|
|
17
|
-
import { t as AssistantMessageEventStream } from "./event-stream-
|
|
18
|
-
import "./anthropic-
|
|
19
|
-
import "./device-code-
|
|
20
|
-
import { n as createReferenceResolver, r as toModelSpec, t as createBundledReferenceMap } from "./bundled-references-
|
|
8
|
+
import { n as validateApiKeyAgainstModelsEndpoint, r as validateOpenAICompatibleApiKey, t as createApiKeyLogin } from "./api-key-login-CIDnXeYd.mjs";
|
|
9
|
+
import { a as resolveAwsRegistryApiKey, c as resolveAwsRegion, i as resolveAwsBearerToken, n as resolveAwsCredentials, o as AUTHENTICATED_SENTINEL, r as signRequest, t as invalidateAwsCredentialCache } from "./aws-credentials-B20dliS7.mjs";
|
|
10
|
+
import "./abort-Cwwm4Err.mjs";
|
|
11
|
+
import "./proxy-D9lm7ONA.mjs";
|
|
12
|
+
import { C as isReasoningGlmModelId, F as toFirepassWireModelId, I as toFireworksPublicModelId, L as toFireworksWireModelId, _ as isGlmVisionModelId, a as getSupportedEfforts, b as isKimiModelId, d as xaiResponsesReasoningEffortMap, g as isGlm52ReasoningEffortModelId, m as anthropicModelSupportsThinking, r as getBundledModels, t as calculateCost, u as THINKING_EFFORTS, v as isGrokReasoningEffortCapable, y as isKimiK3ModelId } from "./models-DRA2c_8U.mjs";
|
|
13
|
+
import { a as toNumber, i as toBoolean, n as discoveryFetch, o as toPositiveNumber, r as isAnthropicOAuthToken } from "./utils-CQHPEQ3W.mjs";
|
|
14
|
+
import { i as resolveModelReference, n as getBundledModelReferenceIndex, t as preferredDialect } from "./identity-HNO1Oe9B.mjs";
|
|
15
|
+
import { a as getGitHubCopilotBaseUrl, i as discoverGitHubCopilotApiEndpoint, o as isPersonalGitHubCopilotBaseUrl, t as COPILOT_API_HEADERS, u as parseGitHubCopilotApiKey } from "./github-copilot-B3kQl0g0.mjs";
|
|
16
|
+
import { i as partitionVisionContent, o as shouldSendServiceTier, r as joinTextWithImagePlaceholder, t as NON_VISION_IMAGE_PLACEHOLDER } from "./vision-guard-mBmtAHx0.mjs";
|
|
17
|
+
import { t as AssistantMessageEventStream } from "./event-stream-Dh2guZxS.mjs";
|
|
18
|
+
import "./anthropic-CDmj476p.mjs";
|
|
19
|
+
import "./device-code-CuXTWYwY.mjs";
|
|
20
|
+
import { n as createReferenceResolver, r as toModelSpec, t as createBundledReferenceMap } from "./bundled-references-ChZSPDFw.mjs";
|
|
21
21
|
import "./codex-P1dGpX7G.mjs";
|
|
22
|
-
import "./idle-iterator-
|
|
23
|
-
import "./google-auth-
|
|
24
|
-
import "./kimi-
|
|
25
|
-
import "./stream-markup-healing-
|
|
22
|
+
import "./idle-iterator-CYAxUkSD.mjs";
|
|
23
|
+
import "./google-auth-DYJLM792.mjs";
|
|
24
|
+
import "./kimi-DgcUpPtK.mjs";
|
|
25
|
+
import "./stream-markup-healing-DZ6bVDxH.mjs";
|
|
26
26
|
import "./request-debug-HJMoJncL.mjs";
|
|
27
|
-
import * as path from "node:path";
|
|
28
27
|
import * as fs from "node:fs";
|
|
28
|
+
import * as path from "node:path";
|
|
29
29
|
import * as os from "node:os";
|
|
30
30
|
import { scheduler } from "node:timers/promises";
|
|
31
31
|
import { type } from "@oh-my-pi/omptype";
|
|
@@ -282,11 +282,11 @@ const anthropicProvider = {
|
|
|
282
282
|
name: "Anthropic (Claude Pro/Max)",
|
|
283
283
|
envKeys: () => isFoundryEnabled() ? $pickenv("ANTHROPIC_FOUNDRY_API_KEY", "ANTHROPIC_OAUTH_TOKEN", "ANTHROPIC_API_KEY") : $pickenv("ANTHROPIC_OAUTH_TOKEN", "ANTHROPIC_API_KEY"),
|
|
284
284
|
login: async (cb) => {
|
|
285
|
-
const { loginAnthropic } = await import("./anthropic-
|
|
285
|
+
const { loginAnthropic } = await import("./anthropic-CDmj476p.mjs").then((n) => n.t);
|
|
286
286
|
return loginAnthropic(cb);
|
|
287
287
|
},
|
|
288
288
|
refreshToken: async (credentials) => {
|
|
289
|
-
const { refreshAnthropicToken } = await import("./anthropic-
|
|
289
|
+
const { refreshAnthropicToken } = await import("./anthropic-CDmj476p.mjs").then((n) => n.t);
|
|
290
290
|
return refreshAnthropicToken(credentials.refresh);
|
|
291
291
|
},
|
|
292
292
|
callbackPort: 54545,
|
|
@@ -2988,11 +2988,11 @@ const cursorProvider = {
|
|
|
2988
2988
|
id: "cursor",
|
|
2989
2989
|
name: "Cursor (Claude, GPT, etc.)",
|
|
2990
2990
|
login: async (cb) => {
|
|
2991
|
-
const { loginCursor } = await import("./cursor-
|
|
2991
|
+
const { loginCursor } = await import("./cursor-B6HcmplF.mjs").then((n) => n.t);
|
|
2992
2992
|
return loginCursor((url) => cb.onAuth({ url }), cb.onProgress ? () => cb.onProgress?.("Waiting for browser authentication...") : void 0);
|
|
2993
2993
|
},
|
|
2994
2994
|
refreshToken: async (credentials) => {
|
|
2995
|
-
const { refreshCursorToken } = await import("./cursor-
|
|
2995
|
+
const { refreshCursorToken } = await import("./cursor-B6HcmplF.mjs").then((n) => n.t);
|
|
2996
2996
|
return refreshCursorToken(credentials.refresh);
|
|
2997
2997
|
}
|
|
2998
2998
|
};
|
|
@@ -3036,7 +3036,7 @@ const devinProvider = {
|
|
|
3036
3036
|
id: "devin",
|
|
3037
3037
|
name: "Devin",
|
|
3038
3038
|
login: async (cb) => {
|
|
3039
|
-
const { loginDevin } = await import("./devin-
|
|
3039
|
+
const { loginDevin } = await import("./devin-BvMfGevz.mjs");
|
|
3040
3040
|
return (await loginDevin(cb)).access;
|
|
3041
3041
|
},
|
|
3042
3042
|
callbackPort: 59653,
|
|
@@ -3112,7 +3112,7 @@ const githubCopilotProvider = {
|
|
|
3112
3112
|
id: "github-copilot",
|
|
3113
3113
|
name: "GitHub Copilot",
|
|
3114
3114
|
login: async (cb) => {
|
|
3115
|
-
const { loginGitHubCopilot } = await import("./github-copilot-
|
|
3115
|
+
const { loginGitHubCopilot } = await import("./github-copilot-suDymKrx.mjs");
|
|
3116
3116
|
return loginGitHubCopilot({
|
|
3117
3117
|
onAuth: (url, instructions) => cb.onAuth({
|
|
3118
3118
|
url,
|
|
@@ -3124,7 +3124,7 @@ const githubCopilotProvider = {
|
|
|
3124
3124
|
});
|
|
3125
3125
|
},
|
|
3126
3126
|
refreshToken: async (credentials) => {
|
|
3127
|
-
const { refreshGitHubCopilotToken } = await import("./github-copilot-
|
|
3127
|
+
const { refreshGitHubCopilotToken } = await import("./github-copilot-suDymKrx.mjs");
|
|
3128
3128
|
return refreshGitHubCopilotToken(credentials.refresh, credentials.enterpriseUrl, credentials.apiEndpoint);
|
|
3129
3129
|
}
|
|
3130
3130
|
};
|
|
@@ -3134,11 +3134,11 @@ const gitlabDuoProvider = {
|
|
|
3134
3134
|
id: "gitlab-duo",
|
|
3135
3135
|
name: "GitLab Duo Non-Agentic",
|
|
3136
3136
|
login: async (cb) => {
|
|
3137
|
-
const { loginGitLabDuo } = await import("./gitlab-duo-
|
|
3137
|
+
const { loginGitLabDuo } = await import("./gitlab-duo-BriUTP8k.mjs");
|
|
3138
3138
|
return loginGitLabDuo(cb);
|
|
3139
3139
|
},
|
|
3140
3140
|
refreshToken: async (credentials) => {
|
|
3141
|
-
const { refreshGitLabDuoToken } = await import("./gitlab-duo-
|
|
3141
|
+
const { refreshGitLabDuoToken } = await import("./gitlab-duo-BriUTP8k.mjs");
|
|
3142
3142
|
return refreshGitLabDuoToken(credentials);
|
|
3143
3143
|
},
|
|
3144
3144
|
callbackPort: 8080,
|
|
@@ -3151,11 +3151,11 @@ const gitLabDuoWorkflowProvider = {
|
|
|
3151
3151
|
name: "GitLab Duo Agent",
|
|
3152
3152
|
envKeys: "GITLAB_TOKEN",
|
|
3153
3153
|
login: async (cb) => {
|
|
3154
|
-
const { loginGitLabDuoWorkflow } = await import("./gitlab-duo-workflow-
|
|
3154
|
+
const { loginGitLabDuoWorkflow } = await import("./gitlab-duo-workflow-wK5Ljzmc.mjs");
|
|
3155
3155
|
return loginGitLabDuoWorkflow(cb);
|
|
3156
3156
|
},
|
|
3157
3157
|
refreshToken: async (credentials) => {
|
|
3158
|
-
const { refreshGitLabDuoWorkflowToken } = await import("./gitlab-duo-workflow-
|
|
3158
|
+
const { refreshGitLabDuoWorkflowToken } = await import("./gitlab-duo-workflow-wK5Ljzmc.mjs");
|
|
3159
3159
|
return refreshGitLabDuoWorkflowToken(credentials);
|
|
3160
3160
|
},
|
|
3161
3161
|
callbackPort: 8080,
|
|
@@ -3192,12 +3192,12 @@ const googleAntigravityProvider = {
|
|
|
3192
3192
|
id: "google-antigravity",
|
|
3193
3193
|
name: "Antigravity (Gemini 3, Claude, GPT-OSS)",
|
|
3194
3194
|
login: async (cb) => {
|
|
3195
|
-
const { loginAntigravity } = await import("./google-antigravity-
|
|
3195
|
+
const { loginAntigravity } = await import("./google-antigravity-C1jgNljz.mjs");
|
|
3196
3196
|
return loginAntigravity(cb);
|
|
3197
3197
|
},
|
|
3198
3198
|
refreshToken: async (credentials) => {
|
|
3199
3199
|
if (!credentials.projectId) throw new ConfigurationError("Antigravity credentials missing projectId");
|
|
3200
|
-
const { refreshAntigravityToken } = await import("./google-antigravity-
|
|
3200
|
+
const { refreshAntigravityToken } = await import("./google-antigravity-C1jgNljz.mjs");
|
|
3201
3201
|
return refreshAntigravityToken(credentials.refresh, credentials.projectId);
|
|
3202
3202
|
},
|
|
3203
3203
|
callbackPort: 51121,
|
|
@@ -3209,12 +3209,12 @@ const googleGeminiCliProvider = {
|
|
|
3209
3209
|
id: "google-gemini-cli",
|
|
3210
3210
|
name: "Google Cloud Code Assist (Gemini CLI)",
|
|
3211
3211
|
login: async (cb) => {
|
|
3212
|
-
const { loginGeminiCli } = await import("./google-gemini-cli-
|
|
3212
|
+
const { loginGeminiCli } = await import("./google-gemini-cli-8BT513Ul.mjs");
|
|
3213
3213
|
return loginGeminiCli(cb);
|
|
3214
3214
|
},
|
|
3215
3215
|
refreshToken: async (credentials) => {
|
|
3216
3216
|
if (!credentials.projectId) throw new ConfigurationError("Google Cloud credentials missing projectId");
|
|
3217
|
-
const { refreshGoogleCloudToken } = await import("./google-gemini-cli-
|
|
3217
|
+
const { refreshGoogleCloudToken } = await import("./google-gemini-cli-8BT513Ul.mjs");
|
|
3218
3218
|
return refreshGoogleCloudToken(credentials.refresh, credentials.projectId);
|
|
3219
3219
|
},
|
|
3220
3220
|
callbackPort: 8085,
|
|
@@ -3374,11 +3374,11 @@ const kimiCodeProvider = {
|
|
|
3374
3374
|
id: "kimi-code",
|
|
3375
3375
|
name: "Kimi Code",
|
|
3376
3376
|
login: async (cb) => {
|
|
3377
|
-
const { loginKimi } = await import("./kimi-
|
|
3377
|
+
const { loginKimi } = await import("./kimi-DgcUpPtK.mjs").then((n) => n.n);
|
|
3378
3378
|
return loginKimi(cb);
|
|
3379
3379
|
},
|
|
3380
3380
|
refreshToken: async (credentials) => {
|
|
3381
|
-
const { refreshKimiToken } = await import("./kimi-
|
|
3381
|
+
const { refreshKimiToken } = await import("./kimi-DgcUpPtK.mjs").then((n) => n.n);
|
|
3382
3382
|
return refreshKimiToken(credentials.refresh);
|
|
3383
3383
|
}
|
|
3384
3384
|
};
|
|
@@ -3469,7 +3469,7 @@ const minimaxCodeProvider = {
|
|
|
3469
3469
|
id: "minimax-code",
|
|
3470
3470
|
name: "MiniMax Token Plan (International)",
|
|
3471
3471
|
login: async (cb) => {
|
|
3472
|
-
const { loginMiniMaxCode } = await import("./minimax-code-
|
|
3472
|
+
const { loginMiniMaxCode } = await import("./minimax-code-Y3h5li9N.mjs");
|
|
3473
3473
|
return loginMiniMaxCode(cb);
|
|
3474
3474
|
}
|
|
3475
3475
|
};
|
|
@@ -3479,7 +3479,7 @@ const minimaxCodeCnProvider = {
|
|
|
3479
3479
|
id: "minimax-code-cn",
|
|
3480
3480
|
name: "MiniMax Token Plan (China)",
|
|
3481
3481
|
login: async (cb) => {
|
|
3482
|
-
const { loginMiniMaxCodeCn } = await import("./minimax-code-
|
|
3482
|
+
const { loginMiniMaxCodeCn } = await import("./minimax-code-Y3h5li9N.mjs");
|
|
3483
3483
|
return loginMiniMaxCodeCn(cb);
|
|
3484
3484
|
}
|
|
3485
3485
|
};
|
|
@@ -3651,11 +3651,11 @@ const openaiCodexProvider = {
|
|
|
3651
3651
|
id: "openai-codex",
|
|
3652
3652
|
name: "ChatGPT Plus/Pro (Codex Subscription)",
|
|
3653
3653
|
login: async (cb) => {
|
|
3654
|
-
const { loginOpenAICodex } = await import("./openai-codex-
|
|
3654
|
+
const { loginOpenAICodex } = await import("./openai-codex-CAVI3Me-.mjs");
|
|
3655
3655
|
return loginOpenAICodex(cb);
|
|
3656
3656
|
},
|
|
3657
3657
|
refreshToken: async (credentials) => {
|
|
3658
|
-
const { refreshOpenAICodexToken } = await import("./openai-codex-
|
|
3658
|
+
const { refreshOpenAICodexToken } = await import("./openai-codex-CAVI3Me-.mjs");
|
|
3659
3659
|
return refreshOpenAICodexToken(credentials.refresh);
|
|
3660
3660
|
},
|
|
3661
3661
|
callbackPort: 1455,
|
|
@@ -3667,11 +3667,11 @@ const openaiCodexDeviceProvider = {
|
|
|
3667
3667
|
id: "openai-codex-device",
|
|
3668
3668
|
name: "ChatGPT Plus/Pro (Codex, headless/device)",
|
|
3669
3669
|
login: async (cb) => {
|
|
3670
|
-
const { loginOpenAICodexDevice } = await import("./openai-codex-
|
|
3670
|
+
const { loginOpenAICodexDevice } = await import("./openai-codex-CAVI3Me-.mjs");
|
|
3671
3671
|
return loginOpenAICodexDevice(cb);
|
|
3672
3672
|
},
|
|
3673
3673
|
refreshToken: async (credentials) => {
|
|
3674
|
-
const { refreshOpenAICodexToken } = await import("./openai-codex-
|
|
3674
|
+
const { refreshOpenAICodexToken } = await import("./openai-codex-CAVI3Me-.mjs");
|
|
3675
3675
|
return refreshOpenAICodexToken(credentials.refresh);
|
|
3676
3676
|
},
|
|
3677
3677
|
storeCredentialsAs: "openai-codex"
|
|
@@ -3682,7 +3682,7 @@ const opencodeGoProvider = {
|
|
|
3682
3682
|
id: "opencode-go",
|
|
3683
3683
|
name: "OpenCode Go",
|
|
3684
3684
|
login: async (cb) => {
|
|
3685
|
-
const { loginOpenCode } = await import("./opencode-
|
|
3685
|
+
const { loginOpenCode } = await import("./opencode-BsVw9rCD.mjs");
|
|
3686
3686
|
return loginOpenCode(cb);
|
|
3687
3687
|
}
|
|
3688
3688
|
};
|
|
@@ -3692,7 +3692,7 @@ const opencodeZenProvider = {
|
|
|
3692
3692
|
id: "opencode-zen",
|
|
3693
3693
|
name: "OpenCode Zen",
|
|
3694
3694
|
login: async (cb) => {
|
|
3695
|
-
const { loginOpenCode } = await import("./opencode-
|
|
3695
|
+
const { loginOpenCode } = await import("./opencode-BsVw9rCD.mjs");
|
|
3696
3696
|
return loginOpenCode(cb);
|
|
3697
3697
|
}
|
|
3698
3698
|
};
|
|
@@ -3748,7 +3748,7 @@ const perplexityProvider = {
|
|
|
3748
3748
|
name: "Perplexity (Pro/Max)",
|
|
3749
3749
|
envKeys: "PERPLEXITY_API_KEY",
|
|
3750
3750
|
login: async (cb) => {
|
|
3751
|
-
const { loginPerplexity } = await import("./perplexity-
|
|
3751
|
+
const { loginPerplexity } = await import("./perplexity-XgLF73E7.mjs");
|
|
3752
3752
|
return loginPerplexity(cb);
|
|
3753
3753
|
}
|
|
3754
3754
|
};
|
|
@@ -3998,7 +3998,7 @@ const waferServerlessProvider = {
|
|
|
3998
3998
|
id: "wafer-serverless",
|
|
3999
3999
|
name: "Wafer Serverless (pay-as-you-go)",
|
|
4000
4000
|
login: async (cb) => {
|
|
4001
|
-
const { loginWaferServerless } = await import("./wafer-
|
|
4001
|
+
const { loginWaferServerless } = await import("./wafer-BlhWLweO.mjs");
|
|
4002
4002
|
return loginWaferServerless(cb);
|
|
4003
4003
|
}
|
|
4004
4004
|
};
|
|
@@ -4027,11 +4027,11 @@ const xaiOauthProvider = {
|
|
|
4027
4027
|
id: "xai-oauth",
|
|
4028
4028
|
name: "xAI Grok OAuth (SuperGrok or X Premium+)",
|
|
4029
4029
|
login: async (cb) => {
|
|
4030
|
-
const { loginXAIOAuth } = await import("./xai-oauth-
|
|
4030
|
+
const { loginXAIOAuth } = await import("./xai-oauth-5pORHUrg.mjs").then((n) => n.a);
|
|
4031
4031
|
return loginXAIOAuth(cb);
|
|
4032
4032
|
},
|
|
4033
4033
|
refreshToken: async (credentials) => {
|
|
4034
|
-
const { refreshXAIOAuthToken } = await import("./xai-oauth-
|
|
4034
|
+
const { refreshXAIOAuthToken } = await import("./xai-oauth-5pORHUrg.mjs").then((n) => n.a);
|
|
4035
4035
|
return refreshXAIOAuthToken(credentials.refresh);
|
|
4036
4036
|
}
|
|
4037
4037
|
};
|
|
@@ -4041,7 +4041,7 @@ const xiaomiProvider = {
|
|
|
4041
4041
|
id: "xiaomi",
|
|
4042
4042
|
name: "Xiaomi MiMo",
|
|
4043
4043
|
login: async (cb) => {
|
|
4044
|
-
const { loginXiaomi } = await import("./xiaomi-
|
|
4044
|
+
const { loginXiaomi } = await import("./xiaomi-7mE345KX.mjs");
|
|
4045
4045
|
return loginXiaomi(cb);
|
|
4046
4046
|
}
|
|
4047
4047
|
};
|
|
@@ -4051,7 +4051,7 @@ const xiaomiTokenPlanAmsProvider = {
|
|
|
4051
4051
|
id: "xiaomi-token-plan-ams",
|
|
4052
4052
|
name: "Xiaomi Token Plan (Europe)",
|
|
4053
4053
|
login: async (cb) => {
|
|
4054
|
-
const { loginXiaomiTokenPlan } = await import("./xiaomi-
|
|
4054
|
+
const { loginXiaomiTokenPlan } = await import("./xiaomi-7mE345KX.mjs");
|
|
4055
4055
|
return loginXiaomiTokenPlan(cb, "ams");
|
|
4056
4056
|
}
|
|
4057
4057
|
};
|
|
@@ -4061,7 +4061,7 @@ const xiaomiTokenPlanCnProvider = {
|
|
|
4061
4061
|
id: "xiaomi-token-plan-cn",
|
|
4062
4062
|
name: "Xiaomi Token Plan (China)",
|
|
4063
4063
|
login: async (cb) => {
|
|
4064
|
-
const { loginXiaomiTokenPlan } = await import("./xiaomi-
|
|
4064
|
+
const { loginXiaomiTokenPlan } = await import("./xiaomi-7mE345KX.mjs");
|
|
4065
4065
|
return loginXiaomiTokenPlan(cb, "cn");
|
|
4066
4066
|
}
|
|
4067
4067
|
};
|
|
@@ -4071,7 +4071,7 @@ const xiaomiTokenPlanSgpProvider = {
|
|
|
4071
4071
|
id: "xiaomi-token-plan-sgp",
|
|
4072
4072
|
name: "Xiaomi Token Plan (Singapore)",
|
|
4073
4073
|
login: async (cb) => {
|
|
4074
|
-
const { loginXiaomiTokenPlan } = await import("./xiaomi-
|
|
4074
|
+
const { loginXiaomiTokenPlan } = await import("./xiaomi-7mE345KX.mjs");
|
|
4075
4075
|
return loginXiaomiTokenPlan(cb, "sgp");
|
|
4076
4076
|
}
|
|
4077
4077
|
};
|
|
@@ -4099,7 +4099,7 @@ const zaiCodingPlanProvider = {
|
|
|
4099
4099
|
storeCredentialsAs: "zai",
|
|
4100
4100
|
callbackPort: 54548,
|
|
4101
4101
|
pasteCodeFlow: true,
|
|
4102
|
-
login: (cb) => import("./zai
|
|
4102
|
+
login: (cb) => import("./zai-CeNpMV3W.mjs").then((m) => m.loginZaiOAuth(cb))
|
|
4103
4103
|
};
|
|
4104
4104
|
//#endregion
|
|
4105
4105
|
//#region node_modules/.pnpm/@oh-my-pi+pi-ai@17.3.5/node_modules/@oh-my-pi/pi-ai/src/registry/zenmux.ts
|
|
@@ -9588,7 +9588,7 @@ function cursorModelManagerOptions(config = {}) {
|
|
|
9588
9588
|
} } : void 0
|
|
9589
9589
|
};
|
|
9590
9590
|
}
|
|
9591
|
-
const cursorDiscovery = once(() => import("./cursor-
|
|
9591
|
+
const cursorDiscovery = once(() => import("./cursor-B8m6SqAH.mjs"));
|
|
9592
9592
|
function gitLabDuoWorkflowModelManagerOptions(config = {}) {
|
|
9593
9593
|
const apiKey = config.apiKey;
|
|
9594
9594
|
return {
|
|
@@ -9633,7 +9633,7 @@ function devinModelManagerOptions(config = {}) {
|
|
|
9633
9633
|
} } : void 0
|
|
9634
9634
|
};
|
|
9635
9635
|
}
|
|
9636
|
-
const devinDiscovery = once(() => import("./devin-
|
|
9636
|
+
const devinDiscovery = once(() => import("./devin-BcQwht1W.mjs"));
|
|
9637
9637
|
function zaiModelManagerOptions(_config = {}) {
|
|
9638
9638
|
return { providerId: "zai" };
|
|
9639
9639
|
}
|