@p4code/cli 0.9.25 → 0.9.26

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 (288) hide show
  1. package/dist/{TraceDiagnostics-BHUn_HS7.mjs → TraceDiagnostics-D1Qz3qce.mjs} +3 -3
  2. package/dist/bin.mjs +1 -1
  3. package/dist/{binCli-DzJr0M8f.mjs → binCli-CcEaWLAR.mjs} +6 -6
  4. package/dist/client/.vite/manifest.json +2130 -2130
  5. package/dist/client/assets/{2NI2N5EU-DU0Cg_Lb.js → 2NI2N5EU--LXjbTE-.js} +2 -2
  6. package/dist/client/assets/{4UO7MD6I-B38qXGVF.js → 4UO7MD6I-D_jr6_IV.js} +2 -2
  7. package/dist/client/assets/{5B3SVYGG-FTIXhvjJ.js → 5B3SVYGG-tThUTA_S.js} +2 -2
  8. package/dist/client/assets/{5GK6JWQ2-H3C8D_6P.js → 5GK6JWQ2-BCuuAhKJ.js} +2 -2
  9. package/dist/client/assets/{5N7A7DKN-CozSLHAy.js → 5N7A7DKN-rdPMRoZL.js} +2 -2
  10. package/dist/client/assets/{5OC2THR4-CEpIVrtv.js → 5OC2THR4-gvpm3IL0.js} +2 -2
  11. package/dist/client/assets/{5S6HY5KT-BJiBcrC3.js → 5S6HY5KT-CWanNmdR.js} +2 -2
  12. package/dist/client/assets/{6IMQ5BUJ-Bc6nCKkc.js → 6IMQ5BUJ-1sguTKZ9.js} +2 -2
  13. package/dist/client/assets/{6OLKWJ4F-BQObFAo6.js → 6OLKWJ4F-9loy41nw.js} +2 -2
  14. package/dist/client/assets/{74OO7NKP-Bf7mJdAJ.js → 74OO7NKP-ukQR6jKi.js} +2 -2
  15. package/dist/client/assets/{75O6YZUN-CW0D2fdL.js → 75O6YZUN-BjBd5LQ0.js} +2 -2
  16. package/dist/client/assets/{77XECAW3-DYpoU6GE.js → 77XECAW3-Ccw2Y7VD.js} +2 -2
  17. package/dist/client/assets/{ABYRPUBD-DspDYvjC.js → ABYRPUBD-CvqVJLPf.js} +2 -2
  18. package/dist/client/assets/AlertDialogRoot-CimqRgXh.js +2 -0
  19. package/dist/client/assets/{AnimatedHeight-baWnHH74.js → AnimatedHeight-Dwarin_V.js} +2 -2
  20. package/dist/client/assets/{AuthSurfaceShell-DpXUdirf.js → AuthSurfaceShell-BvGaTutU.js} +2 -2
  21. package/dist/client/assets/{BB2UYUI2-DBvVdzXq.js → BB2UYUI2-Drnmium_.js} +2 -2
  22. package/dist/client/assets/{BUM34MOA-DD8_qVgf.js → BUM34MOA-AkPmeijf.js} +2 -2
  23. package/dist/client/assets/{CEQABKGZ-CVQF1BSd.js → CEQABKGZ-BNUlDSIK.js} +2 -2
  24. package/dist/client/assets/{CXAC5362-D-ErUdji.js → CXAC5362-Bmar3Iii.js} +2 -2
  25. package/dist/client/assets/{ChatGptUsageButton-CQGToDEF.js → ChatGptUsageButton-D6Iy8SVv.js} +2 -2
  26. package/dist/client/assets/{ChatMarkdown-LJASbkfc.js → ChatMarkdown-DHhJpg3q.js} +7 -7
  27. package/dist/client/assets/{CheckboxIndicator-C1r4pplS.js → CheckboxIndicator-DbA95VlZ.js} +2 -2
  28. package/dist/client/assets/{ClippedText-DfXsEQeG.js → ClippedText-UM8CaEu4.js} +2 -2
  29. package/dist/client/assets/{CodexSetupSection.logic-Bc4DfjCh.js → CodexSetupSection.logic-kKJPABQZ.js} +2 -2
  30. package/dist/client/assets/{CollapsiblePanel-BXH3rQRh.js → CollapsiblePanel-C1iRr4kZ.js} +2 -2
  31. package/dist/client/assets/{ComboboxClear-CVernRAh.js → ComboboxClear-DaifQLU5.js} +2 -2
  32. package/dist/client/assets/{ComboboxGroupLabel-DvjyoFJL.js → ComboboxGroupLabel-C03JGZRD.js} +2 -2
  33. package/dist/client/assets/{CommandBlock-WsIIEStK.js → CommandBlock-DH_L_Tgo.js} +2 -2
  34. package/dist/client/assets/{CompositeRoot-ByiP4GnC.js → CompositeRoot-B1DTZCNU.js} +2 -2
  35. package/dist/client/assets/{ConnectAgentSurface-DvJ8PBIx.js → ConnectAgentSurface-C5bZc2ZR.js} +2 -2
  36. package/dist/client/assets/{ConnectionStatusDot-K3y7Ct8v.js → ConnectionStatusDot-CCTiSlHA.js} +2 -2
  37. package/dist/client/assets/{DRLTVNUE-31JTQ6nY.js → DRLTVNUE-BqWUfmRf.js} +2 -2
  38. package/dist/client/assets/{DYY6UVD2-D_ZDUMtR.js → DYY6UVD2-CyRsghfa.js} +2 -2
  39. package/dist/client/assets/{DevicePanel-DZK0y5Ap.js → DevicePanel-DocID7hH.js} +2 -2
  40. package/dist/client/assets/{DeviceSetup-D3E85Zrd.js → DeviceSetup-CX2OWVB9.js} +2 -2
  41. package/dist/client/assets/{DialogRoot-CNtnfAJy.js → DialogRoot-D64NsaiW.js} +2 -2
  42. package/dist/client/assets/{DialogTitle-DV_YdpJC.js → DialogTitle-CYefNdHm.js} +2 -2
  43. package/dist/client/assets/{DiffCommentAnnotation-BOVXuQGc.js → DiffCommentAnnotation-ChKqFxt5.js} +2 -2
  44. package/dist/client/assets/{DiffFileTree-B5NHhHgk.js → DiffFileTree-B6AgzOXX.js} +2 -2
  45. package/dist/client/assets/{DiffPanel-Iu14e7z4.js → DiffPanel-DKAHtq5x.js} +2 -2
  46. package/dist/client/assets/{DiffWorkerPoolProvider-Dwi-pu0V.js → DiffWorkerPoolProvider-CK3y5UA1.js} +2 -2
  47. package/dist/client/assets/{EmbeddedDesign-B7W3XrYS.js → EmbeddedDesign-Bj-kkArq.js} +5 -5
  48. package/dist/client/assets/{EnvironmentMachineIcon-CXBfI2NX.js → EnvironmentMachineIcon-CJ30kzSK.js} +2 -2
  49. package/dist/client/assets/{ExpandableText-DfUAVk6K.js → ExpandableText-CBPvhWvZ.js} +2 -2
  50. package/dist/client/assets/{FNOVOB4O-uinkA45N.js → FNOVOB4O-DYXYw-b1.js} +2 -2
  51. package/dist/client/assets/{FieldControl-CIowDCcv.js → FieldControl-CkgERQaU.js} +2 -2
  52. package/dist/client/assets/{FileDiff-BmQX_G3I.js → FileDiff-BLuBewdN.js} +2 -2
  53. package/dist/client/assets/{FilePreviewPanel-X0C-_bsa.js → FilePreviewPanel-DWNimHTU.js} +5 -5
  54. package/dist/client/assets/{FoldedSettingsSection-veJCJBGN.js → FoldedSettingsSection-C3cuD_W9.js} +2 -2
  55. package/dist/client/assets/{HDGCDEEZ-C-FshFnT.js → HDGCDEEZ-7WPyPcLr.js} +2 -2
  56. package/dist/client/assets/{HSJLKHB7-DkWuWTFm.js → HSJLKHB7-t8_OkffK.js} +2 -2
  57. package/dist/client/assets/{Icons-CzUirT4o.js → Icons-BUrn1Fzo.js} +2 -2
  58. package/dist/client/assets/Input-Gb8KV9DV.js +2 -0
  59. package/dist/client/assets/{IntervalSecondsField-jhisp3XJ.js → IntervalSecondsField-D9JXVV-s.js} +2 -2
  60. package/dist/client/assets/JZOYTAAL-BzA5Kg5m.js +1 -0
  61. package/dist/client/assets/{K3MD6TGW-a8yr5Ewj.js → K3MD6TGW-DoqPvoaq.js} +2 -2
  62. package/dist/client/assets/{K7RP3OMA-B0CXNed1.js → K7RP3OMA--ZFOkyEG.js} +2 -2
  63. package/dist/client/assets/{KeybindingsSettings.logic-BJLp2hK6.js → KeybindingsSettings.logic-CMs7OPcH.js} +2 -2
  64. package/dist/client/assets/{LHDIQX7Q-CkhjJ70Y.js → LHDIQX7Q-hUqw2I9B.js} +2 -2
  65. package/dist/client/assets/{LUXOKEGN-DhYrChjL.js → LUXOKEGN-Dvu_mp-q.js} +2 -2
  66. package/dist/client/assets/{LinkMachineSelect-rWCX7r86.js → LinkMachineSelect-SHXPDP_g.js} +2 -2
  67. package/dist/client/assets/{MathTypeset-C9x0hMF0.js → MathTypeset-TM-3r0WA.js} +2 -2
  68. package/dist/client/assets/{ModelLiveLayer-Dv_jCIXj.js → ModelLiveLayer-Bb-7OhJ9.js} +3 -3
  69. package/dist/client/assets/{N3JZAHOW-B97FAWso.js → N3JZAHOW-LjhhJ-00.js} +2 -2
  70. package/dist/client/assets/{NUIALGQ3-Dq5lVW3w.js → NUIALGQ3-Dg1KXz02.js} +2 -2
  71. package/dist/client/assets/{NoProjectsHero-BsinbzdV.js → NoProjectsHero-D0OPZtzO.js} +2 -2
  72. package/dist/client/assets/{O65XPQGZ-D4-546m0.js → O65XPQGZ-BxaJR80d.js} +2 -2
  73. package/dist/client/assets/{O7XIQ6OM-BPEf7K4J.js → O7XIQ6OM-CCXPxMuU.js} +2 -2
  74. package/dist/client/assets/{OFQON5FD-ANLB_eks.js → OFQON5FD-WUMBXQkX.js} +2 -2
  75. package/dist/client/assets/{P4ConnectAccountPages-BkUG1cNj.js → P4ConnectAccountPages-BNK6s-RS.js} +2 -2
  76. package/dist/client/assets/{P4ConnectSidebarSignIn-Bd8SD-N2.js → P4ConnectSidebarSignIn-CWW40SMl.js} +2 -2
  77. package/dist/client/assets/{PJQHF43J-U5Qjv9uU.js → PJQHF43J-BrNjCaLl.js} +2 -2
  78. package/dist/client/assets/{PanelLayoutControls-BiOzQEUj.js → PanelLayoutControls-DiXjRWIw.js} +7 -7
  79. package/dist/client/assets/{PierreEntryIcon-C3yCp-3j.js → PierreEntryIcon-D29_Ylm_.js} +2 -2
  80. package/dist/client/assets/{PopoverHandle-BOG8GZW9.js → PopoverHandle-BgggGdpn.js} +2 -2
  81. package/dist/client/assets/PreviewPanel-DutKwWE7.js +2 -0
  82. package/dist/client/assets/{ProjectDefaultsSettings-BNoHUxLB.js → ProjectDefaultsSettings-DMfJN66D.js} +2 -2
  83. package/dist/client/assets/{ProjectFavicon-DJihy670.js → ProjectFavicon-DFI1NI3D.js} +3 -3
  84. package/dist/client/assets/{ProjectIconPickerDialog-B64NU333.js → ProjectIconPickerDialog-BqGWzrTc.js} +2 -2
  85. package/dist/client/assets/{ProjectMonogram-Bm8g4eoe.js → ProjectMonogram-D4xxVtw8.js} +2 -2
  86. package/dist/client/assets/{ProviderAuthTerminal-ep_3vQXs.js → ProviderAuthTerminal-CRSvI-Og.js} +2 -2
  87. package/dist/client/assets/ProviderModelPicker-D73G0AKf.js +2 -0
  88. package/dist/client/assets/{ProviderSettingsForm-DdzTiAwr.js → ProviderSettingsForm-DchD8HSN.js} +2 -2
  89. package/dist/client/assets/{PullRequestCodeTab-DxIVyifS.js → PullRequestCodeTab-BdXdTg-d.js} +3 -3
  90. package/dist/client/assets/{RHNBAITX-Ca700xaA.js → RHNBAITX-PsYrngSs.js} +2 -2
  91. package/dist/client/assets/{ReadOnlySourcePreview-DwbQjZ6S.js → ReadOnlySourcePreview-8jLKmc3M.js} +2 -2
  92. package/dist/client/assets/{RedactedSensitiveText-CKBxO8RE.js → RedactedSensitiveText-DhV2Jdu8.js} +2 -2
  93. package/dist/client/assets/{RenderErrorBoundary-Ds0CLe6f.js → RenderErrorBoundary-56lc2IQ3.js} +2 -2
  94. package/dist/client/assets/{RightPanelResizeHandle-kgBW_OmO.js → RightPanelResizeHandle-ClzdYxWw.js} +2 -2
  95. package/dist/client/assets/{SLD4V6NK-DHgBQG4y.js → SLD4V6NK-CxidvPXU.js} +2 -2
  96. package/dist/client/assets/{ScheduledTasksSettings-G10yO5DO.js → ScheduledTasksSettings-BdMCgBm5.js} +5 -5
  97. package/dist/client/assets/{ScopedSwitch-DGi7EZuF.js → ScopedSwitch-CwnjCta_.js} +2 -2
  98. package/dist/client/assets/{ScrollAreaCorner-sEIv5sN-.js → ScrollAreaCorner-CfTQYjCW.js} +2 -2
  99. package/dist/client/assets/{SecretInput-C8mfkoqW.js → SecretInput-BYfVbTLh.js} +2 -2
  100. package/dist/client/assets/{SelectScrollUpArrow-BBy8ExJB.js → SelectScrollUpArrow-BE0-tVtP.js} +2 -2
  101. package/dist/client/assets/{SelfImproveSettingsSection-CJpzoxZq.js → SelfImproveSettingsSection-DsqFeICK.js} +2 -2
  102. package/dist/client/assets/{SettingsPanels-CKuvIEcT.js → SettingsPanels-D_rJsyjt.js} +7 -7
  103. package/dist/client/assets/{SettingsPanels.logic-mWhM0JKq.js → SettingsPanels.logic-BTJUBh-T.js} +2 -2
  104. package/dist/client/assets/{SettingsScopeNotice-CYlVOS9U.js → SettingsScopeNotice-CAVvn3pQ.js} +2 -2
  105. package/dist/client/assets/{SidebarStageBackdrop-CcJgZb4i.js → SidebarStageBackdrop-DdxWuxIk.js} +2 -2
  106. package/dist/client/assets/{T3PCR2KE-sETS2BfN.js → T3PCR2KE-BtQsKjM5.js} +2 -2
  107. package/dist/client/assets/{TKWO2OVW-DOxrph0T.js → TKWO2OVW-CeYF-suq.js} +2 -2
  108. package/dist/client/assets/{TSHNXIZL-LkLzenBL.js → TSHNXIZL-FQ7ZWHEn.js} +2 -2
  109. package/dist/client/assets/{ThemeEditorPanel-BSPkdhmj.js → ThemeEditorPanel-BJucNhy-.js} +2 -2
  110. package/dist/client/assets/{ThreadDetailsItemsMenu-8anoK4Or.js → ThreadDetailsItemsMenu-CRBBIuc7.js} +8 -8
  111. package/dist/client/assets/{ThreadTerminalDrawer-Wd-He1GI.js → ThreadTerminalDrawer-Ci0mbLzJ.js} +4 -4
  112. package/dist/client/assets/{TooltipProvider-DMrkN3Xd.js → TooltipProvider-BH5ni_Lo.js} +2 -2
  113. package/dist/client/assets/{UQJE5E4I-DbEWChzq.js → UQJE5E4I-CeqBk-r6.js} +2 -2
  114. package/dist/client/assets/{USNYFO5S-D2NfvkZx.js → USNYFO5S-_1m41tJt.js} +2 -2
  115. package/dist/client/assets/{Virtualizer-C2gQRrRy.js → Virtualizer-DLB0FYm-.js} +2 -2
  116. package/dist/client/assets/{WEVWDWVA-CWLLvNnc.js → WEVWDWVA-DmSV8HLL.js} +2 -2
  117. package/dist/client/assets/{WorkspaceBreadcrumb-DDBBo54L.js → WorkspaceBreadcrumb-DQkeBQUl.js} +2 -2
  118. package/dist/client/assets/{WorkspacePageContainer-D-b_7VnU.js → WorkspacePageContainer-D2rx9iDg.js} +2 -2
  119. package/dist/client/assets/{WorkspacePageHeader-C8bAlMLy.js → WorkspacePageHeader-D8-RIRjQ.js} +2 -2
  120. package/dist/client/assets/{X5RFHQXM-B_4xBer1.js → X5RFHQXM-BUdDYXox.js} +2 -2
  121. package/dist/client/assets/{X62E3GBT-DH4DDJbS.js → X62E3GBT-BbQ7FmNB.js} +2 -2
  122. package/dist/client/assets/{XBNEOJTC-CH0FX2u2.js → XBNEOJTC-BLEZA-vx.js} +2 -2
  123. package/dist/client/assets/{YHV2MVVZ-vkFosclt.js → YHV2MVVZ-DM2RTtkR.js} +2 -2
  124. package/dist/client/assets/{YURCZMG2-CflztzI6.js → YURCZMG2-D5w6cPMY.js} +2 -2
  125. package/dist/client/assets/{YVG2LODB-BU5mIo0f.js → YVG2LODB-BkLbsaCo.js} +2 -2
  126. package/dist/client/assets/{_chat-rr4Pa6Jr.js → _chat-CKMs-ajx.js} +19 -19
  127. package/dist/client/assets/{_chat.design-DcTokS2n.js → _chat.design-CpqXODBn.js} +2 -2
  128. package/dist/client/assets/{_chat.index-Cx2rD23U.js → _chat.index-B0eOfZAf.js} +2 -2
  129. package/dist/client/assets/{_chat.new-Bef-dZPa.js → _chat.new-CqLuDynd.js} +2 -2
  130. package/dist/client/assets/{_chat.pull-requests-CEwED8fj.js → _chat.pull-requests-C4Eo8GDQ.js} +2 -2
  131. package/dist/client/assets/{alert-iNR43-xr.js → alert-D1O9oex3.js} +2 -2
  132. package/dist/client/assets/{alert-dialog-B7VzBOev.js → alert-dialog-3XDceRWv.js} +2 -2
  133. package/dist/client/assets/{assetUrls-BMHkXryh.js → assetUrls-Dq0gsqWs.js} +2 -2
  134. package/dist/client/assets/{assets-C96oF_eX.js → assets-C3_UZib9.js} +2 -2
  135. package/dist/client/assets/{browserHistoryStore-DcyxHvEZ.js → browserHistoryStore-CVCo7qfb.js} +2 -2
  136. package/dist/client/assets/{browserLinkTarget-5NDfBwMZ.js → browserLinkTarget-CopcRHna.js} +2 -2
  137. package/dist/client/assets/{checkbox-BnoBa5Yw.js → checkbox-CxRqp4sO.js} +2 -2
  138. package/dist/client/assets/{color-picker-DGBwf4df.js → color-picker-CvbP7BS3.js} +2 -2
  139. package/dist/client/assets/{combobox-BViCCYpe.js → combobox-CuyUAuiC.js} +2 -2
  140. package/dist/client/assets/{command-DD9AbES_.js → command-4bqVdX0m.js} +2 -2
  141. package/dist/client/assets/{connect-B3_KXIyQ.js → connect-DFGquf-O.js} +2 -2
  142. package/dist/client/assets/connect-agent-Db5rxxY1.js +2 -0
  143. package/dist/client/assets/{design-BwQ33zDs.js → design-DzoN9JgQ.js} +2 -2
  144. package/dist/client/assets/{device-CAueNfph.js → device-H2MyT_kA.js} +2 -2
  145. package/dist/client/assets/{dialog-DvBVJIw1.js → dialog-CrLVN_m6.js} +2 -2
  146. package/dist/client/assets/{diffPanelStore-B43kjSer.js → diffPanelStore-CxnPNigi.js} +2 -2
  147. package/dist/client/assets/{diffRendering-DwbgLJaq.js → diffRendering-cyTQV5bk.js} +2 -2
  148. package/dist/client/assets/{dist-B-8eHEk-.js → dist-J7s-H61h.js} +3 -3
  149. package/dist/client/assets/{draft-input-CBmbOI5j.js → draft-input-UuEBPJE8.js} +2 -2
  150. package/dist/client/assets/{duoViewer-Dml9fvvm.js → duoViewer-C3DQnADY.js} +2 -2
  151. package/dist/client/assets/{dynamic-C2hTfNo4.js → dynamic-PDa6LTqb.js} +2 -2
  152. package/dist/client/assets/{embeddedScripts-DmobRpxc.js → embeddedScripts-BDzRNXSL.js} +2 -2
  153. package/dist/client/assets/{empty-CGA6iTo1.js → empty-YMXgQbNI.js} +2 -2
  154. package/dist/client/assets/{entities-ygRGujH7.js → entities-HOBDIiHK.js} +2 -2
  155. package/dist/client/assets/{fileLinks-COT45KrB.js → fileLinks-BlT4My6t.js} +2 -2
  156. package/dist/client/assets/{fileTreeExpansion-t42YM2NT.js → fileTreeExpansion-D5nN-Oqd.js} +2 -2
  157. package/dist/client/assets/{getDiffFileInput-BRoo9f7T.js → getDiffFileInput-4gToQuSl.js} +2 -2
  158. package/dist/client/assets/{htmlRender-w5A35V7p.js → htmlRender-CUGVJXGf.js} +2 -2
  159. package/dist/client/assets/{index-BfU6cQrF.js → index-C04a0SKq.js} +3 -3
  160. package/dist/client/assets/{input-L7UBCORX.js → input-DxHa9qj5.js} +2 -2
  161. package/dist/client/assets/{input-group-B4A2yaVX.js → input-group-_rAbDbys.js} +2 -2
  162. package/dist/client/assets/{kbd-CNvVBYtE.js → kbd-DjUfNaix.js} +2 -2
  163. package/dist/client/assets/{keybindings-DoiXiZn5.js → keybindings-8_1sqf8s.js} +2 -2
  164. package/dist/client/assets/{lazy-BYuTmsKJ.js → lazy-C1dqAep6.js} +4 -4
  165. package/dist/client/assets/{lazyRouteComponent-DlaI8YOu.js → lazyRouteComponent-DLamKhHF.js} +2 -2
  166. package/dist/client/assets/{link-Vg2garcH.js → link-D1nkgCv7.js} +2 -2
  167. package/dist/client/assets/{linkedPrompt-Bg0S0srn.js → linkedPrompt-Quysf0mk.js} +2 -2
  168. package/dist/client/assets/main-BFdCLmkY.js +39 -0
  169. package/dist/client/assets/{mediaReference-BGHvhhnE.js → mediaReference-D19Dzoh3.js} +2 -2
  170. package/dist/client/assets/{mediaSource-CeGNee1z.js → mediaSource-DfsR3T70.js} +2 -2
  171. package/dist/client/assets/{modelScene-DtBAQ8-k.js → modelScene-CcF-Uii-.js} +2 -2
  172. package/dist/client/assets/{number-field-BRlzUJEB.js → number-field-CALZZPio.js} +2 -2
  173. package/dist/client/assets/{observeResize-CNiPL-bo.js → observeResize-DLmefMqO.js} +2 -2
  174. package/dist/client/assets/{onboarding-9Isl06ny.js → onboarding-plATuZco.js} +2 -2
  175. package/dist/client/assets/{openFileInPreview-CgNdFzHq.js → openFileInPreview-BCGQQ_Ia.js} +2 -2
  176. package/dist/client/assets/{p4ProjectFile-kzawDum5.js → p4ProjectFile-DCNJ4pTp.js} +2 -2
  177. package/dist/client/assets/{pair-ClGrg_fl.js → pair-umv6-haX.js} +2 -2
  178. package/dist/client/assets/{pendingSendStore-Kz-cNs4v.js → pendingSendStore-CgfQk4GV.js} +2 -2
  179. package/dist/client/assets/{phoneViewer-B5Ue7Mj_.js → phoneViewer-DJWjzgFc.js} +2 -2
  180. package/dist/client/assets/{pierre-icons-cxD685IX.js → pierre-icons-fv1goMS6.js} +2 -2
  181. package/dist/client/assets/{popover-DYDa4qjy.js → popover-DxCAIK62.js} +2 -2
  182. package/dist/client/assets/{preview-BypB2j7r.js → preview-Ce5ECOHv.js} +2 -2
  183. package/dist/client/assets/{preview-BPJ2QBFC.js → preview-x1tmlUez.js} +2 -2
  184. package/dist/client/assets/{previewMiniPlayerStore-C_zTFBAY.js → previewMiniPlayerStore-CEd7VI6J.js} +2 -2
  185. package/dist/client/assets/{primary-BP9P8Pte.js → primary-DcnaBKM0.js} +2 -2
  186. package/dist/client/assets/{primaryCloudLinkState-DRbP1pee.js → primaryCloudLinkState-TS0IW37f.js} +2 -2
  187. package/dist/client/assets/{projectFilesQueryState-DodSPNTI.js → projectFilesQueryState-DKw9S3nn.js} +2 -2
  188. package/dist/client/assets/{projectScriptEditor-DxYgPh8M.js → projectScriptEditor-DT7-Ivvb.js} +2 -2
  189. package/dist/client/assets/{providerSkills-DA9qtjVM.js → providerSkills-G8ld9nNp.js} +2 -2
  190. package/dist/client/assets/{pullRequestDetail.logic-Car0C0YH.js → pullRequestDetail.logic-Dm3mx1US.js} +2 -2
  191. package/dist/client/assets/{pullRequestIcons-CJzQ9q45.js → pullRequestIcons-D8rnFTkk.js} +2 -2
  192. package/dist/client/assets/{pullRequestReviewStore-CWrDaNh_.js → pullRequestReviewStore-C45fih_P.js} +2 -2
  193. package/dist/client/assets/{pullRequests-Dx8h1wyx.js → pullRequests-euX1Ch2G.js} +2 -2
  194. package/dist/client/assets/{queries-DY1lhLYl.js → queries-DNRXml7d.js} +2 -2
  195. package/dist/client/assets/{query-C-5C8CaD.js → query-Bw8YoCbO.js} +2 -2
  196. package/dist/client/assets/{radio-group-DpsCw8_-.js → radio-group-DpD3XHAp.js} +2 -2
  197. package/dist/client/assets/{relay-Bjm0weca.js → relay-YiJpGyaO.js} +2 -2
  198. package/dist/client/assets/{relayFailureReason-1tQ1xfnE.js → relayFailureReason-Baxcpnas.js} +2 -2
  199. package/dist/client/assets/{renderScheduler-Bza_olpQ.js → renderScheduler-BuGbk7RK.js} +2 -2
  200. package/dist/client/assets/{rightPanelStore-BNvdVe0q.js → rightPanelStore-BF1zmmXM.js} +2 -2
  201. package/dist/client/assets/{runtime-DGtwOpiP.js → runtime-DIAcbMTc.js} +5 -5
  202. package/dist/client/assets/{runtimeModeConfig-DicWhVdl.js → runtimeModeConfig-4g_-_dE2.js} +2 -2
  203. package/dist/client/assets/{scheduledTasksSettings.logic-u5XriP_U.js → scheduledTasksSettings.logic-BOrkdeD3.js} +2 -2
  204. package/dist/client/assets/{scroll-area-Ct6TrgZr.js → scroll-area-CokPD3-i.js} +2 -2
  205. package/dist/client/assets/{select-B3jSTp6e.js → select-CxYi0YMi.js} +2 -2
  206. package/dist/client/assets/{selfImproveFindings-Bw954UOu.js → selfImproveFindings-CE-lxRTw.js} +2 -2
  207. package/dist/client/assets/{server-BjY-vKW2.js → server-BNjk2K1j.js} +2 -2
  208. package/dist/client/assets/{session-CkASndp1.js → session-DMNo4Bh3.js} +2 -2
  209. package/dist/client/assets/{session-logic-C3HuEav7.js → session-logic-CELyWJ1v.js} +2 -2
  210. package/dist/client/assets/{settings-DpDhgaUs.js → settings-Bt6o5coA.js} +2 -2
  211. package/dist/client/assets/{settings.appearance-BMBe1DlC.js → settings.appearance-pkRxkhgs.js} +2 -2
  212. package/dist/client/assets/settings.archived-OjOh5b0A.js +2 -0
  213. package/dist/client/assets/{settings.computer-use-dlKT7XFQ.js → settings.computer-use-Dh6Z2-Jg.js} +2 -2
  214. package/dist/client/assets/{settings.connections-BaU6DQRh.js → settings.connections-F3LWiK8-.js} +2 -2
  215. package/dist/client/assets/{settings.data-controls-DrInQbPq.js → settings.data-controls-DgOo9a4b.js} +2 -2
  216. package/dist/client/assets/{settings.decisions-Dibz4qNv.js → settings.decisions-lQFEkC9t.js} +2 -2
  217. package/dist/client/assets/{settings.designs-BGdZiNGp.js → settings.designs-C1tyiETD.js} +2 -2
  218. package/dist/client/assets/settings.diagnostics-kp_wJw6e.js +2 -0
  219. package/dist/client/assets/{settings.general-rsdZzWCJ.js → settings.general-B5Kke4t3.js} +2 -2
  220. package/dist/client/assets/{settings.integrations-DK-S9Pa1.js → settings.integrations-CjiKCDy_.js} +2 -2
  221. package/dist/client/assets/{settings.keybindings-Coe8Ydce.js → settings.keybindings-CouYSmxE.js} +2 -2
  222. package/dist/client/assets/{settings.open-source-licenses--xUZ68RR.js → settings.open-source-licenses-CHFTLx1q.js} +2 -2
  223. package/dist/client/assets/{settings.plugins-DXoF7IBB.js → settings.plugins-StUBBho3.js} +3 -3
  224. package/dist/client/assets/{settings.projects-ChEJ7uSA.js → settings.projects-B_SxK9Cl.js} +3 -3
  225. package/dist/client/assets/{settings.providers-BYwf6_Ds.js → settings.providers-Ch16WkgV.js} +3 -3
  226. package/dist/client/assets/{settings.scheduled-tasks-Cu69dh_-.js → settings.scheduled-tasks-KNcUc94O.js} +2 -2
  227. package/dist/client/assets/{settings.secrets-CdyzqqJR.js → settings.secrets-2aMmfgKR.js} +2 -2
  228. package/dist/client/assets/{settings.snap-shot-DdYHf8Q5.js → settings.snap-shot-B5cEBXZD.js} +2 -2
  229. package/dist/client/assets/settings.source-control-G_TX95re.js +2 -0
  230. package/dist/client/assets/{settings.storage-CuUZoWfT.js → settings.storage-BdNNKm9m.js} +2 -2
  231. package/dist/client/assets/{settingsLayout-DbyBB8ZI.js → settingsLayout-CzGbLP4v.js} +2 -2
  232. package/dist/client/assets/{sidebar-Do4Myy34.js → sidebar-ovj9EiR4.js} +2 -2
  233. package/dist/client/assets/{sidebarProjectGrouping-Ks0H3W1r.js → sidebarProjectGrouping-DT6LCDEX.js} +2 -2
  234. package/dist/client/assets/{skeleton-M5MIqTy6.js → skeleton-0IEb3e4e.js} +2 -2
  235. package/dist/client/assets/{sourceControl-gpSCT1i6.js → sourceControl-CPobWWHq.js} +2 -2
  236. package/dist/client/assets/{sourceControlClients-YDf1HZkJ.js → sourceControlClients-4PlkytxQ.js} +2 -2
  237. package/dist/client/assets/{spinner-89SWutMk.js → spinner-7CSKKESP.js} +2 -2
  238. package/dist/client/assets/{src-upZEL2qH.js → src-BVovWpja.js} +2 -2
  239. package/dist/client/assets/{terminal-links-ztYtKVge.js → terminal-links-BTdovUFa.js} +2 -2
  240. package/dist/client/assets/{terminalSessions-DuQL-Su5.js → terminalSessions-EUiRWJti.js} +2 -2
  241. package/dist/client/assets/{textarea-Dk6r4lQ8.js → textarea-DMmmmGA1.js} +2 -2
  242. package/dist/client/assets/{themePalette-CwTOEe8R.js → themePalette-C7ZOgucT.js} +2 -2
  243. package/dist/client/assets/{threadCheckpoints-BBbnkFJd.js → threadCheckpoints-DjIk4Kvg.js} +2 -2
  244. package/dist/client/assets/{toggle-CzhtG7Ix.js → toggle-4vFx94TS.js} +2 -2
  245. package/dist/client/assets/{toggle-group-DVojM2PG.js → toggle-group-d6H735Xi.js} +2 -2
  246. package/dist/client/assets/{tooltip-CZBiwhnV.js → tooltip-CGvxq8k3.js} +2 -2
  247. package/dist/client/assets/{uiStateStore-DbqU-t2g.js → uiStateStore-MbQdhAPp.js} +2 -2
  248. package/dist/client/assets/{usage-CvKBHOpJ.js → usage-Da_tm2dn.js} +2 -2
  249. package/dist/client/assets/{usageAccess-12EW-JWb.js → usageAccess-B-HGPPkp.js} +2 -2
  250. package/dist/client/assets/{usageFormat-Bpgdmf94.js → usageFormat-DcON9Kz_.js} +2 -2
  251. package/dist/client/assets/{usageShortcuts-BK6jQ69t.js → usageShortcuts-B_o9XxKX.js} +2 -2
  252. package/dist/client/assets/{use-atom-command-Dv8zTjOp.js → use-atom-command-C4Tyb1VL.js} +2 -2
  253. package/dist/client/assets/{useAriaLabelledBy-CLMjXrdj.js → useAriaLabelledBy-CcwjH1QH.js} +2 -2
  254. package/dist/client/assets/useHandleNewThread-Qb_yy6KY.js +2 -0
  255. package/dist/client/assets/{useLocation-DsTBGqgr.js → useLocation-CIvcNoeU.js} +2 -2
  256. package/dist/client/assets/{useNavigate-DeDarx0_.js → useNavigate-DVrOlf8m.js} +2 -2
  257. package/dist/client/assets/{useNavigateBack-nU9Xh3KX.js → useNavigateBack-Dmf0SIc3.js} +2 -2
  258. package/dist/client/assets/{useP4ConnectAuthPrompt-wImG3qls.js → useP4ConnectAuthPrompt-BPXqJdyY.js} +2 -2
  259. package/dist/client/assets/{useParams-D8m5ONq0.js → useParams-BeJIRxxE.js} +2 -2
  260. package/dist/client/assets/{usePermissionStatus-DPEHxlfG.js → usePermissionStatus-Cx1Wuwk0.js} +2 -2
  261. package/dist/client/assets/{usePopupViewport-DDPbext7.js → usePopupViewport-OR_PF2s-.js} +2 -2
  262. package/dist/client/assets/{usePullRequestActions-Bk-wSv5o.js → usePullRequestActions-B_Nrg846.js} +2 -2
  263. package/dist/client/assets/{useRegisterFieldControl-By1bF-jd.js → useRegisterFieldControl-B72Afmil.js} +2 -2
  264. package/dist/client/assets/{useScopedModelAvailability-CTzd1AsV.js → useScopedModelAvailability-DVQ42jT4.js} +2 -2
  265. package/dist/client/assets/{useSettings-DwDYuiOf.js → useSettings-BWMcQzC-.js} +2 -2
  266. package/dist/client/assets/{utils-sVhLpEl6.js → utils-DFNDxNZi.js} +2 -2
  267. package/dist/client/assets/{vcsRefInvalidation-9bbPf9DL.js → vcsRefInvalidation-CV8dYgi0.js} +2 -2
  268. package/dist/client/assets/{welcome-D36q57wJ.js → welcome-BxhPM21H.js} +2 -2
  269. package/dist/client/index.html +1 -1
  270. package/dist/{preview-D0Bi2g4U.mjs → preview-BGylKXB6.mjs} +5 -3
  271. package/dist/{renderer-Cq4PzLVY.mjs → renderer-CQkeNW9b.mjs} +2 -2
  272. package/dist/{runtime-Cy8_QlEa.mjs → runtime-O5AWAEzD.mjs} +2 -2
  273. package/dist/{runtimeLayer-DUru7wpz.mjs → runtimeLayer-C-Fo4HWH.mjs} +1 -1
  274. package/dist/{runtimeLayer-DZa24xtO.mjs → runtimeLayer-ChPBglJB.mjs} +535 -481
  275. package/dist/{server-BK48ByhE.mjs → server-CsS0d2BE.mjs} +116 -15
  276. package/dist/{sha2-D9ocDAIA.mjs → sha2-BjjJcoUu.mjs} +4 -1
  277. package/package.json +1 -1
  278. package/dist/client/assets/AlertDialogRoot-3k-2cSKF.js +0 -2
  279. package/dist/client/assets/Input-DRxcOIy1.js +0 -2
  280. package/dist/client/assets/JZOYTAAL-CaZB6S8Y.js +0 -1
  281. package/dist/client/assets/PreviewPanel-DzlmHQZw.js +0 -2
  282. package/dist/client/assets/ProviderModelPicker-Dj26-4yu.js +0 -2
  283. package/dist/client/assets/connect-agent-CX7YZ3cf.js +0 -2
  284. package/dist/client/assets/main-CNs583QD.js +0 -39
  285. package/dist/client/assets/settings.archived-UyT8Vo2k.js +0 -2
  286. package/dist/client/assets/settings.diagnostics-30yarj2c.js +0 -2
  287. package/dist/client/assets/settings.source-control-x5yuK078.js +0 -2
  288. package/dist/client/assets/useHandleNewThread-Do-y1VVt.js +0 -2
@@ -3,12 +3,12 @@
3
3
  import { t as __commonJSMin } from "./rolldown-runtime-CMoAvOD_.mjs";
4
4
  import { $c as none, $i as fail$2, $t as runForkWith, Ac as succeed$4, An as uninterruptibleMask, Ar as monotonicTimeNanos, Au as isString, Bc as fromUndefinedOr, Bi as succeed$3, Bo as make$78, Br as launch, Bs as append, Bt as partition, C as catchTag, Ca as pretty, Cn as timeoutOrElse, Cs as zero, Cu as isNotUndefined, D as context, Di as poll, Dn as txRetry, Dr as clockWith, Ds as empty, Dt as mapErrorEager, Ea as squash, Ec as isSuccess$1, Ei as makeUnsafe$1, En as tx, Er as Clock, Es as add, Et as mapError, Eu as isObject$2, F as exit, Fo as MinimumTraceLevel, Fr as effect, Fs as makeUnsafe, G as filterOrFail, Gc as getOrUndefined$1, Gn as yieldNow, Gr as succeed$1, Gs as filterMap, Gu as identity, Hc as getOrNull, Hn as withSpan, Hr as mergeAll, Hs as empty$1, Ht as provide$1, Hu as constant, I as fail$1, Ic as flatMap$1, In as withErrorReporting, Ir as effectContext, Is as merge, It as onInterrupt, Iu as cast, J as flatMap, Jc as isSome, Jo as TaggedClass, Jt as repeat, Ju as pipe, K as findFirst, Kc as isNone, Kl as assignProperty, Kn as zip, Ko as Class, Kr as succeedContext, Kt as race, Ku as memoize, L as failCause, Lc as flatten, Li as isFailure$1, Ln as withFiber, Lo as ParentSpan, Lr as effectDiscard, Ls as omit, Lt as option, M as die, Mc as contains$1, Mi as failCause$1, Mn as useSpan, Ms as getOrUndefinedUnsafe, Mt as never, Mu as isUndefined, Nc as exists, Nn as void_, Nr as buildWithMemoMap, Ns as getUnsafe, Nt as onError, O as contextWith, Oi as succeed$2, On as undefined_, Or as currentTimeMillis, Os as get, Ot as match, P as ensuring, Pc as filter, Ps as make$77, Pt as onExit, Q as fnUntraced, Qc as match$1, Qi as done$1, Qr as addFinalizer$1, Ri as isSuccess, Ro as Tracer, Rr as empty$2, Rs as Prototype, Rt as orDie, Ru as constFalse, S as catchReason, Sa as map$2, Sc as getOrUndefined, Sn as timeoutOption, St as map, T as catch_, Ta as reasonAnnotations, Ti as make$75, Tn as try_, Ts as Service$1, Uc as getOrThrow, Un as withTracer, Uo as encode, Ur as provide, Us as ensure, Ut as provideContext, V as filter$1, Vc as getOrElse, Vi as void_$1, Vn as withParentSpan, Vr as merge$1, Vt as promise, Vu as constVoid, Wi as IllegalArgumentError, Wn as withTracerEnabled, Wr as provideMerge, Ws as filter$2, Wt as provideService, Xo as taggedEnum, Xr as unwrap, Xt as result, Yi as annotate, Yo as TaggedError, Yr as tap$1, Ys as flatMap$2, Z as fn, Zc as map$1, Zo as Scheduler, Zr as Scope, Zt as retry, Zu as pipeArguments, _ as catchCauseIf, _i as doneUnsafe, _r as toStep, _s as seconds, _t as logError, a as all, aa as hasDies, an as scope, as as hours, at as forkScoped, bs as toMillis$1, bt as logWarning, c as annotateLogs, ca as hasInterruptsOnly, ci as CurrentLogLevel, cn as service, ct as gen, d as asSome, di as MinimumLogLevel, dn as succeed, ds as max, dt as interrupt, ec as isArrayNonEmpty, ei as close, el as orElse, en as runPromise, et as forEach, f as asVoid, fa as isDieReason, fi as TracerEnabled, fn as succeedNone, fr as jittered, fs as millis, ft as interruptible, g as catchCause, gi as done, gn as tap, gr as spaced, gt as logDebug, h as callback, hi as die$1, hn as sync, hr as setInputType, hu as hasProperty, i as addFinalizer, ia as fromReasons, ic as lastNonEmpty, ii as make$76, in as runSyncWith, is as fromInputUnsafe, it as forkIn, j as delay, jn as updateContext, jr as CurrentMemoMap, js as getOrUndefined$2, ju as isTagged, k as currentParentSpan, kn as uninterruptible, kr as currentTimeNanos, ks as getOption, kt as matchCauseEffect, ku as isReadonlyObject, l as annotateLogsScoped, li as CurrentLogSpans, ln as serviceOption, lr as fromStep, lt as ignore, ma as isFailReason, mi as _await, mn as suspend, ms as minutes$1, n as acquireRelease, na as findErrorOption, nc as isReadonlyArrayNonEmpty, ni as fork, ns as format, nt as forkChild, o as andThen, oi as provide$2, on as scoped, os as infinity, ot as fromOption, p as cached, pc as take, pi as TracerTimingEnabled, pn as succeedSome, pr as modifyDelay, ps as min, pt as isEffect, qn as zipWith, qt as raceFirst, r as acquireUseRelease, ra as findFail, rn as runSyncExit, rs as fromInput, rt as forkDetach, s as annotateCurrentSpan, sa as hasInterrupts, si as CurrentLogAnnotations, sn as scopedWith, sr as exponential, st as fromResult, ta as findError, tl as some, tn as runPromiseWith, ts as days, tt as forever, tu as equals, u as as, un as sleep, us as isZero, ut as ignoreCause, v as catchDefect, vc as fail$4, vi as fail$3, w as catchTags, wa as prettyErrors, wc as isFailure, wn as tryPromise, ws as Reference, x as catchIf, xn as timeout, xu as isNotNull, yc as failVoid, yi as failCause$2, yn as tapError, yr as upTo, yt as logInfo, zc as fromNullishOr, zi as match$2, zt as orElseSucceed, zu as constTrue } from "./Effect-DwQPN8rO.mjs";
5
5
  import { $r as fromInput$1, A as Number$1, Ai as make$80, At as fromJsonString, Bi as toDate, Bn as getReferenceKey, Bt as isLessThanOrEqualTo, C as MutableJson, Ci as add$1, Cn as inetAddressFromIpString, Cr as transformEffect, D as NonEmptyString, Dt as encodeUnknownEffect, E as NonEmptyArray, Ei as isGreaterThan, F as Record, Fn as omit$1, Fr as Forbidden$1, G as TemplateLiteral, Gi as decode$1, Gr as toRecord, Gt as isPattern, H as StructWithRest, Hr as fromInput$2, Ii as nowUnsafe, Ir as InvalidValue, It as isGreaterThanOrEqualTo, J as Tuple, Ji as map$4, Jt as isSchemaError, Ki as decodeString, L as Redacted, M as Opaque, Mi as max$1, Mn as assign, Mt as is, Nn as lambda, Nr as transformOptional, Nt as isBetween, Pi as now, Pn as map$3, Pr as withDefault, Q as Uint8ArrayFromBase64, Qr as empty$5, R as SchemaError, Rt as isInt32, S as Literals, St as decodeUnknownSync, T as Never, Ti as formatIso, Tt as encodeSync, U as TaggedError$1, Ut as isMinLength, V as Struct, Vi as toEpochMillis, Vr as empty$4, Vt as isMaxLength, W as TaggedStruct, Zr as CurrentRedactedNames, _ as Finite, _n as withConstructorDefault, _t as decodeTo, ai as remove, ar as isNull, b as Json, bt as decodeUnknownOption, c as DateTimeUtc, cn as tag, d as Duration, di as value$1, dt as declare$1, er as getContextOwner, et as UndefinedOr, f as DurationFromMillis, fn as toEncoded$1, ft as decode$2, gn as toType, gr as toEncoded, ii as parseRetryAfter$1, in as refine, it as Void, ji as makeUnsafe$2, jr as transform, k as NullOr, kn as unixPathAddress, kr as passthrough, ln as toCodecArrayFromSingle, m as Error$1, mi as expireCookie, mn as toJsonSchemaDocument, mr as resolveDescription, mt as decodeExit, n as ArraySchema, nn as optional$6, nr as getLastEncoding, nt as Unknown, o as Cause, oi as retryAfterDelay, pi as empty$3, pn as toEquivalence, pt as decodeEffect, qi as encode$1, qt as isSchema, r as Boolean$1, rn as optionalKey, rt as UnknownFromJsonString, s as Class$1, si as set$1, sn as suspend$1, t as Any, ti as isHeaders, tt as Union, u as Defect, ui as make$79, un as toCodecJson, vn as withDecodingDefault, vt as decodeUnknownEffect, w as Natural, wt as encodeEffect, x as Literal, xt as decodeUnknownResult, y as Int$1, yi as set, yt as decodeUnknownExit, z as String$1 } from "./Schema-CdYZrGX6.mjs";
6
- import { $ as WsSelfImproveSetMemoryMirrorRpc, $d as isRespondable, $f as isStreamNdjson, $h as RpcClientId, $m as AcpRegistryOperationError, $n as PreviewAutomationUnsupportedClientError, $o as deviceToolInstallMessage, $p as bodyJsonUnsafe, $r as OrchestratorMcpClientRequestId, $s as toRouterPath, $u as use, A as ComputerUseHostResponse, Aa as AntigravitySettings, Ac as OrchestrationV2ProviderSessionJson, Af as AuthRelayReadScope, Ah as ClientConnectionMethod, Ai as OrchestratorMcpThreadWaitInput, Al as ProviderUserInputAnswers, An as PreviewAutomationNoAvailableHostError, Ao as UsageReadError, Ap as redirect, As as EnvironmentInternalError, At as DesignGuideRequest, B as WsHubSyncResolveRpc, Ba as DEFAULT_SERVER_SETTINGS, Bc as OrchestrationV2SearchThreadError, Bf as authScopeRequiredResponse, Bm as ignore$1, Bn as PreviewAutomationResizeInput, Bo as DevicePlatformUnavailableError, Bp as filterStatusOk, Bs as RelayEnvironmentLinkChallengeResponse, Bt as DesignProposeRequest, C as COMPUTER_USE_JEV_TAKE_CODE, Cc as OrchestrationV2GetShellSnapshotError, Cf as AuthMcpClientAccess, Ci as OrchestratorMcpThreadInterruptResult, Cn as PreviewAutomationDialogInput, Cp as file, Cr as AttachmentCreateUploadUrlResult, Cs as EnvironmentHttpApi, Ct as DesignServiceError, Cu as ChatFileAttachment, D as ComputerUseHost, Dd as fromHeaders, Df as AuthOrchestrationReadScope, Di as OrchestratorMcpThreadReadResult, Dl as ProviderApprovalOption, Dn as PreviewAutomationInvalidSelectorError, Do as ResolvedKeybindingRule, Dp as mergeCookies, Ds as EnvironmentHttpForbiddenError, Dt as DesignApplyRequest, E as ComputerUseError, Ef as AuthOrchestrationOperateScope, Ei as OrchestratorMcpThreadReadInput, El as ProviderApprovalDecision, Em as text$3, En as PreviewAutomationExecutionError, Ep as jsonUnsafe, Es as EnvironmentHttpConflictError, Et as DesignApplyReceipt, F as clientRpcRequiredScopes, Ff as AuthTerminalReadScope, Fh as CommandId, Fl as ThreadPullRequestLinkSource, Fn as PreviewAutomationRecordingStatus, Fo as DeviceHostUnavailableError, Fp as setStatus, Fr as OrchestrationSearchThreadsError, Ft as DesignInspectReceipt, G as WsMcpRegistryProviderSignInCompleteRpc, Gl as SourceControlCloneRepositoryInput, Gm as isHttpMethod, Gn as PreviewAutomationSetColorSchemeResult, Go as DeviceToolOpenResult, Gs as RelayManagedEndpointRecoveryResponse, Gt as DesignStatusRequest, Gu as HttpRouter, H as WsHubSyncSetModeRpc, Hf as mcpClientScopes, Hh as MessageId, Hi as OrchestrationDispatchCommandError, Hl as pullRequestHostOf, Hm as layer$98, Hn as PreviewAutomationResultTooLargeError, Ho as DeviceToolError, Hs as RelayHookDeliveryProofPayload, Ht as DesignRenderRequest, I as RpcScopeAuthorization, Il as PullRequestLinkedThreadsResult, In as PreviewAutomationRecordingTooLargeError, Io as DeviceId, Ip as stream, Ir as OrchestrationSearchThreadsInput, It as DesignInspectRequest, J as WsMcpRegistryProviderSignInWaitRpc, Ja as ServerSettingsPatch, Jc as OrchestrationV2ThreadForkSourcePoint, Jf as getResponseEncodingSchema, Jh as ProjectId, Jl as SourceControlProviderKind, Jn as PreviewAutomationTabNotFoundError, Jo as DeviceToolUnavailableError, Jp as appendUrlParams, Jt as DesignValidateReceipt, Ju as cors, K as WsMcpRegistryProviderSignInStartRpc, Ka as ServerSettings, Ki as GitCommandError, Kl as SourceControlCloneRepositoryResult, Kn as PreviewAutomationSnapshot, Ko as DeviceToolScreenshotResult, Kp as schemaBodyJson, Kt as DesignStylesReceipt, Ku as RouteContext, L as WS_METHODS, La as DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, Lc as OrchestrationV2RunStatus, Ld as isPersistedFile, Lf as EnvironmentAuthorizationError, Li as ScheduledTask, Ll as PullRequestOperationError, Ln as PreviewAutomationRecordingTransferError, Lo as DeviceNotFoundError, Lp as text$2, Lr as OrchestrationThreadSearchMatch, Ls as RelayApi, Lt as DesignLibraryManifest, M as ComputerUseOutput, Ma as BackgroundActivityProfileSelection, Md as schemaHeaders, Mf as AuthSettingsWriteScope, Mh as ClientOs, Mi as ThreadMetadataMcpUpdateInput, Mn as PreviewAutomationRecordingArtifact, Mo as DeviceBootError, Ms as EnvironmentRequestInvalidError, Mt as DesignHandoffRequest, Mu as isSecurity, N as computerUseJevStepCode, Nd as schemaSearchParams, Nf as AuthStandardClientScopes, Nh as ClientSurface, Ni as ThreadMetadataMcpUpdateResult, Nl as ThreadPullRequestKey, Nn as PreviewAutomationRecordingDeadlineExpiredError, No as DeviceEasAccountError, Np as setHeader, Ns as EnvironmentResourceNotFoundError, Nt as DesignImportTokensReceipt, O as ComputerUseHostRegistration, Od as HttpServerRequest, Of as AuthPreviewOperateScope, Oi as OrchestratorMcpThreadSendInput, Ol as ProviderInteractionMode, On as PreviewAutomationMalformedResponseError, Os as EnvironmentHttpInternalServerError, Ou as PersistChatAttachmentsError, P as CLIENT_GUARDED_RPC_SCOPES, Pa as CodexSettings, Pf as AuthTerminalOperateScope, Ph as ClientWebDeployment, Pi as SECRET_REQUEST_UNSAVED_NOTE, Pm as PlatformError, Pn as PreviewAutomationRecordingDesktopUpdateRequiredError, Po as DeviceHostId, Pp as setHeaders, Ps as EnvironmentScopeRequiredError, Pt as DesignImportTokensRequest, Pu as getSlotParseOptions, Q as WsSelfImproveSaveFindingsRpc, Qf as isNoContent, Qn as PreviewAutomationUnavailableError, Qo as LOCAL_DEVICE_HOST_LABEL, Qp as bodyJson, Qr as OrchestratorMcpCapabilitiesResult, Qt as ServerClient, Qu as serve, R as WsHubSyncConnectRpc, Rc as OrchestrationV2RuntimeRequest, Rd as limitsServices, Rf as MCP_PEER_LINK_SOFTWARE_ID, Rn as PreviewAutomationRemoteUnavailableError, Ro as DeviceOperationError, Rp as uint8Array, Rr as OrchestrationThreadSearchSource, Rs as RelayCloudEnvironmentHealthProofPayload, Sf as AuthMcpApprovalError, Si as OrchestratorMcpThreadInterruptInput, Sl as ProjectWriteFileError, Sm as isHttpClientError, Sn as PreviewAutomationControlReason, Sp as empty$6, Sr as AttachmentCreateUploadUrlInput, Ss as EnvironmentCloudEndpointUnavailableError, St as DesignRpcGroup, Su as ChatAttachmentId, T as ComputerUseBrowserChatRequest, Tf as AuthMcpTokenError, Ti as OrchestratorMcpThreadListResult, Tn as PreviewAutomationEvaluateInput, To as KeybindingsConfigError, Tp as isHttpServerResponse, Tr as AttachmentUploadSigningKeyError, Tu as PROVIDER_SEND_TURN_MAX_FILE_BYTES, U as WsHubSyncSubscribeRpc, Uc as OrchestrationV2StopWorkflowInput, Ud as Path, Ui as PullRequestReviewGuide, Um as report$1, Un as PreviewAutomationSelectResult, Uo as DeviceToolListResult, Up as MaxBodySize, Ut as DesignSelection, V as WsHubSyncRunNowRpc, Va as DatabaseReclaimError, Vf as authScopeResponse, Vh as IsoDateTime, Vm as isIgnored, Vn as PreviewAutomationResizeResult, Vo as DeviceToolCloseInput, Vs as RelayEnvironmentLinkResponse, Vt as DesignRenderReceipt, Vu as getSuccessSchemas, W as WsMcpRegistryProviderSignInCancelRpc, Wh as NonNegativeInt, Wi as PullRequestReviewGuideRun, Wm as hasBody, Wn as PreviewAutomationSetColorSchemeInput, Wo as DeviceToolOpenInput, Ws as RelayManagedEndpointRecoveryRegistrationResponse, Wt as DesignStatusReceipt, X as WsRpcGroup, Xc as OrchestrationV2ThreadShell, Xf as getStatusSuccessSchema, Xi as VcsListRefsInput, Xm as makeParser, Xn as PreviewAutomationTargetNotEditableError, Xp as bearerToken, Xr as PeerLinkError, Xs as fromApi, Xt as make$82, Y as WsMcpRegistryProviderSignOutRpc, Yc as OrchestrationV2ThreadLaunchError, Yf as getStatusErrorSchema, Ym as encoder$1, Yn as PreviewAutomationTabTargetInput, Yo as DeviceToolVersions, Yt as DesignValidateRequest, Yu as middleware$1, Z as WsSelfImproveDismissFindingsRpc, Zf as getWithHeadersAnnotation, Zi as VcsListRefsResult, Zn as PreviewAutomationTimeoutError, Zo as LOCAL_DEVICE_HOST_ID, Zp as bodyFormData, Zr as PeerLinkRequestError, Zu as route, _ as Asset3dGenerateResult, _a as ProviderSetupError, _c as OrchestrationV2DispatchCommandResult, _d as transform$1, _f as AuthEnvironmentMaintainScope, _h as ProviderInstanceMutation, _i as OrchestratorMcpSaveScheduledTaskInput, _l as ProjectReadFileError, _n as PREVIEW_RECORDING_STOP_TIMEOUT_MS, _o as PreviewListResult, _p as fromWebSocket, _r as AssetWorkspaceContextNotFoundError, _t as SelfImproveSaveFindingsResult, _u as supportsProviderMcpSignIn, aa as isProviderAvailable, ac as OrchestrationV2AgentThreadLaunchWorkspaceStrategy, ad as TracerDisabledWhen$1, ag as ThreadId, ai as OrchestratorMcpDeleteScheduledTaskResult, al as linkOriginIsFenced, am as get$1, an as WorktreeMcpFailure, ao as resolveProjectProviderInstanceEnabled, ar as ReviewDiffPreviewSourceKind, as as ThreadDecisionsReadError, au as VcsUnsupportedOperationError, b as Asset3dSearchInput, bd as TracerDisabledWhen, bf as AuthFilesystemWriteScope, bi as OrchestratorMcpTaskCancelResult, bl as ProjectSearchEntriesError, bn as PreviewAutomationClientDisconnectedError, bo as PreviewTabId, bp as make$81, br as AssetWorkspaceResolutionError, bs as EnvironmentAuthenticatedAuth, bt as DesignListReceipt, bu as OrchestrationGetTurnDiffResult, cg as TurnItemId, ci as OrchestratorMcpEnvironmentLinksResult, cl as ToolActivityIcon, cn as WorktreeMcpStatusResult, cr as AssetCreateUrlInput, ct as SelfImproveDecision, dc as OrchestrationV2ContextTransfer, dd as mapRequest$1, df as AuthAccessReadScope, dg as toNumberUnsafe, di as OrchestratorMcpEnvironmentUnlinkResult, dl as OrchestrationProjectShell, dm as setHeader$1, do as PREVIEW_STREAM_HOST_SETUP_CLOSE_CODE, dr as AssetProjectFaviconInspectionError, ds as resolveBrowserProfiles, dt as SelfImproveFindings, du as McpServerRuntimeState, ed as HttpServer, ef as symbol, ei as OrchestratorMcpCreateThreadsInput, em as bodyStream, ep as isStreamSchema, er as PreviewAutomationWaitForInput, et as WsSelfImproveSubscribeSettingsRpc, ff as AuthAccessStreamError, fi as OrchestratorMcpFailure, fl as Project, fm as setHeaders$1, fr as AssetProjectFaviconNotFoundError, ft as SelfImproveLabel, g as Asset3dGenerateInput, gc as OrchestrationV2DispatchCommandError, gf as AuthDiagnosticsReadScope, gh as ProviderInstanceId, gi as OrchestratorMcpRequestSecretResult, gl as ProjectMutationError, gn as PREVIEW_AUTOMATION_V1_OPERATIONS, gp as WebSocketConstructor, gr as AssetWorkspaceAssetNotFoundError, gs as DESKTOP_UPDATE_RESTART_MARKER_FILE, gt as SelfImproveReviewers, h as Asset3dFiles, hc as OrchestrationV2DelegatedFrom, hd as tap$2, hh as ProviderDriverKind, hi as OrchestratorMcpRequestSecretInput, hl as ProjectMutation, hn as PREVIEW_AUTOMATION_SERVER_OPERATIONS, hp as WebSocket, hr as AssetWorkspaceAssetInspectionError, hs as DesktopBrowserEvent, ht as SelfImproveReview, ic as OrchestrationGetWorkflowScriptError, id as HttpClient, ii as OrchestratorMcpDeleteScheduledTaskInput, il as latestProviderTurnForAttempt, im as del, io as resolveIdleCompaction, ip as isWithHeadersValue, ir as ReviewDiffPreviewSource, is as ThreadDecision, it as WsSubscribeThreadDecisionsRpc, iu as VcsRepositoryDetectionError, j as ComputerUseJsInput, ja as BackgroundActivityProfile, jd as schemaCookies, jf as AuthRelayWriteScope, jh as ClientDeviceType, ji as OrchestratorMcpThreadWaitResult, jl as RuntimeMode, jn as PreviewAutomationOpenInput, jo as DeviceActionUnavailableError, jr as FilesystemBrowseError, js as EnvironmentOperationForbiddenError, jt as DesignHandoffReceipt, k as ComputerUseHostReport, kd as ParsedSearchParams, kf as AuthProvidersManageScope, ki as OrchestratorMcpThreadSendResult, kl as ProviderRequestKind, km as FileSystem, kn as PreviewAutomationNavigateInput, ks as EnvironmentHttpUnauthorizedError, kt as DesignGuideReceipt, ku as getProviderAttachmentLimitError, lf as ORCHESTRATION_PROTOCOL_QUERY_PARAM, lg as bytes, li as OrchestratorMcpEnvironmentTarget, ll as ToolActivityNativeAppReference, lr as AssetGitHubMediaUrlValidationError, lt as SelfImproveError, lu as McpServerId, m as Asset3dFetchInput, mf as AuthAccessWriteScope, mh as PROVIDER_DISPLAY_NAMES, mi as OrchestratorMcpListScheduledTasksResult, ml as ProjectListEntriesError, mm as setUrlParams, mn as McpCapabilityUnavailableError, mo as PreviewClearProfileError, mr as AssetSigningKeyLoadError, ms as DesktopBrowserCommand, mt as SelfImproveResult, na as ServerProviderUpdateError, ng as RuntimeRequestId, ni as OrchestratorMcpDelegateTaskInput, no as requiredScopesForProjectMutation, np as isUpgrade, ns as DecisionInput, nt as WsSelfImproveUndoSaveRpc, oa as isProviderTextGenerationCapable, of as make$84, og as TrimmedNonEmptyString, oh as DEFAULT_MODEL, oi as OrchestratorMcpEnvironmentLinkInput, om as make$85, on as WorktreeMcpHandoffInput, op as normalize, or as ATTACHMENT_UPLOAD_URL_TTL_MS, ou as ModelSelection, pd as retry$1, pi as OrchestratorMcpListScheduledTasksInput, pl as ProjectCreatePayload, pn as BrowserNavigationTarget, po as PREVIEW_VIEWPORT_PRESET_IDS, pr as AssetProjectFaviconResolutionError, pt as SelfImproveRequest, pu as PluginId, q as WsMcpRegistryProviderSignInStateRpc, qc as OrchestrationV2SweepItem, qf as getResponseEncoding, qh as PositiveInt, qn as PreviewAutomationStatus, qo as DeviceToolTargetInput, qs as RelayOkResponse, qt as DesignStylesRequest, qu as add$2, rc as ORCHESTRATION_V2_WS_METHODS, rg as ScheduledTaskId, ri as OrchestratorMcpDelegateTaskResult, rl as isProviderNativeSubagentThread, ro as requiredScopesForServerSettingsPatch, rp as isWithHeaders, rr as ReviewDiffFileStat, rs as DecisionResult, rt as WsSelfImproveUpdateSettingsRpc, sc as OrchestrationV2AppThreadJson, sd as filterStatusOk$1, sf as ExecutionEnvironmentDescriptor, si as OrchestratorMcpEnvironmentLinkResult, sm as post, sn as WorktreeMcpHandoffResult, sp as CloseEvent, sr as AssetAttachmentNotFoundError, ss as BUILT_IN_BROWSER_PROFILES, st as Service$2, su as McpRegistryRpcError, tf as toResponse, tg as RunId, ti as OrchestratorMcpCreateThreadsResult, tn as make$83, tp as isStreamUint8Array, tr as SERVER_BROWSER_AUTOMATION_CLIENT_ID, tt as WsSelfImproveSubscribeThreadFindingsRpc, ui as OrchestratorMcpEnvironmentUnlinkInput, ul as UsageLimitSourceError, um as setBody, uo as FILL_PREVIEW_VIEWPORT, ur as AssetPreviewTypeValidationError, us as findBrowserProfile, ut as SelfImproveEvidence, v as Asset3dGenerateStatusInput, va as ProviderUploadFeedbackError, vh as defaultInstanceIdForDriver, vi as OrchestratorMcpScheduleTaskResult, vn as PreviewAutomationActInput, vr as AssetWorkspaceContextResolutionError, vs as RelayClientInstallFailedError, vt as UserInputRankError, vu as OrchestrationGetFullThreadDiffError, w as COMPUTER_USE_MAX_OUTPUT_CHARS, wc as OrchestrationV2GetThreadProjectionError, wf as AuthMcpRegistrationError, wi as OrchestratorMcpThreadListInput, wl as DEFAULT_PROVIDER_INTERACTION_MODE, wn as PreviewAutomationError, wo as KeybindingRule, wr as AttachmentDeleteInput, ws as EnvironmentHttpBadRequestError, wt as DesignSubscribeRequest, wu as ChatImageAttachment, x as Asset3dSearchResult, xd as compression, xf as AuthGrantScope, xi as OrchestratorMcpTaskStatusInput, xl as ProjectUpdatePayload, xn as PreviewAutomationControlInterruptedError, xo as PreviewViewportSetting, xp as makeWebSocket$2, xr as AssetWorkspaceRootNormalizationError, xs as EnvironmentAuthenticatedPrincipal, xt as DesignListRequest, y as Asset3dGenerateStatusResult, yd as withScope, yf as AuthFilesystemReadScope, yi as OrchestratorMcpTaskCancelInput, yl as ProjectSearchContentsError, yn as PreviewAutomationActInputs, yo as PreviewStreamHostSetup, yp as isSocketError, yr as AssetWorkspacePathValidationError, ys as EnvironmentAuthInvalidError, yt as DesignHumanApplyRequest, yu as OrchestrationGetTurnDiffError, z as WsHubSyncDisconnectRpc, za as DEFAULT_PROVIDER_HEALTH_REFRESH_INTERVAL, zl as PullRequestState, zm as TypeId$7, zn as PreviewAutomationRequestQueueClosedError, zo as DevicePlatformAvailability, zp as urlParams, zr as HubSyncError, zs as RelayCloudMintCredentialProofPayload, zt as DesignProposeReceipt, zu as getErrorSchemas } from "./sha2-D9ocDAIA.mjs";
7
- import { $ as PROJECT_FAVICON_FALLBACK_MARKER, $n as ProviderEventLoggers, $t as layer$107, A as ThreadManagementError, An as COMPACTION_SUGGESTION_MIN_TOKENS, Ar as shutdown, At as layer$118, B as ProviderSessionManagerV2, Bn as WORKSPACE_BROWSER_PREVIEW_EXTENSIONS, Br as update$1, Bt as layer$102, C as ManagedProjectFolders, Cn as CodexInstallation, Cr as agentScopeCommand, Ct as layer$120, D as createTranscriptJsonReader, Dn as EMPTY_TOTALS, Dr as ProviderInstanceRegistry, Dt as layer$119, E as layer$99, En as layer$130, Er as layer$117, Et as VcsStatusBroadcaster, F as latestRun, Fn as layerModelCatalog, Fr as update, Ft as ProjectSetupScriptRunner, G as stringArray, Gn as isWorkspacePreviewEntryPath, Gt as layer$110, H as layer$125, Hn as audioMimeTypeFromExtension, Hr as run, Ht as layer$121, I as withCreationProvenance, In as resolveProviderCompatibility, Ir as changes, It as TerminalManager, J as layer$126, Jn as subagentResultForRun, Jt as layer$103, K as stringRecord, Kn as makeUnavailableUsageLimits, Kt as BackgroundPolicy, L as OrchestratorV2, Ln as layer$105, Lr as get$3, Lt as layer$122, M as isActiveRun, Mn as BUNDLED_MODEL_MANIFEST, Mr as unbounded, Mt as layer$115, N as isTerminalRunStatus, Nn as ModelManifest, Nr as get$2, Nt as ProviderRegistry, O as ProviderAuthService, On as claudeUsageResponseToLimits, Or as clear, Ot as layerAutoPullPolicy, P as latestActiveRun, Pn as layer$129, Pr as make$86, Pt as layer$127, Q as layer$124, Qn as NoOpProviderEventLoggers, Qt as layer$134, R as OrchestratorV2Error, Rn as AntigravityInstallation, Rr as make$87, Rt as NativeTelemetryClient, S as layer$116, Sn as providerAuthReturnUrl, Sr as AgentScope, St as CheckpointStore, T as AgentSessionScanner, Tn as codexRateLimitsToLimits, Tr as TextGeneration, Tt as parseTurnDiffFilesFromNumstat, U as isRecord$1, Un as hostPreviewMimeTypeFromExtension, Ur as get$4, Ut as deriveProviderInstanceConfigMap, V as McpRegistry, Vn as WORKSPACE_IMAGE_PREVIEW_EXTENSIONS, Vr as make$91, Vt as PortDiscovery, W as registryNameFor, Wn as isWorkspaceImagePreviewPath, Wr as make$90, Wt as layer$128, X as layerObserver, Xn as layer$132, Xt as layer$106, Y as layerCallbackRoute, Yn as withExecutedModelNote, Yt as BUILT_IN_USAGE_DRIVERS, Z as WorkspaceEntries, Zn as mergeProviderInstanceEnvironment, Zt as layer$133, _ as SecretRequests, _n as isJoseError, _r as PtyAdapter, _t as ProviderAdapterRegistryV2, a as layerProjectService, an as decodeUnverified, ar as make$89, at as layer$113, b as layer$100, bn as codexAuthorizationRequest, br as nodeRuntimeUnavailableMessage, bt as runOutcome, c as ProviderRuntimeRecoveryService, cn as exportPkcs8, cr as jsonRpc, ct as layer$136, d as layer$123, dn as importPkcs8, dr as RequestId$3, dt as clientModeCeiling, en as layer$108, er as Protocol, et as isProjectFaviconPath, f as ScratchThreadPromotion, fn as importPrivate, fr as claudeSkillInvocation, ft as hiddenWhileLinksOff, g as relayHookBaseUrl, gn as JoseError, gr as AcpRegistryRuntimeCoordinator, gt as threadLinkFor, h as WEBHOOK_ROUTE_PREFIX, hn as AlgorithmNotAllowed, hr as toAcpRegistryOperationError, ht as requireThreadScope, i as layerProduction, in as makeCodexChatGptAuth, ir as Protocol$1, it as layer$114, j as ThreadManagementService, jn as readContainedWorkflowFile, jr as take$1, jt as GitManager, k as McpAppRequests, kn as makeEventNdjsonLogStore, kr as offer, kt as GitWorkflowService, l as runDaemon, ln as exportSpki, lr as layerJson, lt as MODE_LIMIT_HEADER, m as ScheduledTaskWebhookOrigin, mn as importSpki, mr as layerFromHost, mt as requireThreadMcpCapability, n as layerEventInfrastructure, nn as sameUsageLimitCommandCoverage, nr as makeProtocolWithHttpEffect, nt as layer$111, o as layerProjectSetupScriptRunner, on as verify, or as makeNoSerialization, ot as layerAnalytics, p as ScheduledTaskService, pn as importPublic, pr as AcpRegistryCatalog, pt as requireMcpCapability, q as transportFromJsonEntry, qn as delegatedTaskProgress, qt as layer$104, rn as withUsageLimitsCommands, rr as makeProtocolWithHttpEffectWebsocket, rt as layer$112, s as layerReports, sn as sign, sr as RpcSerialization, st as McpSessionRegistry, tn as layer$109, tr as make$88, tt as PullRequestService, u as PreviewManager, un as generateKeyPair, ur as layerJsonRpc, ut as McpInvocationContext, v as ThreadLaunchService, vn as AnalyticsService, vr as PtySpawnError, vt as layerFromProviderInstanceRegistry, w as AgentSessionImporter, wn as codexPlanLabel, wr as withWorkspaceLease, wt as isGitImport, x as WorktreeSetupTracker, xn as codexCallbackUrl, xr as resolveNodeExecutable, xt as checkpointRefForScopeOrdinal, y as Decisions, yn as layer$135, yr as layer$131, yt as DispatchModeLimit, z as queuedRunsInDeliveryOrder, zn as openZipArchive, zr as set$2, zt as layer$101 } from "./runtimeLayer-DZa24xtO.mjs";
6
+ import { $ as WsSelfImproveSetMemoryMirrorRpc, $d as isRespondable, $f as isStreamNdjson, $h as RpcClientId, $m as AcpRegistryOperationError, $n as PreviewAutomationUnsupportedClientError, $o as deviceToolInstallMessage, $p as bodyJsonUnsafe, $r as OrchestratorMcpClientRequestId, $s as toRouterPath, $u as use, A as ComputerUseHostResponse, Aa as AntigravitySettings, Ac as OrchestrationV2ProviderSessionJson, Af as AuthRelayReadScope, Ah as ClientConnectionMethod, Ai as OrchestratorMcpThreadWaitInput, Al as ProviderUserInputAnswers, An as PreviewAutomationNoAvailableHostError, Ao as UsageReadError, Ap as redirect, As as EnvironmentInternalError, At as DesignGuideRequest, B as WsHubSyncResolveRpc, Ba as DEFAULT_SERVER_SETTINGS, Bc as OrchestrationV2SearchThreadError, Bf as authScopeRequiredResponse, Bm as ignore$1, Bn as PreviewAutomationResizeInput, Bo as DevicePlatformUnavailableError, Bp as filterStatusOk, Bs as RelayEnvironmentLinkChallengeResponse, Bt as DesignProposeRequest, C as COMPUTER_USE_JEV_TAKE_CODE, Cc as OrchestrationV2GetShellSnapshotError, Cf as AuthMcpClientAccess, Ci as OrchestratorMcpThreadInterruptResult, Cn as PreviewAutomationDialogInput, Cp as file, Cr as AttachmentCreateUploadUrlResult, Cs as EnvironmentHttpApi, Ct as DesignServiceError, Cu as ChatFileAttachment, D as ComputerUseHost, Dd as fromHeaders, Df as AuthOrchestrationReadScope, Di as OrchestratorMcpThreadReadResult, Dl as ProviderApprovalOption, Dm as uint8Array$1, Dn as PreviewAutomationInvalidSelectorError, Do as ResolvedKeybindingRule, Dp as mergeCookies, Ds as EnvironmentHttpForbiddenError, Dt as DesignApplyRequest, E as ComputerUseError, Ef as AuthOrchestrationOperateScope, Ei as OrchestratorMcpThreadReadInput, El as ProviderApprovalDecision, Em as text$3, En as PreviewAutomationExecutionError, Ep as jsonUnsafe, Es as EnvironmentHttpConflictError, Et as DesignApplyReceipt, F as clientRpcRequiredScopes, Ff as AuthTerminalReadScope, Fh as CommandId, Fl as ThreadPullRequestLinkSource, Fn as PreviewAutomationRecordingStatus, Fo as DeviceHostUnavailableError, Fp as setStatus, Fr as OrchestrationSearchThreadsError, Ft as DesignInspectReceipt, G as WsMcpRegistryProviderSignInCompleteRpc, Gl as SourceControlCloneRepositoryInput, Gm as isHttpMethod, Gn as PreviewAutomationSetColorSchemeResult, Go as DeviceToolOpenResult, Gs as RelayManagedEndpointRecoveryResponse, Gt as DesignStatusRequest, Gu as HttpRouter, H as WsHubSyncSetModeRpc, Hf as mcpClientScopes, Hh as MessageId, Hi as OrchestrationDispatchCommandError, Hl as pullRequestHostOf, Hm as layer$98, Hn as PreviewAutomationResultTooLargeError, Ho as DeviceToolError, Hs as RelayHookDeliveryProofPayload, Ht as DesignRenderRequest, I as RpcScopeAuthorization, Il as PullRequestLinkedThreadsResult, In as PreviewAutomationRecordingTooLargeError, Io as DeviceId, Ip as stream, Ir as OrchestrationSearchThreadsInput, It as DesignInspectRequest, J as WsMcpRegistryProviderSignInWaitRpc, Ja as ServerSettingsPatch, Jc as OrchestrationV2ThreadForkSourcePoint, Jf as getResponseEncodingSchema, Jh as ProjectId, Jl as SourceControlProviderKind, Jn as PreviewAutomationTabNotFoundError, Jo as DeviceToolUnavailableError, Jp as appendUrlParams, Jt as DesignValidateReceipt, Ju as cors, K as WsMcpRegistryProviderSignInStartRpc, Ka as ServerSettings, Ki as GitCommandError, Kl as SourceControlCloneRepositoryResult, Kn as PreviewAutomationSnapshot, Ko as DeviceToolScreenshotResult, Kp as schemaBodyJson, Kt as DesignStylesReceipt, Ku as RouteContext, L as WS_METHODS, La as DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, Lc as OrchestrationV2RunStatus, Ld as isPersistedFile, Lf as EnvironmentAuthorizationError, Li as ScheduledTask, Ll as PullRequestOperationError, Ln as PreviewAutomationRecordingTransferError, Lo as DeviceNotFoundError, Lp as text$2, Lr as OrchestrationThreadSearchMatch, Ls as RelayApi, Lt as DesignLibraryManifest, M as ComputerUseOutput, Ma as BackgroundActivityProfileSelection, Md as schemaHeaders, Mf as AuthSettingsWriteScope, Mh as ClientOs, Mi as ThreadMetadataMcpUpdateInput, Mn as PreviewAutomationRecordingArtifact, Mo as DeviceBootError, Ms as EnvironmentRequestInvalidError, Mt as DesignHandoffRequest, Mu as isSecurity, N as computerUseJevStepCode, Nd as schemaSearchParams, Nf as AuthStandardClientScopes, Nh as ClientSurface, Ni as ThreadMetadataMcpUpdateResult, Nl as ThreadPullRequestKey, Nn as PreviewAutomationRecordingDeadlineExpiredError, No as DeviceEasAccountError, Np as setHeader, Ns as EnvironmentResourceNotFoundError, Nt as DesignImportTokensReceipt, O as ComputerUseHostRegistration, Od as HttpServerRequest, Of as AuthPreviewOperateScope, Oi as OrchestratorMcpThreadSendInput, Ol as ProviderInteractionMode, On as PreviewAutomationMalformedResponseError, Os as EnvironmentHttpInternalServerError, Ou as PersistChatAttachmentsError, P as CLIENT_GUARDED_RPC_SCOPES, Pa as CodexSettings, Pf as AuthTerminalOperateScope, Ph as ClientWebDeployment, Pi as SECRET_REQUEST_UNSAVED_NOTE, Pm as PlatformError, Pn as PreviewAutomationRecordingDesktopUpdateRequiredError, Po as DeviceHostId, Pp as setHeaders, Ps as EnvironmentScopeRequiredError, Pt as DesignImportTokensRequest, Pu as getSlotParseOptions, Q as WsSelfImproveSaveFindingsRpc, Qf as isNoContent, Qn as PreviewAutomationUnavailableError, Qo as LOCAL_DEVICE_HOST_LABEL, Qp as bodyJson, Qr as OrchestratorMcpCapabilitiesResult, Qt as ServerClient, Qu as serve, R as WsHubSyncConnectRpc, Rc as OrchestrationV2RuntimeRequest, Rd as limitsServices, Rf as MCP_PEER_LINK_SOFTWARE_ID, Rn as PreviewAutomationRemoteUnavailableError, Ro as DeviceOperationError, Rp as uint8Array, Rr as OrchestrationThreadSearchSource, Rs as RelayCloudEnvironmentHealthProofPayload, Sf as AuthMcpApprovalError, Si as OrchestratorMcpThreadInterruptInput, Sl as ProjectWriteFileError, Sm as isHttpClientError, Sn as PreviewAutomationControlReason, Sp as empty$6, Sr as AttachmentCreateUploadUrlInput, Ss as EnvironmentCloudEndpointUnavailableError, St as DesignRpcGroup, Su as ChatAttachmentId, T as ComputerUseBrowserChatRequest, Tf as AuthMcpTokenError, Ti as OrchestratorMcpThreadListResult, Tn as PreviewAutomationEvaluateInput, To as KeybindingsConfigError, Tp as isHttpServerResponse, Tr as AttachmentUploadSigningKeyError, Tu as PROVIDER_SEND_TURN_MAX_FILE_BYTES, U as WsHubSyncSubscribeRpc, Uc as OrchestrationV2StopWorkflowInput, Ud as Path, Ui as PullRequestReviewGuide, Um as report$1, Un as PreviewAutomationSelectResult, Uo as DeviceToolListResult, Up as MaxBodySize, Ut as DesignSelection, V as WsHubSyncRunNowRpc, Va as DatabaseReclaimError, Vf as authScopeResponse, Vh as IsoDateTime, Vm as isIgnored, Vn as PreviewAutomationResizeResult, Vo as DeviceToolCloseInput, Vs as RelayEnvironmentLinkResponse, Vt as DesignRenderReceipt, Vu as getSuccessSchemas, W as WsMcpRegistryProviderSignInCancelRpc, Wh as NonNegativeInt, Wi as PullRequestReviewGuideRun, Wm as hasBody, Wn as PreviewAutomationSetColorSchemeInput, Wo as DeviceToolOpenInput, Ws as RelayManagedEndpointRecoveryRegistrationResponse, Wt as DesignStatusReceipt, X as WsRpcGroup, Xc as OrchestrationV2ThreadShell, Xf as getStatusSuccessSchema, Xi as VcsListRefsInput, Xm as makeParser, Xn as PreviewAutomationTargetNotEditableError, Xp as bearerToken, Xr as PeerLinkError, Xs as fromApi, Xt as make$82, Y as WsMcpRegistryProviderSignOutRpc, Yc as OrchestrationV2ThreadLaunchError, Yf as getStatusErrorSchema, Ym as encoder$1, Yn as PreviewAutomationTabTargetInput, Yo as DeviceToolVersions, Yt as DesignValidateRequest, Yu as middleware$1, Z as WsSelfImproveDismissFindingsRpc, Zf as getWithHeadersAnnotation, Zi as VcsListRefsResult, Zn as PreviewAutomationTimeoutError, Zo as LOCAL_DEVICE_HOST_ID, Zp as bodyFormData, Zr as PeerLinkRequestError, Zu as route, _ as Asset3dGenerateResult, _a as ProviderSetupError, _c as OrchestrationV2DispatchCommandResult, _d as transform$1, _f as AuthEnvironmentMaintainScope, _h as ProviderInstanceMutation, _i as OrchestratorMcpSaveScheduledTaskInput, _l as ProjectReadFileError, _n as PREVIEW_RECORDING_STOP_TIMEOUT_MS, _o as PreviewListResult, _p as fromWebSocket, _r as AssetWorkspaceContextNotFoundError, _t as SelfImproveSaveFindingsResult, _u as supportsProviderMcpSignIn, aa as isProviderAvailable, ac as OrchestrationV2AgentThreadLaunchWorkspaceStrategy, ad as TracerDisabledWhen$1, ag as ThreadId, ai as OrchestratorMcpDeleteScheduledTaskResult, al as linkOriginIsFenced, am as get$1, an as WorktreeMcpFailure, ao as resolveProjectProviderInstanceEnabled, ar as ReviewDiffPreviewSourceKind, as as ThreadDecisionsReadError, au as VcsUnsupportedOperationError, b as Asset3dSearchInput, bd as TracerDisabledWhen, bf as AuthFilesystemWriteScope, bi as OrchestratorMcpTaskCancelResult, bl as ProjectSearchEntriesError, bn as PreviewAutomationClientDisconnectedError, bo as PreviewTabId, bp as make$81, br as AssetWorkspaceResolutionError, bs as EnvironmentAuthenticatedAuth, bt as DesignListReceipt, bu as OrchestrationGetTurnDiffResult, cg as TurnItemId, ci as OrchestratorMcpEnvironmentLinksResult, cl as ToolActivityIcon, cn as WorktreeMcpStatusResult, cr as AssetCreateUrlInput, ct as SelfImproveDecision, dc as OrchestrationV2ContextTransfer, dd as mapRequest$1, df as AuthAccessReadScope, dg as toNumberUnsafe, di as OrchestratorMcpEnvironmentUnlinkResult, dl as OrchestrationProjectShell, dm as setHeader$1, do as PREVIEW_STREAM_HOST_SETUP_CLOSE_CODE, dr as AssetProjectFaviconInspectionError, ds as resolveBrowserProfiles, dt as SelfImproveFindings, du as McpServerRuntimeState, ed as HttpServer, ef as symbol, ei as OrchestratorMcpCreateThreadsInput, em as bodyStream, ep as isStreamSchema, er as PreviewAutomationWaitForInput, et as WsSelfImproveSubscribeSettingsRpc, ff as AuthAccessStreamError, fi as OrchestratorMcpFailure, fl as Project, fm as setHeaders$1, fr as AssetProjectFaviconNotFoundError, ft as SelfImproveLabel, g as Asset3dGenerateInput, gc as OrchestrationV2DispatchCommandError, gf as AuthDiagnosticsReadScope, gh as ProviderInstanceId, gi as OrchestratorMcpRequestSecretResult, gl as ProjectMutationError, gn as PREVIEW_AUTOMATION_V1_OPERATIONS, gp as WebSocketConstructor, gr as AssetWorkspaceAssetNotFoundError, gs as DESKTOP_UPDATE_RESTART_MARKER_FILE, gt as SelfImproveReviewers, h as Asset3dFiles, hc as OrchestrationV2DelegatedFrom, hd as tap$2, hh as ProviderDriverKind, hi as OrchestratorMcpRequestSecretInput, hl as ProjectMutation, hn as PREVIEW_AUTOMATION_SERVER_OPERATIONS, hp as WebSocket, hr as AssetWorkspaceAssetInspectionError, hs as DesktopBrowserEvent, ht as SelfImproveReview, ic as OrchestrationGetWorkflowScriptError, id as HttpClient, ii as OrchestratorMcpDeleteScheduledTaskInput, il as latestProviderTurnForAttempt, im as del, io as resolveIdleCompaction, ip as isWithHeadersValue, ir as ReviewDiffPreviewSource, is as ThreadDecision, it as WsSubscribeThreadDecisionsRpc, iu as VcsRepositoryDetectionError, j as ComputerUseJsInput, ja as BackgroundActivityProfile, jd as schemaCookies, jf as AuthRelayWriteScope, jh as ClientDeviceType, ji as OrchestratorMcpThreadWaitResult, jl as RuntimeMode, jn as PreviewAutomationOpenInput, jo as DeviceActionUnavailableError, jr as FilesystemBrowseError, js as EnvironmentOperationForbiddenError, jt as DesignHandoffReceipt, k as ComputerUseHostReport, kd as ParsedSearchParams, kf as AuthProvidersManageScope, ki as OrchestratorMcpThreadSendResult, kl as ProviderRequestKind, km as FileSystem, kn as PreviewAutomationNavigateInput, ks as EnvironmentHttpUnauthorizedError, kt as DesignGuideReceipt, ku as getProviderAttachmentLimitError, lf as ORCHESTRATION_PROTOCOL_QUERY_PARAM, lg as bytes, li as OrchestratorMcpEnvironmentTarget, ll as ToolActivityNativeAppReference, lr as AssetGitHubMediaUrlValidationError, lt as SelfImproveError, lu as McpServerId, m as Asset3dFetchInput, mf as AuthAccessWriteScope, mh as PROVIDER_DISPLAY_NAMES, mi as OrchestratorMcpListScheduledTasksResult, ml as ProjectListEntriesError, mm as setUrlParams, mn as McpCapabilityUnavailableError, mo as PreviewClearProfileError, mr as AssetSigningKeyLoadError, ms as DesktopBrowserCommand, mt as SelfImproveResult, na as ServerProviderUpdateError, ng as RuntimeRequestId, ni as OrchestratorMcpDelegateTaskInput, no as requiredScopesForProjectMutation, np as isUpgrade, ns as DecisionInput, nt as WsSelfImproveUndoSaveRpc, oa as isProviderTextGenerationCapable, of as make$84, og as TrimmedNonEmptyString, oh as DEFAULT_MODEL, oi as OrchestratorMcpEnvironmentLinkInput, om as make$85, on as WorktreeMcpHandoffInput, op as normalize, or as ATTACHMENT_UPLOAD_URL_TTL_MS, ou as ModelSelection, pd as retry$1, pi as OrchestratorMcpListScheduledTasksInput, pl as ProjectCreatePayload, pn as BrowserNavigationTarget, po as PREVIEW_VIEWPORT_PRESET_IDS, pr as AssetProjectFaviconResolutionError, pt as SelfImproveRequest, pu as PluginId, q as WsMcpRegistryProviderSignInStateRpc, qc as OrchestrationV2SweepItem, qf as getResponseEncoding, qh as PositiveInt, qn as PreviewAutomationStatus, qo as DeviceToolTargetInput, qs as RelayOkResponse, qt as DesignStylesRequest, qu as add$2, rc as ORCHESTRATION_V2_WS_METHODS, rg as ScheduledTaskId, ri as OrchestratorMcpDelegateTaskResult, rl as isProviderNativeSubagentThread, ro as requiredScopesForServerSettingsPatch, rp as isWithHeaders, rr as ReviewDiffFileStat, rs as DecisionResult, rt as WsSelfImproveUpdateSettingsRpc, sc as OrchestrationV2AppThreadJson, sd as filterStatusOk$1, sf as ExecutionEnvironmentDescriptor, si as OrchestratorMcpEnvironmentLinkResult, sm as post, sn as WorktreeMcpHandoffResult, sp as CloseEvent, sr as AssetAttachmentNotFoundError, ss as BUILT_IN_BROWSER_PROFILES, st as Service$2, su as McpRegistryRpcError, tf as toResponse, tg as RunId, ti as OrchestratorMcpCreateThreadsResult, tn as make$83, tp as isStreamUint8Array, tr as SERVER_BROWSER_AUTOMATION_CLIENT_ID, tt as WsSelfImproveSubscribeThreadFindingsRpc, ui as OrchestratorMcpEnvironmentUnlinkInput, ul as UsageLimitSourceError, um as setBody, uo as FILL_PREVIEW_VIEWPORT, ur as AssetPreviewTypeValidationError, us as findBrowserProfile, ut as SelfImproveEvidence, v as Asset3dGenerateStatusInput, va as ProviderUploadFeedbackError, vh as defaultInstanceIdForDriver, vi as OrchestratorMcpScheduleTaskResult, vn as PreviewAutomationActInput, vr as AssetWorkspaceContextResolutionError, vs as RelayClientInstallFailedError, vt as UserInputRankError, vu as OrchestrationGetFullThreadDiffError, w as COMPUTER_USE_MAX_OUTPUT_CHARS, wc as OrchestrationV2GetThreadProjectionError, wf as AuthMcpRegistrationError, wi as OrchestratorMcpThreadListInput, wl as DEFAULT_PROVIDER_INTERACTION_MODE, wn as PreviewAutomationError, wo as KeybindingRule, wr as AttachmentDeleteInput, ws as EnvironmentHttpBadRequestError, wt as DesignSubscribeRequest, wu as ChatImageAttachment, x as Asset3dSearchResult, xd as compression, xf as AuthGrantScope, xi as OrchestratorMcpTaskStatusInput, xl as ProjectUpdatePayload, xn as PreviewAutomationControlInterruptedError, xo as PreviewViewportSetting, xp as makeWebSocket$2, xr as AssetWorkspaceRootNormalizationError, xs as EnvironmentAuthenticatedPrincipal, xt as DesignListRequest, y as Asset3dGenerateStatusResult, yd as withScope, yf as AuthFilesystemReadScope, yi as OrchestratorMcpTaskCancelInput, yl as ProjectSearchContentsError, yn as PreviewAutomationActInputs, yo as PreviewStreamHostSetup, yp as isSocketError, yr as AssetWorkspacePathValidationError, ys as EnvironmentAuthInvalidError, yt as DesignHumanApplyRequest, yu as OrchestrationGetTurnDiffError, z as WsHubSyncDisconnectRpc, za as DEFAULT_PROVIDER_HEALTH_REFRESH_INTERVAL, zh as EnvironmentId, zl as PullRequestState, zm as TypeId$7, zn as PreviewAutomationRequestQueueClosedError, zo as DevicePlatformAvailability, zp as urlParams, zr as HubSyncError, zs as RelayCloudMintCredentialProofPayload, zt as DesignProposeReceipt, zu as getErrorSchemas } from "./sha2-BjjJcoUu.mjs";
7
+ import { $ as PROJECT_FAVICON_FALLBACK_MARKER, $n as NoOpProviderEventLoggers, $t as layer$134, A as ThreadManagementError, An as makeEventNdjsonLogStore, Ar as offer, At as GitWorkflowService, B as ProviderSessionManagerV2, Bn as openZipArchive, Br as set$2, Bt as layer$101, C as ManagedProjectFolders, Cn as providerAuthReturnUrl, Cr as AgentScope, Ct as CheckpointStore, D as createTranscriptJsonReader, Dn as layer$130, Dr as layer$117, Dt as VcsStatusBroadcaster, E as layer$99, En as codexRateLimitsToLimits, Er as TextGeneration, Et as parseTurnDiffFilesFromNumstat, F as latestRun, Fn as layer$129, Fr as make$86, Ft as layer$127, G as stringArray, Gn as isWorkspaceImagePreviewPath, Gr as make$90, Gt as layer$128, H as layer$125, Hn as WORKSPACE_IMAGE_PREVIEW_EXTENSIONS, Hr as make$91, Ht as PortDiscovery, I as withCreationProvenance, In as layerModelCatalog, Ir as update, It as ProjectSetupScriptRunner, J as layer$126, Jn as delegatedTaskProgress, Jt as layer$104, K as stringRecord, Kn as isWorkspacePreviewEntryPath, Kt as layer$110, L as OrchestratorV2, Ln as resolveProviderCompatibility, Lr as changes, Lt as TerminalManager, M as isActiveRun, Mn as readContainedWorkflowFile, Mr as take$1, Mt as GitManager, N as isTerminalRunStatus, Nn as BUNDLED_MODEL_MANIFEST, Nr as unbounded, Nt as layer$115, O as ProviderAuthService, On as EMPTY_TOTALS, Or as ProviderInstanceRegistry, Ot as layer$119, P as latestActiveRun, Pn as ModelManifest, Pr as get$2, Pt as ProviderRegistry, Q as layer$124, Qn as mergeProviderInstanceEnvironment, Qt as layer$133, R as OrchestratorV2Error, Rn as layer$105, Rr as get$3, Rt as layer$122, S as layer$116, Sn as codexCallbackUrl, Sr as resolveNodeExecutable, St as checkpointRefForScopeOrdinal, T as AgentSessionScanner, Tn as codexPlanLabel, Tr as withWorkspaceLease, Tt as isGitImport, U as isRecord$1, Un as audioMimeTypeFromExtension, Ur as run, Ut as layer$121, V as McpRegistry, Vn as WORKSPACE_BROWSER_PREVIEW_EXTENSIONS, Vr as update$1, Vt as layer$102, W as registryNameFor, Wn as hostPreviewMimeTypeFromExtension, Wr as get$4, Wt as deriveProviderInstanceConfigMap, X as layerObserver, Xn as withExecutedModelNote, Xt as BUILT_IN_USAGE_DRIVERS, Y as layerCallbackRoute, Yn as subagentResultForRun, Yt as layer$103, Z as WorkspaceEntries, Zn as layer$132, Zt as layer$106, _ as SecretRequests, _n as JoseError, _r as AcpRegistryRuntimeCoordinator, _t as threadLinkFor, a as layerProjectService, an as makeCodexChatGptAuth, ar as Protocol$1, at as layer$113, b as layer$100, bn as layer$135, br as layer$131, bt as DispatchModeLimit, c as ProviderRuntimeRecoveryService, cn as sign, cr as RpcSerialization, ct as layer$136, d as layer$123, dn as generateKeyPair, dr as layerJsonRpc, dt as McpInvocationContext, en as layer$107, er as ProviderEventLoggers, et as isProjectFaviconPath, f as ScratchThreadPromotion, fn as importPkcs8, fr as RequestId$3, ft as clientModeCeiling, g as relayHookBaseUrl, gn as AlgorithmNotAllowed, gr as toAcpRegistryOperationError, gt as requireThreadScope, h as WEBHOOK_ROUTE_PREFIX, hn as importSpki, hr as layerFromHost, ht as requireThreadMcpCapability, i as layerProduction, in as withUsageLimitsCommands, ir as makeProtocolWithHttpEffectWebsocket, it as layer$114, j as ThreadManagementService, jn as COMPACTION_SUGGESTION_MIN_TOKENS, jr as shutdown, jt as layer$118, k as McpAppRequests, kn as claudeUsageResponseToLimits, kr as clear, kt as layerAutoPullPolicy, l as runDaemon, ln as exportPkcs8, lr as jsonRpc, lt as LAUNCHED_BY_HEADER, m as ScheduledTaskWebhookOrigin, mn as importPublic, mr as AcpRegistryCatalog, mt as requireMcpCapability, n as layerEventInfrastructure, nn as layer$109, nr as make$88, nt as layer$111, o as layerProjectSetupScriptRunner, on as decodeUnverified, or as make$89, ot as layerAnalytics, p as ScheduledTaskService, pn as importPrivate, pr as claudeSkillInvocation, pt as hiddenWhileLinksOff, q as transportFromJsonEntry, qn as makeUnavailableUsageLimits, qt as BackgroundPolicy, rn as sameUsageLimitCommandCoverage, rr as makeProtocolWithHttpEffect, rt as layer$112, s as layerReports, sn as verify, sr as makeNoSerialization, st as McpSessionRegistry, tn as layer$108, tr as Protocol, tt as PullRequestService, u as PreviewManager, un as exportSpki, ur as layerJson, ut as MODE_LIMIT_HEADER, v as ThreadLaunchService, vn as isJoseError, vr as PtyAdapter, vt as ProviderAdapterRegistryV2, w as AgentSessionImporter, wn as CodexInstallation, wr as agentScopeCommand, wt as layer$120, x as WorktreeSetupTracker, xn as codexAuthorizationRequest, xr as nodeRuntimeUnavailableMessage, xt as runOutcome, y as Decisions, yn as AnalyticsService, yr as PtySpawnError, yt as layerFromProviderInstanceRegistry, z as queuedRunsInDeliveryOrder, zn as AntigravityInstallation, zr as make$87, zt as NativeTelemetryClient } from "./runtimeLayer-ChPBglJB.mjs";
8
8
  import { $ as mkString, A as fromEffect, At as tick, Bt as unfold, Ct as suspend$2, Dt as takeWhile, E as forever$1, F as fromPull, G as mapAccum, H as isStream, Hn as await_, Ht as zipLatestWith, I as fromQueue, In as unbounded$1, J as mapEffect, Jn as join, M as fromIterable, Mn as shutdown$2, Nn as sliding, On as unbounded$2, Ot as tap$3, P as fromPubSub, Pn as subscribe, Pt as toPull, R as fromSubscription, S as filterMap$1, St as succeed$5, T as flattenIterable, Tn as take$2, Tt as takeUntil, U as make$93, Un as getCurrent, Vn as awaitAll, Vt as unwrap$1, W as map$5, Wn as interrupt$1, X as merge$2, Y as mapError$1, Yn as runIn, Z as mergeAll$1, _ as ensuring$1, _n as offer$1, _t as runForEachArray, a as catch_$1, an as makeUnsafe$3, b as filter$3, bt as scoped$1, c as concat$1, d as die$2, dn as endUnsafe, dt as run$1, et as mkUint8Array, fn as fail$6, ft as runCollect, g as encodeText, gn as make$94, gt as runForEach, h as empty$7, in as make$92, it as pipeThroughChannel, kn as publish, l as debounce, ln as dropping, lt as repeat$1, m as drop, mn as failCauseUnsafe, mt as runFold, n as catchCause$1, nt as orDie$1, o as changes$1, ot as provideContext$1, pn as failCause$3, pt as runDrain, q as mapArrayEffect, qt as last, r as catchIf$1, s as changesWith, sn as clear$1, t as callback$1, u as decodeText, un as end, ut as retry$2, v as fail$5, vn as offerAll, vt as runHead, w as flatMap$3, x as filterEffect, xn as shutdown$1, xt as splitLines, y as failCause$4, yn as offerUnsafe, yt as runLast, z as groupedWithin, zt as transformPull } from "./Stream-F-Z4HJeD.mjs";
9
- import { $ as deriveThreadFromProviderThread, $c as clear$2, $i as isNetworkPath, $n as fromReadable, $s as collectUint8StreamText, A as BackgroundGitWork, Aa as injectMcpAppCookieBootstrap, Ac as isWindows, Ai as parseBase64DataUrl, An as ServiceLauncherClient, Ao as readOnly, Ar as version, As as makeTraceSink, B as removeLinkedWorktree, Ba as HTML_RENDER_THEME_GUIDE, Bl as updateAndGet, Bn as layer$145, Bo as serviceStateHasPendingUpdate, Br as resolveStaticDir, Bt as layer$162, Cc as HomeDirectory, Ci as parseThreadSegmentFromAttachmentId, Co as PersistenceSqlError, Cr as SecretStoreConcurrentReadError, Dc as Platform, Di as sweepStalePendingAttachments, Dl as make$101, Do as findOneOption, Dr as isSecretAlreadyExistsError, Du as uuidV4Unsafe, Ea as MCP_APP_MAX_HTML_BYTES, Ei as resolveAttachmentPathById, En as layer$159, Eo as findAll, Er as ServerSecretStore, Es as decodeOtlpTraceRecords, Et as rpcRequestsTotal, F as PATCH_RENDER_PREFIX_ARGS, Fi as turnItemUpdateCanEndBackgroundWork, Fn as layer$147, Ga as htmlRenderThemeFragment, Gr as resolveServerBackgroundActivitySettings, H as resolveProjectSettings, Ha as blankNonMarkup, Hc as map$6, Hl as isGreaterThanOrEqualTo$1, Hr as resolveReviewGuideModelSelection, Hu as snapshotUnsafe, I as makeIsServerInternalPath, Ia as HTML_RENDER_LAYOUT_GUIDE, Ic as get$7, Il as make$96, In as writeAllToFileDescriptor, It as withMetrics, J as layer$144, Ja as compileResolvedKeybindingRule, Jc as tag$1, Jo as layer$143, Jr as fromJsonStringPretty, Ka as injectHtmlRenderBootstrap, Kc as exhaustive, La as HTML_RENDER_MAX_HEIGHT, Lc as make$100, Ll as modify, Ln as subscribeBeforeSnapshot, M as layer$140, Ma as injectMcpAppThemeBootstrap, Mi as backgroundWorkHoldsCompletion, Ml as nextIntBetween, Ms as RotatingFileSink, N as VcsProcess, Ni as derivePendingBackgroundWork, Nl as get$6, Nn as layer$148, No as SERVICE_STATE_FILE, Nr as RuntimeMode$1, O as layer$150, Oc as UserId, Oi as toSafeThreadAttachmentSegment, Ol as makeWith, On as ServerSelfUpdate, Or as isSecretStoreError, Os as layerOtlpSerialization, Ot as secretRequestsTotal, P as layer$166, Pl as getAndSet, Pn as DesktopTelemetryReceiver, Po as SERVICE_STOP_MARKER_FILE, Pr as ServerConfig, Ps as OtlpSerialization, Qa as parseKeybindingWhenExpression, Qc as awaitEmpty, Qs as withLegacyUltracodeEffort, R as isFilesystemRoot, Ra as HTML_RENDER_MEASURE_FONTS, Rc as modify$1, Ri as runRanAfter, Rl as set$3, Rt as make$98, Sa as toolOutputImages, Sc as ExecutablePath, Si as parseAttachmentUuid, Sn as layer$149, So as PersistenceDecodeError, Sr as resolveRootCliCommand, T as unquoteGitPatchPath, Ti as resolveAttachmentPath, Tn as ServerEnvironmentIdentity, To as makeLiveStreamBudget, Tr as SecretStoreEncodeError, Ts as causeErrorTag, Tt as rpcRequestDuration, U as resolveWorktreeCleanup, Ua as clampHtmlRenderHeight, Uc as SqlClient, Ul as Signature, Ut as make$102, Va as HTML_RENDER_TOOL_NAME, Vc as update$3, Vi as formatThreadLink, Vl as getType, Vn as redactServerSettingsForClient, Vt as RepositoryIdentityResolver, W as ProjectService, Wa as htmlRenderTheme, Wc as SpanPropagationEnabled, Xa as mergeWithDefaultKeybindings, Xc as value$2, Xi as remapComposerContextAttachments, Xn as encode$2, Xr as layerResourceAttributes, Y as LegacyV1ThreadImporter, Ya as compileResolvedKeybindingsConfig, Yc as tags, Yn as decode$3, Yr as fromLenientJson, Za as parseKeybindingShortcut, Zc as when, Zn as isNdjsonError, _ as layer$142, _a as MAX_TOOL_OUTPUT_IMAGE_BASE64_LENGTH, _c as RequestInit, _i as chatAttachmentStableKey, _l as option$1, _n as expandHomePath, _o as sourceControlRepositorySelector, _r as isAgentActivityPublishingEnabledValue, _s as resolveLatestProviderVersion, a as normalizePreviewUrl, an as WorkspacePathOutsideRootError, ao as resolveThreadPullRequestChains, ar as CLOUD_LINKED_USER_ID, at as ProjectStoreV2, b as firstNonEmptyLine, bi as createPendingAttachmentId, bo as OrchestrationEventStore, bs as ProviderLatestVersions, cc as resolveSpawnCommand, co as threadPullRequestsOf, cr as HOLD_WEBHOOKS_WHILE_OFFLINE_SECRET, cu as Digest, d as SourceControlProviderRegistry, dc as make$97, di as THREAD_HISTORY_SNAPSHOT_ROW_LIMIT, dn as isWithinRoot, do as parseChangeRequestUrl, dr as RELAY_ISSUER_SECRET, du as sha256, ei as NetService, el as make$95, eo as P4_CODE_DARK_THEME_COLORS, f as layer$138, fa as capProjectionCheckpointFilesForWire, fc as ChildProcessSpawner, fi as buildBoundedThreadProjection, fl as String$2, fn as layer$156, fo as siblingPullRequestUrl, fr as RELAY_URL_SECRET, ft as ServerActivation, g as layer$141, ga as threadStreamEventItem, gi as attachmentRelativePath, gr as encodeEndpointRuntimeConfigJson, h as VcsDriverRegistry, hi as attachmentFileExtension, hr as encodeConfirmedOriginJson, hs as makeTargetedProviderUpdateAction, ii as ProjectionStoreV2, in as layer$158, io as normalizeThreadPullRequestKey, ir as CLOUD_ENDPOINT_RUNTIME_CONFIG, j as GitVcsDriver, ji as resolveAttachmentRelativePath, jn as layer$165, jr as writeFileStringAtomically, js as redactCauseCredentials, jt as webhookDeliveriesTotal, kc as WorkingDirectory, ki as inferImageExtension, kn as layer$164, kr as layer$146, ks as makeLocalFileTracer, l as SourceControlRepositoryService, li as InvalidThreadHistoryCursorError, lo as visibleThreadPullRequests, lr as PUBLISH_AGENT_ACTIVITY_SECRET, m as layer$139, ma as projectThreadProjectionForWire, mi as PENDING_ATTACHMENT_THREAD_SEGMENT, mr as decodeRuntimeConfig, mt as forkParkedFiber, n as isLoopbackHost, nc as isCommandAvailable, ni as ProjectionMaintenanceV2, nn as ProjectFaviconResolver, o as ProjectCloneTracker, on as WorkspacePaths, oo as threadPullRequestKeyOf, or as CLOUD_LINK_REVOKED, ot as layer$152, p as BUILT_IN_SOURCE_CONTROL_DRIVERS, pa as projectDomainEventForWire, pi as decodeThreadHistoryCursor, po as canonicalRepositoryKey, pr as decodeConfirmedOrigin, pt as forkParked, q as ThreadCommandExecutor, qa as DEFAULT_KEYBINDINGS, qc as is$1, qo as ProcessRunner, qs as modelSelectionCommandType, ri as layer$160, rn as layer$157, ro as legacyThreadPullRequestKey, rr as CLOUD_ENDPOINT_CONFIRMED_ORIGIN, s as layer$154, sc as resolveCommandPath, si as layer$151, so as threadPullRequestKeysEqual, sr as CLOUD_MINT_PUBLIC_KEY, ti as layer$155, tl as run$2, to as P4_CODE_LIGHT_THEME_COLORS, ts as collectStreamAsString, u as layer$153, ui as THREAD_HISTORY_PAGE_POLICY, uo as changeRequestUrlFor, ur as RELAY_ENVIRONMENT_CREDENTIAL_SECRET, us as enrichProviderSnapshotWithVersionAdvisory, uu as sha1, v as GitHubCredentials, vc as layer$137, vi as createAttachmentId, vr as readHoldWebhooksWhileOffline, vt as increment, wc as Hostname, wi as planAttachmentClaim, wl as invalidate, wn as ServerEnvironment, wo as bufferLiveStream, wr as SecretStoreDecodeError, wu as SecureRandom, x as PullRequestProviderError, xc as Environment, xi as parseAttachmentFileExtension, xl as get$5, xn as make$99, xo as layer$163, xr as resolveHostCliCommand, xs as layer$161, y as detailFromCause, yc as Architecture, yi as createDeterministicAttachmentId, yo as layerFromOrchestrationEventStore, yr as readRelayConnection, z as managedWorktreesDirectories, za as HTML_RENDER_MEASURE_WIDTHS, zc as modifyEffect, zl as update$2, zn as ServerSettingsService, zr as otlpResource, zt as ProjectEnrichmentService } from "./preview-D0Bi2g4U.mjs";
10
- import { $ as setCliDesiredCloudLink, $t as serverAuthCredentialReason, A as layer$171, An as entriesToAttributes, At as isLoopbackHost$1, Bn as consolePretty, Bt as ServerAuthCloudMintPublicKeyMissingError, C as shouldRetryRelayRequest, D as CloudManagedEndpointRuntime, Dn as reclaimSpaceShortfall, E as layer$180, En as reclaimFiles, F as readTailscaleSshEnabled, Fn as make$103, Ft as EnvironmentAuth, G as ExternalLauncher, Gn as log, Gt as isBrowserCookieCredential, H as hasCloudPublicConfig, Hn as make$104, Ht as ServerAuthLinkedCloudAccountMissingError, I as readTailscaleStatus, In as getCurrentVersion, J as import_websocket_server, Jn as appendPreResponseHandlerUnsafe, Jt as isServerAuthInvalidRequestError, K as layer$174, Kt as isServerAuthCredentialError, Lt as ServerAuthCloudHealthJwtSigningError, M as disableTailscaleServe, Mn as serviceNameUnsafe, Mt as issueHeadlessServeAccessInfo, N as ensureTailscaleServe, Nn as unknownToAttributeValue, Ot as formatHeadlessServeOutput, P as probeTailscaleHttpsEndpoint, Pn as layerFlusher, Q as readCliDesiredLinkMode, Qt as selectRequestCredential, R as CloudCliTokenManager, Rt as ServerAuthCloudLinkJwtSigningError, S as relayRequestError, Sn as fixPath, St as layer$169, Tt as makePersistedServerRuntimeState, U as relayUrlConfig, Un as tracerLogger, Ut as ServerAuthLinkedCloudAccountReadError, V as layer$173, Vn as layer$167, Vt as ServerAuthCloudRelayIssuerMissingError, W as isSecureRelayUrl, Wt as ServerAuthLinkedCloudAccountVerificationError, Yt as layer$170, Z as readCliDesiredCloudLink, Zt as parseBearerToken, _ as layer$179, _n as deriveAuthClientMetadata, _t as LINKED_ENVIRONMENTS_OFF, a as EnvironmentThemeService, an as DESKTOP_RENDERER_ORIGINS, b as layerServerRelayBroker, bn as parseOAuthScope, bt as isPrivateNetworkHost, cn as DPOP_REPLAY_MARKER_PREFIX, ct as NO_SANDBOX_SIGNATURE, dn as SessionStore, dt as PreviewBrowserSandboxError, en as serverAuthDpopFailureReason, et as RelayClientTracer, f as acquireServerOwnership, fn as fromSecret, ft as SETUP_SUBCOMMAND, g as HubLink, gn as base64UrlEncode, gt as sandboxDisabled, h as layer$178, hn as base64UrlDecodeUtf8, ht as sandboxBlocked, it as layerCloudflared, j as buildTailscaleHttpsBaseUrl, jn as fromConfig, jt as isWildcardHost, k as isRetryableManagedEndpointRuntimeStatus, kn as make$106, kt as formatHostForUrl, ln as verifyRequestDpopProof, lt as PreviewBrowserLibrariesError, m as layer$177, mn as PairingGrantStore, n as readTraceDiagnostics, nn as layerConfig, nt as withRelayClientTracing, on as browserApiCorsAllowedHeaders, p as AssetSync, pn as make$105, pt as diagnoseLaunchFailure, q as layer$168, qn as appendPreResponseHandler, qt as isServerAuthInternalError, rt as RelayClient, s as layer$172, sn as browserApiCorsAllowedMethods, t as layer$175, tn as serverAuthInvalidRequestReason, tt as withLocalTracing, u as mutateProjectWithClone, un as requestUrl, ut as PreviewBrowserRootError, v as writeSkillDirectory, vn as timingSafeEqualBase64Url, vt as PeerLinks, w as ConnectReachability, x as filterRelayResponse, xt as isTailnetHost, yn as encodeOAuthScope, yt as layer$176, zt as ServerAuthCloudMintJwtSigningError } from "./TraceDiagnostics-BHUn_HS7.mjs";
11
- import { C as modelFileDiagnostics, E as isDesignDocumentPath, S as glbSummary, T as designDocumentBaseName, _ as semanticDiff, a as computeLayout, b as MODEL_MAX_BYTES, d as parseDesign, f as patchNode, g as selectLayoutItems, h as reviewState, l as fileHash, m as resolveValue, n as buildIndexes, o as diagnostic, r as canonicalSerialize, s as documentContentDigest, u as isConfinedRelativePath, v as validateDesign, w as DESIGN_EXTENSIONS, x as MODEL_MESHOPT_EXTENSION, y as MODEL_DRACO_EXTENSION } from "./runtime-Cy8_QlEa.mjs";
9
+ import { $ as deriveThreadFromProviderThread, $c as clear$2, $i as isNetworkPath, $n as fromReadable, $s as collectUint8StreamText, A as BackgroundGitWork, Aa as injectMcpAppCookieBootstrap, Ac as isWindows, Ai as parseBase64DataUrl, An as ServiceLauncherClient, Ao as readOnly, Ar as version, As as makeTraceSink, B as removeLinkedWorktree, Ba as HTML_RENDER_THEME_GUIDE, Bl as updateAndGet, Bn as layer$145, Bo as serviceStateHasPendingUpdate, Br as resolveStaticDir, Bt as layer$162, Cc as HomeDirectory, Ci as parseThreadSegmentFromAttachmentId, Co as PersistenceSqlError, Cr as SecretStoreConcurrentReadError, Dc as Platform, Di as sweepStalePendingAttachments, Dl as make$101, Do as findOneOption, Dr as isSecretAlreadyExistsError, Du as uuidV4Unsafe, Ea as MCP_APP_MAX_HTML_BYTES, Ei as resolveAttachmentPathById, En as layer$159, Eo as findAll, Er as ServerSecretStore, Es as decodeOtlpTraceRecords, Et as rpcRequestsTotal, F as PATCH_RENDER_PREFIX_ARGS, Fi as turnItemUpdateCanEndBackgroundWork, Fn as layer$147, Ga as htmlRenderThemeFragment, Gr as resolveServerBackgroundActivitySettings, H as resolveProjectSettings, Ha as blankNonMarkup, Hc as map$6, Hl as isGreaterThanOrEqualTo$1, Hr as resolveReviewGuideModelSelection, Hu as snapshotUnsafe, I as makeIsServerInternalPath, Ia as HTML_RENDER_LAYOUT_GUIDE, Ic as get$7, Il as make$96, In as writeAllToFileDescriptor, It as withMetrics, J as layer$144, Ja as compileResolvedKeybindingRule, Jc as tag$1, Jo as layer$143, Jr as fromJsonStringPretty, Ka as injectHtmlRenderBootstrap, Kc as exhaustive, La as HTML_RENDER_MAX_HEIGHT, Lc as make$100, Ll as modify, Ln as subscribeBeforeSnapshot, M as layer$140, Ma as injectMcpAppThemeBootstrap, Mi as backgroundWorkHoldsCompletion, Ml as nextIntBetween, Ms as RotatingFileSink, N as VcsProcess, Ni as derivePendingBackgroundWork, Nl as get$6, Nn as layer$148, No as SERVICE_STATE_FILE, Nr as RuntimeMode$1, O as layer$150, Oc as UserId, Oi as toSafeThreadAttachmentSegment, Ol as makeWith, On as ServerSelfUpdate, Or as isSecretStoreError, Os as layerOtlpSerialization, Ot as secretRequestsTotal, P as layer$166, Pl as getAndSet, Pn as DesktopTelemetryReceiver, Po as SERVICE_STOP_MARKER_FILE, Pr as ServerConfig, Ps as OtlpSerialization, Qa as parseKeybindingWhenExpression, Qc as awaitEmpty, Qs as withLegacyUltracodeEffort, R as isFilesystemRoot, Ra as HTML_RENDER_MEASURE_FONTS, Rc as modify$1, Ri as runRanAfter, Rl as set$3, Rt as make$98, Sa as toolOutputImages, Sc as ExecutablePath, Si as parseAttachmentUuid, Sn as layer$149, So as PersistenceDecodeError, Sr as resolveRootCliCommand, T as unquoteGitPatchPath, Ti as resolveAttachmentPath, Tn as ServerEnvironmentIdentity, To as makeLiveStreamBudget, Tr as SecretStoreEncodeError, Ts as causeErrorTag, Tt as rpcRequestDuration, U as resolveWorktreeCleanup, Ua as clampHtmlRenderHeight, Uc as SqlClient, Ul as Signature, Ut as make$102, Va as HTML_RENDER_TOOL_NAME, Vc as update$3, Vi as formatThreadLink, Vl as getType, Vn as redactServerSettingsForClient, Vt as RepositoryIdentityResolver, W as ProjectService, Wa as htmlRenderTheme, Wc as SpanPropagationEnabled, Xa as mergeWithDefaultKeybindings, Xc as value$2, Xi as remapComposerContextAttachments, Xn as encode$2, Xr as layerResourceAttributes, Y as LegacyV1ThreadImporter, Ya as compileResolvedKeybindingsConfig, Yc as tags, Yn as decode$3, Yr as fromLenientJson, Za as parseKeybindingShortcut, Zc as when, Zn as isNdjsonError, _ as layer$142, _a as MAX_TOOL_OUTPUT_IMAGE_BASE64_LENGTH, _c as RequestInit, _i as chatAttachmentStableKey, _l as option$1, _n as expandHomePath, _o as sourceControlRepositorySelector, _r as isAgentActivityPublishingEnabledValue, _s as resolveLatestProviderVersion, a as normalizePreviewUrl, an as WorkspacePathOutsideRootError, ao as resolveThreadPullRequestChains, ar as CLOUD_LINKED_USER_ID, at as ProjectStoreV2, b as firstNonEmptyLine, bi as createPendingAttachmentId, bo as OrchestrationEventStore, bs as ProviderLatestVersions, cc as resolveSpawnCommand, co as threadPullRequestsOf, cr as HOLD_WEBHOOKS_WHILE_OFFLINE_SECRET, cu as Digest, d as SourceControlProviderRegistry, dc as make$97, di as THREAD_HISTORY_SNAPSHOT_ROW_LIMIT, dn as isWithinRoot, do as parseChangeRequestUrl, dr as RELAY_ISSUER_SECRET, du as sha256, ei as NetService, el as make$95, eo as P4_CODE_DARK_THEME_COLORS, f as layer$138, fa as capProjectionCheckpointFilesForWire, fc as ChildProcessSpawner, fi as buildBoundedThreadProjection, fl as String$2, fn as layer$156, fo as siblingPullRequestUrl, fr as RELAY_URL_SECRET, ft as ServerActivation, g as layer$141, ga as threadStreamEventItem, gi as attachmentRelativePath, gr as encodeEndpointRuntimeConfigJson, h as VcsDriverRegistry, hi as attachmentFileExtension, hr as encodeConfirmedOriginJson, hs as makeTargetedProviderUpdateAction, ii as ProjectionStoreV2, in as layer$158, io as normalizeThreadPullRequestKey, ir as CLOUD_ENDPOINT_RUNTIME_CONFIG, j as GitVcsDriver, ji as resolveAttachmentRelativePath, jn as layer$165, jr as writeFileStringAtomically, js as redactCauseCredentials, jt as webhookDeliveriesTotal, kc as WorkingDirectory, ki as inferImageExtension, kn as layer$164, kr as layer$146, ks as makeLocalFileTracer, l as SourceControlRepositoryService, li as InvalidThreadHistoryCursorError, lo as visibleThreadPullRequests, lr as PUBLISH_AGENT_ACTIVITY_SECRET, m as layer$139, ma as projectThreadProjectionForWire, mi as PENDING_ATTACHMENT_THREAD_SEGMENT, mr as decodeRuntimeConfig, mt as forkParkedFiber, n as isLoopbackHost, nc as isCommandAvailable, ni as ProjectionMaintenanceV2, nn as ProjectFaviconResolver, o as ProjectCloneTracker, on as WorkspacePaths, oo as threadPullRequestKeyOf, or as CLOUD_LINK_REVOKED, ot as layer$152, p as BUILT_IN_SOURCE_CONTROL_DRIVERS, pa as projectDomainEventForWire, pi as decodeThreadHistoryCursor, po as canonicalRepositoryKey, pr as decodeConfirmedOrigin, pt as forkParked, q as ThreadCommandExecutor, qa as DEFAULT_KEYBINDINGS, qc as is$1, qo as ProcessRunner, qs as modelSelectionCommandType, ri as layer$160, rn as layer$157, ro as legacyThreadPullRequestKey, rr as CLOUD_ENDPOINT_CONFIRMED_ORIGIN, s as layer$154, sc as resolveCommandPath, si as layer$151, so as threadPullRequestKeysEqual, sr as CLOUD_MINT_PUBLIC_KEY, ti as layer$155, tl as run$2, to as P4_CODE_LIGHT_THEME_COLORS, ts as collectStreamAsString, u as layer$153, ui as THREAD_HISTORY_PAGE_POLICY, uo as changeRequestUrlFor, ur as RELAY_ENVIRONMENT_CREDENTIAL_SECRET, us as enrichProviderSnapshotWithVersionAdvisory, uu as sha1, v as GitHubCredentials, vc as layer$137, vi as createAttachmentId, vr as readHoldWebhooksWhileOffline, vt as increment, wc as Hostname, wi as planAttachmentClaim, wl as invalidate, wn as ServerEnvironment, wo as bufferLiveStream, wr as SecretStoreDecodeError, wu as SecureRandom, x as PullRequestProviderError, xc as Environment, xi as parseAttachmentFileExtension, xl as get$5, xn as make$99, xo as layer$163, xr as resolveHostCliCommand, xs as layer$161, y as detailFromCause, yc as Architecture, yi as createDeterministicAttachmentId, yo as layerFromOrchestrationEventStore, yr as readRelayConnection, z as managedWorktreesDirectories, za as HTML_RENDER_MEASURE_WIDTHS, zc as modifyEffect, zl as update$2, zn as ServerSettingsService, zr as otlpResource, zt as ProjectEnrichmentService } from "./preview-BGylKXB6.mjs";
10
+ import { $ as setCliDesiredCloudLink, $t as serverAuthCredentialReason, A as layer$171, An as entriesToAttributes, At as isLoopbackHost$1, Bn as consolePretty, Bt as ServerAuthCloudMintPublicKeyMissingError, C as shouldRetryRelayRequest, D as CloudManagedEndpointRuntime, Dn as reclaimSpaceShortfall, E as layer$180, En as reclaimFiles, F as readTailscaleSshEnabled, Fn as make$103, Ft as EnvironmentAuth, G as ExternalLauncher, Gn as log, Gt as isBrowserCookieCredential, H as hasCloudPublicConfig, Hn as make$104, Ht as ServerAuthLinkedCloudAccountMissingError, I as readTailscaleStatus, In as getCurrentVersion, J as import_websocket_server, Jn as appendPreResponseHandlerUnsafe, Jt as isServerAuthInvalidRequestError, K as layer$174, Kt as isServerAuthCredentialError, Lt as ServerAuthCloudHealthJwtSigningError, M as disableTailscaleServe, Mn as serviceNameUnsafe, Mt as issueHeadlessServeAccessInfo, N as ensureTailscaleServe, Nn as unknownToAttributeValue, Ot as formatHeadlessServeOutput, P as probeTailscaleHttpsEndpoint, Pn as layerFlusher, Q as readCliDesiredLinkMode, Qt as selectRequestCredential, R as CloudCliTokenManager, Rt as ServerAuthCloudLinkJwtSigningError, S as relayRequestError, Sn as fixPath, St as layer$169, Tt as makePersistedServerRuntimeState, U as relayUrlConfig, Un as tracerLogger, Ut as ServerAuthLinkedCloudAccountReadError, V as layer$173, Vn as layer$167, Vt as ServerAuthCloudRelayIssuerMissingError, W as isSecureRelayUrl, Wt as ServerAuthLinkedCloudAccountVerificationError, Yt as layer$170, Z as readCliDesiredCloudLink, Zt as parseBearerToken, _ as layer$179, _n as deriveAuthClientMetadata, _t as LINKED_ENVIRONMENTS_OFF, a as EnvironmentThemeService, an as DESKTOP_RENDERER_ORIGINS, b as layerServerRelayBroker, bn as parseOAuthScope, bt as isPrivateNetworkHost, cn as DPOP_REPLAY_MARKER_PREFIX, ct as NO_SANDBOX_SIGNATURE, dn as SessionStore, dt as PreviewBrowserSandboxError, en as serverAuthDpopFailureReason, et as RelayClientTracer, f as acquireServerOwnership, fn as fromSecret, ft as SETUP_SUBCOMMAND, g as HubLink, gn as base64UrlEncode, gt as sandboxDisabled, h as layer$178, hn as base64UrlDecodeUtf8, ht as sandboxBlocked, it as layerCloudflared, j as buildTailscaleHttpsBaseUrl, jn as fromConfig, jt as isWildcardHost, k as isRetryableManagedEndpointRuntimeStatus, kn as make$106, kt as formatHostForUrl, ln as verifyRequestDpopProof, lt as PreviewBrowserLibrariesError, m as layer$177, mn as PairingGrantStore, n as readTraceDiagnostics, nn as layerConfig, nt as withRelayClientTracing, on as browserApiCorsAllowedHeaders, p as AssetSync, pn as make$105, pt as diagnoseLaunchFailure, q as layer$168, qn as appendPreResponseHandler, qt as isServerAuthInternalError, rt as RelayClient, s as layer$172, sn as browserApiCorsAllowedMethods, t as layer$175, tn as serverAuthInvalidRequestReason, tt as withLocalTracing, u as mutateProjectWithClone, un as requestUrl, ut as PreviewBrowserRootError, v as writeSkillDirectory, vn as timingSafeEqualBase64Url, vt as PeerLinks, w as ConnectReachability, x as filterRelayResponse, xt as isTailnetHost, yn as encodeOAuthScope, yt as layer$176, zt as ServerAuthCloudMintJwtSigningError } from "./TraceDiagnostics-D1Qz3qce.mjs";
11
+ import { C as modelFileDiagnostics, E as isDesignDocumentPath, S as glbSummary, T as designDocumentBaseName, _ as semanticDiff, a as computeLayout, b as MODEL_MAX_BYTES, d as parseDesign, f as patchNode, g as selectLayoutItems, h as reviewState, l as fileHash, m as resolveValue, n as buildIndexes, o as diagnostic, r as canonicalSerialize, s as documentContentDigest, u as isConfinedRelativePath, v as validateDesign, w as DESIGN_EXTENSIONS, x as MODEL_MESHOPT_EXTENSION, y as MODEL_DRACO_EXTENSION } from "./runtime-O5AWAEzD.mjs";
12
12
  import * as NodeModule from "node:module";
13
13
  import * as NodeFS from "node:fs";
14
14
  import * as NodeOS from "node:os";
@@ -3616,7 +3616,7 @@ function createStore(resolveRoot, options) {
3616
3616
  /** The optional Skia renderer, loaded once; a failed load is tried again on the next render. */
3617
3617
  const loadRenderer = async () => {
3618
3618
  try {
3619
- renderer ??= (options.loadRenderer ?? (() => import("./renderer-Cq4PzLVY.mjs")))();
3619
+ renderer ??= (options.loadRenderer ?? (() => import("./renderer-CQkeNW9b.mjs")))();
3620
3620
  return await renderer;
3621
3621
  } catch (error) {
3622
3622
  renderer = void 0;
@@ -17935,7 +17935,7 @@ async function runDesignTransfer(request, options, emit, signal) {
17935
17935
  const native = async () => {
17936
17936
  check();
17937
17937
  try {
17938
- return renderer ??= await (options.loadRenderer ?? (() => import("./renderer-Cq4PzLVY.mjs")))();
17938
+ return renderer ??= await (options.loadRenderer ?? (() => import("./renderer-CQkeNW9b.mjs")))();
17939
17939
  } catch {
17940
17940
  throw fail("Optional renderer unavailable; install skia-canvas 3.0.8 for this host", "renderer-unavailable");
17941
17941
  }
@@ -50728,6 +50728,7 @@ const make$15 = gen(function* () {
50728
50728
  const call = fn("PeerMcpClient.call")(function* (input) {
50729
50729
  const resolved = yield* links.resolve(input.environmentId).pipe(mapError(fromLinkError));
50730
50730
  const limitHeader = { [MODE_LIMIT_HEADER]: `${input.limits.runtimeMode}/${input.limits.interactionMode}` };
50731
+ const launchedByHeader = input.launchedBy === void 0 ? {} : { [LAUNCHED_BY_HEADER]: `${encodeURIComponent(input.launchedBy.environmentId)}/${encodeURIComponent(input.launchedBy.threadId)}` };
50731
50732
  const sessionKey = `${input.environmentId} ${resolved.url}`;
50732
50733
  const callOnce = (sessionId) => post$1(resolved.url, resolved.token, {
50733
50734
  jsonrpc: "2.0",
@@ -50739,6 +50740,7 @@ const make$15 = gen(function* () {
50739
50740
  }
50740
50741
  }, {
50741
50742
  ...limitHeader,
50743
+ ...launchedByHeader,
50742
50744
  "mcp-session-id": sessionId,
50743
50745
  "mcp-protocol-version": PROTOCOL_VERSION
50744
50746
  });
@@ -50792,7 +50794,21 @@ const make$15 = gen(function* () {
50792
50794
  code: "orchestration_error",
50793
50795
  message: "The linked environment stopped answering."
50794
50796
  })) }), flatMap(fromResult)));
50795
- return PeerMcpClient.of({ call });
50797
+ const upload = fn("PeerMcpClient.upload")(function* (input) {
50798
+ const resolved = yield* links.resolve(input.environmentId).pipe(mapError(fromLinkError));
50799
+ const response = yield* httpClient.execute(post(`${resolved.url}${input.relativeUrl}`).pipe(setHeaders$1({ authorization: `Bearer ${resolved.token}` }), setBody(uint8Array$1(input.bytes, input.contentType)))).pipe(mapError(() => new OrchestratorMcpFailure({
50800
+ code: "orchestration_error",
50801
+ message: "The linked environment stopped answering during an attachment upload."
50802
+ })));
50803
+ if (response.status !== 204 && response.status !== 200) return yield* new OrchestratorMcpFailure({
50804
+ code: "orchestration_error",
50805
+ message: `The linked environment refused an attachment upload (HTTP ${response.status}).`
50806
+ });
50807
+ });
50808
+ return PeerMcpClient.of({
50809
+ call,
50810
+ upload
50811
+ });
50796
50812
  });
50797
50813
  const layer$38 = effect(PeerMcpClient, make$15);
50798
50814
  // src/peer/PeerForwarding.ts
@@ -50827,6 +50843,8 @@ const make$14 = gen(function* () {
50827
50843
  const links = yield* PeerLinks;
50828
50844
  const crypto = yield* Digest;
50829
50845
  const threads = yield* ThreadManagementService;
50846
+ const config = yield* ServerConfig;
50847
+ const fileSystem = yield* FileSystem;
50830
50848
  /**
50831
50849
  * The caller's own limits, which travel with every forwarded call: the peer sees only the
50832
50850
  * link's credential, so a caller that may not control threads here is refused here. Work a
@@ -50840,20 +50858,70 @@ const make$14 = gen(function* () {
50840
50858
  * key never collide there, and one agent retrying gets its first result.
50841
50859
  */
50842
50860
  const scopedRequestId = (namespace, clientRequestId) => crypto.digest(sha256, new TextEncoder().encode(`${namespace}\n${clientRequestId}`)).pipe(map((digest) => `fwd:${encode(digest)}`), orDie);
50861
+ const AttachmentRef = Struct({
50862
+ type: Literals(["image", "file"]),
50863
+ id: String$1,
50864
+ name: String$1,
50865
+ mimeType: String$1,
50866
+ sizeBytes: Number$1
50867
+ });
50868
+ const decodeAttachmentRef = decodeUnknownEffect(AttachmentRef);
50869
+ const attachmentFailure = (message) => new OrchestratorMcpFailure({
50870
+ code: "invalid_request",
50871
+ message
50872
+ });
50873
+ const transferAttachment = fn("PeerForwarding.transferAttachment")(function* (environmentId, limits, attachment) {
50874
+ const ref = yield* decodeAttachmentRef(attachment).pipe(mapError(() => attachmentFailure("An attachment did not match the expected shape.")));
50875
+ if (parseThreadSegmentFromAttachmentId(ref.id) !== "pending") return yield* attachmentFailure(`${ref.name} is not a pending upload. Attachments for a linked environment must be pending uploads.`);
50876
+ const path = resolveAttachmentPathById({
50877
+ attachmentsDir: config.attachmentsDir,
50878
+ attachmentId: ref.id
50879
+ });
50880
+ if (path === null) return yield* attachmentFailure(`${ref.name} was never uploaded or has expired. Upload it again with p4_attachment_prepare_upload.`);
50881
+ const bytes = yield* fileSystem.readFile(path).pipe(mapError(unavailable));
50882
+ if (bytes.byteLength !== ref.sizeBytes) return yield* attachmentFailure(`${ref.name} is ${bytes.byteLength} bytes, but the attachment says ${ref.sizeBytes}.`);
50883
+ const prepared = yield* peers.call({
50884
+ environmentId,
50885
+ tool: "p4_attachment_prepare_upload",
50886
+ arguments: { upload: {
50887
+ type: ref.type,
50888
+ name: ref.name,
50889
+ mimeType: ref.mimeType,
50890
+ sizeBytes: ref.sizeBytes
50891
+ } },
50892
+ limits,
50893
+ success: AttachmentCreateUploadUrlResult
50894
+ });
50895
+ yield* peers.upload({
50896
+ environmentId,
50897
+ relativeUrl: prepared.relativeUrl,
50898
+ bytes,
50899
+ contentType: ref.mimeType
50900
+ });
50901
+ return {
50902
+ ...attachment,
50903
+ id: prepared.attachmentId
50904
+ };
50905
+ });
50843
50906
  /** Tool and contract schemas are plain data: they encode and decode without services. */
50844
50907
  const forward = fn("PeerForwarding.forward")(function* (scope, toolName, parameters, success, environmentId, params) {
50845
50908
  const limits = yield* callerLimits(scope);
50846
50909
  const { environmentId: _target, ...args } = yield* encodeUnknownEffect(parameters)(params).pipe(mapError(unavailable));
50847
- if (Array.isArray(args.attachments) && args.attachments.length > 0) return yield* new OrchestratorMcpFailure({
50848
- code: "invalid_request",
50849
- message: "A launch in a linked environment cannot carry attachments yet."
50850
- });
50910
+ if (Array.isArray(args.attachments) && args.attachments.length > 0) {
50911
+ const attachments = args.attachments;
50912
+ args.attachments = yield* forEach(attachments, (attachment) => transferAttachment(environmentId, limits, attachment));
50913
+ }
50851
50914
  if (typeof args.clientRequestId === "string") args.clientRequestId = yield* scopedRequestId(scope.requestNamespace, args.clientRequestId);
50915
+ const launchedBy = toolName === "p4_thread_launch" && scope.thread !== void 0 && args.delegatedFrom === void 0 ? {
50916
+ environmentId: scope.environmentId,
50917
+ threadId: scope.thread.threadId
50918
+ } : void 0;
50852
50919
  return yield* peers.call({
50853
50920
  environmentId,
50854
50921
  tool: toolName,
50855
50922
  arguments: args,
50856
50923
  limits,
50924
+ ...launchedBy === void 0 ? {} : { launchedBy },
50857
50925
  success
50858
50926
  });
50859
50927
  });
@@ -55582,6 +55650,10 @@ const layer$25 = toLayer(ProjectToolkit, {
55582
55650
  createdBy: "agent",
55583
55651
  creationSource: "mcp",
55584
55652
  ...caller === void 0 ? {} : { launchedByThreadId: caller.id },
55653
+ ...caller !== void 0 || linkOrigin === void 0 || input.delegatedFrom !== void 0 || scope.client?.launchedBy === void 0 ? {} : {
55654
+ launchedByThreadId: scope.client.launchedBy.threadId,
55655
+ launchedByEnvironmentId: scope.client.launchedBy.environmentId
55656
+ },
55585
55657
  ...linkOrigin === void 0 ? {} : { linkOrigin },
55586
55658
  ...input.delegatedFrom === void 0 ? {} : { delegatedFrom: input.delegatedFrom }
55587
55659
  }).pipe(mapError((error) => {
@@ -58418,6 +58490,34 @@ const withModeLimit = (invocation, request) => {
58418
58490
  }
58419
58491
  };
58420
58492
  };
58493
+ const decodeLaunchedBy = decodeUnknownOption(Struct({
58494
+ environmentId: EnvironmentId,
58495
+ threadId: ThreadId
58496
+ }));
58497
+ const parseLaunchedBy = (value) => {
58498
+ const [environmentId, threadId, ...rest] = value.trim().split("/");
58499
+ if (rest.length > 0 || environmentId === void 0 || threadId === void 0) return none();
58500
+ try {
58501
+ return decodeLaunchedBy({
58502
+ environmentId: decodeURIComponent(environmentId),
58503
+ threadId: decodeURIComponent(threadId)
58504
+ });
58505
+ } catch {
58506
+ return none();
58507
+ }
58508
+ };
58509
+ const withLaunchedBy = (invocation, request) => {
58510
+ const header = request.headers[LAUNCHED_BY_HEADER];
58511
+ if (header === void 0 || invocation.client?.linked !== true) return invocation;
58512
+ const launchedBy = getOrUndefined$1(parseLaunchedBy(header));
58513
+ return launchedBy === void 0 ? invocation : {
58514
+ ...invocation,
58515
+ client: {
58516
+ ...invocation.client,
58517
+ launchedBy
58518
+ }
58519
+ };
58520
+ };
58421
58521
  const linkedEnvironmentsOff = jsonUnsafe({
58422
58522
  error: "linked_environments_off",
58423
58523
  message: "Linked environments is off on this machine. Turn it on in its Settings → Connections."
@@ -58441,8 +58541,9 @@ const makeMcpAuthMiddleware = gen(function* () {
58441
58541
  offerOAuth: isSome(clients) && !looksLikeProviderToken(token)
58442
58542
  });
58443
58543
  }
58444
- const limited = withModeLimit(invocation, request);
58445
- if (limited === void 0) return invalidModeLimit;
58544
+ const modeLimited = withModeLimit(invocation, request);
58545
+ if (modeLimited === void 0) return invalidModeLimit;
58546
+ const limited = withLaunchedBy(modeLimited, request);
58446
58547
  const linkedEnvironments = yield* linksEnabled;
58447
58548
  if (limited.client?.linked === true && !linkedEnvironments) return linkedEnvironmentsOff;
58448
58549
  return {
@@ -61842,4 +61943,4 @@ const layerMakeServer = unwrap(gen(function* () {
61842
61943
  const runServer = launch(layerMakeServer);
61843
61944
  export { runServer };
61844
61945
 
61845
- //# sourceMappingURL=server-BK48ByhE.mjs.map
61946
+ //# sourceMappingURL=server-CsS0d2BE.mjs.map
@@ -15729,6 +15729,7 @@ const OrchestrationV2AppThread = Struct({
15729
15729
  sideChat: optional(Boolean),
15730
15730
  delegatedFrom: optional(OrchestrationV2DelegatedFrom),
15731
15731
  launchedByThreadId: optional(ThreadId),
15732
+ launchedByEnvironmentId: optional(EnvironmentId),
15732
15733
  sweep: optional(NullOr(OrchestrationV2Sweep)),
15733
15734
  lineage: OrchestrationV2AppThreadLineage,
15734
15735
  forkedFrom: NullOr(Union([
@@ -17330,6 +17331,7 @@ const OrchestrationV2ThreadShell = Struct({
17330
17331
  linkOrigin: optional(OrchestrationV2LinkOrigin),
17331
17332
  delegatedFrom: optional(OrchestrationV2DelegatedFrom),
17332
17333
  launchedByThreadId: optional(ThreadId),
17334
+ launchedByEnvironmentId: optional(EnvironmentId),
17333
17335
  sweep: optional(NullOr(OrchestrationV2Sweep)),
17334
17336
  latestRunId: NullOr(RunId),
17335
17337
  latestRunRequestedAt: optional(NullOr(DateTimeUtc)),
@@ -18014,6 +18016,7 @@ const OrchestrationV2Command = Union([
18014
18016
  /** Only the server sets this, with `linkOrigin`, for a linked environment's delegated task. */
18015
18017
  delegatedFrom: optional(OrchestrationV2DelegatedFrom),
18016
18018
  launchedByThreadId: optional(ThreadId),
18019
+ launchedByEnvironmentId: optional(EnvironmentId),
18017
18020
  importedNativeThread: optional(Struct({
18018
18021
  ref: Struct({
18019
18022
  driver: ProviderDriverKind,
@@ -34944,4 +34947,4 @@ const sha512 = /* @__PURE__ */ createHasher(() => new SHA512());
34944
34947
  const sha384 = /* @__PURE__ */ createHasher(() => new SHA384());
34945
34948
  export { WsSelfImproveSetMemoryMirrorRpc as $, makeBinaryPathSetting as $a, OrchestrationWorkflowFileError as $c, isRespondable as $d, isStreamNdjson as $f, RpcClientId as $h, EnvironmentThemeId as $i, VcsProcessOutputLimitError as $l, AcpRegistryOperationError as $m, PreviewAutomationUnsupportedClientError as $n, deviceToolInstallMessage as $o, bodyJsonUnsafe as $p, OrchestratorMcpClientRequestId as $r, toRouterPath as $s, exitSchema as $t, use as $u, ComputerUseHostResponse as A, AntigravitySettings as Aa, OrchestrationV2ProviderSessionJson as Ac, TypeId$9 as Ad, AuthRelayReadScope as Af, ClientConnectionMethod as Ah, OrchestratorMcpThreadWaitInput as Ai, ProviderUserInputAnswers as Al, FileTypeId as Am, PreviewAutomationNoAvailableHostError as An, UsageReadError as Ao, redirect as Ap, AgentSessionSource as Ar, EnvironmentInternalError as As, DesignGuideRequest as At, isProviderSendTurnSupportedImageMimeType as Au, WsHubSyncResolveRpc as B, DEFAULT_SERVER_SETTINGS as Ba, OrchestrationV2SearchThreadError as Bc, toPersisted as Bd, authScopeRequiredResponse as Bf, EventId as Bh, ApplicationEventMetadata as Bi, PullRequestSummary as Bl, ignore as Bm, PreviewAutomationResizeInput as Bn, DevicePlatformUnavailableError as Bo, filterStatusOk$1 as Bp, AGENT_ASSET_FILE_MAX_CHARS as Br, RelayEnvironmentLinkChallengeResponse as Bs, DesignProposeRequest as Bt, getPayloadSchemas as Bu, COMPUTER_USE_JEV_TAKE_CODE as C, TerminalHistoryError as Ca, OrchestrationV2GetShellSnapshotError as Cc, tracer as Cd, AuthMcpClientAccess as Cf, ASSISTANT_CITATION_MAX_COMMENT_LENGTH as Ch, OrchestratorMcpThreadInterruptResult as Ci, StoredProjectIcon as Cl, isHttpBody as Cm, PreviewAutomationDialogInput as Cn, value as Co, file as Cp, AttachmentCreateUploadUrlResult as Cr, EnvironmentHttpApi as Cs, DesignServiceError as Ct, ChatFileAttachment as Cu, ComputerUseHost as D, TerminalResizeError as Da, OrchestrationV2ProviderGoal as Dc, fromHeaders as Dd, AuthOrchestrationReadScope as Df, CheckpointId as Dh, OrchestratorMcpThreadReadResult as Di, ProviderApprovalOption as Dl, uint8Array$1 as Dm, PreviewAutomationInvalidSelectorError as Dn, ResolvedKeybindingRule as Do, mergeCookies as Dp, AgentSessionImportProjectNotFoundError as Dr, EnvironmentHttpForbiddenError as Ds, DesignApplyRequest as Dt, PROVIDER_SEND_TURN_MAX_INPUT_CHARS as Du, ComputerUseError as E, TerminalProviderInstanceNotFoundError as Ea, OrchestrationV2ProviderFailure as Ec, appendPreResponseHandlerUnsafe as Ed, AuthOrchestrationOperateScope as Ef, AuthSessionId as Eh, OrchestratorMcpThreadReadInput as Ei, ProviderApprovalDecision as El, text$1 as Em, PreviewAutomationExecutionError as En, MODEL_PICKER_JUMP_KEYBINDING_COMMANDS as Eo, jsonUnsafe as Ep, AgentSessionImportProjectChangedError as Er, EnvironmentHttpConflictError as Es, DesignApplyReceipt as Et, PROVIDER_SEND_TURN_MAX_IMAGE_BYTES as Eu, clientRpcRequiredScopes as F, CompressMode as Fa, OrchestrationV2RunAttemptJson as Fc, MultipartError as Fd, AuthTerminalReadScope as Ff, CommandId as Fh, SecretRequestError as Fi, ThreadPullRequestLinkSource as Fl, badArgument as Fm, PreviewAutomationRecordingStatus as Fn, DeviceHostUnavailableError as Fo, setStatus as Fp, OrchestrationSearchThreadsError as Fr, connectReachabilityHelpUrl as Fs, DesignInspectReceipt as Ft, make$3 as Fu, WsMcpRegistryProviderSignInCompleteRpc as G, ResponseStreamingMode as Ga, OrchestrationV2Subagent as Gc, make$13 as Gd, asUint8Array as Gf, PlanId as Gh, PROJECT_CLONE_ERROR_MAX_LENGTH as Gi, SourceControlCloneRepositoryInput as Gl, isHttpMethod as Gm, PreviewAutomationSetColorSchemeResult as Gn, DeviceToolOpenResult as Go, inspect as Gp, AgentAssetKind as Gr, RelayManagedEndpointRecoveryResponse as Gs, DesignStatusRequest as Gt, HttpRouter as Gu, WsHubSyncSetModeRpc as H, GitHubHost as Ha, OrchestrationV2StopWorkflowError as Hc, make$9 as Hd, mcpClientScopes as Hf, MessageId as Hh, OrchestrationDispatchCommandError as Hi, pullRequestHostOf as Hl, layer$3 as Hm, PreviewAutomationResultTooLargeError as Hn, DeviceToolError as Ho, matchStatus as Hp, AgentAsset as Hr, RelayHookDeliveryProofPayload as Hs, DesignRenderRequest as Ht, patch as Hu, RpcScopeAuthorization as I, DATABASE_COMPACTION_RECOMMENDED_BYTES as Ia, OrchestrationV2RunJson as Ic, TypeId$10 as Id, AuthWebSocketTicketUse as If, ContextHandoffId as Ih, MIN_SCHEDULED_TASK_INTERVAL_MS as Ii, PullRequestLinkedThreadsResult as Il, isPlatformError as Im, PreviewAutomationRecordingTooLargeError as In, DeviceId as Io, stream as Ip, OrchestrationSearchThreadsInput as Ir, formatConnectReachable as Is, DesignInspectRequest as It, reflect as Iu, WsMcpRegistryProviderSignInWaitRpc as J, ServerSettingsPatch as Ja, OrchestrationV2ThreadForkSourcePoint as Jc, InternalError as Jd, getResponseEncodingSchema as Jf, ProjectId as Jh, GitPullRequestMaterializationError as Ji, SourceControlProviderKind as Jl, decodeSchema as Jm, PreviewAutomationTabNotFoundError as Jn, DeviceToolUnavailableError as Jo, appendUrlParams as Jp, AgentAssetWriteInput as Jr, RelayProtectedError as Js, DesignValidateReceipt as Jt, cors as Ju, WsMcpRegistryProviderSignInStartRpc as K, ServerSettings as Ka, OrchestrationV2SubagentJson as Kc, ClientAbort$1 as Kd, getPayloadEncoding as Kf, PortSchema as Kh, GitCommandError as Ki, SourceControlCloneRepositoryResult as Kl, Retry as Km, PreviewAutomationSnapshot as Kn, DeviceToolScreenshotResult as Ko, schemaBodyJson as Kp, AgentAssetListFilter as Kr, RelayManagedEndpointRuntimeConfig as Ks, DesignStylesReceipt as Kt, RouteContext as Ku, WS_METHODS as L, DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL as La, OrchestrationV2RunStatus as Lc, isPersistedFile as Ld, EnvironmentAuthorizationError as Lf, ContextTransferId as Lh, ScheduledTask as Li, PullRequestOperationError as Ll, systemError as Lm, PreviewAutomationRecordingTransferError as Ln, DeviceNotFoundError as Lo, text as Lp, OrchestrationThreadSearchMatch as Lr, RelayApi as Ls, DesignLibraryManifest as Lt, del as Lu, ComputerUseOutput as M, BackgroundActivityProfileSelection as Ma, OrchestrationV2ProviderThreadJson as Mc, schemaHeaders as Md, AuthSettingsWriteScope as Mf, ClientOs as Mh, ThreadMetadataMcpUpdateInput as Mi, ThreadLinkedPullRequest as Ml, make$21 as Mm, PreviewAutomationRecordingArtifact as Mn, DeviceBootError as Mo, setBody as Mp, P4ProjectFile as Mr, EnvironmentRequestInvalidError as Ms, DesignHandoffRequest as Mt, isSecurity as Mu, computerUseJevStepCode as N, ClaudeSettings as Na, OrchestrationV2ProviderTurn as Nc, schemaSearchParams as Nd, AuthStandardClientScopes as Nf, ClientSurface as Nh, ThreadMetadataMcpUpdateResult as Ni, ThreadPullRequestKey as Nl, BadArgument as Nm, PreviewAutomationRecordingDeadlineExpiredError as Nn, DeviceEasAccountError as No, setHeader as Np, P4_PROJECT_FILE_NAME as Nr, EnvironmentResourceNotFoundError as Ns, DesignImportTokensReceipt as Nt, make$2 as Nu, ComputerUseHostRegistration as O, TerminalSessionLookupError as Oa, OrchestrationV2ProviderRetry as Oc, HttpServerRequest as Od, AuthPreviewOperateScope as Of, CheckpointRef as Oh, OrchestratorMcpThreadSendInput as Oi, ProviderInteractionMode as Ol, urlParams$1 as Om, PreviewAutomationMalformedResponseError as On, SCRIPT_RUN_COMMAND_PATTERN as Oo, omitsBody as Op, AgentSessionImportSource as Or, EnvironmentHttpInternalServerError as Os, DesignDocument as Ot, PersistChatAttachmentsError as Ou, CLIENT_GUARDED_RPC_SCOPES as P, CodexSettings as Pa, OrchestrationV2ProviderTurnJson as Pc, toURL as Pd, AuthTerminalOperateScope as Pf, ClientWebDeployment as Ph, SECRET_REQUEST_UNSAVED_NOTE as Pi, ThreadPullRequestLink as Pl, PlatformError as Pm, PreviewAutomationRecordingDesktopUpdateRequiredError as Pn, DeviceHostId as Po, setHeaders as Pp, PROJECT_FILE_BACKED_SETTINGS as Pr, EnvironmentScopeRequiredError as Ps, DesignImportTokensRequest as Pt, getSlotParseOptions as Pu, WsSelfImproveSaveFindingsRpc as Q, keepUnknownOverrideKeys as Qa, OrchestrationV2TurnItemJson as Qc, causeResponse as Qd, isNoContent as Qf, RawEventId as Qh, EnvironmentThemeFile as Qi, VcsProcessMissingExitCodeError as Ql, AcpRegistryListSessionsResult as Qm, PreviewAutomationUnavailableError as Qn, LOCAL_DEVICE_HOST_LABEL as Qo, bodyJson as Qp, OrchestratorMcpCapabilitiesResult as Qr, replaceParams as Qs, ServerClient as Qt, serve as Qu, WsHubSyncConnectRpc as R, DEFAULT_BACKGROUND_ACTIVITY_PROFILE as Ra, OrchestrationV2RuntimeRequest as Rc, limitsServices as Rd, MCP_PEER_LINK_SOFTWARE_ID as Rf, DpopFailureReason as Rh, ScheduledTaskError as Ri, PullRequestStack as Rl, CurrentErrorReporters as Rm, PreviewAutomationRemoteUnavailableError as Rn, DeviceOperationError as Ro, uint8Array as Rp, OrchestrationThreadSearchSource as Rr, RelayCloudEnvironmentHealthProofPayload as Rs, DesignNode as Rt, get as Ru, COMPUTER_USE_DEFAULT_TIMEOUT_MS as S, TerminalCwdStatError as Sa, OrchestrationV2ExecutionNodeJson as Sc, isTracerDisabledUnsafe as Sd, AuthMcpApprovalError as Sf, ReviewCommentContextRecord as Sh, OrchestratorMcpThreadInterruptInput as Si, ProjectWriteFileError as Sl, isHttpClientError as Sm, PreviewAutomationControlReason as Sn, symbol as So, empty as Sp, AttachmentCreateUploadUrlInput as Sr, EnvironmentCloudEndpointUnavailableError as Ss, DesignRpcGroup as St, ChatAttachmentId as Su, ComputerUseBrowserChatRequest as T, TerminalProviderEnvironmentError as Ta, OrchestrationV2PlanArtifact as Tc, RequestState as Td, AuthMcpTokenError as Tf, AssistantCitation as Th, OrchestratorMcpThreadListResult as Ti, DEFAULT_RUNTIME_MODE as Tl, stream$1 as Tm, PreviewAutomationEvaluateInput as Tn, KeybindingsConfigError as To, isHttpServerResponse as Tp, AttachmentUploadSigningKeyError as Tr, EnvironmentHttpCommonError as Ts, DESIGN_MODEL_MIME_TYPE as Tt, PROVIDER_SEND_TURN_MAX_FILE_BYTES as Tu, WsHubSyncSubscribeRpc as U, PROJECT_SCOPED_SERVER_SETTING_KEYS as Ua, OrchestrationV2StopWorkflowInput as Uc, Path as Ud, NoContent as Uf, NodeId as Uh, PullRequestReviewGuide as Ui, pullRequestProviderRequirement as Ul, report as Um, PreviewAutomationSelectResult as Un, DeviceToolListResult as Uo, MaxBodySize as Up, AgentAssetFiles as Ur, RelayManagedEndpointOrigin as Us, DesignSelection as Ut, post as Uu, WsHubSyncRunNowRpc as V, DatabaseReclaimError as Va, OrchestrationV2SearchThreadInput as Vc, decodeField as Vd, authScopeResponse as Vf, IsoDateTime as Vh, ApplicationProjectEvent as Vi, PullRequestUnavailableError as Vl, isIgnored as Vm, PreviewAutomationResizeResult as Vn, DeviceToolCloseInput as Vo, fromWeb as Vp, AGENT_ASSET_TOTAL_MAX_BYTES as Vr, RelayEnvironmentLinkResponse as Vs, DesignRenderReceipt as Vt, getSuccessSchemas as Vu, WsMcpRegistryProviderSignInCancelRpc as W, ProjectSettingsOverrides as Wa, OrchestrationV2StoredEvent as Wc, layer$1 as Wd, StreamSse as Wf, NonNegativeInt as Wh, PullRequestReviewGuideRun as Wi, resolvePullRequestAuthorFilter as Wl, hasBody as Wm, PreviewAutomationSetColorSchemeInput as Wn, DeviceToolOpenInput as Wo, TypeId$16 as Wp, AgentAssetId as Wr, RelayManagedEndpointRecoveryRegistrationResponse as Ws, DesignStatusReceipt as Wt, put as Wu, WsRpcGroup as X, globalIdleCompaction as Xa, OrchestrationV2ThreadShell as Xc, ResponseError as Xd, getStatusSuccessSchema as Xf, ProviderThreadId as Xh, VcsListRefsInput as Xi, VcsDriverKind as Xl, makeParser as Xm, PreviewAutomationTargetNotEditableError as Xn, EasDeviceHostConfig as Xo, bearerToken as Xp, PeerLinkError as Xr, fromApi as Xs, make as Xt, params as Xu, WsMcpRegistryProviderSignOutRpc as Y, UsageLimitSourceConfig as Ya, OrchestrationV2ThreadLaunchError as Yc, RequestParseError as Yd, getStatusErrorSchema as Yf, ProviderSessionId as Yh, TextGenerationError as Yi, SourceControlRepositoryError as Yl, encoder$3 as Ym, PreviewAutomationTabTargetInput as Yn, DeviceToolVersions as Yo, basicAuth as Yp, agentAssetTotalBytes as Yr, annotations as Ys, DesignValidateRequest as Yt, middleware as Yu, WsSelfImproveDismissFindingsRpc as Z, isUnconfiguredDefaultInstanceEnabled as Za, OrchestrationV2TurnItem as Zc, ServeError as Zd, getWithHeadersAnnotation as Zf, ProviderTurnId as Zh, VcsListRefsResult as Zi, VcsProcessExitError as Zl, AcpRegistryListProvidersResult as Zm, PreviewAutomationTimeoutError as Zn, LOCAL_DEVICE_HOST_ID as Zo, bodyFormData as Zp, PeerLinkRequestError as Zr, getParamNames as Zs, ParseOptions as Zt, route as Zu, Asset3dGenerateResult as _, ProviderSetupError as _a, OrchestrationV2DispatchCommandResult as _c, transform as _d, AuthEnvironmentMaintainScope as _f, ProviderInstanceMutation as _h, OrchestratorMcpSaveScheduledTaskInput as _i, ProjectReadFileError as _l, EncodeError as _m, PREVIEW_RECORDING_STOP_TIMEOUT_MS as _n, PreviewListResult as _o, fromWebSocket as _p, AssetWorkspaceContextNotFoundError as _r, DesktopBackendBootstrap as _s, SelfImproveSaveFindingsResult as _t, supportsProviderMcpSignIn as _u, abytes as a, isProviderAvailable as aa, OrchestrationV2AgentThreadLaunchWorkspaceStrategy as ac, TracerDisabledWhen as ad, layerWeak as af, ThreadId as ag, CustomModelSetting as ah, OrchestratorMcpDeleteScheduledTaskResult as ai, linkOriginIsFenced as al, get$2 as am, WorktreeMcpFailure as an, resolveProjectProviderInstanceEnabled as ao, withHeaders as ap, ReviewDiffPreviewSourceKind as ar, ThreadDecisionsReadError as as, WORKTREE_SETUP_ERROR_MAX_LENGTH as at, VcsUnsupportedOperationError as au, Asset3dSearchInput as b, TerminalCwdNotDirectoryError as ba, OrchestrationV2DomainEventJson as bc, TracerDisabledWhen$1 as bd, AuthFilesystemWriteScope as bf, ComposerContextRecord as bh, OrchestratorMcpTaskCancelResult as bi, ProjectSearchEntriesError as bl, StatusCodeError as bm, PreviewAutomationClientDisconnectedError as bn, PreviewTabId as bo, make$17 as bp, AssetWorkspaceResolutionError as br, EnvironmentAuthenticatedAuth as bs, DesignListReceipt as bt, OrchestrationGetTurnDiffResult as bu, anumber as c, EDITORS as ca, OrchestrationV2CheckpointJson as cc, get$1 as cd, ORCHESTRATION_PROTOCOL_HEADER as cf, TurnItemId as cg, DEFAULT_TEXT_GENERATION_MODEL as ch, OrchestratorMcpEnvironmentLinksResult as ci, ToolActivityIcon as cl, prependUrl as cm, WorktreeMcpStatusResult as cn, secretSettingsFields as co, SocketCloseError as cp, AssetCreateUrlInput as cr, DEFAULT_BROWSER_PROFILE_ID as cs, SelfImproveDecision as ct, McpServerConfig as cu, concatBytes as d, ExternalLauncherEditorSpawnError as da, OrchestrationV2ContextTransfer as dc, mapRequest as dd, AuthAccessReadScope as df, toNumberUnsafe as dg, MUSE_DEFAULT_MODEL as dh, OrchestratorMcpEnvironmentUnlinkResult as di, OrchestrationProjectShell as dl, setHeader$1 as dm, ResourceMonitorCommand as dn, PREVIEW_STREAM_HOST_SETUP_CLOSE_CODE as do, SocketOpenError as dp, AssetProjectFaviconInspectionError as dr, resolveBrowserProfiles as ds, SelfImproveFindings as dt, McpServerRuntimeState as du, ServerProvider as ea, AUTO_WORKSPACE_NOTICE_TITLE as ec, HttpServer as ed, symbol$1 as ef, RunAttemptId as eg, AcpRegistryOperationErrorReason as eh, OrchestratorMcpCreateThreadsInput as ei, autoWorkspaceNoticeMessage as el, bodyStream as em, isWrapper as en, makeProviderSettingsSchema as eo, isStreamSchema$1 as ep, PreviewAutomationWaitForInput as er, DECISION_MODELS as es, WsSelfImproveSubscribeSettingsRpc as et, VcsProcessOutputReadError as eu, randomBytes as f, ExternalLauncherUnknownEditorError as fa, OrchestrationV2ContextTransferJson as fc, mapRequestEffect as fd, AuthAccessStreamError as ff, toNumber$1 as fg, ModelCapabilities as fh, OrchestratorMcpFailure as fi, Project as fl, setHeaders$1 as fm, ResourceMonitorEvent as fn, PREVIEW_URL_MAX_LENGTH as fo, SocketReadError as fp, AssetProjectFaviconNotFoundError as fr, DesktopAppActivationErrorCode as fs, SelfImproveLabel as ft, McpServerTransport as fu, Asset3dGenerateInput as g, isLocalEditorFileUrl as ga, OrchestrationV2DispatchCommandError as gc, tapError as gd, AuthDiagnosticsReadScope as gf, ProviderInstanceId as gh, OrchestratorMcpRequestSecretResult as gi, ProjectMutationError as gl, DecodeError as gm, PREVIEW_AUTOMATION_V1_OPERATIONS as gn, PreviewInvalidUrlError as go, WebSocketConstructor as gp, AssetWorkspaceAssetNotFoundError as gr, DESKTOP_UPDATE_RESTART_MARKER_FILE as gs, SelfImproveReviewers as gt, resolveRegistryEntryEnabled as gu, Asset3dFiles as h, LOCAL_FILE_LINK_SCHEMES as ha, OrchestrationV2DelegatedFrom as hc, tap as hd, AuthClientMetadataDeviceType as hf, ProviderDriverKind as hh, OrchestratorMcpRequestSecretInput as hi, ProjectMutation as hl, upgrade as hm, PREVIEW_AUTOMATION_SERVER_OPERATIONS as hn, PreviewControlRequiredError as ho, WebSocket as hp, AssetWorkspaceAssetInspectionError as hr, DesktopBrowserEvent as hs, SelfImproveReview as ht, mcpProviderSupport as hu, Hash as i, environmentThemeFileHasColors as ia, OrchestrationGetWorkflowScriptError as ic, HttpClient as id, layer$2 as if, SecretRef as ig, ANTIGRAVITY_DEFAULT_MODEL as ih, OrchestratorMcpDeleteScheduledTaskInput as ii, latestProviderTurnForAttempt as il, del$1 as im, isStreamSchema as in, resolveIdleCompaction as io, isWithHeadersValue as ip, ReviewDiffPreviewSource as ir, ThreadDecision as is, WsSubscribeThreadDecisionsRpc as it, VcsRepositoryDetectionError as iu, ComputerUseJsInput as j, BackgroundActivityProfile as ja, OrchestrationV2ProviderThread as jc, schemaCookies as jd, AuthRelayWriteScope as jf, ClientDeviceType as jh, OrchestratorMcpThreadWaitResult as ji, RuntimeMode as jl, WatchBackend as jm, PreviewAutomationOpenInput as jn, DeviceActionUnavailableError as jo, removeHeader as jp, FilesystemBrowseError as jr, EnvironmentOperationForbiddenError as js, DesignHandoffReceipt as jt, Service$1 as ju, ComputerUseHostReport as k, TerminalWriteError as ka, OrchestrationV2ProviderSession as kc, ParsedSearchParams as kd, AuthProvidersManageScope as kf, CheckpointScopeId as kh, OrchestratorMcpThreadSendResult as ki, ProviderRequestKind as kl, FileSystem as km, PreviewAutomationNavigateInput as kn, THREAD_JUMP_KEYBINDING_COMMANDS as ko, raw as kp, AgentSessionScanError as kr, EnvironmentHttpUnauthorizedError as ks, DesignGuideReceipt as kt, getProviderAttachmentLimitError as ku, bytesToHex as l, ExternalLauncherBrowserSpawnError as la, OrchestrationV2CheckpointScopeJson as lc, layerMergedContext as ld, ORCHESTRATION_PROTOCOL_QUERY_PARAM as lf, bytes as lg, DEFAULT_TEXT_GENERATION_MODEL_BY_PROVIDER as lh, OrchestratorMcpEnvironmentTarget as li, ToolActivityNativeAppReference as ll, put$1 as lm, DesktopHostTelemetryMessage as ln, withIdleCompaction as lo, SocketError as lp, AssetGitHubMediaUrlValidationError as lr, INCOGNITO_BROWSER_PROFILE_ID as ls, SelfImproveError as lt, McpServerId as lu, Asset3dFetchInput as m, ExternalLauncherUnsupportedTargetError as ma, OrchestrationV2ConversationMessageJson as mc, retryTransient as md, AuthAccessWriteScope as mf, PROVIDER_DISPLAY_NAMES as mh, OrchestratorMcpListScheduledTasksResult as mi, ProjectListEntriesError as ml, setUrlParams as mm, McpCapabilityUnavailableError as mn, PreviewClearProfileError as mo, SocketWriteError as mp, AssetSigningKeyLoadError as mr, DesktopBrowserCommand as ms, SelfImproveResult as mt, RESERVED_MCP_SERVER_NAME as mu, sha384 as n, ServerProviderUpdateError as na, ORCHESTRATION_V2_WORKSPACE_PREPARATION_FAILURE_CODE as nc, layerTestClient as nd, HttpPlatform as nf, RuntimeRequestId as ng, officialAcpRegistryIconUrlForAgentId as nh, OrchestratorMcpDelegateTaskInput as ni, isOrchestrationV2WorkActive as nl, bodyUrlParams as nm, ClientAbort as nn, requiredScopesForProjectMutation as no, isUpgrade as np, McpAppRequestError as nr, DecisionInput as ns, WsSelfImproveUndoSaveRpc as nt, VcsProcessStdinWriteError as nu, aexists as o, isProviderTextGenerationCapable as oa, OrchestrationV2AppThread as oc, TracerPropagationEnabled as od, make$15 as of, TrimmedNonEmptyString as og, DEFAULT_MODEL as oh, OrchestratorMcpEnvironmentLinkInput as oi, orchestrationV2RunWorkStartedAt as ol, make$19 as om, WorktreeMcpHandoffInput as on, resolveProviderInstanceEnabled as oo, normalize as op, ATTACHMENT_UPLOAD_URL_TTL_MS as or, resolveDecisionBackend as os, WORKTREE_SETUP_STAGE_ORDER as ot, ModelSelection as ou, toBytes as p, ExternalLauncherUnsupportedEditorError as pa, OrchestrationV2ConversationMessage as pc, retry as pd, AuthAccessTokenType as pf, PREFERRED_DEFAULT_CODEX_MODELS as ph, OrchestratorMcpListScheduledTasksInput as pi, ProjectCreatePayload as pl, setUrl as pm, BrowserNavigationTarget as pn, PREVIEW_VIEWPORT_PRESET_IDS as po, SocketUpgradeError as pp, AssetProjectFaviconResolutionError as pr, DesktopAppActivationResponse as ps, SelfImproveRequest as pt, PluginId as pu, WsMcpRegistryProviderSignInStateRpc as q, ServerSettingsError as qa, OrchestrationV2SweepItem as qc, HttpServerError as qd, getResponseEncoding as qf, PositiveInt as qh, GitManagerError as qi, SourceControlProviderError as ql, decode as qm, PreviewAutomationStatus as qn, DeviceToolTargetInput as qo, acceptJson as qp, AgentAssetName as qr, RelayOkResponse as qs, DesignStylesRequest as qt, add$1 as qu, sha512 as r, ServerSelfUpdateError as ra, ORCHESTRATION_V2_WS_METHODS as rc, make$6 as rd, make$14 as rf, ScheduledTaskId as rg, resolveOfficialAcpRegistryIconUrl as rh, OrchestratorMcpDelegateTaskResult as ri, isProviderNativeSubagentThread as rl, compressBody as rm, getStreamSchemas as rn, requiredScopesForServerSettingsPatch as ro, isWithHeaders as rp, ReviewDiffFileStat as rr, DecisionResult as rs, WsSelfImproveUpdateSettingsRpc as rt, VcsProcessTimeoutError as ru, ahash as s, isProviderWorkspaceSnapshotCurrent as sa, OrchestrationV2AppThreadJson as sc, filterStatusOk as sd, ExecutionEnvironmentDescriptor as sf, TrimmedString as sg, DEFAULT_MODEL_BY_PROVIDER as sh, OrchestratorMcpEnvironmentLinkResult as si, parseGoalCommand as sl, post$1 as sm, WorktreeMcpHandoffResult as sn, secretSetting as so, CloseEvent as sp, AssetAttachmentNotFoundError as sr, BUILT_IN_BROWSER_PROFILES as ss, Service as st, McpRegistryRpcError as su, sha256 as t, ServerProviderCompatibilityStatus as ta, AUTO_WORKSPACE_UNDECIDED_REASON as tc, addressFormattedWith as td, toResponse as tf, RunId as tg, AcpRegistryProbeResult as th, OrchestratorMcpCreateThreadsResult as ti, isKnownOrchestrationV2EventType as tl, bodyText as tm, make$1 as tn, providerInstanceConfigEnabledFlag as to, isStreamUint8Array as tp, SERVER_BROWSER_AUTOMATION_CLIENT_ID as tr, DecisionError as ts, WsSelfImproveSubscribeThreadFindingsRpc as tt, VcsProcessSpawnError as tu, clean as u, ExternalLauncherCommandNotFoundError as ua, OrchestrationV2ContextHandoffJson as uc, make$7 as ud, ThreadEnvMode as uf, fromInputUnsafe as ug, MODEL_SLUG_ALIASES_BY_PROVIDER as uh, OrchestratorMcpEnvironmentUnlinkInput as ui, UsageLimitSourceError as ul, setBody$1 as um, DesktopTelemetryControlMessage as un, FILL_PREVIEW_VIEWPORT as uo, SocketErrorReason as up, AssetPreviewTypeValidationError as ur, findBrowserProfile as us, SelfImproveEvidence as ut, McpServerName as uu, Asset3dGenerateStatusInput as v, ProviderUploadFeedbackError as va, OrchestrationV2DispatchRejectionReason as vc, transformResponse$1 as vd, AuthEnvironmentScopes as vf, defaultInstanceIdForDriver as vh, OrchestratorMcpScheduleTaskResult as vi, ProjectScript as vl, HttpClientError as vm, PreviewAutomationActInput as vn, PreviewSessionLookupError as vo, isCloseEvent as vp, AssetWorkspaceContextResolutionError as vr, RelayClientInstallFailedError as vs, UserInputRankError as vt, OrchestrationGetFullThreadDiffError as vu, COMPUTER_USE_MAX_OUTPUT_CHARS as w, TerminalNotRunningError as wa, OrchestrationV2GetThreadProjectionError as wc, CurrentRequestState as wd, AuthMcpRegistrationError as wf, ASSISTANT_CITATION_MAX_TEXT_LENGTH as wh, OrchestratorMcpThreadListInput as wi, DEFAULT_PROVIDER_INTERACTION_MODE as wl, raw$1 as wm, PreviewAutomationError as wn, KeybindingRule as wo, html as wp, AttachmentDeleteInput as wr, EnvironmentHttpBadRequestError as ws, DesignSubscribeRequest as wt, ChatImageAttachment as wu, Asset3dSearchResult as x, TerminalCwdNotFoundError as xa, OrchestrationV2ExecutionNode as xc, compression as xd, AuthGrantScope as xf, OrchestrationMessageContext as xh, OrchestratorMcpTaskStatusInput as xi, ProjectUpdatePayload as xl, TransportError as xm, PreviewAutomationControlInterruptedError as xn, PreviewViewportSetting as xo, makeWebSocket as xp, AssetWorkspaceRootNormalizationError as xr, EnvironmentAuthenticatedPrincipal as xs, DesignListRequest as xt, ChatAttachment as xu, Asset3dGenerateStatusResult as y, DEFAULT_TERMINAL_ID as ya, OrchestrationV2DomainEvent as yc, withScope as yd, AuthFilesystemReadScope as yf, isProviderDriverKind as yh, OrchestratorMcpTaskCancelInput as yi, ProjectSearchContentsError as yl, HttpClientErrorSchema as ym, PreviewAutomationActInputs as yn, PreviewStreamHostSetup as yo, isSocketError as yp, AssetWorkspacePathValidationError as yr, EnvironmentAuthInvalidError as ys, DesignHumanApplyRequest as yt, OrchestrationGetTurnDiffError as yu, WsHubSyncDisconnectRpc as z, DEFAULT_PROVIDER_HEALTH_REFRESH_INTERVAL as za, OrchestrationV2RuntimeRequestJson as zc, makeConfig as zd, ServerAuthSessionMethod as zf, EnvironmentId as zh, ScheduledTaskWebhookDeliveryId as zi, PullRequestState as zl, TypeId$22 as zm, PreviewAutomationRequestQueueClosedError as zn, DevicePlatformAvailability as zo, urlParams as zp, HubSyncError as zr, RelayCloudMintCredentialProofPayload as zs, DesignProposeReceipt as zt, getErrorSchemas as zu };
34946
34949
 
34947
- //# sourceMappingURL=sha2-D9ocDAIA.mjs.map
34950
+ //# sourceMappingURL=sha2-BjjJcoUu.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@p4code/cli",
3
- "version": "0.9.25",
3
+ "version": "0.9.26",
4
4
  "description": "P4 Code coding agent server and command-line client",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,2 +0,0 @@
1
- import{r as e}from"./DialogTitle-DV_YdpJC.js";function t(t){return e(t,`alert-dialog`)}export{t};
2
- //# sourceMappingURL=AlertDialogRoot-3k-2cSKF.js.map
@@ -1,2 +0,0 @@
1
- import{a as e,t}from"./react-BUfh6y28.js";import{t as n}from"./jsx-runtime-DJeoFXNw.js";import{t as r}from"./FieldControl-CIowDCcv.js";var i=e(t()),a=e(n()),o=i.forwardRef(function(e,t){return(0,a.jsx)(r,{ref:t,...e})});export{o as t};
2
- //# sourceMappingURL=Input-DRxcOIy1.js.map
@@ -1 +0,0 @@
1
- export{t as flowchart}from"./O65XPQGZ-D4-546m0.js";
@@ -1,2 +0,0 @@
1
- import{a as e,t}from"./react-BUfh6y28.js";import{n,t as r}from"./jsx-runtime-DJeoFXNw.js";import{$n as i,Ad as a,D as o,Dd as s,El as c,Go as l,Lo as u,Uu as d,Vo as f,Wu as p,Xn as m,Zd as h,Zn as g,Zs as _,ar as v,dr as y,er as b,fr as x,ir as S,lr as C,mr as w,nl as T,of as E,ol as D,op as O,ou as ee,rf as k,rr as te,sl as A,sr as j,t as M,tr as N,ur as P,wd as ne,zo as re,zu as F}from"./utils-sVhLpEl6.js";import{Rr as I,Wr as L,aa as R}from"./src-upZEL2qH.js";import{Ar as z,Tr as B}from"./runtime-DGtwOpiP.js";import{y as ie}from"./entities-ygRGujH7.js";import{rt as V}from"./ChatMarkdown-LJASbkfc.js";import{a as H}from"./relay-Bjm0weca.js";import{C as ae,S as oe,k as U,q as W,r as se}from"./useSettings-DwDYuiOf.js";import{i as ce,n as G}from"./session-CkASndp1.js";import{t as le}from"./use-atom-command-Dv8zTjOp.js";import{u as ue}from"./rightPanelStore-BNvdVe0q.js";import{t as de}from"./toastHelpers-DxXYm50b.js";import{M as K,N as q}from"./PanelLayoutControls-BiOzQEUj.js";import{o as fe}from"./timestampFormat-Dq7sHZpd.js";import{a as pe,n as me,t as he}from"./tooltip-CZBiwhnV.js";import{a as ge,o as _e,r as ve,t as ye}from"./empty-CGA6iTo1.js";import{n as be,t as xe}from"./discovery-list-VELXPQtS.js";import{t as Se}from"./observeResize-CNiPL-bo.js";import{T as Ce,a as we,b as Te,f as Ee,i as De,n as Oe,o as ke,r as Ae,t as je,u as Me,w as Ne}from"./browserHistoryStore-DcyxHvEZ.js";import{n as Pe}from"./openFileInPreview-CgNdFzHq.js";import{t as Fe}from"./preview-BypB2j7r.js";import{a as Ie,i as Le,n as Re,o as ze,t as Be}from"./preview-BPJ2QBFC.js";import{u as Ve}from"./LinkMachineSelect-rWCX7r86.js";import{$a as He,Ga as Ue,Go as J,Ja as We,Ka as Ge,Mo as Y,No as Ke,Qa as qe,Wa as Je,Za as Ye,co as X,fo as Xe,io as Ze,no as Qe,qa as $e,ro as et,so as tt}from"./main-CNs583QD.js";import{a as nt,c as rt,d as it,i as at,l as ot,n as st,o as ct,r as lt,s as ut,u as dt}from"./_chat-rr4Pa6Jr.js";var Z=e(t(),1),Q=n(),ft=`data:image/png;base64,`;function pt(e){if(!e.screenshot)return{status:`none`};try{let{dataUrl:t}=e.screenshot;if(!t.startsWith(ft))return{status:`failed`};let n=Xe(t,`preview-annotation-${e.id}.png`,`image/png`);return n.size>0?{status:`captured`,file:n}:{status:`failed`}}catch{return{status:`failed`}}}var $=e(r(),1),mt=()=>{};function ht(e){let t=(0,Q.c)(79),{url:n,loading:r,canGoBack:i,canGoForward:o,refreshDisabled:s,inputDisabled:l,focusUrlNonce:u,onBack:d,onForward:f,onRefresh:p,onSubmit:m,onOpenInBrowser:h,onCapture:g,captureDisabled:_,recording:v,onSeparateWindow:y,separateWindow:b,separateWindowDisabled:x,onPickElement:S,pickActive:C,pickDisabled:E,pickDisabledReason:O,trailingActions:k,leadingActions:te}=e,j=(0,Z.useRef)(null),[N,P]=(0,Z.useState)(n),[ne,re]=(0,Z.useState)(!1),F,I;t[0]===u?(F=t[1],I=t[2]):(F=()=>{if(u==null)return;let e=j.current;e&&e.focus()},I=[u],t[0]=u,t[1]=F,t[2]=I),(0,Z.useEffect)(F,I);let L;t[3]!==N||t[4]!==m?(L=e=>{e?.preventDefault();let t=N.trim();t.length!==0&&(m(t),j.current?.blur())},t[3]=N,t[4]=m,t[5]=L):L=t[5];let R=L,z=i?d:mt,B=!i,ie;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(ie=(0,$.jsx)(D,{}),t[6]=ie):ie=t[6];let V;t[7]!==z||t[8]!==B?(V=(0,$.jsx)(w,{variant:`ghost`,size:`icon-xs`,onClick:z,disabled:B,"aria-label":`Back`,type:`button`,children:ie}),t[7]=z,t[8]=B,t[9]=V):V=t[9];let H=o?f:mt,ae=!o,oe;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,$.jsx)(A,{}),t[10]=oe):oe=t[10];let U;t[11]!==H||t[12]!==ae?(U=(0,$.jsx)(w,{variant:`ghost`,size:`icon-xs`,onClick:H,disabled:ae,"aria-label":`Forward`,type:`button`,children:oe}),t[11]=H,t[12]=ae,t[13]=U):U=t[13];let W;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(W=(0,$.jsx)(`span`,{"aria-hidden":!0,className:`mx-0.5 h-4 w-px bg-border`}),t[14]=W):W=t[14];let se=s?mt:p,ce=r?`Stop`:`Refresh`,G;t[15]!==s||t[16]!==se||t[17]!==ce?(G=(0,$.jsx)(w,{variant:`ghost`,size:`icon-xs`,onClick:se,disabled:s,"aria-label":ce,type:`button`}),t[15]=s,t[16]=se,t[17]=ce,t[18]=G):G=t[18];let le;t[19]===r?le=t[20]:(le=(0,$.jsx)(J,{refreshing:r}),t[19]=r,t[20]=le);let ue;t[21]!==G||t[22]!==le?(ue=(0,$.jsx)(pe,{render:G,children:le}),t[21]=G,t[22]=le,t[23]=ue):ue=t[23];let de=r?`Loading…`:`Refresh`,K;t[24]===de?K=t[25]:(K=(0,$.jsx)(me,{children:de}),t[24]=de,t[25]=K);let q;t[26]!==ue||t[27]!==K?(q=(0,$.jsxs)(he,{children:[ue,K]}),t[26]=ue,t[27]=K,t[28]=q):q=t[28];let fe;t[29]!==U||t[30]!==q||t[31]!==V?(fe=(0,$.jsxs)(`div`,{className:`surface-glass flex h-8 shrink-0 items-center gap-0.5 rounded-full border border-border/60 px-1 shadow-sm [&_button]:rounded-full`,role:`group`,"aria-label":`Navigation`,children:[V,U,W,q]}),t[29]=U,t[30]=q,t[31]=V,t[32]=fe):fe=t[32];let ge=ne?N:n,_e;t[33]===Symbol.for(`react.memo_cache_sentinel`)?(_e=e=>P(e.target.value),t[33]=_e):_e=t[33];let ve;t[34]===n?ve=t[35]:(ve=()=>{P(n),re(!0),queueMicrotask(()=>j.current?.select())},t[34]=n,t[35]=ve);let ye;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(ye=()=>{re(!1)},t[36]=ye):ye=t[36];let be;t[37]!==R||t[38]!==n?(be=e=>{e.key===`Enter`&&R(e),e.key===`Escape`&&(e.preventDefault(),P(n),j.current?.blur())},t[37]=R,t[38]=n,t[39]=be):be=t[39];let xe;t[40]!==l||t[41]!==ge||t[42]!==ve||t[43]!==be?(xe=(0,$.jsx)(`input`,{ref:j,value:ge,onChange:_e,onFocus:ve,onBlur:ye,onKeyDown:be,"aria-label":`Address`,placeholder:`Search or enter URL`,spellCheck:!1,disabled:l,"data-preview-url-input":!0,className:`w-full min-w-0 truncate bg-transparent text-center text-sm text-foreground outline-none placeholder:text-muted-foreground focus:text-left`}),t[40]=l,t[41]=ge,t[42]=ve,t[43]=be,t[44]=xe):xe=t[44];let Se;t[45]!==ne||t[46]!==h?(Se=h&&!ne?(0,$.jsx)(`span`,{className:`pointer-events-none absolute right-1 flex opacity-0 transition-opacity focus-within:pointer-events-auto focus-within:opacity-100 group-hover/address:pointer-events-auto group-hover/address:opacity-100 [&_button]:rounded-full`,children:(0,$.jsxs)(he,{children:[(0,$.jsx)(pe,{render:(0,$.jsx)(w,{variant:`ghost`,size:`icon-xs`,onClick:h,"aria-label":`Open in system browser`,type:`button`}),children:(0,$.jsx)(ee,{})}),(0,$.jsx)(me,{children:`Open in system browser`})]})}):null,t[45]=ne,t[46]=h,t[47]=Se):Se=t[47];let Ce;t[48]!==xe||t[49]!==Se?(Ce=(0,$.jsxs)(`div`,{className:`surface-glass group/address relative flex h-8 min-w-0 flex-1 items-center rounded-full border border-border/60 px-8 shadow-sm transition-colors focus-within:border-ring has-disabled:opacity-64`,children:[xe,Se]}),t[48]=xe,t[49]=Se,t[50]=Ce):Ce=t[50];let we;t[51]!==S||t[52]!==C||t[53]!==E||t[54]!==O?(we=S?(0,$.jsxs)(he,{children:[(0,$.jsx)(pe,{render:(0,$.jsx)(w,{variant:`glass`,size:`icon`,onClick:S,disabled:E,"aria-label":C?`Cancel annotation`:`Annotate preview`,"aria-pressed":C?`true`:`false`,type:`button`}),children:(0,$.jsx)(a,{className:M(C&&`text-primary`)})}),(0,$.jsx)(me,{children:E&&O?O:C?`Cancel annotation (Esc)`:`Annotate elements, regions, and drawings`})]}):null,t[51]=S,t[52]=C,t[53]=E,t[54]=O,t[55]=we):we=t[55];let Te;t[56]!==_||t[57]!==g||t[58]!==v?(Te=g?(0,$.jsxs)(he,{children:[(0,$.jsxs)(pe,{render:(0,$.jsx)(w,{variant:`glass`,size:`icon`,onClick:e=>g(e.shiftKey),"aria-label":v?`Stop recording`:`Capture screenshot`,type:`button`,className:`relative`,disabled:_}),children:[(0,$.jsx)(c,{className:M(v&&`text-destructive`)}),v?(0,$.jsx)(`span`,{className:`absolute right-0.5 top-0.5 size-1.5 animate-status-pulse rounded-full bg-destructive`}):null]}),(0,$.jsx)(me,{children:v?`Stop recording`:`Screenshot · Shift-click to record`})]}):null,t[56]=_,t[57]=g,t[58]=v,t[59]=Te):Te=t[59];let Ee;t[60]!==y||t[61]!==b||t[62]!==x?(Ee=y?(0,$.jsxs)(he,{children:[(0,$.jsx)(pe,{render:(0,$.jsx)(w,{variant:`glass`,size:`icon`,onClick:y,"aria-label":b?`Bring preview back from its window`:`Open preview in a window`,"aria-pressed":b?`true`:`false`,type:`button`,disabled:x}),children:(0,$.jsx)(T,{className:M(b&&`text-primary`)})}),(0,$.jsx)(me,{children:b?`Bring back`:`Open in separate window`})]}):null,t[60]=y,t[61]=b,t[62]=x,t[63]=Ee):Ee=t[63];let De;t[64]!==te||t[65]!==R||t[66]!==fe||t[67]!==Ce||t[68]!==we||t[69]!==Te||t[70]!==Ee||t[71]!==k?(De=(0,$.jsxs)(`form`,{onSubmit:R,className:`flex h-12 min-h-12 shrink-0 items-center gap-2 border-b border-border/60 bg-background px-2.5 in-data-[preview-panel-mode=inline]:border-b-transparent`,"data-surface-subheader":!0,children:[fe,te,Ce,we,Te,Ee,k]}),t[64]=te,t[65]=R,t[66]=fe,t[67]=Ce,t[68]=we,t[69]=Te,t[70]=Ee,t[71]=k,t[72]=De):De=t[72];let Oe;t[73]===Symbol.for(`react.memo_cache_sentinel`)?(Oe={boxShadow:`0 0 6px 1px var(--color-ring)`},t[73]=Oe):Oe=t[73];let ke;t[74]===r?ke=t[75]:(ke=(0,$.jsx)(`div`,{"aria-hidden":!0,"data-loading":r,className:`preview-loading-progress pointer-events-none absolute bottom-0 left-0 z-10 h-0.5 w-full origin-left rounded-r-full bg-primary`,style:Oe}),t[74]=r,t[75]=ke);let Ae;return t[76]!==De||t[77]!==ke?(Ae=(0,$.jsxs)(`div`,{className:`relative`,children:[De,ke]}),t[76]=De,t[77]=ke,t[78]=Ae):Ae=t[78],Ae}function gt(e){let t=(0,Q.c)(10),{threadRef:n,server:r,onOpen:i}=e,a;t[0]===r?a=t[1]:(a=_t(r),t[0]=r,t[1]=a);let o=a,s;t[2]!==r.requestedUrl||t[3]!==n?(s=(0,$.jsx)(K,{threadRef:n,url:r.requestedUrl}),t[2]=r.requestedUrl,t[3]=n,t[4]=s):s=t[4];let c=`${r.host}:${r.port}`,l;return t[5]!==i||t[6]!==o||t[7]!==s||t[8]!==c?(l=(0,$.jsx)(be,{onClick:i,icon:s,title:o,description:c}),t[5]=i,t[6]=o,t[7]=s,t[8]=c,t[9]=l):l=t[9],l}function _t(e){return e.processName?e.processName:`Listening`}function vt(e){let t=(0,Q.c)(26),{threadRef:n,entry:r,onOpen:i,onRemove:a}=e,o;t[0]===r.url?o=t[1]:(o=new URL(r.url),t[0]=r.url,t[1]=o);let s=o,c=s.pathname===`/`?``:s.pathname,l=`${s.host}${c}${s.search}${s.hash}`,u;t[2]===r.lastVisitedAt?u=t[3]:(u=je(r.lastVisitedAt)?fe(new Date(r.lastVisitedAt).toISOString()):``,t[2]=r.lastVisitedAt,t[3]=u);let d=u;Ve();let f;t[4]!==r.url||t[5]!==n?(f=(0,$.jsx)(K,{threadRef:n,url:r.url}),t[4]=r.url,t[5]=n,t[6]=f):f=t[6];let p=r.title??l,m;t[7]===p?m=t[8]:(m=(0,$.jsx)(`span`,{className:`truncate text-sm font-medium text-foreground`,children:p}),t[7]=p,t[8]=m);let h=r.title?`${l} · `:``,g;t[9]!==h||t[10]!==d?(g=(0,$.jsxs)(`span`,{className:`truncate text-xs text-muted-foreground`,children:[h,d]}),t[9]=h,t[10]=d,t[11]=g):g=t[11];let _;t[12]!==m||t[13]!==g?(_=(0,$.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col`,children:[m,g]}),t[12]=m,t[13]=g,t[14]=_):_=t[14];let v;t[15]!==i||t[16]!==f||t[17]!==_?(v=(0,$.jsxs)(`button`,{type:`button`,onClick:i,className:`flex w-full items-center gap-3 px-3 py-3 pr-10 text-left hover:bg-accent/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring`,children:[f,_]}),t[15]=i,t[16]=f,t[17]=_,t[18]=v):v=t[18];let y=`Remove ${l} from history`,b;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,$.jsx)(O,{className:`size-3.5`}),t[19]=b):b=t[19];let x;t[20]!==a||t[21]!==y?(x=(0,$.jsx)(`button`,{type:`button`,"aria-label":y,onClick:a,className:`absolute right-3 rounded p-1 text-muted-foreground opacity-0 hover:bg-accent hover:text-foreground focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring group-hover:opacity-100`,children:b}),t[20]=a,t[21]=y,t[22]=x):x=t[22];let S;return t[23]!==x||t[24]!==v?(S=(0,$.jsxs)(`div`,{className:`group relative flex w-full items-center`,children:[v,x]}),t[23]=x,t[24]=v,t[25]=S):S=t[25],S}function yt(e){let t=(0,Q.c)(7),n=Ze(e.environmentId,e.configuredUrls),r;if(t[0]!==e.configuredUrls||t[1]!==e.environmentId||t[2]!==n.configuredUrlProbing||t[3]!==n.servers){let i;t[5]===e.environmentId?i=t[6]:(i=t=>({...t,url:ke(e.environmentId,t.url),requestedUrl:t.url}),t[5]=e.environmentId,t[6]=i),r=bt({scanner:n.servers.map(i),configuredUrls:e.configuredUrls??[],configuredUrlProbing:n.configuredUrlProbing}),t[0]=e.configuredUrls,t[1]=e.environmentId,t[2]=n.configuredUrlProbing,t[3]=n.servers,t[4]=r}else r=t[4];return r}function bt(e){let t=new Map;for(let n of e.configuredUrls){let e=St(n);if(!e)continue;let r=xt(e.host,e.port);t.has(r)||t.set(r,e)}let n=[];for(let r of e.scanner){let i=xt(r.host,r.port),a=t.get(i);n.push({...r,requestedUrl:a&&e.configuredUrlProbing===!1?a.url:r.requestedUrl,source:a?`configured`:`scanner`})}return n.toSorted((e,t)=>{let n={configured:0,scanner:1};return n[e.source]===n[t.source]?e.port-t.port:n[e.source]-n[t.source]})}function xt(e,t){let n=e.toLowerCase();return`${Be(n)?`loopback`:n}:${t}`}function St(e){try{let t=new URL(e);if(t.protocol!==`http:`&&t.protocol!==`https:`||!Be(t.hostname))return null;let n=t.port?Number.parseInt(t.port,10):t.protocol===`http:`?80:443;return!Number.isFinite(n)||n<=0?null:{host:t.hostname,port:n,url:t.href}}catch{return null}}function Ct(e){let t=(0,Q.c)(24),{threadRef:n,environmentId:r,configuredUrls:i,recentEntries:a,onRemoveRecent:o,onOpenUrl:s}=e,c;t[0]!==i||t[1]!==r?(c={environmentId:r,configuredUrls:i},t[0]=i,t[1]=r,t[2]=c):c=t[2];let l=yt(c),u,d,f,m;if(t[3]!==s||t[4]!==o||t[5]!==a||t[6]!==l.length||t[7]!==n){m=Symbol.for(`react.early_return_sentinel`);bb0:{let e=a.filter(wt).slice(0,8);if(l.length===0&&e.length===0){let e;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,$.jsxs)(ye,{children:[(0,$.jsx)(ge,{variant:`icon`,children:(0,$.jsx)(F,{className:`size-4.5 text-muted-foreground`})}),(0,$.jsx)(_e,{children:`No preview yet`}),(0,$.jsx)(ve,{children:`Type a URL above, or run a dev script. Browser-ready localhost servers will show up here automatically.`})]}),t[12]=e):e=t[12],m=e;break bb0}f=`scrollbar-gutter-both flex h-full min-h-0 overflow-y-auto px-5 py-8`,u=`mx-auto flex w-full max-w-xl flex-col gap-6`,d=e.length>0?(0,$.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,$.jsxs)(`div`,{className:`flex items-center gap-2 text-sm text-muted-foreground`,children:[(0,$.jsx)(p,{className:`size-4 shrink-0`}),(0,$.jsx)(`h2`,{className:`font-medium`,children:`Recently used`})]}),(0,$.jsx)(xe,{children:e.map(e=>(0,$.jsx)(vt,{threadRef:n,entry:e,onOpen:()=>s(e.url),onRemove:()=>o(e.url)},e.url))})]}):null}t[3]=s,t[4]=o,t[5]=a,t[6]=l.length,t[7]=n,t[8]=u,t[9]=d,t[10]=f,t[11]=m}else u=t[8],d=t[9],f=t[10],m=t[11];if(m!==Symbol.for(`react.early_return_sentinel`))return m;let h;t[13]!==s||t[14]!==l||t[15]!==n?(h=l.length>0?(0,$.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,$.jsxs)(`div`,{className:`flex items-center gap-2 text-sm text-muted-foreground`,children:[(0,$.jsx)(k,{className:`size-4 shrink-0`}),(0,$.jsx)(`h2`,{className:`font-medium`,children:`Local servers`})]}),(0,$.jsx)(xe,{children:l.map(e=>(0,$.jsx)(gt,{threadRef:n,server:e,onOpen:()=>s(e.requestedUrl)},`${e.host}:${e.port}`))}),(0,$.jsx)(`p`,{className:`px-1 text-xs text-muted-foreground`,children:`Select a live local server to open it in this browser tab.`})]}):null,t[13]=s,t[14]=l,t[15]=n,t[16]=h):h=t[16];let g;t[17]!==u||t[18]!==d||t[19]!==h?(g=(0,$.jsxs)(`div`,{className:u,children:[d,h]}),t[17]=u,t[18]=d,t[19]=h,t[20]=g):g=t[20];let _;return t[21]!==f||t[22]!==g?(_=(0,$.jsx)(`div`,{className:f,children:g}),t[21]=f,t[22]=g,t[23]=_):_=t[23],_}function wt(e){return URL.canParse(e.url)}var Tt=[{value:`system`,label:`System`},{value:`light`,label:`Light`},{value:`dark`,label:`Dark`}],Et=()=>{let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,$.jsxs)(he,{children:[(0,$.jsx)(pe,{render:(0,$.jsx)(x,{render:(0,$.jsx)(w,{variant:`glass`,size:`icon`,type:`button`,"aria-label":`Preview menu`})}),children:(0,$.jsx)(s,{})}),(0,$.jsx)(me,{children:`More`})]}),e[0]=t):t=e[0],t};function Dt(e){let t=(0,Q.c)(69),{enabled:n,actions:r,zoomFactor:a,colorScheme:o,deviceToolbarVisible:s,onToggleDeviceToolbar:c,profileName:l,move:u}=e,d;t[0]===a?d=t[1]:(d=Math.round(a*100),t[0]=a,t[1]=d);let f=`${d}%`,p=!n,m;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,$.jsx)(Et,{}),t[2]=m):m=t[2];let _;t[3]!==r.hardReload||t[4]!==p?(_=(0,$.jsx)(N,{onClick:r.hardReload,disabled:p,children:`Hard reload`}),t[3]=r.hardReload,t[4]=p,t[5]=_):_=t[5];let v;t[6]!==r.openDevTools||t[7]!==p?(v=r.openDevTools?(0,$.jsx)(N,{onClick:r.openDevTools,disabled:p,children:`Open DevTools`}):null,t[6]=r.openDevTools,t[7]=p,t[8]=v):v=t[8];let x;t[9]===u?x=t[10]:(x=u?(0,$.jsx)(N,{onClick:u.onMove,children:u.label}):null,t[9]=u,t[10]=x);let T=s?`Hide device toolbar`:`Show device toolbar`,D;t[11]!==p||t[12]!==c||t[13]!==T?(D=(0,$.jsx)(N,{onClick:c,disabled:p,children:T}),t[11]=p,t[12]=c,t[13]=T,t[14]=D):D=t[14];let O;t[15]===p?O=t[16]:(O=(0,$.jsx)(y,{disabled:p,children:`Appearance`}),t[15]=p,t[16]=O);let ee;t[17]===r?ee=t[18]:(ee=e=>r.setColorScheme(e),t[17]=r,t[18]=ee);let k;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(k=Tt.map(kt),t[19]=k):k=t[19];let A;t[20]!==o||t[21]!==ee?(A=(0,$.jsx)(P,{children:(0,$.jsx)(S,{value:o,onValueChange:ee,children:k})}),t[20]=o,t[21]=ee,t[22]=A):A=t[22];let M;t[23]!==A||t[24]!==O?(M=(0,$.jsxs)(C,{children:[O,A]}),t[23]=A,t[24]=O,t[25]=M):M=t[25];let re;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(re=(0,$.jsx)(j,{}),t[26]=re):re=t[26];let F;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,$.jsx)(`span`,{children:`Zoom`}),t[27]=F):F=t[27];let I;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,$.jsx)(ne,{}),t[28]=I):I=t[28];let L;t[29]!==r.zoomOut||t[30]!==p?(L=(0,$.jsx)(w,{variant:`outline`,size:`icon-xs`,type:`button`,onClick:r.zoomOut,"aria-label":`Zoom out`,disabled:p,children:I}),t[29]=r.zoomOut,t[30]=p,t[31]=L):L=t[31];let R;t[32]===f?R=t[33]:(R=(0,$.jsx)(`span`,{className:`min-w-12 text-center text-xs tabular-nums text-muted-foreground`,children:f}),t[32]=f,t[33]=R);let z;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,$.jsx)(h,{}),t[34]=z):z=t[34];let B;t[35]!==r.zoomIn||t[36]!==p?(B=(0,$.jsx)(w,{variant:`outline`,size:`icon-xs`,type:`button`,onClick:r.zoomIn,"aria-label":`Zoom in`,disabled:p,children:z}),t[35]=r.zoomIn,t[36]=p,t[37]=B):B=t[37];let ie;t[38]===Symbol.for(`react.memo_cache_sentinel`)?(ie=(0,$.jsx)(E,{}),t[38]=ie):ie=t[38];let V;t[39]!==r.resetZoom||t[40]!==p?(V=(0,$.jsx)(w,{variant:`ghost`,size:`icon-xs`,type:`button`,onClick:r.resetZoom,"aria-label":`Reset zoom`,disabled:p,children:ie}),t[39]=r.resetZoom,t[40]=p,t[41]=V):V=t[41];let H;t[42]!==L||t[43]!==R||t[44]!==B||t[45]!==V?(H=(0,$.jsxs)(`span`,{className:`flex items-center gap-1`,children:[L,R,B,V]}),t[42]=L,t[43]=R,t[44]=B,t[45]=V,t[46]=H):H=t[46];let ae;t[47]!==p||t[48]!==H?(ae=(0,$.jsxs)(N,{closeOnClick:!1,onClick:Ot,className:`justify-between`,disabled:p,children:[F,H]}),t[47]=p,t[48]=H,t[49]=ae):ae=t[49];let oe;t[50]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,$.jsx)(j,{}),t[50]=oe):oe=t[50];let U;t[51]===l?U=t[52]:(U=l?(0,$.jsx)(b,{className:`max-w-64`,children:(0,$.jsxs)(`span`,{className:`block truncate`,children:[`Profile: `,l]})}):null,t[51]=l,t[52]=U);let W;t[53]===r.clearCookies?W=t[54]:(W=(0,$.jsx)(N,{onClick:r.clearCookies,children:`Clear cookies`}),t[53]=r.clearCookies,t[54]=W);let se;t[55]===r.clearCache?se=t[56]:(se=(0,$.jsx)(N,{onClick:r.clearCache,children:`Clear cache`}),t[55]=r.clearCache,t[56]=se);let ce;t[57]!==U||t[58]!==W||t[59]!==se?(ce=(0,$.jsxs)(i,{children:[U,W,se]}),t[57]=U,t[58]=W,t[59]=se,t[60]=ce):ce=t[60];let G;return t[61]!==M||t[62]!==ae||t[63]!==ce||t[64]!==_||t[65]!==v||t[66]!==x||t[67]!==D?(G=(0,$.jsxs)(g,{children:[m,(0,$.jsxs)(te,{align:`end`,sideOffset:6,children:[_,v,x,D,M,re,ae,oe,ce]})]}),t[61]=M,t[62]=ae,t[63]=ce,t[64]=_,t[65]=v,t[66]=x,t[67]=D,t[68]=G):G=t[68],G}function Ot(e){return e.preventDefault()}function kt(e){return(0,$.jsx)(v,{value:e.value,children:e.label},e.value)}function At(e){return l[e]||(e.length>0?e:`Network error`)}function jt(e){let t=(0,Q.c)(21),{url:n,fileName:r,downloadUrl:i,onOpen:a}=e,o;t[0]===n?o=t[1]:(o=Ft(n)??n,t[0]=n,t[1]=o);let s=o,c,l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,$.jsx)(Pt,{className:`mb-6 size-12 text-muted-foreground/70`}),l=(0,$.jsx)(`h1`,{className:`mb-3 text-2xl font-semibold leading-tight text-foreground`,children:`This file can’t be shown here`}),t[2]=c,t[3]=l):(c=t[2],l=t[3]);let u;t[4]===r?u=t[5]:(u=(0,$.jsx)(`span`,{className:`font-semibold text-foreground`,children:r}),t[4]=r,t[5]=u);let d;t[6]!==s||t[7]!==u?(d=(0,$.jsxs)(`p`,{className:`text-sm leading-relaxed text-muted-foreground`,children:[u,` from `,s,` was downloaded instead.`]}),t[6]=s,t[7]=u,t[8]=d):d=t[8];let f;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,$.jsx)(`div`,{className:`flex-1`}),t[9]=f):f=t[9];let p;t[10]===a?p=t[11]:(p=(0,$.jsx)(w,{type:`button`,variant:`outline`,size:`sm`,onClick:a,children:`Open in browser`}),t[10]=a,t[11]=p);let m;t[12]!==i||t[13]!==r?(m=i?(0,$.jsx)(w,{type:`button`,size:`sm`,render:(0,$.jsx)(`a`,{href:i,download:r}),children:`Download`}):null,t[12]=i,t[13]=r,t[14]=m):m=t[14];let h;t[15]!==p||t[16]!==m?(h=(0,$.jsxs)(`div`,{className:`mt-auto flex items-center gap-2 pt-8`,children:[f,p,m]}),t[15]=p,t[16]=m,t[17]=h):h=t[17];let g;return t[18]!==d||t[19]!==h?(g=(0,$.jsx)(`div`,{className:`scrollbar-gutter-both relative flex h-full min-h-0 w-full overflow-y-auto bg-background`,children:(0,$.jsxs)(`div`,{className:`mx-auto flex w-full max-w-xl flex-1 flex-col px-8 py-12 sm:py-16`,children:[c,l,d,h]})}),t[18]=d,t[19]=h,t[20]=g):g=t[20],g}function Mt(e){let t=(0,Q.c)(44),{url:n,code:r,description:i,onReload:a,move:o}=e,[s,c]=(0,Z.useState)(!1),l;t[0]===n?l=t[1]:(l=Ft(n)??n,t[0]=n,t[1]=l);let u=l,d;t[2]===i?d=t[3]:(d=At(i),t[2]=i,t[3]=d);let f=d,p;t[4]!==r||t[5]!==i?(p=i.length>0?i:`ERR_${Math.abs(r)||`FAILED`}`,t[4]=r,t[5]=i,t[6]=p):p=t[6];let m=p,h,g;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,$.jsx)(Pt,{className:`mb-6 size-12 text-muted-foreground/70`}),g=(0,$.jsx)(`h1`,{className:`mb-3 text-2xl font-semibold leading-tight text-foreground`,children:`This site can’t be reached`}),t[7]=h,t[8]=g):(h=t[7],g=t[8]);let _;t[9]===u?_=t[10]:(_=(0,$.jsx)(`span`,{className:`font-semibold text-foreground`,children:u}),t[9]=u,t[10]=_);let v;t[11]!==f||t[12]!==_?(v=(0,$.jsxs)(`p`,{className:`text-sm leading-relaxed text-muted-foreground`,children:[_,`: `,f,`.`]}),t[11]=f,t[12]=_,t[13]=v):v=t[13];let y;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,$.jsx)(`p`,{className:`mb-2 font-medium text-foreground`,children:`Try:`}),t[14]=y):y=t[14];let b,x;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,$.jsx)(`li`,{children:`Checking your connection`}),b=(0,$.jsx)(`li`,{children:`Confirming the dev server is running`}),t[15]=b,t[16]=x):(b=t[15],x=t[16]);let S;t[17]===o?S=t[18]:(S=o?(0,$.jsx)(`li`,{children:`Opening it in the environment’s browser, which reaches its network`}):null,t[17]=o,t[18]=S);let C;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,$.jsx)(`li`,{children:`Checking the proxy and the firewall`}),t[19]=C):C=t[19];let T;t[20]===S?T=t[21]:(T=(0,$.jsx)(Ke,{children:(0,$.jsxs)(`div`,{className:`mt-6 rounded-lg border border-border bg-muted/40 p-4 text-sm`,children:[y,(0,$.jsxs)(`ul`,{className:`list-disc space-y-1 pl-5 text-muted-foreground`,children:[x,b,S,C]})]})}),t[20]=S,t[21]=T);let E;t[22]!==s||t[23]!==T?(E=(0,$.jsx)(Y,{open:s,children:T}),t[22]=s,t[23]=T,t[24]=E):E=t[24];let D;t[25]===m?D=t[26]:(D=(0,$.jsx)(`div`,{className:`mt-8 text-xs uppercase tracking-wide text-muted-foreground/70`,children:m}),t[25]=m,t[26]=D);let O;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(O=()=>c(Nt),t[27]=O):O=t[27];let ee=s?`Hide details`:`Details`,k;t[28]===ee?k=t[29]:(k=(0,$.jsx)(w,{type:`button`,variant:`outline`,size:`sm`,onClick:O,children:ee}),t[28]=ee,t[29]=k);let te;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(te=(0,$.jsx)(`div`,{className:`flex-1`}),t[30]=te):te=t[30];let A;t[31]===o?A=t[32]:(A=o?(0,$.jsx)(w,{type:`button`,variant:`outline`,size:`sm`,onClick:o.onMove,children:o.label}):null,t[31]=o,t[32]=A);let j;t[33]===a?j=t[34]:(j=(0,$.jsx)(w,{type:`button`,size:`sm`,onClick:a,children:`Reload`}),t[33]=a,t[34]=j);let M;t[35]!==k||t[36]!==A||t[37]!==j?(M=(0,$.jsxs)(`div`,{className:`mt-auto flex items-center gap-2 pt-8`,children:[k,te,A,j]}),t[35]=k,t[36]=A,t[37]=j,t[38]=M):M=t[38];let N;return t[39]!==E||t[40]!==D||t[41]!==M||t[42]!==v?(N=(0,$.jsx)(`div`,{className:`scrollbar-gutter-both relative flex h-full min-h-0 w-full overflow-y-auto bg-background`,children:(0,$.jsxs)(`div`,{className:`mx-auto flex w-full max-w-xl flex-1 flex-col px-8 py-12 sm:py-16`,children:[h,g,v,E,D,M]})}),t[39]=E,t[40]=D,t[41]=M,t[42]=v,t[43]=N):N=t[43],N}function Nt(e){return!e}function Pt(e){let t=(0,Q.c)(5),{className:n}=e,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,$.jsx)(`path`,{d:`M16 12 L48 12 L48 52 L16 52 Z`}),i=(0,$.jsx)(`path`,{d:`M22 22 L42 22 M22 30 L36 30 M22 38 L40 38`,strokeLinecap:`round`}),a=(0,$.jsx)(`path`,{d:`M52 8 L12 56`,strokeLinecap:`round`}),t[0]=r,t[1]=i,t[2]=a):(r=t[0],i=t[1],a=t[2]);let o;return t[3]===n?o=t[4]:(o=(0,$.jsxs)(`svg`,{viewBox:`0 0 64 64`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,className:n,children:[r,i,a]}),t[3]=n,t[4]=o),o}function Ft(e){try{return new URL(e).host}catch{return null}}var It=1500,Lt=.001;function Rt(e){let t=(0,Q.c)(11),{zoomFactor:n}=e,[r,i]=(0,Z.useState)(!1),a=(0,Z.useRef)(n),o=(0,Z.useRef)(null),s,c;t[0]===n?(s=t[1],c=t[2]):(s=()=>{if(!(Math.abs(a.current-n)<Lt))return a.current=n,i(!0),o.current!==null&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{i(!1),o.current=null},It),()=>{o.current!==null&&(window.clearTimeout(o.current),o.current=null)}},c=[n],t[0]=n,t[1]=s,t[2]=c),(0,Z.useEffect)(s,c);let l;t[3]===n?l=t[4]:(l=Math.round(n*100),t[3]=n,t[4]=l);let u=`${l}%`,d=!r,f=r?`opacity-100 translate-y-0`:`opacity-0 -translate-y-1`,p;t[5]===f?p=t[6]:(p=M(`pointer-events-none absolute top-3 right-3 z-20 select-none rounded-full border border-border/70 bg-popover/95 px-2.5 py-1 text-xs font-medium text-foreground shadow-md/10 backdrop-blur transition-all duration-200 ease-out`,f),t[5]=f,t[6]=p);let m;return t[7]!==u||t[8]!==d||t[9]!==p?(m=(0,$.jsx)(`div`,{"aria-hidden":d,className:p,children:u}),t[7]=u,t[8]=d,t[9]=p,t[10]=m):m=t[10],m}function zt(e,t){return e.find(e=>e.id===t)?.name??`Removed profile`}var Bt=typeof window>`u`?null:W();function Vt(e){let t=(0,Q.c)(12),n=dt(e.threadRef.environmentId),r;t[0]!==n||t[1]!==e.download.id||t[2]!==e.tabId||t[3]!==e.threadRef.threadId?(r=n?it({access:n,threadId:e.threadRef.threadId,tabId:e.tabId},e.download.id):null,t[0]=n,t[1]=e.download.id,t[2]=e.tabId,t[3]=e.threadRef.threadId,t[4]=r):r=t[4];let i;t[5]===e.url?i=t[6]:(i=()=>void Bt?.shell.openExternal(e.url).catch(Ht),t[5]=e.url,t[6]=i);let a;return t[7]!==e.download.fileName||t[8]!==e.url||t[9]!==r||t[10]!==i?(a=(0,$.jsx)(jt,{url:e.url,fileName:e.download.fileName,downloadUrl:r,onOpen:i}),t[7]=e.download.fileName,t[8]=e.url,t[9]=r,t[10]=i,t[11]=a):a=t[11],a}function Ht(){}function Ut({threadRef:e,tabId:t,configuredUrls:n,visible:r,onSendAnnotation:i}){let[a,s]=(0,Z.useState)(void 0),[c,l]=(0,Z.useState)(!1),p=ce(e.environmentId,`orchestration:operate`)&&!!i,h=We(),g=(0,Z.useRef)(null),v=(0,Z.useRef)(!0),y=(0,Z.useRef)(e);y.current=e;let b=f(e),x=we(e,50),S=o(e=>e.addPreviewAnnotation),C=o(e=>e.addImage),T=ae(e.environmentId),E=T?new URL(T).hostname:null,D=le(Fe.open),O=le(Fe.close,`preview close`),ee=oe(e.environmentId)?.label??`the environment`,k=U(),te=ie(e.environmentId),A=le(Fe.resize,`preview viewport resize`),j=le(Fe.adjust,`preview appearance or zoom`);st(e),(0,Z.useEffect)(()=>(v.current=!0,()=>{v.current=!1}),[]);let N=t??b.activeTabId,P=N?qe(e,b.serverEpoch,N):null,ne=N&&P?h.has(P)?P:Je(e,N):null,F=N?b.sessions[N]??null:null,R=Ce(e.environmentId,F),W=F?.runtime===`server`&&!R,K=F?.runtime===`server`,q=(0,Z.useRef)(null),[fe,ge]=(0,Z.useState)(!1),_e=(0,Z.useRef)(null),[ve,ye]=(0,Z.useState)(0),be=F?.runtime===`server`&&(F.viewport??I)._tag!==`fill`;(0,Z.useEffect)(()=>{let e=_e.current;if(e&&be)return Se(e,([e])=>ye(Math.max(1,Math.round(e?.contentRect.width??0))))},[be]);let[xe,je]=(0,Z.useState)(null),Ne=W&&xe!==P,[Be,Ve]=(0,Z.useState)(null),J=N&&!W?b.desktopByTabId[N]??null:null,Y=F?.navStatus??{_tag:`Idle`},Ke=Y._tag===`Idle`?``:Y.url,Xe=J?.loading??Y._tag===`Loading`,Ze=J?.canGoBack??F?.canGoBack??!1,it=J?.canGoForward??F?.canGoForward??!1,dt=Y._tag===`Idle`,Q=Y._tag===`LoadFailed`,ft=ct(F),mt=W&&!ft&&!Q&&Be!==P,gt=J?.controller??`none`,_t=F?.viewport??I,vt=Ee(),yt=F?.profileId??`default`,bt=zt(vt.profiles,yt),xt=Ye(e=>P?e.byTabId[P]?.rect??null:null),St=Y._tag===`Success`?Y.url:null,wt=Y._tag===`Success`?Y.title:null,Tt=x[0]?.url,Et=_(e);(0,Z.useEffect)(()=>{St&&wt&&Tt&&De(y.current,St,wt,E)},[E,Tt,wt,St,Et]);let Ot=(0,Z.useCallback)(async t=>{if(W&&q.current)return!Ne&&(q.current.navigate(t),u(e,t),!0);if(P&&X)return await X.navigate(P,t),u(e,t),!0;let n=await tt({openPreview:D,threadRef:e,url:t});if(n._tag===`Failure`&&!B(n)){let e=z(n);e instanceof Pe&&H.add({type:`error`,title:`Unable to open browser`,description:e.message})}return n._tag===`Success`},[W,D,P,Ne,e]),kt=(0,Z.useCallback)(async t=>{try{let n=Ie(t,ze(se()));await Ot(n)&&Oe(e,n)}catch(e){H.add({type:`error`,title:`Could not open this address`,description:Re(e)?`Enter an http or https URL.`:e instanceof Error?e.message:`An error occurred.`})}},[Ot,e]),At=(0,Z.useCallback)(async t=>{try{let n=W||!X?Le(t):ke(e.environmentId,t);await Ot(n)&&Oe(e,t)}catch(e){H.add({type:`error`,title:`Could not open this address`,description:Re(e)?`Enter an http or https URL.`:e instanceof Error?e.message:`An error occurred.`})}},[W,Ot,e]),jt=(0,Z.useCallback)(()=>{W?q.current?.reload():X&&P&&X.refresh(P)},[W,P]),Nt=(0,Z.useCallback)(async t=>{if(!N)return;let n=await j({environmentId:e.environmentId,input:{threadId:e.threadId,tabId:N,...t}});if(n._tag===`Failure`){let e=z(n);H.add({type:`error`,title:`Unable to change the browser tab`,description:e instanceof Error?e.message:`An error occurred.`})}else re(e,n.value)},[j,N,e]),Pt=F?.zoomFactor??1,Ft=(0,Z.useCallback)(e=>{let t=L.indexOf(Pt),n=e===0?1:L[Math.min(Math.max((t<0?7:t)+e,0),L.length-1)];n!==Pt&&Nt({zoomFactor:n})},[Nt,Pt]),It=(0,Z.useCallback)(()=>{K?Ft(1):X&&P&&X.zoomIn(P)},[P,K,Ft]),Lt=(0,Z.useCallback)(()=>{K?Ft(-1):X&&P&&X.zoomOut(P)},[P,K,Ft]),Ht=(0,Z.useCallback)(()=>{K?Ft(0):X&&P&&X.resetZoom(P)},[P,K,Ft]),Ut=(0,Z.useCallback)(async t=>{if(!N)return;let n=await A({environmentId:e.environmentId,input:{threadId:e.threadId,tabId:N,viewport:t}});if(n._tag===`Failure`){let e=z(n);throw H.add({type:`error`,title:`Unable to resize browser viewport`,description:e instanceof Error?e.message:`An error occurred.`}),e}re(e,n.value)},[A,N,e]),Wt=()=>{P&&(_t._tag===`fill`?Qe(P,Me({defaults:vt,panelRect:xt,zoomFactor:K?Pt:J?.zoomFactor})).catch(()=>void 0):Qe(P,I).catch(()=>void 0))};(0,Z.useEffect)(()=>{if(P)return et(P,Ut)},[Ut,P]);let Gt=(0,Z.useCallback)(()=>{W?q.current?.history(-1):X&&P&&X.goBack(P)},[W,P]),Kt=(0,Z.useCallback)(()=>{W?q.current?.history(1):X&&P&&X.goForward(P)},[W,P]),qt=(0,Z.useCallback)(()=>{Bt&&Ke&&Bt.shell.openExternal(Ke).catch(()=>void 0)},[Ke]),Jt=Te(e.environmentId,k,te,F),Yt=Jt===`server`?`Open in ${ee}'s browser`:`Open on this computer`,Xt=(0,Z.useCallback)(async()=>{if(!Jt||!N||!F)return;let t=await tt({openPreview:D,threadRef:e,...Ke?{url:Jt===`desktop`?ke(e.environmentId,Ke):Ke}:{},viewport:_t,...F.profileId===void 0?{}:{profileId:F.profileId},runtime:Jt});if(t._tag===`Failure`){if(B(t))return;let e=z(t);H.add({type:`error`,title:`Unable to move the browser tab`,description:e instanceof Error?e.message:`An error occurred.`})}else ue.getState().openBrowser(e,t.value.tabId),await rt({closePreview:O,snapshot:F,tabId:N,threadRef:e})},[O,Jt,D,F,N,e,Ke,_t]),Zt=e=>()=>{e&&P&&e(P).catch(()=>void 0)},Qt=K?{hardReload:()=>void Nt({hardReload:!0}),setColorScheme:e=>void Nt({colorScheme:e}),zoomIn:It,zoomOut:Lt,resetZoom:Ht,clearCookies:()=>void Nt({clear:`cookies`}),clearCache:()=>void Nt({clear:`cache`}),...R&&X?{openDevTools:Zt(X.openDevTools)}:{}}:X?{hardReload:Zt(X.hardReload),setColorScheme:e=>{P&&X?.setColorScheme(P,e).catch(()=>void 0)},zoomIn:It,zoomOut:Lt,resetZoom:Ht,clearCookies:()=>void X?.clearCookies(e.environmentId,yt).catch(()=>void 0),clearCache:()=>void X?.clearCache(e.environmentId,yt).catch(()=>void 0),openDevTools:Zt(X.openDevTools)}:null,$t=(0,Z.useCallback)(()=>{X&&P&&(J?.pictureInPicture?X.pictureInPicture.close:X.pictureInPicture.open)(P).catch(e=>{H.add({type:`error`,title:`Unable to update popped-out preview`,description:e instanceof Error?e.message:`An error occurred.`})})},[J?.pictureInPicture,P]),en=(0,Z.useCallback)(t=>{if(!X||!P||!N)return;let n=X;ne?$e(ne).then(e=>{if(!e)return;let t=!1,r,i=()=>{navigator.clipboard?.writeText?navigator.clipboard.writeText(e.path).then(()=>{t=!0,o(),window.setTimeout(()=>{t=!1,o()},2e3)},e=>{H.update(r,de({type:`error`,title:`Unable to copy recording path`,description:e instanceof Error?e.message:`An error occurred.`,actionProps:a}))}):H.update(r,de({type:`error`,title:`Unable to copy recording path`,description:`Clipboard API unavailable.`,actionProps:a}))},a={children:V(navigator.platform),onClick:()=>void n.revealArtifact(e.path)},o=()=>{H.update(r,de({type:`success`,title:`Recording saved`,actionProps:a,data:{secondaryActionProps:{children:t?`Copied!`:`Copy path`,disabled:t,onClick:i}}}))};r=H.add(de({type:`success`,title:`Recording saved`,actionProps:a,data:{secondaryActionProps:{children:`Copy path`,onClick:i}}}))},e=>{H.add({type:`error`,title:`Unable to stop recording`,description:e instanceof Error?e.message:`An error occurred.`})}):t?Ge(P,e,N).catch(e=>{let t=e instanceof Error?e.message:`An error occurred.`;Ue(e)||H.add({type:`error`,title:`Unable to start recording`,description:t})}):n.captureScreenshot(P).then(e=>{let t={children:V(navigator.platform),onClick:()=>void n.revealArtifact(e.path)},r=!1,i=!1,a,o=(e=`success`,n=`Screenshot saved`,o)=>{H.update(a,de({type:e,title:n,description:o,actionProps:{children:i?`Copied!`:`Copy image`,disabled:i,onClick:c},data:{additionalActions:[{id:`copy-path`,props:{children:r?`Copied!`:`Copy path`,disabled:r,onClick:s}}],secondaryActionProps:{...t}}}))},s=()=>{navigator.clipboard?.writeText?navigator.clipboard.writeText(e.path).then(()=>{r=!0,o(),window.setTimeout(()=>{r=!1,o()},2e3)},e=>{o(`error`,`Unable to copy screenshot path`,e instanceof Error?e.message:`An error occurred.`)}):o(`error`,`Unable to copy screenshot path`,`Clipboard API unavailable.`)},c=()=>{n.copyArtifactToClipboard(e.path).then(()=>{i=!0,o(),window.setTimeout(()=>{i=!1,o()},2e3)},e=>{o(`error`,`Unable to copy screenshot`,e instanceof Error?e.message:`An error occurred.`)})};a=H.add(de({type:`success`,title:`Screenshot saved`,actionProps:{children:`Copy image`,onClick:c},data:{additionalActions:[{id:`copy-path`,props:{children:`Copy path`,onClick:s}}],secondaryActionProps:{...t}}}))},e=>{H.add({type:`error`,title:`Unable to capture screenshot`,description:e instanceof Error?e.message:`An error occurred.`})})},[ne,P,N,e]),tn=(0,Z.useCallback)(()=>{if(!X||!P)return;if(g.current){g.current.cancelled=!0,X.cancelPickElement(P).catch(()=>void 0);return}let t=typeof document<`u`?document.activeElement:null,n={cancelled:!1},r=!1;g.current=n,l(!0),(async()=>{try{if(await X.setAnnotationSendEnabled?.(P,!!i&&G(e.environmentId,`orchestration:operate`)),n.cancelled)return;let t=await X.pickElement(P);if(!t||n.cancelled)return;g.current===n&&(g.current=null,v.current&&l(!1),r=!0);let{annotation:a,submission:o,screenshotFailed:s=!1}=t,c=pt(a),u=s||c.status===`failed`,d=c.status===`failed`?{...a,screenshot:null}:a;S(e,d),u&&H.add(de({type:`error`,title:`Could not capture the picked element`,description:`The annotation was kept without the screenshot.`}));let f=c.status===`captured`?c.file:null,p=f&&d.screenshot?{type:`image`,id:d.id,name:f.name,mimeType:f.type,sizeBytes:f.size,previewUrl:d.screenshot.dataUrl,file:f}:null;p&&C(e,p),o===`send`&&G(e.environmentId,`orchestration:operate`)&&i?.(d,p)}catch{}finally{let e=g.current===n;if(e&&(g.current=null,v.current&&l(!1)),(e||r)&&t&&t.isConnected&&typeof t.focus==`function`)try{t.focus({preventScroll:!0})}catch{}}})()},[C,S,i,P,e]);return(0,Z.useEffect)(()=>{c&&X&&P&&X.setAnnotationSendEnabled?.(P,p).catch(()=>void 0)},[p,c,P]),(0,Z.useEffect)(()=>()=>{g.current&&(g.current.cancelled=!0,g.current=null,X&&P&&X.cancelPickElement(P).catch(()=>void 0),v.current&&l(!1))},[P]),(0,Z.useEffect)(()=>{if(!r)return;let e=ot(e=>{switch(e){case`refresh`:jt();return;case`focus-url`:s(e=>(e??0)+1);return;case`zoom-in`:It();return;case`zoom-out`:Lt();return;case`reset-zoom`:Ht();return;case`toggle-panel`:return}}),t=window.desktopBridge?.onMenuAction(e=>{e===`preview.focusUrl`&&s(e=>(e??0)+1)});return()=>{e(),t?.()}},[jt,Ht,It,Lt,r]),(0,$.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-col bg-background`,"data-thread-key":_(e),children:[(0,$.jsx)(ht,{url:Ke,loading:Xe||mt,canGoBack:Ze&&!Ne,canGoForward:it&&!Ne,refreshDisabled:dt||Ne,inputDisabled:Ne,focusUrlNonce:a,onBack:Gt,onForward:Kt,onRefresh:jt,onSubmit:e=>void kt(e),onOpenInBrowser:N?qt:void 0,onCapture:X&&N&&!W?en:void 0,captureDisabled:!J||Q||J.pictureInPicture,recording:ne!==null,onSeparateWindow:X&&N&&(!K||R)?$t:void 0,separateWindow:J?.pictureInPicture??!1,separateWindowDisabled:P===null||!K&&!(J?.hasWebContents??!1),onPickElement:X&&N&&!W?tn:void 0,pickActive:c,pickDisabled:!N||Q,pickDisabledReason:Q?`Page didn't load — pick unavailable until the page renders`:void 0,leadingActions:yt===vt.profileId?null:(0,$.jsxs)(he,{children:[yt===`incognito`?(0,$.jsx)(pe,{render:(0,$.jsx)(`span`,{role:`img`,"aria-label":bt,className:`flex shrink-0 text-muted-foreground`}),children:(0,$.jsx)(d,{className:`size-4`})}):(0,$.jsx)(pe,{render:(0,$.jsx)(m,{variant:`outline`,className:`max-w-28 shrink-0`}),children:(0,$.jsx)(`span`,{className:`truncate`,children:bt})}),(0,$.jsx)(me,{side:`top`,children:bt})]}),trailingActions:Qt?(0,$.jsx)(Dt,{enabled:P!==null&&(K||(J?.hasWebContents??!1)),actions:Qt,...Jt?{move:{label:Yt,onMove:()=>void Xt()}}:{},profileName:bt,zoomFactor:K?Pt:J?.zoomFactor??1,colorScheme:K?F?.colorScheme??`system`:J?.colorScheme??`system`,deviceToolbarVisible:_t._tag!==`fill`,onToggleDeviceToolbar:Wt}):null}),(0,$.jsxs)(`div`,{ref:_e,className:`relative min-h-0 flex-1 overflow-hidden`,children:[P&&F&&W?(0,$.jsxs)($.Fragment,{children:[_t._tag!==`fill`&&!ft&&!Q?(0,$.jsx)(`div`,{className:`absolute inset-x-0 top-0 z-10`,children:(0,$.jsx)(He,{setting:_t,width:ve,aspectRatio:fe?_t.width/_t.height:null,onAspectRatioChange:e=>ge(e!==null),onChange:e=>Qe(P,e)})}):null,(0,$.jsx)(`div`,{className:`absolute inset-x-0 bottom-0`,style:{top:_t._tag===`fill`?0:38},children:(0,$.jsx)(lt,{ref:q,environmentId:e.environmentId,threadId:e.threadId,tabId:F.tabId,visible:r,onFirstFrame:()=>Ve(P),onControl:e=>je(e?.controller===`you`?P:null),onPopup:t=>ut(e,t,`panel`),className:M(`absolute inset-0 h-full w-full`,(ft||Q)&&`invisible`)},P)})]}):P&&F&&!ft?X&&J?.pictureInPicture?(0,$.jsxs)(`div`,{className:`flex h-full flex-col items-center justify-center gap-3 p-8 text-center`,children:[(0,$.jsx)(`p`,{className:`max-w-sm text-sm text-muted-foreground`,children:`Showing in a separate window.`}),(0,$.jsxs)(`div`,{className:`flex gap-2`,children:[(0,$.jsx)(w,{size:`sm`,variant:`outline`,onClick:$t,children:`Bring back`}),(0,$.jsx)(w,{size:`sm`,variant:`ghost`,onClick:()=>void X?.pictureInPicture.open(P),children:`Show window`})]})]}):X?(0,$.jsx)(nt,{tabId:P,visible:r&&!Q,className:`absolute inset-0 h-full w-full`},P):(0,$.jsx)(`div`,{className:`flex h-full items-center justify-center p-8 text-center`,children:(0,$.jsx)(`p`,{className:`max-w-sm text-sm text-muted-foreground`,children:`This tab is open in the P4 Code desktop app.`})}):null,ft?(0,$.jsx)(Ct,{threadRef:e,environmentId:e.environmentId,configuredUrls:n,recentEntries:x,onRemoveRecent:t=>Ae(e,t),onOpenUrl:e=>void At(e)}):null,F&&J?(0,$.jsx)(Rt,{zoomFactor:J.zoomFactor}):null,P&&J&&!ft&&!Q&&!h.has(P)?(0,$.jsx)(at,{tabId:P,zoomFactor:J.zoomFactor,controller:gt}):null,Y._tag===`LoadFailed`&&Y.download?(0,$.jsx)(`div`,{className:`absolute inset-0 z-10 bg-background`,children:(0,$.jsx)(Vt,{threadRef:e,tabId:F?.tabId??``,url:Y.url,download:Y.download})}):Y._tag===`LoadFailed`?(0,$.jsx)(`div`,{className:`absolute inset-0 z-10 bg-background`,children:(0,$.jsx)(Mt,{url:Y.url,code:Y.code,description:Y.description,onReload:jt,...Jt===`server`?{move:{label:Yt,onMove:()=>void Xt()}}:{}})}):null]})]})}function Wt(e){let t=(0,Q.c)(18),{mode:n,threadRef:r,tabId:i,configuredUrls:a,visible:o,onSendAnnotation:s}=e,c=Ne(r.environmentId),l=ce(r.environmentId,R);if(!l||!c){let e=l?`Preview is only available in the P4 Code desktop app.`:`Pair this client again with preview access to control browser previews.`,r;t[0]===e?r=t[1]:(r=(0,$.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col items-center justify-center gap-3 p-8 text-center`,children:(0,$.jsx)(`p`,{className:`max-w-sm text-sm text-muted-foreground`,children:e})}),t[0]=e,t[1]=r);let i;return t[2]!==n||t[3]!==r?(i=(0,$.jsx)(q,{mode:n,children:r}),t[2]=n,t[3]=r,t[4]=i):i=t[4],i}let u;t[5]===i?u=t[6]:(u=i===void 0?{}:{tabId:i},t[5]=i,t[6]=u);let d;t[7]===s?d=t[8]:(d=s?{onSendAnnotation:s}:{},t[7]=s,t[8]=d);let f;t[9]!==a||t[10]!==u||t[11]!==d||t[12]!==r||t[13]!==o?(f=(0,$.jsx)(Ut,{threadRef:r,...u,configuredUrls:a,visible:o,...d}),t[9]=a,t[10]=u,t[11]=d,t[12]=r,t[13]=o,t[14]=f):f=t[14];let p;return t[15]!==n||t[16]!==f?(p=(0,$.jsx)(q,{mode:n,children:f}),t[15]=n,t[16]=f,t[17]=p):p=t[17],p}export{Wt as PreviewPanel};
2
- //# sourceMappingURL=PreviewPanel-DzlmHQZw.js.map