@xiaoso/dsh-tool-plus 0.1.7 → 0.1.8-beta.3

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.
Files changed (96) hide show
  1. package/lib/{abort-Caqff3M6.mjs → abort-BtBy5Svf.mjs} +1 -1
  2. package/lib/{alibaba-coding-plan-DTupMiAi.mjs → alibaba-coding-plan-oxHCHJtG.mjs} +2 -2
  3. package/lib/{alibaba-token-plan-Dj3OZhEE.mjs → alibaba-token-plan-B0WzvYnB.mjs} +2 -2
  4. package/lib/{amazon-bedrock-DbFSYXfJ.mjs → amazon-bedrock-BvfYGhrD.mjs} +6 -6
  5. package/lib/{anthropic-CXfWlp-x.mjs → anthropic-C6-vdduI.mjs} +1 -1
  6. package/lib/{anthropic-CTJ3IQVa.mjs → anthropic-Id561lwb.mjs} +13 -13
  7. package/lib/{anthropic-wire-CKuhDwZ1.mjs → anthropic-wire-Cb8AQ1tS.mjs} +13 -13
  8. package/lib/{api-key-validation-CGCJFbFr.mjs → api-key-validation-BXJKlsJg.mjs} +1 -1
  9. package/lib/{azure-openai-responses-ChFbWaGj.mjs → azure-openai-responses-CGws_ijz.mjs} +8 -8
  10. package/lib/{browser-render-9o0Rknop.mjs → browser-render-i7uYOl4f.mjs} +2 -2
  11. package/lib/client.js +2205 -19
  12. package/lib/{cloudflare-ai-gateway-BupNXyKK.mjs → cloudflare-ai-gateway-BK6eadm9.mjs} +2 -2
  13. package/lib/{cloudflare-ai-gateway-EWo0VkP5.mjs → cloudflare-ai-gateway-B_kWnF30.mjs} +1 -1
  14. package/lib/{collapse-DOR8sOGf.mjs → collapse-DU3g7d3B.mjs} +1 -1
  15. package/lib/{coreweave-Ct8cF-da.mjs → coreweave-CkR_FlQi.mjs} +2 -2
  16. package/lib/{cursor-LKGjucn2.mjs → cursor-BXx_5h4a.mjs} +2 -2
  17. package/lib/{cursor-DJV_dcgB.mjs → cursor-BcHwv8qq.mjs} +10 -10
  18. package/lib/{cursor-B95LzVWV.mjs → cursor-BjWbJJLe.mjs} +1 -1
  19. package/lib/{cursor-proto-B8Wj8bv9.mjs → cursor-proto-DPXXYx8S.mjs} +1 -1
  20. package/lib/{devin-DSp0Rw_E.mjs → devin-BZBfzyIz.mjs} +6 -6
  21. package/lib/{devin-BMTdx_hx.mjs → devin-Ce3Wz8_E.mjs} +5 -5
  22. package/lib/{devin-proto-Br8fdyNl.mjs → devin-proto-B6HwDwHK.mjs} +1 -1
  23. package/lib/{error-CORgGg5a.mjs → error-DdCn4m1q.mjs} +3 -3
  24. package/lib/{event-stream-ulcDenZD.mjs → event-stream-ldcUvOA0.mjs} +1 -1
  25. package/lib/{github-copilot-Dstq1D3s.mjs → github-copilot-BT5dkIJl.mjs} +2 -2
  26. package/lib/{github-copilot-headers-DOh1gt_w.mjs → github-copilot-headers-BGL8JO5c.mjs} +2 -2
  27. package/lib/{gitlab-duo-DSCMrU0m.mjs → gitlab-duo-B0qSYCa3.mjs} +1 -1
  28. package/lib/{google-CtsKkOQK.mjs → google-6cRgRmh0.mjs} +3 -3
  29. package/lib/{google-antigravity-z-5KsEci.mjs → google-antigravity-D1llOVad.mjs} +3 -3
  30. package/lib/{google-auth-ieLBaneO.mjs → google-auth-DYhqX1rJ.mjs} +5 -5
  31. package/lib/{google-gemini-cli-CAIPSl7e.mjs → google-gemini-cli-ByQUuKp9.mjs} +7 -7
  32. package/lib/{google-gemini-cli-C6NE5mWz.mjs → google-gemini-cli-CjHy6mFG.mjs} +3 -3
  33. package/lib/{google-oauth-shared-DhMllAkt.mjs → google-oauth-shared-CSwCT0Yl.mjs} +1 -1
  34. package/lib/{google-shared-B0aNCYEH.mjs → google-shared-DYjJp0mQ.mjs} +5 -5
  35. package/lib/{google-vertex-Bbd1tYNc.mjs → google-vertex-CbOvlE5j.mjs} +4 -4
  36. package/lib/{idle-iterator-DlUkEfzW.mjs → idle-iterator-DTBaEIbM.mjs} +2 -2
  37. package/lib/index.mjs +1278 -184
  38. package/lib/{kilo-ChJL54wq.mjs → kilo-cVG1aNZM.mjs} +1 -1
  39. package/lib/{kimi-C2c_Zq8A.mjs → kimi-BFfnFDhu.mjs} +4 -4
  40. package/lib/{launch-DKDH71En.mjs → launch-Uq7920ng.mjs} +7 -7
  41. package/lib/{markit-CmRfm4E2.mjs → markit-BmsfOFVh.mjs} +18 -18
  42. package/lib/{muse-code-Di1VZmB1.mjs → muse-code-CtcevJab.mjs} +1 -1
  43. package/lib/{ollama-B8ic3sEp.mjs → ollama-B5hR1P1p.mjs} +8 -8
  44. package/lib/{openai-codex-DuJNC99x.mjs → openai-codex-CxkPyvyt.mjs} +2 -2
  45. package/lib/{openai-codex-responses-BL29nh9K.mjs → openai-codex-responses-BbM3Q7nJ.mjs} +9 -9
  46. package/lib/{openai-completions-BK2f2dBv.mjs → openai-completions-CffXVOCL.mjs} +13 -13
  47. package/lib/{openai-reasoning-fallback-BdB3RCbj.mjs → openai-reasoning-fallback-DFdD1ok5.mjs} +2 -2
  48. package/lib/{openai-responses-CGQPlIIy.mjs → openai-responses-DgqOvSn_.mjs} +9 -9
  49. package/lib/{perplexity-TBjz3VMB.mjs → perplexity-JFp3knZN.mjs} +2 -2
  50. package/lib/{protobuf-aab1UGVn.mjs → protobuf-BJHNU9-E.mjs} +1 -1
  51. package/lib/{proxy-5nWqRL1f.mjs → proxy-B51IWEMt.mjs} +2 -2
  52. package/lib/{scrapers-CtQrQ5kG.mjs → scrapers-DU4u4-Co.mjs} +7 -7
  53. package/lib/{src-BwW51vA5.mjs → src-DUUqyo9y.mjs} +42 -42
  54. package/lib/{stream-B_7qN-bA.mjs → stream-DHdFrAG4.mjs} +54 -54
  55. package/lib/{stream-markup-healing-DKT1lnkW.mjs → stream-markup-healing-DlJ9abTw.mjs} +2 -2
  56. package/lib/{thinking-CiLa2LFB.mjs → thinking-D6LJxkz_.mjs} +1 -1
  57. package/lib/types/client/locales.d.ts +1 -1
  58. package/lib/types/config/settings.d.ts +8 -0
  59. package/lib/types/tools/ast-grep/adapter/index.d.ts +23 -0
  60. package/lib/types/tools/edit/adapter/index.d.ts +3 -0
  61. package/lib/types/tools/glob/adapter/index.d.ts +2 -0
  62. package/lib/types/tools/grep/adapter/index.d.ts +4 -0
  63. package/lib/types/tools/read/adapter/index.d.ts +18 -0
  64. package/lib/types/tools/write/adapter/index.d.ts +2 -0
  65. package/lib/types/web/client/ToolCardShell.d.ts +111 -0
  66. package/lib/types/web/client/labels.d.ts +36 -0
  67. package/lib/types/web/client/registerToolCards.d.ts +35 -0
  68. package/lib/types/web/client/row-utils.d.ts +177 -0
  69. package/lib/types/web/client/rows/AstEditRow.d.ts +22 -0
  70. package/lib/types/web/client/rows/FileMutationRow.d.ts +23 -0
  71. package/lib/types/web/client/rows/ReadRow.d.ts +31 -0
  72. package/lib/types/web/client/rows/SearchRow.d.ts +21 -0
  73. package/lib/types/web/client/rows/TerminalRow.d.ts +24 -0
  74. package/lib/types/web/client/rows/WriteRow.d.ts +22 -0
  75. package/lib/types/web/client/rows/command-card-facts.d.ts +45 -0
  76. package/lib/types/web/client/rows/image-card.d.ts +60 -0
  77. package/lib/types/web/client/rows/read-card-facts.d.ts +33 -0
  78. package/lib/types/web/client/rows/search-card-facts.d.ts +37 -0
  79. package/lib/types/web/contract.d.ts +249 -0
  80. package/lib/types/web/host/ast-edit.d.ts +10 -0
  81. package/lib/types/web/host/bash.d.ts +30 -0
  82. package/lib/types/web/host/edit.d.ts +33 -0
  83. package/lib/types/web/host/read.d.ts +48 -0
  84. package/lib/types/web/host/search.d.ts +41 -0
  85. package/lib/types/web/host/write.d.ts +13 -0
  86. package/lib/{types-PVueGi9S.mjs → types-DT9vgZ3S.mjs} +1 -1
  87. package/lib/{utils-CUPhpw9A.mjs → utils-BMmwLB0f.mjs} +2 -2
  88. package/lib/{utils-ECAwvaPQ.mjs → utils-C-Lo_JC6.mjs} +41 -41
  89. package/lib/{utils-DeWqNWV8.mjs → utils-D31VFael.mjs} +1 -1
  90. package/lib/{vision-guard-_XwsL1DF.mjs → vision-guard-BlAAqGUC.mjs} +1 -1
  91. package/lib/{xai-oauth-CXhnz0gO.mjs → xai-oauth-QPyScm4X.mjs} +1 -1
  92. package/lib/{xiaomi-psoUItal.mjs → xiaomi-CLzjxHAi.mjs} +1 -1
  93. package/lib/{zai-ApJ8HBgT.mjs → zai-wDp0g7VC.mjs} +1 -1
  94. package/lib/{zip-Kd602XNe.mjs → zip-CNtIFfyV.mjs} +7 -7
  95. package/package.json +3 -1
  96. package/presets/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { g as OnPromptRequiredError, m as LoginCancelledError, p as ApiKeyRequiredError, t as ConfigurationError } from "./error-CORgGg5a.mjs";
4
- import { o as serializeCloudflareAiGatewayCredential } from "./cloudflare-ai-gateway-EWo0VkP5.mjs";
3
+ import { g as OnPromptRequiredError, m as LoginCancelledError, p as ApiKeyRequiredError, t as ConfigurationError } from "./error-DdCn4m1q.mjs";
4
+ import { o as serializeCloudflareAiGatewayCredential } from "./cloudflare-ai-gateway-B_kWnF30.mjs";
5
5
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/cloudflare-ai-gateway.ts
6
6
  const AUTH_URL = "https://developers.cloudflare.com/ai-gateway/configuration/authentication/";
7
7
  /** Collect the gateway credential used by CLI, setup-wizard, and TUI login callers. */
@@ -1,7 +1,7 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
3
  import { n as isRecord } from "./type-guards-CttAANEx.mjs";
4
- import "./utils-DeWqNWV8.mjs";
4
+ import "./utils-D31VFael.mjs";
5
5
  //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.1.17/node_modules/@oh-my-pi/pi-catalog/src/wire/cloudflare-ai-gateway.ts
6
6
  /** Provider-native AI Gateway prefix before the upstream route segment. */
7
7
  const CLOUDFLARE_AI_GATEWAY_BASE_URL = "https://gateway.ai.cloudflare.com/v1/<account>/<gateway>";
@@ -2,7 +2,7 @@ import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
3
  import { n as isRecord } from "./type-guards-CttAANEx.mjs";
4
4
  import { c as resolveCascade, d as compareRevision, f as parseRevision, i as collapseVocabulary, m as revisionSatisfies, n as classifyModel, o as stripThinkingVariantSuffix, p as parseRevisionConstraint, r as collapseVariantId } from "./taxonomy-DSIM99rS.mjs";
5
- import { t as cleanModelName } from "./utils-DeWqNWV8.mjs";
5
+ import { t as cleanModelName } from "./utils-D31VFael.mjs";
6
6
  import { n as THINKING_EFFORTS } from "./effort-BdtQMN-_.mjs";
7
7
  import { t as bareModelId } from "./id-AL5obQzR.mjs";
8
8
  import { r as modelMatchesHost, t as hostMatchesUrl } from "./hosts-00rjRzUD.mjs";
@@ -1,7 +1,7 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { N as $env } from "./src-BwW51vA5.mjs";
4
- import { t as ConfigurationError } from "./error-CORgGg5a.mjs";
3
+ import { N as $env } from "./src-DUUqyo9y.mjs";
4
+ import { t as ConfigurationError } from "./error-DdCn4m1q.mjs";
5
5
  import { n as coreWeaveProjectHeaders } from "./coreweave-C82HrLpb.mjs";
6
6
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/coreweave.ts
7
7
  const PROJECT_PERSIST_INSTRUCTIONS = "add export COREWEAVE_PROJECT=<team>/<project> to your shell startup file (for example ~/.zshrc, ~/.bashrc, or your shell's profile/rc file)";
@@ -3,8 +3,8 @@ __installBunShim();
3
3
  import { d as compareRevision, f as parseRevision, n as classifyModel } from "./taxonomy-DSIM99rS.mjs";
4
4
  import { r as getBundledModels } from "./models-DnXMYGcJ.mjs";
5
5
  import { r as toModelSpec } from "./bundled-references-DY3EJxZV.mjs";
6
- import { i as fromBinary, o as toBinary, t as create } from "./protobuf-aab1UGVn.mjs";
7
- import { nt as GetUsableModelsResponseSchema, tt as GetUsableModelsRequestSchema } from "./cursor-proto-B8Wj8bv9.mjs";
6
+ import { i as fromBinary, o as toBinary, t as create } from "./protobuf-BJHNU9-E.mjs";
7
+ import { nt as GetUsableModelsResponseSchema, tt as GetUsableModelsRequestSchema } from "./cursor-proto-DPXXYx8S.mjs";
8
8
  import { type } from "@oh-my-pi/omptype";
9
9
  import * as http2$1 from "node:http2";
10
10
  //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.1.17/node_modules/@oh-my-pi/pi-catalog/src/discovery/cursor.ts
@@ -1,21 +1,21 @@
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 { C as warn, M as truncate, N as $env, _ as parseStreamingJson, b as debug, g as parseJsonWithRepair, v as parseStreamingJsonThrottled } from "./src-BwW51vA5.mjs";
5
- import { _ as AbortError, c as finalize, h as MissingApiKeyError, r as ValidationError, s as ProviderResponseError } from "./error-CORgGg5a.mjs";
6
- import { A as toolWireSchema, C as kStreamingLastParseLen, I as sanitizeSchemaForCursor, S as kStreamingEnvelopeId, b as kStreamingBlockIndex, g as clearStreamingPartialJson, o as normalizeSystemPrompts, s as normalizeToolCallId, v as kCursorExecResolved, w as kStreamingPartialJson, x as kStreamingBlockKind } from "./utils-CUPhpw9A.mjs";
4
+ import { C as warn, M as truncate, N as $env, _ as parseStreamingJson, b as debug, g as parseJsonWithRepair, v as parseStreamingJsonThrottled } from "./src-DUUqyo9y.mjs";
5
+ import { _ as AbortError, c as finalize, h as MissingApiKeyError, r as ValidationError, s as ProviderResponseError } from "./error-DdCn4m1q.mjs";
6
+ import { A as toolWireSchema, C as kStreamingLastParseLen, I as sanitizeSchemaForCursor, S as kStreamingEnvelopeId, b as kStreamingBlockIndex, g as clearStreamingPartialJson, o as normalizeSystemPrompts, s as normalizeToolCallId, v as kCursorExecResolved, w as kStreamingPartialJson, x as kStreamingBlockKind } from "./utils-BMmwLB0f.mjs";
7
7
  import { t as sanitizeText } from "./sanitize-text-BCf5KmCf.mjs";
8
8
  import { n as isRecord$1 } from "./type-guards-CttAANEx.mjs";
9
9
  import { n as classifyModel, r as collapseVariantId } from "./taxonomy-DSIM99rS.mjs";
10
- import { n as getProxyForUrl, t as connectProxiedSocket } from "./proxy-5nWqRL1f.mjs";
10
+ import { n as getProxyForUrl, t as connectProxiedSocket } from "./proxy-B51IWEMt.mjs";
11
11
  import { n as THINKING_EFFORTS } from "./effort-BdtQMN-_.mjs";
12
12
  import { t as calculateCost } from "./models-DnXMYGcJ.mjs";
13
- import { t as AssistantMessageEventStream } from "./event-stream-ulcDenZD.mjs";
13
+ import { t as AssistantMessageEventStream } from "./event-stream-ldcUvOA0.mjs";
14
14
  import { n as isRequestDebugEnabled, t as createRequestDebugSession } from "./request-debug-NQN0BjHH.mjs";
15
- import { i as fromBinary, n as decodeJsonValue, o as toBinary, r as encodeJsonValue, t as create } from "./protobuf-aab1UGVn.mjs";
16
- import { $ as ForceBackgroundSubagentResultSchema, $n as SubagentResultSchema, $t as PiFindExecSuccessSchema, A as CursorRuleTypeGlobalSchema, An as RequestContextSuccessSchema, At as McpRejectedSchema, B as ExaFetchRequestResponseSchema, Bn as ShellResultSchema, Bt as McpToolNotFoundSchema, C as ConversationStateStructureSchema, Cn as ReadRejectedSchema, Ct as LsResultSchema, D as CreatePlanRequestResponseSchema, Dn as RecordScreenResultSchema, Dt as McpArgsSchema, E as CreatePlanErrorSchema, En as RecordScreenFailureSchema, Et as McpApprovedSchema, F as DeleteSuccessSchema, Fn as SelectedImageSchema, Ft as McpSuccessSchema, G as ExecClientMessageSchema, Gn as ShellStreamStdoutSchema, Gt as PiBashExecResultSchema, H as ExaSearchRequestResponseSchema, Hn as ShellStreamSchema, Ht as McpToolResultSchema, I as DiagnosticsErrorSchema, In as SetBlobResultSchema, It as McpTextContentSchema, J as ExecuteHookResponseSchema, Jn as SmartModeClassifierResultSchema, Jt as PiEditExecRejectedSchema, K as ExecClientStreamCloseSchema, Kn as ShellSuccessSchema, Kt as PiBashExecSuccessSchema, L as DiagnosticsRejectedSchema, Ln as ShellAllowlistPrecheckResultSchema, Lt as McpToolCallSchema, M as DeleteErrorSchema, Mn as RequestedModel_ModelParameterbytesSchema, Mt as McpStateExecResultSchema, N as DeleteRejectedSchema, Nn as ResumeActionSchema, Nt as McpStateServerSchema, O as CreatePlanResultSchema, On as RequestContextResultSchema, Ot as McpErrorSchema, P as DeleteResultSchema, Pn as SelectedContextSchema, Pt as McpStateSuccessSchema, Q as ForceBackgroundShellResultSchema, Qn as SubagentErrorSchema, Qt as PiFindExecResultSchema, R as DiagnosticsResultSchema, Rn as ShellFailureSchema, Rt as McpToolDefinitionSchema, S as ConversationSearchResultSchema, Sn as ReadMcpResourceSuccessSchema, St as LsRejectedSchema, T as ConversationTurnStructureSchema, Tn as ReadSuccessSchema, Tt as McpAllowlistPrecheckResultSchema, U as ExaSearchRequestResponse_ApprovedSchema, Un as ShellStreamStartSchema, Ut as ModelDetailsSchema, V as ExaFetchRequestResponse_ApprovedSchema, Vn as ShellStreamExitSchema, Vt as McpToolResultContentItemSchema, W as ExecClientControlMessageSchema, Wn as ShellStreamStderrSchema, Wt as PiBashExecErrorSchema, X as FetchErrorSchema, Xn as SubagentAwaitNotFoundSchema, Xt as PiEditExecSuccessSchema, Y as ExecuteHookResultSchema, Yn as StopRequestResponseSchema, Yt as PiEditExecResultSchema, Z as FetchResultSchema, Zn as SubagentAwaitResultSchema, Zt as PiFindExecErrorSchema, _ as ClientHeartbeatSchema, _n as PreToolUseRequestResponseSchema, _r as WriteShellStdinResultSchema, _t as ListMcpResourcesExecResult_McpResourceSchema, a as AgentRunRequestSchema, an as PiLsExecSuccessSchema, ar as ToolCallSchema, at as GrepCountResultSchema, b as ConversationActionSchema, bn as ReadMcpResourceExecResultSchema, bt as LsDirectoryTreeNode_FileSchema, c as AgentStoreConflictResultSchema, cn as PiReadExecSuccessSchema, cr as WebFetchAllowlistPrecheckResultSchema, ct as GrepFileMatchSchema, d as AskQuestionResultSchema, dn as PiWriteExecRejectedSchema, dr as WebSearchRequestResponseSchema, dt as GrepSuccessSchema, en as PiGrepExecErrorSchema, er as SubagentStartRequestResponseSchema, et as GetBlobResultSchema, f as AssistantMessageSchema, fn as PiWriteExecResultSchema, fr as WebSearchRequestResponse_ApprovedSchema, ft as GrepUnionResultSchema, g as CanvasDiagnosticsResultSchema, gn as PreCompactRequestResponseSchema, gr as WriteShellStdinErrorSchema, gt as ListMcpResourcesExecResultSchema, h as CanvasDiagnosticsErrorSchema, hn as PostToolUseRequestResponseSchema, hr as WriteResultSchema, ht as ListMcpResourcesErrorSchema, i as AgentConversationTurnStructureSchema, in as PiLsExecResultSchema, ir as ThinkingMessageSchema, it as GrepContentResultSchema, j as CursorRuleTypeSchema, jn as RequestedModelSchema, jt as McpResultSchema, k as CursorRuleSchema, kn as RequestContextSchema, kt as McpImageContentSchema, l as AskQuestionInteractionResponseSchema, ln as PiTruncationSchema, lr as WebFetchRequestResponseSchema, lt as GrepFilesResultSchema, m as BeforeSubmitPromptRequestResponseSchema, mn as PostToolUseFailureRequestResponseSchema, mr as WriteRejectedSchema, mt as KvClientMessageSchema, n as AfterAgentThoughtRequestResponseSchema, nn as PiGrepExecSuccessSchema, nr as SwitchModeRequestResponseSchema, o as AgentServerMessageSchema, on as PiReadExecErrorSchema, or as UserMessageActionSchema, ot as GrepErrorSchema, p as BackgroundShellSpawnResultSchema, pn as PiWriteExecSuccessSchema, pr as WriteErrorSchema, pt as InteractionResponseSchema, q as ExecClientThrowSchema, qn as SmartModeClassifierErrorSchema, qt as PiEditExecErrorSchema, r as AgentClientMessageSchema, rn as PiLsExecErrorSchema, rr as SwitchModeRequestResponse_RejectedSchema, rt as GrepContentMatchSchema, s as AgentStoreConflictErrorSchema, sn as PiReadExecResultSchema, sr as UserMessageSchema, st as GrepFileCountSchema, t as AfterAgentResponseRequestResponseSchema, tn as PiGrepExecResultSchema, tr as SubagentStopRequestResponseSchema, u as AskQuestionRejectedSchema, un as PiWriteExecErrorSchema, ur as WebFetchRequestResponse_ApprovedSchema, ut as GrepResultSchema, v as ComputerUseErrorSchema, vn as ReadErrorSchema, vr as WriteSuccessSchema, vt as ListMcpResourcesSuccessSchema, w as ConversationStepSchema, wn as ReadResultSchema, wt as LsSuccessSchema, x as ConversationSearchErrorSchema, xn as ReadMcpResourceNotFoundSchema, xt as LsErrorSchema, y as ComputerUseResultSchema, yn as ReadMcpResourceErrorSchema, yt as LsDirectoryTreeNodeSchema, z as DiagnosticsSuccessSchema, zn as ShellRejectedSchema, zt as McpToolErrorSchema } from "./cursor-proto-B8Wj8bv9.mjs";
15
+ import { i as fromBinary, n as decodeJsonValue, o as toBinary, r as encodeJsonValue, t as create } from "./protobuf-BJHNU9-E.mjs";
16
+ import { $ as ForceBackgroundSubagentResultSchema, $n as SubagentResultSchema, $t as PiFindExecSuccessSchema, A as CursorRuleTypeGlobalSchema, An as RequestContextSuccessSchema, At as McpRejectedSchema, B as ExaFetchRequestResponseSchema, Bn as ShellResultSchema, Bt as McpToolNotFoundSchema, C as ConversationStateStructureSchema, Cn as ReadRejectedSchema, Ct as LsResultSchema, D as CreatePlanRequestResponseSchema, Dn as RecordScreenResultSchema, Dt as McpArgsSchema, E as CreatePlanErrorSchema, En as RecordScreenFailureSchema, Et as McpApprovedSchema, F as DeleteSuccessSchema, Fn as SelectedImageSchema, Ft as McpSuccessSchema, G as ExecClientMessageSchema, Gn as ShellStreamStdoutSchema, Gt as PiBashExecResultSchema, H as ExaSearchRequestResponseSchema, Hn as ShellStreamSchema, Ht as McpToolResultSchema, I as DiagnosticsErrorSchema, In as SetBlobResultSchema, It as McpTextContentSchema, J as ExecuteHookResponseSchema, Jn as SmartModeClassifierResultSchema, Jt as PiEditExecRejectedSchema, K as ExecClientStreamCloseSchema, Kn as ShellSuccessSchema, Kt as PiBashExecSuccessSchema, L as DiagnosticsRejectedSchema, Ln as ShellAllowlistPrecheckResultSchema, Lt as McpToolCallSchema, M as DeleteErrorSchema, Mn as RequestedModel_ModelParameterbytesSchema, Mt as McpStateExecResultSchema, N as DeleteRejectedSchema, Nn as ResumeActionSchema, Nt as McpStateServerSchema, O as CreatePlanResultSchema, On as RequestContextResultSchema, Ot as McpErrorSchema, P as DeleteResultSchema, Pn as SelectedContextSchema, Pt as McpStateSuccessSchema, Q as ForceBackgroundShellResultSchema, Qn as SubagentErrorSchema, Qt as PiFindExecResultSchema, R as DiagnosticsResultSchema, Rn as ShellFailureSchema, Rt as McpToolDefinitionSchema, S as ConversationSearchResultSchema, Sn as ReadMcpResourceSuccessSchema, St as LsRejectedSchema, T as ConversationTurnStructureSchema, Tn as ReadSuccessSchema, Tt as McpAllowlistPrecheckResultSchema, U as ExaSearchRequestResponse_ApprovedSchema, Un as ShellStreamStartSchema, Ut as ModelDetailsSchema, V as ExaFetchRequestResponse_ApprovedSchema, Vn as ShellStreamExitSchema, Vt as McpToolResultContentItemSchema, W as ExecClientControlMessageSchema, Wn as ShellStreamStderrSchema, Wt as PiBashExecErrorSchema, X as FetchErrorSchema, Xn as SubagentAwaitNotFoundSchema, Xt as PiEditExecSuccessSchema, Y as ExecuteHookResultSchema, Yn as StopRequestResponseSchema, Yt as PiEditExecResultSchema, Z as FetchResultSchema, Zn as SubagentAwaitResultSchema, Zt as PiFindExecErrorSchema, _ as ClientHeartbeatSchema, _n as PreToolUseRequestResponseSchema, _r as WriteShellStdinResultSchema, _t as ListMcpResourcesExecResult_McpResourceSchema, a as AgentRunRequestSchema, an as PiLsExecSuccessSchema, ar as ToolCallSchema, at as GrepCountResultSchema, b as ConversationActionSchema, bn as ReadMcpResourceExecResultSchema, bt as LsDirectoryTreeNode_FileSchema, c as AgentStoreConflictResultSchema, cn as PiReadExecSuccessSchema, cr as WebFetchAllowlistPrecheckResultSchema, ct as GrepFileMatchSchema, d as AskQuestionResultSchema, dn as PiWriteExecRejectedSchema, dr as WebSearchRequestResponseSchema, dt as GrepSuccessSchema, en as PiGrepExecErrorSchema, er as SubagentStartRequestResponseSchema, et as GetBlobResultSchema, f as AssistantMessageSchema, fn as PiWriteExecResultSchema, fr as WebSearchRequestResponse_ApprovedSchema, ft as GrepUnionResultSchema, g as CanvasDiagnosticsResultSchema, gn as PreCompactRequestResponseSchema, gr as WriteShellStdinErrorSchema, gt as ListMcpResourcesExecResultSchema, h as CanvasDiagnosticsErrorSchema, hn as PostToolUseRequestResponseSchema, hr as WriteResultSchema, ht as ListMcpResourcesErrorSchema, i as AgentConversationTurnStructureSchema, in as PiLsExecResultSchema, ir as ThinkingMessageSchema, it as GrepContentResultSchema, j as CursorRuleTypeSchema, jn as RequestedModelSchema, jt as McpResultSchema, k as CursorRuleSchema, kn as RequestContextSchema, kt as McpImageContentSchema, l as AskQuestionInteractionResponseSchema, ln as PiTruncationSchema, lr as WebFetchRequestResponseSchema, lt as GrepFilesResultSchema, m as BeforeSubmitPromptRequestResponseSchema, mn as PostToolUseFailureRequestResponseSchema, mr as WriteRejectedSchema, mt as KvClientMessageSchema, n as AfterAgentThoughtRequestResponseSchema, nn as PiGrepExecSuccessSchema, nr as SwitchModeRequestResponseSchema, o as AgentServerMessageSchema, on as PiReadExecErrorSchema, or as UserMessageActionSchema, ot as GrepErrorSchema, p as BackgroundShellSpawnResultSchema, pn as PiWriteExecSuccessSchema, pr as WriteErrorSchema, pt as InteractionResponseSchema, q as ExecClientThrowSchema, qn as SmartModeClassifierErrorSchema, qt as PiEditExecErrorSchema, r as AgentClientMessageSchema, rn as PiLsExecErrorSchema, rr as SwitchModeRequestResponse_RejectedSchema, rt as GrepContentMatchSchema, s as AgentStoreConflictErrorSchema, sn as PiReadExecResultSchema, sr as UserMessageSchema, st as GrepFileCountSchema, t as AfterAgentResponseRequestResponseSchema, tn as PiGrepExecResultSchema, tr as SubagentStopRequestResponseSchema, u as AskQuestionRejectedSchema, un as PiWriteExecErrorSchema, ur as WebFetchRequestResponse_ApprovedSchema, ut as GrepResultSchema, v as ComputerUseErrorSchema, vn as ReadErrorSchema, vr as WriteSuccessSchema, vt as ListMcpResourcesSuccessSchema, w as ConversationStepSchema, wn as ReadResultSchema, wt as LsSuccessSchema, x as ConversationSearchErrorSchema, xn as ReadMcpResourceNotFoundSchema, xt as LsErrorSchema, y as ComputerUseResultSchema, yn as ReadMcpResourceErrorSchema, yt as LsDirectoryTreeNodeSchema, z as DiagnosticsSuccessSchema, zn as ShellRejectedSchema, zt as McpToolErrorSchema } from "./cursor-proto-DPXXYx8S.mjs";
17
17
  import { t as deterministicUuid } from "./deterministic-id-CUEIMSqR.mjs";
18
- import * as path from "node:path";
18
+ import * as path$1 from "node:path";
19
19
  import { createHash } from "node:crypto";
20
20
  import http2 from "node:http2";
21
21
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/providers/connect-error-detail.ts
@@ -252,9 +252,9 @@ function piGrepSkip(offset) {
252
252
  * UNC) are recognised and separators stay normalized.
253
253
  */
254
254
  function piJoinPath(basePath, pattern) {
255
- if (path.isAbsolute(pattern)) return pattern;
255
+ if (path$1.isAbsolute(pattern)) return pattern;
256
256
  if (!basePath || basePath === ".") return pattern;
257
- return path.join(basePath, pattern);
257
+ return path$1.join(basePath, pattern);
258
258
  }
259
259
  /**
260
260
  * The path a `pi_ls` frame lists.
@@ -1,7 +1,7 @@
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 { f as OAuthError } from "./error-CORgGg5a.mjs";
4
+ import { f as OAuthError } from "./error-DdCn4m1q.mjs";
5
5
  import { t as generatePKCE } from "./pkce-BYjmugmw.mjs";
6
6
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/cursor.ts
7
7
  var cursor_exports = /* @__PURE__ */ __exportAll({
@@ -1,6 +1,6 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { a as pb } from "./protobuf-aab1UGVn.mjs";
3
+ import { a as pb } from "./protobuf-BJHNU9-E.mjs";
4
4
  //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.1.17/node_modules/@oh-my-pi/pi-catalog/src/discovery/cursor-proto.ts
5
5
  /**
6
6
  * Cursor agent protocol declarations used by Oh My Pi.
@@ -1,13 +1,13 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { C as warn, _ as parseStreamingJson, b as debug, v as parseStreamingJsonThrottled, x as error } from "./src-BwW51vA5.mjs";
4
- import { S as attach, T as create, c as finalize, o as DevinApiError, r as ValidationError, s as ProviderResponseError, v as Flag } from "./error-CORgGg5a.mjs";
5
- import { A as toolWireSchema, _ as isDemotedThinking, h as transformMessages, o as normalizeSystemPrompts } from "./utils-CUPhpw9A.mjs";
3
+ import { C as warn, _ as parseStreamingJson, b as debug, v as parseStreamingJsonThrottled, x as error } from "./src-DUUqyo9y.mjs";
4
+ import { S as attach, T as create, c as finalize, o as DevinApiError, r as ValidationError, s as ProviderResponseError, v as Flag } from "./error-DdCn4m1q.mjs";
5
+ import { A as toolWireSchema, _ as isDemotedThinking, h as transformMessages, o as normalizeSystemPrompts } from "./utils-BMmwLB0f.mjs";
6
6
  import { t as calculateCost } from "./models-DnXMYGcJ.mjs";
7
- import { t as AssistantMessageEventStream } from "./event-stream-ulcDenZD.mjs";
7
+ import { t as AssistantMessageEventStream } from "./event-stream-ldcUvOA0.mjs";
8
8
  import { n as devinCliMetadata, t as DEVIN_DEFAULT_BASE_URL } from "./devin-ExGIghmx.mjs";
9
- import { i as fromBinary, o as toBinary, t as create$1 } from "./protobuf-aab1UGVn.mjs";
10
- import { _ as ImageDataSchema, a as ChatToolCallSchema, c as CompletionConfigurationSchema, i as ChatMessagePromptSchema, l as GetChatMessageRequestSchema, m as GetUserJwtResponseSchema, n as AssignModelRequestSchema, o as ChatToolChoiceSchema, p as GetUserJwtRequestSchema, r as AssignModelResponseSchema, s as ChatToolDefinitionSchema, t as decodeDevinUnaryMessage, u as GetChatMessageResponseSchema, v as MetadataSchema, y as PromptCacheOptionsSchema } from "./devin-proto-Br8fdyNl.mjs";
9
+ import { i as fromBinary, o as toBinary, t as create$1 } from "./protobuf-BJHNU9-E.mjs";
10
+ import { _ as ImageDataSchema, a as ChatToolCallSchema, c as CompletionConfigurationSchema, i as ChatMessagePromptSchema, l as GetChatMessageRequestSchema, m as GetUserJwtResponseSchema, n as AssignModelRequestSchema, o as ChatToolChoiceSchema, p as GetUserJwtRequestSchema, r as AssignModelResponseSchema, s as ChatToolDefinitionSchema, t as decodeDevinUnaryMessage, u as GetChatMessageResponseSchema, v as MetadataSchema, y as PromptCacheOptionsSchema } from "./devin-proto-B6HwDwHK.mjs";
11
11
  import { t as deterministicUuid } from "./deterministic-id-CUEIMSqR.mjs";
12
12
  import { gunzipSync, gzipSync } from "node:zlib";
13
13
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/providers/devin.ts
@@ -1,12 +1,12 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { C as warn } from "./src-BwW51vA5.mjs";
4
- import { n as discoveryFetch } from "./utils-DeWqNWV8.mjs";
3
+ import { C as warn } from "./src-DUUqyo9y.mjs";
4
+ import { n as discoveryFetch } from "./utils-D31VFael.mjs";
5
5
  import { n as THINKING_EFFORTS } from "./effort-BdtQMN-_.mjs";
6
- import { t as collapseVariants } from "./collapse-DOR8sOGf.mjs";
6
+ import { t as collapseVariants } from "./collapse-DU3g7d3B.mjs";
7
7
  import { r as devinDiscoveryMetadata } from "./devin-ExGIghmx.mjs";
8
- import { o as toBinary, t as create } from "./protobuf-aab1UGVn.mjs";
9
- import { d as GetCliModelConfigsRequestSchema, f as GetCliModelConfigsResponseSchema, t as decodeDevinUnaryMessage, v as MetadataSchema } from "./devin-proto-Br8fdyNl.mjs";
8
+ import { o as toBinary, t as create } from "./protobuf-BJHNU9-E.mjs";
9
+ import { d as GetCliModelConfigsRequestSchema, f as GetCliModelConfigsResponseSchema, t as decodeDevinUnaryMessage, v as MetadataSchema } from "./devin-proto-B6HwDwHK.mjs";
10
10
  //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.1.17/node_modules/@oh-my-pi/pi-catalog/src/discovery/devin.ts
11
11
  const DEVIN_GET_CLI_MODEL_CONFIGS_PATH = "/exa.api_server_pb.ApiServerService/GetCliModelConfigs";
12
12
  const DEFAULT_CONTEXT_WINDOW = 2e5;
@@ -1,6 +1,6 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { a as pb, i as fromBinary } from "./protobuf-aab1UGVn.mjs";
3
+ import { a as pb, i as fromBinary } from "./protobuf-BJHNU9-E.mjs";
4
4
  import { gunzipSync } from "node:zlib";
5
5
  //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.1.17/node_modules/@oh-my-pi/pi-catalog/src/discovery/devin-proto.ts
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { J as getLogsDir, L as isBunTestRuntime } from "./src-BwW51vA5.mjs";
4
- import * as path from "node:path";
3
+ import { J as getLogsDir, L as isBunTestRuntime } from "./src-DUUqyo9y.mjs";
4
+ import * as path$1 from "node:path";
5
5
  import { scheduler } from "node:timers/promises";
6
6
  //#region node_modules/.pnpm/@oh-my-pi+pi-utils@18.1.17/node_modules/@oh-my-pi/pi-utils/src/fetch-retry.ts
7
7
  const QUOTA_RESET_PATTERN = /reset after (?:(\d+)h)?(?:(\d+)m)?(\d+(?:\.\d+)?)s/i;
@@ -1293,7 +1293,7 @@ async function appendRawHttpRequestDumpFor400(message, error, dump) {
1293
1293
  if (!dump || isBunTestRuntime() || !shouldDumpRejectedRequest(error)) return message;
1294
1294
  const payload = buildHttp400DumpPayload(dump, error, message);
1295
1295
  const fileName = `${Date.now()}-${Bun.hash(JSON.stringify(payload)).toString(36)}.json`;
1296
- const filePath = path.join(getLogsDir(), "http-400-requests", fileName);
1296
+ const filePath = path$1.join(getLogsDir(), "http-400-requests", fileName);
1297
1297
  try {
1298
1298
  await Bun.write(filePath, `${JSON.stringify(payload, null, 2)}\n`);
1299
1299
  return `${message}\nraw-http-request=${filePath}`;
@@ -1,6 +1,6 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { s as ProviderResponseError, w as classifyMessage } from "./error-CORgGg5a.mjs";
3
+ import { s as ProviderResponseError, w as classifyMessage } from "./error-DdCn4m1q.mjs";
4
4
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/utils/event-stream.ts
5
5
  var EventStream = class {
6
6
  queue = [];
@@ -1,8 +1,8 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { V as ProviderHttpError, f as OAuthError, g as OnPromptRequiredError, m as LoginCancelledError } from "./error-CORgGg5a.mjs";
3
+ import { V as ProviderHttpError, f as OAuthError, g as OnPromptRequiredError, m as LoginCancelledError } from "./error-DdCn4m1q.mjs";
4
4
  import { r as getBundledModels } from "./models-DnXMYGcJ.mjs";
5
- import { _ as normalizeCopilotIntegrationId, f as discoverGitHubCopilotApiEndpoint, h as isPublicGitHubHost, o as wrapFetchForCopilotFallback, p as getGitHubCopilotBaseUrl, r as resolveCopilotIntegrationIdOverride, s as COPILOT_API_HEADERS, v as normalizeDomain, y as normalizeGitHubCopilotEnterpriseDomain } from "./github-copilot-headers-DOh1gt_w.mjs";
5
+ import { _ as normalizeCopilotIntegrationId, f as discoverGitHubCopilotApiEndpoint, h as isPublicGitHubHost, o as wrapFetchForCopilotFallback, p as getGitHubCopilotBaseUrl, r as resolveCopilotIntegrationIdOverride, s as COPILOT_API_HEADERS, v as normalizeDomain, y as normalizeGitHubCopilotEnterpriseDomain } from "./github-copilot-headers-BGL8JO5c.mjs";
6
6
  import { scheduler } from "node:timers/promises";
7
7
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/github-copilot.ts
8
8
  /**
@@ -1,8 +1,8 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { C as warn, N as $env } from "./src-BwW51vA5.mjs";
3
+ import { C as warn, N as $env } from "./src-DUUqyo9y.mjs";
4
4
  import { n as isRecord } from "./type-guards-CttAANEx.mjs";
5
- import "./utils-DeWqNWV8.mjs";
5
+ import "./utils-D31VFael.mjs";
6
6
  //#region node_modules/.pnpm/@oh-my-pi+pi-catalog@18.1.17/node_modules/@oh-my-pi/pi-catalog/src/wire/github-copilot.ts
7
7
  const COPILOT_CLI_USER_AGENT = `copilot/1.0.82`;
8
8
  /** Headers sent by Copilot CLI to GitHub API and OAuth endpoints. */
@@ -1,6 +1,6 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { i as clearGitLabDuoDirectAccessCache } from "./stream-B_7qN-bA.mjs";
3
+ import { i as clearGitLabDuoDirectAccessCache } from "./stream-DHdFrAG4.mjs";
4
4
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/gitlab-duo.ts
5
5
  /** GitLab Duo OAuth residue: invalidate direct-access credentials after token rotation. */
6
6
  const gitLabDuoClearCacheHook = async (credentials) => {
@@ -1,8 +1,8 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { h as MissingApiKeyError } from "./error-CORgGg5a.mjs";
4
- import { Ct as applyInferenceHeaders, n as getEnvApiKey } from "./stream-B_7qN-bA.mjs";
5
- import { p as streamGoogleGenAI, t as buildGoogleGenerateContentParams } from "./google-shared-B0aNCYEH.mjs";
3
+ import { h as MissingApiKeyError } from "./error-DdCn4m1q.mjs";
4
+ import { Ct as applyInferenceHeaders, n as getEnvApiKey } from "./stream-DHdFrAG4.mjs";
5
+ import { p as streamGoogleGenAI, t as buildGoogleGenerateContentParams } from "./google-shared-DYjJp0mQ.mjs";
6
6
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/providers/google.ts
7
7
  const DEFAULT_GENERATIVE_LANGUAGE_BASE = "https://generativelanguage.googleapis.com/v1beta";
8
8
  const streamGoogle = (model, context, options) => {
@@ -1,10 +1,10 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { f as OAuthError, m as LoginCancelledError } from "./error-CORgGg5a.mjs";
4
- import { n as raceWithSignal } from "./abort-Caqff3M6.mjs";
3
+ import { f as OAuthError, m as LoginCancelledError } from "./error-DdCn4m1q.mjs";
4
+ import { n as raceWithSignal } from "./abort-BtBy5Svf.mjs";
5
5
  import { n as getAntigravityUserAgent } from "./gemini-headers-Co9cVvex.mjs";
6
6
  import { n as formatGoogleValidationRequiredMessage, t as extractGoogleValidationUrl } from "./google-validation-BEkNs-Bx.mjs";
7
- import { n as throwIfLoginCancelled, t as oauthFetch } from "./google-oauth-shared-DhMllAkt.mjs";
7
+ import { n as throwIfLoginCancelled, t as oauthFetch } from "./google-oauth-shared-CSwCT0Yl.mjs";
8
8
  import { type } from "@oh-my-pi/omptype";
9
9
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/google-antigravity.ts
10
10
  /**
@@ -1,9 +1,9 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { $ as isEnoent, P as $envpos, b as debug } from "./src-BwW51vA5.mjs";
4
- import { f as OAuthError, h as MissingApiKeyError, t as ConfigurationError } from "./error-CORgGg5a.mjs";
5
- import { n as raceWithSignal } from "./abort-Caqff3M6.mjs";
6
- import * as path from "node:path";
3
+ import { $ as isEnoent, P as $envpos, b as debug } from "./src-DUUqyo9y.mjs";
4
+ import { f as OAuthError, h as MissingApiKeyError, t as ConfigurationError } from "./error-DdCn4m1q.mjs";
5
+ import { n as raceWithSignal } from "./abort-BtBy5Svf.mjs";
6
+ import * as path$1 from "node:path";
7
7
  import * as os from "node:os";
8
8
  import { Buffer } from "node:buffer";
9
9
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/providers/google-auth.ts
@@ -30,7 +30,7 @@ function getRefreshSkewMs() {
30
30
  return $envpos("GOOGLE_VERTEX_REFRESH_SKEW_MS", 6e4);
31
31
  }
32
32
  function userAdcPath() {
33
- return path.join(os.homedir(), ".config", "gcloud", "application_default_credentials.json");
33
+ return path$1.join(os.homedir(), ".config", "gcloud", "application_default_credentials.json");
34
34
  }
35
35
  async function readJsonFile(filePath) {
36
36
  try {
@@ -1,15 +1,15 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { o as readSseJson } from "./src-BwW51vA5.mjs";
4
- import { C as classify, G as fetchWithRetry, L as GeminiCliApiError, W as extractHttpStatusFromError, _ as AbortError, a as isTransientStatus, c as finalize, f as OAuthError, j as retriable, n as StreamTimeoutError, r as ValidationError, s as ProviderResponseError, t as ConfigurationError } from "./error-CORgGg5a.mjs";
5
- import { N as normalizeSchemaForCCA, o as normalizeSystemPrompts } from "./utils-CUPhpw9A.mjs";
3
+ import { o as readSseJson } from "./src-DUUqyo9y.mjs";
4
+ import { C as classify, G as fetchWithRetry, L as GeminiCliApiError, W as extractHttpStatusFromError, _ as AbortError, a as isTransientStatus, c as finalize, f as OAuthError, j as retriable, n as StreamTimeoutError, r as ValidationError, s as ProviderResponseError, t as ConfigurationError } from "./error-DdCn4m1q.mjs";
5
+ import { N as normalizeSchemaForCCA, o as normalizeSystemPrompts } from "./utils-BMmwLB0f.mjs";
6
6
  import { t as calculateCost } from "./models-DnXMYGcJ.mjs";
7
- import { t as AssistantMessageEventStream } from "./event-stream-ulcDenZD.mjs";
7
+ import { t as AssistantMessageEventStream } from "./event-stream-ldcUvOA0.mjs";
8
8
  import { n as getAntigravityUserAgent, r as getGeminiCliHeaders, t as getAntigravityModelWireProfile } from "./gemini-headers-Co9cVvex.mjs";
9
- import { i as getStreamFirstEventTimeoutMs, o as iterateWithIdleTimeout, t as armPreResponseTimeout } from "./idle-iterator-DlUkEfzW.mjs";
10
- import { t as StreamMarkupHealing } from "./stream-markup-healing-DKT1lnkW.mjs";
9
+ import { i as getStreamFirstEventTimeoutMs, o as iterateWithIdleTimeout, t as armPreResponseTimeout } from "./idle-iterator-DTBaEIbM.mjs";
10
+ import { t as StreamMarkupHealing } from "./stream-markup-healing-DlJ9abTw.mjs";
11
11
  import { n as formatGoogleValidationRequiredMessage, t as extractGoogleValidationUrl } from "./google-validation-BEkNs-Bx.mjs";
12
- import { a as isThinkingPart, c as nextToolCallId, d as retainThoughtSignature, f as startTextOrThinkingBlock, i as hasMeaningfulGoogleContent, l as pushBlockEndEvent, n as convertMessages, o as mapStopReasonString, r as convertTools, s as mapToolChoice, u as pushToolCallEvents } from "./google-shared-B0aNCYEH.mjs";
12
+ import { a as isThinkingPart, c as nextToolCallId, d as retainThoughtSignature, f as startTextOrThinkingBlock, i as hasMeaningfulGoogleContent, l as pushBlockEndEvent, n as convertMessages, o as mapStopReasonString, r as convertTools, s as mapToolChoice, u as pushToolCallEvents } from "./google-shared-DYjJp0mQ.mjs";
13
13
  import { scheduler } from "node:timers/promises";
14
14
  import { createHash, randomBytes, randomUUID } from "node:crypto";
15
15
  import { type } from "@oh-my-pi/omptype";
@@ -1,10 +1,10 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { N as $env } from "./src-BwW51vA5.mjs";
4
- import { f as OAuthError } from "./error-CORgGg5a.mjs";
3
+ import { N as $env } from "./src-DUUqyo9y.mjs";
4
+ import { f as OAuthError } from "./error-DdCn4m1q.mjs";
5
5
  import { r as getGeminiCliHeaders } from "./gemini-headers-Co9cVvex.mjs";
6
6
  import { n as formatGoogleValidationRequiredMessage, t as extractGoogleValidationUrl } from "./google-validation-BEkNs-Bx.mjs";
7
- import { n as throwIfLoginCancelled, t as oauthFetch } from "./google-oauth-shared-DhMllAkt.mjs";
7
+ import { n as throwIfLoginCancelled, t as oauthFetch } from "./google-oauth-shared-CSwCT0Yl.mjs";
8
8
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/google-gemini-cli.ts
9
9
  /**
10
10
  * Gemini CLI OAuth flow (Google Cloud Code Assist)
@@ -1,6 +1,6 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { f as OAuthError, m as LoginCancelledError } from "./error-CORgGg5a.mjs";
3
+ import { f as OAuthError, m as LoginCancelledError } from "./error-DdCn4m1q.mjs";
4
4
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/registry/oauth/google-oauth-shared.ts
5
5
  /**
6
6
  * Shared OAuth flow for Google-style providers (Gemini CLI, Antigravity).
@@ -1,11 +1,11 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { o as readSseJson } from "./src-BwW51vA5.mjs";
4
- import { R as GoogleApiError, _ as AbortError, c as finalize, r as ValidationError, s as ProviderResponseError, t as ConfigurationError } from "./error-CORgGg5a.mjs";
5
- import { A as toolWireSchema, N as normalizeSchemaForCCA, P as normalizeSchemaForGoogle, T as renderDemotedThinking, h as transformMessages, o as normalizeSystemPrompts } from "./utils-CUPhpw9A.mjs";
3
+ import { o as readSseJson } from "./src-DUUqyo9y.mjs";
4
+ import { R as GoogleApiError, _ as AbortError, c as finalize, r as ValidationError, s as ProviderResponseError, t as ConfigurationError } from "./error-DdCn4m1q.mjs";
5
+ import { A as toolWireSchema, N as normalizeSchemaForCCA, P as normalizeSchemaForGoogle, T as renderDemotedThinking, h as transformMessages, o as normalizeSystemPrompts } from "./utils-BMmwLB0f.mjs";
6
6
  import { t as calculateCost } from "./models-DnXMYGcJ.mjs";
7
- import { o as shouldSendServiceTier, t as NON_VISION_IMAGE_PLACEHOLDER } from "./vision-guard-_XwsL1DF.mjs";
8
- import { t as AssistantMessageEventStream } from "./event-stream-ulcDenZD.mjs";
7
+ import { o as shouldSendServiceTier, t as NON_VISION_IMAGE_PLACEHOLDER } from "./vision-guard-BlAAqGUC.mjs";
8
+ import { t as AssistantMessageEventStream } from "./event-stream-ldcUvOA0.mjs";
9
9
  import { scheduler } from "node:timers/promises";
10
10
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/dialect/thinking-fence-strip.ts
11
11
  /**
@@ -1,10 +1,10 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { N as $env } from "./src-BwW51vA5.mjs";
4
- import { t as ConfigurationError } from "./error-CORgGg5a.mjs";
3
+ import { N as $env } from "./src-DUUqyo9y.mjs";
4
+ import { t as ConfigurationError } from "./error-DdCn4m1q.mjs";
5
5
  import { i as resolveVertexEndpointHost } from "./hosts-00rjRzUD.mjs";
6
- import { t as getVertexAccessToken } from "./google-auth-ieLBaneO.mjs";
7
- import { p as streamGoogleGenAI, t as buildGoogleGenerateContentParams } from "./google-shared-B0aNCYEH.mjs";
6
+ import { t as getVertexAccessToken } from "./google-auth-DYhqX1rJ.mjs";
7
+ import { p as streamGoogleGenAI, t as buildGoogleGenerateContentParams } from "./google-shared-DYjJp0mQ.mjs";
8
8
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/providers/google-vertex.ts
9
9
  const API_VERSION = "v1";
10
10
  const streamGoogleVertex = (model, context, options) => {
@@ -1,7 +1,7 @@
1
1
  import { installBunShim as __installBunShim } from "./bun-shim.mjs";
2
2
  __installBunShim();
3
- import { N as $env } from "./src-BwW51vA5.mjs";
4
- import { _ as AbortError, n as StreamTimeoutError } from "./error-CORgGg5a.mjs";
3
+ import { N as $env } from "./src-DUUqyo9y.mjs";
4
+ import { _ as AbortError, n as StreamTimeoutError } from "./error-DdCn4m1q.mjs";
5
5
  //#region node_modules/.pnpm/@oh-my-pi+pi-ai@18.1.17/node_modules/@oh-my-pi/pi-ai/src/utils/idle-iterator.ts
6
6
  const DEFAULT_STREAM_IDLE_TIMEOUT_MS = 3e5;
7
7
  const DEFAULT_STREAM_FIRST_EVENT_TIMEOUT_MS = 3e5;