@p4code/cli 0.9.9 → 0.9.12

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 (341) hide show
  1. package/dist/bin.mjs +1 -1
  2. package/dist/{binCli-CQsXscQ2.mjs → binCli-D9zhTalS.mjs} +10006 -6004
  3. package/dist/client/.vite/manifest.json +2084 -2031
  4. package/dist/client/assets/{2NI2N5EU-aTesTRUs.js → 2NI2N5EU-DOvURDwM.js} +2 -2
  5. package/dist/client/assets/{4UO7MD6I-fOcXoLqw.js → 4UO7MD6I-CArKQR6u.js} +2 -2
  6. package/dist/client/assets/{5B3SVYGG-CVlBycCk.js → 5B3SVYGG-D3yJKYTq.js} +2 -2
  7. package/dist/client/assets/{5GK6JWQ2-UdJh1ROk.js → 5GK6JWQ2-C7D6qJvm.js} +2 -2
  8. package/dist/client/assets/{5N7A7DKN-LpXLPis9.js → 5N7A7DKN-DDTV444t.js} +2 -2
  9. package/dist/client/assets/{5OC2THR4-pX1yQcrA.js → 5OC2THR4-CYaAiBA5.js} +2 -2
  10. package/dist/client/assets/{5S6HY5KT-CTBX-e9M.js → 5S6HY5KT-jYzQX9YI.js} +2 -2
  11. package/dist/client/assets/{6IMQ5BUJ-DL11cDPG.js → 6IMQ5BUJ-CZSZgyOb.js} +2 -2
  12. package/dist/client/assets/{6OLKWJ4F-TXqcGdqI.js → 6OLKWJ4F-D_TpeHsd.js} +2 -2
  13. package/dist/client/assets/{74OO7NKP-DNrMi93b.js → 74OO7NKP-VJq-BY7c.js} +2 -2
  14. package/dist/client/assets/{75O6YZUN-CwCbVMzG.js → 75O6YZUN-BCik3Y9V.js} +2 -2
  15. package/dist/client/assets/{77XECAW3-BuuKvNS0.js → 77XECAW3-Ce_-nZaY.js} +2 -2
  16. package/dist/client/assets/{ABYRPUBD-BxNthVYO.js → ABYRPUBD-C1hL61qL.js} +2 -2
  17. package/dist/client/assets/AlertDialogRoot-C6RQ4Ag-.js +2 -0
  18. package/dist/client/assets/{AnimatedHeight-Baj5Pa60.js → AnimatedHeight-DEeywxgS.js} +2 -2
  19. package/dist/client/assets/{AuthSurfaceShell-DCBmguf9.js → AuthSurfaceShell-835o12nS.js} +2 -2
  20. package/dist/client/assets/{BB2UYUI2-Bg3EJQg5.js → BB2UYUI2-DlIE2g50.js} +2 -2
  21. package/dist/client/assets/{BUM34MOA-CgVaLfn6.js → BUM34MOA-D9NQPxww.js} +2 -2
  22. package/dist/client/assets/{CEQABKGZ-BpDmef7u.js → CEQABKGZ-BsiY6pPC.js} +2 -2
  23. package/dist/client/assets/{CXAC5362-uHOdbo6J.js → CXAC5362-t7YfF0UQ.js} +2 -2
  24. package/dist/client/assets/{ChatGptUsageButton-CcLiWo0d.js → ChatGptUsageButton-C3xHekTe.js} +2 -2
  25. package/dist/client/assets/{ChatMarkdown-DQk9NI7y.js → ChatMarkdown-Cw9bEYxG.js} +31 -31
  26. package/dist/client/assets/CheckboxIndicator-XdXpYxXy.js +2 -0
  27. package/dist/client/assets/{ClippedText-Bz4usJaN.js → ClippedText-C-unQqBz.js} +2 -2
  28. package/dist/client/assets/CodexSetupSection.logic-Bl5OcEqH.js +2 -0
  29. package/dist/client/assets/ComboboxClear-CBRGIQSm.js +2 -0
  30. package/dist/client/assets/{ComboboxGroupLabel-B9uepPCe.js → ComboboxGroupLabel-DVAwRoGV.js} +2 -2
  31. package/dist/client/assets/{CommandBlock-ConSzQ7T.js → CommandBlock-D6NTupaO.js} +2 -2
  32. package/dist/client/assets/{ComposerPromptEditor-Dh9Y0crA.js → ComposerPromptEditor-BqLNVkse.js} +60 -60
  33. package/dist/client/assets/CompositeRoot-DBS-Yo_S.js +2 -0
  34. package/dist/client/assets/{connect-agent-dJ-CRJsT.js → ConnectAgentSurface-TBgGDnVI.js} +2 -2
  35. package/dist/client/assets/{ConnectionStatusDot-CpPwqzkK.js → ConnectionStatusDot-CR_qWdCU.js} +2 -2
  36. package/dist/client/assets/{DRLTVNUE-9tvJLXhF.js → DRLTVNUE-DkTzG_pM.js} +2 -2
  37. package/dist/client/assets/{DYY6UVD2-CXR9o7Qv.js → DYY6UVD2-BBRUtn6A.js} +2 -2
  38. package/dist/client/assets/DevicePanel-BS7y97f_.js +2 -0
  39. package/dist/client/assets/{DeviceSetup-ct6xlJYm.js → DeviceSetup-TIKLCkls.js} +2 -2
  40. package/dist/client/assets/DialogTitle-DzoEjZ6h.js +2 -0
  41. package/dist/client/assets/{DiffCommentAnnotation-C-L5yt6X.js → DiffCommentAnnotation-y1CrEDvy.js} +3 -3
  42. package/dist/client/assets/{DiffFileTree-C5oMLRG9.js → DiffFileTree-BM7RDTEn.js} +2 -2
  43. package/dist/client/assets/DiffPanel-CAK_DAYa.js +2 -0
  44. package/dist/client/assets/{DiffWorkerPoolProvider-K9JsvPrH.js → DiffWorkerPoolProvider-D2t5zRbN.js} +2 -2
  45. package/dist/client/assets/{EmbeddedDesign-xOusO8oo.js → EmbeddedDesign-_id3IQO6.js} +5 -5
  46. package/dist/client/assets/{EnvironmentMachineIcon-BrGxJPP_.js → EnvironmentMachineIcon-oObSi9GI.js} +2 -2
  47. package/dist/client/assets/{ExpandableText-auxbX5_6.js → ExpandableText-BLwIQ2BJ.js} +2 -2
  48. package/dist/client/assets/{FNOVOB4O-BmZ9pVZx.js → FNOVOB4O-B469NSHv.js} +2 -2
  49. package/dist/client/assets/FieldControl-Btl-j-6W.js +2 -0
  50. package/dist/client/assets/{FileDiff-BTNP8QcY.js → FileDiff-CGLKzg3V.js} +2 -2
  51. package/dist/client/assets/FilePreviewPanel-DJ-LkCJ7.js +34 -0
  52. package/dist/client/assets/{FoldedSettingsSection-BTB3Pbv2.js → FoldedSettingsSection-DPTJODig.js} +2 -2
  53. package/dist/client/assets/FormContext-Be16jmaZ.js +2 -0
  54. package/dist/client/assets/{HDGCDEEZ-JiOhjq7U.js → HDGCDEEZ-BUMQl9WF.js} +2 -2
  55. package/dist/client/assets/{HSJLKHB7-Bd0iumEG.js → HSJLKHB7-C08sJAK2.js} +2 -2
  56. package/dist/client/assets/{Icons-BP6jlahF.js → Icons-2l7Ym4KO.js} +2 -2
  57. package/dist/client/assets/Input--rtZ2Jji.js +2 -0
  58. package/dist/client/assets/JZOYTAAL-PmkwTnld.js +1 -0
  59. package/dist/client/assets/{K3MD6TGW-B2s2l_Ok.js → K3MD6TGW-D4RWgVJJ.js} +2 -2
  60. package/dist/client/assets/{K7RP3OMA-DEvHDTPu.js → K7RP3OMA-B8UDebPA.js} +2 -2
  61. package/dist/client/assets/{KeybindingsSettings.logic-CkmobJKX.js → KeybindingsSettings.logic-CCfOv-KZ.js} +2 -2
  62. package/dist/client/assets/{LHDIQX7Q-D06sm2YF.js → LHDIQX7Q-DwRY1EjH.js} +2 -2
  63. package/dist/client/assets/{LUXOKEGN-A74rm75g.js → LUXOKEGN-BTGUp3oJ.js} +2 -2
  64. package/dist/client/assets/LinkMachineSelect-DoHeQGoj.js +2 -0
  65. package/dist/client/assets/{MathTypeset-Vm1FBYDj.js → MathTypeset-DZCUnfpK.js} +2 -2
  66. package/dist/client/assets/{N3JZAHOW-BCbSRiUS.js → N3JZAHOW-C-bkdj1S.js} +2 -2
  67. package/dist/client/assets/{NUIALGQ3-DmGUeCU6.js → NUIALGQ3-COfmKsf1.js} +2 -2
  68. package/dist/client/assets/{NoProjectsHero-BBiWXq8t.js → NoProjectsHero-CbIPjHEJ.js} +2 -2
  69. package/dist/client/assets/{O65XPQGZ-859wHUVg.js → O65XPQGZ-BPK2EL3_.js} +2 -2
  70. package/dist/client/assets/{O7XIQ6OM-BSsC7pLO.js → O7XIQ6OM-qzVUZXbW.js} +2 -2
  71. package/dist/client/assets/{OFQON5FD-BjECyhxL.js → OFQON5FD-DJVnaZou.js} +2 -2
  72. package/dist/client/assets/{P4ConnectAccountPages-Cqk-Frva.js → P4ConnectAccountPages-DwBbHN5Q.js} +2 -2
  73. package/dist/client/assets/P4ConnectSidebarSignIn-D7VczA30.js +2 -0
  74. package/dist/client/assets/{PJQHF43J-CuSzd3x-.js → PJQHF43J-CTXALHLE.js} +2 -2
  75. package/dist/client/assets/PanelLayoutControls-D8g6TJ8z.js +216 -0
  76. package/dist/client/assets/{PierreEntryIcon-CDSrlZTw.js → PierreEntryIcon-CUoKY0yE.js} +2 -2
  77. package/dist/client/assets/PopoverHandle-tRSwNzqr.js +2 -0
  78. package/dist/client/assets/PreviewPanel-cYx50TF6.js +2 -0
  79. package/dist/client/assets/ProjectDefaultsSettings-G0FTRG0c.js +2 -0
  80. package/dist/client/assets/ProjectFavicon-in-OyDkg.js +3 -0
  81. package/dist/client/assets/{ProjectIconPickerDialog-DSRXK7Zv.js → ProjectIconPickerDialog-JCPOaZup.js} +2 -2
  82. package/dist/client/assets/{ProjectMonogram-BJooqIM-.js → ProjectMonogram-DdbScW3Y.js} +2 -2
  83. package/dist/client/assets/{ProviderAuthTerminal-8VrYkUNI.js → ProviderAuthTerminal-CCw2XmNz.js} +2 -2
  84. package/dist/client/assets/ProviderModelPicker-DWqfDVY9.js +2 -0
  85. package/dist/client/assets/{ProviderSettingsForm-ByFYLn1K.js → ProviderSettingsForm-_viBEB9w.js} +2 -2
  86. package/dist/client/assets/PullRequestCodeTab-D3ntjIAg.js +6 -0
  87. package/dist/client/assets/{RHNBAITX-Z04dR_uf.js → RHNBAITX-BR5h8H8U.js} +2 -2
  88. package/dist/client/assets/{ReadOnlySourcePreview-CiVudVcz.js → ReadOnlySourcePreview-Bx9Jebzp.js} +2 -2
  89. package/dist/client/assets/RedactedSensitiveText-DM7Kme26.js +2 -0
  90. package/dist/client/assets/{RenderErrorBoundary-C8jlNO8Q.js → RenderErrorBoundary-BeYcnW7D.js} +4 -4
  91. package/dist/client/assets/{SLD4V6NK-CTh_lt_F.js → SLD4V6NK-DfUtjUb_.js} +2 -2
  92. package/dist/client/assets/ScheduledTasksSettings-BcF7IiOl.js +4 -0
  93. package/dist/client/assets/{ScopedSwitch-6K10bTo0.js → ScopedSwitch-CD9C3Bhs.js} +2 -2
  94. package/dist/client/assets/{ScrollAreaCorner-Bstf_gNQ.js → ScrollAreaCorner-D5JbJL5g.js} +2 -2
  95. package/dist/client/assets/{SecretInput-BTBcl8SC.js → SecretInput-ttyiYbVY.js} +2 -2
  96. package/dist/client/assets/SelectScrollUpArrow-BV1xykNQ.js +2 -0
  97. package/dist/client/assets/SelfImproveSettingsSection-Dm8NhqV7.js +2 -0
  98. package/dist/client/assets/SettingsPanels-BsyJETg8.js +46 -0
  99. package/dist/client/assets/SettingsPanels.logic-DS-Semyc.js +2 -0
  100. package/dist/client/assets/{SettingsScopeNotice-CPP-_wXt.js → SettingsScopeNotice--a-aNSRR.js} +2 -2
  101. package/dist/client/assets/{SidebarStageBackdrop-ClK_nT_C.js → SidebarStageBackdrop-ntSLLOvm.js} +2 -2
  102. package/dist/client/assets/{T3PCR2KE-O2OwSAZh.js → T3PCR2KE-C5JeZecU.js} +2 -2
  103. package/dist/client/assets/{TKWO2OVW-BxZ4r_GJ.js → TKWO2OVW-B11aaxW8.js} +2 -2
  104. package/dist/client/assets/{TSHNXIZL-6843lSfx.js → TSHNXIZL-2800Jt5F.js} +2 -2
  105. package/dist/client/assets/{ThemeEditorPanel-B_Mpp-fO.js → ThemeEditorPanel-CTXEQSgi.js} +3 -3
  106. package/dist/client/assets/ThreadTerminalDrawer-DIUp50A3.js +5 -0
  107. package/dist/client/assets/TooltipViewport-rDmof6w5.js +2 -0
  108. package/dist/client/assets/{UQJE5E4I-DIek-a8V.js → UQJE5E4I-BG1U9EIM.js} +2 -2
  109. package/dist/client/assets/{USNYFO5S-l_vgf0I4.js → USNYFO5S-d4iGw5HU.js} +2 -2
  110. package/dist/client/assets/{Virtualizer-CttujTBW.js → Virtualizer-CzClYBap.js} +2 -2
  111. package/dist/client/assets/{WEVWDWVA-DASU9Cts.js → WEVWDWVA-V2MwjUCO.js} +2 -2
  112. package/dist/client/assets/{WorkspaceBreadcrumb-CQH9TmFi.js → WorkspaceBreadcrumb-Dpau2BKr.js} +2 -2
  113. package/dist/client/assets/{WorkspacePageContainer-E5ZuTsSl.js → WorkspacePageContainer-C3u06BW-.js} +2 -2
  114. package/dist/client/assets/{WorkspacePageHeader-DGopnQZ2.js → WorkspacePageHeader-MBEFb20_.js} +2 -2
  115. package/dist/client/assets/{X5RFHQXM-B52DJ-qb.js → X5RFHQXM-D_mIa6o9.js} +2 -2
  116. package/dist/client/assets/{X62E3GBT-Ccgsn5Dj.js → X62E3GBT-Cwvyi_iR.js} +2 -2
  117. package/dist/client/assets/{XBNEOJTC-BRptYPNn.js → XBNEOJTC-sfA1U_fe.js} +2 -2
  118. package/dist/client/assets/{YHV2MVVZ-D_wcLZ-W.js → YHV2MVVZ-CZoP6AAo.js} +2 -2
  119. package/dist/client/assets/{YURCZMG2-DP6lArrr.js → YURCZMG2-DYo6rqon.js} +2 -2
  120. package/dist/client/assets/{YVG2LODB-CgFYuKDa.js → YVG2LODB-D8sTsTwc.js} +2 -2
  121. package/dist/client/assets/_chat-DNoJniWX.js +47 -0
  122. package/dist/client/assets/_chat.design-Nh4vxHDS.js +2 -0
  123. package/dist/client/assets/{_chat.index-DhmrbSHU.js → _chat.index-YNITFXX3.js} +2 -2
  124. package/dist/client/assets/_chat.new-B16PAbQN.js +4 -0
  125. package/dist/client/assets/_chat.pull-requests-DEHC0db5.js +2 -0
  126. package/dist/client/assets/{alert-CqueYfb9.js → alert-UH7IbYie.js} +2 -2
  127. package/dist/client/assets/alert-dialog-D3mCT6Vy.js +2 -0
  128. package/dist/client/assets/{assetUrls-d3y14MLX.js → assetUrls-BNjjSBLP.js} +2 -2
  129. package/dist/client/assets/assets-CrCgj2yM.js +2 -0
  130. package/dist/client/assets/browserHistoryStore-CW_ylkPy.js +2 -0
  131. package/dist/client/assets/{browserLinkTarget-IsSd9GTV.js → browserLinkTarget-Dlnk6CC2.js} +2 -2
  132. package/dist/client/assets/{checkbox-BPr09F_k.js → checkbox-Bqcsvpsf.js} +2 -2
  133. package/dist/client/assets/circle-stop-0Wd2uKSK.js +2 -0
  134. package/dist/client/assets/{color-picker-roKqOkuS.js → color-picker-DAcpRn0k.js} +2 -2
  135. package/dist/client/assets/{combobox-CEzOq8mg.js → combobox-CoLp0McG.js} +2 -2
  136. package/dist/client/assets/{command-i_eKJj3B.js → command-cKnhWwdw.js} +2 -2
  137. package/dist/client/assets/connect-agent-CsvW078q.js +2 -0
  138. package/dist/client/assets/{connect-DyZ-pjcy.js → connect-rbXRyqde.js} +2 -2
  139. package/dist/client/assets/{design-CXl7HVrT.js → design-BJbd-4a9.js} +2 -2
  140. package/dist/client/assets/device-BqGYZxfg.js +2 -0
  141. package/dist/client/assets/{dialog-CKG1aUT3.js → dialog-CjB1WWbE.js} +2 -2
  142. package/dist/client/assets/{diffRendering-COA7wG72.js → diffRendering-JsGpyVJ1.js} +2 -2
  143. package/dist/client/assets/{dist-CYq41icZ.js → dist-D4GndTOF.js} +3 -3
  144. package/dist/client/assets/{draft-input-DvNQZghL.js → draft-input-1ySc55QI.js} +2 -2
  145. package/dist/client/assets/{duoViewer-CjvM1rB0.js → duoViewer-DvlUJy5A.js} +2 -2
  146. package/dist/client/assets/dynamic-B8PD-aHj.js +3 -0
  147. package/dist/client/assets/{embeddedScripts-BLmMNkyP.js → embeddedScripts-ByokzHX1.js} +2 -2
  148. package/dist/client/assets/{empty-D6SdnsPw.js → empty-CMnFXg8W.js} +2 -2
  149. package/dist/client/assets/entities-CTJ1ube2.js +2 -0
  150. package/dist/client/assets/{fileLinks-CNAL-7G6.js → fileLinks-lUzqPrjb.js} +2 -2
  151. package/dist/client/assets/{fileTreeExpansion-B_6v-e30.js → fileTreeExpansion-B6sjoSXU.js} +2 -2
  152. package/dist/client/assets/{getDiffFileInput-DovUC0XJ.js → getDiffFileInput-Bt5vSiss.js} +2 -2
  153. package/dist/client/assets/{guideRunStore-7uPQQ44U.js → guideRunStore-DFawhaj_.js} +2 -2
  154. package/dist/client/assets/{htmlRender-hlYiIm7u.js → htmlRender-DJLbbd4O.js} +2 -2
  155. package/dist/client/assets/index-CxLeDuff.js +3 -0
  156. package/dist/client/assets/{input-yNgBXsRj.js → input-CSgYZgdv.js} +2 -2
  157. package/dist/client/assets/{input-group-APyqVexM.js → input-group-a-sGQMiV.js} +2 -2
  158. package/dist/client/assets/{kbd-Cr4XEhSh.js → kbd-D3uRVBMx.js} +2 -2
  159. package/dist/client/assets/{keybindings-hzk4_Sgu.js → keybindings-B9X0TLvu.js} +2 -2
  160. package/dist/client/assets/{lazy-CXsQYM2D.js → lazy-C_hQh3dP.js} +4 -4
  161. package/dist/client/assets/{lazyRouteComponent-tnhWsSYX.js → lazyRouteComponent-GMfIUG8o.js} +2 -2
  162. package/dist/client/assets/{link-CmpZDWcG.js → link-BmkuqfGQ.js} +2 -2
  163. package/dist/client/assets/{linkedPrompt-DgAytF6c.js → linkedPrompt-BNxBPorU.js} +2 -2
  164. package/dist/client/assets/main-BD4pReCY.css +2 -0
  165. package/dist/client/assets/main-DIEsHSIy.js +37 -0
  166. package/dist/client/assets/mediaReference-CVS-Yvam.js +2 -0
  167. package/dist/client/assets/mediaSource-DQsJoeCH.js +2 -0
  168. package/dist/client/assets/number-field-Bw2BDGyn.js +2 -0
  169. package/dist/client/assets/{observeResize-DjqKtKLK.js → observeResize-Br7VOcTc.js} +2 -2
  170. package/dist/client/assets/{onboarding-CyFz37eL.js → onboarding-D6kvYnD1.js} +2 -2
  171. package/dist/client/assets/openFileInPreview-52PEk4wb.js +2 -0
  172. package/dist/client/assets/{p4ProjectFile-CT0gLoXX.js → p4ProjectFile-B1qTw64E.js} +2 -2
  173. package/dist/client/assets/{pair-BOq1UYDI.js → pair-Das8G2kV.js} +2 -2
  174. package/dist/client/assets/{pendingSendStore-BoFRcmy5.js → pendingSendStore-B1MXHU-Y.js} +2 -2
  175. package/dist/client/assets/{phoneViewer-BtDABBh2.js → phoneViewer-iWL9Ocv_.js} +2 -2
  176. package/dist/client/assets/{pierre-icons-LoH9zCdH.js → pierre-icons-CyZxWykW.js} +2 -2
  177. package/dist/client/assets/{popover-DVeZET9D.js → popover-Cpc0L75h.js} +2 -2
  178. package/dist/client/assets/{preview-oweHYD4S.js → preview-CDQ5ceMi.js} +2 -2
  179. package/dist/client/assets/{preview-D9IkIo7q.js → preview-DRZGCh-w.js} +2 -2
  180. package/dist/client/assets/{previewMiniPlayerStore-DrP4x3Ce.js → previewMiniPlayerStore-Dd2KfilQ.js} +2 -2
  181. package/dist/client/assets/primary-YDhFfOF8.js +2 -0
  182. package/dist/client/assets/primaryCloudLinkState-kvnCGEBC.js +2 -0
  183. package/dist/client/assets/projectFilesQueryState-DvEcN38K.js +2 -0
  184. package/dist/client/assets/projectScriptEditor-lOSI5meb.js +2 -0
  185. package/dist/client/assets/{providerSkills-CCJGD2Js.js → providerSkills-CRmME5qO.js} +2 -2
  186. package/dist/client/assets/{pullRequestDetail.logic-4EhxvJSo.js → pullRequestDetail.logic-CXEtJJcn.js} +4 -4
  187. package/dist/client/assets/{pullRequestIcons-DyEIFm1n.js → pullRequestIcons-D8Koo716.js} +2 -2
  188. package/dist/client/assets/{pullRequestReviewStore-B55CEHY9.js → pullRequestReviewStore-CpLjLBJR.js} +2 -2
  189. package/dist/client/assets/pullRequests-DKqH-UAm.js +2 -0
  190. package/dist/client/assets/queries-eqpX-CHf.js +2 -0
  191. package/dist/client/assets/query-D5Kb9u_z.js +2 -0
  192. package/dist/client/assets/radio-group-DpxVKrML.js +2 -0
  193. package/dist/client/assets/{renderScheduler-3p9xZuHR.js → renderScheduler-B1rJHKDM.js} +2 -2
  194. package/dist/client/assets/{rightPanelStore-CRQRe1Cp.js → rightPanelStore-DQ1c3-Lt.js} +2 -2
  195. package/dist/client/assets/runtime-DCbEdU32.js +3 -0
  196. package/dist/client/assets/runtime-DeVKKxNz.js +6 -0
  197. package/dist/client/assets/{runtimeModeConfig-BAFMgMrE.js → runtimeModeConfig-CZCsG9b4.js} +2 -2
  198. package/dist/client/assets/{scheduledTasksSettings.logic-CrhQwOvr.js → scheduledTasksSettings.logic-gN3n5v-e.js} +3 -3
  199. package/dist/client/assets/{scroll-area-DTOm0CbX.js → scroll-area-C9Jh_pl0.js} +2 -2
  200. package/dist/client/assets/{select-CML8G0wN.js → select-oshTwPZM.js} +2 -2
  201. package/dist/client/assets/{selfImproveFindings-DuRaHmql.js → selfImproveFindings-DUmfxmCO.js} +2 -2
  202. package/dist/client/assets/server-Ct4-BCZx.js +2 -0
  203. package/dist/client/assets/session-Bb7JWdWO.js +2 -0
  204. package/dist/client/assets/session-logic-D0Wb0fc2.js +26 -0
  205. package/dist/client/assets/{settings-CbkRsZQ6.js → settings-CQtFOh_t.js} +2 -2
  206. package/dist/client/assets/{settings.appearance-BGbKeD2q.js → settings.appearance-CqHPJVJ2.js} +2 -2
  207. package/dist/client/assets/settings.archived-DDtPGPcJ.js +2 -0
  208. package/dist/client/assets/{settings.computer-use-Cl0y_o-b.js → settings.computer-use-CDrWkvkD.js} +2 -2
  209. package/dist/client/assets/settings.connections-CHXX5kH0.js +2 -0
  210. package/dist/client/assets/{settings.data-controls-Boy0foov.js → settings.data-controls-Bd79f82M.js} +2 -2
  211. package/dist/client/assets/{settings.decisions-DUCJDJZC.js → settings.decisions-B-i781li.js} +2 -2
  212. package/dist/client/assets/{settings.designs-DYuankA7.js → settings.designs-DpX9xXFH.js} +2 -2
  213. package/dist/client/assets/settings.diagnostics-Du6_cMwQ.js +2 -0
  214. package/dist/client/assets/{settings.general-CrvvO6VU.js → settings.general-6bgZAoM7.js} +2 -2
  215. package/dist/client/assets/settings.integrations-Ct8ruO3E.js +2 -0
  216. package/dist/client/assets/{settings.keybindings-Q_21VUQP.js → settings.keybindings-DzB2I9OY.js} +2 -2
  217. package/dist/client/assets/{settings.open-source-licenses-Cnz72Gu0.js → settings.open-source-licenses-C-RX63iR.js} +2 -2
  218. package/dist/client/assets/{settings.plugins-C9-DUFnM.js → settings.plugins-CqpVlMrk.js} +4 -4
  219. package/dist/client/assets/settings.projects-DosfFxrs.js +4 -0
  220. package/dist/client/assets/settings.providers-DKgzTRpw.js +3 -0
  221. package/dist/client/assets/{settings.scheduled-tasks-DOmtQjNH.js → settings.scheduled-tasks-Ca4XxyAg.js} +2 -2
  222. package/dist/client/assets/settings.snap-shot-BkSOnsJ3.js +2 -0
  223. package/dist/client/assets/settings.source-control-uZ0ges0j.js +2 -0
  224. package/dist/client/assets/{settings.storage-CXdZfPhF.js → settings.storage-BkURtSS0.js} +2 -2
  225. package/dist/client/assets/settingsLayout-krWuVpsF.js +3 -0
  226. package/dist/client/assets/{sidebar-DMJE0zUg.js → sidebar-PSpwc3Zu.js} +2 -2
  227. package/dist/client/assets/{sidebarProjectGrouping-BAN1mSDk.js → sidebarProjectGrouping-D02jVAL6.js} +2 -2
  228. package/dist/client/assets/{skeleton-eiJFH0l9.js → skeleton-DIPW_H7N.js} +2 -2
  229. package/dist/client/assets/{sourceControl-ChrSdv6h.js → sourceControl-B9aMMjp2.js} +2 -2
  230. package/dist/client/assets/{sourceControlClients-BDwX0klQ.js → sourceControlClients-XtdH6kjx.js} +2 -2
  231. package/dist/client/assets/{spinner-H4tz4lLc.js → spinner-BeAnBYcY.js} +2 -2
  232. package/dist/client/assets/{terminal-links-D7Hzce_h.js → terminal-links-CYEBYRi6.js} +2 -2
  233. package/dist/client/assets/terminalSessions-C2k3TT8f.js +2 -0
  234. package/dist/client/assets/{textarea-CkmpNgx5.js → textarea-DBTtAB2q.js} +2 -2
  235. package/dist/client/assets/{themePalette-pZ7Ys_kT.js → themePalette-Uk7bx8zb.js} +3 -3
  236. package/dist/client/assets/toast-Dkj3G-UM.js +2 -0
  237. package/dist/client/assets/{toggle-BDixfqRe.js → toggle-DYYe3Gb8.js} +2 -2
  238. package/dist/client/assets/{toggle-group-DV__8G6T.js → toggle-group-hQw0fxkT.js} +2 -2
  239. package/dist/client/assets/{tooltip-DsRaXpYk.js → tooltip-BeHmtauD.js} +2 -2
  240. package/dist/client/assets/{uiStateStore-Bo1Umjei.js → uiStateStore-Cd96D_GT.js} +2 -2
  241. package/dist/client/assets/usage-ChIGOn5O.js +2 -0
  242. package/dist/client/assets/{usageAccess-BXUmTDe1.js → usageAccess-DTKEwCKL.js} +2 -2
  243. package/dist/client/assets/{usageFormat-xrTYBhxI.js → usageFormat-D1mf8I5d.js} +2 -2
  244. package/dist/client/assets/{usageShortcuts-CQcKqXkw.js → usageShortcuts-C0jTsdR4.js} +2 -2
  245. package/dist/client/assets/{use-atom-command-REOTdDAa.js → use-atom-command-D4TeQyNE.js} +2 -2
  246. package/dist/client/assets/{useAriaLabelledBy-DVTboZ71.js → useAriaLabelledBy-Cod6bMX5.js} +2 -2
  247. package/dist/client/assets/useHandleNewThread-CJ3yJ6tD.js +2 -0
  248. package/dist/client/assets/{useLocation--dLSTvwv.js → useLocation-DNv7cb59.js} +2 -2
  249. package/dist/client/assets/{useNavigate-DAhzXpNZ.js → useNavigate-PfhtEZbl.js} +2 -2
  250. package/dist/client/assets/{useNavigateBack-ClmMPFha.js → useNavigateBack-DUje4FcE.js} +2 -2
  251. package/dist/client/assets/{useP4ConnectAuthPrompt-CGiX3TE7.js → useP4ConnectAuthPrompt-evKe5nuS.js} +2 -2
  252. package/dist/client/assets/{useParams-D_0yPfYl.js → useParams-CzC0HF0R.js} +2 -2
  253. package/dist/client/assets/{usePermissionStatus-BGxDZxHH.js → usePermissionStatus-BUDWSxLm.js} +2 -2
  254. package/dist/client/assets/{usePullRequestActions-BOUPI3Y5.js → usePullRequestActions-Cxt5UQ0d.js} +3 -3
  255. package/dist/client/assets/{useRegisterFieldControl-DnspXZl4.js → useRegisterFieldControl-B4MJ2axN.js} +2 -2
  256. package/dist/client/assets/{useScopedModelAvailability-DD6NdaS0.js → useScopedModelAvailability-ujoqpGuE.js} +2 -2
  257. package/dist/client/assets/useSettings-Cg0O7Ek7.js +3 -0
  258. package/dist/client/assets/utils-CcBaVOX5.js +37 -0
  259. package/dist/client/assets/vcsRefInvalidation-B5V_HlR9.js +2 -0
  260. package/dist/client/assets/welcome-DqtsIjdN.js +2 -0
  261. package/dist/client/index.html +1 -1
  262. package/dist/client/third-party-licenses.json +1 -1
  263. package/dist/{renderer-DNRW9Bfa.mjs → renderer-CmxAcIV2.mjs} +2 -2
  264. package/dist/{runtime-KPwu-Er9.mjs → runtime-CAtWuL14.mjs} +524 -54
  265. package/package.json +4 -3
  266. package/dist/client/assets/AlertDialogRoot-BDlDnUeW.js +0 -2
  267. package/dist/client/assets/CheckboxIndicator-CvUY7aCo.js +0 -2
  268. package/dist/client/assets/CodexSetupSection.logic-fnotucae.js +0 -2
  269. package/dist/client/assets/ComboboxClear-BWxvz8Y9.js +0 -2
  270. package/dist/client/assets/CompositeRoot-XnJ7Nzli.js +0 -2
  271. package/dist/client/assets/ConnectionDiagnosisDetails-DIM-B35q.js +0 -2
  272. package/dist/client/assets/DevicePanel-Oy_RHjOo.js +0 -2
  273. package/dist/client/assets/DialogTitle-DdTujj5B.js +0 -2
  274. package/dist/client/assets/DiffPanel-CE2e4NYA.js +0 -2
  275. package/dist/client/assets/FieldControl-DfaF5AW8.js +0 -2
  276. package/dist/client/assets/FilePreviewPanel-m6c5KXjS.js +0 -34
  277. package/dist/client/assets/FormContext-B_ZMFN7l.js +0 -2
  278. package/dist/client/assets/Input-B9nob0l2.js +0 -2
  279. package/dist/client/assets/JZOYTAAL-0AVwCd1G.js +0 -1
  280. package/dist/client/assets/P4ConnectSidebarSignIn-wL7BP9rR.js +0 -2
  281. package/dist/client/assets/PanelLayoutControls-DXgwWyzK.js +0 -216
  282. package/dist/client/assets/PopoverHandle-Bf0PlJ6j.js +0 -2
  283. package/dist/client/assets/PreviewPanel-B7EzPl1x.js +0 -2
  284. package/dist/client/assets/ProjectDefaultsSettings-BRi9-O_X.js +0 -2
  285. package/dist/client/assets/ProjectFavicon-Cf1XjP8U.js +0 -3
  286. package/dist/client/assets/ProviderModelPicker-mxdF5wUN.js +0 -2
  287. package/dist/client/assets/PullRequestCodeTab-DCUJxgcQ.js +0 -6
  288. package/dist/client/assets/ScheduledTasksSettings-DfwR9Auj.js +0 -4
  289. package/dist/client/assets/SelectScrollUpArrow-BAwxXUi-.js +0 -2
  290. package/dist/client/assets/SelfImproveSettingsSection-DwtwZ9He.js +0 -2
  291. package/dist/client/assets/SettingsPanels-BnfeCIPg.js +0 -46
  292. package/dist/client/assets/SettingsPanels.logic-BM52qF-a.js +0 -2
  293. package/dist/client/assets/ThreadTerminalDrawer-3sb2Ksna.js +0 -5
  294. package/dist/client/assets/TooltipViewport-CEOeTVyb.js +0 -2
  295. package/dist/client/assets/_chat-Vh73A6rC.js +0 -45
  296. package/dist/client/assets/_chat.design-_0R3HMjq.js +0 -2
  297. package/dist/client/assets/_chat.new-Byb4mhMY.js +0 -4
  298. package/dist/client/assets/_chat.pull-requests-BNzVcYEB.js +0 -2
  299. package/dist/client/assets/assets-FbkZMhUb.js +0 -2
  300. package/dist/client/assets/browserHistoryStore-CjWZgU2Q.js +0 -2
  301. package/dist/client/assets/circle-stop-F6BJYb9Y.js +0 -2
  302. package/dist/client/assets/device-MyE56wi2.js +0 -2
  303. package/dist/client/assets/dynamic-BZ3kW5ih.js +0 -3
  304. package/dist/client/assets/entities-D8ZKPC2e.js +0 -2
  305. package/dist/client/assets/index-DD6u-vDm.js +0 -3
  306. package/dist/client/assets/main-B-tAk2zT.css +0 -2
  307. package/dist/client/assets/main-CNcsYwUg.js +0 -37
  308. package/dist/client/assets/mediaReference-DNNV5BY5.js +0 -2
  309. package/dist/client/assets/mediaSource-DI8dP4uu.js +0 -2
  310. package/dist/client/assets/number-field-DcRWl9B0.js +0 -2
  311. package/dist/client/assets/openFileInPreview-rYwhIeVk.js +0 -2
  312. package/dist/client/assets/primary-DXTkE8Z6.js +0 -2
  313. package/dist/client/assets/primaryCloudLinkState-CZVS0Wwo.js +0 -2
  314. package/dist/client/assets/projectFilesQueryState-Cl_MU7SH.js +0 -2
  315. package/dist/client/assets/projectScriptEditor-CfiaAaXj.js +0 -2
  316. package/dist/client/assets/pullRequests-DRm4lwgc.js +0 -2
  317. package/dist/client/assets/queries-BGbR-fUx.js +0 -2
  318. package/dist/client/assets/query-D-IVadFI.js +0 -2
  319. package/dist/client/assets/radio-group-DIOJb--u.js +0 -2
  320. package/dist/client/assets/runtime-CdX0UBlL.js +0 -3
  321. package/dist/client/assets/runtime-S0tnrkvE.js +0 -6
  322. package/dist/client/assets/server-ELSEsqtb.js +0 -2
  323. package/dist/client/assets/session-DCntd6Nl.js +0 -2
  324. package/dist/client/assets/session-logic-CbKDK1qZ.js +0 -26
  325. package/dist/client/assets/settings.archived-DNDOvbYT.js +0 -2
  326. package/dist/client/assets/settings.connections-xy7hhFa0.js +0 -2
  327. package/dist/client/assets/settings.diagnostics-DgYvj0_x.js +0 -2
  328. package/dist/client/assets/settings.integrations-Do9x2dXf.js +0 -2
  329. package/dist/client/assets/settings.projects-BKMazKl9.js +0 -4
  330. package/dist/client/assets/settings.providers-ouat2Ci1.js +0 -3
  331. package/dist/client/assets/settings.snap-shot-609BnJ2S.js +0 -2
  332. package/dist/client/assets/settings.source-control-D1LmFmrq.js +0 -2
  333. package/dist/client/assets/settingsLayout-aLGl3ZXu.js +0 -3
  334. package/dist/client/assets/terminalSessions-DdR_bXtX.js +0 -2
  335. package/dist/client/assets/toast-BNQWmVQ-.js +0 -2
  336. package/dist/client/assets/usage-BPmOvYDv.js +0 -2
  337. package/dist/client/assets/useHandleNewThread-DYBNXS8y.js +0 -2
  338. package/dist/client/assets/useSettings-BNjvPVd5.js +0 -3
  339. package/dist/client/assets/utils-D19Exirm.js +0 -37
  340. package/dist/client/assets/vcsRefInvalidation-BSyEzs8X.js +0 -2
  341. package/dist/client/assets/welcome-CJLDvQwx.js +0 -2
@@ -775,7 +775,8 @@ const COMPOSER_CONTEXT_KINDS = [
775
775
  "review-comment",
776
776
  "mention",
777
777
  "skill",
778
- "thread"
778
+ "thread",
779
+ "environment"
779
780
  ];
780
781
  const CONTEXT_ID_MAX_CHARS = 128;
781
782
  const CONTEXT_ID_PATTERN = /^[a-z0-9_-]+$/i;
@@ -927,6 +928,16 @@ const ThreadContextRecord = Struct({
927
928
  threadId: ThreadId,
928
929
  title: ContextLabel
929
930
  });
931
+ /**
932
+ * One of the user's machines (a P4 Code environment), mentioned so the agent
933
+ * links it or works there. Only identity travels: the agent links it by id,
934
+ * and the user's client supplies its addresses.
935
+ */
936
+ const EnvironmentContextRecord = Struct({
937
+ ...recordBase,
938
+ kind: Literal("environment"),
939
+ environmentId: EnvironmentId
940
+ });
930
941
  const isJson = is(Json);
931
942
  /**
932
943
  * Catch-all for kinds this build does not know. Known discriminators are excluded so a
@@ -955,7 +966,8 @@ const KnownComposerContextRecord = Union([
955
966
  ReviewCommentContextRecord,
956
967
  MentionContextRecord,
957
968
  SkillContextRecord,
958
- ThreadContextRecord
969
+ ThreadContextRecord,
970
+ EnvironmentContextRecord
959
971
  ]);
960
972
  const ComposerContextRecord = Union([...KnownComposerContextRecord.members, UnknownContextRecord]);
961
973
  const COMPOSER_CONTEXT_MAX_SERIALIZED_CHARS = 16e6;
@@ -1333,7 +1345,7 @@ const ANTIGRAVITY_DEFAULT_MODEL = "antigravity-default";
1333
1345
  const MUSE_DEFAULT_MODEL = "default";
1334
1346
  const DEFAULT_MODEL_BY_PROVIDER = {
1335
1347
  [CODEX_DRIVER_KIND]: DEFAULT_MODEL,
1336
- [CLAUDE_DRIVER_KIND]: "claude-fable-5-1",
1348
+ [CLAUDE_DRIVER_KIND]: "claude-opus-5-5",
1337
1349
  [CURSOR_DRIVER_KIND]: "auto",
1338
1350
  [GROK_DRIVER_KIND]: "grok-build",
1339
1351
  [FX_DRIVER_KIND]: "default",
@@ -2731,6 +2743,13 @@ const AuthMcpClientAccess = Literals([
2731
2743
  "auto",
2732
2744
  "full-access"
2733
2745
  ]);
2746
+ /** The scopes an agent session gets for an access level, and a pairing code must carry. */
2747
+ const mcpClientScopes = (access) => access === "read-only" ? [AuthOrchestrationReadScope] : access === "full-access" ? [
2748
+ AuthOrchestrationReadScope,
2749
+ AuthOrchestrationOperateScope,
2750
+ AuthSettingsWriteScope,
2751
+ AuthSourceControlWriteScope
2752
+ ] : [AuthOrchestrationReadScope, AuthOrchestrationOperateScope];
2734
2753
  /** RFC 9728 metadata for an environment's `/mcp` resource. */
2735
2754
  const AuthMcpProtectedResourceMetadata = Struct({
2736
2755
  resource: String$1,
@@ -2753,8 +2772,15 @@ const AuthMcpAuthorizationServerMetadata = Struct({
2753
2772
  authorization_response_iss_parameter_supported: Boolean
2754
2773
  });
2755
2774
  /** RFC 7591 client metadata. Fields the server does not use are dropped. */
2775
+ /**
2776
+ * The `software_id` another P4 Code environment registers with when it links
2777
+ * to this one. Its session is then a peer link: the work it starts here stays
2778
+ * within that link. Claiming it only ever adds limits.
2779
+ */
2780
+ const MCP_PEER_LINK_SOFTWARE_ID = "p4code-peer-link";
2756
2781
  const AuthMcpClientRegistration = Struct({
2757
2782
  client_name: optionalKey(String$1),
2783
+ software_id: optionalKey(String$1),
2758
2784
  redirect_uris: optionalKey(ArraySchema(String$1)),
2759
2785
  token_endpoint_auth_method: optionalKey(String$1)
2760
2786
  });
@@ -3075,7 +3101,19 @@ const ExecutionEnvironmentCapabilities = Struct({
3075
3101
  /** Server hosts preview tabs in its own headless Chromium (`runtime:
3076
3102
  "server"`) and streams them over `/api/preview-stream`. Clients
3077
3103
  without a local browser runtime open server tabs here. */
3078
- serverBrowser: optionalKey(Boolean)
3104
+ serverBrowser: optionalKey(Boolean),
3105
+ /** Server links to other environments (`PeerLink`) and its agents can work
3106
+ in them. Absent on servers from before linking, which clients must not
3107
+ offer linking for. */
3108
+ peerLinks: optionalKey(Boolean),
3109
+ /** Server's `/mcp` narrows an OAuth client's modes from `P4-Mode-Limit`, so
3110
+ a linked environment's calls keep its agent's limits. Another environment
3111
+ links to this one only when it is set. */
3112
+ mcpModeLimitHeader: optionalKey(Boolean),
3113
+ /** Work a linked environment starts here stays within its link
3114
+ (`linkOrigin`). Another environment links to this one only when it is
3115
+ set, since without it that work could change the user's own threads. */
3116
+ linkFence: optionalKey(Boolean)
3079
3117
  });
3080
3118
  const ExecutionEnvironmentDescriptor = Struct({
3081
3119
  environmentId: EnvironmentId,
@@ -12948,6 +12986,33 @@ const OrchestrationV2CreationFields = {
12948
12986
  createdBy: OrchestrationV2Actor,
12949
12987
  creationSource: OrchestrationV2CreationSource
12950
12988
  };
12989
+ /**
12990
+ * The linked environment whose agent started this work here: the MCP client
12991
+ * session it signed in with, that session's label, and the access it was
12992
+ * paired with. Set when the thread is created and never changed; work derived
12993
+ * from it carries the same origin.
12994
+ */
12995
+ const OrchestrationV2LinkOrigin = Struct({
12996
+ sessionId: TrimmedNonEmptyString,
12997
+ label: String$1,
12998
+ access: optional(AuthMcpClientAccess)
12999
+ });
13000
+ /**
13001
+ * Work from a link paired below full access may change only work from the same
13002
+ * link. A full-access link's agents already run as this environment's user,
13003
+ * so fencing P4's own tools would stop nothing they could not do anyway. An
13004
+ * origin stamped before access was recorded stays fenced.
13005
+ */
13006
+ const linkOriginIsFenced = (origin) => origin.access !== "full-access";
13007
+ /**
13008
+ * The thread in a linked environment that delegated this one, when it did:
13009
+ * this thread is that parent's subagent, run here instead of there.
13010
+ */
13011
+ const OrchestrationV2DelegatedFrom = Struct({
13012
+ environmentId: EnvironmentId,
13013
+ threadId: ThreadId,
13014
+ title: String$1
13015
+ });
12951
13016
  const OrchestrationV2NativeRefStrength = Literals([
12952
13017
  "strong",
12953
13018
  "weak",
@@ -13189,11 +13254,13 @@ const OrchestrationV2AppThread = Struct({
13189
13254
  branchPullRequest: optional(NullOr(ThreadLinkedPullRequest)),
13190
13255
  activeProviderThreadId: NullOr(ProviderThreadId),
13191
13256
  historyOrigin: optional(OrchestrationV2ThreadHistoryOrigin),
13257
+ linkOrigin: optional(OrchestrationV2LinkOrigin),
13192
13258
  /**
13193
13259
  * Presentation, not lineage: open in the right panel, stay out of the sidebar,
13194
13260
  * discard on close. How the thread relates to its parent stays in `lineage`.
13195
13261
  */
13196
13262
  sideChat: optional(Boolean),
13263
+ delegatedFrom: optional(OrchestrationV2DelegatedFrom),
13197
13264
  lineage: OrchestrationV2AppThreadLineage,
13198
13265
  forkedFrom: NullOr(Union([
13199
13266
  Struct({
@@ -13561,6 +13628,30 @@ const OrchestrationV2SubagentWorkflow = Struct({
13561
13628
  toolCalls: optional(NonNegativeInt),
13562
13629
  durationMs: optional(NonNegativeInt)
13563
13630
  });
13631
+ /**
13632
+ * Where an app-owned task runs when it runs in a linked environment instead
13633
+ * of in a child thread here: that environment and the ordinary thread it runs
13634
+ * as there. Such a task has no `childThreadId`.
13635
+ */
13636
+ const OrchestrationV2RemoteTaskChild = Struct({
13637
+ environmentId: EnvironmentId,
13638
+ threadId: ThreadId,
13639
+ label: String$1,
13640
+ /** The run there that carries the task; absent on tasks recorded before it was kept. */
13641
+ runId: optional(RunId),
13642
+ /**
13643
+ * Nothing is left to stop there: a stop reached it, was refused for good, or the thread
13644
+ * or link is gone. A run ending there by itself sets it too, unless the task here was
13645
+ * cancelled or stopped and still owes a stop, which its follower keeps sending across
13646
+ * restarts. `false`: a Stop here owes one to a task that already had its result.
13647
+ */
13648
+ stoppedThere: optional(Boolean),
13649
+ /**
13650
+ * Stops asked for here once the task had its result. The count names the
13651
+ * one owed, so each reaches the thread there once however often it is sent.
13652
+ */
13653
+ stopCount: optional(NonNegativeInt)
13654
+ });
13564
13655
  const OrchestrationV2Subagent = Struct({
13565
13656
  id: NodeId,
13566
13657
  threadId: ThreadId,
@@ -13572,6 +13663,7 @@ const OrchestrationV2Subagent = Struct({
13572
13663
  providerInstanceId: ProviderInstanceId,
13573
13664
  providerThreadId: NullOr(ProviderThreadId),
13574
13665
  childThreadId: NullOr(ThreadId),
13666
+ remoteChild: optional(OrchestrationV2RemoteTaskChild),
13575
13667
  nativeTaskRef: NullOr(OrchestrationV2ProviderRef),
13576
13668
  prompt: String$1,
13577
13669
  title: NullOr(String$1),
@@ -14149,6 +14241,12 @@ const OrchestrationV2UserMessageInputIntent = Literals([
14149
14241
  "promoted_queued_to_steer"
14150
14242
  ]);
14151
14243
  const OrchestrationV2TurnItemBaseFields = {
14244
+ /** Wire-only cursor for collapsed work; persisted items keep their complete history. */
14245
+ deferredWork: optionalKey(Struct({
14246
+ cursor: TrimmedNonEmptyString,
14247
+ itemCount: PositiveInt,
14248
+ lastOrdinal: NonNegativeInt
14249
+ })),
14152
14250
  toolNonExecutionKind: optional(String$1),
14153
14251
  toolSurface: optional(ToolActivitySurface),
14154
14252
  toolIcon: optional(ToolActivityIcon),
@@ -14214,6 +14312,39 @@ const OrchestrationV2McpSignInRequestFields = {
14214
14312
  signInStatus: OrchestrationV2McpSignInStatus,
14215
14313
  reattach: Literals(["live", "next-session"])
14216
14314
  };
14315
+ const OrchestrationV2LinkRequestStatus = Literals([
14316
+ "pending",
14317
+ "linked",
14318
+ "declined",
14319
+ "cancelled",
14320
+ "failed"
14321
+ ]);
14322
+ /**
14323
+ * An agent asked the user to link another environment. The user picks the
14324
+ * access; the pairing code never passes through orchestration, so the item
14325
+ * carries only what was asked and how it ended.
14326
+ */
14327
+ const OrchestrationV2LinkRequestFields = {
14328
+ type: Literal("link_request"),
14329
+ /** The address the agent named, if it named one. */
14330
+ url: optional(TrimmedNonEmptyString),
14331
+ reason: String$1,
14332
+ /**
14333
+ * The environment the agent named, or the one answering at `url`. Without
14334
+ * either the user picks the machine in the card.
14335
+ */
14336
+ environmentId: optional(EnvironmentId),
14337
+ label: optional(String$1),
14338
+ /** A phrase from the user's words, such as "vps", that preselects a machine. */
14339
+ hint: optional(String$1),
14340
+ /** The access the agent suggested; the user's choice is final. */
14341
+ requestedAccess: optional(AuthMcpClientAccess),
14342
+ linkStatus: OrchestrationV2LinkRequestStatus,
14343
+ linkedEnvironmentId: optional(EnvironmentId),
14344
+ linkedLabel: optional(String$1),
14345
+ linkedAccess: optional(AuthMcpClientAccess),
14346
+ failure: optional(String$1)
14347
+ };
14217
14348
  const OrchestrationV2TurnItem = Union([
14218
14349
  Struct({
14219
14350
  ...OrchestrationV2TurnItemBaseFields,
@@ -14409,6 +14540,10 @@ const OrchestrationV2TurnItem = Union([
14409
14540
  ...OrchestrationV2TurnItemBaseFields,
14410
14541
  ...OrchestrationV2McpSignInRequestFields
14411
14542
  }),
14543
+ Struct({
14544
+ ...OrchestrationV2TurnItemBaseFields,
14545
+ ...OrchestrationV2LinkRequestFields
14546
+ }),
14412
14547
  Struct({
14413
14548
  ...OrchestrationV2TurnItemBaseFields,
14414
14549
  type: Literal("subagent"),
@@ -14417,6 +14552,7 @@ const OrchestrationV2TurnItem = Union([
14417
14552
  driver: ProviderDriverKind,
14418
14553
  providerInstanceId: ProviderInstanceId,
14419
14554
  childThreadId: NullOr(ThreadId),
14555
+ remoteChild: optional(OrchestrationV2RemoteTaskChild),
14420
14556
  prompt: String$1,
14421
14557
  progress: optional(String$1),
14422
14558
  result: NullOr(String$1)
@@ -14689,6 +14825,8 @@ const OrchestrationV2ThreadShell = Struct({
14689
14825
  forkedFrom: NullOr(OrchestrationV2AppThread.fields.forkedFrom),
14690
14826
  activeProviderThreadId: NullOr(ProviderThreadId),
14691
14827
  historyOrigin: optional(OrchestrationV2ThreadHistoryOrigin),
14828
+ linkOrigin: optional(OrchestrationV2LinkOrigin),
14829
+ delegatedFrom: optional(OrchestrationV2DelegatedFrom),
14692
14830
  latestRunId: NullOr(RunId),
14693
14831
  latestRunRequestedAt: optional(NullOr(DateTimeUtc)),
14694
14832
  latestRunStartedAt: optional(NullOr(DateTimeUtc)),
@@ -15097,6 +15235,10 @@ const OrchestrationV2TurnItemJson = Union([
15097
15235
  ...OrchestrationV2TurnItemJsonBaseFields,
15098
15236
  ...OrchestrationV2McpSignInRequestFields
15099
15237
  }),
15238
+ Struct({
15239
+ ...OrchestrationV2TurnItemJsonBaseFields,
15240
+ ...OrchestrationV2LinkRequestFields
15241
+ }),
15100
15242
  Struct({
15101
15243
  ...OrchestrationV2TurnItemJsonBaseFields,
15102
15244
  type: Literal("subagent"),
@@ -15105,6 +15247,7 @@ const OrchestrationV2TurnItemJson = Union([
15105
15247
  driver: ProviderDriverKind,
15106
15248
  providerInstanceId: ProviderInstanceId,
15107
15249
  childThreadId: NullOr(ThreadId),
15250
+ remoteChild: optional(OrchestrationV2RemoteTaskChild),
15108
15251
  prompt: String$1,
15109
15252
  progress: optional(String$1),
15110
15253
  result: NullOr(String$1)
@@ -15356,12 +15499,16 @@ const OrchestrationV2Command = Union([
15356
15499
  interactionMode: ProviderInteractionMode,
15357
15500
  branch: NullOr(TrimmedNonEmptyString),
15358
15501
  worktreePath: NullOr(TrimmedNonEmptyString),
15502
+ /** Only the server sets this; a client's thread.create never carries one. */
15503
+ linkOrigin: optional(OrchestrationV2LinkOrigin),
15359
15504
  /**
15360
15505
  * Link the new thread under an existing one without transferring any
15361
15506
  * context: lineage records the parent but no relationship kind.
15362
15507
  */
15363
15508
  parentThreadId: optional(ThreadId),
15364
15509
  sideChat: optional(Boolean),
15510
+ /** Only the server sets this, with `linkOrigin`, for a linked environment's delegated task. */
15511
+ delegatedFrom: optional(OrchestrationV2DelegatedFrom),
15365
15512
  importedNativeThread: optional(Struct({
15366
15513
  ref: Struct({
15367
15514
  driver: ProviderDriverKind,
@@ -15836,6 +15983,47 @@ Union([
15836
15983
  notification: OrchestrationV2Notification
15837
15984
  }))
15838
15985
  }),
15986
+ Struct({
15987
+ type: Literal("delegated_task.remote.request"),
15988
+ commandId: CommandId,
15989
+ parentThreadId: ThreadId,
15990
+ parentRunId: RunId,
15991
+ parentNodeId: NodeId,
15992
+ task: TrimmedNonEmptyString,
15993
+ title: optional(TrimmedNonEmptyString),
15994
+ driver: ProviderDriverKind,
15995
+ modelSelection: ModelSelection,
15996
+ remoteChild: OrchestrationV2RemoteTaskChild,
15997
+ completionWake: optional(Literals(["always", "settled_only"]))
15998
+ }),
15999
+ Struct({
16000
+ type: Literal("delegated_task.remote.complete"),
16001
+ commandId: CommandId,
16002
+ parentThreadId: ThreadId,
16003
+ taskId: NodeId,
16004
+ status: Literals([
16005
+ "completed",
16006
+ "failed",
16007
+ "cancelled",
16008
+ "interrupted"
16009
+ ]),
16010
+ result: String$1,
16011
+ /**
16012
+ * `ran-out`: the run there ended by itself; `stopped`: a stop from here reached it. Either
16013
+ * sets `remoteChild.stoppedThere` on a task this report completes. On a task already
16014
+ * cancelled or stopped here only `stopped` does, since a run that ended by itself leaves
16015
+ * the stop owed for whatever follows it.
16016
+ */
16017
+ stoppedThere: optional(Literals(["ran-out", "stopped"])),
16018
+ /** The stop generation this report acknowledges; absent for the original unnumbered stop. */
16019
+ stopCount: optional(NonNegativeInt)
16020
+ }),
16021
+ Struct({
16022
+ type: Literal("delegated_task.remote.stop"),
16023
+ commandId: CommandId,
16024
+ parentThreadId: ThreadId,
16025
+ taskId: NodeId
16026
+ }),
15839
16027
  Struct({
15840
16028
  type: Literal("checkpoint.rollback.fail"),
15841
16029
  commandId: CommandId,
@@ -15892,6 +16080,31 @@ Union([
15892
16080
  serverName: TrimmedNonEmptyString,
15893
16081
  signInStatus: OrchestrationV2McpSignInStatus,
15894
16082
  reattach: Literals(["live", "next-session"])
16083
+ }),
16084
+ Struct({
16085
+ type: Literal("link_request.record"),
16086
+ commandId: CommandId,
16087
+ threadId: ThreadId,
16088
+ runId: RunId,
16089
+ nodeId: NodeId,
16090
+ turnItemId: TurnItemId,
16091
+ url: optional(TrimmedNonEmptyString),
16092
+ reason: String$1,
16093
+ environmentId: optional(EnvironmentId),
16094
+ label: optional(String$1),
16095
+ hint: optional(String$1),
16096
+ requestedAccess: optional(AuthMcpClientAccess),
16097
+ linkStatus: OrchestrationV2LinkRequestStatus,
16098
+ linkedEnvironmentId: optional(EnvironmentId),
16099
+ linkedLabel: optional(String$1),
16100
+ linkedAccess: optional(AuthMcpClientAccess),
16101
+ failure: optional(String$1),
16102
+ /** Tells the agent how the card ended, in the same commit that closes it. */
16103
+ wake: optional(Struct({
16104
+ messageId: MessageId,
16105
+ text: String$1,
16106
+ notification: OrchestrationV2Notification
16107
+ }))
15895
16108
  })
15896
16109
  ]);
15897
16110
  const ORCHESTRATION_V2_WS_METHODS = {
@@ -15955,7 +16168,9 @@ const OrchestrationV2ThreadLaunchInput = Struct({
15955
16168
  const OrchestrationV2ThreadLaunchResult = Struct({
15956
16169
  threadId: ThreadId,
15957
16170
  projection: OrchestrationV2ThreadProjection,
15958
- resumed: Boolean
16171
+ resumed: Boolean,
16172
+ /** The initial message's commit sequence. Older servers omit it. */
16173
+ sequence: optionalKey(NonNegativeInt)
15959
16174
  });
15960
16175
  const OrchestrationV2DispatchCommandResult = Struct({ sequence: NonNegativeInt });
15961
16176
  const OrchestrationV2GetThreadProjectionInput = Struct({ threadId: ThreadId });
@@ -15986,6 +16201,7 @@ const OrchestrationV2SubscribeThreadInput = Struct({
15986
16201
  requestCompletionMarker: optionalKey(Boolean),
15987
16202
  /** Allows snapshot fallbacks to contain a bounded, pageable history window. */
15988
16203
  acceptBoundedSnapshot: optionalKey(Boolean),
16204
+ acceptDeferredWork: optionalKey(Boolean),
15989
16205
  /**
15990
16206
  * Allows bounded snapshot fallbacks to omit `projection.turnItems` entries
15991
16207
  * that repeat local visible rows. See `turnItemsOmitLocalVisible`.
@@ -18228,11 +18444,19 @@ const EnvironmentOrchestrationThreadSnapshotParams = Struct({ threadId: ThreadId
18228
18444
  * `compactTurnItems=1` opts into `turnItemsOmitLocalVisible`. Other values are
18229
18445
  * ignored, and older servers ignore the whole query.
18230
18446
  */
18231
- const EnvironmentOrchestrationThreadBoundedSnapshotQuery = Struct({ compactTurnItems: optionalKey(String$1) });
18447
+ const EnvironmentOrchestrationThreadBoundedSnapshotQuery = Struct({
18448
+ deferWork: optionalKey(String$1),
18449
+ compactTurnItems: optionalKey(String$1)
18450
+ });
18232
18451
  const EnvironmentOrchestrationThreadHistoryQuery = Struct({
18233
18452
  cursor: TrimmedNonEmptyString,
18234
18453
  throughEntryId: optional(TrimmedNonEmptyString),
18235
- view: optional(Literals(["conversation", "activity"]))
18454
+ view: optional(Literals([
18455
+ "conversation",
18456
+ "activity",
18457
+ "work"
18458
+ ])),
18459
+ deferWork: optionalKey(String$1)
18236
18460
  });
18237
18461
  const EnvironmentOrchestrationThreadHistoryErrors = [
18238
18462
  EnvironmentRequestInvalidError,
@@ -19205,12 +19429,12 @@ var DeviceBootError = class extends TaggedError()("DeviceBootError", {
19205
19429
  }) {
19206
19430
  get message() {
19207
19431
  const explanation = {
19208
- disk_space: "There is not enough free disk space on the environment server.",
19432
+ disk_space: "There is not enough free disk space on its device host.",
19209
19433
  timeout: "The device did not become ready in time.",
19210
- launch_failed: "The simulator or emulator could not start. Check its configuration on the environment server."
19434
+ launch_failed: "The simulator or emulator could not start."
19211
19435
  }[this.reason];
19212
19436
  const summary = `Device ${this.deviceId} failed to boot: ${explanation}`;
19213
- return this.diagnostics ? `${summary}\n\n${this.diagnostics}` : summary;
19437
+ return this.diagnostics ? `${summary}\n\n${this.diagnostics}` : `${summary} The device host sent no details. Try again or open another device; if it keeps failing, check the device on that host.`;
19214
19438
  }
19215
19439
  };
19216
19440
  var DeviceOperationError = class extends TaggedError()("DeviceOperationError", {
@@ -19274,7 +19498,8 @@ const DeviceToolOpenResult = Struct({
19274
19498
  agentDevice: Struct({
19275
19499
  command: String$1,
19276
19500
  /** Flags that pin every command to this device, e.g. `--udid <id>`. */
19277
- targetArgs: ArraySchema(String$1)
19501
+ targetArgs: ArraySchema(String$1),
19502
+ session: String$1
19278
19503
  }),
19279
19504
  quickStart: String$1
19280
19505
  });
@@ -19717,6 +19942,8 @@ const PreviewSessionSnapshot = Struct({
19717
19942
  */
19718
19943
  profileId: optional(BrowserProfileId),
19719
19944
  runtime: optional(PreviewRuntime),
19945
+ /** The server runs this tab in headless Chromium, so the desktop streams it like other clients. */
19946
+ headless: optional(Boolean),
19720
19947
  /** Authenticated provider session owning an isolated server tab. */
19721
19948
  automationOwner: optional(String$1),
19722
19949
  /** An agent opened this tab and asked to show it, so viewers float it. */
@@ -20761,6 +20988,11 @@ const ServerSettings = Struct({
20761
20988
  */
20762
20989
  reviewGuidesEnabled: Boolean.pipe(withDecodingDefault(succeed(false))),
20763
20990
  /**
20991
+ * Beta: links to the user's other machines, both ways. Off refuses new links, calls over links
20992
+ * and tasks on another machine; tasks already running there finish.
20993
+ */
20994
+ linkedEnvironmentsEnabled: Boolean.pipe(withDecodingDefault(succeed(false))),
20995
+ /**
20764
20996
  * The model that reads a pull request to write its review guide. It investigates a checkout
20765
20997
  * over many turns, so it can want a stronger model than one-shot writing. `null` uses the
20766
20998
  * source control writer model.
@@ -21015,6 +21247,7 @@ const ServerSettingsPatch = Struct({
21015
21247
  })),
21016
21248
  sourceControlWriterModelSelection: optionalKey(NullOr(ModelSelection)),
21017
21249
  reviewGuidesEnabled: optionalKey(Boolean),
21250
+ linkedEnvironmentsEnabled: optionalKey(Boolean),
21018
21251
  reviewGuideModelSelection: optionalKey(NullOr(ModelSelection)),
21019
21252
  reviewGuideInstructions: optionalKey(TrimmedString),
21020
21253
  pullRequestMergeMethod: optionalKey(NullOr(PullRequestMergeMethod)),
@@ -21756,7 +21989,9 @@ const TerminalSessionSnapshot = Struct({
21756
21989
  /** Server-computed display title (idle shell vs subprocess command). */
21757
21990
  label: String$1.check(isMaxLength(128)),
21758
21991
  updatedAt: String$1,
21759
- sequence: optional(Int.check(isGreaterThanOrEqualTo(0)))
21992
+ sequence: optional(Int.check(isGreaterThanOrEqualTo(0))),
21993
+ cols: optional(TerminalColsSchema),
21994
+ rows: optional(TerminalRowsSchema)
21760
21995
  });
21761
21996
  const TerminalSummary = Struct({
21762
21997
  threadId: String$1.check(isNonEmpty()),
@@ -21833,7 +22068,9 @@ const TerminalActivityEvent = Struct({
21833
22068
  ...TerminalEventBaseSchema.fields,
21834
22069
  type: Literal("activity"),
21835
22070
  hasRunningSubprocess: Boolean,
21836
- label: String$1.check(isMaxLength(128))
22071
+ label: String$1.check(isMaxLength(128)),
22072
+ cols: optional(TerminalColsSchema),
22073
+ rows: optional(TerminalRowsSchema)
21837
22074
  });
21838
22075
  const TerminalEvent = Union([
21839
22076
  TerminalStartedEvent,
@@ -23517,6 +23754,7 @@ const GitCommandFailureReason = Literals([
23517
23754
  "authentication_failed",
23518
23755
  "branch_already_exists",
23519
23756
  "branch_checked_out_in_worktree",
23757
+ "config_locked",
23520
23758
  "host_key_unverified",
23521
23759
  "not_a_repository",
23522
23760
  "path_already_exists",
@@ -24118,10 +24356,41 @@ const ThreadTitleRegeneration = Struct({
24118
24356
  requestId: CommandId,
24119
24357
  startedAt: IsoDateTime
24120
24358
  });
24359
+ // ../../packages/contracts/src/threadMetadataMcp.ts
24360
+ function hasOnlyPairedSurrogates(value) {
24361
+ for (let index = 0; index < value.length; index += 1) {
24362
+ const codeUnit = value.charCodeAt(index);
24363
+ if (codeUnit >= 55296 && codeUnit <= 56319) {
24364
+ const nextCodeUnit = value.charCodeAt(index + 1);
24365
+ if (index + 1 >= value.length || nextCodeUnit < 56320 || nextCodeUnit > 57343) return false;
24366
+ index += 1;
24367
+ } else if (codeUnit >= 56320 && codeUnit <= 57343) return false;
24368
+ }
24369
+ return true;
24370
+ }
24371
+ const ThreadMetadataTitle = TrimmedNonEmptyString.check(isMaxLength(512)).annotate({ description: "New concise display title. Required only when action is rename." });
24372
+ const ThreadMetadataClientRequestId = TrimmedNonEmptyString.check(isMaxLength(256)).check(makeFilter((value) => hasOnlyPairedSurrogates(value) ? true : "clientRequestId must contain valid paired Unicode surrogates.")).annotate({ description: "Stable idempotency key to reuse when retrying this mutation." });
24373
+ const ThreadMetadataMcpAction = Literals(["rename", "regenerate_title"]);
24374
+ const ThreadMetadataMcpUpdateInput = Struct({
24375
+ threadId: optional(ThreadId),
24376
+ action: ThreadMetadataMcpAction,
24377
+ title: optional(ThreadMetadataTitle),
24378
+ clientRequestId: optional(ThreadMetadataClientRequestId)
24379
+ }).check(makeFilter((input) => input.action === "rename" === (input.title !== void 0) ? true : "rename requires title; regenerate_title does not accept one."));
24380
+ const ThreadMetadataMcpUpdateResult = Struct({
24381
+ threadId: ThreadId,
24382
+ action: ThreadMetadataMcpAction,
24383
+ commandId: CommandId,
24384
+ sequence: NonNegativeInt,
24385
+ title: String$1,
24386
+ titleRegeneration: NullOr(ThreadTitleRegeneration),
24387
+ linkedPullRequest: NullOr(ThreadLinkedPullRequest),
24388
+ updatedAt: IsoDateTime
24389
+ });
24121
24390
  // ../../packages/contracts/src/orchestratorMcp.ts
24122
24391
  const OrchestratorMcpPrompt = TrimmedNonEmptyString.check(isMaxLength(12e4)).annotate({ description: "Complete task or message text for the target agent." });
24123
24392
  const OrchestratorMcpTitle = TrimmedNonEmptyString.check(isMaxLength(512)).annotate({ description: "Optional concise display title." });
24124
- const OrchestratorMcpClientRequestId = TrimmedNonEmptyString.check(isMaxLength(256)).annotate({ description: "Stable idempotency key to reuse when retrying this mutation." });
24393
+ const OrchestratorMcpClientRequestId = TrimmedNonEmptyString.check(isMaxLength(256)).check(makeFilter((value) => hasOnlyPairedSurrogates(value) ? true : "clientRequestId must contain valid paired Unicode surrogates.")).annotate({ description: "Stable idempotency key to reuse when retrying this mutation." });
24125
24394
  /**
24126
24395
  * OpenCode 1.15 has been observed serializing nested MCP union objects as JSON
24127
24396
  * strings. Keep the structured object as the documented form while accepting
@@ -24155,7 +24424,9 @@ const OrchestratorMcpTarget = Struct({
24155
24424
  * advertised by orchestrator_capabilities. When omitted, options inherit
24156
24425
  * from the parent only when the child runs the parent's provider and model.
24157
24426
  */
24158
- options: optional(OrchestratorMcpTargetOptions.annotate({ description: "Model option selections advertised by orchestrator_capabilities." }))
24427
+ options: optional(OrchestratorMcpTargetOptions.annotate({ description: "Model option selections advertised by orchestrator_capabilities." })),
24428
+ environmentId: optional(EnvironmentId.annotate({ description: "Linked environment to run in. Provider and model default to yours; others come from `orchestrator_capabilities` with this `environmentId`." })),
24429
+ projectId: optional(ProjectId.annotate({ description: "With `environmentId`: its project to run in. Default: the one with this project's repository." }))
24159
24430
  });
24160
24431
  const OrchestratorMcpRuntimeMode = Union([Literal("inherit"), RuntimeMode]);
24161
24432
  const OrchestratorMcpInteractionMode = Union([Literal("inherit"), ProviderInteractionMode]);
@@ -24196,7 +24467,15 @@ const OrchestratorMcpDelegateTaskInput = Struct({
24196
24467
  });
24197
24468
  const OrchestratorMcpDelegateTaskResult = Struct({
24198
24469
  taskId: NodeId,
24199
- childThreadId: ThreadId,
24470
+ /** Null for a task that runs in a linked environment; see `remoteChild`. */
24471
+ childThreadId: NullOr(ThreadId),
24472
+ /** The linked environment and thread a remote task runs as. */
24473
+ remoteChild: optional(Struct({
24474
+ environmentId: EnvironmentId,
24475
+ threadId: ThreadId,
24476
+ label: String$1
24477
+ })),
24478
+ link: optional(String$1),
24200
24479
  childRunId: NullOr(RunId),
24201
24480
  childNodeId: NodeId,
24202
24481
  status: OrchestratorMcpDelegatedTaskStatus,
@@ -24252,6 +24531,7 @@ const OrchestratorMcpCreatedThreadStatus = Union([
24252
24531
  ]);
24253
24532
  const OrchestratorMcpCreatedThread = Struct({
24254
24533
  threadId: ThreadId,
24534
+ link: optional(String$1),
24255
24535
  runId: NullOr(RunId),
24256
24536
  status: OrchestratorMcpCreatedThreadStatus,
24257
24537
  title: String$1,
@@ -24263,8 +24543,16 @@ const OrchestratorMcpCreatedThread = Struct({
24263
24543
  const OrchestratorMcpCreateThreadsResult = Struct({ threads: ArraySchema(OrchestratorMcpCreatedThread) });
24264
24544
  const OrchestratorMcpThreadStatus = Union([Literal("idle"), OrchestrationV2RunStatus]);
24265
24545
  const OrchestratorMcpProjectTarget = optional(ProjectId.annotate({ description: "Project to act on. Omit for the calling thread's project; required when the caller is not a P4 Code thread." }));
24546
+ /**
24547
+ * A linked environment to act in instead of this one. The tools that take it
24548
+ * forward the call there, where the link's access and the caller's own modes
24549
+ * both apply.
24550
+ */
24551
+ const OrchestratorMcpEnvironmentTarget = optional(EnvironmentId.annotate({ description: "Linked environment to act in. Omit for this one. Ids are then that environment's." }));
24266
24552
  const OrchestratorMcpThreadListInput = Struct({
24553
+ environmentId: OrchestratorMcpEnvironmentTarget,
24267
24554
  projectId: OrchestratorMcpProjectTarget,
24555
+ allProjects: optional(Boolean),
24268
24556
  statuses: optional(ArraySchema(OrchestratorMcpThreadStatus).check(isMaxLength(10))),
24269
24557
  titleContains: optional(TrimmedNonEmptyString.check(isMaxLength(256))),
24270
24558
  snoozed: optional(Boolean),
@@ -24274,7 +24562,9 @@ const OrchestratorMcpThreadListInput = Struct({
24274
24562
  });
24275
24563
  const OrchestratorMcpThreadListItem = Struct({
24276
24564
  threadId: ThreadId,
24565
+ projectId: ProjectId,
24277
24566
  title: String$1,
24567
+ link: optional(String$1),
24278
24568
  createdBy: OrchestrationV2Actor,
24279
24569
  creationSource: OrchestrationV2CreationSource,
24280
24570
  status: OrchestratorMcpThreadStatus,
@@ -24294,7 +24584,8 @@ const OrchestratorMcpThreadListItem = Struct({
24294
24584
  updatedAt: IsoDateTime
24295
24585
  });
24296
24586
  const OrchestratorMcpThreadListResult = Struct({
24297
- projectId: ProjectId,
24587
+ /** null with `allProjects`. */
24588
+ projectId: NullOr(ProjectId),
24298
24589
  /** The calling thread, or null when the caller is not a P4 Code thread. */
24299
24590
  currentThreadId: NullOr(ThreadId),
24300
24591
  threads: ArraySchema(OrchestratorMcpThreadListItem),
@@ -24306,6 +24597,7 @@ const clampedPositiveInt = (maximum) => PositiveInt.pipe(decodeTo(PositiveInt.ch
24306
24597
  encode: (value) => value
24307
24598
  })));
24308
24599
  const OrchestratorMcpThreadReadInput = Struct({
24600
+ environmentId: OrchestratorMcpEnvironmentTarget,
24309
24601
  threadId: ThreadId,
24310
24602
  itemId: optional(TurnItemId),
24311
24603
  textOffset: optional(NonNegativeInt),
@@ -24319,6 +24611,7 @@ const OrchestratorMcpThreadDetail = Struct({
24319
24611
  threadId: ThreadId,
24320
24612
  projectId: ProjectId,
24321
24613
  title: String$1,
24614
+ link: optional(String$1),
24322
24615
  createdBy: OrchestrationV2Actor,
24323
24616
  creationSource: OrchestrationV2CreationSource,
24324
24617
  status: OrchestratorMcpThreadStatus,
@@ -24384,6 +24677,7 @@ const OrchestratorMcpThreadReadResult = Struct({
24384
24677
  hasMore: Boolean
24385
24678
  });
24386
24679
  const OrchestratorMcpThreadSendInput = Struct({
24680
+ environmentId: OrchestratorMcpEnvironmentTarget,
24387
24681
  threadId: ThreadId,
24388
24682
  message: OrchestratorMcpPrompt,
24389
24683
  mode: optional(Literals([
@@ -24396,6 +24690,7 @@ const OrchestratorMcpThreadSendInput = Struct({
24396
24690
  });
24397
24691
  const OrchestratorMcpThreadSendResult = Struct({
24398
24692
  threadId: ThreadId,
24693
+ link: optional(String$1),
24399
24694
  messageId: MessageId,
24400
24695
  runId: RunId,
24401
24696
  /** Fresh task for a follow-up to an app-owned child; the previous task stays terminal. */
@@ -24409,20 +24704,34 @@ const OrchestratorMcpThreadSendResult = Struct({
24409
24704
  ])
24410
24705
  });
24411
24706
  const OrchestratorMcpThreadWaitInput = Struct({
24707
+ environmentId: OrchestratorMcpEnvironmentTarget,
24412
24708
  threadId: ThreadId,
24413
24709
  runId: optional(RunId),
24414
- timeoutMs: optional(Number$1)
24710
+ timeoutMs: optional(Number$1),
24711
+ untilDelegatedWorkSettled: optional(Boolean.annotate({ description: "Also wait for its delegated and background tasks and their completions to settle. `resultRun` then names the run with its final answer." }))
24415
24712
  });
24416
24713
  const OrchestratorMcpThreadWaitResult = Struct({
24417
24714
  threadId: ThreadId,
24418
24715
  runId: NullOr(RunId),
24419
24716
  status: OrchestratorMcpThreadStatus,
24420
- timedOut: Boolean
24717
+ timedOut: Boolean,
24718
+ /** With untilDelegatedWorkSettled, once settled: the run whose reply is the thread's result. */
24719
+ resultRun: optional(Struct({
24720
+ runId: RunId,
24721
+ status: OrchestrationV2RunStatus
24722
+ }))
24421
24723
  });
24422
24724
  const OrchestratorMcpThreadInterruptInput = Struct({
24725
+ environmentId: OrchestratorMcpEnvironmentTarget,
24423
24726
  threadId: ThreadId,
24424
24727
  runId: optional(RunId),
24425
24728
  reason: optional(String$1.check(isMaxLength(2e3))),
24729
+ /**
24730
+ * Stop the thread as its Stop button does instead: interrupt its running
24731
+ * turn whichever run that is, hold its queued messages, end its pull request
24732
+ * watches and stop every task it delegated. `runId` is then not used.
24733
+ */
24734
+ stop: optional(Boolean),
24426
24735
  clientRequestId: optional(OrchestratorMcpClientRequestId)
24427
24736
  });
24428
24737
  const OrchestratorMcpThreadInterruptResult = Struct({
@@ -24456,6 +24765,26 @@ const OrchestratorMcpProviderCapability = Struct({
24456
24765
  canRunCrossProviderChildTask: Boolean,
24457
24766
  constraints: ArraySchema(String$1)
24458
24767
  });
24768
+ const OrchestratorMcpEnvironmentLink = Struct({
24769
+ environmentId: EnvironmentId,
24770
+ label: String$1,
24771
+ /** Whether it answered just now. An expired link must be linked again there. */
24772
+ status: Literals([
24773
+ "reachable",
24774
+ "unreachable",
24775
+ "expired"
24776
+ ]),
24777
+ /** The most the linked environment lets this one's agents do there. */
24778
+ access: AuthMcpClientAccess,
24779
+ expiresAt: IsoDateTime,
24780
+ lastError: NullOr(String$1)
24781
+ });
24782
+ const OrchestratorMcpEnvironmentLinksResult = Struct({
24783
+ environmentId: EnvironmentId,
24784
+ links: ArraySchema(OrchestratorMcpEnvironmentLink),
24785
+ /** What to do when the machine the user means is not among `links`. */
24786
+ notListed: String$1
24787
+ });
24459
24788
  const OrchestratorMcpCapabilitiesResult = Struct({
24460
24789
  /** The calling thread, or null when the caller is not a P4 Code thread. */
24461
24790
  parentThreadId: NullOr(ThreadId),
@@ -24477,6 +24806,7 @@ const OrchestratorMcpCapabilitiesResult = Struct({
24477
24806
  })
24478
24807
  });
24479
24808
  const OrchestratorMcpScheduleTaskInput = Struct({
24809
+ environmentId: OrchestratorMcpEnvironmentTarget,
24480
24810
  projectId: OrchestratorMcpProjectTarget,
24481
24811
  prompt: OrchestratorMcpPrompt.annotate({ description: "Prompt executed on every scheduled run." }),
24482
24812
  schedule: OrchestratorMcpSchedule,
@@ -24513,9 +24843,13 @@ const OrchestratorMcpScheduledTask = Struct({
24513
24843
  webhookSignature: optional(Literals(["none", "set"])).annotate({ description: "Whether requests must carry a valid signature." })
24514
24844
  });
24515
24845
  const OrchestratorMcpScheduleTaskResult = OrchestratorMcpScheduledTask;
24516
- const OrchestratorMcpListScheduledTasksInput = Struct({ projectId: optional(ProjectId.annotate({ description: "Only list this project's tasks. Omit for the calling thread's project, or for every project when the caller is not a P4 Code thread." })) });
24846
+ const OrchestratorMcpListScheduledTasksInput = Struct({
24847
+ environmentId: OrchestratorMcpEnvironmentTarget,
24848
+ projectId: optional(ProjectId.annotate({ description: "Only list this project's tasks. Omit for the calling thread's project, or for every project when the caller is not a P4 Code thread." }))
24849
+ });
24517
24850
  const OrchestratorMcpListScheduledTasksResult = Struct({ tasks: ArraySchema(OrchestratorMcpScheduledTask) });
24518
24851
  Struct({
24852
+ environmentId: OrchestratorMcpEnvironmentTarget,
24519
24853
  scheduledTaskId: ScheduledTaskId,
24520
24854
  prompt: optional(OrchestratorMcpPrompt),
24521
24855
  title: optional(OrchestratorMcpTitle),
@@ -24541,7 +24875,40 @@ const OrchestratorMcpRequestSecretResult = Union([Struct({
24541
24875
  "cancelled",
24542
24876
  "timed_out"
24543
24877
  ]).annotate({ description: "declined: the user chose not to. cancelled: the request ended with the run. timed_out: the user did not answer in time; the card is closed, so ask again with a new clientRequestId if still needed." }) })]);
24544
- const OrchestratorMcpDeleteScheduledTaskInput = Struct({ scheduledTaskId: ScheduledTaskId });
24878
+ const OrchestratorMcpEnvironmentLinkInput = Struct({
24879
+ environmentId: optional(EnvironmentId).annotate({ description: "The machine, when known, e.g. from a mentioned machine. Otherwise the user picks it in the card." }),
24880
+ url: optional(TrimmedNonEmptyString).annotate({ description: "Only an address the user gave: https, Tailscale, LAN or loopback. Never guess one." }),
24881
+ hint: optional(TrimmedNonEmptyString).annotate({ description: "The user's words for the machine, e.g. \"vps\". Preselects it in the card." }),
24882
+ reason: optional(TrimmedNonEmptyString).annotate({ description: "One sentence for the card." }),
24883
+ requestedAccess: optional(AuthMcpClientAccess).annotate({ description: "Suggested access. The user picks; default approval-required." }),
24884
+ clientRequestId: optional(OrchestratorMcpClientRequestId)
24885
+ });
24886
+ const OrchestratorMcpEnvironmentLinkResult = Union([
24887
+ Struct({
24888
+ status: Literal("pending").annotate({ description: "The card is waiting for the user. Their answer arrives as a message in this thread." }),
24889
+ turnItemId: TurnItemId
24890
+ }),
24891
+ Struct({
24892
+ status: Literal("linked"),
24893
+ environmentId: EnvironmentId.annotate({ description: "Pass it as environmentId to act there; p4_environment_links lists it." }),
24894
+ label: String$1,
24895
+ access: AuthMcpClientAccess.annotate({ description: "The access the user chose." })
24896
+ }),
24897
+ Struct({ status: Literals(["declined", "cancelled"]).annotate({ description: "declined: the user chose not to. cancelled: the card closed unanswered, when the thread was stopped or archived." }) }),
24898
+ Struct({
24899
+ status: Literal("failed"),
24900
+ message: String$1.annotate({ description: "Why the other environment refused the link, as the user saw it." })
24901
+ })
24902
+ ]);
24903
+ const OrchestratorMcpEnvironmentUnlinkInput = Struct({ environmentId: EnvironmentId.annotate({ description: "The linked environment to forget, from p4_environment_links." }) });
24904
+ const OrchestratorMcpEnvironmentUnlinkResult = Struct({
24905
+ environmentId: EnvironmentId,
24906
+ removed: Boolean
24907
+ });
24908
+ const OrchestratorMcpDeleteScheduledTaskInput = Struct({
24909
+ environmentId: OrchestratorMcpEnvironmentTarget,
24910
+ scheduledTaskId: ScheduledTaskId
24911
+ });
24545
24912
  const OrchestratorMcpDeleteScheduledTaskResult = Struct({
24546
24913
  scheduledTaskId: ScheduledTaskId,
24547
24914
  deleted: Boolean
@@ -24567,37 +24934,114 @@ var OrchestratorMcpFailure = class extends TaggedError()("OrchestratorMcpFailure
24567
24934
  ]),
24568
24935
  message: String$1
24569
24936
  }) {};
24570
- // ../../packages/contracts/src/threadMetadataMcp.ts
24571
- function hasOnlyPairedSurrogates(value) {
24572
- for (let index = 0; index < value.length; index += 1) {
24573
- const codeUnit = value.charCodeAt(index);
24574
- if (codeUnit >= 55296 && codeUnit <= 56319) {
24575
- const nextCodeUnit = value.charCodeAt(index + 1);
24576
- if (index + 1 >= value.length || nextCodeUnit < 56320 || nextCodeUnit > 57343) return false;
24577
- index += 1;
24578
- } else if (codeUnit >= 56320 && codeUnit <= 57343) return false;
24579
- }
24580
- return true;
24581
- }
24582
- const ThreadMetadataTitle = TrimmedNonEmptyString.check(isMaxLength(512)).annotate({ description: "New concise display title. Required only when action is rename." });
24583
- const ThreadMetadataClientRequestId = TrimmedNonEmptyString.check(isMaxLength(256)).check(makeFilter((value) => hasOnlyPairedSurrogates(value) ? true : "clientRequestId must contain valid paired Unicode surrogates.")).annotate({ description: "Stable idempotency key to reuse when retrying this mutation." });
24584
- const ThreadMetadataMcpAction = Literals(["rename", "regenerate_title"]);
24585
- const ThreadMetadataMcpUpdateInput = Struct({
24586
- threadId: optional(ThreadId),
24587
- action: ThreadMetadataMcpAction,
24588
- title: optional(ThreadMetadataTitle),
24589
- clientRequestId: optional(ThreadMetadataClientRequestId)
24590
- }).check(makeFilter((input) => input.action === "rename" === (input.title !== void 0) ? true : "rename requires title; regenerate_title does not accept one."));
24591
- const ThreadMetadataMcpUpdateResult = Struct({
24937
+ // ../../packages/contracts/src/peerLink.ts
24938
+ /**
24939
+ * A link from this environment to another one (the peer). This environment
24940
+ * signed in to the peer's `/mcp` as an outside agent, with a pairing code from
24941
+ * the peer, so its agents can work there. The peer enforces the access chosen
24942
+ * at linking, and revokes the link from its own Connections.
24943
+ */
24944
+ const PeerLink = Struct({
24945
+ environmentId: EnvironmentId,
24946
+ label: String$1,
24947
+ /** Addresses the peer was linked at, tried in order. */
24948
+ urls: ArraySchema(TrimmedNonEmptyString),
24949
+ access: AuthMcpClientAccess,
24950
+ linkedAt: DateTimeUtc,
24951
+ expiresAt: DateTimeUtc,
24952
+ lastReachedAt: NullOr(DateTimeUtc),
24953
+ lastError: NullOr(String$1)
24954
+ });
24955
+ /** Whether a link can be used now, as worked out when it is listed. */
24956
+ const PeerLinkStatus = Literals([
24957
+ "reachable",
24958
+ "unreachable",
24959
+ "expired"
24960
+ ]);
24961
+ const PeerLinkSummary = Struct({
24962
+ ...PeerLink.fields,
24963
+ status: PeerLinkStatus
24964
+ });
24965
+ const PeerLinkCreateInput = Struct({
24966
+ /** Where the peer answers: an https, Tailscale, LAN or loopback base URL. */
24967
+ url: TrimmedNonEmptyString,
24968
+ /** More addresses for the same peer, tried after `url`. */
24969
+ alternateUrls: optionalKey(ArraySchema(TrimmedNonEmptyString)),
24970
+ /** A pairing code from the peer (`p4 pair` there, or its Connections settings). */
24971
+ pairingCode: TrimmedNonEmptyString,
24972
+ access: AuthMcpClientAccess,
24973
+ /**
24974
+ * The environment the user means. Addresses that answer as another one are
24975
+ * skipped, and only those that answer as this one are kept.
24976
+ */
24977
+ expectedEnvironmentId: optionalKey(EnvironmentId),
24978
+ /** What the user calls that environment, to name it when it cannot be reached. */
24979
+ expectedLabel: optionalKey(TrimmedNonEmptyString)
24980
+ });
24981
+ const PeerLinkRemoveInput = Struct({ environmentId: EnvironmentId });
24982
+ const PeerLinkRemoveResult = Struct({ removed: Boolean });
24983
+ /** Why linking or calling a peer failed, in words a user can act on. */
24984
+ var PeerLinkError = class extends TaggedError()("PeerLinkError", {
24985
+ reason: Literals([
24986
+ "unreachable",
24987
+ "not_a_t3_environment",
24988
+ "incompatible",
24989
+ "self",
24990
+ "pairing_rejected",
24991
+ "expired",
24992
+ "unknown_link",
24993
+ "storage",
24994
+ "disabled"
24995
+ ]),
24996
+ message: String$1,
24997
+ cause: optionalKey(Defect())
24998
+ }) {};
24999
+ /**
25000
+ * The user's answer to an agent asking to link an environment. The pairing
25001
+ * code is used once to link and is never recorded; the thread learns only the
25002
+ * outcome and the access the user chose.
25003
+ */
25004
+ const PeerLinkRequestAnswerInput = Struct({
24592
25005
  threadId: ThreadId,
24593
- action: ThreadMetadataMcpAction,
24594
- commandId: CommandId,
24595
- sequence: NonNegativeInt,
24596
- title: String$1,
24597
- titleRegeneration: NullOr(ThreadTitleRegeneration),
24598
- linkedPullRequest: NullOr(ThreadLinkedPullRequest),
24599
- updatedAt: IsoDateTime
25006
+ turnItemId: TurnItemId,
25007
+ answer: Union([
25008
+ Struct({
25009
+ type: Literal("link"),
25010
+ /** The machine the user picked, when they picked one rather than typing an address. */
25011
+ environmentId: optionalKey(EnvironmentId),
25012
+ /** What the client calls that machine. */
25013
+ label: optionalKey(TrimmedNonEmptyString),
25014
+ /** The addresses the client knows for that machine, most preferred first. */
25015
+ urls: NonEmptyArray(TrimmedNonEmptyString),
25016
+ access: AuthMcpClientAccess,
25017
+ pairingCode: TrimmedNonEmptyString
25018
+ }),
25019
+ Struct({
25020
+ type: Literal("use-existing"),
25021
+ environmentId: EnvironmentId
25022
+ }),
25023
+ Struct({ type: Literal("decline") })
25024
+ ])
24600
25025
  });
25026
+ const PEER_LINK_REQUEST_FAILURE_MESSAGES = {
25027
+ load_failed: "Could not load the link request.",
25028
+ not_found: "This link request no longer exists.",
25029
+ already_answered: "This link request was already answered.",
25030
+ record_failed: "Could not update the link request."
25031
+ };
25032
+ const PeerLinkRequestFailureReason = Literals(Object.keys(PEER_LINK_REQUEST_FAILURE_MESSAGES));
25033
+ /**
25034
+ * Answering a link request failed before anything was linked. A link the
25035
+ * other environment refused is not this error: the card records it as failed.
25036
+ */
25037
+ var PeerLinkRequestError = class extends TaggedError()("PeerLinkRequestError", {
25038
+ reason: PeerLinkRequestFailureReason,
25039
+ cause: optionalKey(Defect())
25040
+ }) {
25041
+ get message() {
25042
+ return PEER_LINK_REQUEST_FAILURE_MESSAGES[this.reason];
25043
+ }
25044
+ };
24601
25045
  // ../../packages/contracts/src/agentAsset.ts
24602
25046
  /**
24603
25047
  * User-scope agent assets as the hub stores them: skills, memory files, MCP
@@ -28635,6 +29079,10 @@ const WS_METHODS = {
28635
29079
  serverRunStorageCleanup: "server.runStorageCleanup",
28636
29080
  serverGetStorageCleanupReport: "server.getStorageCleanupReport",
28637
29081
  serverGetDatabaseStorage: "server.getDatabaseStorage",
29082
+ peerLinksList: "peerLinks.list",
29083
+ peerLinksLink: "peerLinks.link",
29084
+ peerLinksUnlink: "peerLinks.unlink",
29085
+ peerLinksAnswerRequest: "peerLinks.answerRequest",
28638
29086
  serverGetSettings: "server.getSettings",
28639
29087
  serverUpdateSettings: "server.updateSettings",
28640
29088
  serverDiscoverSourceControl: "server.discoverSourceControl",
@@ -28973,6 +29421,25 @@ const WsServerGetDatabaseStorageRpc = make$1(WS_METHODS.serverGetDatabaseStorage
28973
29421
  stream: true,
28974
29422
  error: EnvironmentAuthorizationError
28975
29423
  });
29424
+ const WsPeerLinksListRpc = make$1(WS_METHODS.peerLinksList, {
29425
+ payload: Struct({}),
29426
+ success: Struct({ links: ArraySchema(PeerLinkSummary) }),
29427
+ error: Union([PeerLinkError, EnvironmentAuthorizationError])
29428
+ });
29429
+ const WsPeerLinksLinkRpc = make$1(WS_METHODS.peerLinksLink, {
29430
+ payload: PeerLinkCreateInput,
29431
+ success: PeerLink,
29432
+ error: Union([PeerLinkError, EnvironmentAuthorizationError])
29433
+ });
29434
+ const WsPeerLinksUnlinkRpc = make$1(WS_METHODS.peerLinksUnlink, {
29435
+ payload: PeerLinkRemoveInput,
29436
+ success: PeerLinkRemoveResult,
29437
+ error: Union([PeerLinkError, EnvironmentAuthorizationError])
29438
+ });
29439
+ const WsPeerLinksAnswerRequestRpc = make$1(WS_METHODS.peerLinksAnswerRequest, {
29440
+ payload: PeerLinkRequestAnswerInput,
29441
+ error: Union([PeerLinkRequestError, EnvironmentAuthorizationError])
29442
+ });
28976
29443
  const WsServerGetSettingsRpc = make$1(WS_METHODS.serverGetSettings, {
28977
29444
  payload: Struct({}),
28978
29445
  success: ServerSettings,
@@ -29973,7 +30440,7 @@ const WsSubscribeResourceTelemetryRpc = make$1(WS_METHODS.subscribeResourceTelem
29973
30440
  * be added without authorization.
29974
30441
  */
29975
30442
  var RpcScopeAuthorization = class extends Service()("p4/contracts/RpcScopeAuthorization", { error: EnvironmentAuthorizationError }) {};
29976
- const WsRpcGroup = make(WsServerProbeRpc, WsServerGetConfigRpc, WsServerRefreshProvidersRpc, WsMcpRegistryStateRpc, WsMcpRegistryTestRpc, WsMcpRegistryOAuthStartRpc, WsMcpRegistryOAuthSignOutRpc, WsMcpRegistryProviderSignInStateRpc, WsMcpRegistryProviderSignInStartRpc, WsMcpRegistryProviderSignInWaitRpc, WsMcpRegistryProviderSignInCompleteRpc, WsMcpRegistryProviderSignInCancelRpc, WsMcpRegistryProviderSignOutRpc, WsMcpRegistryDiscoverRpc, WsMcpRegistryImportRpc, WsServerUpdateProviderRpc, WsProviderConsumeResetCreditRpc, WsProviderAuthStartRpc, WsProviderAuthCompleteRpc, WsChatGptReconnectProfileRpc, WsChatGptImportProfileRpc, WsChatGptHandoffSubscribeRpc, WsCodexAuthCallbackSubscribeRpc, WsProviderAuthRespondRpc, WsProviderAuthCancelRpc, WsProviderAuthLogoutRpc, WsProviderAuthSubscribeRpc, WsProviderInstallStartRpc, WsProviderInstallCancelRpc, WsProviderInstallSubscribeRpc, WsProviderInstallRemoveRpc, WsServerUpdateServerRpc, WsServerUpdateServerWithProgressRpc, WsServerCommitDesktopUpdateRpc, WsServerUpsertKeybindingRpc, WsServerRemoveKeybindingRpc, WsServerRunStorageCleanupRpc, WsServerGetStorageCleanupReportRpc, WsServerGetDatabaseStorageRpc, WsServerGetSettingsRpc, WsServerUpdateSettingsRpc, WsServerDiscoverSourceControlRpc, WsServerSearchAcpRegistryRpc, WsServerPrepareAcpRegistryAgentRpc, WsServerUninstallAcpRegistryManagedBinaryRpc, WsServerAcceptAcpRegistryUrlAuthRpc, WsServerListAcpRegistrySessionsRpc, WsServerImportAcpRegistrySessionRpc, WsServerDeleteAcpRegistrySessionRpc, WsServerListAcpRegistryProvidersRpc, WsServerSetAcpRegistryProviderRpc, WsServerDisableAcpRegistryProviderRpc, WsServerLogoutAcpRegistryRpc, WsServerGetTraceDiagnosticsRpc, WsServerGetProcessDiagnosticsRpc, WsServerGetHostResourcesRpc, WsServerGetProcessResourceHistoryRpc, WsServerGetResourceTelemetryHistoryRpc, WsServerRetryResourceTelemetryRpc, WsServerCheckOtlpEndpointRpc, WsUserInputRankRpc, WsServerGetUsageSummaryRpc, WsServerRefreshUsageRatesRpc, WsServerSignalProcessRpc, WsScheduledTasksListRpc, WsScheduledTasksSubscribeRpc, WsScheduledTasksUpsertRpc, WsScheduledTasksSetEnabledRpc, WsScheduledTasksDeleteRpc, WsScheduledTasksRunNowRpc, WsScheduledTasksRotateWebhookTokenRpc, WsSecretsAnswerRequestRpc, WsScheduledTasksListWebhookDeliveriesRpc, WsScheduledTasksGetWebhookDeliveryRpc, WsServerReportClientActivityRpc, WsServerReportHostPowerStateRpc, WsServerGetBackgroundPolicyRpc, WsCloudGetRelayClientStatusRpc, WsCloudInstallRelayClientRpc, WsPullRequestsListRpc, WsPullRequestsListStatsRpc, WsPullRequestsSummaryRpc, WsPullRequestsRoutingRpc, WsPullRequestsRoutingIdentityRpc, WsPullRequestsStackRpc, WsPullRequestsLinkedThreadsRpc, WsPullRequestsDetailRpc, WsPullRequestsPreviewRpc, WsPullRequestsChecksRpc, WsPullRequestsActivityRpc, WsPullRequestsReviewGuideRpc, WsPullRequestsGenerateReviewGuideRpc, WsPullRequestsThreadCommentsRpc, WsPullRequestsDiffFileContentsRpc, WsPullRequestsFilesViewedRpc, WsPullRequestsChangeBreakdownRpc, WsPullRequestsSetFilesViewedRpc, WsPullRequestsRunActionRpc, WsPullRequestsUpdateRpc, WsPullRequestsCommentRpc, WsPullRequestsUpdateCommentRpc, WsPullRequestsSubmitReviewRpc, WsPullRequestsReplyToThreadRpc, WsPullRequestsSetThreadResolutionRpc, WsPullRequestsSetReactionRpc, WsPullRequestsInvalidateRpc, WsPullRequestsReportStateRpc, WsPullRequestsSubscribeRefreshesRpc, WsPullRequestsReviewerCandidatesRpc, WsPullRequestsRequestReviewersRpc, WsPullRequestsLabelCandidatesRpc, WsPullRequestsSetLabelsRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsProjectCloneStartRpc, WsProjectCloneCancelRpc, WsProjectCloneRetryRpc, WsSubscribeProjectClonesRpc, WsProjectsListEntriesRpc, WsProjectsListIgnoredFilesRpc, WsProjectsReadFileRpc, WsProjectsSearchContentsRpc, WsProjectsSearchEntriesRpc, WsProjectsEnsureScratchRpc, WsProjectsCreateNewRpc, WsProjectsWriteFileRpc, WsProjectsMutateRpc, WsShellOpenInEditorRpc, WsFilesystemBrowseRpc, WsFilesystemGetMetadataRpc, WsAgentSessionsScanRpc, WsAgentSessionsImportRpc, WsAssetsCreateUrlRpc, WsAssetsPersistChatAttachmentsRpc, WsAttachmentsCreateUploadUrlRpc, WsAttachmentsDeleteRpc, WsMcpAppsCallToolRpc, WsMcpAppsToolInfoRpc, WsMcpAppsReadResourceRpc, WsMcpAppsUpdateModelContextRpc, WsProviderUploadFeedbackRpc, WsSubscribeVcsStatusRpc, WsSubscribeWorktreeSetupRpc, WsSubscribeThreadDecisionsRpc, WsSelfImproveSubscribeThreadFindingsRpc, WsSelfImproveDismissFindingsRpc, WsSelfImproveSubscribeSettingsRpc, WsSelfImproveUpdateSettingsRpc, WsSelfImproveSaveFindingsRpc, WsSelfImproveUndoSaveRpc, WsSelfImproveSetMemoryMirrorRpc, WsHubSyncSubscribeRpc, WsHubSyncRunNowRpc, WsHubSyncConnectRpc, WsHubSyncDisconnectRpc, WsHubSyncSetModeRpc, WsHubSyncResolveRpc, WsWorktreeSetupCancelRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsGitRunStackedActionRpc, WsGitResolvePullRequestRpc, WsGitPreparePullRequestThreadRpc, WsVcsListRefsRpc, WsVcsCreateWorktreeRpc, WsVcsRemoveWorktreeRpc, WsVcsCreateRefRpc, WsVcsSwitchRefRpc, WsVcsInitRpc, WsReviewGetDiffPreviewRpc, WsReviewGetDiffFileContentsRpc, WsTerminalOpenRpc, WsTerminalAttachRpc, WsTerminalObserveRpc, WsTerminalWriteRpc, WsTerminalResizeRpc, WsTerminalClearRpc, WsTerminalRestartRpc, WsTerminalCloseRpc, WsSubscribeTerminalEventsRpc, WsSubscribeTerminalMetadataRpc, WsPreviewOpenRpc, WsPreviewNavigateRpc, WsPreviewResizeRpc, WsPreviewAdjustRpc, WsPreviewRefreshRpc, WsPreviewCloseRpc, WsPreviewListRpc, WsPreviewClearProfileRpc, WsPreviewReportProfilesRpc, WsPreviewReportStatusRpc, WsSubscribePreviewEventsRpc, WsSubscribeDiscoveredLocalServersRpc, WsDeviceConfigureRpc, WsDeviceListRpc, WsDeviceTestHostRpc, WsDeviceEasAccountRpc, WsDeviceOpenRpc, WsDeviceCloseRpc, WsDeviceShutdownRpc, WsDeviceDetailRpc, WsDeviceActionRpc, WsSubscribeDeviceStateRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeAuthAccessRpc, WsSubscribeBackgroundPolicyRpc, WsSubscribeResourceTelemetryRpc, WsOrchestrationV2DispatchCommandRpc, WsOrchestrationV2GetWorkflowScriptRpc, WsOrchestrationV2StopWorkflowRpc, WsOrchestrationV2GetTurnItemRpc, WsOrchestrationV2GetTurnDiffRpc, WsOrchestrationV2GetFullThreadDiffRpc, WsOrchestrationV2SearchThreadsRpc, WsOrchestrationV2SearchThreadRpc, WsOrchestrationV2SearchThreadStreamRpc, WsOrchestrationV2GetArchivedShellSnapshotRpc, WsOrchestrationV2GetThreadProjectionRpc, WsOrchestrationV2LaunchThreadRpc, WsOrchestrationV2SubscribeArchivedShellRpc, WsOrchestrationV2SubscribeShellRpc, WsOrchestrationV2SubscribeThreadRpc).merge(DesignRpcGroup).middleware(RpcScopeAuthorization);
30443
+ const WsRpcGroup = make(WsServerProbeRpc, WsServerGetConfigRpc, WsServerRefreshProvidersRpc, WsMcpRegistryStateRpc, WsMcpRegistryTestRpc, WsMcpRegistryOAuthStartRpc, WsMcpRegistryOAuthSignOutRpc, WsMcpRegistryProviderSignInStateRpc, WsMcpRegistryProviderSignInStartRpc, WsMcpRegistryProviderSignInWaitRpc, WsMcpRegistryProviderSignInCompleteRpc, WsMcpRegistryProviderSignInCancelRpc, WsMcpRegistryProviderSignOutRpc, WsMcpRegistryDiscoverRpc, WsMcpRegistryImportRpc, WsServerUpdateProviderRpc, WsProviderConsumeResetCreditRpc, WsProviderAuthStartRpc, WsProviderAuthCompleteRpc, WsChatGptReconnectProfileRpc, WsChatGptImportProfileRpc, WsChatGptHandoffSubscribeRpc, WsCodexAuthCallbackSubscribeRpc, WsProviderAuthRespondRpc, WsProviderAuthCancelRpc, WsProviderAuthLogoutRpc, WsProviderAuthSubscribeRpc, WsProviderInstallStartRpc, WsProviderInstallCancelRpc, WsProviderInstallSubscribeRpc, WsProviderInstallRemoveRpc, WsServerUpdateServerRpc, WsServerUpdateServerWithProgressRpc, WsServerCommitDesktopUpdateRpc, WsServerUpsertKeybindingRpc, WsServerRemoveKeybindingRpc, WsServerRunStorageCleanupRpc, WsServerGetStorageCleanupReportRpc, WsServerGetDatabaseStorageRpc, WsServerGetSettingsRpc, WsServerUpdateSettingsRpc, WsPeerLinksListRpc, WsPeerLinksLinkRpc, WsPeerLinksUnlinkRpc, WsPeerLinksAnswerRequestRpc, WsServerDiscoverSourceControlRpc, WsServerSearchAcpRegistryRpc, WsServerPrepareAcpRegistryAgentRpc, WsServerUninstallAcpRegistryManagedBinaryRpc, WsServerAcceptAcpRegistryUrlAuthRpc, WsServerListAcpRegistrySessionsRpc, WsServerImportAcpRegistrySessionRpc, WsServerDeleteAcpRegistrySessionRpc, WsServerListAcpRegistryProvidersRpc, WsServerSetAcpRegistryProviderRpc, WsServerDisableAcpRegistryProviderRpc, WsServerLogoutAcpRegistryRpc, WsServerGetTraceDiagnosticsRpc, WsServerGetProcessDiagnosticsRpc, WsServerGetHostResourcesRpc, WsServerGetProcessResourceHistoryRpc, WsServerGetResourceTelemetryHistoryRpc, WsServerRetryResourceTelemetryRpc, WsServerCheckOtlpEndpointRpc, WsUserInputRankRpc, WsServerGetUsageSummaryRpc, WsServerRefreshUsageRatesRpc, WsServerSignalProcessRpc, WsScheduledTasksListRpc, WsScheduledTasksSubscribeRpc, WsScheduledTasksUpsertRpc, WsScheduledTasksSetEnabledRpc, WsScheduledTasksDeleteRpc, WsScheduledTasksRunNowRpc, WsScheduledTasksRotateWebhookTokenRpc, WsSecretsAnswerRequestRpc, WsScheduledTasksListWebhookDeliveriesRpc, WsScheduledTasksGetWebhookDeliveryRpc, WsServerReportClientActivityRpc, WsServerReportHostPowerStateRpc, WsServerGetBackgroundPolicyRpc, WsCloudGetRelayClientStatusRpc, WsCloudInstallRelayClientRpc, WsPullRequestsListRpc, WsPullRequestsListStatsRpc, WsPullRequestsSummaryRpc, WsPullRequestsRoutingRpc, WsPullRequestsRoutingIdentityRpc, WsPullRequestsStackRpc, WsPullRequestsLinkedThreadsRpc, WsPullRequestsDetailRpc, WsPullRequestsPreviewRpc, WsPullRequestsChecksRpc, WsPullRequestsActivityRpc, WsPullRequestsReviewGuideRpc, WsPullRequestsGenerateReviewGuideRpc, WsPullRequestsThreadCommentsRpc, WsPullRequestsDiffFileContentsRpc, WsPullRequestsFilesViewedRpc, WsPullRequestsChangeBreakdownRpc, WsPullRequestsSetFilesViewedRpc, WsPullRequestsRunActionRpc, WsPullRequestsUpdateRpc, WsPullRequestsCommentRpc, WsPullRequestsUpdateCommentRpc, WsPullRequestsSubmitReviewRpc, WsPullRequestsReplyToThreadRpc, WsPullRequestsSetThreadResolutionRpc, WsPullRequestsSetReactionRpc, WsPullRequestsInvalidateRpc, WsPullRequestsReportStateRpc, WsPullRequestsSubscribeRefreshesRpc, WsPullRequestsReviewerCandidatesRpc, WsPullRequestsRequestReviewersRpc, WsPullRequestsLabelCandidatesRpc, WsPullRequestsSetLabelsRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsProjectCloneStartRpc, WsProjectCloneCancelRpc, WsProjectCloneRetryRpc, WsSubscribeProjectClonesRpc, WsProjectsListEntriesRpc, WsProjectsListIgnoredFilesRpc, WsProjectsReadFileRpc, WsProjectsSearchContentsRpc, WsProjectsSearchEntriesRpc, WsProjectsEnsureScratchRpc, WsProjectsCreateNewRpc, WsProjectsWriteFileRpc, WsProjectsMutateRpc, WsShellOpenInEditorRpc, WsFilesystemBrowseRpc, WsFilesystemGetMetadataRpc, WsAgentSessionsScanRpc, WsAgentSessionsImportRpc, WsAssetsCreateUrlRpc, WsAssetsPersistChatAttachmentsRpc, WsAttachmentsCreateUploadUrlRpc, WsAttachmentsDeleteRpc, WsMcpAppsCallToolRpc, WsMcpAppsToolInfoRpc, WsMcpAppsReadResourceRpc, WsMcpAppsUpdateModelContextRpc, WsProviderUploadFeedbackRpc, WsSubscribeVcsStatusRpc, WsSubscribeWorktreeSetupRpc, WsSubscribeThreadDecisionsRpc, WsSelfImproveSubscribeThreadFindingsRpc, WsSelfImproveDismissFindingsRpc, WsSelfImproveSubscribeSettingsRpc, WsSelfImproveUpdateSettingsRpc, WsSelfImproveSaveFindingsRpc, WsSelfImproveUndoSaveRpc, WsSelfImproveSetMemoryMirrorRpc, WsHubSyncSubscribeRpc, WsHubSyncRunNowRpc, WsHubSyncConnectRpc, WsHubSyncDisconnectRpc, WsHubSyncSetModeRpc, WsHubSyncResolveRpc, WsWorktreeSetupCancelRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsGitRunStackedActionRpc, WsGitResolvePullRequestRpc, WsGitPreparePullRequestThreadRpc, WsVcsListRefsRpc, WsVcsCreateWorktreeRpc, WsVcsRemoveWorktreeRpc, WsVcsCreateRefRpc, WsVcsSwitchRefRpc, WsVcsInitRpc, WsReviewGetDiffPreviewRpc, WsReviewGetDiffFileContentsRpc, WsTerminalOpenRpc, WsTerminalAttachRpc, WsTerminalObserveRpc, WsTerminalWriteRpc, WsTerminalResizeRpc, WsTerminalClearRpc, WsTerminalRestartRpc, WsTerminalCloseRpc, WsSubscribeTerminalEventsRpc, WsSubscribeTerminalMetadataRpc, WsPreviewOpenRpc, WsPreviewNavigateRpc, WsPreviewResizeRpc, WsPreviewAdjustRpc, WsPreviewRefreshRpc, WsPreviewCloseRpc, WsPreviewListRpc, WsPreviewClearProfileRpc, WsPreviewReportProfilesRpc, WsPreviewReportStatusRpc, WsSubscribePreviewEventsRpc, WsSubscribeDiscoveredLocalServersRpc, WsDeviceConfigureRpc, WsDeviceListRpc, WsDeviceTestHostRpc, WsDeviceEasAccountRpc, WsDeviceOpenRpc, WsDeviceCloseRpc, WsDeviceShutdownRpc, WsDeviceDetailRpc, WsDeviceActionRpc, WsSubscribeDeviceStateRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeAuthAccessRpc, WsSubscribeBackgroundPolicyRpc, WsSubscribeResourceTelemetryRpc, WsOrchestrationV2DispatchCommandRpc, WsOrchestrationV2GetWorkflowScriptRpc, WsOrchestrationV2StopWorkflowRpc, WsOrchestrationV2GetTurnItemRpc, WsOrchestrationV2GetTurnDiffRpc, WsOrchestrationV2GetFullThreadDiffRpc, WsOrchestrationV2SearchThreadsRpc, WsOrchestrationV2SearchThreadRpc, WsOrchestrationV2SearchThreadStreamRpc, WsOrchestrationV2GetArchivedShellSnapshotRpc, WsOrchestrationV2GetThreadProjectionRpc, WsOrchestrationV2LaunchThreadRpc, WsOrchestrationV2SubscribeArchivedShellRpc, WsOrchestrationV2SubscribeShellRpc, WsOrchestrationV2SubscribeThreadRpc).merge(DesignRpcGroup).middleware(RpcScopeAuthorization);
29977
30444
  // ../../packages/contracts/src/clientRpcPermissions.ts
29978
30445
  /** Incremental client enforcement; the server still authorizes every request. */
29979
30446
  const CLIENT_GUARDED_RPC_SCOPES = {
@@ -30038,7 +30505,10 @@ const CLIENT_GUARDED_RPC_SCOPES = {
30038
30505
  [WS_METHODS.scheduledTasksDelete]: AuthOrchestrationOperateScope,
30039
30506
  [WS_METHODS.scheduledTasksRunNow]: AuthOrchestrationOperateScope,
30040
30507
  [WS_METHODS.scheduledTasksRotateWebhookToken]: AuthOrchestrationOperateScope,
30041
- [ORCHESTRATION_V2_WS_METHODS.stopWorkflow]: AuthOrchestrationOperateScope
30508
+ [ORCHESTRATION_V2_WS_METHODS.stopWorkflow]: AuthOrchestrationOperateScope,
30509
+ [WS_METHODS.peerLinksLink]: AuthAccessWriteScope,
30510
+ [WS_METHODS.peerLinksUnlink]: AuthAccessWriteScope,
30511
+ [WS_METHODS.peerLinksAnswerRequest]: AuthAccessWriteScope
30042
30512
  };
30043
30513
  const decodePrepareThread = decodeUnknownSync(GitPreparePullRequestThreadInput);
30044
30514
  function clientRpcRequiredScopes(method, input) {
@@ -32112,6 +32582,6 @@ function semanticDiff(before, after) {
32112
32582
  walk(beforeContent, afterContent, "");
32113
32583
  return changes;
32114
32584
  }
32115
- export { WsMcpRegistryProviderSignInWaitRpc as $, PREVIEW_URL_MAX_LENGTH as $a, ProjectScript as $c, bodyStream as $d, AuthAccessWriteScope as $f, EDITORS as $i, OrchestrationGetTurnDiffError as $l, RunId as $m, PreviewAutomationTimeoutError as $n, DesktopBrowserCommand as $o, AcpRegistryProbeResult as $p, ThreadMetadataMcpUpdateResult as $r, OrchestrationV2DispatchCommandResult as $s, make as $t, schemaSearchParams as $u, ComputerUseBrowserChatRequest as A, GitHubHost as Aa, OrchestrationV2ThreadLaunchError as Ac, setBody as Ad, jsonUnsafe$1 as Af, ScheduledTaskWebhookDeliveryId as Ai, SourceControlRepositoryError as Al, ClientOs as Am, PreviewAutomationMalformedResponseError as An, DeviceToolOpenResult as Ao, getPayloadEncoding as Ap, AgentSessionImportSource as Ar, RelayManagedEndpointRecoveryResponse as As, DesignSubscribeRequest as At, middleware as Au, clientRpcRequiredScopes as B, makeBinaryPathSetting as Ba, latestProviderTurnForAttempt as Bc, fromWeb as Bd, BadArgument as Bf, TextGenerationError as Bi, VcsUnsupportedOperationError as Bl, MessageId as Bm, PreviewAutomationRemoteUnavailableError as Bn, DecisionError as Bo, isWithHeadersValue as Bp, OrchestrationThreadSearchSource as Br, ORCHESTRATION_V2_WORKSPACE_PREPARATION_FAILURE_CODE as Bs, DesignInspectRequest as Bt, isTracerDisabledUnsafe as Bu, clean as C, CodexSettings as Ca, OrchestrationV2SearchThreadInput as Cc, html as Cd, ignore as Cf, OrchestratorMcpThreadSendInput as Ci, pullRequestHostOf as Cl, AssistantCitation as Cm, PreviewAutomationControlInterruptedError as Cn, DeviceOperationError as Co, EnvironmentAuthorizationError as Cp, AssetWorkspaceRootNormalizationError as Cr, RelayCloudEnvironmentHealthProofPayload as Cs, SelfImproveSaveFindingsResult as Ct, post as Cu, COMPUTER_USE_DEFAULT_TIMEOUT_MS as D, DEFAULT_BACKGROUND_ACTIVITY_PROFILE as Da, OrchestrationV2Subagent as Dc, raw as Dd, layer$2 as Df, MIN_SCHEDULED_TASK_INTERVAL_MS as Di, SourceControlCloneRepositoryResult as Dl, CheckpointScopeId as Dm, PreviewAutomationEvaluateInput as Dn, DeviceToolError as Do, NoContent as Dp, AttachmentUploadSigningKeyError as Dr, RelayHookDeliveryProofPayload as Ds, DesignListRequest as Dt, RouteContext as Du, toBytes as E, DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL as Ea, OrchestrationV2StoredEvent as Ec, mergeCookies as Ed, report as Ef, OrchestratorMcpThreadWaitResult as Ei, SourceControlCloneRepositoryInput as El, CheckpointRef as Em, PreviewAutomationError as En, DeviceToolCloseInput as Eo, authScopeResponse as Ep, AttachmentDeleteInput as Er, RelayEnvironmentLinkResponse as Es, DesignListReceipt as Et, HttpRouter as Eu, ComputerUseHostResponse as F, ServerSettingsError as Fa, OrchestrationWorkflowFileError as Fc, text as Fd, urlParams$1 as Ff, PullRequestReviewGuideRun as Fi, VcsProcessOutputReadError as Fl, ContextTransferId as Fm, PreviewAutomationRecordingDeadlineExpiredError as Fn, EasDeviceHostConfig as Fo, getWithHeadersAnnotation as Fp, P4_PROJECT_FILE_NAME as Fr, fromApi as Fs, DesignHandoffReceipt as Ft, HttpServer as Fu, WsHubSyncResolveRpc as G, resolveIdleCompaction as Ga, UsageLimitSourceError as Gc, schemaBodyJson as Gd, make$17 as Gf, ServerProvider as Gi, McpServerRuntimeState as Gl, PositiveInt as Gm, PreviewAutomationSelectResult as Gn, resolveDecisionBackend as Go, decode as Gp, AgentAssetFiles as Gr, OrchestrationV2CheckpointJson as Gs, DesignRenderRequest as Gt, requestPreResponseHandlers as Gu, WS_METHODS as H, providerInstanceConfigEnabledFlag as Ha, parseGoalCommand as Hc, MaxBodySize as Hd, badArgument as Hf, VcsListRefsResult as Hi, McpRegistryRpcError as Hl, NonNegativeInt as Hm, PreviewAutomationResizeInput as Hn, DecisionResult as Ho, allShort as Hp, AGENT_ASSET_FILE_MAX_CHARS as Hr, OrchestrationGetWorkflowScriptError as Hs, DesignProposeReceipt as Ht, addHeaderAttributes as Hu, ComputerUseJsInput as I, ServerSettingsPatch as Ia, autoWorkspaceNoticeMessage as Ic, uint8Array as Id, FileSystem as If, PROJECT_CLONE_ERROR_MAX_LENGTH as Ii, VcsProcessSpawnError as Il, DpopFailureReason as Im, PreviewAutomationRecordingDesktopUpdateRequiredError as In, LOCAL_DEVICE_HOST_ID as Io, isNoContent as Ip, PROJECT_FILE_BACKED_SETTINGS as Ir, getParamNames as Is, DesignHandoffRequest as It, addressFormattedWith as Iu, WsHubSyncSubscribeRpc as J, secretSetting as Ja, ProjectCreatePayload as Jc, basicAuth as Jd, ORCHESTRATION_PROTOCOL_QUERY_PARAM as Jf, ServerSelfUpdateError as Ji, RESERVED_MCP_SERVER_NAME as Jl, ProviderThreadId as Jm, PreviewAutomationSnapshot as Jn, INCOGNITO_BROWSER_PROFILE_ID as Jo, makeParser as Jp, AgentAssetListFilter as Jr, OrchestrationV2ContextTransfer as Js, DesignStatusRequest as Jt, HttpServerRequest as Ju, WsHubSyncRunNowRpc as K, resolveProjectProviderInstanceEnabled as Ka, OrchestrationProjectShell as Kc, acceptJson as Kd, ExecutionEnvironmentDescriptor as Kf, ServerProviderCompatibilityStatus as Ki, McpServerTransport as Kl, ProjectId as Km, PreviewAutomationSetColorSchemeInput as Kn, BUILT_IN_BROWSER_PROFILES as Ko, decodeSchema as Kp, AgentAssetId as Kr, OrchestrationV2CheckpointScopeJson as Ks, DesignSelection as Kt, fromHeaders as Ku, ComputerUseOutput as L, UsageLimitSourceConfig as La, isKnownOrchestrationV2EventType as Lc, urlParams as Ld, FileTypeId as Lf, GitCommandError as Li, VcsProcessStdinWriteError as Ll, EnvironmentId as Lm, PreviewAutomationRecordingStatus as Ln, LOCAL_DEVICE_HOST_LABEL as Lo, isStreamSchema$1 as Lp, OrchestrationSearchThreadsError as Lr, toRouterPath as Ls, DesignImportTokensReceipt as Lt, make$6 as Lu, ComputerUseHost as M, ProjectSettingsOverrides as Ma, OrchestrationV2ThreadShell as Mc, setHeaders as Md, stream$1 as Mf, ApplicationProjectEvent as Mi, VcsProcessExitError as Ml, ClientWebDeployment as Mm, PreviewAutomationNoAvailableHostError as Mn, DeviceToolTargetInput as Mo, getResponseEncodingSchema as Mp, AgentSessionSource as Mr, RelayOkResponse as Ms, DesignApplyRequest as Mt, route as Mu, ComputerUseHostRegistration as N, ResponseStreamingMode as Na, OrchestrationV2TurnItem as Nc, setStatus as Nd, text$1 as Nf, OrchestrationDispatchCommandError as Ni, VcsProcessMissingExitCodeError as Nl, CommandId as Nm, PreviewAutomationOpenInput as Nn, DeviceToolUnavailableError as No, getStatusErrorSchema as Np, FilesystemBrowseError as Nr, RelayProtectedError as Ns, DesignGuideReceipt as Nt, serve as Nu, COMPUTER_USE_JEV_TAKE_CODE as O, DEFAULT_PROVIDER_HEALTH_REFRESH_INTERVAL as Oa, OrchestrationV2SubagentJson as Oc, redirect as Od, layerWeak as Of, ScheduledTask as Oi, SourceControlProviderError as Ol, ClientConnectionMethod as Om, PreviewAutomationExecutionError as On, DeviceToolListResult as Oo, StreamSse as Op, AgentSessionImportProjectChangedError as Or, RelayManagedEndpointOrigin as Os, DesignRpcGroup as Ot, add$1 as Ou, ComputerUseHostReport as P, ServerSettings as Pa, OrchestrationV2TurnItemJson as Pc, stream as Pd, uint8Array$1 as Pf, PullRequestReviewGuide as Pi, VcsProcessOutputLimitError as Pl, ContextHandoffId as Pm, PreviewAutomationRecordingArtifact as Pn, DeviceToolVersions as Po, getStatusSuccessSchema as Pp, P4ProjectFile as Pr, annotations as Ps, DesignGuideRequest as Pt, use as Pu, WsMcpRegistryProviderSignInStateRpc as Q, PREVIEW_STREAM_HOST_SETUP_CLOSE_CODE as Qa, ProjectReadFileError as Qc, bodyJsonUnsafe as Qd, AuthAccessTokenType as Qf, isProviderWorkspaceSnapshotCurrent as Qi, OrchestrationGetFullThreadDiffError as Ql, RunAttemptId as Qm, PreviewAutomationTargetNotEditableError as Qn, DesktopAppActivationResponse as Qo, AcpRegistryOperationErrorReason as Qp, ThreadMetadataMcpUpdateInput as Qr, OrchestrationV2DispatchCommandError as Qs, DesignValidateRequest as Qt, schemaHeaders as Qu, computerUseJevStepCode as R, globalIdleCompaction as Ra, isOrchestrationV2WorkActive as Rc, TypeId$13 as Rd, WatchBackend as Rf, GitManagerError as Ri, VcsProcessTimeoutError as Rl, EventId as Rm, PreviewAutomationRecordingTooLargeError as Rn, deviceToolInstallMessage as Ro, isStreamUint8Array as Rp, OrchestrationSearchThreadsInput as Rr, AUTO_WORKSPACE_NOTICE_TITLE as Rs, DesignImportTokensRequest as Rt, TracerDisabledWhen as Ru, anumber as S, ClaudeSettings as Sa, OrchestrationV2SearchThreadError as Sc, file as Sd, TypeId$17 as Sf, OrchestratorMcpThreadReadResult as Si, PullRequestUnavailableError as Sl, ASSISTANT_CITATION_MAX_TEXT_LENGTH as Sm, PreviewAutomationClientDisconnectedError as Sn, DeviceNotFoundError as So, AuthWebSocketTicketUse as Sp, AssetWorkspaceResolutionError as Sr, RelayApi as Ss, SelfImproveReviewers as St, patch as Su, randomBytes as T, DATABASE_COMPACTION_RECOMMENDED_BYTES as Ta, OrchestrationV2StopWorkflowInput as Tc, jsonUnsafe as Td, layer$1 as Tf, OrchestratorMcpThreadWaitInput as Ti, resolvePullRequestAuthorFilter as Tl, CheckpointId as Tm, PreviewAutomationDialogInput as Tn, DevicePlatformUnavailableError as To, authScopeRequiredResponse as Tp, AttachmentCreateUploadUrlResult as Tr, RelayEnvironmentLinkChallengeResponse as Ts, DesignHumanApplyRequest as Tt, normalize as Tu, WsHubSyncConnectRpc as U, requiredScopesForProjectMutation as Ua, ToolActivityIcon as Uc, TypeId$14 as Ud, isPlatformError as Uf, EnvironmentThemeFile as Ui, McpServerId as Ul, PlanId as Um, PreviewAutomationResizeResult as Un, ThreadDecision as Uo, hasBody as Up, AGENT_ASSET_TOTAL_MAX_BYTES as Ur, OrchestrationV2AppThread as Us, DesignProposeRequest as Ut, addUrlAttributes as Uu, RpcScopeAuthorization as V, makeProviderSettingsSchema as Va, orchestrationV2RunWorkStartedAt as Vc, matchStatus as Vd, PlatformError as Vf, VcsListRefsInput as Vi, ModelSelection as Vl, NodeId as Vm, PreviewAutomationRequestQueueClosedError as Vn, DecisionInput as Vo, withHeaders as Vp, HubSyncError as Vr, ORCHESTRATION_V2_WS_METHODS as Vs, DesignLibraryManifest as Vt, tracer as Vu, WsHubSyncDisconnectRpc as W, requiredScopesForServerSettingsPatch as Wa, ToolActivityNativeAppReference as Wc, inspect as Wd, systemError as Wf, EnvironmentThemeId as Wi, McpServerName as Wl, PortSchema as Wm, PreviewAutomationResultTooLargeError as Wn, ThreadDecisionsReadError as Wo, Retry as Wp, AgentAsset as Wr, OrchestrationV2AppThreadJson as Ws, DesignRenderReceipt as Wt, appendPreResponseHandlerUnsafe as Wu, WsMcpRegistryProviderSignInCompleteRpc as X, withIdleCompaction as Xa, ProjectMutation as Xc, bodyFormData as Xd, AuthAccessReadScope as Xf, isProviderAvailable as Xi, resolveRegistryEntryEnabled as Xl, RawEventId as Xm, PreviewAutomationTabNotFoundError as Xn, resolveBrowserProfiles as Xo, AcpRegistryListSessionsResult as Xp, AgentAssetWriteInput as Xr, OrchestrationV2ConversationMessage as Xs, DesignStylesRequest as Xt, TypeId$8 as Xu, WsMcpRegistryProviderSignInCancelRpc as Y, secretSettingsFields as Ya, ProjectListEntriesError as Yc, bearerToken as Yd, ThreadEnvMode as Yf, environmentThemeFileHasColors as Yi, mcpProviderSupport as Yl, ProviderTurnId as Ym, PreviewAutomationStatus as Yn, findBrowserProfile as Yo, AcpRegistryListProvidersResult as Yp, AgentAssetName as Yr, OrchestrationV2ContextTransferJson as Ys, DesignStylesReceipt as Yt, ParsedSearchParams as Yu, WsMcpRegistryProviderSignInStartRpc as Z, FILL_PREVIEW_VIEWPORT as Za, ProjectMutationError as Zc, bodyJson as Zd, AuthAccessStreamError as Zf, isProviderTextGenerationCapable as Zi, supportsProviderMcpSignIn as Zl, RpcClientId as Zm, PreviewAutomationTabTargetInput as Zn, DesktopAppActivationErrorCode as Zo, AcpRegistryOperationError as Zp, agentAssetTotalBytes as Zr, OrchestrationV2ConversationMessageJson as Zs, DesignValidateReceipt as Zt, schemaCookies as Zu, sha512 as _, TerminalSessionLookupError as _a, OrchestrationV2RunAttemptJson as _c, symbol$1 as _d, InvalidUrlError as _f, OrchestratorMcpThreadInterruptInput as _i, PullRequestLinkedThreadsResult as _l, isProviderDriverKind as _m, PREVIEW_AUTOMATION_SERVER_OPERATIONS as _n, THREAD_JUMP_KEYBINDING_COMMANDS as _o, AuthSettingsWriteScope as _p, AssetWorkspaceAssetInspectionError as _r, EnvironmentRequestInvalidError as _s, SelfImproveFindings as _t, del as _u, documentContentDigest as a, ExternalLauncherUnsupportedTargetError as aa, OrchestrationV2GetShellSnapshotError as ac, makeConfig as ad, post$1 as af, TrimmedString as ah, OrchestratorMcpDeleteScheduledTaskInput as ai, DEFAULT_PROVIDER_INTERACTION_MODE as al, DEFAULT_MODEL_BY_PROVIDER as am, getStreamSchemas as an, PreviewSessionLookupError as ao, AuthFilesystemWriteScope as ap, ReviewDiffFileStat as ar, EnvironmentAuthenticatedAuth as as, WsSelfImproveSubscribeSettingsRpc as at, PROVIDER_SEND_TURN_MAX_FILE_BYTES as au, aexists as b, BackgroundActivityProfile as ba, OrchestrationV2RuntimeRequest as bc, make$12 as bd, isHttpClientError as bf, OrchestratorMcpThreadListResult as bi, PullRequestState as bl, ReviewCommentContextRecord as bm, PreviewAutomationActInput as bn, DeviceEasAccountError as bo, AuthTerminalOperateScope as bp, AssetWorkspaceContextResolutionError as br, connectReachabilityHelpUrl as bs, SelfImproveResult as bt, getPayloadSchemas as bu, parseDesign as c, DEFAULT_TERMINAL_ID as ca, OrchestrationV2ProviderFailure as cc, make$8 as cd, setBody$1 as cf, empty$3 as ch, OrchestratorMcpListScheduledTasksInput as ci, ProviderApprovalOption as cl, MODEL_SLUG_ALIASES_BY_PROVIDER as cm, WorktreeMcpHandoffInput as cn, PreviewViewportSetting as co, AuthMcpClientAccess as cp, ATTACHMENT_UPLOAD_URL_TTL_MS as cr, EnvironmentHttpApi as cs, WsSelfImproveUpdateSettingsRpc as ct, PersistChatAttachmentsError as cu, reviewState as d, TerminalCwdStatError as da, OrchestrationV2ProviderSession as dc, ClientAbort$1 as dd, setUrl as df, isHeaders as dh, OrchestratorMcpRequestSecretResult as di, ProviderUserInputAnswers as dl, PREFERRED_DEFAULT_CODEX_MODELS as dm, UsageReadError as dn, KeybindingRule as do, AuthOrchestrationOperateScope as dp, AssetGitHubMediaUrlValidationError as dr, EnvironmentHttpConflictError as ds, WORKTREE_SETUP_ERROR_MAX_LENGTH as dt, Service$1 as du, ExternalLauncherBrowserSpawnError as ea, OrchestrationV2DispatchRejectionReason as ec, toURL as ed, bodyText as ef, RuntimeRequestId as eh, OrchestratorMcpCapabilitiesResult as ei, ProjectSearchContentsError as el, officialAcpRegistryIconUrlForAgentId as em, ServerClient as en, PREVIEW_VIEWPORT_PRESET_IDS as eo, AuthClientMetadataDeviceType as ep, PreviewAutomationUnavailableError as er, DesktopBrowserEvent as es, WsMcpRegistryProviderSignOutRpc as et, OrchestrationGetTurnDiffResult as eu, selectLayoutItems as f, TerminalHistoryError as fa, OrchestrationV2ProviderSessionJson as fc, HttpServerError as fd, setUrlParams as ff, merge as fh, OrchestratorMcpSaveScheduledTaskInput as fi, RuntimeMode as fl, PROVIDER_DISPLAY_NAMES as fm, DesktopHostTelemetryMessage as fn, KeybindingsConfig as fo, AuthOrchestrationReadScope as fp, AssetPreviewTypeValidationError as fr, EnvironmentHttpForbiddenError as fs, WORKTREE_SETUP_STAGE_ORDER as ft, isSecurity as fu, sha384 as g, TerminalResizeError as ga, OrchestrationV2ProviderTurnJson as gc, causeResponse as gd, HttpClientErrorSchema as gf, fromInputUnsafe as gh, OrchestratorMcpTaskStatusInput as gi, ThreadPullRequestLinkSource as gl, defaultInstanceIdForDriver as gm, McpCapabilityUnavailableError as gn, SCRIPT_RUN_COMMAND_PATTERN as go, AuthRelayWriteScope as gp, AssetSigningKeyLoadError as gr, EnvironmentOperationForbiddenError as gs, SelfImproveEvidence as gt, reflect as gu, sha256$1 as h, TerminalProviderInstanceNotFoundError as ha, OrchestrationV2ProviderTurn as hc, ServeError as hd, HttpClientError as hf, bytes as hh, OrchestratorMcpTaskCancelResult as hi, ThreadPullRequestLink as hl, ProviderInstanceMutation as hm, ResourceMonitorEvent as hn, ResolvedKeybindingRule as ho, AuthRelayReadScope as hp, AssetProjectFaviconResolutionError as hr, EnvironmentInternalError as hs, SelfImproveError as ht, make$3 as hu, diagnostic as i, ExternalLauncherUnsupportedEditorError as ia, OrchestrationV2ExecutionNodeJson as ic, limitsServices as id, make$14 as if, TrimmedNonEmptyString as ih, OrchestratorMcpDelegateTaskResult as ii, StoredProjectIcon as il, DEFAULT_MODEL as im, ClientAbort as in, PreviewListResult as io, AuthFilesystemReadScope as ip, McpAppRequestError as ir, EnvironmentAuthInvalidError as is, WsSelfImproveSetMemoryMirrorRpc as it, ChatImageAttachment as iu, ComputerUseError as j, PROJECT_SCOPED_SERVER_SETTING_KEYS as ja, OrchestrationV2ThreadLaunchRequestWorkspaceStrategy as jc, setHeader as jd, raw$1 as jf, ApplicationEventMetadata as ji, VcsDriverKind as jl, ClientSurface as jm, PreviewAutomationNavigateInput as jn, DeviceToolScreenshotResult as jo, getResponseEncoding as jp, AgentSessionScanError as jr, RelayManagedEndpointRuntimeConfig as js, DesignApplyReceipt as jt, params as ju, COMPUTER_USE_MAX_OUTPUT_CHARS as k, DEFAULT_SERVER_SETTINGS as ka, OrchestrationV2ThreadForkSourcePoint as kc, removeHeader as kd, isHttpBody as kf, ScheduledTaskError as ki, SourceControlProviderKind as kl, ClientDeviceType as km, PreviewAutomationInvalidSelectorError as kn, DeviceToolOpenInput as ko, asUint8Array as kp, AgentSessionImportProjectNotFoundError as kr, RelayManagedEndpointRecoveryRegistrationResponse as ks, DesignServiceError as kt, cors as ku, patchNode as l, TerminalCwdNotDirectoryError as la, OrchestrationV2ProviderGoal as lc, Path as ld, setHeader$1 as lf, fromInput as lh, OrchestratorMcpListScheduledTasksResult as li, ProviderInteractionMode as ll, MUSE_DEFAULT_MODEL as lm, WorktreeMcpHandoffResult as ln, symbol as lo, AuthMcpRegistrationError as lp, AssetAttachmentNotFoundError as lr, EnvironmentHttpBadRequestError as ls, WsSubscribeThreadDecisionsRpc as lt, getProviderAttachmentLimitError as lu, validateDesign as m, TerminalProviderEnvironmentError as ma, OrchestrationV2ProviderThreadJson as mc, ResponseError as md, DecodeError as mf, set as mh, OrchestratorMcpTaskCancelInput as mi, ThreadPullRequestKey as ml, ProviderInstanceId as mm, ResourceMonitorCommand as mn, MODEL_PICKER_JUMP_KEYBINDING_COMMANDS as mo, AuthProvidersManageScope as mp, AssetProjectFaviconNotFoundError as mr, EnvironmentHttpUnauthorizedError as ms, SelfImproveDecision as mt, getSlotParseOptions as mu, canonicalSerialize as n, ExternalLauncherEditorSpawnError as na, OrchestrationV2DomainEventJson as nc, TypeId$9 as nd, del$1 as nf, SecretRef as nh, OrchestratorMcpCreateThreadsResult as ni, ProjectUpdatePayload as nl, ANTIGRAVITY_DEFAULT_MODEL as nm, isWrapper as nn, PreviewControlRequiredError as no, AuthEnvironmentMaintainScope as np, PreviewAutomationWaitForInput as nr, DesktopBackendBootstrap as ns, WsSelfImproveDismissFindingsRpc as nt, ChatAttachmentId as nu, fileHash as o, ProviderSetupError as oa, OrchestrationV2GetThreadProjectionError as oc, toPersisted as od, prependUrl as of, TurnItemId as oh, OrchestratorMcpDeleteScheduledTaskResult as oi, DEFAULT_RUNTIME_MODE as ol, DEFAULT_TEXT_GENERATION_MODEL as om, isStreamSchema as on, PreviewStreamHostSetup as oo, AuthGrantScope as op, ReviewDiffPreviewSource as or, EnvironmentAuthenticatedPrincipal as os, WsSelfImproveSubscribeThreadFindingsRpc as ot, PROVIDER_SEND_TURN_MAX_IMAGE_BYTES as ou, semanticDiff as p, TerminalNotRunningError as pa, OrchestrationV2ProviderThread as pc, RequestParseError as pd, make$15 as pf, remove as ph, OrchestratorMcpScheduleTaskResult as pi, ThreadLinkedPullRequest as pl, ProviderDriverKind as pm, DesktopTelemetryControlMessage as pn, KeybindingsConfigError as po, AuthPreviewOperateScope as pp, AssetProjectFaviconInspectionError as pr, EnvironmentHttpInternalServerError as ps, Service as pt, make$2 as pu, WsHubSyncSetModeRpc as q, resolveProviderInstanceEnabled as qa, Project as qc, appendUrlParams as qd, ORCHESTRATION_PROTOCOL_HEADER as qf, ServerProviderUpdateError as qi, PluginId as ql, ProviderSessionId as qm, PreviewAutomationSetColorSchemeResult as qn, DEFAULT_BROWSER_PROFILE_ID as qo, encoder$2 as qp, AgentAssetKind as qr, OrchestrationV2ContextHandoffJson as qs, DesignStatusReceipt as qt, toHeaders as qu, computeLayout as r, ExternalLauncherUnknownEditorError as ra, OrchestrationV2ExecutionNode as rc, isPersistedFile as rd, get$1 as rf, ThreadId as rh, OrchestratorMcpDelegateTaskInput as ri, ProjectWriteFileError as rl, CustomModelSetting as rm, make$1 as rn, PreviewInvalidUrlError as ro, AuthEnvironmentScopes as rp, SERVER_BROWSER_AUTOMATION_CLIENT_ID as rr, RelayClientInstallFailedError as rs, WsSelfImproveSaveFindingsRpc as rt, ChatFileAttachment as ru, isConfinedRelativePath as s, ProviderUploadFeedbackError as sa, OrchestrationV2PlanArtifact as sc, decodeField as sd, put$1 as sf, CurrentRedactedNames as sh, OrchestratorMcpFailure as si, ProviderApprovalDecision as sl, DEFAULT_TEXT_GENERATION_MODEL_BY_PROVIDER as sm, WorktreeMcpFailure as sn, PreviewTabId as so, AuthMcpApprovalError as sp, ReviewDiffPreviewSourceKind as sr, EnvironmentCloudEndpointUnavailableError as ss, WsSelfImproveUndoSaveRpc as st, PROVIDER_SEND_TURN_MAX_INPUT_CHARS as su, buildIndexes as t, ExternalLauncherCommandNotFoundError as ta, OrchestrationV2DomainEvent as tc, MultipartError as td, bodyUrlParams as tf, ScheduledTaskId as th, OrchestratorMcpCreateThreadsInput as ti, ProjectSearchEntriesError as tl, resolveOfficialAcpRegistryIconUrl as tm, exitSchema as tn, PreviewClearProfileError as to, AuthDiagnosticsReadScope as tp, PreviewAutomationUnsupportedClientError as tr, DESKTOP_UPDATE_RESTART_MARKER_FILE as ts, WsRpcGroup as tt, ChatAttachment as tu, resolveValue as u, TerminalCwdNotFoundError as ua, OrchestrationV2ProviderRetry as uc, TypeId$10 as ud, setHeaders$1 as uf, fromRecordUnsafe as uh, OrchestratorMcpRequestSecretInput as ui, ProviderRequestKind as ul, ModelCapabilities as um, WorktreeMcpStatusResult as un, value as uo, AuthMcpTokenError as up, AssetCreateUrlInput as ur, EnvironmentHttpCommonError as us, SecretRequestError as ut, isProviderSendTurnSupportedImageMimeType as uu, Hash as v, TerminalWriteError as va, OrchestrationV2RunJson as vc, toResponse as vd, StatusCodeError as vf, OrchestratorMcpThreadInterruptResult as vi, PullRequestOperationError as vl, ComposerContextRecord as vm, PREVIEW_AUTOMATION_V1_OPERATIONS as vn, DeviceActionUnavailableError as vo, AuthSourceControlWriteScope as vp, AssetWorkspaceAssetNotFoundError as vr, EnvironmentResourceNotFoundError as vs, SelfImproveLabel as vt, get as vu, concatBytes as w, CompressMode as wa, OrchestrationV2StopWorkflowError as wc, isHttpServerResponse as wd, isIgnored as wf, OrchestratorMcpThreadSendResult as wi, pullRequestProviderRequirement as wl, AuthSessionId as wm, PreviewAutomationControlReason as wn, DevicePlatformAvailability as wo, ServerAuthSessionMethod as wp, AttachmentCreateUploadUrlInput as wr, RelayCloudMintCredentialProofPayload as ws, UserInputRankError as wt, put as wu, ahash as x, BackgroundActivityProfileSelection as xa, OrchestrationV2RuntimeRequestJson as xc, empty as xd, CurrentErrorReporters as xf, OrchestratorMcpThreadReadInput as xi, PullRequestSummary as xl, ASSISTANT_CITATION_MAX_COMMENT_LENGTH as xm, PreviewAutomationActInputs as xn, DeviceHostUnavailableError as xo, AuthTerminalReadScope as xp, AssetWorkspacePathValidationError as xr, formatConnectReachable as xs, SelfImproveReview as xt, getSuccessSchemas as xu, abytes as y, AntigravitySettings as ya, OrchestrationV2RunStatus as yc, HttpPlatform as yd, TransportError as yf, OrchestratorMcpThreadListInput as yi, PullRequestStack as yl, OrchestrationMessageContext as ym, PREVIEW_RECORDING_STOP_TIMEOUT_MS as yn, DeviceBootError as yo, AuthStandardClientScopes as yp, AssetWorkspaceContextNotFoundError as yr, EnvironmentScopeRequiredError as ys, SelfImproveRequest as yt, getErrorSchemas as yu, CLIENT_GUARDED_RPC_SCOPES as z, isUnconfiguredDefaultInstanceEnabled as za, isProviderNativeSubagentThread as zc, filterStatusOk as zd, make$16 as zf, GitPullRequestMaterializationError as zi, VcsRepositoryDetectionError as zl, IsoDateTime as zm, PreviewAutomationRecordingTransferError as zn, DECISION_MODELS as zo, isWithHeaders as zp, OrchestrationSearchThreadsResult as zr, AUTO_WORKSPACE_UNDECIDED_REASON as zs, DesignInspectReceipt as zt, compression as zu };
32585
+ export { WsMcpRegistryProviderSignInWaitRpc as $, requiredScopesForServerSettingsPatch as $a, linkOriginIsFenced as $c, fromWeb as $d, BadArgument as $f, EnvironmentThemeId as $i, VcsUnsupportedOperationError as $l, IsoDateTime as $m, PreviewAutomationTimeoutError as $n, DecisionResult as $o, isWithHeaders as $p, PeerLinkRequestError as $r, OrchestrationGetWorkflowScriptError as $s, make as $t, isTracerDisabledUnsafe as $u, ComputerUseBrowserChatRequest as A, BackgroundActivityProfileSelection as Aa, OrchestrationV2RunJson as Ac, symbol$1 as Ad, InvalidUrlError as Af, fromInputUnsafe as Ah, OrchestratorMcpThreadSendInput as Ai, PullRequestLinkedThreadsResult as Al, defaultInstanceIdForDriver as Am, PreviewAutomationMalformedResponseError as An, DeviceHostId as Ao, AuthSettingsWriteScope as Ap, AgentSessionImportSource as Ar, EnvironmentScopeRequiredError as As, DesignSubscribeRequest as At, del as Au, clientRpcRequiredScopes as B, PROJECT_SCOPED_SERVER_SETTING_KEYS as Ba, OrchestrationV2SubagentJson as Bc, raw as Bd, layer$2 as Bf, ApplicationEventMetadata as Bi, SourceControlCloneRepositoryResult as Bl, CheckpointRef as Bm, PreviewAutomationRemoteUnavailableError as Bn, DeviceToolOpenInput as Bo, mcpClientScopes as Bp, OrchestrationThreadSearchSource as Br, RelayManagedEndpointRecoveryRegistrationResponse as Bs, DesignInspectRequest as Bt, RouteContext as Bu, clean as C, TerminalProviderEnvironmentError as Ca, OrchestrationV2ProviderSession as Cc, TypeId$10 as Cd, setHeaders$1 as Cf, fromInput as Ch, OrchestratorMcpTaskStatusInput as Ci, ProviderRequestKind as Cl, MUSE_DEFAULT_MODEL as Cm, PreviewAutomationControlInterruptedError as Cn, MODEL_PICKER_JUMP_KEYBINDING_COMMANDS as Co, AuthMcpTokenError as Cp, AssetWorkspaceRootNormalizationError as Cr, EnvironmentHttpForbiddenError as Cs, SelfImproveSaveFindingsResult as Ct, isProviderSendTurnSupportedImageMimeType as Cu, COMPUTER_USE_DEFAULT_TIMEOUT_MS as D, TerminalWriteError as Da, OrchestrationV2ProviderTurn as Dc, ResponseError as Dd, DecodeError as Df, remove as Dh, OrchestratorMcpThreadListResult as Di, ThreadPullRequestKey as Dl, ProviderDriverKind as Dm, PreviewAutomationEvaluateInput as Dn, DeviceActionUnavailableError as Do, AuthProvidersManageScope as Dp, AttachmentUploadSigningKeyError as Dr, EnvironmentOperationForbiddenError as Ds, DesignListRequest as Dt, getSlotParseOptions as Du, toBytes as E, TerminalSessionLookupError as Ea, OrchestrationV2ProviderThreadJson as Ec, RequestParseError as Ed, make$15 as Ef, merge as Eh, OrchestratorMcpThreadListInput as Ei, ThreadLinkedPullRequest as El, PROVIDER_DISPLAY_NAMES as Em, PreviewAutomationError as En, THREAD_JUMP_KEYBINDING_COMMANDS as Eo, AuthPreviewOperateScope as Ep, AttachmentDeleteInput as Er, EnvironmentInternalError as Es, DesignListReceipt as Et, make$2 as Eu, ComputerUseHostResponse as F, DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL as Fa, OrchestrationV2SearchThreadInput as Fc, file as Fd, TypeId$17 as Ff, ThreadMetadataMcpUpdateResult as Fi, PullRequestUnavailableError as Fl, ASSISTANT_CITATION_MAX_COMMENT_LENGTH as Fm, PreviewAutomationRecordingDeadlineExpiredError as Fn, DevicePlatformAvailability as Fo, EnvironmentAuthorizationError as Fp, P4_PROJECT_FILE_NAME as Fr, RelayCloudMintCredentialProofPayload as Fs, DesignHandoffReceipt as Ft, patch as Fu, WsHubSyncResolveRpc as G, ServerSettingsPatch as Ga, OrchestrationV2TurnItem as Gc, setHeaders as Gd, stream$1 as Gf, PROJECT_CLONE_ERROR_MAX_LENGTH as Gi, VcsProcessExitError as Gl, ClientSurface as Gm, PreviewAutomationSelectResult as Gn, DeviceToolVersions as Go, getResponseEncoding as Gp, AgentAssetFiles as Gr, annotations as Gs, DesignRenderRequest as Gt, route as Gu, WS_METHODS as H, ResponseStreamingMode as Ha, OrchestrationV2ThreadLaunchError as Hc, removeHeader as Hd, isHttpBody as Hf, OrchestrationDispatchCommandError as Hi, SourceControlProviderKind as Hl, ClientConnectionMethod as Hm, PreviewAutomationResizeInput as Hn, DeviceToolScreenshotResult as Ho, StreamSse as Hp, AGENT_ASSET_FILE_MAX_CHARS as Hr, RelayManagedEndpointRuntimeConfig as Hs, DesignProposeReceipt as Ht, cors as Hu, ComputerUseJsInput as I, DEFAULT_BACKGROUND_ACTIVITY_PROFILE as Ia, OrchestrationV2StopWorkflowError as Ic, html as Id, ignore as If, MIN_SCHEDULED_TASK_INTERVAL_MS as Ii, pullRequestHostOf as Il, ASSISTANT_CITATION_MAX_TEXT_LENGTH as Im, PreviewAutomationRecordingDesktopUpdateRequiredError as In, DevicePlatformUnavailableError as Io, MCP_PEER_LINK_SOFTWARE_ID as Ip, PROJECT_FILE_BACKED_SETTINGS as Ir, RelayEnvironmentLinkChallengeResponse as Is, DesignHandoffRequest as It, post as Iu, WsHubSyncSubscribeRpc as J, isUnconfiguredDefaultInstanceEnabled as Ja, autoWorkspaceNoticeMessage as Jc, text as Jd, urlParams$1 as Jf, GitPullRequestMaterializationError as Ji, VcsProcessOutputReadError as Jl, ContextHandoffId as Jm, PreviewAutomationSnapshot as Jn, LOCAL_DEVICE_HOST_LABEL as Jo, getStatusSuccessSchema as Jp, AgentAssetListFilter as Jr, toRouterPath as Js, DesignStatusRequest as Jt, HttpServer as Ju, WsHubSyncRunNowRpc as K, UsageLimitSourceConfig as Ka, OrchestrationV2TurnItemJson as Kc, setStatus as Kd, text$1 as Kf, GitCommandError as Ki, VcsProcessMissingExitCodeError as Kl, ClientWebDeployment as Km, PreviewAutomationSetColorSchemeInput as Kn, EasDeviceHostConfig as Ko, getResponseEncodingSchema as Kp, AgentAssetId as Kr, fromApi as Ks, DesignSelection as Kt, serve as Ku, ComputerUseOutput as L, DEFAULT_PROVIDER_HEALTH_REFRESH_INTERVAL as La, OrchestrationV2StopWorkflowInput as Lc, isHttpServerResponse as Ld, isIgnored as Lf, ScheduledTask as Li, pullRequestProviderRequirement as Ll, AssistantCitation as Lm, PreviewAutomationRecordingStatus as Ln, DeviceToolCloseInput as Lo, ServerAuthSessionMethod as Lp, OrchestrationSearchThreadsError as Lr, RelayEnvironmentLinkResponse as Ls, DesignImportTokensReceipt as Lt, put as Lu, ComputerUseHost as M, CodexSettings as Ma, OrchestrationV2RuntimeRequest as Mc, HttpPlatform as Md, TransportError as Mf, OrchestratorMcpThreadWaitInput as Mi, PullRequestStack as Ml, ComposerContextRecord as Mm, PreviewAutomationNoAvailableHostError as Mn, DeviceId as Mo, AuthTerminalOperateScope as Mp, AgentSessionSource as Mr, formatConnectReachable as Ms, DesignApplyRequest as Mt, getErrorSchemas as Mu, ComputerUseHostRegistration as N, CompressMode as Na, OrchestrationV2RuntimeRequestJson as Nc, make$12 as Nd, isHttpClientError as Nf, OrchestratorMcpThreadWaitResult as Ni, PullRequestState as Nl, OrchestrationMessageContext as Nm, PreviewAutomationOpenInput as Nn, DeviceNotFoundError as No, AuthTerminalReadScope as Np, FilesystemBrowseError as Nr, RelayApi as Ns, DesignGuideReceipt as Nt, getPayloadSchemas as Nu, COMPUTER_USE_JEV_TAKE_CODE as O, AntigravitySettings as Oa, OrchestrationV2ProviderTurnJson as Oc, ServeError as Od, HttpClientError as Of, set as Oh, OrchestratorMcpThreadReadInput as Oi, ThreadPullRequestLink as Ol, ProviderInstanceId as Om, PreviewAutomationExecutionError as On, DeviceBootError as Oo, AuthRelayReadScope as Op, AgentSessionImportProjectChangedError as Or, EnvironmentRequestInvalidError as Os, DesignRpcGroup as Ot, make$3 as Ou, ComputerUseHostReport as P, DATABASE_COMPACTION_RECOMMENDED_BYTES as Pa, OrchestrationV2SearchThreadError as Pc, empty as Pd, CurrentErrorReporters as Pf, ThreadMetadataMcpUpdateInput as Pi, PullRequestSummary as Pl, ReviewCommentContextRecord as Pm, PreviewAutomationRecordingArtifact as Pn, DeviceOperationError as Po, AuthWebSocketTicketUse as Pp, P4ProjectFile as Pr, RelayCloudEnvironmentHealthProofPayload as Ps, DesignGuideRequest as Pt, getSuccessSchemas as Pu, WsMcpRegistryProviderSignInStateRpc as Q, requiredScopesForProjectMutation as Qa, latestProviderTurnForAttempt as Qc, filterStatusOk as Qd, make$16 as Qf, EnvironmentThemeFile as Qi, VcsRepositoryDetectionError as Ql, EventId as Qm, PreviewAutomationTargetNotEditableError as Qn, DecisionInput as Qo, isStreamUint8Array as Qp, PeerLinkError as Qr, ORCHESTRATION_V2_WS_METHODS as Qs, DesignValidateRequest as Qt, compression as Qu, computerUseJevStepCode as R, DEFAULT_SERVER_SETTINGS as Ra, OrchestrationV2StoredEvent as Rc, jsonUnsafe as Rd, layer$1 as Rf, ScheduledTaskError as Ri, resolvePullRequestAuthorFilter as Rl, AuthSessionId as Rm, PreviewAutomationRecordingTooLargeError as Rn, DeviceToolError as Ro, authScopeRequiredResponse as Rp, OrchestrationSearchThreadsInput as Rr, RelayHookDeliveryProofPayload as Rs, DesignImportTokensRequest as Rt, normalize as Ru, anumber as S, TerminalNotRunningError as Sa, OrchestrationV2ProviderRetry as Sc, Path as Sd, setHeader$1 as Sf, empty$3 as Sh, OrchestratorMcpTaskCancelResult as Si, ProviderInteractionMode as Sl, MODEL_SLUG_ALIASES_BY_PROVIDER as Sm, PreviewAutomationClientDisconnectedError as Sn, KeybindingsConfigError as So, AuthMcpRegistrationError as Sp, AssetWorkspaceResolutionError as Sr, EnvironmentHttpConflictError as Ss, SelfImproveReviewers as St, getProviderAttachmentLimitError as Su, randomBytes as T, TerminalResizeError as Ta, OrchestrationV2ProviderThread as Tc, HttpServerError as Td, setUrlParams as Tf, isHeaders as Th, OrchestratorMcpThreadInterruptResult as Ti, RuntimeMode as Tl, PREFERRED_DEFAULT_CODEX_MODELS as Tm, PreviewAutomationDialogInput as Tn, SCRIPT_RUN_COMMAND_PATTERN as To, AuthOrchestrationReadScope as Tp, AttachmentCreateUploadUrlResult as Tr, EnvironmentHttpUnauthorizedError as Ts, DesignHumanApplyRequest as Tt, isSecurity as Tu, WsHubSyncConnectRpc as U, ServerSettings as Ua, OrchestrationV2ThreadLaunchRequestWorkspaceStrategy as Uc, setBody as Ud, jsonUnsafe$1 as Uf, PullRequestReviewGuide as Ui, SourceControlRepositoryError as Ul, ClientDeviceType as Um, PreviewAutomationResizeResult as Un, DeviceToolTargetInput as Uo, asUint8Array as Up, AGENT_ASSET_TOTAL_MAX_BYTES as Ur, RelayOkResponse as Us, DesignProposeRequest as Ut, middleware as Uu, RpcScopeAuthorization as V, ProjectSettingsOverrides as Va, OrchestrationV2ThreadForkSourcePoint as Vc, redirect as Vd, layerWeak as Vf, ApplicationProjectEvent as Vi, SourceControlProviderError as Vl, CheckpointScopeId as Vm, PreviewAutomationRequestQueueClosedError as Vn, DeviceToolOpenResult as Vo, NoContent as Vp, HubSyncError as Vr, RelayManagedEndpointRecoveryResponse as Vs, DesignLibraryManifest as Vt, add$1 as Vu, WsHubSyncDisconnectRpc as W, ServerSettingsError as Wa, OrchestrationV2ThreadShell as Wc, setHeader as Wd, raw$1 as Wf, PullRequestReviewGuideRun as Wi, VcsDriverKind as Wl, ClientOs as Wm, PreviewAutomationResultTooLargeError as Wn, DeviceToolUnavailableError as Wo, getPayloadEncoding as Wp, AgentAsset as Wr, RelayProtectedError as Ws, DesignRenderReceipt as Wt, params as Wu, WsMcpRegistryProviderSignInCompleteRpc as X, makeProviderSettingsSchema as Xa, isOrchestrationV2WorkActive as Xc, urlParams as Xd, FileTypeId as Xf, VcsListRefsInput as Xi, VcsProcessStdinWriteError as Xl, DpopFailureReason as Xm, PreviewAutomationTabNotFoundError as Xn, DECISION_MODELS as Xo, isNoContent as Xp, AgentAssetWriteInput as Xr, AUTO_WORKSPACE_UNDECIDED_REASON as Xs, DesignStylesRequest as Xt, make$6 as Xu, WsMcpRegistryProviderSignInCancelRpc as Y, makeBinaryPathSetting as Ya, isKnownOrchestrationV2EventType as Yc, uint8Array as Yd, FileSystem as Yf, TextGenerationError as Yi, VcsProcessSpawnError as Yl, ContextTransferId as Ym, PreviewAutomationStatus as Yn, deviceToolInstallMessage as Yo, getWithHeadersAnnotation as Yp, AgentAssetName as Yr, AUTO_WORKSPACE_NOTICE_TITLE as Ys, DesignStylesReceipt as Yt, addressFormattedWith as Yu, WsMcpRegistryProviderSignInStartRpc as Z, providerInstanceConfigEnabledFlag as Za, isProviderNativeSubagentThread as Zc, TypeId$13 as Zd, WatchBackend as Zf, VcsListRefsResult as Zi, VcsProcessTimeoutError as Zl, EnvironmentId as Zm, PreviewAutomationTabTargetInput as Zn, DecisionError as Zo, isStreamSchema$1 as Zp, agentAssetTotalBytes as Zr, ORCHESTRATION_V2_WORKSPACE_PREPARATION_FAILURE_CODE as Zs, DesignValidateReceipt as Zt, TracerDisabledWhen as Zu, sha512 as _, DEFAULT_TERMINAL_ID as _a, OrchestrationV2GetShellSnapshotError as _c, limitsServices as _d, make$14 as _f, ThreadId as _h, OrchestratorMcpRequestSecretInput as _i, StoredProjectIcon as _l, CustomModelSetting as _m, PREVIEW_AUTOMATION_SERVER_OPERATIONS as _n, PreviewViewportSetting as _o, AuthFilesystemReadScope as _p, AssetWorkspaceAssetInspectionError as _r, EnvironmentAuthenticatedPrincipal as _s, SelfImproveFindings as _t, ChatImageAttachment as _u, documentContentDigest as a, isProviderAvailable as aa, OrchestrationV2ContextTransfer as ac, fromHeaders as ad, acceptJson as af, PositiveInt as ah, OrchestratorMcpDelegateTaskResult as ai, OrchestrationProjectShell as al, decode as am, getStreamSchemas as an, withIdleCompaction as ao, ExecutionEnvironmentDescriptor as ap, ReviewDiffFileStat as ar, INCOGNITO_BROWSER_PROFILE_ID as as, WsSelfImproveSubscribeSettingsRpc as at, McpServerTransport as au, aexists as b, TerminalCwdStatError as ba, OrchestrationV2ProviderFailure as bc, decodeField as bd, put$1 as bf, TurnItemId as bh, OrchestratorMcpScheduleTaskResult as bi, ProviderApprovalDecision as bl, DEFAULT_TEXT_GENERATION_MODEL as bm, PreviewAutomationActInput as bn, KeybindingRule as bo, AuthMcpApprovalError as bp, AssetWorkspaceContextResolutionError as br, EnvironmentHttpBadRequestError as bs, SelfImproveResult as bt, PROVIDER_SEND_TURN_MAX_INPUT_CHARS as bu, parseDesign as c, EDITORS as ca, OrchestrationV2ConversationMessageJson as cc, ParsedSearchParams as cd, bearerToken as cf, ProviderThreadId as ch, OrchestratorMcpEnvironmentLinkInput as ci, ProjectListEntriesError as cl, makeParser as cm, WorktreeMcpHandoffInput as cn, PREVIEW_URL_MAX_LENGTH as co, ThreadEnvMode as cp, ATTACHMENT_UPLOAD_URL_TTL_MS as cr, DesktopAppActivationErrorCode as cs, WsSelfImproveUpdateSettingsRpc as ct, mcpProviderSupport as cu, reviewState as d, ExternalLauncherEditorSpawnError as da, OrchestrationV2DispatchCommandResult as dc, schemaHeaders as dd, bodyJsonUnsafe as df, RpcClientId as dh, OrchestratorMcpEnvironmentTarget as di, ProjectReadFileError as dl, AcpRegistryOperationError as dm, UsageReadError as dn, PreviewControlRequiredError as do, AuthAccessTokenType as dp, AssetGitHubMediaUrlValidationError as dr, DesktopBrowserEvent as ds, WORKTREE_SETUP_ERROR_MAX_LENGTH as dt, OrchestrationGetFullThreadDiffError as du, ServerProvider as ea, OrchestrationV2AppThread as ec, tracer as ed, matchStatus as ef, MessageId as eh, OrchestratorMcpCapabilitiesResult as ei, orchestrationV2RunWorkStartedAt as el, isWithHeadersValue as em, ServerClient as en, resolveIdleCompaction as eo, PlatformError as ep, PreviewAutomationUnavailableError as er, ThreadDecision as es, WsMcpRegistryProviderSignOutRpc as et, ModelSelection as eu, selectLayoutItems as f, ExternalLauncherUnknownEditorError as fa, OrchestrationV2DispatchRejectionReason as fc, schemaSearchParams as fd, bodyStream as ff, RunAttemptId as fh, OrchestratorMcpEnvironmentUnlinkInput as fi, ProjectScript as fl, AcpRegistryOperationErrorReason as fm, DesktopHostTelemetryMessage as fn, PreviewInvalidUrlError as fo, AuthAccessWriteScope as fp, AssetPreviewTypeValidationError as fr, DESKTOP_UPDATE_RESTART_MARKER_FILE as fs, WORKTREE_SETUP_STAGE_ORDER as ft, OrchestrationGetTurnDiffError as fu, sha384 as g, ProviderUploadFeedbackError as ga, OrchestrationV2ExecutionNodeJson as gc, isPersistedFile as gd, get$1 as gf, SecretRef as gh, OrchestratorMcpListScheduledTasksResult as gi, ProjectWriteFileError as gl, ANTIGRAVITY_DEFAULT_MODEL as gm, McpCapabilityUnavailableError as gn, PreviewTabId as go, AuthEnvironmentScopes as gp, AssetSigningKeyLoadError as gr, EnvironmentAuthenticatedAuth as gs, SelfImproveEvidence as gt, ChatFileAttachment as gu, sha256$1 as h, ProviderSetupError as ha, OrchestrationV2ExecutionNode as hc, TypeId$9 as hd, del$1 as hf, ScheduledTaskId as hh, OrchestratorMcpListScheduledTasksInput as hi, ProjectUpdatePayload as hl, resolveOfficialAcpRegistryIconUrl as hm, ResourceMonitorEvent as hn, PreviewStreamHostSetup as ho, AuthEnvironmentMaintainScope as hp, AssetProjectFaviconResolutionError as hr, EnvironmentAuthInvalidError as hs, SelfImproveError as ht, ChatAttachmentId as hu, diagnostic as i, environmentThemeFileHasColors as ia, OrchestrationV2ContextHandoffJson as ic, requestPreResponseHandlers as id, schemaBodyJson as if, PortSchema as ih, OrchestratorMcpDelegateTaskInput as ii, UsageLimitSourceError as il, Retry as im, ClientAbort as in, secretSettingsFields as io, make$17 as ip, McpAppRequestError as ir, DEFAULT_BROWSER_PROFILE_ID as is, WsSelfImproveSetMemoryMirrorRpc as it, McpServerRuntimeState as iu, ComputerUseError as j, ClaudeSettings as ja, OrchestrationV2RunStatus as jc, toResponse as jd, StatusCodeError as jf, OrchestratorMcpThreadSendResult as ji, PullRequestOperationError as jl, isProviderDriverKind as jm, PreviewAutomationNavigateInput as jn, DeviceHostUnavailableError as jo, AuthStandardClientScopes as jp, AgentSessionScanError as jr, connectReachabilityHelpUrl as js, DesignApplyReceipt as jt, get as ju, COMPUTER_USE_MAX_OUTPUT_CHARS as k, BackgroundActivityProfile as ka, OrchestrationV2RunAttemptJson as kc, causeResponse as kd, HttpClientErrorSchema as kf, bytes as kh, OrchestratorMcpThreadReadResult as ki, ThreadPullRequestLinkSource as kl, ProviderInstanceMutation as km, PreviewAutomationInvalidSelectorError as kn, DeviceEasAccountError as ko, AuthRelayWriteScope as kp, AgentSessionImportProjectNotFoundError as kr, EnvironmentResourceNotFoundError as ks, DesignServiceError as kt, reflect as ku, patchNode as l, ExternalLauncherBrowserSpawnError as la, OrchestrationV2DelegatedFrom as lc, TypeId$8 as ld, bodyFormData as lf, ProviderTurnId as lh, OrchestratorMcpEnvironmentLinkResult as li, ProjectMutation as ll, AcpRegistryListProvidersResult as lm, WorktreeMcpHandoffResult as ln, PREVIEW_VIEWPORT_PRESET_IDS as lo, AuthAccessReadScope as lp, AssetAttachmentNotFoundError as lr, DesktopAppActivationResponse as ls, WsSubscribeThreadDecisionsRpc as lt, resolveRegistryEntryEnabled as lu, validateDesign as m, ExternalLauncherUnsupportedTargetError as ma, OrchestrationV2DomainEventJson as mc, MultipartError as md, bodyUrlParams as mf, RuntimeRequestId as mh, OrchestratorMcpFailure as mi, ProjectSearchEntriesError as ml, officialAcpRegistryIconUrlForAgentId as mm, ResourceMonitorCommand as mn, PreviewSessionLookupError as mo, AuthDiagnosticsReadScope as mp, AssetProjectFaviconNotFoundError as mr, RelayClientInstallFailedError as ms, SelfImproveDecision as mt, ChatAttachment as mu, canonicalSerialize as n, ServerProviderUpdateError as na, OrchestrationV2CheckpointJson as nc, addUrlAttributes as nd, TypeId$14 as nf, NonNegativeInt as nh, OrchestratorMcpCreateThreadsInput as ni, ToolActivityIcon as nl, allShort as nm, isWrapper as nn, resolveProviderInstanceEnabled as no, isPlatformError as np, PreviewAutomationWaitForInput as nr, resolveDecisionBackend as ns, WsSelfImproveDismissFindingsRpc as nt, McpServerId as nu, fileHash as o, isProviderTextGenerationCapable as oa, OrchestrationV2ContextTransferJson as oc, toHeaders as od, appendUrlParams as of, ProjectId as oh, OrchestratorMcpDeleteScheduledTaskInput as oi, Project as ol, decodeSchema as om, isStreamSchema as on, FILL_PREVIEW_VIEWPORT as oo, ORCHESTRATION_PROTOCOL_HEADER as op, ReviewDiffPreviewSource as or, findBrowserProfile as os, WsSelfImproveSubscribeThreadFindingsRpc as ot, PluginId as ou, semanticDiff as p, ExternalLauncherUnsupportedEditorError as pa, OrchestrationV2DomainEvent as pc, toURL as pd, bodyText as pf, RunId as ph, OrchestratorMcpEnvironmentUnlinkResult as pi, ProjectSearchContentsError as pl, AcpRegistryProbeResult as pm, DesktopTelemetryControlMessage as pn, PreviewListResult as po, AuthClientMetadataDeviceType as pp, AssetProjectFaviconInspectionError as pr, DesktopBackendBootstrap as ps, Service as pt, OrchestrationGetTurnDiffResult as pu, WsHubSyncSetModeRpc as q, globalIdleCompaction as qa, OrchestrationWorkflowFileError as qc, stream as qd, uint8Array$1 as qf, GitManagerError as qi, VcsProcessOutputLimitError as ql, CommandId as qm, PreviewAutomationSetColorSchemeResult as qn, LOCAL_DEVICE_HOST_ID as qo, getStatusErrorSchema as qp, AgentAssetKind as qr, getParamNames as qs, DesignStatusReceipt as qt, use as qu, computeLayout as r, ServerSelfUpdateError as ra, OrchestrationV2CheckpointScopeJson as rc, appendPreResponseHandlerUnsafe as rd, inspect as rf, PlanId as rh, OrchestratorMcpCreateThreadsResult as ri, ToolActivityNativeAppReference as rl, hasBody as rm, make$1 as rn, secretSetting as ro, systemError as rp, SERVER_BROWSER_AUTOMATION_CLIENT_ID as rr, BUILT_IN_BROWSER_PROFILES as rs, WsSelfImproveSaveFindingsRpc as rt, McpServerName as ru, isConfinedRelativePath as s, isProviderWorkspaceSnapshotCurrent as sa, OrchestrationV2ConversationMessage as sc, HttpServerRequest as sd, basicAuth as sf, ProviderSessionId as sh, OrchestratorMcpDeleteScheduledTaskResult as si, ProjectCreatePayload as sl, encoder$2 as sm, WorktreeMcpFailure as sn, PREVIEW_STREAM_HOST_SETUP_CLOSE_CODE as so, ORCHESTRATION_PROTOCOL_QUERY_PARAM as sp, ReviewDiffPreviewSourceKind as sr, resolveBrowserProfiles as ss, WsSelfImproveUndoSaveRpc as st, RESERVED_MCP_SERVER_NAME as su, buildIndexes as t, ServerProviderCompatibilityStatus as ta, OrchestrationV2AppThreadJson as tc, addHeaderAttributes as td, MaxBodySize as tf, NodeId as th, OrchestratorMcpClientRequestId as ti, parseGoalCommand as tl, withHeaders as tm, exitSchema as tn, resolveProjectProviderInstanceEnabled as to, badArgument as tp, PreviewAutomationUnsupportedClientError as tr, ThreadDecisionsReadError as ts, WsRpcGroup as tt, McpRegistryRpcError as tu, resolveValue as u, ExternalLauncherCommandNotFoundError as ua, OrchestrationV2DispatchCommandError as uc, schemaCookies as ud, bodyJson as uf, RawEventId as uh, OrchestratorMcpEnvironmentLinksResult as ui, ProjectMutationError as ul, AcpRegistryListSessionsResult as um, WorktreeMcpStatusResult as un, PreviewClearProfileError as uo, AuthAccessStreamError as up, AssetCreateUrlInput as ur, DesktopBrowserCommand as us, SecretRequestError as ut, supportsProviderMcpSignIn as uu, Hash as v, TerminalCwdNotDirectoryError as va, OrchestrationV2GetThreadProjectionError as vc, makeConfig as vd, post$1 as vf, TrimmedNonEmptyString as vh, OrchestratorMcpRequestSecretResult as vi, DEFAULT_PROVIDER_INTERACTION_MODE as vl, DEFAULT_MODEL as vm, PREVIEW_AUTOMATION_V1_OPERATIONS as vn, symbol as vo, AuthFilesystemWriteScope as vp, AssetWorkspaceAssetNotFoundError as vr, EnvironmentCloudEndpointUnavailableError as vs, SelfImproveLabel as vt, PROVIDER_SEND_TURN_MAX_FILE_BYTES as vu, concatBytes as w, TerminalProviderInstanceNotFoundError as wa, OrchestrationV2ProviderSessionJson as wc, ClientAbort$1 as wd, setUrl as wf, fromRecordUnsafe as wh, OrchestratorMcpThreadInterruptInput as wi, ProviderUserInputAnswers as wl, ModelCapabilities as wm, PreviewAutomationControlReason as wn, ResolvedKeybindingRule as wo, AuthOrchestrationOperateScope as wp, AttachmentCreateUploadUrlInput as wr, EnvironmentHttpInternalServerError as ws, UserInputRankError as wt, Service$1 as wu, ahash as x, TerminalHistoryError as xa, OrchestrationV2ProviderGoal as xc, make$8 as xd, setBody$1 as xf, CurrentRedactedNames as xh, OrchestratorMcpTaskCancelInput as xi, ProviderApprovalOption as xl, DEFAULT_TEXT_GENERATION_MODEL_BY_PROVIDER as xm, PreviewAutomationActInputs as xn, KeybindingsConfig as xo, AuthMcpClientAccess as xp, AssetWorkspacePathValidationError as xr, EnvironmentHttpCommonError as xs, SelfImproveReview as xt, PersistChatAttachmentsError as xu, abytes as y, TerminalCwdNotFoundError as ya, OrchestrationV2PlanArtifact as yc, toPersisted as yd, prependUrl as yf, TrimmedString as yh, OrchestratorMcpSaveScheduledTaskInput as yi, DEFAULT_RUNTIME_MODE as yl, DEFAULT_MODEL_BY_PROVIDER as ym, PREVIEW_RECORDING_STOP_TIMEOUT_MS as yn, value as yo, AuthGrantScope as yp, AssetWorkspaceContextNotFoundError as yr, EnvironmentHttpApi as ys, SelfImproveRequest as yt, PROVIDER_SEND_TURN_MAX_IMAGE_BYTES as yu, CLIENT_GUARDED_RPC_SCOPES as z, GitHubHost as za, OrchestrationV2Subagent as zc, mergeCookies as zd, report as zf, ScheduledTaskWebhookDeliveryId as zi, SourceControlCloneRepositoryInput as zl, CheckpointId as zm, PreviewAutomationRecordingTransferError as zn, DeviceToolListResult as zo, authScopeResponse as zp, OrchestrationThreadSearchMatch as zr, RelayManagedEndpointOrigin as zs, DesignInspectReceipt as zt, HttpRouter as zu };
32116
32586
 
32117
- //# sourceMappingURL=runtime-KPwu-Er9.mjs.map
32587
+ //# sourceMappingURL=runtime-CAtWuL14.mjs.map