@organizaone/o1-code 0.21.12 → 0.22.1

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 (266) hide show
  1. package/README.md +8 -6
  2. package/bundled/qc-helper/docs/configuration/settings.md +1 -1
  3. package/bundled/qc-helper/docs/features/mcp.md +5 -0
  4. package/bundled/qc-helper/docs/support/troubleshooting.md +120 -1
  5. package/chunks/{MaxSizedBox-2BZ3RGAN.js → MaxSizedBox-RVGQPVQO.js} +17 -17
  6. package/chunks/{StandaloneSessionPicker-URVHQ33H.js → StandaloneSessionPicker-BMI42LHG.js} +34 -34
  7. package/chunks/{acp-subagent-executor-42HUHYWJ.js → acp-subagent-executor-UAXJUFQK.js} +19 -19
  8. package/chunks/{acpAgent-UE6Q6MDF.js → acpAgent-4ZEY3OME.js} +59 -59
  9. package/chunks/{agent-VSQDBKEV.js → agent-NH2EHRJ3.js} +9 -9
  10. package/chunks/{agent-headless-5YJRNIU5.js → agent-headless-SNT5BKJU.js} +9 -9
  11. package/chunks/{all-providers-5WYELER7.js → all-providers-7WVHE4GD.js} +2 -2
  12. package/chunks/{anthropicContentGenerator-LSPXJPRJ.js → anthropicContentGenerator-CJDEP3M6.js} +5 -5
  13. package/chunks/{bridge-64LWK7ZZ.js → bridge-RTND6IB6.js} +19 -19
  14. package/chunks/{chunk-HYKRT564.js → chunk-2TXSMV3M.js} +8 -8
  15. package/chunks/{chunk-UNJ76GRD.js → chunk-3DE6KFXZ.js} +3 -3
  16. package/chunks/{chunk-OALPTFEF.js → chunk-3HYHMJZ7.js} +2 -2
  17. package/chunks/{chunk-SC4A56UI.js → chunk-44NP2DKE.js} +13 -13
  18. package/chunks/{chunk-6L6GONYZ.js → chunk-4A6A4AS6.js} +3 -3
  19. package/chunks/{chunk-P4JFO6QK.js → chunk-4GJBQ3MM.js} +138 -65
  20. package/chunks/{chunk-YUOS4XKC.js → chunk-4MANEJTL.js} +5 -5
  21. package/chunks/{chunk-4BG7FAZ2.js → chunk-5POXLSBR.js} +1 -1
  22. package/chunks/{chunk-6WVOYUEJ.js → chunk-6E6FTN4Z.js} +3 -3
  23. package/chunks/{chunk-KH3ZMOQV.js → chunk-6HVK5AB6.js} +5 -5
  24. package/chunks/{chunk-LM76NVKF.js → chunk-7BGLVYAH.js} +2 -2
  25. package/chunks/{chunk-QRWZYAPM.js → chunk-7CKBM5N3.js} +1 -1
  26. package/chunks/{chunk-LDS54GK7.js → chunk-AG4W5EZN.js} +6 -4
  27. package/chunks/{chunk-G6CFJOUC.js → chunk-AN76M2SF.js} +1 -1
  28. package/chunks/{chunk-4TG4VKHM.js → chunk-AOO6ZUFV.js} +1 -1
  29. package/chunks/{chunk-FIYTBZDZ.js → chunk-BDZ6CKXF.js} +7 -7
  30. package/chunks/{chunk-Q7SHVWFV.js → chunk-BFD5HYRL.js} +2 -2
  31. package/chunks/{chunk-EN3GYRXW.js → chunk-BKZ3FWIY.js} +3 -3
  32. package/chunks/{chunk-KBPYRECY.js → chunk-BSW6OIM7.js} +3 -3
  33. package/chunks/{chunk-XCVFETTO.js → chunk-BUDPTG55.js} +2 -2
  34. package/chunks/{chunk-4FVGYTTB.js → chunk-CGTBVU3O.js} +3 -3
  35. package/chunks/{chunk-B6FDV2GG.js → chunk-DYPQF4VS.js} +5 -5
  36. package/chunks/{chunk-XQJEGIG4.js → chunk-E27VESCX.js} +9 -4
  37. package/chunks/{chunk-ADTBSWJM.js → chunk-E6Q7UUWN.js} +2 -2
  38. package/chunks/{chunk-7MHQGT7Y.js → chunk-EADQN4GH.js} +4 -4
  39. package/chunks/{chunk-4UGXSLHA.js → chunk-EMXYZZ5Y.js} +13 -13
  40. package/chunks/{chunk-QRH53G66.js → chunk-F2EWJITM.js} +5 -5
  41. package/chunks/{chunk-MFAY5A2G.js → chunk-F4FU6VM5.js} +1 -1
  42. package/chunks/{chunk-VI5LU5B3.js → chunk-F6YTVAGO.js} +1 -1
  43. package/chunks/{chunk-5PVKPNPU.js → chunk-FAKFP7PE.js} +2 -2
  44. package/chunks/{chunk-ZW75AOWT.js → chunk-FLBRWOOW.js} +1 -1
  45. package/chunks/{chunk-FRIJJ7WU.js → chunk-FYI2IX5L.js} +2 -2
  46. package/chunks/{chunk-IKSQVGB2.js → chunk-GCEFGJQL.js} +1 -1
  47. package/chunks/{chunk-J7XZGEYH.js → chunk-GDRXAL2V.js} +3 -3
  48. package/chunks/{chunk-Q54TVLH3.js → chunk-GR4V6J5L.js} +1 -1
  49. package/chunks/{chunk-JZ7WLEQD.js → chunk-H7IF7CAJ.js} +2 -2
  50. package/chunks/{chunk-HTD3FZXG.js → chunk-HA4IBUMM.js} +2 -2
  51. package/chunks/{chunk-BW6UNNZZ.js → chunk-HUW7MDI7.js} +1 -1
  52. package/chunks/{chunk-67V7FWU5.js → chunk-IIICLNER.js} +1 -1
  53. package/chunks/{chunk-FJNY44SK.js → chunk-IKHE2AI7.js} +1 -1
  54. package/chunks/{chunk-X7NIVYXT.js → chunk-IZBRJ2HF.js} +2 -2
  55. package/chunks/{chunk-VRM2DCPN.js → chunk-JSL55Y6I.js} +7 -7
  56. package/chunks/{chunk-DM2DB5YS.js → chunk-KIF3TIH4.js} +1 -1
  57. package/chunks/{chunk-VLUANPNK.js → chunk-KK2RIV4A.js} +3 -3
  58. package/chunks/{chunk-W4HW4F2K.js → chunk-KNWO6F63.js} +7 -7
  59. package/chunks/{chunk-HAY7GH4C.js → chunk-KQ7E7FOJ.js} +1 -1
  60. package/chunks/{chunk-WOIQYP7B.js → chunk-KRLE7IDY.js} +1 -1
  61. package/chunks/{chunk-AYMTL6TQ.js → chunk-KWV4ZB3F.js} +2 -2
  62. package/chunks/{chunk-SZUKUDET.js → chunk-LGXLBYI3.js} +1 -1
  63. package/chunks/{chunk-SLBP47PK.js → chunk-LWC7HPRI.js} +2 -2
  64. package/chunks/{chunk-NJ7MEKVG.js → chunk-N5KJNQIZ.js} +1 -1
  65. package/chunks/{chunk-PNDBIR3F.js → chunk-NAEZE5OL.js} +1 -1
  66. package/chunks/{chunk-VPJNFLYT.js → chunk-NPFU56EO.js} +5 -5
  67. package/chunks/{chunk-4UL6MLEV.js → chunk-O5AS4OOX.js} +2 -2
  68. package/chunks/{chunk-XCFEMYMZ.js → chunk-O5BCFPOB.js} +2 -2
  69. package/chunks/{chunk-P5527KPA.js → chunk-OCOO6CMW.js} +3 -3
  70. package/chunks/{chunk-IIKBLS7C.js → chunk-OPWIQQ3C.js} +1 -1
  71. package/chunks/{chunk-QNDIPLLG.js → chunk-PAEZIQXY.js} +3 -3
  72. package/chunks/{chunk-LGTZFPFW.js → chunk-PWXL2VKU.js} +1 -1
  73. package/chunks/{chunk-S22AMPHY.js → chunk-QUVGCD32.js} +27 -27
  74. package/chunks/{chunk-FVJIDUCS.js → chunk-QWDKIHIR.js} +3 -3
  75. package/chunks/{chunk-GU3KTDRS.js → chunk-R6HGPORE.js} +3 -3
  76. package/chunks/{chunk-F5ZZD2XJ.js → chunk-RANMV3VA.js} +4 -4
  77. package/chunks/{chunk-RKRKWBGP.js → chunk-RQPDN23V.js} +2 -2
  78. package/chunks/{chunk-ZHSDP46E.js → chunk-RUJW2EYS.js} +2 -2
  79. package/chunks/{chunk-KLX3T6PQ.js → chunk-RXJMYK2R.js} +4 -4
  80. package/chunks/{chunk-AAW2TG66.js → chunk-S2JADXCO.js} +31 -3
  81. package/chunks/{chunk-TEOWSK2Y.js → chunk-SDB4PPQF.js} +10 -39
  82. package/chunks/{chunk-PF6NLBU6.js → chunk-SRA3CI5I.js} +1 -1
  83. package/chunks/{chunk-IRZVUNMA.js → chunk-T374RNAS.js} +1 -1
  84. package/chunks/{chunk-OAFLRECK.js → chunk-TOIXYNL6.js} +3 -3
  85. package/chunks/{chunk-446EUCXY.js → chunk-U7HTBVK6.js} +2 -2
  86. package/chunks/{chunk-FSRV6E3A.js → chunk-UHPISANS.js} +1 -1
  87. package/chunks/{chunk-MI274MXI.js → chunk-VFMFOTNC.js} +2 -2
  88. package/chunks/{chunk-G4UJA6OG.js → chunk-VHMXJAL4.js} +445 -90
  89. package/chunks/{chunk-CTZADE6E.js → chunk-VMYLENRS.js} +1 -1
  90. package/chunks/{chunk-3RUE4AI5.js → chunk-VSZBTI6Z.js} +5 -5
  91. package/chunks/{chunk-5BYEVKPE.js → chunk-VUPOGOOS.js} +35 -36
  92. package/chunks/{chunk-GJUXJFGB.js → chunk-WKYZUJ5O.js} +1 -1
  93. package/chunks/{chunk-Q66RODNA.js → chunk-WZSZXEAQ.js} +1 -1
  94. package/chunks/{chunk-I5LCZWR4.js → chunk-Y4DKB3I4.js} +1 -1
  95. package/chunks/{chunk-4SLOHBMI.js → chunk-YDBDPF4G.js} +4 -4
  96. package/chunks/{chunk-QSD4NNX7.js → chunk-YK6Z7PNX.js} +4 -4
  97. package/chunks/{chunk-JP3U5UJT.js → chunk-YRVUYXMC.js} +2 -2
  98. package/chunks/{chunk-RQI34L4L.js → chunk-Z2HNRDOD.js} +1 -1
  99. package/chunks/{chunk-NZPDU6XI.js → chunk-Z6WSMXW5.js} +2 -2
  100. package/chunks/{codex-subagent-executor-HUZ2RBO4.js → codex-subagent-executor-QKMKATHR.js} +19 -19
  101. package/chunks/{contextCommand-UCBQCZPT.js → contextCommand-Q4HCSERF.js} +19 -19
  102. package/chunks/{core-runtime-33VWCL5W.js → core-runtime-77F57PX4.js} +17 -17
  103. package/chunks/{create-sub-session-EKZSCCOT.js → create-sub-session-F5JXMYGW.js} +18 -18
  104. package/chunks/{daemon-git-worktree-guard-PVGNE2VK.js → daemon-git-worktree-guard-ZQCJ7RWX.js} +17 -17
  105. package/chunks/{daemon-status-provider-HCY7J7MU.js → daemon-status-provider-TOCJXPVE.js} +23 -23
  106. package/chunks/{daemon-trust-policy-RY2NJKC4.js → daemon-trust-policy-YGUS4YMJ.js} +23 -23
  107. package/chunks/{daemon-trust-policy-monitor-QZGG6ZRG.js → daemon-trust-policy-monitor-ENPQVTNO.js} +23 -23
  108. package/chunks/{deferred-core-runtime-UQBHRN26.js → deferred-core-runtime-ULSOQU3T.js} +17 -17
  109. package/chunks/{edit-ITG7FT2N.js → edit-TSSCUSYW.js} +11 -11
  110. package/chunks/{en-TGA7IM7I.js → en-XSSA4TGG.js} +24 -0
  111. package/chunks/{enterPlanMode-FPEK4BIB.js → enterPlanMode-ZSQKJKZQ.js} +9 -9
  112. package/chunks/{environment-R72KBJYN.js → environment-EAKV3SOY.js} +19 -19
  113. package/chunks/{errors-F7FV45GH.js → errors-GGFY5RFH.js} +19 -19
  114. package/chunks/{execution-tool-O6ZQT4QK.js → execution-tool-VACK7N45.js} +11 -11
  115. package/chunks/{execution-worker-AKAHKG4U.js → execution-worker-627YBBCO.js} +14 -14
  116. package/chunks/{exitPlanMode-E3X6O2KI.js → exitPlanMode-MUPEFJZW.js} +9 -9
  117. package/chunks/{fast-path-NYJY3CTG.js → fast-path-RTN33F3G.js} +2 -2
  118. package/chunks/{foreground-runner-3DWMIR57.js → foreground-runner-AB6I7DAO.js} +23 -19
  119. package/chunks/{glob-UF4UY2H3.js → glob-2CHWQ3H5.js} +9 -9
  120. package/chunks/{goal-tools-5PYBCVXE.js → goal-tools-XLPICZ5T.js} +9 -9
  121. package/chunks/{handleAutoUpdate-MWT23FAM.js → handleAutoUpdate-NZPFDQK6.js} +20 -20
  122. package/chunks/{i18n-FGEDPY3X.js → i18n-FV2KRBLI.js} +18 -18
  123. package/chunks/{initializer-U3VL76VN.js → initializer-CTPFYJCS.js} +23 -23
  124. package/chunks/{installationInfo-7T2AMMB5.js → installationInfo-IJIMCPDB.js} +17 -17
  125. package/chunks/{list-XJHO2ULF.js → list-TIROYVTJ.js} +25 -25
  126. package/chunks/{llm-GOWMM7X6.js → llm-YA3VVASU.js} +48 -48
  127. package/chunks/{llm-content-generator-IU5UXRT5.js → llm-content-generator-5BMSF46V.js} +4 -4
  128. package/chunks/{loadedSettingsAdapter-JPTRNBK4.js → loadedSettingsAdapter-V3A6MMRM.js} +23 -23
  129. package/chunks/{local-execution-environment-JRKVTL4S.js → local-execution-environment-PFBURDOE.js} +14 -14
  130. package/chunks/{loggingContentGenerator-OEWKCKMT.js → loggingContentGenerator-RCDGCQQS.js} +9 -9
  131. package/chunks/{managed-npm-update-OUV36XDV.js → managed-npm-update-4EBV5AOX.js} +94 -24
  132. package/chunks/{mcp-SGAE27LZ.js → mcp-VDFHAJKP.js} +23 -23
  133. package/chunks/{model-call-collection-ZJ44DP57.js → model-call-collection-CER6UKZQ.js} +1 -1
  134. package/chunks/{model-configuration-KDYH62W7.js → model-configuration-RJ6KIRTB.js} +24 -24
  135. package/chunks/{modelConfigUtils-Y6ROWGQR.js → modelConfigUtils-YCRDHNRZ.js} +19 -19
  136. package/chunks/{monitor-4QUEE5PD.js → monitor-3DZ6543L.js} +9 -9
  137. package/chunks/{nonInteractiveCli-OM7DDCIR.js → nonInteractiveCli-PGIOCHOP.js} +50 -50
  138. package/chunks/{nonInteractiveToolExecutor-DI7QR4NJ.js → nonInteractiveToolExecutor-7YVAC45H.js} +10 -10
  139. package/chunks/{notebook-edit-VE3PZOBS.js → notebook-edit-EC3X76GJ.js} +10 -10
  140. package/chunks/{omni-HOD7DV7N.js → omni-NTS5DKKW.js} +9 -9
  141. package/chunks/{openaiContentGenerator-MMFYMCWS.js → openaiContentGenerator-HE3UYNTG.js} +6 -6
  142. package/chunks/{openaiResponsesContentGenerator-SSIBVYVO.js → openaiResponsesContentGenerator-V3QXQKGY.js} +4 -4
  143. package/chunks/{processUtils-65C36IP2.js → processUtils-Q77SJQTK.js} +2 -2
  144. package/chunks/{prompt-terminal-ledger-UDXHJGTR.js → prompt-terminal-ledger-FIRVFZQ6.js} +18 -18
  145. package/chunks/{pt-M2VNXLYO.js → pt-KI6OT4C4.js} +24 -0
  146. package/chunks/{pty-host-process-UP752FWV.js → pty-host-process-KO4H32QM.js} +1 -1
  147. package/chunks/{reactive-degrade-2UHNPYQG.js → reactive-degrade-R7SJ2NH6.js} +8 -8
  148. package/chunks/{read-file-NXZBG4AF.js → read-file-NRMGUMQM.js} +1 -1
  149. package/chunks/{resumeHistoryUtils-GAFAJJ32.js → resumeHistoryUtils-O2COILCI.js} +22 -22
  150. package/chunks/{ripGrep-BTNYROLP.js → ripGrep-WQJTNYRZ.js} +1 -1
  151. package/chunks/{run-o1-code-serve-JPHA76ZV.js → run-o1-code-serve-TBV42OCR.js} +32 -32
  152. package/chunks/{sandboxConfig-UCP6JH76.js → sandboxConfig-4GA3BYJS.js} +17 -17
  153. package/chunks/{scheduled-tasks-MAAZRWDD.js → scheduled-tasks-6VDCN5PB.js} +22 -22
  154. package/chunks/{scheduler-OEDDDVZS.js → scheduler-P5IJ7A74.js} +19 -19
  155. package/chunks/{serve-W53YA4E6.js → serve-2ZQ532LO.js} +23 -23
  156. package/chunks/{server-BIOYLQ4S.js → server-BUDZHTIT.js} +48 -48
  157. package/chunks/{session-YJEXIQYW.js → session-26SOOJEN.js} +1 -1
  158. package/chunks/{session-HWYQLWRW.js → session-CKAFUD43.js} +51 -51
  159. package/chunks/{session-attachments-root-GQGU56M6.js → session-attachments-root-MJ3BQ3LD.js} +17 -17
  160. package/chunks/{session-pr-refresh-SWXWY5G7.js → session-pr-refresh-OB6N6BHR.js} +21 -21
  161. package/chunks/{settings-QXVMNILF.js → settings-6AXVX7VZ.js} +22 -22
  162. package/chunks/{shell-P3A6NR2F.js → shell-ENJCXAKQ.js} +9 -9
  163. package/chunks/{skill-TJVM366F.js → skill-JI7DIIC5.js} +1 -1
  164. package/chunks/{skill-settings-GBIWXUSF.js → skill-settings-QM6FE65C.js} +22 -22
  165. package/chunks/{spawnChannel-YNHVMRUM.js → spawnChannel-YT5XGUD4.js} +18 -18
  166. package/chunks/{standalone-update-BPLEMHR3.js → standalone-update-PQTPOQ7H.js} +19 -19
  167. package/chunks/{startInteractiveUI-LKHQEMJC.js → startInteractiveUI-YTXYK5FE.js} +4805 -4243
  168. package/chunks/{supervisor-runner-MDQEC376.js → supervisor-runner-GTHTY2VP.js} +6 -2
  169. package/chunks/{team-create-PKMF5MWH.js → team-create-JFKXHYVG.js} +9 -9
  170. package/chunks/{team-plan-approval-MMTFDTUP.js → team-plan-approval-XTW6G7MY.js} +9 -9
  171. package/chunks/{terminal-image-renderer-PQKSRFG6.js → terminal-image-renderer-GDTTKHI4.js} +17 -17
  172. package/chunks/{theme-manager-JAUIL6A6.js → theme-manager-MRHNSAFC.js} +17 -17
  173. package/chunks/{tool-result-media-EFRG36K3.js → tool-result-media-MXVFMVH2.js} +9 -9
  174. package/chunks/{tool-search-ADQSAKUL.js → tool-search-RK5PYIEA.js} +1 -1
  175. package/chunks/{total-session-admission-WR52JIJF.js → total-session-admission-KPWNF4I7.js} +19 -19
  176. package/chunks/{trustedFolders-MICSTOQU.js → trustedFolders-SWKT5ICG.js} +18 -18
  177. package/chunks/{update-relaunch-KME3VVNC.js → update-relaunch-EXMQLKEJ.js} +11 -6
  178. package/chunks/{updateCheck-3TEZS32Z.js → updateCheck-MP42WBSG.js} +19 -19
  179. package/chunks/{upload-config-2UYVTNDH.js → upload-config-AIRMZDHT.js} +6 -6
  180. package/chunks/{useAutoAcceptIndicator-M22TBUGG.js → useAutoAcceptIndicator-K3T576EB.js} +26 -26
  181. package/chunks/{validateNonInterActiveAuth-IYB7C4RT.js → validateNonInterActiveAuth-4KATGUJO.js} +47 -47
  182. package/chunks/{version-MNDZPW5E.js → version-JEM4ONGO.js} +1 -1
  183. package/chunks/{web-fetch-4WV34U3H.js → web-fetch-TZXOJ74M.js} +1 -1
  184. package/chunks/{web-search-RWIHTXBO.js → web-search-RDZCW5MX.js} +7 -7
  185. package/chunks/{workflow-OLMHA4BB.js → workflow-NTR7LISE.js} +10 -10
  186. package/chunks/{workspace-providers-status-ZK5RTIRW.js → workspace-providers-status-BOEHLEC6.js} +27 -27
  187. package/chunks/{workspace-registration-store-OFBYI2AM.js → workspace-registration-store-A4RBAXBF.js} +1 -1
  188. package/chunks/{workspace-registry-24UG35RO.js → workspace-registry-QADKTWBR.js} +19 -19
  189. package/chunks/{workspace-runtime-coordinator-JTMGRKL6.js → workspace-runtime-coordinator-M2LCS2XW.js} +19 -19
  190. package/chunks/{workspace-service-4F3QNU5O.js → workspace-service-7P5UZHEE.js} +26 -26
  191. package/chunks/{workspace-skills-status-CQJRAMY2.js → workspace-skills-status-MRA7H2M5.js} +23 -23
  192. package/chunks/{workspace-trust-reconciler-5EZ6XHNZ.js → workspace-trust-reconciler-JTU5ZT3E.js} +25 -25
  193. package/chunks/{write-file-6KJ6PRKR.js → write-file-TYMBS3Z4.js} +11 -11
  194. package/chunks/{zoom-image-OCGXTGXD.js → zoom-image-OYDAJGIC.js} +1 -1
  195. package/cli-entry.js +13 -48
  196. package/cli.js +16 -16
  197. package/execution-worker.js +1 -1
  198. package/export-transcript-document.js +1 -1
  199. package/locales/en.js +34 -0
  200. package/locales/pt.js +34 -0
  201. package/package.json +2 -2
  202. package/release-notes.json +11 -0
  203. package/web-shell/assets/{abnfDiagram-VCTEODGH-Blm8csld.js → abnfDiagram-VCTEODGH-2Dj_wAO-.js} +1 -1
  204. package/web-shell/assets/{arc-DP_rbVda.js → arc-CM8UdMfv.js} +1 -1
  205. package/web-shell/assets/{architectureDiagram-5GKGNRK7-EjLTuk5n.js → architectureDiagram-5GKGNRK7-DVRUp2sY.js} +1 -1
  206. package/web-shell/assets/{blockDiagram-NRAW4CY4-BSp3kH8e.js → blockDiagram-NRAW4CY4-LlLViOqt.js} +1 -1
  207. package/web-shell/assets/{c4Diagram-UCG6FXSJ-DgdEOH_H.js → c4Diagram-UCG6FXSJ-s9MPoxak.js} +1 -1
  208. package/web-shell/assets/channel-NvsLvieh.js +1 -0
  209. package/web-shell/assets/{chunk-2Q5K7J3B-CTfcSXdR.js → chunk-2Q5K7J3B-HlTfhwBU.js} +1 -1
  210. package/web-shell/assets/{chunk-5VM5RSS4-DSvHcY83.js → chunk-5VM5RSS4-CxS42ksC.js} +1 -1
  211. package/web-shell/assets/{chunk-F27PBJKO-DQxZ4sQG.js → chunk-F27PBJKO-DPeeODpW.js} +1 -1
  212. package/web-shell/assets/{chunk-G27WJ6UU-CkxSTxNF.js → chunk-G27WJ6UU-CQYZmE5k.js} +1 -1
  213. package/web-shell/assets/{chunk-JWPE2WC7-0Jyf4kN0.js → chunk-JWPE2WC7-Bq0TMyxv.js} +1 -1
  214. package/web-shell/assets/{chunk-LCL6LL3I-CfodE2oy.js → chunk-LCL6LL3I-BtnHzA-D.js} +1 -1
  215. package/web-shell/assets/{chunk-POPQ4Y6H-DKNG_Q8j.js → chunk-POPQ4Y6H-BRNWOxIT.js} +1 -1
  216. package/web-shell/assets/{chunk-SVP7TREG-fJLgHhdK.js → chunk-SVP7TREG-By9FnFN2.js} +1 -1
  217. package/web-shell/assets/{chunk-XXDRQBXY-B5SXZxzv.js → chunk-XXDRQBXY-w0nYUkdp.js} +1 -1
  218. package/web-shell/assets/classDiagram-DTDB5LWJ-BhmijuT4.js +1 -0
  219. package/web-shell/assets/classDiagram-v2-JRS7N3AN-BhmijuT4.js +1 -0
  220. package/web-shell/assets/{cose-bilkent-JH36ORCC-cAsM9PHD.js → cose-bilkent-JH36ORCC-YpgXH3_-.js} +1 -1
  221. package/web-shell/assets/{cynefin-OW5HDTMX-DRnaoZZ1.js → cynefin-OW5HDTMX-BamkWNPO.js} +1 -1
  222. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-BGP5RBk9.js → cynefinDiagram-5FMLGOSQ-Dpxn8LCb.js} +1 -1
  223. package/web-shell/assets/{dagre-3AP2YEHR-BT4s62Rf.js → dagre-3AP2YEHR-CxuJQGMd.js} +1 -1
  224. package/web-shell/assets/{diagram-S7CK7UJ4-CAMMwuGP.js → diagram-S7CK7UJ4-DjccNeUH.js} +1 -1
  225. package/web-shell/assets/{diagram-UQ7AKVKN-UR0L_1o7.js → diagram-UQ7AKVKN-8EkBLWb_.js} +1 -1
  226. package/web-shell/assets/{diagram-VSXAHHWV-CKqMzuGn.js → diagram-VSXAHHWV-CdR64P66.js} +1 -1
  227. package/web-shell/assets/{diagram-VX7I27RA-13tiWaGu.js → diagram-VX7I27RA-CjQqXx8a.js} +1 -1
  228. package/web-shell/assets/{diagram-Z3DM3KII-Bf-aoo5R.js → diagram-Z3DM3KII-CPVQ6neh.js} +1 -1
  229. package/web-shell/assets/{ebnfDiagram-PWID7BFC-5rUl0IMJ.js → ebnfDiagram-PWID7BFC-Cd2nbw6-.js} +1 -1
  230. package/web-shell/assets/{erDiagram-SSCWMZ5O-GREvBu1Z.js → erDiagram-SSCWMZ5O-BGnAX0IM.js} +1 -1
  231. package/web-shell/assets/{flowDiagram-A5DVABFB-B6Psdym5.js → flowDiagram-A5DVABFB-DcX08Nbr.js} +1 -1
  232. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-Cb24GKog.js → ganttDiagram-EL5Y4UJY-CVXiMVzW.js} +1 -1
  233. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-Bg7qw5JL.js → gitGraphDiagram-WWUBYQGX-BBxhu9G7.js} +1 -1
  234. package/web-shell/assets/{index-DTLx9svT.js → index-B5aKf1AA.js} +1 -1
  235. package/web-shell/assets/{index-C1iC-XWx.js → index-zwHrQxqv.js} +3 -3
  236. package/web-shell/assets/{infoDiagram-RXCK75RN-Cx0asY0r.js → infoDiagram-RXCK75RN-C-1qC66j.js} +1 -1
  237. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-3NBLOZEv.js → ishikawaDiagram-5VMMS53U-C8_mTu_r.js} +1 -1
  238. package/web-shell/assets/{journeyDiagram-EYS64GPL-DNgiQP6o.js → journeyDiagram-EYS64GPL-CROANElQ.js} +1 -1
  239. package/web-shell/assets/{kanban-definition-3QL26DDD-JuQXfRp_.js → kanban-definition-3QL26DDD-DfeA7UBv.js} +1 -1
  240. package/web-shell/assets/{layout-Cev2Ff0R.js → layout-Dkjy38dJ.js} +1 -1
  241. package/web-shell/assets/{linear-BfVni-EP.js → linear-Bk2c8hgK.js} +1 -1
  242. package/web-shell/assets/{mermaid.core-DT3Pzm8u.js → mermaid.core-BQpb5--e.js} +6 -6
  243. package/web-shell/assets/{mindmap-definition-FBJOCRG2-BFIKt6yc.js → mindmap-definition-FBJOCRG2-niwVx50h.js} +1 -1
  244. package/web-shell/assets/{pegDiagram-XKGWAZYB-BIZ_N-Ep.js → pegDiagram-XKGWAZYB-CzwTglvx.js} +1 -1
  245. package/web-shell/assets/{pieDiagram-E7YTZNPT-DVudbGYK.js → pieDiagram-E7YTZNPT-BOTnaopZ.js} +1 -1
  246. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-MauYSAxr.js → quadrantDiagram-AXDQQJYC-ANc-jmLm.js} +1 -1
  247. package/web-shell/assets/{railroadDiagram-O6MQD6OU-CAc0Jodi.js → railroadDiagram-O6MQD6OU-DactPRXN.js} +1 -1
  248. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-C3QPrwWL.js → requirementDiagram-EFPCY7ZU-BhJYhbQx.js} +1 -1
  249. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-BY4QnzoU.js → sankeyDiagram-P5KCCOFB-CKmj4FSV.js} +1 -1
  250. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-BQCkD6LS.js → sequenceDiagram-WJ2MYXX4-qqYmFKVm.js} +1 -1
  251. package/web-shell/assets/{sizeCapture-X5ZJPWSS-DNisR9q3.js → sizeCapture-X5ZJPWSS-IZThfnGj.js} +1 -1
  252. package/web-shell/assets/{stateDiagram-HBIQ2CUA-CbqDtAdm.js → stateDiagram-HBIQ2CUA-DRVEahaQ.js} +1 -1
  253. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Ck-zs-A0.js +1 -0
  254. package/web-shell/assets/{swimlanes-XN3QIQJK-Yf5JgSO3.js → swimlanes-XN3QIQJK-C-gt3GcA.js} +1 -1
  255. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-C9LTcitD.js +8 -0
  256. package/web-shell/assets/{timeline-definition-24CTP7MA-ZHueEzUo.js → timeline-definition-24CTP7MA-CyyrqcKX.js} +1 -1
  257. package/web-shell/assets/{vennDiagram-4TSXK5OY-DAGFdAuB.js → vennDiagram-4TSXK5OY-cuY4y_eV.js} +1 -1
  258. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-C5aBn2nB.js → wardleyDiagram-VM6X3IG4-Dh2Zg335.js} +1 -1
  259. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-Cok1KJLN.js → xychartDiagram-S5SC5T6Z-CmGN9rRU.js} +1 -1
  260. package/web-shell/index.html +1 -1
  261. package/web-shell/sw.js +1 -1
  262. package/web-shell/assets/channel-CLKVanLU.js +0 -1
  263. package/web-shell/assets/classDiagram-DTDB5LWJ-C8qMaQFg.js +0 -1
  264. package/web-shell/assets/classDiagram-v2-JRS7N3AN-C8qMaQFg.js +0 -1
  265. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Bwshffk9.js +0 -1
  266. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-DYX1d77n.js +0 -8
@@ -179,7 +179,7 @@ import {
179
179
  import {
180
180
  buildModelIdContext,
181
181
  resolveModelId
182
- } from "./chunk-WOIQYP7B.js";
182
+ } from "./chunk-KRLE7IDY.js";
183
183
  import {
184
184
  isTruthy
185
185
  } from "./chunk-SYMKXR42.js";
@@ -191,7 +191,7 @@ import {
191
191
  } from "./chunk-HPQNI3OQ.js";
192
192
  import {
193
193
  isOmniDeliveryActive
194
- } from "./chunk-QRWZYAPM.js";
194
+ } from "./chunk-7CKBM5N3.js";
195
195
  import {
196
196
  MediaResourceRegistry,
197
197
  evaluateMediaPolicyToolCall,
@@ -332,7 +332,7 @@ import {
332
332
  import {
333
333
  DashScopeOpenAICompatibleProvider,
334
334
  selectDashScopeThinkingKnob
335
- } from "./chunk-J7XZGEYH.js";
335
+ } from "./chunk-GDRXAL2V.js";
336
336
  import {
337
337
  InvalidStreamError,
338
338
  getToolCallPreparations,
@@ -465,7 +465,7 @@ import {
465
465
  resolveReasoningCapabilities,
466
466
  resolveReasoningForModel,
467
467
  validateReasoningCapabilities
468
- } from "./chunk-I5LCZWR4.js";
468
+ } from "./chunk-Y4DKB3I4.js";
469
469
  import {
470
470
  addDaemonRequestAttribute
471
471
  } from "./chunk-2F3GZ6WG.js";
@@ -728,7 +728,7 @@ import {
728
728
  resolveProviderProtocol,
729
729
  resolveSavedModelApiKey,
730
730
  stripRuntimeSnapshotPrefix
731
- } from "./chunk-P5527KPA.js";
731
+ } from "./chunk-OCOO6CMW.js";
732
732
  import {
733
733
  DEFAULT_TOKEN_LIMIT,
734
734
  OUTPUT_TOKEN_CEILING,
@@ -754,7 +754,7 @@ import {
754
754
  createContentGenerator,
755
755
  resetPreloadedContentGenerator,
756
756
  resolveContentGeneratorConfigWithSources
757
- } from "./chunk-B6FDV2GG.js";
757
+ } from "./chunk-DYPQF4VS.js";
758
758
  import {
759
759
  DEFAULT_O1CODE_MODEL
760
760
  } from "./chunk-LEXKU5FI.js";
@@ -7360,14 +7360,14 @@ var require_prompts = __commonJS({
7360
7360
  init_esbuild_shims();
7361
7361
  var $2 = exports2;
7362
7362
  var el = require_elements();
7363
- var noop2 = /* @__PURE__ */ __name((v2) => v2, "noop");
7363
+ var noop3 = /* @__PURE__ */ __name((v2) => v2, "noop");
7364
7364
  function toPrompt(type, args, opts = {}) {
7365
7365
  return new Promise((res, rej) => {
7366
7366
  const p2 = new el[type](args);
7367
- const onAbort = opts.onAbort || noop2;
7368
- const onSubmit = opts.onSubmit || noop2;
7369
- const onExit = opts.onExit || noop2;
7370
- p2.on("state", args.onState || noop2);
7367
+ const onAbort = opts.onAbort || noop3;
7368
+ const onSubmit = opts.onSubmit || noop3;
7369
+ const onExit = opts.onExit || noop3;
7370
+ p2.on("state", args.onState || noop3);
7371
7371
  p2.on("submit", (x) => res(onSubmit(x)));
7372
7372
  p2.on("exit", (x) => res(onExit(x)));
7373
7373
  p2.on("abort", (x) => rej(onAbort(x)));
@@ -7551,7 +7551,7 @@ var require_dist4 = __commonJS({
7551
7551
  __name(_asyncToGenerator, "_asyncToGenerator");
7552
7552
  var prompts2 = require_prompts();
7553
7553
  var passOn = ["suggest", "format", "onState", "validate", "onRender", "type"];
7554
- var noop2 = /* @__PURE__ */ __name(() => {
7554
+ var noop3 = /* @__PURE__ */ __name(() => {
7555
7555
  }, "noop");
7556
7556
  function prompt() {
7557
7557
  return _prompt.apply(this, arguments);
@@ -7559,8 +7559,8 @@ var require_dist4 = __commonJS({
7559
7559
  __name(prompt, "prompt");
7560
7560
  function _prompt() {
7561
7561
  _prompt = _asyncToGenerator(function* (questions = [], {
7562
- onSubmit = noop2,
7563
- onCancel = noop2
7562
+ onSubmit = noop3,
7563
+ onCancel = noop3
7564
7564
  } = {}) {
7565
7565
  const answers = {};
7566
7566
  const override2 = prompt._override || {};
@@ -9755,14 +9755,14 @@ var require_prompts2 = __commonJS({
9755
9755
  init_esbuild_shims();
9756
9756
  var $2 = exports2;
9757
9757
  var el = require_elements2();
9758
- var noop2 = /* @__PURE__ */ __name((v2) => v2, "noop");
9758
+ var noop3 = /* @__PURE__ */ __name((v2) => v2, "noop");
9759
9759
  function toPrompt(type, args, opts = {}) {
9760
9760
  return new Promise((res, rej) => {
9761
9761
  const p2 = new el[type](args);
9762
- const onAbort = opts.onAbort || noop2;
9763
- const onSubmit = opts.onSubmit || noop2;
9764
- const onExit = opts.onExit || noop2;
9765
- p2.on("state", args.onState || noop2);
9762
+ const onAbort = opts.onAbort || noop3;
9763
+ const onSubmit = opts.onSubmit || noop3;
9764
+ const onExit = opts.onExit || noop3;
9765
+ p2.on("state", args.onState || noop3);
9766
9766
  p2.on("submit", (x) => res(onSubmit(x)));
9767
9767
  p2.on("exit", (x) => res(onExit(x)));
9768
9768
  p2.on("abort", (x) => rej(onAbort(x)));
@@ -9823,9 +9823,9 @@ var require_lib = __commonJS({
9823
9823
  init_esbuild_shims();
9824
9824
  var prompts2 = require_prompts2();
9825
9825
  var passOn = ["suggest", "format", "onState", "validate", "onRender", "type"];
9826
- var noop2 = /* @__PURE__ */ __name(() => {
9826
+ var noop3 = /* @__PURE__ */ __name(() => {
9827
9827
  }, "noop");
9828
- async function prompt(questions = [], { onSubmit = noop2, onCancel = noop2 } = {}) {
9828
+ async function prompt(questions = [], { onSubmit = noop3, onCancel = noop3 } = {}) {
9829
9829
  const answers = {};
9830
9830
  const override2 = prompt._override || {};
9831
9831
  questions = [].concat(questions);
@@ -34758,7 +34758,7 @@ var LlmChat = class {
34758
34758
  const degradeAttempt = omniMediaDegradeAttempts++;
34759
34759
  let degradeOutcome;
34760
34760
  try {
34761
- const { degradeOmniMediaAfterServerReject } = await import("./reactive-degrade-2UHNPYQG.js");
34761
+ const { degradeOmniMediaAfterServerReject } = await import("./reactive-degrade-R7SJ2NH6.js");
34762
34762
  degradeOutcome = await degradeOmniMediaAfterServerReject(
34763
34763
  self2.config,
34764
34764
  self2.history,
@@ -42743,10 +42743,10 @@ function walkCompoundCommand(command, cwd, depth, initialCwdUnknown) {
42743
42743
  __name(walkCompoundCommand, "walkCompoundCommand");
42744
42744
  function hasAbsolutePathTokenForOperation(command, cwd, filePath) {
42745
42745
  for (const token of tokenize2(command)) {
42746
- const redirectTarget2 = token.match(
42746
+ const redirectTarget3 = token.match(
42747
42747
  /^(?:1>>|1>|>>|>|2>>|2>|&>>|&>|<)([\s\S]+)$/
42748
42748
  )?.[1];
42749
- const candidate = redirectTarget2 ?? token;
42749
+ const candidate = redirectTarget3 ?? token;
42750
42750
  if (looksLikePath(candidate) && isShellAbsolutePath(candidate) && resolvePath2(candidate, cwd) === filePath) {
42751
42751
  return true;
42752
42752
  }
@@ -77492,7 +77492,7 @@ var CoreToolScheduler = class _CoreToolScheduler {
77492
77492
  const notices = [];
77493
77493
  let omniProcessed = responseParts;
77494
77494
  if (this.config.isOmniEnabled?.()) {
77495
- const { processToolResultOmniMedia } = await import("./tool-result-media-EFRG36K3.js");
77495
+ const { processToolResultOmniMedia } = await import("./tool-result-media-MXVFMVH2.js");
77496
77496
  omniProcessed = await processToolResultOmniMedia(
77497
77497
  responseParts,
77498
77498
  this.config,
@@ -80665,7 +80665,7 @@ ${body}
80665
80665
  artifacts: toolResult.artifacts
80666
80666
  } : void 0;
80667
80667
  if (policyArtifacts && policyArtifacts.executionOrigin.kind !== "fixed_policy" && scheduledCall.tool.mediaPolicyDescriptor) {
80668
- const { collectModelPolicyCall } = await import("./model-call-collection-ZJ44DP57.js");
80668
+ const { collectModelPolicyCall } = await import("./model-call-collection-CER6UKZQ.js");
80669
80669
  await collectModelPolicyCall({
80670
80670
  config: this.config,
80671
80671
  batch: policyArtifacts,
@@ -104908,7 +104908,7 @@ init_esbuild_shims();
104908
104908
  // node_modules/@modelcontextprotocol/client/dist/index.mjs
104909
104909
  init_esbuild_shims();
104910
104910
 
104911
- // node_modules/@modelcontextprotocol/client/dist/src-xKF0PJN-.mjs
104911
+ // node_modules/@modelcontextprotocol/client/dist/src-WCy6ifGf.mjs
104912
104912
  init_esbuild_shims();
104913
104913
 
104914
104914
  // node_modules/@modelcontextprotocol/client/dist/chunk-Br0eD_fh.mjs
@@ -105917,7 +105917,7 @@ var OAuthTokenRevocationRequestSchema2 = object({
105917
105917
  token_type_hint: string2().optional()
105918
105918
  }).strip();
105919
105919
 
105920
- // node_modules/@modelcontextprotocol/client/dist/src-xKF0PJN-.mjs
105920
+ // node_modules/@modelcontextprotocol/client/dist/src-WCy6ifGf.mjs
105921
105921
  var BRANDS = Symbol.for("mcp.sdk.errorBrands");
105922
105922
  function stampErrorBrands(instance, ctor) {
105923
105923
  const brands = /* @__PURE__ */ new Set();
@@ -108203,7 +108203,8 @@ function build() {
108203
108203
  ListResourceTemplatesResultResponseSchema: wireResultResponse(ListResourceTemplatesResultSchema$1),
108204
108204
  ReadResourceResultResponseSchema: wireResultResponse(union([ReadResourceResultSchema$1, InputRequiredResultSchema])),
108205
108205
  CompleteResultResponseSchema: wireResultResponse(CompleteResultSchema$1),
108206
- DiscoverResultResponseSchema: wireResultResponse(DiscoverResultSchema$1)
108206
+ DiscoverResultResponseSchema: wireResultResponse(DiscoverResultSchema$1),
108207
+ SubscriptionsListenResultResponseSchema: wireResultResponse(SubscriptionsListenResultSchema$1)
108207
108208
  };
108208
108209
  }
108209
108210
  __name(build, "build");
@@ -108736,6 +108737,10 @@ function isSpecNotificationMethod(method) {
108736
108737
  return ALL_CODECS.some((codec2) => codec2.hasNotificationMethod(method));
108737
108738
  }
108738
108739
  __name(isSpecNotificationMethod, "isSpecNotificationMethod");
108740
+ function isExtensionReusedRequestMethod(method) {
108741
+ return method === "tasks/get" || method === "tasks/cancel";
108742
+ }
108743
+ __name(isExtensionReusedRequestMethod, "isExtensionReusedRequestMethod");
108739
108744
  var ALL_CODECS = [rev2025Codec, rev2026Codec];
108740
108745
  var schemas_exports3 = /* @__PURE__ */ __exportAll({
108741
108746
  AnnotationsSchema: /* @__PURE__ */ __name(() => AnnotationsSchema2, "AnnotationsSchema"),
@@ -109818,6 +109823,8 @@ var Protocol2 = class {
109818
109823
  _transport;
109819
109824
  _requestMessageId = 0;
109820
109825
  _requestHandlers = /* @__PURE__ */ new Map();
109826
+ /** Methods registered with an explicit schema; the era gate in `_onrequest` reads it for the Tasks extension names. */
109827
+ _customSchemaRequestMethods = /* @__PURE__ */ new Set();
109821
109828
  _requestHandlerAbortControllers = /* @__PURE__ */ new Map();
109822
109829
  _notificationHandlers = /* @__PURE__ */ new Map();
109823
109830
  _responseHandlers = /* @__PURE__ */ new Map();
@@ -110101,7 +110108,7 @@ var Protocol2 = class {
110101
110108
  return;
110102
110109
  }
110103
110110
  }
110104
- if (isSpecRequestMethod(request.method) && !codec2.hasRequestMethod(request.method)) {
110111
+ if (isSpecRequestMethod(request.method) && !codec2.hasRequestMethod(request.method) && !(isExtensionReusedRequestMethod(request.method) && this._customSchemaRequestMethods.has(request.method))) {
110105
110112
  sendErrorResponse(ProtocolErrorCode.MethodNotFound, "Method not found");
110106
110113
  return;
110107
110114
  }
@@ -110234,8 +110241,11 @@ var Protocol2 = class {
110234
110241
  }
110235
110242
  request(request, schemaOrOptions, maybeOptions) {
110236
110243
  const codec2 = this._resolveOutboundCodec(request.method);
110244
+ if (isStandardSchema(schemaOrOptions)) {
110245
+ if (!isExtensionReusedRequestMethod(request.method)) this._assertOutboundRequestInEra(codec2, request.method);
110246
+ return this._requestWithSchemaViaCodec(codec2, request, schemaOrOptions, maybeOptions);
110247
+ }
110237
110248
  this._assertOutboundRequestInEra(codec2, request.method);
110238
- if (isStandardSchema(schemaOrOptions)) return this._requestWithSchemaViaCodec(codec2, request, schemaOrOptions, maybeOptions);
110239
110249
  const validate2 = codecResultValidator(codec2, request.method);
110240
110250
  if (validate2 === void 0) throw new TypeError(`'${request.method}' is not a spec method; pass a result schema as the second argument to request().`);
110241
110251
  return this._requestWithSchemaViaCodec(codec2, request, validate2, schemaOrOptions);
@@ -110479,6 +110489,8 @@ var Protocol2 = class {
110479
110489
  return maybeHandler(parsed.data, ctx);
110480
110490
  }, "stored");
110481
110491
  else throw new TypeError("setRequestHandler: handler is required");
110492
+ if (typeof schemasOrHandler === "function") this._customSchemaRequestMethods.delete(method);
110493
+ else this._customSchemaRequestMethods.add(method);
110482
110494
  this._requestHandlers.set(method, this._wrapHandler(method, stored));
110483
110495
  }
110484
110496
  /**
@@ -110508,6 +110520,7 @@ var Protocol2 = class {
110508
110520
  */
110509
110521
  removeRequestHandler(method) {
110510
110522
  this._requestHandlers.delete(method);
110523
+ this._customSchemaRequestMethods.delete(method);
110511
110524
  }
110512
110525
  /**
110513
110526
  * Asserts that a request handler has not already been set for the given method, in preparation for a new one being automatically installed.
@@ -110797,6 +110810,72 @@ function createFetchWithInit2(baseFetch = fetch, baseInit) {
110797
110810
  };
110798
110811
  }
110799
110812
  __name(createFetchWithInit2, "createFetchWithInit");
110813
+ var REDIRECT_STATUSES2 = /* @__PURE__ */ new Set([
110814
+ 301,
110815
+ 302,
110816
+ 303,
110817
+ 307,
110818
+ 308
110819
+ ]);
110820
+ var MAX_REDIRECTS2 = 5;
110821
+ function isWithinOrigin2(from, to2) {
110822
+ if (from.protocol === to2.protocol && from.host === to2.host) return true;
110823
+ return from.protocol === "http:" && to2.protocol === "https:" && from.hostname === to2.hostname && !from.port && !to2.port;
110824
+ }
110825
+ __name(isWithinOrigin2, "isWithinOrigin");
110826
+ function redirectTarget2(url2, response) {
110827
+ const location = REDIRECT_STATUSES2.has(response.status) ? response.headers?.get("location") : void 0;
110828
+ if (!location) return void 0;
110829
+ try {
110830
+ return new URL(location, url2);
110831
+ } catch {
110832
+ return;
110833
+ }
110834
+ }
110835
+ __name(redirectTarget2, "redirectTarget");
110836
+ var leftToFetch = /* @__PURE__ */ new WeakSet();
110837
+ function fetchLeavingRedirects2(baseFetch) {
110838
+ const copy = /* @__PURE__ */ __name((url2, init) => baseFetch(url2, init), "copy");
110839
+ leftToFetch.add(copy);
110840
+ return copy;
110841
+ }
110842
+ __name(fetchLeavingRedirects2, "fetchLeavingRedirects");
110843
+ function fetchWithinOrigin2(baseFetch) {
110844
+ if (leftToFetch.has(baseFetch)) return baseFetch;
110845
+ return async (url2, init) => {
110846
+ if (init?.redirect === "error" || init?.redirect === "manual") return baseFetch(url2, init);
110847
+ const method = (init?.method ?? "GET").toUpperCase();
110848
+ let current = url2;
110849
+ for (let followed = 0; ; followed++) {
110850
+ const response = await baseFetch(current, {
110851
+ ...init,
110852
+ redirect: "manual"
110853
+ });
110854
+ const target = redirectTarget2(current, response);
110855
+ if (!target || followed === MAX_REDIRECTS2) return response;
110856
+ const from = new URL(current);
110857
+ const keepsMethod = method === "GET" || response.status === 307 || response.status === 308;
110858
+ const keepsUserinfo = !(target.username || target.password) || target.username === from.username && target.password === from.password;
110859
+ if (!keepsMethod || !keepsUserinfo || !isWithinOrigin2(from, target)) return response;
110860
+ await response.text?.().catch(() => {
110861
+ });
110862
+ current = target;
110863
+ }
110864
+ };
110865
+ }
110866
+ __name(fetchWithinOrigin2, "fetchWithinOrigin");
110867
+ function unfollowedRedirect2(url2, response) {
110868
+ if (response.type === "opaqueredirect") return "Redirect not followed: this runtime does not expose where it points";
110869
+ const target = redirectTarget2(response.url || url2, response);
110870
+ if (!target) return void 0;
110871
+ target.username = target.password = target.search = target.hash = "";
110872
+ if (target.protocol === "http:" && new URL(response.url || url2).protocol === "https:") {
110873
+ target.protocol = "https:";
110874
+ return `Redirect from https to plain http not followed; try ${target.href} as the endpoint`;
110875
+ }
110876
+ return `Redirect to ${target.href} not followed; use that URL as the endpoint if it is the intended server`;
110877
+ }
110878
+ __name(unfollowedRedirect2, "unfollowedRedirect");
110800
110879
 
110801
110880
  // node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs
110802
110881
  init_esbuild_shims();
@@ -118540,6 +118619,228 @@ function getBaseURL() {
118540
118619
  }
118541
118620
  __name(getBaseURL, "getBaseURL");
118542
118621
 
118622
+ // node_modules/@modelcontextprotocol/client/node_modules/eventsource-parser/dist/stream.js
118623
+ init_esbuild_shims();
118624
+
118625
+ // node_modules/@modelcontextprotocol/client/node_modules/eventsource-parser/dist/index.js
118626
+ init_esbuild_shims();
118627
+ var ParseError2 = class extends Error {
118628
+ static {
118629
+ __name(this, "ParseError");
118630
+ }
118631
+ constructor(message, options2) {
118632
+ super(message), this.name = "ParseError", this.type = options2.type, this.field = options2.field, this.value = options2.value, this.line = options2.line;
118633
+ }
118634
+ };
118635
+ var LF = 10;
118636
+ var CR = 13;
118637
+ var SPACE = 32;
118638
+ function noop2(_arg) {
118639
+ }
118640
+ __name(noop2, "noop");
118641
+ function createParser2(config2) {
118642
+ if (typeof config2 == "function")
118643
+ throw new TypeError(
118644
+ "`config` must be an object, got a function instead. Did you mean `createParser({onEvent: fn})`?"
118645
+ );
118646
+ const { onEvent = noop2, onError = noop2, onRetry = noop2, onComment, maxBufferSize } = config2, pendingFragments = [];
118647
+ let pendingFragmentsLength = 0, isFirstChunk = true, id, data = "", dataLines = 0, eventType, terminated = false;
118648
+ function feed(chunk) {
118649
+ if (terminated)
118650
+ throw new Error(
118651
+ "Cannot feed parser: it was terminated after exceeding the configured max buffer size. Call `reset()` to resume parsing."
118652
+ );
118653
+ if (isFirstChunk && (isFirstChunk = false, chunk.charCodeAt(0) === 239 && chunk.charCodeAt(1) === 187 && chunk.charCodeAt(2) === 191 && (chunk = chunk.slice(3))), pendingFragments.length === 0) {
118654
+ const trailing2 = processLines(chunk);
118655
+ trailing2 !== "" && (pendingFragments.push(trailing2), pendingFragmentsLength = trailing2.length), checkBufferSize();
118656
+ return;
118657
+ }
118658
+ if (chunk.indexOf(`
118659
+ `) === -1 && chunk.indexOf("\r") === -1) {
118660
+ pendingFragments.push(chunk), pendingFragmentsLength += chunk.length, checkBufferSize();
118661
+ return;
118662
+ }
118663
+ pendingFragments.push(chunk);
118664
+ const input2 = pendingFragments.join("");
118665
+ pendingFragments.length = 0, pendingFragmentsLength = 0;
118666
+ const trailing = processLines(input2);
118667
+ trailing !== "" && (pendingFragments.push(trailing), pendingFragmentsLength = trailing.length), checkBufferSize();
118668
+ }
118669
+ __name(feed, "feed");
118670
+ function checkBufferSize() {
118671
+ maxBufferSize !== void 0 && (pendingFragmentsLength + data.length <= maxBufferSize || (terminated = true, pendingFragments.length = 0, pendingFragmentsLength = 0, id = void 0, data = "", dataLines = 0, eventType = void 0, onError(
118672
+ new ParseError2(`Buffered data exceeded max buffer size of ${maxBufferSize} characters`, {
118673
+ type: "max-buffer-size-exceeded"
118674
+ })
118675
+ )));
118676
+ }
118677
+ __name(checkBufferSize, "checkBufferSize");
118678
+ function processLines(chunk) {
118679
+ let searchIndex = 0;
118680
+ if (chunk.indexOf("\r") === -1) {
118681
+ let lfIndex = chunk.indexOf(`
118682
+ `, searchIndex);
118683
+ for (; lfIndex !== -1; ) {
118684
+ if (searchIndex === lfIndex) {
118685
+ dataLines > 0 && onEvent({ id, event: eventType, data }), id = void 0, data = "", dataLines = 0, eventType = void 0, searchIndex = lfIndex + 1, lfIndex = chunk.indexOf(`
118686
+ `, searchIndex);
118687
+ continue;
118688
+ }
118689
+ const firstCharCode = chunk.charCodeAt(searchIndex);
118690
+ if (isDataPrefix(chunk, searchIndex, firstCharCode)) {
118691
+ const valueStart = chunk.charCodeAt(searchIndex + 5) === SPACE ? searchIndex + 6 : searchIndex + 5, value = chunk.slice(valueStart, lfIndex);
118692
+ if (dataLines === 0 && chunk.charCodeAt(lfIndex + 1) === LF) {
118693
+ onEvent({ id, event: eventType, data: value }), id = void 0, data = "", eventType = void 0, searchIndex = lfIndex + 2, lfIndex = chunk.indexOf(`
118694
+ `, searchIndex);
118695
+ continue;
118696
+ }
118697
+ data = dataLines === 0 ? value : `${data}
118698
+ ${value}`, dataLines++;
118699
+ } else isEventPrefix(chunk, searchIndex, firstCharCode) ? eventType = chunk.slice(
118700
+ chunk.charCodeAt(searchIndex + 6) === SPACE ? searchIndex + 7 : searchIndex + 6,
118701
+ lfIndex
118702
+ ) || void 0 : parseLine(chunk, searchIndex, lfIndex);
118703
+ searchIndex = lfIndex + 1, lfIndex = chunk.indexOf(`
118704
+ `, searchIndex);
118705
+ }
118706
+ return chunk.slice(searchIndex);
118707
+ }
118708
+ for (; searchIndex < chunk.length; ) {
118709
+ const crIndex = chunk.indexOf("\r", searchIndex), lfIndex = chunk.indexOf(`
118710
+ `, searchIndex);
118711
+ let lineEnd = -1;
118712
+ if (crIndex !== -1 && lfIndex !== -1 ? lineEnd = crIndex < lfIndex ? crIndex : lfIndex : crIndex !== -1 ? crIndex === chunk.length - 1 ? lineEnd = -1 : lineEnd = crIndex : lfIndex !== -1 && (lineEnd = lfIndex), lineEnd === -1)
118713
+ break;
118714
+ parseLine(chunk, searchIndex, lineEnd), searchIndex = lineEnd + 1, chunk.charCodeAt(searchIndex - 1) === CR && chunk.charCodeAt(searchIndex) === LF && searchIndex++;
118715
+ }
118716
+ return chunk.slice(searchIndex);
118717
+ }
118718
+ __name(processLines, "processLines");
118719
+ function parseLine(chunk, start, end) {
118720
+ if (start === end) {
118721
+ dispatchEvent();
118722
+ return;
118723
+ }
118724
+ const firstCharCode = chunk.charCodeAt(start);
118725
+ if (isDataPrefix(chunk, start, firstCharCode)) {
118726
+ const valueStart = chunk.charCodeAt(start + 5) === SPACE ? start + 6 : start + 5, value2 = chunk.slice(valueStart, end);
118727
+ data = dataLines === 0 ? value2 : `${data}
118728
+ ${value2}`, dataLines++;
118729
+ return;
118730
+ }
118731
+ if (isEventPrefix(chunk, start, firstCharCode)) {
118732
+ eventType = chunk.slice(chunk.charCodeAt(start + 6) === SPACE ? start + 7 : start + 6, end) || void 0;
118733
+ return;
118734
+ }
118735
+ if (firstCharCode === 105 && chunk.charCodeAt(start + 1) === 100 && chunk.charCodeAt(start + 2) === 58) {
118736
+ const value2 = chunk.slice(chunk.charCodeAt(start + 3) === SPACE ? start + 4 : start + 3, end);
118737
+ value2.includes("\0") || (id = value2);
118738
+ return;
118739
+ }
118740
+ if (firstCharCode === 58) {
118741
+ if (onComment) {
118742
+ const line2 = chunk.slice(start, end);
118743
+ onComment(line2.slice(chunk.charCodeAt(start + 1) === SPACE ? 2 : 1));
118744
+ }
118745
+ return;
118746
+ }
118747
+ const line = chunk.slice(start, end), fieldSeparatorIndex = line.indexOf(":");
118748
+ if (fieldSeparatorIndex === -1) {
118749
+ processField(line, "", line);
118750
+ return;
118751
+ }
118752
+ const field = line.slice(0, fieldSeparatorIndex), offset = line.charCodeAt(fieldSeparatorIndex + 1) === SPACE ? 2 : 1, value = line.slice(fieldSeparatorIndex + offset);
118753
+ processField(field, value, line);
118754
+ }
118755
+ __name(parseLine, "parseLine");
118756
+ function processField(field, value, line) {
118757
+ switch (field) {
118758
+ case "event":
118759
+ eventType = value || void 0;
118760
+ break;
118761
+ case "data":
118762
+ data = dataLines === 0 ? value : `${data}
118763
+ ${value}`, dataLines++;
118764
+ break;
118765
+ case "id":
118766
+ value.includes("\0") || (id = value);
118767
+ break;
118768
+ case "retry":
118769
+ /^\d+$/.test(value) ? onRetry(parseInt(value, 10)) : onError(
118770
+ new ParseError2(`Invalid \`retry\` value: "${value}"`, {
118771
+ type: "invalid-retry",
118772
+ value,
118773
+ line
118774
+ })
118775
+ );
118776
+ break;
118777
+ default:
118778
+ onError(
118779
+ new ParseError2(
118780
+ `Unknown field "${field.length > 20 ? `${field.slice(0, 20)}\u2026` : field}"`,
118781
+ { type: "unknown-field", field, value, line }
118782
+ )
118783
+ );
118784
+ break;
118785
+ }
118786
+ }
118787
+ __name(processField, "processField");
118788
+ function dispatchEvent() {
118789
+ dataLines > 0 && onEvent({
118790
+ id,
118791
+ event: eventType,
118792
+ data
118793
+ }), id = void 0, data = "", dataLines = 0, eventType = void 0;
118794
+ }
118795
+ __name(dispatchEvent, "dispatchEvent");
118796
+ function reset(options2 = {}) {
118797
+ if (options2.consume && pendingFragments.length > 0) {
118798
+ const incompleteLine = pendingFragments.join("");
118799
+ parseLine(incompleteLine, 0, incompleteLine.length);
118800
+ }
118801
+ isFirstChunk = true, id = void 0, data = "", dataLines = 0, eventType = void 0, pendingFragments.length = 0, pendingFragmentsLength = 0, terminated = false;
118802
+ }
118803
+ __name(reset, "reset");
118804
+ return { feed, reset };
118805
+ }
118806
+ __name(createParser2, "createParser");
118807
+ function isDataPrefix(chunk, i, firstCharCode) {
118808
+ return firstCharCode === 100 && chunk.charCodeAt(i + 1) === 97 && chunk.charCodeAt(i + 2) === 116 && chunk.charCodeAt(i + 3) === 97 && chunk.charCodeAt(i + 4) === 58;
118809
+ }
118810
+ __name(isDataPrefix, "isDataPrefix");
118811
+ function isEventPrefix(chunk, i, firstCharCode) {
118812
+ return firstCharCode === 101 && chunk.charCodeAt(i + 1) === 118 && chunk.charCodeAt(i + 2) === 101 && chunk.charCodeAt(i + 3) === 110 && chunk.charCodeAt(i + 4) === 116 && chunk.charCodeAt(i + 5) === 58;
118813
+ }
118814
+ __name(isEventPrefix, "isEventPrefix");
118815
+
118816
+ // node_modules/@modelcontextprotocol/client/node_modules/eventsource-parser/dist/stream.js
118817
+ var EventSourceParserStream2 = class extends TransformStream {
118818
+ static {
118819
+ __name(this, "EventSourceParserStream");
118820
+ }
118821
+ constructor({ onError, onRetry, onComment, maxBufferSize } = {}) {
118822
+ let parser2;
118823
+ super({
118824
+ start(controller) {
118825
+ parser2 = createParser2({
118826
+ onEvent: /* @__PURE__ */ __name((event) => {
118827
+ controller.enqueue(event);
118828
+ }, "onEvent"),
118829
+ onError(error62) {
118830
+ typeof onError == "function" && onError(error62), (onError === "terminate" || error62.type === "max-buffer-size-exceeded") && controller.error(error62);
118831
+ },
118832
+ onRetry,
118833
+ onComment,
118834
+ maxBufferSize
118835
+ });
118836
+ },
118837
+ transform(chunk) {
118838
+ parser2.feed(chunk);
118839
+ }
118840
+ });
118841
+ }
118842
+ };
118843
+
118543
118844
  // node_modules/@modelcontextprotocol/client/dist/index.mjs
118544
118845
  var OAuthClientFlowError = class extends Error {
118545
118846
  static {
@@ -119155,12 +119456,13 @@ async function discoverOAuthProtectedResourceMetadata2(serverUrl, opts, fetchFn
119155
119456
  }
119156
119457
  __name(discoverOAuthProtectedResourceMetadata2, "discoverOAuthProtectedResourceMetadata");
119157
119458
  async function fetchWithCorsRetry2(url2, headers, fetchFn = fetch) {
119459
+ const withinOrigin = fetchWithinOrigin2(fetchFn);
119158
119460
  try {
119159
- return await fetchFn(url2, { headers });
119461
+ return await withinOrigin(url2, { headers });
119160
119462
  } catch (error62) {
119161
119463
  if (!(error62 instanceof TypeError) || !CORS_IS_POSSIBLE) throw error62;
119162
119464
  if (headers) try {
119163
- return await fetchFn(url2, {});
119465
+ return await withinOrigin(url2, {});
119164
119466
  } catch (retryError) {
119165
119467
  if (!(retryError instanceof TypeError)) throw retryError;
119166
119468
  return;
@@ -119181,7 +119483,7 @@ __name(tryMetadataDiscovery2, "tryMetadataDiscovery");
119181
119483
  function shouldAttemptFallback2(response, pathname) {
119182
119484
  if (!response) return true;
119183
119485
  if (pathname === "/") return false;
119184
- return response.status >= 400 && response.status < 500 || response.status === 502;
119486
+ return !response.ok && response.status < 500 || response.status === 502;
119185
119487
  }
119186
119488
  __name(shouldAttemptFallback2, "shouldAttemptFallback");
119187
119489
  async function discoverMetadataWithFallback2(serverUrl, wellKnownType, fetchFn, opts) {
@@ -119241,7 +119543,7 @@ async function discoverAuthorizationServerMetadata2(authorizationServerUrl, { fe
119241
119543
  if (!response.ok) {
119242
119544
  await response.text?.().catch(() => {
119243
119545
  });
119244
- if (response.status >= 400 && response.status < 500 || response.status === 502) continue;
119546
+ if (response.status < 500 || response.status === 502) continue;
119245
119547
  throw new Error(`HTTP ${response.status} trying to load ${type === "oauth" ? "OAuth" : "OpenID provider"} metadata from ${endpointUrl}`);
119246
119548
  }
119247
119549
  const parsed = type === "oauth" ? OAuthMetadataSchema2.parse(await response.json()) : OpenIdProviderDiscoveryMetadataSchema2.parse(await response.json());
@@ -119327,7 +119629,7 @@ async function executeTokenRequest2(authorizationServerUrl, { metadata, tokenReq
119327
119629
  htm: "POST",
119328
119630
  htu: tokenUrl
119329
119631
  }));
119330
- return (fetchFn ?? fetch)(tokenUrl, {
119632
+ return fetchWithinOrigin2(fetchFn ?? fetch)(tokenUrl, {
119331
119633
  method: "POST",
119332
119634
  headers: requestHeaders,
119333
119635
  body: tokenRequestParams
@@ -119414,7 +119716,7 @@ async function registerClient2(authorizationServerUrl, { metadata, clientMetadat
119414
119716
  ...clientMetadata,
119415
119717
  ...scope === void 0 ? {} : { scope }
119416
119718
  };
119417
- const response = await (fetchFn ?? fetch)(registrationUrl, {
119719
+ const response = await fetchWithinOrigin2(fetchFn ?? fetch)(registrationUrl, {
119418
119720
  method: "POST",
119419
119721
  headers: { "Content-Type": "application/json" },
119420
119722
  body: JSON.stringify(submittedMetadata)
@@ -119931,6 +120233,11 @@ function classifyProbeOutcome(outcome, context2) {
119931
120233
  return classifyHttpError(outcome, context2);
119932
120234
  case "network-error":
119933
120235
  return classifyNetworkError(outcome.error, context2);
120236
+ case "unusable-reply":
120237
+ return {
120238
+ kind: "error",
120239
+ error: new SdkError(SdkErrorCode.EraNegotiationFailed, `Version negotiation probe failed: the server answered with an unusable reply (${describeError2(outcome.error)})`, { cause: outcome.error }, { cause: outcome.error })
120240
+ };
119934
120241
  case "auth-required":
119935
120242
  return {
119936
120243
  kind: "error",
@@ -120239,6 +120546,11 @@ function buildProbeRequest(id, protocolVersion, clientInfo, capabilities) {
120239
120546
  };
120240
120547
  }
120241
120548
  __name(buildProbeRequest, "buildProbeRequest");
120549
+ function isUnusableReplyError(error62) {
120550
+ if (error62 instanceof SdkError && error62.code === SdkErrorCode.ClientHttpUnexpectedContent) return true;
120551
+ return error62 instanceof Error && error62.name === "SyntaxError";
120552
+ }
120553
+ __name(isUnusableReplyError, "isUnusableReplyError");
120242
120554
  function normalizeReply(reply, timeoutMs) {
120243
120555
  switch (reply.kind) {
120244
120556
  case "response":
@@ -120264,6 +120576,10 @@ function normalizeReply(reply, timeoutMs) {
120264
120576
  statusText: error62.data.statusText
120265
120577
  };
120266
120578
  }
120579
+ if (isUnusableReplyError(error62)) return {
120580
+ kind: "unusable-reply",
120581
+ error: error62
120582
+ };
120267
120583
  return {
120268
120584
  kind: "network-error",
120269
120585
  error: error62
@@ -121906,6 +122222,7 @@ var SSEClientTransport = class {
121906
122222
  _skipIssuerMetadataValidation;
121907
122223
  _fetch;
121908
122224
  _fetchWithInit;
122225
+ _redirectPolicy;
121909
122226
  _dpop;
121910
122227
  _protocolVersion;
121911
122228
  onclose;
@@ -121927,9 +122244,21 @@ var SSEClientTransport = class {
121927
122244
  this._fetch = this._dpop(opts.fetch ?? fetch);
121928
122245
  }
121929
122246
  } else this._authProvider = opts?.authProvider;
122247
+ this._redirectPolicy = opts?.redirectPolicy;
121930
122248
  this._fetchWithInit = createFetchWithInit2(opts?.fetch, opts?.requestInit);
122249
+ if (this._redirectPolicy === "follow") this._fetchWithInit = fetchLeavingRedirects2(this._fetchWithInit);
121931
122250
  }
121932
122251
  _last401Response;
122252
+ _connectAuthRetried = false;
122253
+ /** `baseFetch` with redirects handled as `redirectPolicy` says. */
122254
+ _redirects(baseFetch) {
122255
+ return this._redirectPolicy === "follow" ? baseFetch : fetchWithinOrigin2(baseFetch);
122256
+ }
122257
+ /** Error text for a redirect `response` that was not followed, or `undefined` for any other response. */
122258
+ _unfollowedRedirect(url2, response) {
122259
+ const text = this._redirectPolicy === "follow" ? void 0 : unfollowedRedirect2(url2, response);
122260
+ return text && `${text} (redirectPolicy: 'same-origin')`;
122261
+ }
121933
122262
  async _commonHeaders() {
121934
122263
  const headers = new Headers(this._requestInit?.headers || void 0);
121935
122264
  let token;
@@ -121944,7 +122273,8 @@ var SSEClientTransport = class {
121944
122273
  }
121945
122274
  _startOrAuth() {
121946
122275
  const eventSourceFetch = this._eventSourceInit?.fetch;
121947
- const fetchImpl = eventSourceFetch ? this._dpop?.(eventSourceFetch) ?? eventSourceFetch : this._fetch ?? fetch;
122276
+ const fetchImpl = this._redirects(eventSourceFetch ? this._dpop?.(eventSourceFetch) ?? eventSourceFetch : this._fetch ?? fetch);
122277
+ let redirect;
121948
122278
  return new Promise((resolve34, reject) => {
121949
122279
  this._eventSource = new EventSource(this._url.href, {
121950
122280
  ...this._eventSourceInit,
@@ -121955,6 +122285,7 @@ var SSEClientTransport = class {
121955
122285
  ...init,
121956
122286
  headers
121957
122287
  });
122288
+ redirect = this._unfollowedRedirect(url2, response);
121958
122289
  if (response.status === 401) {
121959
122290
  this._last401Response = response;
121960
122291
  if (response.headers.has("www-authenticate")) {
@@ -121969,31 +122300,41 @@ var SSEClientTransport = class {
121969
122300
  this._abortController = new AbortController();
121970
122301
  this._eventSource.onerror = (event) => {
121971
122302
  if (event.code === 401 && this._authProvider) {
121972
- if (this._authProvider.onUnauthorized && this._last401Response) {
122303
+ if (this._authProvider.onUnauthorized && this._last401Response && !this._connectAuthRetried) {
121973
122304
  const response = this._last401Response;
121974
122305
  this._last401Response = void 0;
122306
+ this._connectAuthRetried = true;
121975
122307
  this._eventSource?.close();
121976
122308
  this._authProvider.onUnauthorized({
121977
122309
  response,
121978
122310
  serverUrl: this._url,
121979
122311
  fetchFn: this._fetchWithInit
121980
122312
  }).then(() => this._startOrAuth().then(resolve34, reject), (error$2) => {
122313
+ this._connectAuthRetried = false;
121981
122314
  markAuthSeamEscape(error$2);
121982
122315
  this.onerror?.(error$2);
121983
122316
  reject(error$2);
121984
122317
  });
121985
122318
  return;
121986
122319
  }
121987
- const error$1 = markAuthSeamEscape(new UnauthorizedError3());
122320
+ const retried = this._connectAuthRetried;
122321
+ this._connectAuthRetried = false;
122322
+ const error$1 = markAuthSeamEscape(retried ? new SdkHttpError(SdkErrorCode.ClientHttpAuthentication, "Server returned 401 after re-authentication", {
122323
+ status: 401,
122324
+ statusText: this._last401Response?.statusText ?? ""
122325
+ }) : new UnauthorizedError3());
122326
+ this._last401Response = void 0;
121988
122327
  reject(error$1);
121989
122328
  this.onerror?.(error$1);
121990
122329
  return;
121991
122330
  }
121992
- const error62 = new SseError(event.code, event.message, event);
122331
+ this._connectAuthRetried = false;
122332
+ const error62 = new SseError(event.code, redirect ?? event.message, event);
121993
122333
  reject(error62);
121994
122334
  this.onerror?.(error62);
121995
122335
  };
121996
122336
  this._eventSource.onopen = () => {
122337
+ this._connectAuthRetried = false;
121997
122338
  };
121998
122339
  this._eventSource.addEventListener("endpoint", (event) => {
121999
122340
  const messageEvent = event;
@@ -122061,7 +122402,7 @@ var SSEClientTransport = class {
122061
122402
  body: JSON.stringify(message),
122062
122403
  signal: this._abortController?.signal
122063
122404
  };
122064
- const response = await (this._fetch ?? fetch)(this._endpoint, init);
122405
+ const response = await this._redirects(this._fetch ?? fetch)(this._endpoint, init);
122065
122406
  if (!response.ok) {
122066
122407
  if (response.status === 401 && this._authProvider) {
122067
122408
  if (response.headers.has("www-authenticate")) {
@@ -122092,7 +122433,7 @@ var SSEClientTransport = class {
122092
122433
  throw markAuthSeamEscape(new UnauthorizedError3());
122093
122434
  }
122094
122435
  const text = await response.text?.().catch(() => null);
122095
- throw new Error(`Error POSTing to endpoint (HTTP ${response.status}): ${text}`);
122436
+ throw new Error(`Error POSTing to endpoint (HTTP ${response.status}): ${this._unfollowedRedirect(this._endpoint, response) ?? text}`);
122096
122437
  }
122097
122438
  await response.text?.().catch(() => {
122098
122439
  });
@@ -122159,6 +122500,7 @@ var StreamableHTTPClientTransport2 = class {
122159
122500
  _skipIssuerMetadataValidation;
122160
122501
  _fetch;
122161
122502
  _fetchWithInit;
122503
+ _redirectPolicy;
122162
122504
  _sessionId;
122163
122505
  _reconnectionOptions;
122164
122506
  _protocolVersion;
@@ -122189,7 +122531,9 @@ var StreamableHTTPClientTransport2 = class {
122189
122531
  this._authProvider = adaptOAuthProvider(opts.authProvider, { skipIssuerMetadataValidation: opts.skipIssuerMetadataValidation });
122190
122532
  if (opts.authProvider.dpop) this._fetch = withDpopFromProvider(opts.authProvider)(opts.fetch ?? fetch);
122191
122533
  } else this._authProvider = opts?.authProvider;
122534
+ this._redirectPolicy = opts?.redirectPolicy;
122192
122535
  this._fetchWithInit = createFetchWithInit2(opts?.fetch, opts?.requestInit);
122536
+ if (this._redirectPolicy === "follow") this._fetchWithInit = fetchLeavingRedirects2(this._fetchWithInit);
122193
122537
  this._sessionId = opts?.sessionId;
122194
122538
  this._protocolVersion = opts?.protocolVersion;
122195
122539
  this._reconnectionOptions = opts?.reconnectionOptions ?? DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS2;
@@ -122241,6 +122585,15 @@ var StreamableHTTPClientTransport2 = class {
122241
122585
  skipIssuerMetadataValidation: this._skipIssuerMetadataValidation
122242
122586
  });
122243
122587
  }
122588
+ /** `baseFetch` with redirects handled as `redirectPolicy` says. */
122589
+ _redirects(baseFetch) {
122590
+ return this._redirectPolicy === "follow" ? baseFetch : fetchWithinOrigin2(baseFetch);
122591
+ }
122592
+ /** Error text for a redirect `response` that was not followed, or `undefined` for any other response. */
122593
+ _unfollowedRedirect(url2, response) {
122594
+ const text = this._redirectPolicy === "follow" ? void 0 : unfollowedRedirect2(url2, response);
122595
+ return text && `${text} (redirectPolicy: 'same-origin')`;
122596
+ }
122244
122597
  async _commonHeaders() {
122245
122598
  const headers = new Headers(this._requestInit?.headers || void 0);
122246
122599
  let token;
@@ -122292,7 +122645,7 @@ var StreamableHTTPClientTransport2 = class {
122292
122645
  if (resumptionToken) headers.set("last-event-id", resumptionToken);
122293
122646
  const transportSignal = this._abortController?.signal;
122294
122647
  const signal = requestSignal !== void 0 && transportSignal !== void 0 ? anySignal(transportSignal, requestSignal) : requestSignal ?? transportSignal;
122295
- const response = await (this._fetch ?? fetch)(this._url, {
122648
+ const response = await this._redirects(this._fetch ?? fetch)(this._url, {
122296
122649
  ...this._requestInit,
122297
122650
  method: "GET",
122298
122651
  headers,
@@ -122347,7 +122700,8 @@ var StreamableHTTPClientTransport2 = class {
122347
122700
  options2.onRequestStreamEnd?.();
122348
122701
  return;
122349
122702
  }
122350
- throw new SdkHttpError(SdkErrorCode.ClientHttpFailedToOpenStream, `Failed to open SSE stream: ${response.statusText}`, {
122703
+ const reason = this._unfollowedRedirect(this._url, response) ?? response.statusText;
122704
+ throw new SdkHttpError(SdkErrorCode.ClientHttpFailedToOpenStream, `Failed to open SSE stream: ${reason}`, {
122351
122705
  status: response.status,
122352
122706
  statusText: response.statusText
122353
122707
  });
@@ -122418,7 +122772,7 @@ var StreamableHTTPClientTransport2 = class {
122418
122772
  let receivedResponse = false;
122419
122773
  const processStream = /* @__PURE__ */ __name(async () => {
122420
122774
  try {
122421
- const reader = stream.pipeThrough(new TextDecoderStream()).pipeThrough(new EventSourceParserStream({ onRetry: /* @__PURE__ */ __name((retryMs) => {
122775
+ const reader = stream.pipeThrough(new TextDecoderStream()).pipeThrough(new EventSourceParserStream2({ onRetry: /* @__PURE__ */ __name((retryMs) => {
122422
122776
  this._serverRetryMs = retryMs;
122423
122777
  }, "onRetry") })).getReader();
122424
122778
  while (true) {
@@ -122536,7 +122890,7 @@ var StreamableHTTPClientTransport2 = class {
122536
122890
  body: JSON.stringify(message),
122537
122891
  signal
122538
122892
  };
122539
- const response = await (this._fetch ?? fetch)(this._url, init);
122893
+ const response = await this._redirects(this._fetch ?? fetch)(this._url, init);
122540
122894
  if (isHandshake && response.ok) this._sessionId = response.headers.get("mcp-session-id") || void 0;
122541
122895
  if (!response.ok) {
122542
122896
  if (response.status === 401 && this._authProvider) {
@@ -122590,7 +122944,8 @@ var StreamableHTTPClientTransport2 = class {
122590
122944
  }
122591
122945
  } catch {
122592
122946
  }
122593
- throw new SdkHttpError(SdkErrorCode.ClientHttpNotImplemented, `Error POSTing to endpoint: ${text}`, {
122947
+ const reason = this._unfollowedRedirect(this._url, response) ?? text;
122948
+ throw new SdkHttpError(SdkErrorCode.ClientHttpNotImplemented, `Error POSTing to endpoint: ${reason}`, {
122594
122949
  status: response.status,
122595
122950
  statusText: response.statusText,
122596
122951
  text
@@ -122650,10 +123005,10 @@ var StreamableHTTPClientTransport2 = class {
122650
123005
  headers,
122651
123006
  signal: this._abortController?.signal
122652
123007
  };
122653
- const response = await (this._fetch ?? fetch)(this._url, init);
123008
+ const response = await this._redirects(this._fetch ?? fetch)(this._url, init);
122654
123009
  await response.text?.().catch(() => {
122655
123010
  });
122656
- if (!response.ok && response.status !== 405) throw new SdkHttpError(SdkErrorCode.ClientHttpFailedToTerminateSession, `Failed to terminate session: ${response.statusText}`, {
123011
+ if (!response.ok && response.status !== 405) throw new SdkHttpError(SdkErrorCode.ClientHttpFailedToTerminateSession, `Failed to terminate session: ${this._unfollowedRedirect(this._url, response) ?? response.statusText}`, {
122657
123012
  status: response.status,
122658
123013
  statusText: response.statusText
122659
123014
  });
@@ -163796,7 +164151,7 @@ var Config = class _Config {
163796
164151
  await this.proxyDispatcherReady;
163797
164152
  options2?.signal?.throwIfAborted();
163798
164153
  if (this.isOmniEnabled()) {
163799
- const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-2UYVTNDH.js");
164154
+ const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-AIRMZDHT.js");
163800
164155
  this.omniUploadConfig = normalizeDedicatedOmniUploadConfig({
163801
164156
  baseUrl: this.omniUploadBaseUrl,
163802
164157
  apiKeyEnv: this.omniUploadApiKeyEnv,
@@ -167709,7 +168064,7 @@ var Config = class _Config {
167709
168064
  return this.omniPolicyTools;
167710
168065
  }
167711
168066
  async loadOmniMediaReader() {
167712
- return import("./omni-HOD7DV7N.js");
168067
+ return import("./omni-NTS5DKKW.js");
167713
168068
  }
167714
168069
  /** Normalized `omni.processing` view. Undefined until tool warmup
167715
168070
  * completes (or when omni is disabled). */
@@ -169318,7 +169673,7 @@ var Config = class _Config {
169318
169673
  async registerWorkflowTool(registry2) {
169319
169674
  if (registry2.getAllToolNames().includes(ToolNames.WORKFLOW)) return true;
169320
169675
  await this.registerLazyTool(registry2, ToolNames.WORKFLOW, async () => {
169321
- const { WorkflowTool } = await import("./workflow-OLMHA4BB.js");
169676
+ const { WorkflowTool } = await import("./workflow-NTR7LISE.js");
169322
169677
  return new WorkflowTool(this);
169323
169678
  });
169324
169679
  return registry2.getAllToolNames().includes(ToolNames.WORKFLOW);
@@ -169398,16 +169753,16 @@ var Config = class _Config {
169398
169753
  const registerGoalWorkerTools = /* @__PURE__ */ __name(async () => {
169399
169754
  if (options2?.forSubAgent) return;
169400
169755
  await registerLazy(ToolNames.GET_GOAL, async () => {
169401
- const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-5PYBCVXE.js");
169756
+ const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-XLPICZ5T.js");
169402
169757
  return new GetGoalTool2(this);
169403
169758
  });
169404
169759
  await registerLazy(ToolNames.UPDATE_GOAL, async () => {
169405
- const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-5PYBCVXE.js");
169760
+ const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-XLPICZ5T.js");
169406
169761
  return new UpdateGoalTool2(this);
169407
169762
  });
169408
169763
  if (this.getModelProposedGoals() !== "disabled" && (resolveInteractionMode(this) === "interactive" || this.goalProposalHostSupported)) {
169409
169764
  await registerLazy(ToolNames.PROPOSE_GOAL, async () => {
169410
- const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-5PYBCVXE.js");
169765
+ const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-XLPICZ5T.js");
169411
169766
  return new ProposeGoalTool2(this);
169412
169767
  });
169413
169768
  }
@@ -169427,16 +169782,16 @@ var Config = class _Config {
169427
169782
  });
169428
169783
  }
169429
169784
  await registerLazy(ToolNames.WEB_FETCH, async () => {
169430
- const { WebFetchTool } = await import("./web-fetch-4WV34U3H.js");
169785
+ const { WebFetchTool } = await import("./web-fetch-TZXOJ74M.js");
169431
169786
  return new WebFetchTool(this);
169432
169787
  });
169433
169788
  const hasExplicitWebSearchBackend = !!this.webSearchSettings?.model?.trim() || !!this.webSearchSettings?.baseUrl;
169434
169789
  if (!this.getBareMode() && !this.isSafeMode() && this.webSearchSettings?.enabled !== false && (this.webSearchSettings?.enabled === true || !hasExplicitWebSearchBackend)) {
169435
- const { evaluateWebSearchGate } = await import("./web-search-RWIHTXBO.js");
169790
+ const { evaluateWebSearchGate } = await import("./web-search-RDZCW5MX.js");
169436
169791
  const gate = evaluateWebSearchGate(this);
169437
169792
  if (gate.ok) {
169438
169793
  await registerLazy(ToolNames.WEB_SEARCH, async () => {
169439
- const { WebSearchTool } = await import("./web-search-RWIHTXBO.js");
169794
+ const { WebSearchTool } = await import("./web-search-RDZCW5MX.js");
169440
169795
  return new WebSearchTool(this);
169441
169796
  });
169442
169797
  } else if (!gate.silent && !this.webSearchNoticeEmitted && !options2?.forSubAgent) {
@@ -169453,8 +169808,8 @@ var Config = class _Config {
169453
169808
  );
169454
169809
  }
169455
169810
  const [{ createExecutionTools }, { wrapExecutionTool }] = await Promise.all([
169456
- import("./local-execution-environment-JRKVTL4S.js"),
169457
- import("./execution-tool-O6ZQT4QK.js")
169811
+ import("./local-execution-environment-PFBURDOE.js"),
169812
+ import("./execution-tool-VACK7N45.js")
169458
169813
  ]);
169459
169814
  for (const [name, tool] of createExecutionTools(this)) {
169460
169815
  if (environment.toolNames && !environment.toolNames.has(name)) continue;
@@ -169469,7 +169824,7 @@ var Config = class _Config {
169469
169824
  return new ToolCallTool(registry2);
169470
169825
  });
169471
169826
  await registerLazy(ToolNames.TOOL_SEARCH, async () => {
169472
- const { ToolSearchTool } = await import("./tool-search-ADQSAKUL.js");
169827
+ const { ToolSearchTool } = await import("./tool-search-RK5PYIEA.js");
169473
169828
  return new ToolSearchTool(this);
169474
169829
  });
169475
169830
  if (this.executionEnvironment && !options2?.forSubAgent) {
@@ -169481,7 +169836,7 @@ var Config = class _Config {
169481
169836
  }
169482
169837
  if (this.shellExecutionSandbox) {
169483
169838
  await registerLazy(ToolNames.SHELL, async () => {
169484
- const { ShellTool: ShellTool2 } = await import("./shell-P3A6NR2F.js");
169839
+ const { ShellTool: ShellTool2 } = await import("./shell-ENJCXAKQ.js");
169485
169840
  return new ShellTool2(this);
169486
169841
  });
169487
169842
  await registerLazy(ToolNames.TASK_STOP, async () => {
@@ -169489,27 +169844,27 @@ var Config = class _Config {
169489
169844
  return new TaskStopTool(this);
169490
169845
  });
169491
169846
  await registerLazy(ToolNames.READ_FILE, async () => {
169492
- const { ReadFileTool } = await import("./read-file-NXZBG4AF.js");
169847
+ const { ReadFileTool } = await import("./read-file-NRMGUMQM.js");
169493
169848
  return new ReadFileTool(this);
169494
169849
  });
169495
169850
  await registerLazy(ToolNames.WRITE_FILE, async () => {
169496
- const { WriteFileTool } = await import("./write-file-6KJ6PRKR.js");
169851
+ const { WriteFileTool } = await import("./write-file-TYMBS3Z4.js");
169497
169852
  return new WriteFileTool(this);
169498
169853
  });
169499
169854
  await registerLazy(ToolNames.EDIT, async () => {
169500
- const { EditTool } = await import("./edit-ITG7FT2N.js");
169855
+ const { EditTool } = await import("./edit-TSSCUSYW.js");
169501
169856
  return new EditTool(this);
169502
169857
  });
169503
169858
  await registerLazy(ToolNames.MONITOR, async () => {
169504
- const { MonitorTool } = await import("./monitor-4QUEE5PD.js");
169859
+ const { MonitorTool } = await import("./monitor-3DZ6543L.js");
169505
169860
  return new MonitorTool(this);
169506
169861
  });
169507
169862
  await registerLazy(ToolNames.AGENT, async () => {
169508
- const { AgentTool: AgentTool2 } = await import("./agent-VSQDBKEV.js");
169863
+ const { AgentTool: AgentTool2 } = await import("./agent-NH2EHRJ3.js");
169509
169864
  return new AgentTool2(this);
169510
169865
  });
169511
169866
  await registerLazy(ToolNames.GLOB, async () => {
169512
- const { GlobTool } = await import("./glob-UF4UY2H3.js");
169867
+ const { GlobTool } = await import("./glob-2CHWQ3H5.js");
169513
169868
  return new GlobTool(this);
169514
169869
  });
169515
169870
  await registerLazy(ToolNames.LS, async () => {
@@ -169528,19 +169883,19 @@ var Config = class _Config {
169528
169883
  }
169529
169884
  if (this.getBareMode()) {
169530
169885
  await registerLazy(ToolNames.READ_FILE, async () => {
169531
- const { ReadFileTool } = await import("./read-file-NXZBG4AF.js");
169886
+ const { ReadFileTool } = await import("./read-file-NRMGUMQM.js");
169532
169887
  return new ReadFileTool(this);
169533
169888
  });
169534
169889
  await registerLazy(ToolNames.EDIT, async () => {
169535
- const { EditTool } = await import("./edit-ITG7FT2N.js");
169890
+ const { EditTool } = await import("./edit-TSSCUSYW.js");
169536
169891
  return new EditTool(this);
169537
169892
  });
169538
169893
  await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
169539
- const { NotebookEditTool } = await import("./notebook-edit-VE3PZOBS.js");
169894
+ const { NotebookEditTool } = await import("./notebook-edit-EC3X76GJ.js");
169540
169895
  return new NotebookEditTool(this);
169541
169896
  });
169542
169897
  await registerLazy(ToolNames.SHELL, async () => {
169543
- const { ShellTool: ShellTool2 } = await import("./shell-P3A6NR2F.js");
169898
+ const { ShellTool: ShellTool2 } = await import("./shell-ENJCXAKQ.js");
169544
169899
  return new ShellTool2(this);
169545
169900
  });
169546
169901
  await registerGoalWorkerTools();
@@ -169559,7 +169914,7 @@ var Config = class _Config {
169559
169914
  return new ToolCallTool(registry2);
169560
169915
  });
169561
169916
  await registerLazy(ToolNames.TOOL_SEARCH, async () => {
169562
- const { ToolSearchTool } = await import("./tool-search-ADQSAKUL.js");
169917
+ const { ToolSearchTool } = await import("./tool-search-RK5PYIEA.js");
169563
169918
  return new ToolSearchTool(this);
169564
169919
  });
169565
169920
  await registerLazy(ToolNames.READ_MCP_RESOURCE, async () => {
@@ -169567,7 +169922,7 @@ var Config = class _Config {
169567
169922
  return new ReadMcpResourceTool(this);
169568
169923
  });
169569
169924
  await registerLazy(ToolNames.AGENT, async () => {
169570
- const { AgentTool: AgentTool2 } = await import("./agent-VSQDBKEV.js");
169925
+ const { AgentTool: AgentTool2 } = await import("./agent-NH2EHRJ3.js");
169571
169926
  return new AgentTool2(this);
169572
169927
  });
169573
169928
  await registerLazy(ToolNames.LIST_AGENTS, async () => {
@@ -169583,7 +169938,7 @@ var Config = class _Config {
169583
169938
  return new SendMessageTool(this);
169584
169939
  });
169585
169940
  await registerLazy(ToolNames.SKILL, async () => {
169586
- const { SkillTool } = await import("./skill-TJVM366F.js");
169941
+ const { SkillTool } = await import("./skill-JI7DIIC5.js");
169587
169942
  return new SkillTool(this);
169588
169943
  });
169589
169944
  if (this.isLsToolEnabled()) {
@@ -169593,11 +169948,11 @@ var Config = class _Config {
169593
169948
  });
169594
169949
  }
169595
169950
  await registerLazy(ToolNames.READ_FILE, async () => {
169596
- const { ReadFileTool } = await import("./read-file-NXZBG4AF.js");
169951
+ const { ReadFileTool } = await import("./read-file-NRMGUMQM.js");
169597
169952
  return new ReadFileTool(this);
169598
169953
  });
169599
169954
  await registerLazy(ToolNames.ZOOM_IMAGE, async () => {
169600
- const { ZoomImageTool } = await import("./zoom-image-OCGXTGXD.js");
169955
+ const { ZoomImageTool } = await import("./zoom-image-OYDAJGIC.js");
169601
169956
  return new ZoomImageTool(this);
169602
169957
  });
169603
169958
  if (this.getUseRipgrep()) {
@@ -169612,7 +169967,7 @@ var Config = class _Config {
169612
169967
  recordStartupEvent("config_initialize_ripgrep_probe_end");
169613
169968
  if (useRipgrep) {
169614
169969
  await registerLazy(ToolNames.GREP, async () => {
169615
- const { RipGrepTool } = await import("./ripGrep-BTNYROLP.js");
169970
+ const { RipGrepTool } = await import("./ripGrep-WQJTNYRZ.js");
169616
169971
  return new RipGrepTool(this);
169617
169972
  });
169618
169973
  } else {
@@ -169638,23 +169993,23 @@ var Config = class _Config {
169638
169993
  });
169639
169994
  }
169640
169995
  await registerLazy(ToolNames.GLOB, async () => {
169641
- const { GlobTool } = await import("./glob-UF4UY2H3.js");
169996
+ const { GlobTool } = await import("./glob-2CHWQ3H5.js");
169642
169997
  return new GlobTool(this);
169643
169998
  });
169644
169999
  await registerLazy(ToolNames.EDIT, async () => {
169645
- const { EditTool } = await import("./edit-ITG7FT2N.js");
170000
+ const { EditTool } = await import("./edit-TSSCUSYW.js");
169646
170001
  return new EditTool(this);
169647
170002
  });
169648
170003
  await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
169649
- const { NotebookEditTool } = await import("./notebook-edit-VE3PZOBS.js");
170004
+ const { NotebookEditTool } = await import("./notebook-edit-EC3X76GJ.js");
169650
170005
  return new NotebookEditTool(this);
169651
170006
  });
169652
170007
  await registerLazy(ToolNames.WRITE_FILE, async () => {
169653
- const { WriteFileTool } = await import("./write-file-6KJ6PRKR.js");
170008
+ const { WriteFileTool } = await import("./write-file-TYMBS3Z4.js");
169654
170009
  return new WriteFileTool(this);
169655
170010
  });
169656
170011
  await registerLazy(ToolNames.SHELL, async () => {
169657
- const { ShellTool: ShellTool2 } = await import("./shell-P3A6NR2F.js");
170012
+ const { ShellTool: ShellTool2 } = await import("./shell-ENJCXAKQ.js");
169658
170013
  return new ShellTool2(this);
169659
170014
  });
169660
170015
  await registerLazy(ToolNames.REPORT_FINDINGS, async () => {
@@ -169670,13 +170025,13 @@ var Config = class _Config {
169670
170025
  }
169671
170026
  if (!this.sdkMode && (supportsUserInteraction || options2?.forSubAgent)) {
169672
170027
  await registerLazy(ToolNames.EXIT_PLAN_MODE, async () => {
169673
- const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-E3X6O2KI.js");
170028
+ const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-MUPEFJZW.js");
169674
170029
  return new ExitPlanModeTool2(this);
169675
170030
  });
169676
170031
  }
169677
170032
  if (!this.sdkMode && supportsUserInteraction) {
169678
170033
  await registerLazy(ToolNames.ENTER_PLAN_MODE, async () => {
169679
- const { EnterPlanModeTool } = await import("./enterPlanMode-FPEK4BIB.js");
170034
+ const { EnterPlanModeTool } = await import("./enterPlanMode-ZSQKJKZQ.js");
169680
170035
  return new EnterPlanModeTool(this);
169681
170036
  });
169682
170037
  }
@@ -169743,7 +170098,7 @@ var Config = class _Config {
169743
170098
  }
169744
170099
  if (this.isAgentTeamEnabled()) {
169745
170100
  await registerLazy(ToolNames.TEAM_CREATE, async () => {
169746
- const { TeamCreateTool } = await import("./team-create-PKMF5MWH.js");
170101
+ const { TeamCreateTool } = await import("./team-create-JFKXHYVG.js");
169747
170102
  return new TeamCreateTool(this);
169748
170103
  });
169749
170104
  await registerLazy(ToolNames.TEAM_DELETE, async () => {
@@ -169751,7 +170106,7 @@ var Config = class _Config {
169751
170106
  return new TeamDeleteTool(this);
169752
170107
  });
169753
170108
  await registerLazy(ToolNames.TEAM_PLAN_APPROVAL, async () => {
169754
- const { TeamPlanApprovalTool } = await import("./team-plan-approval-MMTFDTUP.js");
170109
+ const { TeamPlanApprovalTool } = await import("./team-plan-approval-XTW6G7MY.js");
169755
170110
  return new TeamPlanApprovalTool(this);
169756
170111
  });
169757
170112
  if (!options2?.forSubAgent) {
@@ -169847,7 +170202,7 @@ var Config = class _Config {
169847
170202
  }
169848
170203
  }
169849
170204
  await registerLazy(ToolNames.MONITOR, async () => {
169850
- const { MonitorTool } = await import("./monitor-4QUEE5PD.js");
170205
+ const { MonitorTool } = await import("./monitor-3DZ6543L.js");
169851
170206
  return new MonitorTool(this);
169852
170207
  });
169853
170208
  if (this.pendingMcpBudgetCallback) {
@@ -171103,7 +171458,7 @@ export {
171103
171458
  */
171104
171459
  /*! Bundled license information:
171105
171460
 
171106
- @modelcontextprotocol/client/dist/src-xKF0PJN-.mjs:
171461
+ @modelcontextprotocol/client/dist/src-WCy6ifGf.mjs:
171107
171462
  (*!
171108
171463
  * content-type
171109
171464
  * Copyright(c) 2015 Douglas Christopher Wilson