@p4code/cli 0.8.13 → 0.8.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.mjs +1 -1
- package/dist/{binCli-B9aQxlIK.mjs → binCli-IAUzRF0Y.mjs} +283 -105
- package/dist/client/.vite/manifest.json +2143 -2143
- package/dist/client/assets/AlertDialogRoot-DYtW2IF3.js +2 -0
- package/dist/client/assets/{AnimatedHeight-CH-N3JTc.js → AnimatedHeight-CzFc8xri.js} +2 -2
- package/dist/client/assets/{AuthSurfaceShell-CJdXkxyH.js → AuthSurfaceShell-ByOYQAV0.js} +2 -2
- package/dist/client/assets/{CSPContext-4VAD2_gc.js → CSPContext-DcW0os5z.js} +2 -2
- package/dist/client/assets/{ChatGptUsageButton-7u9uPgbK.js → ChatGptUsageButton-KFBZLDN7.js} +2 -2
- package/dist/client/assets/{ChatMarkdown-C22JFyYa.js → ChatMarkdown-BoxySKsC.js} +4 -4
- package/dist/client/assets/{CheckboxIndicator-ClY0P0ol.js → CheckboxIndicator-DRAilQdq.js} +2 -2
- package/dist/client/assets/{CodexSetupSection.logic-CEAT7YdZ.js → CodexSetupSection.logic-d-rT4H0o.js} +2 -2
- package/dist/client/assets/{CollapsiblePanel-Cubscn-a.js → CollapsiblePanel-DMH4QH0_.js} +2 -2
- package/dist/client/assets/{ComboboxClear-qTthzuJh.js → ComboboxClear-DV4ygCOL.js} +2 -2
- package/dist/client/assets/{CommandBlock-CWt29kmi.js → CommandBlock-_boutMAe.js} +2 -2
- package/dist/client/assets/{ComposerPromptEditor-Bt_L4smq.js → ComposerPromptEditor-BTCrYVhm.js} +4 -4
- package/dist/client/assets/{CompositeRoot-DUqf78yV.js → CompositeRoot-CsrLt1o5.js} +2 -2
- package/dist/client/assets/{ConnectionStatusDot-cdpNRZhA.js → ConnectionStatusDot-uWbIqk3l.js} +2 -2
- package/dist/client/assets/{DevicePanel-CZm-f5TC.js → DevicePanel-DwMrOlt0.js} +2 -2
- package/dist/client/assets/{DeviceSetup-BdrkGme6.js → DeviceSetup-CbOHLIaV.js} +2 -2
- package/dist/client/assets/{DialogTitle-CQU6s1Wy.js → DialogTitle-BgclXafx.js} +2 -2
- package/dist/client/assets/{DiffCommentAnnotation-B-XoYYxb.js → DiffCommentAnnotation-Aq3V-yP1.js} +2 -2
- package/dist/client/assets/{DiffFileTree-CwTkSU3R.js → DiffFileTree-CKQPTUag.js} +2 -2
- package/dist/client/assets/{DiffPanel-BCI9XXpF.js → DiffPanel-BXML30Ty.js} +2 -2
- package/dist/client/assets/{DiffWorkerPoolProvider-OPZsOibX.js → DiffWorkerPoolProvider-CibTihO7.js} +2 -2
- package/dist/client/assets/{EmbeddedDesign-DwRAPHYl.js → EmbeddedDesign-722JShay.js} +2 -2
- package/dist/client/assets/{EnvironmentMachineIcon-DCdlTSYU.js → EnvironmentMachineIcon-Czk_PJpp.js} +2 -2
- package/dist/client/assets/{ExpandableText-BtdwzlFy.js → ExpandableText-Ggw0uVXl.js} +2 -2
- package/dist/client/assets/{FieldControl-BI2gK4Z0.js → FieldControl-Bw2_eFMa.js} +2 -2
- package/dist/client/assets/{FileDiff-BkJG5QAe.js → FileDiff-Cen-Dayi.js} +2 -2
- package/dist/client/assets/{FilePreviewPanel-CURtQAD1.js → FilePreviewPanel-BMK5AG_P.js} +2 -2
- package/dist/client/assets/{FoldedSettingsSection-B9B8i8Gg.js → FoldedSettingsSection-G9y7luve.js} +2 -2
- package/dist/client/assets/{FormContext-Bgwez2tv.js → FormContext-7fCTOXXA.js} +2 -2
- package/dist/client/assets/{Icons-B5JVkp3z.js → Icons-CSAp87pJ.js} +2 -2
- package/dist/client/assets/Input-Cr3X6dPy.js +2 -0
- package/dist/client/assets/{KeybindingsSettings.logic-6lVDnd1N.js → KeybindingsSettings.logic-CsSjvH9c.js} +2 -2
- package/dist/client/assets/{NoProjectsHero-CkhVaJk9.js → NoProjectsHero-iGEFavkK.js} +2 -2
- package/dist/client/assets/{PanelLayoutControls-CxuV0JO3.js → PanelLayoutControls-C4Gm81F_.js} +4 -4
- package/dist/client/assets/{PierreEntryIcon-CPG-jnaN.js → PierreEntryIcon-CnGUKKOC.js} +2 -2
- package/dist/client/assets/{PopoverHandle-CBT8hFut.js → PopoverHandle-BkhR-kKK.js} +2 -2
- package/dist/client/assets/{PreviewPanel-Doh1peEu.js → PreviewPanel-BZNqorNM.js} +2 -2
- package/dist/client/assets/{ProjectDefaultsSettings-DfhAk0_Y.js → ProjectDefaultsSettings-DzMIpb2U.js} +2 -2
- package/dist/client/assets/{ProjectFavicon-DUW6Bo66.js → ProjectFavicon-Dk18tk1C.js} +3 -3
- package/dist/client/assets/{ProjectIconPickerDialog-C613hnVY.js → ProjectIconPickerDialog-DnmG78V1.js} +2 -2
- package/dist/client/assets/{ProjectMonogram-B9iJhcVp.js → ProjectMonogram-CWdfC9NP.js} +2 -2
- package/dist/client/assets/{ProviderAuthTerminal-eq346NX_.js → ProviderAuthTerminal-nDUEuuwR.js} +2 -2
- package/dist/client/assets/{ProviderModelPicker-DPb-88ui.js → ProviderModelPicker-DhOV_BIX.js} +2 -2
- package/dist/client/assets/{ProviderSettingsForm-DTYqzs8W.js → ProviderSettingsForm-Cyw48DUr.js} +2 -2
- package/dist/client/assets/{PullRequestCodeTab-BBz0FfLD.js → PullRequestCodeTab-BpjwcQvb.js} +2 -2
- package/dist/client/assets/{ReadOnlySourcePreview-CkeeLVAm.js → ReadOnlySourcePreview-DMF3eLls.js} +2 -2
- package/dist/client/assets/{RenderErrorBoundary-mfAvIiFU.js → RenderErrorBoundary-DQC7sq87.js} +2 -2
- package/dist/client/assets/{ScheduledTasksSettings-BMUE9M9Z.js → ScheduledTasksSettings-CZK46eKO.js} +2 -2
- package/dist/client/assets/{ScopedSwitch-BKOdsllO.js → ScopedSwitch-BECzQob0.js} +2 -2
- package/dist/client/assets/{ScrollAreaCorner-CoeXGFSL.js → ScrollAreaCorner-DXYr9Xbu.js} +2 -2
- package/dist/client/assets/{SecretInput-CROqj1gF.js → SecretInput-WUih9JDs.js} +2 -2
- package/dist/client/assets/{SelectScrollUpArrow-SDOpV3nj.js → SelectScrollUpArrow-BIdW5z3c.js} +2 -2
- package/dist/client/assets/{SettingsPanels-BHhMJaVc.js → SettingsPanels-B3TcgEEZ.js} +2 -2
- package/dist/client/assets/{SettingsPanels.logic-BwmY39Sq.js → SettingsPanels.logic-DpJJdWIn.js} +2 -2
- package/dist/client/assets/{SettingsScopeNotice-DAPsshab.js → SettingsScopeNotice-CcgRSc9E.js} +2 -2
- package/dist/client/assets/{T3ConnectAccountPages-CDuVbE2z.js → T3ConnectAccountPages-8GTdhVAB.js} +2 -2
- package/dist/client/assets/{T3ConnectSidebarSignIn-BSQHp-Xq.js → T3ConnectSidebarSignIn-CY6WtOps.js} +2 -2
- package/dist/client/assets/{ThemeEditorPanel-BiuI7Uiy.js → ThemeEditorPanel-i2RAKM6Z.js} +2 -2
- package/dist/client/assets/{ThreadTerminalDrawer-B8n6TAqv.js → ThreadTerminalDrawer-D7lW_0Ez.js} +2 -2
- package/dist/client/assets/{TooltipViewport-BKD6QABG.js → TooltipViewport-Daddx30c.js} +2 -2
- package/dist/client/assets/{Virtualizer-CTnacEby.js → Virtualizer-CTxMd1UV.js} +2 -2
- package/dist/client/assets/{WorkspaceBreadcrumb-BmVcurpi.js → WorkspaceBreadcrumb-B3WecLwo.js} +2 -2
- package/dist/client/assets/{WorkspacePageContainer-BSjVd7h4.js → WorkspacePageContainer-rn16R8Ps.js} +2 -2
- package/dist/client/assets/{WorkspacePageHeader-BLYOcS9Z.js → WorkspacePageHeader-B2wsiKGJ.js} +2 -2
- package/dist/client/assets/{_chat-z348gvgF.js → _chat-DCAacYa_.js} +6 -6
- package/dist/client/assets/{_chat.index-CBbUzaK7.js → _chat.index-CqT22uaz.js} +2 -2
- package/dist/client/assets/{_chat.new-7TTfcDf1.js → _chat.new-CTRPd-7l.js} +2 -2
- package/dist/client/assets/{_chat.pull-requests-BE7Q2lUu.js → _chat.pull-requests-DZwiHPhH.js} +2 -2
- package/dist/client/assets/{abnfDiagram-VCTEODGH-HaXM7twL.js → abnfDiagram-VCTEODGH-0sYdmV4a.js} +2 -2
- package/dist/client/assets/{alert-5swcxUBm.js → alert-CvIEaZOb.js} +2 -2
- package/dist/client/assets/architecture-7GRP2DOG-Cre3v_DI.js +1 -0
- package/dist/client/assets/{architectureDiagram-5GKGNRK7-BhWXFsXS.js → architectureDiagram-5GKGNRK7-CyILOixS.js} +2 -2
- package/dist/client/assets/{assets-DXnV2oRj.js → assets-CqHuBXjp.js} +2 -2
- package/dist/client/assets/{blockDiagram-I7D4REHJ-D213N9iF.js → blockDiagram-I7D4REHJ-x-VvNLUl.js} +2 -2
- package/dist/client/assets/{browserHistoryStore-DURO3U2L.js → browserHistoryStore-BpqZwrsk.js} +2 -2
- package/dist/client/assets/{browserLinkTarget-DcGx3A8F.js → browserLinkTarget-EXHYn6yB.js} +2 -2
- package/dist/client/assets/{c4Diagram-7LVT6UL2-58POuQV-.js → c4Diagram-7LVT6UL2-B0k0wHF6.js} +2 -2
- package/dist/client/assets/channel-DQC0VAAf.js +2 -0
- package/dist/client/assets/{checkbox-1tz9neVf.js → checkbox-EHQPSidC.js} +2 -2
- package/dist/client/assets/{chunk-4HAMMTFA-Bcwcw8Wz.js → chunk-4HAMMTFA-Uul0p-TJ.js} +2 -2
- package/dist/client/assets/{chunk-75Z2AOVW-BaYdZ0Fq.js → chunk-75Z2AOVW-SUa_8bmt.js} +2 -2
- package/dist/client/assets/{chunk-DU6HZSFF-B6TRgw4-.js → chunk-DU6HZSFF-DZ_qPx6g.js} +2 -2
- package/dist/client/assets/{chunk-F27PBJKO-B5arSwg6.js → chunk-F27PBJKO-DNArajpV.js} +2 -2
- package/dist/client/assets/{chunk-GMAD6QVW-XeNCd3gb.js → chunk-GMAD6QVW-DCcQWsDo.js} +2 -2
- package/dist/client/assets/{chunk-GVQU2GXP-CWVbbWh7.js → chunk-GVQU2GXP-CUeM0ruH.js} +2 -2
- package/dist/client/assets/{chunk-IMKFNOWR-Cb-yxIAE.js → chunk-IMKFNOWR-Dz48fQ1q.js} +2 -2
- package/dist/client/assets/{chunk-L3NEJ4N5-Di7nZhzu.js → chunk-L3NEJ4N5-Css7u6Lh.js} +2 -2
- package/dist/client/assets/{chunk-OSK3NFVY-DcqBXKUK.js → chunk-OSK3NFVY-CDaAT2I-.js} +2 -2
- package/dist/client/assets/{chunk-P2QGCYS3-DJ1kMiTY.js → chunk-P2QGCYS3-CrKr6f8Y.js} +2 -2
- package/dist/client/assets/{chunk-POPQ4Y6H-Ba9RYr-b.js → chunk-POPQ4Y6H-BqMK6oaX.js} +2 -2
- package/dist/client/assets/{chunk-PWAF6VOD-D4Ch07S8.js → chunk-PWAF6VOD-CyuqbEJS.js} +2 -2
- package/dist/client/assets/{chunk-SHT3W25Y-BafMUZgc.js → chunk-SHT3W25Y-BrH-w9EI.js} +2 -2
- package/dist/client/assets/{chunk-SVP7TREG-CsEVe0s3.js → chunk-SVP7TREG-DC8LP4Dl.js} +2 -2
- package/dist/client/assets/{chunk-TICWLB2K-D3tgdZlp.js → chunk-TICWLB2K-D9Rk3v5O.js} +2 -2
- package/dist/client/assets/classDiagram-ZZMXUADV-BnsjDrR7.js +2 -0
- package/dist/client/assets/classDiagram-v2-VYDZK3BY-BnsjDrR7.js +2 -0
- package/dist/client/assets/{color-picker-N6f_Hu7P.js → color-picker-Dd1K-QRk.js} +2 -2
- package/dist/client/assets/{combobox-B07cVaQY.js → combobox-BqpUmoio.js} +2 -2
- package/dist/client/assets/{command-B70eQIps.js → command-D1peviZr.js} +2 -2
- package/dist/client/assets/{connect-Vt7wlrih.js → connect-_R8iiudK.js} +2 -2
- package/dist/client/assets/{connect-agent-CX70rAkF.js → connect-agent-hovmaVDF.js} +2 -2
- package/dist/client/assets/{cynefin-OW5HDTMX-CU8HnD4F.js → cynefin-OW5HDTMX-EgbU-rQt.js} +1 -1
- package/dist/client/assets/{cynefinDiagram-5FMLGOSQ-Cvc6_oYZ.js → cynefinDiagram-5FMLGOSQ-D1_um-xk.js} +2 -2
- package/dist/client/assets/{dagre-GXQ25YYZ-Bx5buWLS.js → dagre-GXQ25YYZ-BUeriIID.js} +2 -2
- package/dist/client/assets/{device-BgvBRE7C.js → device-DIh4Fmq_.js} +2 -2
- package/dist/client/assets/{diagram-S7CK7UJ4-CPZrAy0P.js → diagram-S7CK7UJ4-Du3htb_X.js} +2 -2
- package/dist/client/assets/{diagram-UQ7AKVKN-kBtSnHpL.js → diagram-UQ7AKVKN-B02FTV2h.js} +2 -2
- package/dist/client/assets/{diagram-VSXAHHWV-DQP2q1tS.js → diagram-VSXAHHWV-C-GXxjgO.js} +2 -2
- package/dist/client/assets/{diagram-VX7I27RA-DRUN0yEk.js → diagram-VX7I27RA-C9x6jBO2.js} +2 -2
- package/dist/client/assets/{diagram-Z3DM3KII-D4WMsQZZ.js → diagram-Z3DM3KII-BOzwpZ6f.js} +2 -2
- package/dist/client/assets/{dialog-DmneyTGi.js → dialog-BfenC7sz.js} +2 -2
- package/dist/client/assets/{diffRendering-iR2meoVj.js → diffRendering-EPxtkQvT.js} +2 -2
- package/dist/client/assets/{discovery-list-ZGkddsst.js → discovery-list-NHMaJPrr.js} +2 -2
- package/dist/client/assets/{dist-vr51zfzA.js → dist-BgOJfdC2.js} +3 -3
- package/dist/client/assets/{draft-input-DHZ1J7B_.js → draft-input-rVkOduh_.js} +2 -2
- package/dist/client/assets/{duoViewer-DTVry3xd.js → duoViewer-CbfTiSKj.js} +2 -2
- package/dist/client/assets/{dynamic-CuoX2JEO.js → dynamic-7n-O1eEM.js} +2 -2
- package/dist/client/assets/{ebnfDiagram-PWID7BFC-BNUtunQw.js → ebnfDiagram-PWID7BFC-B-aK7ztf.js} +2 -2
- package/dist/client/assets/{embeddedScripts-BMvBWRz_.js → embeddedScripts-D-v7UxHT.js} +2 -2
- package/dist/client/assets/{empty-hFNkAHps.js → empty-xf3NEL4p.js} +2 -2
- package/dist/client/assets/{entities-7B8nzlQw.js → entities-CyQRuOur.js} +2 -2
- package/dist/client/assets/{environments-DYIXXf7q.js → environments-CjU9SGCA.js} +2 -2
- package/dist/client/assets/{erDiagram-RLTQ6QDP-DHjjowZq.js → erDiagram-RLTQ6QDP-BUkP1ax_.js} +2 -2
- package/dist/client/assets/eventmodeling-NTZA5JFV-an9DCCTW.js +1 -0
- package/dist/client/assets/{fileLinks-BYi-XNUG.js → fileLinks-sFAkJkUp.js} +2 -2
- package/dist/client/assets/{fileTreeExpansion-DIOxQqDo.js → fileTreeExpansion-BoG00fm4.js} +2 -2
- package/dist/client/assets/flowDiagram-HODETNUW-pchK5tHw.js +1 -0
- package/dist/client/assets/{ganttDiagram-EL5Y4UJY-DEPOqoj0.js → ganttDiagram-EL5Y4UJY-C9-_e4R8.js} +2 -2
- package/dist/client/assets/{getDiffFileInput-DMj15wpy.js → getDiffFileInput-Eacwf1x6.js} +2 -2
- package/dist/client/assets/{gitGraph-4MIJSDKK-BGKW_zhb.js → gitGraph-4MIJSDKK-DpJxnpww.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-WWUBYQGX-7UhsI5zi.js → gitGraphDiagram-WWUBYQGX-D1kbQfjj.js} +2 -2
- package/dist/client/assets/{guideRunStore-BEkwZ9H7.js → guideRunStore-pssxpidL.js} +2 -2
- package/dist/client/assets/{htmlRender-BxVc1PlI.js → htmlRender-CDbYs9Mi.js} +2 -2
- package/dist/client/assets/{index-C_MVyH59.js → index-BcfzEf8A.js} +3 -3
- package/dist/client/assets/{info-A6RAGUB7-jvyzx_4e.js → info-A6RAGUB7-NwzA9LEB.js} +1 -1
- package/dist/client/assets/{infoDiagram-27XIBGKW-lTTpu3as.js → infoDiagram-27XIBGKW--zzuhsyp.js} +2 -2
- package/dist/client/assets/{input-RqvQJ9gh.js → input-CF-egQtG.js} +2 -2
- package/dist/client/assets/{input-group-BFtrsedw.js → input-group-CifPZlNg.js} +2 -2
- package/dist/client/assets/{ishikawaDiagram-5VMMS53U-DlrQNGG9.js → ishikawaDiagram-5VMMS53U-BtNAzuJP.js} +2 -2
- package/dist/client/assets/{journeyDiagram-3NMN7TZE-Buy9e-fU.js → journeyDiagram-3NMN7TZE-CkOdxsrK.js} +2 -2
- package/dist/client/assets/{kanban-definition-UXKFOSKX-1KgAXH0g.js → kanban-definition-UXKFOSKX-L-Zve5xm.js} +2 -2
- package/dist/client/assets/{kbd-BnsXAHsc.js → kbd-DN9MXWor.js} +2 -2
- package/dist/client/assets/{keybindings-BtHOXkP-.js → keybindings-BlEA4Dlt.js} +2 -2
- package/dist/client/assets/{lazyRouteComponent-T0YE6Rn9.js → lazyRouteComponent-b9hpLjZB.js} +2 -2
- package/dist/client/assets/{line-DUV1hs6X.js → line-CUIFqVat.js} +2 -2
- package/dist/client/assets/{link-gKYnbTYT.js → link-BIudTto8.js} +2 -2
- package/dist/client/assets/{linkedPrompt-Da8rJho3.js → linkedPrompt-DQkjE7kc.js} +2 -2
- package/dist/client/assets/{main-Bh6Hj0_-.js → main-C58_iQqs.js} +7 -7
- package/dist/client/assets/{mediaReference-CLlAiRVc.js → mediaReference-D5Qxnp2d.js} +2 -2
- package/dist/client/assets/{mediaSource-BTCWn94E.js → mediaSource-DRXKCFCg.js} +2 -2
- package/dist/client/assets/{mermaid-parser.core-CsBuWV4-.js → mermaid-parser.core-Dy9NqIcU.js} +4 -4
- package/dist/client/assets/{mermaid.core-BcICv5EB.js → mermaid.core-C1Tbkxei.js} +5 -5
- package/dist/client/assets/{mindmap-definition-YA3MSWOX-BqCqe4io.js → mindmap-definition-YA3MSWOX-CNHVmlJ4.js} +2 -2
- package/dist/client/assets/{number-field-DIYUxout.js → number-field-CydqGM9B.js} +2 -2
- package/dist/client/assets/{observeResize-D9ECzP-D.js → observeResize-BxVCxCXG.js} +2 -2
- package/dist/client/assets/{onboarding-COQ6KgRG.js → onboarding-DQxSrthd.js} +2 -2
- package/dist/client/assets/{openFileInPreview-BhRAqg63.js → openFileInPreview-tPdJXpV4.js} +2 -2
- package/dist/client/assets/{p4ProjectFile-z5Hlq99W.js → p4ProjectFile-Dqppy-Sd.js} +2 -2
- package/dist/client/assets/{packet-AYTQ26CC-BYCaPqFA.js → packet-AYTQ26CC-D66WQAPv.js} +1 -1
- package/dist/client/assets/{pair-BDKjGij-.js → pair-BgezPXaC.js} +2 -2
- package/dist/client/assets/{pegDiagram-XKGWAZYB-CqCw5Z-L.js → pegDiagram-XKGWAZYB-D4RZHNwH.js} +2 -2
- package/dist/client/assets/{phoneViewer-DLSM0QXE.js → phoneViewer-DKIr7vIR.js} +2 -2
- package/dist/client/assets/{pie-WAS4IAKB-BfOlqQx1.js → pie-WAS4IAKB-ChXk3493.js} +1 -1
- package/dist/client/assets/{pieDiagram-E7YTZNPT-DZpCrUQF.js → pieDiagram-E7YTZNPT-BYlPIaAz.js} +2 -2
- package/dist/client/assets/{pierre-icons-BG7vd34x.js → pierre-icons-ByQ4P7uM.js} +2 -2
- package/dist/client/assets/{popover-DE9WCm99.js → popover-BunL7s_L.js} +2 -2
- package/dist/client/assets/{preview-Cl-7ojv-.js → preview-B_wcdd8X.js} +2 -2
- package/dist/client/assets/{preview-bd-MGMMz.js → preview-DDUAtKQn.js} +2 -2
- package/dist/client/assets/{previewMiniPlayerStore-Bz1T9oVV.js → previewMiniPlayerStore-gZV-IkW-.js} +2 -2
- package/dist/client/assets/{primary-BwHoAoya.js → primary-BI3yNRjI.js} +2 -2
- package/dist/client/assets/{primaryCloudLinkState-DtOYGRkF.js → primaryCloudLinkState-Dn_lMN_C.js} +2 -2
- package/dist/client/assets/{projectFilesQueryState-BP_JvI7-.js → projectFilesQueryState-DfToGDLi.js} +2 -2
- package/dist/client/assets/{projectScriptEditor-BGLshibY.js → projectScriptEditor-De4HeOtY.js} +2 -2
- package/dist/client/assets/{providerSkills-DxYtwoxJ.js → providerSkills-DrIXn_7R.js} +2 -2
- package/dist/client/assets/{pullRequestDetail.logic-C_aVDAY_.js → pullRequestDetail.logic-CGUKFcHo.js} +2 -2
- package/dist/client/assets/{pullRequestIcons-D5Yo5Zsn.js → pullRequestIcons-BZCS4C5B.js} +2 -2
- package/dist/client/assets/{pullRequestReviewStore-DaEzt1m1.js → pullRequestReviewStore-BqvYYzmT.js} +2 -2
- package/dist/client/assets/{pullRequests-D0no1PZS.js → pullRequests-tIwkUcK2.js} +2 -2
- package/dist/client/assets/{quadrantDiagram-AXDQQJYC-BTtuOXlL.js → quadrantDiagram-AXDQQJYC-kMIaUDbV.js} +2 -2
- package/dist/client/assets/{queries-DkmaXOL-.js → queries-DMjiMwzO.js} +2 -2
- package/dist/client/assets/{query-Bd5_Y_Vy.js → query-CRswjQ7f.js} +2 -2
- package/dist/client/assets/{radar-RG4KPBEZ-BiJgnIUY.js → radar-RG4KPBEZ-_vEYfKqV.js} +1 -1
- package/dist/client/assets/{radio-group-CBunNtTU.js → radio-group-DzD2uI5x.js} +2 -2
- package/dist/client/assets/{railroad-74A4TZTK-C0CA0mcr.js → railroad-74A4TZTK-BiD9GwPs.js} +1 -1
- package/dist/client/assets/railroad-abnf-HS5TGJTU-Dx3SBIg8.js +1 -0
- package/dist/client/assets/railroad-ebnf-LZEXJU2U-DqrIX1EX.js +1 -0
- package/dist/client/assets/railroad-peg-WCYAUIDC-zKUem5fh.js +1 -0
- package/dist/client/assets/{railroadDiagram-O6MQD6OU-WczOSoF4.js → railroadDiagram-O6MQD6OU-VThEbY2-.js} +2 -2
- package/dist/client/assets/{renderScheduler-BLjFSKnt.js → renderScheduler-ZbiToRGe.js} +2 -2
- package/dist/client/assets/{requirementDiagram-BXWQKSXE-B3qCIQP5.js → requirementDiagram-BXWQKSXE-CYlc8xoq.js} +2 -2
- package/dist/client/assets/{rightPanelStore-6-YhsfkE.js → rightPanelStore-CcmIdfDA.js} +2 -2
- package/dist/client/assets/{runtime-Bni_zt6P.js → runtime-BjJBBHTp.js} +2 -2
- package/dist/client/assets/{runtime-D8mKjOP-.js → runtime-D102A-Bu.js} +3 -3
- package/dist/client/assets/{runtimeModeConfig-C3q8YqVA.js → runtimeModeConfig-CGosfJJ5.js} +2 -2
- package/dist/client/assets/{sankeyDiagram-P5KCCOFB-e2-j7ERe.js → sankeyDiagram-P5KCCOFB-CHYSv9pX.js} +2 -2
- package/dist/client/assets/{scheduledTasksSettings.logic-BNC897-_.js → scheduledTasksSettings.logic-DhrwaClP.js} +2 -2
- package/dist/client/assets/{scroll-area-Davaj52_.js → scroll-area-OkcD8f0Y.js} +2 -2
- package/dist/client/assets/{select-B47XfaxQ.js → select-BUFUt6O3.js} +2 -2
- package/dist/client/assets/{sequenceDiagram-WJ2MYXX4-DG7-8UJk.js → sequenceDiagram-WJ2MYXX4-D1y7ChUn.js} +2 -2
- package/dist/client/assets/{server-CaLEm3Wt.js → server-DTGT8WWf.js} +2 -2
- package/dist/client/assets/{session-2CRBJwS7.js → session-Dh8maTO3.js} +2 -2
- package/dist/client/assets/session-logic-CJeISKsG.js +26 -0
- package/dist/client/assets/{settings-BIwaDm1N.js → settings-CrZbdtKO.js} +2 -2
- package/dist/client/assets/{settings.appearance-ToUM8fHh.js → settings.appearance-BNB57wVJ.js} +2 -2
- package/dist/client/assets/settings.archived-C3Vs8tIa.js +2 -0
- package/dist/client/assets/{settings.computer-use-BEghs16L.js → settings.computer-use-CNLnfXe7.js} +2 -2
- package/dist/client/assets/{settings.connections-C_LVk0gJ.js → settings.connections-CKn7dmOC.js} +2 -2
- package/dist/client/assets/{settings.data-controls-BaTil8NB.js → settings.data-controls-B8uFJ36x.js} +2 -2
- package/dist/client/assets/{settings.decisions-JTbMt08J.js → settings.decisions-Cy46-IzS.js} +2 -2
- package/dist/client/assets/{settings.diagnostics-ByG62ZGs.js → settings.diagnostics-BeATxGLt.js} +2 -2
- package/dist/client/assets/{settings.general-BT78z_Cn.js → settings.general-BAL2BKm_.js} +2 -2
- package/dist/client/assets/{settings.integrations-C3jj2T1d.js → settings.integrations-Bg8Ve2zj.js} +2 -2
- package/dist/client/assets/{settings.keybindings-CeqZWQEi.js → settings.keybindings-B3Yph4YE.js} +2 -2
- package/dist/client/assets/{settings.open-source-licenses-BAFwkfI8.js → settings.open-source-licenses-Dx_Hoxhs.js} +2 -2
- package/dist/client/assets/settings.plugins-TfmhiHSr.js +5 -0
- package/dist/client/assets/{settings.projects-Cqx1zAvs.js → settings.projects-DyqRcoD5.js} +3 -3
- package/dist/client/assets/{settings.providers-CS55UrI1.js → settings.providers-CqMvOZmv.js} +3 -3
- package/dist/client/assets/{settings.scheduled-tasks-CFJTEOb1.js → settings.scheduled-tasks-gzepleP4.js} +2 -2
- package/dist/client/assets/{settings.snap-shot-E3AITJyC.js → settings.snap-shot-DPIz29B9.js} +2 -2
- package/dist/client/assets/{settings.source-control-CWWy9E3b.js → settings.source-control-BMPVT8GA.js} +2 -2
- package/dist/client/assets/{settings.storage-BnUI1rFT.js → settings.storage-Cd4Vn9s1.js} +2 -2
- package/dist/client/assets/{settingsLayout-DHc6oKfL.js → settingsLayout-BRcW18Dy.js} +2 -2
- package/dist/client/assets/{sidebar-BkujXU9U.js → sidebar-CNP67lTi.js} +2 -2
- package/dist/client/assets/{sidebarProjectGrouping-DD4nu9RX.js → sidebarProjectGrouping-BRC9yCnW.js} +2 -2
- package/dist/client/assets/{skeleton-C6_D5JUu.js → skeleton-DDh76jpd.js} +2 -2
- package/dist/client/assets/{sortable.esm-BAEGChD3.js → sortable.esm-KZlxUbRj.js} +2 -2
- package/dist/client/assets/{sourceControl-BAghu6LN.js → sourceControl-DXwrIEUZ.js} +2 -2
- package/dist/client/assets/{spinner-CpLstN6u.js → spinner-DYnZ-Bpa.js} +2 -2
- package/dist/client/assets/{standalone-page-7vaVYOp-.js → standalone-page-DUgQaNPq.js} +2 -2
- package/dist/client/assets/{stateDiagram-D77RDMKH-CpZF58eW.js → stateDiagram-D77RDMKH-DhHX_ym0.js} +2 -2
- package/dist/client/assets/stateDiagram-v2-MP3YSRHH-Dy0yVJgc.js +2 -0
- package/dist/client/assets/{swimlanes-42K2YHIH-D1b49puG.js → swimlanes-42K2YHIH-gr_Fo6MW.js} +2 -2
- package/dist/client/assets/swimlanesDiagram-VR7AAH4N-CPHF5kgn.js +9 -0
- package/dist/client/assets/{terminal-links-CjmSI9gV.js → terminal-links-CV_3r1U3.js} +2 -2
- package/dist/client/assets/{terminalSessions-Q2t1JYPS.js → terminalSessions-aS2PVMmc.js} +2 -2
- package/dist/client/assets/{textarea-DKdxwZZC.js → textarea-Dt0w6mtc.js} +2 -2
- package/dist/client/assets/{themePalette-7p_LOU3J.js → themePalette-9CODTNe7.js} +2 -2
- package/dist/client/assets/{threadSort-C5oCCRfj.js → threadSort-BGtAZpdL.js} +2 -2
- package/dist/client/assets/{timeline-definition-24CTP7MA-89AJY6KO.js → timeline-definition-24CTP7MA-DOSB4Ras.js} +2 -2
- package/dist/client/assets/{toast-DhMYg_gN.js → toast-SPJYfh08.js} +2 -2
- package/dist/client/assets/{toggle-BshAsXT6.js → toggle-C3pF5hng.js} +2 -2
- package/dist/client/assets/{toggle-group-ZNzhUvHt.js → toggle-group-C4V_4iet.js} +2 -2
- package/dist/client/assets/{tooltip-Cq9yz15d.js → tooltip-Cco13jKX.js} +2 -2
- package/dist/client/assets/{treeView-Q6P3EWNA-CqNF2YcW.js → treeView-Q6P3EWNA-DTI4SxFY.js} +1 -1
- package/dist/client/assets/{treemap-WGGIJYW6-LJa3ZEYA.js → treemap-WGGIJYW6-CVnkW1D0.js} +1 -1
- package/dist/client/assets/{usage-CJVyABbK.js → usage-539lpsjW.js} +2 -2
- package/dist/client/assets/{usageAccess-CieOJbVm.js → usageAccess-CeCsk7TS.js} +2 -2
- package/dist/client/assets/{usageFormat-BEGhDYfU.js → usageFormat-CQXspPhL.js} +2 -2
- package/dist/client/assets/{usageShortcuts-DxuByyhD.js → usageShortcuts-DaMuOxo1.js} +2 -2
- package/dist/client/assets/{use-atom-command-x4GQBtio.js → use-atom-command-BHmF32aL.js} +2 -2
- package/dist/client/assets/{useAriaLabelledBy-u5efXUxw.js → useAriaLabelledBy-BinWYOc0.js} +2 -2
- package/dist/client/assets/{useHandleNewThread-CReGBX6y.js → useHandleNewThread-Tv2D0mTw.js} +2 -2
- package/dist/client/assets/{useLocation-B3ir4ben.js → useLocation-BQwksr61.js} +2 -2
- package/dist/client/assets/useNavigate-LjcLtV_e.js +2 -0
- package/dist/client/assets/{useNavigateBack-XQd0WINI.js → useNavigateBack-D2S1CDHR.js} +2 -2
- package/dist/client/assets/{useParams-Cil-ZIwd.js → useParams-D_8gJiai.js} +2 -2
- package/dist/client/assets/{usePermissionStatus-C4aMrLLP.js → usePermissionStatus-Bl_cAihc.js} +2 -2
- package/dist/client/assets/{usePullRequestActions-BL4mjngC.js → usePullRequestActions-DscMhi-m.js} +2 -2
- package/dist/client/assets/{useRegisterFieldControl-75QESVfk.js → useRegisterFieldControl-Bp078Il-.js} +2 -2
- package/dist/client/assets/{useScopedModelAvailability-CBOIiaXC.js → useScopedModelAvailability-BP4GoHk-.js} +2 -2
- package/dist/client/assets/{useSettings-Dx076NWT.js → useSettings-DUgjfqYw.js} +2 -2
- package/dist/client/assets/{useT3ConnectAuthPrompt-1zTdZLsH.js → useT3ConnectAuthPrompt-D0cW1Kb6.js} +2 -2
- package/dist/client/assets/utils-Dx_TSvdC.js +37 -0
- package/dist/client/assets/{vcsRefInvalidation-46AnO9mr.js → vcsRefInvalidation-CRBfa6Wz.js} +2 -2
- package/dist/client/assets/{vennDiagram-4TSXK5OY-CvvE7gMp.js → vennDiagram-4TSXK5OY-BVgFdMgp.js} +2 -2
- package/dist/client/assets/{wardley-WFR3VGLG-Ca8Qzkpo.js → wardley-WFR3VGLG-Dmh19KFW.js} +1 -1
- package/dist/client/assets/{wardleyDiagram-VM6X3IG4-BBSNgSMI.js → wardleyDiagram-VM6X3IG4-CLjnvp-z.js} +2 -2
- package/dist/client/assets/{welcome-B3wsq5wK.js → welcome-BcEvYhrg.js} +2 -2
- package/dist/client/assets/{xychartDiagram-S5SC5T6Z-D8OhWe48.js → xychartDiagram-S5SC5T6Z-CmyAZ93b.js} +2 -2
- package/dist/client/index.html +1 -1
- package/dist/{renderer-C4CdFj__.mjs → renderer-B8qsc7RL.mjs} +2 -2
- package/dist/{runtime-CCVFqL3Y.mjs → runtime-CEdmfdaF.mjs} +20 -6
- package/package.json +1 -1
- package/dist/client/assets/AlertDialogRoot-DvQNG7Nt.js +0 -2
- package/dist/client/assets/Input-BQRZG5rU.js +0 -2
- package/dist/client/assets/architecture-7GRP2DOG-CiMEl2LX.js +0 -1
- package/dist/client/assets/channel-CDbYAV2D.js +0 -2
- package/dist/client/assets/classDiagram-ZZMXUADV-Cdtwlmxc.js +0 -2
- package/dist/client/assets/classDiagram-v2-VYDZK3BY-Cdtwlmxc.js +0 -2
- package/dist/client/assets/eventmodeling-NTZA5JFV-DNKqiuCf.js +0 -1
- package/dist/client/assets/flowDiagram-HODETNUW-CbOoDtR7.js +0 -1
- package/dist/client/assets/railroad-abnf-HS5TGJTU-BtC_0p6z.js +0 -1
- package/dist/client/assets/railroad-ebnf-LZEXJU2U-IeTBC6cs.js +0 -1
- package/dist/client/assets/railroad-peg-WCYAUIDC-DLoLKYq3.js +0 -1
- package/dist/client/assets/session-logic-BLOBsHEA.js +0 -26
- package/dist/client/assets/settings.archived-Cq_qclay.js +0 -2
- package/dist/client/assets/settings.plugins-D5l1ZPSB.js +0 -5
- package/dist/client/assets/stateDiagram-v2-MP3YSRHH-DewOo-MV.js +0 -2
- package/dist/client/assets/swimlanesDiagram-VR7AAH4N-d9EGwk-5.js +0 -9
- package/dist/client/assets/useNavigate-DRqH9NhA.js +0 -2
- package/dist/client/assets/utils-BEVyjoxo.js +0 -37
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { i as y7t, n as a7t, r as h7t, t as runClaudeHistoryWorker } from "./claudeHistoryWorker-BvaF6m2o.mjs";
|
|
4
4
|
import { $ as forEach, $a as loggerMake, $i as hasDies, $n as set$7, $o as toMinutes, $r as makeUnsafe$9, $s as getOrUndefined$2, $t as runPromise, A as currentSpan, Aa as consolePretty$1, Ac as some, Ai as interrupt$3, Al as symbol$1, An as updateContext, Ao as compose, Ar as effect, At as matchEffect, B as filter$2, Bi as NoSuchElementError, Bl as compose$1, Bn as withTracerEnabled, Bo as isFinite$1, Br as succeedContext, Bs as of$1, Bt as promise, C as catchTag, Ca as CurrentLoggers$1, Cc as isSome, Ci as succeed$5, Cn as tryPromise, Co as Tracer, Cr as currentTimeMillis, Cs as filterMap$1, Cu as pipeArguments, D as context, Da as asSome$1, Dc as match, Di as failCause$2, Dl as equals, Dn as undefined_, Do as encode$4, Dr as build, Ds as flatMapNullishOr, Dt as match$2, E as clockWith, Ec as map$10, Ei as fail$3, En as txRetry, Eo as nativeTracer, Er as CurrentMemoMap, Es as findLast, Et as mapErrorEager, F as exit$3, Fi as succeed$6, Fl as optimize, Fn as withErrorReporting, Fo as fromInput, Fr as merge$2, Ft as onInterrupt, G as findFirst$1, Ga as fiberJoin, Gi as die$1, Gn as Class$2, Go as min, Gr as Scope, Gs as empty$7, Gt as race, H as filterMapOrFail, Ha as fiberEnterUninterruptibleUnsafe, Hc as mapInput$1, Hi as UnknownError$3, Hn as zip, Ho as isZero, Hr as sync$2, Ht as provideContext, I as fail$2, Ia as exitIsSuccess, Ic as flip, Ii as void_$2, Il as string$2, In as withFiber, Io as fromInputUnsafe, Ir as mergeAll, Is as makeBy, It as option$1, J as flatMapEager, Ja as fnUntraced$1, Ji as filterInterruptors, Jn as empty$6, Jr as close, Js as all$6, Jt as request, K as firstSuccessOf, Kc as PipeInspectableProto, Ki as done, Kn as RequestPrototype, Ko as minutes$1, Kr as addFinalizer, Ks as filterMap, Kt as raceFirst, L as failCause$1, Li as Done, Lo as hours, Lr as provide$1, Lt as orDie, M as die, Ma as effectIsExit, Mi as isFailure, Ml as combine$1, Mn as void_$1, Mo as toPredicate, Mr as effectDiscard, Ms as isCanonicalArrayIndex, Mt as onError, N as effectify, Na as endSpan, Ni as isSuccess, Nl as hash$2, No as days, Nr as empty$10, Ns as isReadonlyArrayNonEmpty, Nt as onExit, O as contextWith$1, Oc as none$2, Oi as findErrorOption$1, On as uninterruptible, Oo as random$1, Or as buildWithMemoMap, Ot as matchCauseEffect, P as ensuring, Pa as exitHasInterrupts, Pc as Number$3, Pi as match$3, Pn as whileLoop, Po as format$1, Pr as launch$1, Pt as onExitPrimitive, Qi as fromReasons, Ql as isObject$3, Qn as remove$4, Qo as toMillis$1, Qr as make$231, Qs as getOrThrow, Qt as runForkWith, Rc as isGreaterThanOrEqualTo$1, Ri as ExceededCapacityError, Rn as withParentSpan, Ro as infinity, Rr as provideMerge, Rs as map$7, Rt as orElseSucceed, S as catchReason, Sa as ConsoleRef, Si as poll, Sl as normalizeNonEmpty, Sn as timeoutOrElse, So as ParentSpan, Sr as Clock, Ss as filter, St as map$9, T as catch_, Tc as makeOrder, Ti as die$2, Tl as make$229, Tn as tx, To as make$233, Tr as monotonicTimeNanos, Ts as findFirstIndex, Tt as mapError, U as filterOrElse, Ua as fiberInterrupt, Ui as annotate$1, Un as zipWith, Uo as max, Ur as tap$2, Us as sort, Ut as provideService, Vc as make$235, Vl as hasProperty, Vn as yieldNow, Vo as isNegative, Vr as suspend$1, Vs as reduce, Vt as provide$2, W as filterOrFail, Wi as combine$2, Wn as equalBatchKeys, Wo as millis, Wr as unwrap, Ws as take$1, X as fn, Xc as contA, Xi as findErrorOption, Xl as isNullish, Xn as has$5, Xo as sum, Xr as fork, Xs as failVoid, Xt as retry$1, Y as flatten$1, Ya as forkUnsafe, Yl as isNotUndefined, Yn as get$13, Yo as seconds, Yr as closeUnsafe, Ys as fail$1, Yt as result$1, Z as fnUntraced, Zc as contE, Zi as findFail, Zl as isNumber$1, Zn as make$230, Zo as times, Zr as forkUnsafe$1, Zt as runFork, _ as catchCauseIf, _a as pretty, _c as getOrElse, _i as isDeferred, _l as redact, _n as tapDefect, _s as allocate, _t as logFatal, _u as identity, a as all$5, aa as isCause, ai as MinimumLogLevel, al as withFiber$1, an as scoped, ao as onExitUnsafe, ar as fromStep, as as empty$9, at as fromOption, b as catchFilter, ba as squash, bc as getOrUndefined, bi as make$234, bl as assignProperty, bn as timeout, bo as MinimumTraceLevel, br as Random$1, bs as empty$8, bt as logWithLevel, bu as pipe, c as annotateLogs, ca as isFailReason, cc as contains, ci as UnhandledLogLevel, cl as BaseProto, cn as serviceOption, co as succeed$3, cr as jittered, cs as getOrElse$1, ct as ignore$1, cu as cast, d as asSome, dc as firstSomeOf, di as done$1, dl as toJson, dn as succeedNone, dr as spaced, ds as getUnsafe$2, dt as interruptible, du as constTrue, ec as isFailure$1, ei as provide, en as runPromiseWith, er as size$5, et as forever$1, f as asVoid, fa as isTimeoutError, fc as flatMap$2, fi as doneUnsafe, fl as format, fn as succeedSome$1, fo as sync, fr as toStep, fs as make$232, ft as isEffect, fu as constUndefined, g as catchCause, gc as fromUndefinedOr, gi as into, gn as tapCause, go as void_$3, gs as Prototype, gt as logError, gu as flow$2, h as callback, hc as fromNullishOr, hn as tap$1, ho as updateContext$1, hr as catchDone, hs as omit, ht as logDebug, hu as dual, i as addFinalizer$1, ia as interruptors, ii as CurrentStackFrame, in as scope, ir as forever, is as add$2, it as forkScoped, iu as isUndefined, j as delay, ja as contextWith, jc as toArray$1, ji as isExit, jl as array, jn as useSpan, jo as has$6, jr as effectContext, js as isArrayNonEmpty, jt as never, k as currentParentSpan, kc as orElse$2, ki as hasInterrupts, kn as uninterruptibleMask, ko as Scheduler$1, kr as catch_$1, kt as matchCauseEffectEager, l as annotateLogsScoped, la as isInterruptReason, lc as exists, li as _await, ll as Class$1, ln as sleep, lo as succeedNone$1, lr as modifyDelay, ls as getOrUndefined$1, lt as ignoreCause, m as cachedInvalidateWithTTL, ma as makeFailReason, mi as failCause$3, mn as sync$1, mr as upTo, ms as merge$1, mt as log$1, mu as constant, n as acquireRelease, na as hasInterruptsOnly, nc as isSuccess$1, ni as CurrentLogLevel, nl as isEffect$1, nn as runSyncExit, no as makeSpanUnsafe, nr as addDelay, ns as Reference, nt as forkDetach, nu as isString, o as andThen, oa as isDieReason, oc as succeed$2, oi as TracerEnabled, ol as getStackTraceLimit, on as scopedWith, oo as reportCauseUnsafe, or as identity_, os as get$12, ot as fromResult, ou as or$1, p as cached, pa as makeDieReason, pc as flatten, pi as fail$4, pn as suspend, po as tracerLogger$1, ps as makeUnsafe$10, pt as isSuccess$2, pu as constVoid, q as flatMap$1, qi as fail$5, ql as isNotNull, qn as clear$1, qo as nanos, qr as addFinalizerExit, qs as headUnsafe, qt as repeat, r as acquireUseRelease, ra as interrupt$2, rc as map$8, ri as CurrentLogSpans, rn as runSyncWith, rr as exponential, rs as Service$1, rt as forkIn, ru as isTagged, s as annotateCurrentSpan, si as TracerTimingEnabled, sl as setStackTraceLimit, sn as service, sr as isSchedule, ss as getOption$2, st as gen$1, su as backEdges, t as Transaction, ta as hasInterrupts$1, tc as isResult, ti as CurrentLogAnnotations, tl as exitSucceed, tn as runSync, ts as zero, tt as forkChild, tu as isReadonlyObject, u as as, uc as filter$1, ui as die$3, ul as NodeInspectSymbol, un as succeed$1, uo as succeedSome, ur as passthrough, us as getOrUndefinedUnsafe, ut as interrupt$1, uu as constFalse, v as catchDefect, va as prettyErrors, vc as getOrNull, vi as isDone, vn as tapError$1, vr as isDoneCause, vs as append$2, vt as logInfo, vu as memoize, w as catchTags, wa as LogLevelOrder, wc as liftThrowable, wi as asVoidAll, wn as try_, wo as externalSpan, wr as currentTimeNanos, ws as findFirst, wt as mapEager, x as catchIf, xa as ClockRef, xc as isNone, xi as makeUnsafe$8, xl as normalize$2, xn as timeoutOption, xo as NativeSpan, xr as nextBetween, xs as ensure, xt as makeSpanScoped, y as catchEager, ya as reasonAnnotations, yc as getOrThrow$1, yi as isDoneUnsafe, yl as assignProperties, yn as tapErrorTag, yo as DisablePropagation, yt as logWarning$1, z as fiber, zi as IllegalArgumentError, zl as symbol$2, zn as withSpan, zr as succeed$4, zs as match$1, zt as partition } from "./Effect-B-zvTJgX.mjs";
|
|
5
5
|
import { $ as Uint8ArrayFromBase64, $r as isLessThan, $t as makeFilter, A as NullOr, An as omit$1, Ar as toString$2, At as fieldsAssign, B as String$7, Bn as make$239, Br as parseHeader, Bt as isLessThanOrEqualTo, C as Literals$2, Cn as isInetAddress, Cr as Pointer, Ct as decodeUnknownSync, D as NonEmptyArray, Dn as assign, Dr as fromInput$1, Dt as encodeTo, E as Never, Et as encodeSync, F as OptionFromNullOr, Fn as getReferenceKey, Fr as empty$11, Ft as isFinite$2, G as TaggedStruct, Gr as encode$5, Gt as isPattern, H as Struct, Hn as applyToSelfOrLastLinkEncoding, Hr as toSetCookieHeaders, I as Record$2, Ir as expireCookie, It as isGreaterThan$1, J as TrueLiterals, Jn as isNull, Jr as add$3, Jt as isSchemaError, K as TemplateLiteral, Kr as Equivalence, L as RecordFromUrlParams, Ln as _is, Lt as isGreaterThanOrEqualTo$3, M as NumberFromString, Mr as make$237, Mt as instanceOf, N as Opaque, Nr as value$2, Nt as is$2, O as NonEmptyString$2, On as lambda, Ot as encodeUnknownEffect, Pt as isBetween, Q as Uint8Array$1, Qr as isGreaterThanOrEqualTo$2, Qt as make$236, R as Redacted$1, Rn as decodeUnknownEffect, Rr as isEmpty$3, Rt as isInt, S as Literal, Si as map$11, Sn as inetAddressFromIpString, Sr as InvalidValue$1, St as decodeUnknownResult, Tn as unixPathAddress, Tt as encodeEffect, U as StructWithRest, Un as decodeTo, Ur as decode$5, Ut as isMinLength, V as StringFromUriComponent, Vr as set$8, Vt as isMaxLength, W as TaggedError, Wr as decodeString$3, Wt as isNonEmpty, X as URL$3, Xr as formatIso, Y as Tuple, Yr as addDuration, Yt as isStartingWith, Z as URLFromString, Zr as isGreaterThan, Zt as isUUID, _ as Finite, _n as withDecodingDefault, _r as transform$4, _t as decodeSync, a as BooleanLiterals, ai as nowInCurrentZone, ar as composeTransformation, at as Void, b as Json, bi as taggedEnum, bn as formatUrlHostString, br as withDefault$3, bt as decodeUnknownExit, c as DateTimeUtc, ci as subtract, cn as toCodecArrayFromSingle, cr as transform$3, ct as brand, d as Duration, di as toEpochMillis, dn as toEncoded$1, dr as trim, dt as check, ei as isLessThanOrEqualTo$1, en as mutable, er as resolveDescription, et as Undefined, fi as toParts, fn as toEquivalence, fr as compose$2, ft as declare$1, g as FalseLiterals, gi as Class$3, gn as withConstructorDefault, gr as stringifyJson, gt as decodeOption, h as Exit, hi as EncodingError, hn as toType, hr as passthrough$1, ht as decodeExit, i as BooleanFromBit, ii as now, ir as Transformation, it as UnknownFromJsonString$2, j as Number$4, jr as isRedacted, jt as fromJsonString, k as Null, kn as map$12, kr as toRecord, kt as encodeUnknownExit, l as DateTimeUtcFromString, li as subtractDuration, ln as toCodecJson, lr as transformEffect$1, m as Error$6, mi as withCurrentZoneLocal, mn as toTaggedUnion, mr as parseJson$1, mt as decodeEffect, n as ArraySchema, ni as makeUnsafe$11, nn as optional$9, nr as toEncoded, nt as Union, o as Cause, oi as nowUnsafe, on as suspend$2, or as splitKeyValue, ot as annotate$2, p as DurationFromString$1, pi as toUtc, pn as toJsonSchemaDocument, pt as decode$6, q as Trim, qr as Order$1, qt as isSchema, r as Boolean$5, ri as min$1, rn as optionalKey, rr as unknown$1, rt as Unknown, s as Class$4, si as setParts, sn as tag$3, sr as toLowerCase, st as annotateKey, t as Any, ti as make$238, tn as mutableKey, tt as UndefinedOr, u as Defect, ui as toDate, un as toCodecStringTree, v as FiniteFromString, vi as TaggedClass, vr as transformEffect, vt as decodeTo$1, w as MutableJson, wn as isUnspecified, wr as defaultFormatter$1, wt as encode$6, x as JsonObject$2, xr as Forbidden$1, xt as decodeUnknownOption, y as Int$6, yi as TaggedError$1, yn as formatIp, yr as transformOptional, yt as decodeUnknownEffect$1, z as SchemaError } from "./Schema-inVr7S-v.mjs";
|
|
6
|
-
import { $ as WsSubscribeThreadDecisionsRpc, $a as DeviceToolOpenInput, $c as VcsProcessOutputReadError, $d as ORCHESTRATION_PROTOCOL_QUERY_PARAM, $f as AcpRegistryListProvidersResult, $i as ResponseStreamingMode, $l as toHeaders, $n as AttachmentCreateUploadUrlInput, $o as RelayManagedEndpointRuntimeConfig, $p as ProviderTurnId, $r as OrchestrationDispatchCommandError, $s as OrchestrationV2ThreadShell, $t as PreviewAutomationEvaluateInput, $u as appendUrlParams, A as SelfImproveLabel, Aa as ResolvedKeybindingRule, Ac as RuntimeMode$1, Ad as layer$260, Af as authScopeRequiredResponse, Ai as TerminalCwdNotFoundError, Al as patch$4, An as PreviewAutomationTypeInput, Ao as EnvironmentAuthenticatedPrincipal, Ap as CheckpointRef, Ar as OrchestratorMcpRequestSecretResult, As as OrchestrationV2ProviderGoal, At as ClientAbort$1, Au as isHttpServerResponse, B as ComputerUseHostResponse, Ba as mcpProviderSupport, Bc as PullRequestUnavailableError, Bd as urlParams, Bf as getWithHeadersAnnotation, Bi as BackgroundActivityProfile, Bl as serve, Bn as AssetGitHubMediaUrlValidationError, Bo as EnvironmentOperationForbiddenError, Bp as DpopFailureReason, Br as OrchestratorMcpThreadReadInput, Bs as OrchestrationV2RunStatus, Bt as ResourceMonitorCommand, Bu as stream$3, C as clean, Ca as PreviewStreamHostSetup, Cc as ProjectWriteFileError, Cd as StatusCodeError, Cf as AuthSettingsWriteScope, Ci as ExternalLauncherUnknownEditorError, Cl as make$249, Cn as PreviewAutomationSetColorSchemeResult, Co as DesktopBrowserCommand, Cp as OrchestrationMessageContext, Cr as OrchestratorMcpDelegateTaskResult, Cs as OrchestrationV2DomainEventJson, Ct as DesignValidateReceipt, Cu as symbol$3, D as SelfImproveDecision, Da as KeybindingsConfig, Dc as ProviderApprovalDecision, Dd as TypeId$39, Df as AuthTerminalReadScope, Di as ProviderUploadFeedbackError, Dl as getErrorSchemas, Dn as PreviewAutomationTabTargetInput, Do as RelayClientInstallFailedError, Dp as AssistantCitation, Dr as OrchestratorMcpListScheduledTasksInput, Ds as OrchestrationV2GetThreadProjectionError, Dt as exitSchema$1, Du as empty$12, E as toBytes, Ea as KeybindingRule, Ed as CurrentErrorReporters, Ef as AuthTerminalOperateScope, Ei as ProviderSetupError, El as get$15, En as PreviewAutomationTabNotFoundError, Eo as DesktopBackendBootstrap, Ep as ASSISTANT_CITATION_MAX_TEXT_LENGTH, Er as OrchestratorMcpFailure, Es as OrchestrationV2GetShellSnapshotError, Et as ServerClient, Eu as make$243, F as COMPUTER_USE_MAX_OUTPUT_CHARS, Fa as McpServerName, Fc as PullRequestLinkedThreadsResult, Fd as jsonUnsafe, Ff as getPayloadEncoding, Fi as TerminalProviderInstanceNotFoundError, Fl as RouteContext, Fn as SERVER_BROWSER_AUTOMATION_CLIENT_ID, Fo as EnvironmentHttpConflictError, Fp as ClientSurface, Fr as OrchestratorMcpTaskStatusInput, Fs as OrchestrationV2ProviderThreadJson, Ft as WorktreeMcpHandoffResult, Fu as removeHeader, G as clientRpcRequiredScopes, Ga as DeviceHostUnavailableError, Gc as SourceControlCloneRepositoryResult, Gd as BadArgument, Gf as isWithHeadersValue, Gi as DATABASE_COMPACTION_RECOMMENDED_BYTES, Gl as compression$1, Gn as AssetSigningKeyLoadError, Go as RelayCloudEnvironmentHealthProofPayload, Gp as NodeId, Gr as OrchestratorMcpThreadWaitResult, Gs as OrchestrationV2StopWorkflowError, Gt as PREVIEW_RECORDING_STOP_TIMEOUT_MS, Gu as filterStatusOk$1, H as ComputerUseOutput, Ha as supportsProviderMcpSignIn, Hc as pullRequestProviderRequirement, Hd as FileTypeId, Hf as isStreamSchema, Hi as ClaudeSettings, Hl as HttpServer, Hn as AssetProjectFaviconInspectionError, Ho as EnvironmentResourceNotFoundError, Hp as EventId, Hr as OrchestratorMcpThreadSendInput, Hs as OrchestrationV2RuntimeRequestJson, Ht as McpCapabilityUnavailableError, Hu as uint8Array$1, I as ComputerUseError, Ia as McpServerRuntimeState, Ic as PullRequestOperationError, Id as raw$1, If as getResponseEncoding, Ii as TerminalResizeError, Il as add$4, In as McpAppRequestError, Io as EnvironmentHttpForbiddenError, Ip as ClientWebDeployment, Ir as OrchestratorMcpThreadInterruptInput, Is as OrchestrationV2ProviderTurn, It as WorktreeMcpStatusResult, Iu as setBody$1, J as WsMcpRegistryProviderSignInStartRpc, Ja as DevicePlatformAvailability, Jc as SourceControlRepositoryError, Jd as isPlatformError$1, Jf as hasBody, Ji as DEFAULT_PROVIDER_HEALTH_REFRESH_INTERVAL, Jl as addHeaderAttributes, Jn as AssetWorkspaceContextNotFoundError, Jo as RelayEnvironmentLinkResponse, Jp as PortSchema$1, Jr as ScheduledTask, Js as OrchestrationV2Subagent, Jt as PreviewAutomationControlInterruptedError, Ju as MaxBodySize, K as RpcScopeAuthorization, Ka as DeviceNotFoundError, Kc as SourceControlProviderError, Kd as PlatformError, Kf as withHeaders, Ki as DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, Kl as isTracerDisabledUnsafe, Kn as AssetWorkspaceAssetInspectionError, Ko as RelayCloudMintCredentialProofPayload, Kp as NonNegativeInt$1, Kr as OrchestratorMcpUpdateScheduledTaskInput, Ks as OrchestrationV2StopWorkflowInput, Kt as PreviewAutomationClickInput, Ku as fromWeb, L as ComputerUseHost, La as McpServerTransport, Lc as PullRequestStack, Ld as stream$2, Lf as getResponseEncodingSchema, Li as TerminalSessionLookupError, Ll as cors, Ln as ATTACHMENT_UPLOAD_URL_TTL_MS, Lo as EnvironmentHttpInternalServerError, Lp as CommandId, Lr as OrchestratorMcpThreadInterruptResult, Ls as OrchestrationV2ProviderTurnJson, Lt as UsageReadError, Lu as setHeader$1, M as SelfImproveResult, Ma as THREAD_JUMP_KEYBINDING_COMMANDS, Mc as ThreadPullRequestKey, Md as layer$259, Mf as NoContent, Mi as TerminalHistoryError, Ml as put$1, Mn as PreviewAutomationUnsupportedClientError, Mo as EnvironmentHttpApi, Mp as ClientConnectionMethod, Mr as OrchestratorMcpScheduleTaskResult, Ms as OrchestrationV2ProviderSession, Mt as isStreamSchema$1, Mu as mergeCookies, Na as McpRegistryRpcError, Nc as ThreadPullRequestLink, Nd as layerWeak, Nf as StreamSse, Ni as TerminalNotRunningError, Nl as normalize$3, Nn as PreviewAutomationUploadInput, No as EnvironmentHttpBadRequestError, Np as ClientDeviceType, Nr as OrchestratorMcpTaskCancelInput, Ns as OrchestrationV2ProviderSessionJson, Nt as WorktreeMcpFailure, Nu as raw$2, O as SelfImproveError, Oa as KeybindingsConfigError, Oc as ProviderInteractionMode, Od as ignore$2, Of as EnvironmentAuthorizationError, Ol as getPayloadSchemas, On as PreviewAutomationTargetNotEditableError, Oo as EnvironmentAuthInvalidError, Op as AuthSessionId, Or as OrchestratorMcpListScheduledTasksResult, Os as OrchestrationV2PlanArtifact, Ot as isWrapper, Ou as file, P as COMPUTER_USE_JEV_TAKE_CODE, Pa as McpServerId, Pc as ThreadPullRequestLinkSource, Pd as isHttpBody, Pf as asUint8Array, Pi as TerminalProviderEnvironmentError, Pl as HttpRouter, Pn as PreviewAutomationWaitForInput, Po as EnvironmentHttpCommonError, Pp as ClientOs, Pr as OrchestratorMcpTaskCancelResult, Ps as OrchestrationV2ProviderThread, Pt as WorktreeMcpHandoffInput, Pu as redirect, Q as WsRpcGroup, Qa as DeviceToolListResult, Qc as VcsProcessOutputLimitError, Qd as ORCHESTRATION_PROTOCOL_HEADER, Qf as encoder$8, Qi as ProjectSettingsOverrides, Ql as fromHeaders, Qn as AssetWorkspaceRootNormalizationError, Qo as RelayManagedEndpointRecoveryResponse, Qp as ProviderThreadId, Qr as ApplicationProjectEvent, Qs as OrchestrationV2ThreadLaunchRequestWorkspaceStrategy, Qt as PreviewAutomationError, Qu as acceptJson, R as ComputerUseHostRegistration, Ra as PluginId, Rc as PullRequestState, Rd as text$13, Rf as getStatusErrorSchema, Ri as TerminalWriteError, Rl as middleware, Rn as AssetAttachmentNotFoundError, Ro as EnvironmentHttpUnauthorizedError, Rp as ContextHandoffId, Rr as OrchestratorMcpThreadListInput, Rs as OrchestrationV2RunAttemptJson, Rt as DesktopHostTelemetryMessage, Ru as setHeaders$1, S as anumber, Sa as PreviewSessionLookupError, Sc as ProjectUpdatePayload, Sd as InvalidUrlError, Sf as AuthRelayWriteScope, Si as ExternalLauncherEditorSpawnError, Sl as getSlotParseOptions, Sn as PreviewAutomationSetColorSchemeInput, So as DesktopAppActivationResponse, Sp as ComposerContextRecord, Sr as OrchestratorMcpDelegateTaskInput, Ss as OrchestrationV2DomainEvent, St as DesignStylesRequest, Su as causeResponse, T as randomBytes$2, Ta as PreviewViewportSetting, Tc as DEFAULT_PROVIDER_INTERACTION_MODE, Td as isHttpClientError, Tf as AuthStandardClientScopes, Ti as ExternalLauncherUnsupportedTargetError, Tl as del$1, Tn as PreviewAutomationStatus, To as DESKTOP_UPDATE_RESTART_MARKER_FILE, Tp as ASSISTANT_CITATION_MAX_COMMENT_LENGTH, Tr as OrchestratorMcpDeleteScheduledTaskResult, Ts as OrchestrationV2ExecutionNodeJson, Tt as make$247, Tu as HttpPlatform, U as computerUseJevStepCode, Ua as DeviceActionUnavailableError, Uc as resolvePullRequestAuthorFilter, Ud as WatchBackend, Uf as isStreamUint8Array, Ui as CodexSettings, Ul as make$245, Un as AssetProjectFaviconNotFoundError, Uo as EnvironmentScopeRequiredError, Up as IsoDateTime, Ur as OrchestratorMcpThreadSendResult, Us as OrchestrationV2SearchThreadError, Ut as PREVIEW_AUTOMATION_SERVER_OPERATIONS, Uu as urlParams$1, V as ComputerUseJsInput, Va as resolveRegistryEntryEnabled, Vc as pullRequestHostOf, Vd as FileSystem, Vf as isNoContent, Vi as BackgroundActivityProfileSelection, Vl as use, Vn as AssetPreviewTypeValidationError, Vo as EnvironmentRequestInvalidError, Vp as EnvironmentId, Vr as OrchestratorMcpThreadReadResult, Vs as OrchestrationV2RuntimeRequest, Vt as ResourceMonitorEvent, Vu as text$14, W as CLIENT_GUARDED_RPC_SCOPES, Wa as DeviceBootError, Wc as SourceControlCloneRepositoryInput, Wd as make$242, Wf as isWithHeaders, Wi as CompressMode, Wl as TracerDisabledWhen$1, Wn as AssetProjectFaviconResolutionError, Wo as RelayApi, Wp as MessageId$2, Wr as OrchestratorMcpThreadWaitInput, Ws as OrchestrationV2SearchThreadInput, Wt as PREVIEW_AUTOMATION_V1_OPERATIONS, Wu as TypeId$34, X as WsMcpRegistryProviderSignInWaitRpc, Xa as DeviceToolCloseInput, Xc as VcsProcessExitError, Xd as make$250, Xf as decode$7, Xi as GitHubHost, Xl as appendPreResponseHandlerUnsafe$1, Xn as AssetWorkspacePathValidationError, Xo as RelayManagedEndpointOrigin, Xp as ProjectId, Xr as ScheduledTaskWebhookDeliveryId, Xs as OrchestrationV2ThreadForkSourcePoint, Xt as PreviewAutomationDialogInput, Xu as inspect, Y as WsMcpRegistryProviderSignInStateRpc, Ya as DevicePlatformUnavailableError, Yc as VcsDriverKind, Yd as systemError, Yf as Retry, Yi as DEFAULT_SERVER_SETTINGS, Yl as addUrlAttributes, Yn as AssetWorkspaceContextResolutionError, Yo as RelayHookDeliveryProofPayload, Yp as PositiveInt$1, Yr as ScheduledTaskError, Ys as OrchestrationV2SubagentJson, Yt as PreviewAutomationControlReason, Yu as TypeId$35, Z as WsMcpRegistryProviderSignOutRpc, Za as DeviceToolError, Zc as VcsProcessMissingExitCodeError, Zd as ExecutionEnvironmentDescriptor, Zf as decodeSchema, Zi as PROJECT_SCOPED_SERVER_SETTING_KEYS, Zl as requestPreResponseHandlers, Zn as AssetWorkspaceResolutionError, Zo as RelayManagedEndpointRecoveryRegistrationResponse, Zp as ProviderSessionId, Zr as ApplicationEventMetadata, Zs as OrchestrationV2ThreadLaunchError, Zt as PreviewAutomationDragInput, Zu as schemaBodyJson, _ as sha512, _a as PREVIEW_VIEWPORT_PRESET_IDS, _c as ProjectMutationError, _d as setUrl, _f as AuthOrchestrationOperateScope, _i as isProviderTextGenerationCapable, _l as getProviderAttachmentLimitError, _m as set$9, _n as PreviewAutomationResizeResult, _p as ProviderDriverKind, _r as ThreadMetadataMcpUpdateInput, _s as OrchestrationV2ContextTransferJson, _t as DesignRenderRequest, _u as ClientAbort, a as documentContentDigest, aa as makeBinaryPathSetting, ac as isOrchestrationV2WorkActive, ad as bodyStream, af as AuthAdministrativeScopes, ai as GitPullRequestMaterializationError, al as ModelSelection, am as ScheduledTaskId, an as PreviewAutomationNoAvailableHostError, ao as LOCAL_DEVICE_HOST_ID, ap as resolveOfficialAcpRegistryIconUrl, ar as AgentSessionImportSource, as as toRouterPath, at as DesignHumanApplyRequest, au as schemaSearchParams, b as aexists, ba as PreviewInvalidUrlError, bc as ProjectSearchContentsError, bd as HttpClientError, bf as AuthProvidersManageScope, bi as ExternalLauncherBrowserSpawnError, bl as isSecurity, bn as PreviewAutomationSelectInput, bo as resolveBrowserProfiles, bp as defaultInstanceIdForDriver, br as OrchestratorMcpCreateThreadsInput, bs as OrchestrationV2DispatchCommandError, bt as DesignStatusRequest, bu as ResponseError, c as parseDesign, ca as requiredScopesForProjectMutation, cc as orchestrationV2RunWorkStartedAt, cd as del, cf as AuthEnvironmentMaintainScope, ci as VcsListRefsResult, cl as OrchestrationGetTurnDiffResult, cm as TrimmedNonEmptyString, cn as PreviewAutomationRecordingArtifact, co as value$3, cp as DEFAULT_MODEL, cr as FilesystemBrowseError, cs as ORCHESTRATION_V2_WORKSPACE_PREPARATION_FAILURE_CODE, ct as DesignSubscribeRequest, cu as TypeId$37, d as reviewState, da as resolveProviderInstanceEnabled, dc as UsageLimitSourceError, dd as post, df as AuthFilesystemWriteScope, di as ServerProvider, dl as ChatFileAttachment, dm as CurrentRedactedNames, dn as PreviewAutomationRecordingStatus, do as DecisionInput, dp as DEFAULT_TEXT_GENERATION_MODEL_BY_PROVIDER, dr as P4_PROJECT_FILE_NAME, ds as OrchestrationV2AppThread, dt as DesignGuideReceipt, du as makeConfig, ea as ServerSettings, ec as OrchestrationV2TurnItem, ed as basicAuth, ef as ThreadEnvMode, ei as PullRequestReviewGuide, el as VcsProcessSpawnError, em as RawEventId, en as PreviewAutomationExecutionError, eo as DeviceToolOpenResult, ep as AcpRegistryListSessionsResult, er as AttachmentCreateUploadUrlResult, es as RelayOkResponse, et as SecretRequestError, eu as HttpServerRequest, f as selectLayoutItems, fa as secretSetting, fc as OrchestrationProjectShell, fd as prependUrl, ff as AuthGrantScope, fi as ServerProviderCompatibilityStatus, fl as ChatImageAttachment, fm as empty$13, fn as PreviewAutomationRecordingTooLargeError, fo as DecisionResult, fp as MODEL_SLUG_ALIASES_BY_PROVIDER, fr as PROJECT_FILE_BACKED_SETTINGS, fs as OrchestrationV2AppThreadJson, ft as DesignGuideRequest, fu as toPersisted, g as sha384, ga as PREVIEW_URL_MAX_LENGTH, gc as ProjectMutation, gd as setHeaders, gf as AuthMcpTokenError, gi as isProviderAvailable, gl as PersistChatAttachmentsError, gm as remove$5, gn as PreviewAutomationResizeInput, go as BUILT_IN_BROWSER_PROFILES, gp as PROVIDER_DISPLAY_NAMES, gr as OrchestrationThreadSearchSource, gs as OrchestrationV2ContextTransfer, gt as DesignRenderReceipt, gu as TypeId$36, h as sha256, ha as PREVIEW_STREAM_HOST_SETUP_CLOSE_CODE, hc as ProjectListEntriesError, hd as setHeader, hf as AuthMcpRegistrationError, hi as environmentThemeFileHasColors, hm as merge$3, hn as PreviewAutomationRequestQueueClosedError, ho as resolveDecisionBackend, hp as PREFERRED_DEFAULT_CODEX_MODELS, hr as OrchestrationSearchThreadsResult, hs as OrchestrationV2ContextHandoffJson, ht as DesignLibraryManifest, hu as Path$1, i as diagnostic, ia as isUnconfiguredDefaultInstanceEnabled, ic as isKnownOrchestrationV2EventType, id as bodyJsonUnsafe, if as AuthAccessWriteScope, ii as GitManagerError, il as VcsUnsupportedOperationError, im as RuntimeRequestId, in as PreviewAutomationNavigateInput, io as DeviceToolVersions, ip as officialAcpRegistryIconUrlForAgentId, ir as AgentSessionImportProjectNotFoundError, is as getParamNames, it as UserInputRankError, iu as schemaHeaders, j as SelfImproveRequest, ja as SCRIPT_RUN_COMMAND_PATTERN, jc as ThreadLinkedPullRequest, jd as report$1, jf as authScopeResponse, ji as TerminalCwdStatError, jl as post$1, jn as PreviewAutomationUnavailableError, jo as EnvironmentCloudEndpointUnavailableError, jp as CheckpointScopeId, jr as OrchestratorMcpScheduleTaskInput, js as OrchestrationV2ProviderRetry, jt as getStreamSchemas, ju as jsonUnsafe$1, k as SelfImproveEvidence, ka as MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, kc as ProviderUserInputAnswers, kd as isIgnored, kf as ServerAuthSessionMethod, ki as TerminalCwdNotDirectoryError, kl as getSuccessSchemas, kn as PreviewAutomationTimeoutError, ko as EnvironmentAuthenticatedAuth, kp as CheckpointId, kr as OrchestratorMcpRequestSecretInput, ks as OrchestrationV2ProviderFailure, kt as make$246, ku as html$4, l as patchNode, la as requiredScopesForServerSettingsPatch, lc as ToolActivityIcon, ld as get$14, lf as AuthEnvironmentScopes, li as EnvironmentThemeFile, ll as ChatAttachment, lm as TrimmedString, ln as PreviewAutomationRecordingDeadlineExpiredError, lo as DECISION_MODELS, lp as DEFAULT_MODEL_BY_PROVIDER, lr as LEGACY_PROJECT_FILE_NAME, ls as ORCHESTRATION_V2_WS_METHODS, lt as DesignApplyReceipt, lu as isPersistedFile, m as validateDesign, ma as FILL_PREVIEW_VIEWPORT, mc as ProjectCreatePayload, md as setBody, mf as AuthMcpClientAccess, mi as ServerSelfUpdateError, ml as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, mm as fromRecordUnsafe, mn as PreviewAutomationRemoteUnavailableError, mo as ThreadDecisionsReadError, mp as ModelCapabilities, mr as OrchestrationSearchThreadsInput, ms as OrchestrationV2CheckpointScopeJson, mt as DesignInspectRequest, mu as make$244, n as canonicalSerialize, na as ServerSettingsPatch, nc as OrchestrationWorkflowFileError, nd as bodyFormData, nf as AuthAccessStreamError, ni as PROJECT_CLONE_ERROR_MAX_LENGTH, nl as VcsProcessTimeoutError, nm as RunAttemptId, nn as PreviewAutomationInvalidSelectorError, no as DeviceToolTargetInput, np as AcpRegistryOperationErrorReason, nr as AttachmentUploadSigningKeyError, ns as annotations, nt as WORKTREE_SETUP_STAGE_ORDER, nu as TypeId$38, o as fileHash, oa as makeProviderSettingsSchema, oc as isProviderNativeSubagentThread, od as bodyText, of as AuthClientMetadataDeviceType, oi as TextGenerationError, ol as OrchestrationGetFullThreadDiffError, om as SecretRef, on as PreviewAutomationOpenInput, oo as deviceToolInstallMessage, op as ANTIGRAVITY_DEFAULT_MODEL, or as AgentSessionScanError, os as AUTO_WORKSPACE_NOTICE_TITLE, ot as DesignRpcGroup, ou as toURL, p as semanticDiff, pa as secretSettingsFields, pc as Project$1, pd as put, pf as AuthMcpApprovalError, pi as ServerProviderUpdateError, pl as PROVIDER_SEND_TURN_MAX_FILE_BYTES, pm as fromInput$2, pn as PreviewAutomationRecordingTransferError, po as ThreadDecision, pr as OrchestrationSearchThreadsError, ps as OrchestrationV2CheckpointJson, pt as DesignInspectReceipt, pu as decodeField, q as WS_METHODS, qa as DeviceOperationError, qc as SourceControlProviderKind, qd as badArgument, qf as allShort, qi as DEFAULT_BACKGROUND_ACTIVITY_PROFILE, ql as tracer, qn as AssetWorkspaceAssetNotFoundError, qo as RelayEnvironmentLinkChallengeResponse, qp as PlanId$2, qr as MIN_SCHEDULED_TASK_INTERVAL_MS, qs as OrchestrationV2StoredEvent, qt as PreviewAutomationClientDisconnectedError, qu as matchStatus, r as computeLayout, ra as UsageLimitSourceConfig, rc as autoWorkspaceNoticeMessage, rd as bodyJson, rf as AuthAccessTokenType, ri as GitCommandError, rl as VcsRepositoryDetectionError, rm as RunId, rn as PreviewAutomationMalformedResponseError, ro as DeviceToolUnavailableError, rp as AcpRegistryProbeResult, rr as AgentSessionImportProjectChangedError, rs as fromApi, rt as Service$3, ru as schemaCookies, s as isConfinedRelativePath, sa as providerInstanceConfigEnabledFlag, sc as latestProviderTurnForAttempt, sd as bodyUrlParams, sf as AuthDiagnosticsReadScope, si as VcsListRefsInput, sl as OrchestrationGetTurnDiffError, sm as ThreadId, sn as PreviewAutomationPressInput, so as symbol$4, sp as CustomModelSetting, sr as AgentSessionSource, ss as AUTO_WORKSPACE_UNDECIDED_REASON, st as DesignServiceError, su as MultipartError, t as buildIndexes, ta as ServerSettingsError, tc as OrchestrationV2TurnItemJson, td as bearerToken, tf as AuthAccessReadScope, ti as PullRequestReviewGuideRun, tl as VcsProcessStdinWriteError, tm as RpcClientId, tn as PreviewAutomationHoverInput, to as DeviceToolScreenshotResult, tp as AcpRegistryOperationError, tr as AttachmentDeleteInput, ts as RelayProtectedError, tt as WORKTREE_SETUP_ERROR_MAX_LENGTH, tu as ParsedSearchParams, ua as resolveProjectProviderInstanceEnabled, uc as ToolActivityNativeAppReference, ud as make$240, uf as AuthFilesystemReadScope, ui as EnvironmentThemeId, ul as ChatAttachmentId, um as TurnItemId, un as PreviewAutomationRecordingDesktopUpdateRequiredError, uo as DecisionError, ur as P4ProjectFile, us as OrchestrationGetWorkflowScriptError, ut as DesignApplyRequest, uu as limitsServices, v as Hash$1, va as PreviewClearProfileError, vc as ProjectReadFileError, vd as make$241, vf as AuthOrchestrationReadScope, vi as isProviderWorkspaceSnapshotCurrent, vl as isProviderSendTurnSupportedImageMimeType, vm as bytes, vn as PreviewAutomationResultTooLargeError, vp as ProviderInstanceId, vr as ThreadMetadataMcpUpdateResult, vs as OrchestrationV2ConversationMessage, vt as DesignSelection, vu as HttpServerError, w as concatBytes$1, wa as PreviewTabId, wc as StoredProjectIcon, wd as TransportError, wf as AuthSourceControlWriteScope, wi as ExternalLauncherUnsupportedEditorError, wl as reflect, wn as PreviewAutomationSnapshot, wo as DesktopBrowserEvent, wp as ReviewCommentContextRecord, wr as OrchestratorMcpDeleteScheduledTaskInput, ws as OrchestrationV2ExecutionNode, wt as DesignValidateRequest, wu as toResponse, x as ahash, xa as PreviewListResult, xc as ProjectSearchEntriesError, xd as HttpClientErrorSchema, xf as AuthRelayReadScope, xi as ExternalLauncherCommandNotFoundError, xl as make$248, xn as PreviewAutomationSelectResult, xo as DesktopAppActivationErrorCode, xp as isProviderDriverKind, xr as OrchestratorMcpCreateThreadsResult, xs as OrchestrationV2DispatchCommandResult, xt as DesignStylesReceipt, xu as ServeError, y as abytes$1, ya as PreviewControlRequiredError, yc as ProjectScript, yd as DecodeError, yf as AuthPreviewOperateScope, yi as EDITORS, yl as Service$2, ym as fromInputUnsafe$1, yn as PreviewAutomationScrollInput, yo as findBrowserProfile, yp as ProviderInstanceMutation, yr as OrchestratorMcpCapabilitiesResult, ys as OrchestrationV2ConversationMessageJson, yt as DesignStatusReceipt, yu as RequestParseError, z as ComputerUseHostReport, zc as PullRequestSummary, zd as uint8Array, zf as getStatusSuccessSchema, zi as AntigravitySettings, zl as route, zn as AssetCreateUrlInput, zo as EnvironmentInternalError, zp as ContextTransferId, zr as OrchestratorMcpThreadListResult, zs as OrchestrationV2RunJson, zt as DesktopTelemetryControlMessage, zu as setStatus } from "./runtime-CCVFqL3Y.mjs";
|
|
6
|
+
import { $ as WsSubscribeThreadDecisionsRpc, $a as DeviceToolOpenInput, $c as VcsProcessOutputReadError, $d as ORCHESTRATION_PROTOCOL_QUERY_PARAM, $f as AcpRegistryListProvidersResult, $i as ResponseStreamingMode, $l as toHeaders, $n as AttachmentCreateUploadUrlInput, $o as RelayManagedEndpointRuntimeConfig, $p as ProviderTurnId, $r as OrchestrationDispatchCommandError, $s as OrchestrationV2ThreadShell, $t as PreviewAutomationEvaluateInput, $u as appendUrlParams, A as SelfImproveLabel, Aa as ResolvedKeybindingRule, Ac as RuntimeMode$1, Ad as layer$260, Af as authScopeRequiredResponse, Ai as TerminalCwdNotFoundError, Al as patch$4, An as PreviewAutomationTypeInput, Ao as EnvironmentAuthenticatedPrincipal, Ap as CheckpointRef, Ar as OrchestratorMcpRequestSecretResult, As as OrchestrationV2ProviderGoal, At as ClientAbort$1, Au as isHttpServerResponse, B as ComputerUseHostResponse, Ba as mcpProviderSupport, Bc as PullRequestUnavailableError, Bd as urlParams, Bf as getWithHeadersAnnotation, Bi as BackgroundActivityProfile, Bl as serve, Bn as AssetGitHubMediaUrlValidationError, Bo as EnvironmentOperationForbiddenError, Bp as DpopFailureReason, Br as OrchestratorMcpThreadReadInput, Bs as OrchestrationV2RunStatus, Bt as ResourceMonitorCommand, Bu as stream$3, C as clean, Ca as PreviewStreamHostSetup, Cc as ProjectWriteFileError, Cd as StatusCodeError, Cf as AuthSettingsWriteScope, Ci as ExternalLauncherUnknownEditorError, Cl as make$249, Cn as PreviewAutomationSetColorSchemeResult, Co as DesktopBrowserCommand, Cp as OrchestrationMessageContext, Cr as OrchestratorMcpDelegateTaskResult, Cs as OrchestrationV2DomainEventJson, Ct as DesignValidateReceipt, Cu as symbol$3, D as SelfImproveDecision, Da as KeybindingsConfig, Dc as ProviderApprovalDecision, Dd as TypeId$39, Df as AuthTerminalReadScope, Di as ProviderUploadFeedbackError, Dl as getErrorSchemas, Dn as PreviewAutomationTabTargetInput, Do as RelayClientInstallFailedError, Dp as AssistantCitation, Dr as OrchestratorMcpListScheduledTasksInput, Ds as OrchestrationV2GetThreadProjectionError, Dt as exitSchema$1, Du as empty$12, E as toBytes, Ea as KeybindingRule, Ed as CurrentErrorReporters, Ef as AuthTerminalOperateScope, Ei as ProviderSetupError, El as get$15, En as PreviewAutomationTabNotFoundError, Eo as DesktopBackendBootstrap, Ep as ASSISTANT_CITATION_MAX_TEXT_LENGTH, Er as OrchestratorMcpFailure, Es as OrchestrationV2GetShellSnapshotError, Et as ServerClient, Eu as make$243, F as COMPUTER_USE_MAX_OUTPUT_CHARS, Fa as McpServerName, Fc as PullRequestLinkedThreadsResult, Fd as jsonUnsafe, Ff as getPayloadEncoding, Fi as TerminalProviderInstanceNotFoundError, Fl as RouteContext, Fn as SERVER_BROWSER_AUTOMATION_CLIENT_ID, Fo as EnvironmentHttpConflictError, Fp as ClientSurface, Fr as OrchestratorMcpTaskStatusInput, Fs as OrchestrationV2ProviderThreadJson, Ft as WorktreeMcpHandoffResult, Fu as removeHeader, G as clientRpcRequiredScopes, Ga as DeviceHostUnavailableError, Gc as SourceControlCloneRepositoryResult, Gd as BadArgument, Gf as isWithHeadersValue, Gi as DATABASE_COMPACTION_RECOMMENDED_BYTES, Gl as compression$1, Gn as AssetSigningKeyLoadError, Go as RelayCloudEnvironmentHealthProofPayload, Gp as NodeId, Gr as OrchestratorMcpThreadWaitResult, Gs as OrchestrationV2StopWorkflowError, Gt as PREVIEW_RECORDING_STOP_TIMEOUT_MS, Gu as filterStatusOk$1, H as ComputerUseOutput, Ha as supportsProviderMcpSignIn, Hc as pullRequestProviderRequirement, Hd as FileTypeId, Hf as isStreamSchema, Hi as ClaudeSettings, Hl as HttpServer, Hn as AssetProjectFaviconInspectionError, Ho as EnvironmentResourceNotFoundError, Hp as EventId, Hr as OrchestratorMcpThreadSendInput, Hs as OrchestrationV2RuntimeRequestJson, Ht as McpCapabilityUnavailableError, Hu as uint8Array$1, I as ComputerUseError, Ia as McpServerRuntimeState, Ic as PullRequestOperationError, Id as raw$1, If as getResponseEncoding, Ii as TerminalResizeError, Il as add$4, In as McpAppRequestError, Io as EnvironmentHttpForbiddenError, Ip as ClientWebDeployment, Ir as OrchestratorMcpThreadInterruptInput, Is as OrchestrationV2ProviderTurn, It as WorktreeMcpStatusResult, Iu as setBody$1, J as WsMcpRegistryProviderSignInStartRpc, Ja as DevicePlatformAvailability, Jc as SourceControlRepositoryError, Jd as isPlatformError$1, Jf as hasBody, Ji as DEFAULT_PROVIDER_HEALTH_REFRESH_INTERVAL, Jl as addHeaderAttributes, Jn as AssetWorkspaceContextNotFoundError, Jo as RelayEnvironmentLinkResponse, Jp as PortSchema$1, Jr as ScheduledTask, Js as OrchestrationV2Subagent, Jt as PreviewAutomationControlInterruptedError, Ju as MaxBodySize, K as RpcScopeAuthorization, Ka as DeviceNotFoundError, Kc as SourceControlProviderError, Kd as PlatformError, Kf as withHeaders, Ki as DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, Kl as isTracerDisabledUnsafe, Kn as AssetWorkspaceAssetInspectionError, Ko as RelayCloudMintCredentialProofPayload, Kp as NonNegativeInt$1, Kr as OrchestratorMcpUpdateScheduledTaskInput, Ks as OrchestrationV2StopWorkflowInput, Kt as PreviewAutomationClickInput, Ku as fromWeb, L as ComputerUseHost, La as McpServerTransport, Lc as PullRequestStack, Ld as stream$2, Lf as getResponseEncodingSchema, Li as TerminalSessionLookupError, Ll as cors, Ln as ATTACHMENT_UPLOAD_URL_TTL_MS, Lo as EnvironmentHttpInternalServerError, Lp as CommandId, Lr as OrchestratorMcpThreadInterruptResult, Ls as OrchestrationV2ProviderTurnJson, Lt as UsageReadError, Lu as setHeader$1, M as SelfImproveResult, Ma as THREAD_JUMP_KEYBINDING_COMMANDS, Mc as ThreadPullRequestKey, Md as layer$259, Mf as NoContent, Mi as TerminalHistoryError, Ml as put$1, Mn as PreviewAutomationUnsupportedClientError, Mo as EnvironmentHttpApi, Mp as ClientConnectionMethod, Mr as OrchestratorMcpScheduleTaskResult, Ms as OrchestrationV2ProviderSession, Mt as isStreamSchema$1, Mu as mergeCookies, Na as McpRegistryRpcError, Nc as ThreadPullRequestLink, Nd as layerWeak, Nf as StreamSse, Ni as TerminalNotRunningError, Nl as normalize$3, Nn as PreviewAutomationUploadInput, No as EnvironmentHttpBadRequestError, Np as ClientDeviceType, Nr as OrchestratorMcpTaskCancelInput, Ns as OrchestrationV2ProviderSessionJson, Nt as WorktreeMcpFailure, Nu as raw$2, O as SelfImproveError, Oa as KeybindingsConfigError, Oc as ProviderInteractionMode, Od as ignore$2, Of as EnvironmentAuthorizationError, Ol as getPayloadSchemas, On as PreviewAutomationTargetNotEditableError, Oo as EnvironmentAuthInvalidError, Op as AuthSessionId, Or as OrchestratorMcpListScheduledTasksResult, Os as OrchestrationV2PlanArtifact, Ot as isWrapper, Ou as file, P as COMPUTER_USE_JEV_TAKE_CODE, Pa as McpServerId, Pc as ThreadPullRequestLinkSource, Pd as isHttpBody, Pf as asUint8Array, Pi as TerminalProviderEnvironmentError, Pl as HttpRouter, Pn as PreviewAutomationWaitForInput, Po as EnvironmentHttpCommonError, Pp as ClientOs, Pr as OrchestratorMcpTaskCancelResult, Ps as OrchestrationV2ProviderThread, Pt as WorktreeMcpHandoffInput, Pu as redirect, Q as WsRpcGroup, Qa as DeviceToolListResult, Qc as VcsProcessOutputLimitError, Qd as ORCHESTRATION_PROTOCOL_HEADER, Qf as encoder$8, Qi as ProjectSettingsOverrides, Ql as fromHeaders, Qn as AssetWorkspaceRootNormalizationError, Qo as RelayManagedEndpointRecoveryResponse, Qp as ProviderThreadId, Qr as ApplicationProjectEvent, Qs as OrchestrationV2ThreadLaunchRequestWorkspaceStrategy, Qt as PreviewAutomationError, Qu as acceptJson, R as ComputerUseHostRegistration, Ra as PluginId, Rc as PullRequestState, Rd as text$13, Rf as getStatusErrorSchema, Ri as TerminalWriteError, Rl as middleware, Rn as AssetAttachmentNotFoundError, Ro as EnvironmentHttpUnauthorizedError, Rp as ContextHandoffId, Rr as OrchestratorMcpThreadListInput, Rs as OrchestrationV2RunAttemptJson, Rt as DesktopHostTelemetryMessage, Ru as setHeaders$1, S as anumber, Sa as PreviewSessionLookupError, Sc as ProjectUpdatePayload, Sd as InvalidUrlError, Sf as AuthRelayWriteScope, Si as ExternalLauncherEditorSpawnError, Sl as getSlotParseOptions, Sn as PreviewAutomationSetColorSchemeInput, So as DesktopAppActivationResponse, Sp as ComposerContextRecord, Sr as OrchestratorMcpDelegateTaskInput, Ss as OrchestrationV2DomainEvent, St as DesignStylesRequest, Su as causeResponse, T as randomBytes$2, Ta as PreviewViewportSetting, Tc as DEFAULT_PROVIDER_INTERACTION_MODE, Td as isHttpClientError, Tf as AuthStandardClientScopes, Ti as ExternalLauncherUnsupportedTargetError, Tl as del$1, Tn as PreviewAutomationStatus, To as DESKTOP_UPDATE_RESTART_MARKER_FILE, Tp as ASSISTANT_CITATION_MAX_COMMENT_LENGTH, Tr as OrchestratorMcpDeleteScheduledTaskResult, Ts as OrchestrationV2ExecutionNodeJson, Tt as make$247, Tu as HttpPlatform, U as computerUseJevStepCode, Ua as DeviceActionUnavailableError, Uc as resolvePullRequestAuthorFilter, Ud as WatchBackend, Uf as isStreamUint8Array, Ui as CodexSettings, Ul as make$245, Un as AssetProjectFaviconNotFoundError, Uo as EnvironmentScopeRequiredError, Up as IsoDateTime, Ur as OrchestratorMcpThreadSendResult, Us as OrchestrationV2SearchThreadError, Ut as PREVIEW_AUTOMATION_SERVER_OPERATIONS, Uu as urlParams$1, V as ComputerUseJsInput, Va as resolveRegistryEntryEnabled, Vc as pullRequestHostOf, Vd as FileSystem, Vf as isNoContent, Vi as BackgroundActivityProfileSelection, Vl as use, Vn as AssetPreviewTypeValidationError, Vo as EnvironmentRequestInvalidError, Vp as EnvironmentId, Vr as OrchestratorMcpThreadReadResult, Vs as OrchestrationV2RuntimeRequest, Vt as ResourceMonitorEvent, Vu as text$14, W as CLIENT_GUARDED_RPC_SCOPES, Wa as DeviceBootError, Wc as SourceControlCloneRepositoryInput, Wd as make$242, Wf as isWithHeaders, Wi as CompressMode, Wl as TracerDisabledWhen$1, Wn as AssetProjectFaviconResolutionError, Wo as RelayApi, Wp as MessageId$2, Wr as OrchestratorMcpThreadWaitInput, Ws as OrchestrationV2SearchThreadInput, Wt as PREVIEW_AUTOMATION_V1_OPERATIONS, Wu as TypeId$34, X as WsMcpRegistryProviderSignInWaitRpc, Xa as DeviceToolCloseInput, Xc as VcsProcessExitError, Xd as make$250, Xf as decode$7, Xi as GitHubHost, Xl as appendPreResponseHandlerUnsafe$1, Xn as AssetWorkspacePathValidationError, Xo as RelayManagedEndpointOrigin, Xp as ProjectId, Xr as ScheduledTaskWebhookDeliveryId, Xs as OrchestrationV2ThreadForkSourcePoint, Xt as PreviewAutomationDialogInput, Xu as inspect, Y as WsMcpRegistryProviderSignInStateRpc, Ya as DevicePlatformUnavailableError, Yc as VcsDriverKind, Yd as systemError, Yf as Retry, Yi as DEFAULT_SERVER_SETTINGS, Yl as addUrlAttributes, Yn as AssetWorkspaceContextResolutionError, Yo as RelayHookDeliveryProofPayload, Yp as PositiveInt$1, Yr as ScheduledTaskError, Ys as OrchestrationV2SubagentJson, Yt as PreviewAutomationControlReason, Yu as TypeId$35, Z as WsMcpRegistryProviderSignOutRpc, Za as DeviceToolError, Zc as VcsProcessMissingExitCodeError, Zd as ExecutionEnvironmentDescriptor, Zf as decodeSchema, Zi as PROJECT_SCOPED_SERVER_SETTING_KEYS, Zl as requestPreResponseHandlers, Zn as AssetWorkspaceResolutionError, Zo as RelayManagedEndpointRecoveryRegistrationResponse, Zp as ProviderSessionId, Zr as ApplicationEventMetadata, Zs as OrchestrationV2ThreadLaunchError, Zt as PreviewAutomationDragInput, Zu as schemaBodyJson, _ as sha512, _a as PREVIEW_VIEWPORT_PRESET_IDS, _c as ProjectMutationError, _d as setUrl, _f as AuthOrchestrationOperateScope, _i as isProviderTextGenerationCapable, _l as getProviderAttachmentLimitError, _m as set$9, _n as PreviewAutomationResizeResult, _p as ProviderDriverKind, _r as ThreadMetadataMcpUpdateInput, _s as OrchestrationV2ContextTransferJson, _t as DesignRenderRequest, _u as ClientAbort, a as documentContentDigest, aa as makeBinaryPathSetting, ac as isOrchestrationV2WorkActive, ad as bodyStream, af as AuthAdministrativeScopes, ai as GitPullRequestMaterializationError, al as ModelSelection, am as ScheduledTaskId, an as PreviewAutomationNoAvailableHostError, ao as LOCAL_DEVICE_HOST_ID, ap as resolveOfficialAcpRegistryIconUrl, ar as AgentSessionImportSource, as as toRouterPath, at as DesignHumanApplyRequest, au as schemaSearchParams, b as aexists, ba as PreviewInvalidUrlError, bc as ProjectSearchContentsError, bd as HttpClientError, bf as AuthProvidersManageScope, bi as ExternalLauncherBrowserSpawnError, bl as isSecurity, bn as PreviewAutomationSelectInput, bo as resolveBrowserProfiles, bp as defaultInstanceIdForDriver, br as OrchestratorMcpCreateThreadsInput, bs as OrchestrationV2DispatchCommandError, bt as DesignStatusRequest, bu as ResponseError, c as parseDesign, ca as requiredScopesForProjectMutation, cc as orchestrationV2RunWorkStartedAt, cd as del, cf as AuthEnvironmentMaintainScope, ci as VcsListRefsResult, cl as OrchestrationGetTurnDiffResult, cm as TrimmedNonEmptyString, cn as PreviewAutomationRecordingArtifact, co as value$3, cp as DEFAULT_MODEL, cr as FilesystemBrowseError, cs as ORCHESTRATION_V2_WORKSPACE_PREPARATION_FAILURE_CODE, ct as DesignSubscribeRequest, cu as TypeId$37, d as reviewState, da as resolveProviderInstanceEnabled, dc as UsageLimitSourceError, dd as post, df as AuthFilesystemWriteScope, di as ServerProvider, dl as ChatFileAttachment, dm as CurrentRedactedNames, dn as PreviewAutomationRecordingStatus, do as DecisionInput, dp as DEFAULT_TEXT_GENERATION_MODEL_BY_PROVIDER, dr as P4_PROJECT_FILE_NAME, ds as OrchestrationV2AppThread, dt as DesignGuideReceipt, du as makeConfig, ea as ServerSettings, ec as OrchestrationV2TurnItem, ed as basicAuth, ef as ThreadEnvMode, ei as PullRequestReviewGuide, el as VcsProcessSpawnError, em as RawEventId, en as PreviewAutomationExecutionError, eo as DeviceToolOpenResult, ep as AcpRegistryListSessionsResult, er as AttachmentCreateUploadUrlResult, es as RelayOkResponse, et as SecretRequestError, eu as HttpServerRequest, f as selectLayoutItems, fa as secretSetting, fc as OrchestrationProjectShell, fd as prependUrl, ff as AuthGrantScope, fi as ServerProviderCompatibilityStatus, fl as ChatImageAttachment, fm as empty$13, fn as PreviewAutomationRecordingTooLargeError, fo as DecisionResult, fp as MODEL_SLUG_ALIASES_BY_PROVIDER, fr as PROJECT_FILE_BACKED_SETTINGS, fs as OrchestrationV2AppThreadJson, ft as DesignGuideRequest, fu as toPersisted, g as sha384, ga as PREVIEW_URL_MAX_LENGTH, gc as ProjectMutation, gd as setHeaders, gf as AuthMcpTokenError, gi as isProviderAvailable, gl as PersistChatAttachmentsError, gm as remove$5, gn as PreviewAutomationResizeInput, go as BUILT_IN_BROWSER_PROFILES, gp as PROVIDER_DISPLAY_NAMES, gr as OrchestrationThreadSearchSource, gs as OrchestrationV2ContextTransfer, gt as DesignRenderReceipt, gu as TypeId$36, h as sha256, ha as PREVIEW_STREAM_HOST_SETUP_CLOSE_CODE, hc as ProjectListEntriesError, hd as setHeader, hf as AuthMcpRegistrationError, hi as environmentThemeFileHasColors, hm as merge$3, hn as PreviewAutomationRequestQueueClosedError, ho as resolveDecisionBackend, hp as PREFERRED_DEFAULT_CODEX_MODELS, hr as OrchestrationSearchThreadsResult, hs as OrchestrationV2ContextHandoffJson, ht as DesignLibraryManifest, hu as Path$1, i as diagnostic, ia as isUnconfiguredDefaultInstanceEnabled, ic as isKnownOrchestrationV2EventType, id as bodyJsonUnsafe, if as AuthAccessWriteScope, ii as GitManagerError, il as VcsUnsupportedOperationError, im as RuntimeRequestId, in as PreviewAutomationNavigateInput, io as DeviceToolVersions, ip as officialAcpRegistryIconUrlForAgentId, ir as AgentSessionImportProjectNotFoundError, is as getParamNames, it as UserInputRankError, iu as schemaHeaders, j as SelfImproveRequest, ja as SCRIPT_RUN_COMMAND_PATTERN, jc as ThreadLinkedPullRequest, jd as report$1, jf as authScopeResponse, ji as TerminalCwdStatError, jl as post$1, jn as PreviewAutomationUnavailableError, jo as EnvironmentCloudEndpointUnavailableError, jp as CheckpointScopeId, jr as OrchestratorMcpScheduleTaskInput, js as OrchestrationV2ProviderRetry, jt as getStreamSchemas, ju as jsonUnsafe$1, k as SelfImproveEvidence, ka as MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, kc as ProviderUserInputAnswers, kd as isIgnored, kf as ServerAuthSessionMethod, ki as TerminalCwdNotDirectoryError, kl as getSuccessSchemas, kn as PreviewAutomationTimeoutError, ko as EnvironmentAuthenticatedAuth, kp as CheckpointId, kr as OrchestratorMcpRequestSecretInput, ks as OrchestrationV2ProviderFailure, kt as make$246, ku as html$4, l as patchNode, la as requiredScopesForServerSettingsPatch, lc as ToolActivityIcon, ld as get$14, lf as AuthEnvironmentScopes, li as EnvironmentThemeFile, ll as ChatAttachment, lm as TrimmedString, ln as PreviewAutomationRecordingDeadlineExpiredError, lo as DECISION_MODELS, lp as DEFAULT_MODEL_BY_PROVIDER, lr as LEGACY_PROJECT_FILE_NAME, ls as ORCHESTRATION_V2_WS_METHODS, lt as DesignApplyReceipt, lu as isPersistedFile, m as validateDesign, ma as FILL_PREVIEW_VIEWPORT, mc as ProjectCreatePayload, md as setBody, mf as AuthMcpClientAccess, mi as ServerSelfUpdateError, ml as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, mm as fromRecordUnsafe, mn as PreviewAutomationRemoteUnavailableError, mo as ThreadDecisionsReadError, mp as ModelCapabilities, mr as OrchestrationSearchThreadsInput, ms as OrchestrationV2CheckpointScopeJson, mt as DesignInspectRequest, mu as make$244, n as canonicalSerialize, na as ServerSettingsPatch, nc as OrchestrationWorkflowFileError, nd as bodyFormData, nf as AuthAccessStreamError, ni as PROJECT_CLONE_ERROR_MAX_LENGTH, nl as VcsProcessTimeoutError, nm as RunAttemptId, nn as PreviewAutomationInvalidSelectorError, no as DeviceToolTargetInput, np as AcpRegistryOperationErrorReason, nr as AttachmentUploadSigningKeyError, ns as annotations, nt as WORKTREE_SETUP_STAGE_ORDER, nu as TypeId$38, o as fileHash, oa as makeProviderSettingsSchema, oc as isProviderNativeSubagentThread, od as bodyText, of as AuthClientMetadataDeviceType, oi as TextGenerationError, ol as OrchestrationGetFullThreadDiffError, om as SecretRef, on as PreviewAutomationOpenInput, oo as deviceToolInstallMessage, op as ANTIGRAVITY_DEFAULT_MODEL, or as AgentSessionScanError, os as AUTO_WORKSPACE_NOTICE_TITLE, ot as DesignRpcGroup, ou as toURL, p as semanticDiff, pa as secretSettingsFields, pc as Project$1, pd as put, pf as AuthMcpApprovalError, pi as ServerProviderUpdateError, pl as PROVIDER_SEND_TURN_MAX_FILE_BYTES, pm as fromInput$2, pn as PreviewAutomationRecordingTransferError, po as ThreadDecision, pr as OrchestrationSearchThreadsError, ps as OrchestrationV2CheckpointJson, pt as DesignInspectReceipt, pu as decodeField, q as WS_METHODS, qa as DeviceOperationError, qc as SourceControlProviderKind, qd as badArgument, qf as allShort, qi as DEFAULT_BACKGROUND_ACTIVITY_PROFILE, ql as tracer, qn as AssetWorkspaceAssetNotFoundError, qo as RelayEnvironmentLinkChallengeResponse, qp as PlanId$2, qr as MIN_SCHEDULED_TASK_INTERVAL_MS, qs as OrchestrationV2StoredEvent, qt as PreviewAutomationClientDisconnectedError, qu as matchStatus, r as computeLayout, ra as UsageLimitSourceConfig, rc as autoWorkspaceNoticeMessage, rd as bodyJson, rf as AuthAccessTokenType, ri as GitCommandError, rl as VcsRepositoryDetectionError, rm as RunId, rn as PreviewAutomationMalformedResponseError, ro as DeviceToolUnavailableError, rp as AcpRegistryProbeResult, rr as AgentSessionImportProjectChangedError, rs as fromApi, rt as Service$3, ru as schemaCookies, s as isConfinedRelativePath, sa as providerInstanceConfigEnabledFlag, sc as latestProviderTurnForAttempt, sd as bodyUrlParams, sf as AuthDiagnosticsReadScope, si as VcsListRefsInput, sl as OrchestrationGetTurnDiffError, sm as ThreadId, sn as PreviewAutomationPressInput, so as symbol$4, sp as CustomModelSetting, sr as AgentSessionSource, ss as AUTO_WORKSPACE_UNDECIDED_REASON, st as DesignServiceError, su as MultipartError, t as buildIndexes, ta as ServerSettingsError, tc as OrchestrationV2TurnItemJson, td as bearerToken, tf as AuthAccessReadScope, ti as PullRequestReviewGuideRun, tl as VcsProcessStdinWriteError, tm as RpcClientId, tn as PreviewAutomationHoverInput, to as DeviceToolScreenshotResult, tp as AcpRegistryOperationError, tr as AttachmentDeleteInput, ts as RelayProtectedError, tt as WORKTREE_SETUP_ERROR_MAX_LENGTH, tu as ParsedSearchParams, ua as resolveProjectProviderInstanceEnabled, uc as ToolActivityNativeAppReference, ud as make$240, uf as AuthFilesystemReadScope, ui as EnvironmentThemeId, ul as ChatAttachmentId, um as TurnItemId, un as PreviewAutomationRecordingDesktopUpdateRequiredError, uo as DecisionError, ur as P4ProjectFile, us as OrchestrationGetWorkflowScriptError, ut as DesignApplyRequest, uu as limitsServices, v as Hash$1, va as PreviewClearProfileError, vc as ProjectReadFileError, vd as make$241, vf as AuthOrchestrationReadScope, vi as isProviderWorkspaceSnapshotCurrent, vl as isProviderSendTurnSupportedImageMimeType, vm as bytes, vn as PreviewAutomationResultTooLargeError, vp as ProviderInstanceId, vr as ThreadMetadataMcpUpdateResult, vs as OrchestrationV2ConversationMessage, vt as DesignSelection, vu as HttpServerError, w as concatBytes$1, wa as PreviewTabId, wc as StoredProjectIcon, wd as TransportError, wf as AuthSourceControlWriteScope, wi as ExternalLauncherUnsupportedEditorError, wl as reflect, wn as PreviewAutomationSnapshot, wo as DesktopBrowserEvent, wp as ReviewCommentContextRecord, wr as OrchestratorMcpDeleteScheduledTaskInput, ws as OrchestrationV2ExecutionNode, wt as DesignValidateRequest, wu as toResponse, x as ahash, xa as PreviewListResult, xc as ProjectSearchEntriesError, xd as HttpClientErrorSchema, xf as AuthRelayReadScope, xi as ExternalLauncherCommandNotFoundError, xl as make$248, xn as PreviewAutomationSelectResult, xo as DesktopAppActivationErrorCode, xp as isProviderDriverKind, xr as OrchestratorMcpCreateThreadsResult, xs as OrchestrationV2DispatchCommandResult, xt as DesignStylesReceipt, xu as ServeError, y as abytes$1, ya as PreviewControlRequiredError, yc as ProjectScript, yd as DecodeError, yf as AuthPreviewOperateScope, yi as EDITORS, yl as Service$2, ym as fromInputUnsafe$1, yn as PreviewAutomationScrollInput, yo as findBrowserProfile, yp as ProviderInstanceMutation, yr as OrchestratorMcpCapabilitiesResult, ys as OrchestrationV2ConversationMessageJson, yt as DesignStatusReceipt, yu as RequestParseError, z as ComputerUseHostReport, zc as PullRequestSummary, zd as uint8Array, zf as getStatusSuccessSchema, zi as AntigravitySettings, zl as route, zn as AssetCreateUrlInput, zo as EnvironmentInternalError, zp as ContextTransferId, zr as OrchestratorMcpThreadListResult, zs as OrchestrationV2RunJson, zt as DesktopTelemetryControlMessage, zu as setStatus } from "./runtime-CEdmfdaF.mjs";
|
|
7
7
|
import { $ as paginate$1, $t as make$253, A as fromIterable, An as make$251, B as isStream, Bn as Order$2, Bt as last, C as flattenIterable, Cn as publishAll, Ct as tap$3, D as fromChannel$1, Dn as subscribe, Dt as toAsyncIterableWith, E as fromAsyncIterable, En as sliding$1, Et as toAsyncIterable, Fn as getCurrent, Ft as zipLatestWith, G as mapEffect$2, H as map$13, Hn as round$1, I as fromSubscription, In as interrupt$4, It as drain, J as mergeAll$1, Jt as mapEffect$3, K as mapError$1, Kt as fromTransform, L as groupedWithin, Ln as interruptAll, Lt as forEach$1, M as fromPubSub, Mn as makeUnsafe$12, Mt as transformPull, N as fromPull, Nn as awaitAll, Nt as unfold, O as fromEffect, On as take$3, Ot as toPull, P as fromQueue, Pn as await_, Pt as unwrap$1, Q as orDie$1, Qt as splitLines$2, R as ignore$3, Rn as join$1, Rt as fromChannel, S as flatMap$3, Sn as publish, St as takeWhile, T as fromArray, Tn as shutdown$2, Tt as timeoutOrElse$1, U as mapAccum, Ut as decodeText$2, V as make$254, Vn as parse$4, Vt as mapInput$2, W as mapArrayEffect, Wt as filterArray, X as mkUint8Array, Y as mkString, Z as onEnd, Zt as pipeTo, _ as failCause$5, _n as shutdownUnsafe, _t as succeed$7, a as changes$1, an as end, at as repeat$1, b as filterMap$2, bn as takeAll, bt as takeUntil, c as debounce, cn as failCause$4, ct as runDrain, d as drain$1, dn as make$252, dt as runForEach, en as makeUnsafe$13, et as pipeThroughChannel, f as drop$2, fn as offer$1, ft as runForEachArray, g as fail$7, gn as shutdown$1, gt as splitLines$1, h as ensuring$1, hn as poll$1, ht as scoped$1, i as catch_$2, in as dropping, it as rechunk, j as fromIteratorSucceed, jn as set$10, jt as transduce, k as fromEffectRepeat, kn as unbounded$1, kt as toReadableStreamEffect, l as decodeText$1, ln as failCauseUnsafe, lt as runFold, m as encodeText, mn as offerUnsafe, mt as runLast, n as catchCause$1, nn as clear$2, nt as provideContext$1, o as changesWith, on as endUnsafe, ot as run$5, p as empty$14, pn as offerAll, pt as runHead, q as merge$4, qt as mapDone, r as catchTag$1, rn as collect$1, rt as provideService$1, s as concat$2, sn as fail$6, st as runCollect, t as callback$1, tn as bounded, tt as pipeThroughChannelOrFail, u as die$4, un as interrupt$5, ut as runFoldEffect, v as filter$3, vn as sliding, vt as suspend$3, w as forever$2, wn as publishUnsafe, wt as tick, x as filterMapEffect, xn as unbounded$2, xt as takeUntilEffect, y as filterEffect, yn as take$2, yt as switchMap, z as interruptWhen, zn as runIn, zt as isSink } from "./Stream-CX7G9D0M.mjs";
|
|
8
8
|
import { a as responsePayloads, r as runAcpMcpCliFastPath } from "./AcpMcpStdioBridge-BL9bAh79.mjs";
|
|
9
9
|
import * as NodeModule from "node:module";
|
|
@@ -24739,9 +24739,9 @@ const SEMVER_PRERELEASE = `(?:${SEMVER_NUMBER}|[0-9]*[A-Za-z-][0-9A-Za-z-]*)`;
|
|
|
24739
24739
|
const EXACT_SERVICE_VERSION = new RegExp(`^${SEMVER_NUMBER}\\.${SEMVER_NUMBER}\\.${SEMVER_NUMBER}(?:-${SEMVER_PRERELEASE}(?:\\.${SEMVER_PRERELEASE})*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$`);
|
|
24740
24740
|
/** Accepts exact SemVer only: never dist-tags or ranges passed to npm or filesystem paths. */
|
|
24741
24741
|
const isExactServiceVersion = (version) => EXACT_SERVICE_VERSION.test(version);
|
|
24742
|
-
const isRecord$
|
|
24742
|
+
const isRecord$6 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
24743
24743
|
function decodeServiceUpdate(value) {
|
|
24744
|
-
if (!isRecord$
|
|
24744
|
+
if (!isRecord$6(value)) return void 0;
|
|
24745
24745
|
const { id, fromVersion, targetVersion, status } = value;
|
|
24746
24746
|
if (typeof id !== "string" || id.trim() === "" || typeof fromVersion !== "string" || !isExactServiceVersion(fromVersion) || typeof targetVersion !== "string" || !isExactServiceVersion(targetVersion)) return;
|
|
24747
24747
|
if (status === "pending") return typeof value.dbPath === "string" && value.dbPath.trim() !== "" ? {
|
|
@@ -24799,7 +24799,7 @@ function compareExactServiceVersions(left, right) {
|
|
|
24799
24799
|
return 0;
|
|
24800
24800
|
}
|
|
24801
24801
|
function decodeServiceState(value) {
|
|
24802
|
-
if (!isRecord$
|
|
24802
|
+
if (!isRecord$6(value)) return void 0;
|
|
24803
24803
|
const update = value.update === void 0 ? void 0 : decodeServiceUpdate(value.update);
|
|
24804
24804
|
if (value.protocol !== 3 || typeof value.activeVersion !== "string" || !isExactServiceVersion(value.activeVersion) || value.update !== void 0 && update === void 0 || update !== void 0 && compareExactServiceVersions(update.targetVersion, update.fromVersion) <= 0 || update?.status === "pending" && update.fromVersion !== value.activeVersion || update?.status === "committed" && update.targetVersion !== value.activeVersion || (update?.status === "rolled-back" || update?.status === "failed") && update.fromVersion !== value.activeVersion) return;
|
|
24805
24805
|
return {
|
|
@@ -24819,7 +24819,7 @@ function parseServiceState(value) {
|
|
|
24819
24819
|
function serviceStateHasPendingUpdate(value) {
|
|
24820
24820
|
try {
|
|
24821
24821
|
const parsed = JSON.parse(value);
|
|
24822
|
-
return isRecord$
|
|
24822
|
+
return isRecord$6(parsed) && isRecord$6(parsed.update) && parsed.update.status === "pending";
|
|
24823
24823
|
} catch {
|
|
24824
24824
|
return false;
|
|
24825
24825
|
}
|
|
@@ -24828,7 +24828,7 @@ function serviceStateHasPendingUpdate(value) {
|
|
|
24828
24828
|
function serviceStateActiveVersion(value) {
|
|
24829
24829
|
try {
|
|
24830
24830
|
const parsed = JSON.parse(value);
|
|
24831
|
-
return isRecord$
|
|
24831
|
+
return isRecord$6(parsed) && typeof parsed.activeVersion === "string" && isExactServiceVersion(parsed.activeVersion) ? parsed.activeVersion : void 0;
|
|
24832
24832
|
} catch {
|
|
24833
24833
|
return;
|
|
24834
24834
|
}
|
|
@@ -24840,7 +24840,7 @@ function decodeServiceLauncherContext(value) {
|
|
|
24840
24840
|
} catch {
|
|
24841
24841
|
return;
|
|
24842
24842
|
}
|
|
24843
|
-
if (!isRecord$
|
|
24843
|
+
if (!isRecord$6(parsed) || parsed.protocol !== 3 || typeof parsed.childVersion !== "string" || !isExactServiceVersion(parsed.childVersion)) return;
|
|
24844
24844
|
const update = parsed.update === void 0 ? void 0 : decodeServiceUpdate(parsed.update);
|
|
24845
24845
|
if (parsed.update !== void 0 && update === void 0) return void 0;
|
|
24846
24846
|
const selectedVersion = update?.status === "pending" || update?.status === "committed" ? update.targetVersion : update === void 0 ? parsed.childVersion : update.fromVersion;
|
|
@@ -24852,7 +24852,7 @@ function decodeServiceLauncherContext(value) {
|
|
|
24852
24852
|
};
|
|
24853
24853
|
}
|
|
24854
24854
|
function decodeServiceLauncherChildMessage(value) {
|
|
24855
|
-
if (!isRecord$
|
|
24855
|
+
if (!isRecord$6(value)) return void 0;
|
|
24856
24856
|
if (value.type === "request-update" && typeof value.targetVersion === "string" && typeof value.dbPath === "string") return {
|
|
24857
24857
|
type: value.type,
|
|
24858
24858
|
targetVersion: value.targetVersion,
|
|
@@ -24864,7 +24864,7 @@ function decodeServiceLauncherChildMessage(value) {
|
|
|
24864
24864
|
} : void 0;
|
|
24865
24865
|
}
|
|
24866
24866
|
function decodeServiceLauncherParentMessage(value) {
|
|
24867
|
-
if (!isRecord$
|
|
24867
|
+
if (!isRecord$6(value)) return void 0;
|
|
24868
24868
|
if (value.type === "update-rejected" && typeof value.reason === "string") return {
|
|
24869
24869
|
type: value.type,
|
|
24870
24870
|
reason: value.reason
|
|
@@ -26414,7 +26414,7 @@ const READ_PAGE_SIZE = 500;
|
|
|
26414
26414
|
const decodeV2EventJson = decodeUnknownEffect$1(OrchestrationV2DomainEventJson);
|
|
26415
26415
|
const encodeV2EventJson = encodeEffect(OrchestrationV2DomainEventJson);
|
|
26416
26416
|
const decodeV2StoredEvent = decodeUnknownEffect$1(OrchestrationV2StoredEvent);
|
|
26417
|
-
const decodeJson$
|
|
26417
|
+
const decodeJson$6 = decodeUnknownEffect$1(fromJsonString(Unknown));
|
|
26418
26418
|
const encodeJson$6 = encodeEffect(fromJsonString(Unknown));
|
|
26419
26419
|
function metadataForV2Event(event) {
|
|
26420
26420
|
return {
|
|
@@ -26426,8 +26426,8 @@ function metadataForV2Event(event) {
|
|
|
26426
26426
|
};
|
|
26427
26427
|
}
|
|
26428
26428
|
const rowToV2StoredEvent = fn("OrchestrationEventStore.rowToV2StoredEvent")(function* (row) {
|
|
26429
|
-
const payload = yield* decodeJson$
|
|
26430
|
-
const metadata = yield* decodeJson$
|
|
26429
|
+
const payload = yield* decodeJson$6(row.payload_json);
|
|
26430
|
+
const metadata = yield* decodeJson$6(row.metadata_json);
|
|
26431
26431
|
const values = typeof metadata === "object" && metadata !== null ? metadata : {};
|
|
26432
26432
|
const event = yield* decodeV2EventJson({
|
|
26433
26433
|
id: row.event_id,
|
|
@@ -26458,8 +26458,8 @@ const rowToProjectEvent = fn("OrchestrationEventStore.rowToProjectEvent")(functi
|
|
|
26458
26458
|
commandId: row.command_id,
|
|
26459
26459
|
causationEventId: row.causation_event_id,
|
|
26460
26460
|
correlationId: row.correlation_id,
|
|
26461
|
-
payload: yield* decodeJson$
|
|
26462
|
-
metadata: yield* decodeJson$
|
|
26461
|
+
payload: yield* decodeJson$6(row.payload_json),
|
|
26462
|
+
metadata: yield* decodeJson$6(row.metadata_json)
|
|
26463
26463
|
});
|
|
26464
26464
|
});
|
|
26465
26465
|
function rowToApplicationStoredEvent(row) {
|
|
@@ -70668,6 +70668,7 @@ function applyServerSettingsPatch(current, rawPatch) {
|
|
|
70668
70668
|
const patch = translateLegacyProjectOverridePatch(current, rawPatch);
|
|
70669
70669
|
const selectionPatch = patch.textGenerationModelSelection;
|
|
70670
70670
|
const { migrateModelPreferences, setModelFavorites, setModelsHidden, setProviderModelOrder, providerModelPreferences, automaticGitFetchInterval, providerHealthRefreshInterval, backgroundActivityProfile, backgroundActivity, worktreeCleanup: worktreeCleanupPatch, usageLimitSources: usageLimitSourcesPatch, mcpServers: mcpServersPatch, plugins: pluginsPatch, skillOverrides: skillOverridesPatch, sourceControlHosts: sourceControlHostsPatch, usagePriceOverrides: usagePriceOverridesPatch, usageModelAliases: usageModelAliasesPatch, projectSettingsOverrides: projectSettingsOverridesPatch, projectAgentBrowserAccessOverrides: _legacyBrowserAccess, projectAutoPullOverrides: _legacyAutoPull, projectScriptOverrides: _legacyScripts, ...patchForMerge } = patch;
|
|
70671
|
+
const storedPlugins = current.plugins;
|
|
70671
70672
|
const currentBackgroundActivity = normalizeServerBackgroundActivitySettings(current);
|
|
70672
70673
|
const backgroundActivityPatch = backgroundActivityProfile !== void 0 ? {
|
|
70673
70674
|
schemaVersion: 1,
|
|
@@ -70761,7 +70762,10 @@ function applyServerSettingsPatch(current, rawPatch) {
|
|
|
70761
70762
|
...usageLimitSourcesPatch !== void 0 ? { usageLimitSources: mergeSettingsEntries(current.usageLimitSources, usageLimitSourcesPatch) } : {},
|
|
70762
70763
|
...mcpServersPatch !== void 0 ? { mcpServers: mergeSettingsEntries(current.mcpServers, mcpServersPatch) } : {},
|
|
70763
70764
|
...skillOverridesPatch !== void 0 ? { skillOverrides: mergeSettingsEntries(current.skillOverrides, skillOverridesPatch) } : {},
|
|
70764
|
-
...pluginsPatch !== void 0 ? { plugins: mergeSettingsEntries(current.plugins, pluginsPatch)
|
|
70765
|
+
...pluginsPatch !== void 0 ? { plugins: mergeSettingsEntries(current.plugins, Object.fromEntries(Object.entries(pluginsPatch).map(([id, plugin]) => [id, plugin === null ? null : {
|
|
70766
|
+
...plugin,
|
|
70767
|
+
options: plugin.options ?? storedPlugins[id]?.options ?? {}
|
|
70768
|
+
}]))) } : {},
|
|
70765
70769
|
...usagePriceOverridesPatch !== void 0 ? { usagePriceOverrides: mergeSettingsEntries(current.usagePriceOverrides, usagePriceOverridesPatch) } : {},
|
|
70766
70770
|
...usageModelAliasesPatch !== void 0 ? { usageModelAliases: mergeSettingsEntries(current.usageModelAliases, usageModelAliasesPatch) } : {},
|
|
70767
70771
|
...patch.sourceControlWriterModelSelection !== void 0 ? { sourceControlWriterModelSelection: patch.sourceControlWriterModelSelection } : {},
|
|
@@ -71186,7 +71190,7 @@ const writeFileStringAtomically = (input) => scoped(gen$1(function* () {
|
|
|
71186
71190
|
}));
|
|
71187
71191
|
//#endregion
|
|
71188
71192
|
//#region package.json
|
|
71189
|
-
var version$1 = "0.8.
|
|
71193
|
+
var version$1 = "0.8.15";
|
|
71190
71194
|
//#endregion
|
|
71191
71195
|
//#region ../../packages/shared/src/qrCode.ts
|
|
71192
71196
|
var QrCode = class QrCode {
|
|
@@ -73715,6 +73719,19 @@ function mapSettingsSecrets(settings, map) {
|
|
|
73715
73719
|
headers: mapValues(id, "header", server.transport.headers)
|
|
73716
73720
|
}
|
|
73717
73721
|
}]));
|
|
73722
|
+
const plugins = Object.fromEntries(Object.entries(settings.plugins).map(([id, plugin]) => [id, {
|
|
73723
|
+
...plugin,
|
|
73724
|
+
options: Object.fromEntries(Object.entries(plugin.options).map(([key, value]) => {
|
|
73725
|
+
const result = map({
|
|
73726
|
+
secretName: `plugin-${encode$2(id)}-option-${encode$2(key)}`,
|
|
73727
|
+
kind: "field",
|
|
73728
|
+
value,
|
|
73729
|
+
redacted: value === SECRET_REDACTED,
|
|
73730
|
+
sensitive: true
|
|
73731
|
+
});
|
|
73732
|
+
return [key, result.redacted ? SECRET_REDACTED : result.value];
|
|
73733
|
+
}))
|
|
73734
|
+
}]));
|
|
73718
73735
|
const decisionKeys = Object.fromEntries(["decisionTypeSafeKey", "decisionOpenRouterKey"].map((field) => {
|
|
73719
73736
|
const result = map({
|
|
73720
73737
|
secretName: `decisions-${field}`,
|
|
@@ -73731,7 +73748,8 @@ function mapSettingsSecrets(settings, map) {
|
|
|
73731
73748
|
providerInstances,
|
|
73732
73749
|
sourceControlHosts,
|
|
73733
73750
|
usageLimitSources,
|
|
73734
|
-
mcpServers
|
|
73751
|
+
mcpServers,
|
|
73752
|
+
plugins
|
|
73735
73753
|
};
|
|
73736
73754
|
}
|
|
73737
73755
|
//#endregion
|
|
@@ -79070,12 +79088,12 @@ function normalizeDpopHtu(url) {
|
|
|
79070
79088
|
}
|
|
79071
79089
|
//#endregion
|
|
79072
79090
|
//#region ../../packages/shared/src/relaySigning.ts
|
|
79073
|
-
function isRecord$
|
|
79091
|
+
function isRecord$5(value) {
|
|
79074
79092
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
79075
79093
|
}
|
|
79076
79094
|
function stableStringify(value) {
|
|
79077
79095
|
if (Array.isArray(value)) return `[${value.map(stableStringify).join(",")}]`;
|
|
79078
|
-
if (isRecord$
|
|
79096
|
+
if (isRecord$5(value)) return `{${Object.entries(value).filter(([, entryValue]) => entryValue !== void 0).sort(([left], [right]) => left.localeCompare(right)).map(([key, entryValue]) => `${JSON.stringify(key)}:${stableStringify(entryValue)}`).join(",")}}`;
|
|
79079
79097
|
return JSON.stringify(value) ?? "null";
|
|
79080
79098
|
}
|
|
79081
79099
|
//#endregion
|
|
@@ -81174,7 +81192,7 @@ var ApplicationEventSequenceIndexes_default = gen$1(function* () {
|
|
|
81174
81192
|
});
|
|
81175
81193
|
//#endregion
|
|
81176
81194
|
//#region src/persistence/Migrations/OrchestrationV2/ApplicationEventSource.ts
|
|
81177
|
-
const decodeJson$
|
|
81195
|
+
const decodeJson$5 = decodeUnknownEffect$1(fromJsonString(Unknown));
|
|
81178
81196
|
const encodeJson$5 = encodeEffect(fromJsonString(Unknown));
|
|
81179
81197
|
var ApplicationEventSource_default = gen$1(function* () {
|
|
81180
81198
|
const sql = yield* SqlClient;
|
|
@@ -81279,8 +81297,8 @@ var ApplicationEventSource_default = gen$1(function* () {
|
|
|
81279
81297
|
projectId: project.project_id,
|
|
81280
81298
|
title: project.title,
|
|
81281
81299
|
workspaceRoot: project.workspace_root,
|
|
81282
|
-
defaultModelSelection: project.default_model_selection_json === null ? null : yield* decodeJson$
|
|
81283
|
-
scripts: yield* decodeJson$
|
|
81300
|
+
defaultModelSelection: project.default_model_selection_json === null ? null : yield* decodeJson$5(project.default_model_selection_json),
|
|
81301
|
+
scripts: yield* decodeJson$5(project.scripts_json),
|
|
81284
81302
|
createdAt: project.created_at,
|
|
81285
81303
|
updatedAt: project.updated_at
|
|
81286
81304
|
};
|
|
@@ -129473,7 +129491,7 @@ const AcpRegistryIndexEnvelope = Struct({
|
|
|
129473
129491
|
});
|
|
129474
129492
|
const decodeRegistryIndexEnvelope = decodeUnknownEffect$1(AcpRegistryIndexEnvelope);
|
|
129475
129493
|
const decodeRegistryAgent = decodeUnknownOption(AcpRegistryAgent);
|
|
129476
|
-
const decodeJson$
|
|
129494
|
+
const decodeJson$4 = decodeUnknownEffect$1(fromJsonString(Unknown));
|
|
129477
129495
|
const decodeNpmPackageManifest = decodeUnknownEffect$1(fromJsonString(NpmPackageManifest));
|
|
129478
129496
|
const decodePackageInstallReceipt = decodeUnknownOption(fromJsonString(AcpRegistryPackageInstallReceipt));
|
|
129479
129497
|
const encodePackageInstallReceipt = encodeSync(fromJsonString(AcpRegistryPackageInstallReceipt));
|
|
@@ -129559,7 +129577,7 @@ const acpRegistryManagedBinaryDirectories = fn("acpRegistryManagedBinaryDirector
|
|
|
129559
129577
|
if (isSome(receipt) && receipt.value.binDirectory === path.join(installsDirectory, receipt.value.agentId, encodeURIComponent(receipt.value.agentVersion), receipt.value.distribution === "npx" ? "npm" : "python", ...receipt.value.distribution === "npx" && input.platform === "win32" ? [] : ["bin"]) && path.dirname(receipt.value.executablePath) === receipt.value.binDirectory && (yield* fileSystem.exists(receipt.value.executablePath).pipe(orElseSucceed(() => false)))) directories.push(receipt.value.binDirectory);
|
|
129560
129578
|
}
|
|
129561
129579
|
if (target === void 0) return Array.from(new Set(directories));
|
|
129562
|
-
const cachedAgents = yield* fileSystem.readFileString(path.join(registryDirectory, "registry.json")).pipe(flatMap$1(decodeJson$
|
|
129580
|
+
const cachedAgents = yield* fileSystem.readFileString(path.join(registryDirectory, "registry.json")).pipe(flatMap$1(decodeJson$4), flatMap$1(decodeRegistryIndexEnvelope), map$9((envelope) => envelope.agents.flatMap((candidate) => {
|
|
129563
129581
|
const decoded = decodeRegistryAgent(candidate);
|
|
129564
129582
|
return isSome(decoded) ? [decoded.value] : [];
|
|
129565
129583
|
})), orElseSucceed(() => []));
|
|
@@ -129741,7 +129759,7 @@ const makeAcpRegistryCatalog = fn("AcpRegistryCatalog.make")(function* (input) {
|
|
|
129741
129759
|
return value;
|
|
129742
129760
|
});
|
|
129743
129761
|
const decodeRegistryText = fn("AcpRegistryCatalog.decodeRegistryText")(function* (text) {
|
|
129744
|
-
const decoded = yield* decodeJson$
|
|
129762
|
+
const decoded = yield* decodeJson$4(text).pipe(mapError((cause) => new AcpRegistryError({
|
|
129745
129763
|
reason: "registry_unavailable",
|
|
129746
129764
|
detail: "ACP Registry returned invalid JSON.",
|
|
129747
129765
|
cause
|
|
@@ -133765,7 +133783,7 @@ function deriveToolActivityPresentation(input) {
|
|
|
133765
133783
|
}
|
|
133766
133784
|
//#endregion
|
|
133767
133785
|
//#region ../../packages/provider-acp/src/server/runtimeModel.ts
|
|
133768
|
-
function isRecord$
|
|
133786
|
+
function isRecord$4(value) {
|
|
133769
133787
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
133770
133788
|
}
|
|
133771
133789
|
const isSessionModelState = is$2(SessionModelState);
|
|
@@ -134017,7 +134035,7 @@ function extractCommandFromTitle(title) {
|
|
|
134017
134035
|
return /`([^`]+)`/.exec(title)?.[1]?.trim() || void 0;
|
|
134018
134036
|
}
|
|
134019
134037
|
function extractToolCallCommand(rawInput, title, kind) {
|
|
134020
|
-
if (isRecord$
|
|
134038
|
+
if (isRecord$4(rawInput)) {
|
|
134021
134039
|
const directCommand = normalizeCommandValue(rawInput.command);
|
|
134022
134040
|
if (directCommand) return directCommand;
|
|
134023
134041
|
const executable = typeof rawInput.executable === "string" ? rawInput.executable.trim() : "";
|
|
@@ -134056,12 +134074,12 @@ function locationsFromToolCallInput(input) {
|
|
|
134056
134074
|
if (input.content) {
|
|
134057
134075
|
for (const entry of input.content) if (entry.type === "diff" && "path" in entry) pushPath(entry.path);
|
|
134058
134076
|
}
|
|
134059
|
-
if (isRecord$
|
|
134077
|
+
if (isRecord$4(input.rawInput)) {
|
|
134060
134078
|
pushPath(input.rawInput.path);
|
|
134061
134079
|
pushPath(input.rawInput.filePath);
|
|
134062
134080
|
pushPath(input.rawInput.file_path);
|
|
134063
134081
|
}
|
|
134064
|
-
if (isRecord$
|
|
134082
|
+
if (isRecord$4(input.rawOutput)) {
|
|
134065
134083
|
pushPath(input.rawOutput.path);
|
|
134066
134084
|
pushPath(input.rawOutput.filePath);
|
|
134067
134085
|
pushPath(input.rawOutput.file_path);
|
|
@@ -134082,7 +134100,7 @@ const RAW_OUTPUT_TEXT_FIELDS = [
|
|
|
134082
134100
|
"output"
|
|
134083
134101
|
];
|
|
134084
134102
|
function boundToolCallRawOutput(rawOutput) {
|
|
134085
|
-
if (!isRecord$
|
|
134103
|
+
if (!isRecord$4(rawOutput)) return rawOutput;
|
|
134086
134104
|
let changed = false;
|
|
134087
134105
|
const bounded = { ...rawOutput };
|
|
134088
134106
|
for (const field of RAW_OUTPUT_TEXT_FIELDS) {
|
|
@@ -134213,12 +134231,12 @@ function makeToolCallState(input, options) {
|
|
|
134213
134231
|
if (title) data.title = title;
|
|
134214
134232
|
if (command) data.command = command;
|
|
134215
134233
|
if (input.rawInput !== void 0) data.rawInput = input.rawInput;
|
|
134216
|
-
if (isRecord$
|
|
134234
|
+
if (isRecord$4(input._meta)) data.meta = input._meta;
|
|
134217
134235
|
if (input.rawOutput !== void 0) data.rawOutput = boundToolCallRawOutput(input.rawOutput);
|
|
134218
134236
|
if (input.content != null) data.content = sanitizeAcpToolCallContent(extractedContent.content ?? input.content);
|
|
134219
134237
|
const locations = locationsFromToolCallInput(input);
|
|
134220
134238
|
if (locations !== void 0) data.locations = locations;
|
|
134221
|
-
if (isRecord$
|
|
134239
|
+
if (isRecord$4(input._meta)) data.meta = input._meta;
|
|
134222
134240
|
const fallbackDetail = command ?? normalizedTitle ?? textContent;
|
|
134223
134241
|
const presentation = title !== void 0 || kind !== void 0 || command !== void 0 || normalizedTitle !== void 0 || textContent !== void 0 ? deriveToolActivityPresentation({
|
|
134224
134242
|
itemType: canonicalItemTypeFromAcpToolKind(kind),
|
|
@@ -134277,13 +134295,13 @@ function toolCallProgressLength(state) {
|
|
|
134277
134295
|
let contentChars = 0;
|
|
134278
134296
|
const content = state.data.content;
|
|
134279
134297
|
if (Array.isArray(content)) for (const entry of content) {
|
|
134280
|
-
if (!isRecord$
|
|
134298
|
+
if (!isRecord$4(entry)) continue;
|
|
134281
134299
|
const text = toolCallContentText(entry);
|
|
134282
134300
|
if (text) contentChars += text.length;
|
|
134283
134301
|
}
|
|
134284
134302
|
let rawOutputChars = 0;
|
|
134285
134303
|
const rawOutput = state.data.rawOutput;
|
|
134286
|
-
if (isRecord$
|
|
134304
|
+
if (isRecord$4(rawOutput)) for (const field of RAW_OUTPUT_TEXT_FIELDS) {
|
|
134287
134305
|
const value = rawOutput[field];
|
|
134288
134306
|
if (typeof value === "string") rawOutputChars += value.length;
|
|
134289
134307
|
}
|
|
@@ -134292,7 +134310,7 @@ function toolCallProgressLength(state) {
|
|
|
134292
134310
|
function toolCallContentTexts(state) {
|
|
134293
134311
|
const content = state.data.content;
|
|
134294
134312
|
if (!Array.isArray(content)) return "";
|
|
134295
|
-
return content.map((entry) => isRecord$
|
|
134313
|
+
return content.map((entry) => isRecord$4(entry) ? toolCallContentText(entry) ?? "" : "").join("\0");
|
|
134296
134314
|
}
|
|
134297
134315
|
function toolCallVisibleOutputChanged(previous, next) {
|
|
134298
134316
|
return previous.detail !== next.detail || toolCallContentTexts(previous) !== toolCallContentTexts(next) || JSON.stringify(previous.data.rawOutput) !== JSON.stringify(next.data.rawOutput);
|
|
@@ -134330,7 +134348,7 @@ function acpMcpFallbackInput(value) {
|
|
|
134330
134348
|
for (const candidate of candidates) try {
|
|
134331
134349
|
const parsed = JSON.parse(candidate);
|
|
134332
134350
|
const unwrapped = typeof parsed === "string" ? JSON.parse(parsed) : parsed;
|
|
134333
|
-
if (isRecord$
|
|
134351
|
+
if (isRecord$4(unwrapped)) return unwrapped;
|
|
134334
134352
|
} catch {}
|
|
134335
134353
|
}
|
|
134336
134354
|
/**
|
|
@@ -134366,16 +134384,16 @@ const T3_MCP_BARE_TITLE_CALL = /^(?<tool>[A-Za-z0-9_]+)(?::\s|$)/;
|
|
|
134366
134384
|
* branded MCP item that native providers produce.
|
|
134367
134385
|
*/
|
|
134368
134386
|
function extractMcpToolCallIdentity(toolCall, options) {
|
|
134369
|
-
const rawInput = isRecord$
|
|
134370
|
-
const meta = isRecord$
|
|
134387
|
+
const rawInput = isRecord$4(toolCall.data.rawInput) ? toolCall.data.rawInput : void 0;
|
|
134388
|
+
const meta = isRecord$4(toolCall.data.meta) ? toolCall.data.meta : void 0;
|
|
134371
134389
|
const server = typeof rawInput?.server === "string" ? rawInput.server.trim() : "";
|
|
134372
134390
|
const tool = typeof rawInput?.tool === "string" ? rawInput.tool.trim() : "";
|
|
134373
134391
|
if (meta?.is_mcp_tool_call === true && server.length > 0 && tool.length > 0) return {
|
|
134374
134392
|
server,
|
|
134375
134393
|
tool
|
|
134376
134394
|
};
|
|
134377
|
-
const claudeCode = isRecord$
|
|
134378
|
-
const gooseToolCall = isRecord$
|
|
134395
|
+
const claudeCode = isRecord$4(meta?.claudeCode) ? meta.claudeCode : void 0;
|
|
134396
|
+
const gooseToolCall = isRecord$4(meta?.goose) ? isRecord$4(meta.goose.toolCall) ? meta.goose.toolCall : void 0 : void 0;
|
|
134379
134397
|
const metaServerId = typeof meta?.serverId === "string" ? meta.serverId.trim() : "";
|
|
134380
134398
|
const metaToolName = typeof meta?.toolName === "string" ? meta.toolName.trim() : "";
|
|
134381
134399
|
if (/^t3[-_ ]?code$/i.test(metaServerId) && metaToolName.length > 0) for (const knownTool of T3_MCP_TOOL_NAMES) {
|
|
@@ -134466,7 +134484,7 @@ function parsePermissionRequest(params) {
|
|
|
134466
134484
|
}
|
|
134467
134485
|
function sessionUpdateIsReplay(params) {
|
|
134468
134486
|
const meta = params._meta;
|
|
134469
|
-
return isRecord$
|
|
134487
|
+
return isRecord$4(meta) && meta.isReplay === true;
|
|
134470
134488
|
}
|
|
134471
134489
|
/** Replay chunks and substantive updates during session/load; not Grok keepalives. */
|
|
134472
134490
|
function sessionUpdateCountsAsLoadReplayActivity(params, gatedSessionId) {
|
|
@@ -134510,12 +134528,12 @@ const waitForSessionLoadReplayIdle = (input) => gen$1(function* () {
|
|
|
134510
134528
|
*/
|
|
134511
134529
|
function sessionModelStateFromInitialize(initializeResult) {
|
|
134512
134530
|
const meta = initializeResult._meta;
|
|
134513
|
-
const modelState = isRecord$
|
|
134531
|
+
const modelState = isRecord$4(meta) ? meta.modelState : void 0;
|
|
134514
134532
|
return isSessionModelState(modelState) ? modelState : void 0;
|
|
134515
134533
|
}
|
|
134516
134534
|
function syntheticLoadSessionResponseFromInitialize(initializeResult) {
|
|
134517
134535
|
const meta = initializeResult._meta;
|
|
134518
|
-
const modeState = isRecord$
|
|
134536
|
+
const modeState = isRecord$4(meta) ? meta.modeState : void 0;
|
|
134519
134537
|
const modes = isSessionModeState(modeState) ? modeState : void 0;
|
|
134520
134538
|
return {
|
|
134521
134539
|
...modes ? { modes } : {},
|
|
@@ -134593,7 +134611,7 @@ function parseSessionUpdateEvent(params) {
|
|
|
134593
134611
|
if (nativePlanId.length === 0) break;
|
|
134594
134612
|
if (upd.plan.type === "items" && "entries" in upd.plan && Array.isArray(upd.plan.entries)) {
|
|
134595
134613
|
const plan = upd.plan.entries.flatMap((entry, index) => {
|
|
134596
|
-
if (!isRecord$
|
|
134614
|
+
if (!isRecord$4(entry) || typeof entry.content !== "string") return [];
|
|
134597
134615
|
const status = typeof entry.status === "string" ? entry.status : "pending";
|
|
134598
134616
|
return [{
|
|
134599
134617
|
step: entry.content.trim().length > 0 ? entry.content.trim() : `Step ${index + 1}`,
|
|
@@ -161010,7 +161028,7 @@ const layerModelCatalog = effect(ModelCatalog, gen$1(function* () {
|
|
|
161010
161028
|
}));
|
|
161011
161029
|
//#endregion
|
|
161012
161030
|
//#region src/provider/ClaudeModelCatalog.ts
|
|
161013
|
-
const CLAUDE = ProviderDriverKind.make("claudeAgent");
|
|
161031
|
+
const CLAUDE$1 = ProviderDriverKind.make("claudeAgent");
|
|
161014
161032
|
const EMPTY_CAPABILITIES$2 = { optionDescriptors: [] };
|
|
161015
161033
|
function tryResolveClaudeModelCatalog(resolved) {
|
|
161016
161034
|
if (!resolved) return null;
|
|
@@ -161027,7 +161045,7 @@ function tryResolveClaudeModelCatalog(resolved) {
|
|
|
161027
161045
|
}
|
|
161028
161046
|
return { models };
|
|
161029
161047
|
}
|
|
161030
|
-
const BUNDLED_CLAUDE_PROVIDER_CATALOG = resolveProviderCatalog(BUNDLED_MODEL_MANIFEST, CLAUDE) ?? void 0;
|
|
161048
|
+
const BUNDLED_CLAUDE_PROVIDER_CATALOG = resolveProviderCatalog(BUNDLED_MODEL_MANIFEST, CLAUDE$1) ?? void 0;
|
|
161031
161049
|
/**
|
|
161032
161050
|
* Claude's built-in catalog from its manifest entry, falling back to the
|
|
161033
161051
|
* bundled entry when the current one is missing or has invalid adapters.
|
|
@@ -206437,7 +206455,7 @@ function cursorRateModel(model) {
|
|
|
206437
206455
|
/** Why a dashboard read was abandoned; the caller only sees the generic message. */
|
|
206438
206456
|
var CursorAccountUsageInvalidError = class extends TaggedError()("CursorAccountUsageInvalidError", { reason: String$7 }) {};
|
|
206439
206457
|
const invalid = (reason) => fail$2(new CursorAccountUsageInvalidError({ reason }));
|
|
206440
|
-
const decodeJson$
|
|
206458
|
+
const decodeJson$3 = decodeEffect(fromJsonString(Unknown));
|
|
206441
206459
|
const pageRequestBody = (page, pageSize, sinceMs, endDate) => JSON.stringify({
|
|
206442
206460
|
page,
|
|
206443
206461
|
pageSize,
|
|
@@ -206481,7 +206499,7 @@ const NO_REDIRECT = { redirect: "error" };
|
|
|
206481
206499
|
const readCursorAccountUsage = fn("readCursorAccountUsage")(function* (credentialSource, sinceMs, endDate, keychainToken = invalid("No Keychain reader")) {
|
|
206482
206500
|
const fileSystem = yield* FileSystem;
|
|
206483
206501
|
const httpClient = yield* HttpClient;
|
|
206484
|
-
const credential = yield* result$1(typeof credentialSource === "string" ? fileSystem.readFileString(credentialSource).pipe(flatMap$1(decodeJson$
|
|
206502
|
+
const credential = yield* result$1(typeof credentialSource === "string" ? fileSystem.readFileString(credentialSource).pipe(flatMap$1(decodeJson$3), map$9((credentials) => object$1(credentials).accessToken)) : keychainToken);
|
|
206485
206503
|
if (isFailure$1(credential)) {
|
|
206486
206504
|
const cause = credential.failure;
|
|
206487
206505
|
const missing = typeof credentialSource === "string" && isPlatformError$1(cause) && cause.reason._tag === "NotFound";
|
|
@@ -206503,7 +206521,7 @@ const readCursorAccountUsage = fn("readCursorAccountUsage")(function* (credentia
|
|
|
206503
206521
|
return yield* gen$1(function* () {
|
|
206504
206522
|
const payload = decodeString$2(accessToken.split(".")[1] ?? "");
|
|
206505
206523
|
if (isFailure$1(payload)) return yield* invalid("Invalid authentication");
|
|
206506
|
-
const subject = object$1(yield* decodeJson$
|
|
206524
|
+
const subject = object$1(yield* decodeJson$3(payload.success).pipe(catch_(() => invalid("Invalid authentication")))).sub;
|
|
206507
206525
|
if (typeof subject !== "string" || !subject) return yield* invalid("Invalid authentication");
|
|
206508
206526
|
const userId = subject.split("|").at(-1);
|
|
206509
206527
|
if (!userId) return yield* invalid("Invalid authentication");
|
|
@@ -207846,21 +207864,21 @@ function extractGrokPlanMarkdownFromToolCallData(data, host) {
|
|
|
207846
207864
|
return trimmed.length > 0 ? trimmed : void 0;
|
|
207847
207865
|
};
|
|
207848
207866
|
const rawInput = data.rawInput;
|
|
207849
|
-
if (isRecord$
|
|
207867
|
+
if (isRecord$3(rawInput)) {
|
|
207850
207868
|
const filePath = (typeof rawInput.file_path === "string" ? rawInput.file_path : void 0) ?? (typeof rawInput.path === "string" ? rawInput.path : void 0);
|
|
207851
207869
|
const fromRaw = takePlanText(typeof rawInput.content === "string" ? rawInput.content : void 0, filePath);
|
|
207852
207870
|
if (fromRaw !== void 0) return fromRaw;
|
|
207853
207871
|
}
|
|
207854
207872
|
const content = data.content;
|
|
207855
207873
|
if (Array.isArray(content)) for (const block of content) {
|
|
207856
|
-
if (!isRecord$
|
|
207874
|
+
if (!isRecord$3(block) || block.type !== "diff") continue;
|
|
207857
207875
|
const path = typeof block.path === "string" ? block.path : void 0;
|
|
207858
207876
|
const fromDiff = takePlanText(typeof block.newText === "string" ? block.newText : void 0, path);
|
|
207859
207877
|
if (fromDiff !== void 0) return fromDiff;
|
|
207860
207878
|
}
|
|
207861
207879
|
return sawPlanWrite ? "" : void 0;
|
|
207862
207880
|
}
|
|
207863
|
-
function isRecord$
|
|
207881
|
+
function isRecord$3(value) {
|
|
207864
207882
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
207865
207883
|
}
|
|
207866
207884
|
function trimmed(value) {
|
|
@@ -208689,7 +208707,7 @@ function grokModelsFromSettings(customModels, builtInModels = GROK_BUILT_IN_MODE
|
|
|
208689
208707
|
function nonEmptyString$1(value) {
|
|
208690
208708
|
return typeof value === "string" ? value.trim() || void 0 : void 0;
|
|
208691
208709
|
}
|
|
208692
|
-
function isRecord$
|
|
208710
|
+
function isRecord$2(value) {
|
|
208693
208711
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
208694
208712
|
}
|
|
208695
208713
|
function grokReasoningOptionsFromModel(model) {
|
|
@@ -208703,7 +208721,7 @@ function grokReasoningOptionsFromModel(model) {
|
|
|
208703
208721
|
const seen = /* @__PURE__ */ new Set();
|
|
208704
208722
|
const options = [];
|
|
208705
208723
|
for (const entry of advertisedOptions) {
|
|
208706
|
-
if (!isRecord$
|
|
208724
|
+
if (!isRecord$2(entry)) continue;
|
|
208707
208725
|
const rawValue = nonEmptyString$1(entry.value);
|
|
208708
208726
|
const rawId = nonEmptyString$1(entry.id);
|
|
208709
208727
|
const value = rawValue && isValidGrokReasoningEffortToken(rawValue) ? rawValue : rawId && isValidGrokReasoningEffortToken(rawId) ? rawId : void 0;
|
|
@@ -231515,7 +231533,7 @@ const decodeCompleted = decodeUnknownSync(TurnCompleted);
|
|
|
231515
231533
|
const decodeApproval = decodeUnknownSync(ApprovalRequested);
|
|
231516
231534
|
const decodeUserInput = decodeUnknownSync(UserInputRequested);
|
|
231517
231535
|
const encodeJson$3 = encodeEffect(fromJsonString(Unknown));
|
|
231518
|
-
const decodeJson$
|
|
231536
|
+
const decodeJson$2 = decodeEffect(fromJsonString(Unknown));
|
|
231519
231537
|
async function generateMuseText(host, workspaceRoot, prompt, modelId, reasoningEffort, signal) {
|
|
231520
231538
|
let sessionId;
|
|
231521
231539
|
const turnId = host.connection.mintCommandId();
|
|
@@ -231647,7 +231665,7 @@ const makeMuseTextGeneration = fn("makeMuseTextGeneration")(function* (settings,
|
|
|
231647
231665
|
onSome: succeed$1
|
|
231648
231666
|
})));
|
|
231649
231667
|
const decodeOutput = decodeEffect(input.outputSchema);
|
|
231650
|
-
return yield* decodeJson$
|
|
231668
|
+
return yield* decodeJson$2(extractJsonObject(response)).pipe(flatMap$1(decodeOutput), mapError((cause) => new TextGenerationError({
|
|
231651
231669
|
operation,
|
|
231652
231670
|
detail: "Muse returned invalid structured output.",
|
|
231653
231671
|
cause
|
|
@@ -258274,6 +258292,187 @@ const layerCallbackRoute = add$4("GET", MCP_CLIENT_OAUTH_CALLBACK_PATH, gen$1(fu
|
|
|
258274
258292
|
}).pipe(as(htmlResponse(callbackPage("Signed in", "You can close this tab and return to P4 Code."), 200)), catchTags({ McpClientOAuthError: (error) => logWarning$1("MCP server sign-in failed", { reason: error.reason }).pipe(as(htmlResponse(callbackPage("Sign-in failed", error.reason === "unknown-state" ? "This sign-in link expired. Start again from P4 Code." : "The server did not accept the sign-in. Try again from P4 Code."), 400))) }));
|
|
258275
258293
|
}));
|
|
258276
258294
|
//#endregion
|
|
258295
|
+
//#region src/mcp/mcpJsonTransport.ts
|
|
258296
|
+
/**
|
|
258297
|
+
* Pure helpers for `.mcp.json`-shaped server entries and registry names, shared
|
|
258298
|
+
* by provider-config discovery and plugin folders. No service imports, so the
|
|
258299
|
+
* registry can use them without depending on discovery.
|
|
258300
|
+
*
|
|
258301
|
+
* @module mcp/mcpJsonTransport
|
|
258302
|
+
*/
|
|
258303
|
+
const isValidName = is$2(McpServerName);
|
|
258304
|
+
const isRecord$1 = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
258305
|
+
const stringRecord = (value) => isRecord$1(value) ? Object.fromEntries(Object.entries(value).filter((entry) => typeof entry[1] === "string")) : {};
|
|
258306
|
+
const stringArray = (value) => Array.isArray(value) ? value.filter((item) => typeof item === "string") : [];
|
|
258307
|
+
/**
|
|
258308
|
+
* A `.mcp.json`-shaped entry (Claude Code, Cursor) as a registry transport.
|
|
258309
|
+
* Legacy SSE servers have no registry transport and are left out.
|
|
258310
|
+
*/
|
|
258311
|
+
const transportFromJsonEntry = (entry) => {
|
|
258312
|
+
if (!isRecord$1(entry)) return void 0;
|
|
258313
|
+
if (typeof entry.url === "string" && entry.url.length > 0) {
|
|
258314
|
+
if (entry.type === "sse") return void 0;
|
|
258315
|
+
if (!/^https?:\/\//i.test(entry.url)) return void 0;
|
|
258316
|
+
const oauth = isRecord$1(entry.oauth);
|
|
258317
|
+
return {
|
|
258318
|
+
type: "http",
|
|
258319
|
+
url: entry.url,
|
|
258320
|
+
headers: stringRecord(entry.headers),
|
|
258321
|
+
auth: oauth ? "oauth" : "none"
|
|
258322
|
+
};
|
|
258323
|
+
}
|
|
258324
|
+
if (typeof entry.command === "string" && entry.command.trim().length > 0) return {
|
|
258325
|
+
type: "stdio",
|
|
258326
|
+
command: entry.command.trim(),
|
|
258327
|
+
args: stringArray(entry.args),
|
|
258328
|
+
env: stringRecord(entry.env),
|
|
258329
|
+
...typeof entry.cwd === "string" && entry.cwd.trim() ? { cwd: entry.cwd.trim() } : {}
|
|
258330
|
+
};
|
|
258331
|
+
};
|
|
258332
|
+
/** A registry-valid name for a source name, unique against `taken`. */
|
|
258333
|
+
const registryNameFor = (source, taken) => {
|
|
258334
|
+
let base = source.replace(/[^a-zA-Z0-9_-]+/g, "-").replace(/^[^a-zA-Z0-9]+/, "").slice(0, 60);
|
|
258335
|
+
if (base.length === 0 || base === "t3-code") base = `server-${base || "mcp"}`;
|
|
258336
|
+
let name = base;
|
|
258337
|
+
for (let suffix = 2; taken.has(name) || !isValidName(name); suffix += 1) name = `${base}-${suffix}`;
|
|
258338
|
+
return name;
|
|
258339
|
+
};
|
|
258340
|
+
//#endregion
|
|
258341
|
+
//#region src/mcp/PluginMcpServers.ts
|
|
258342
|
+
/**
|
|
258343
|
+
* The MCP servers a registered plugin folder declares, as registry servers for
|
|
258344
|
+
* providers that cannot load the folder themselves. Claude loads the folder as
|
|
258345
|
+
* a plugin, so every server here is turned off for it.
|
|
258346
|
+
*
|
|
258347
|
+
* Reads the Claude Code layout (`.mcp.json`, `.claude-plugin/plugin.json`) and
|
|
258348
|
+
* the Codex one (`.codex-plugin/plugin.json`); a later declaration of a name
|
|
258349
|
+
* replaces an earlier one, as in Claude Code.
|
|
258350
|
+
*
|
|
258351
|
+
* @module mcp/PluginMcpServers
|
|
258352
|
+
*/
|
|
258353
|
+
const decodeJson$1 = decodeUnknownOption(fromJsonString(Unknown));
|
|
258354
|
+
const isRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
258355
|
+
const CLAUDE = ProviderDriverKind.make("claudeAgent");
|
|
258356
|
+
/**
|
|
258357
|
+
* Expands `${CLAUDE_PLUGIN_ROOT}`, `${user_config.KEY}` from the plugin's saved
|
|
258358
|
+
* `options`, and `${VAR}` / `${VAR:-default}` from `env`. Undefined when the
|
|
258359
|
+
* value needs something only Claude Code has: an option P4 holds no value for,
|
|
258360
|
+
* or the plugin data directory.
|
|
258361
|
+
*/
|
|
258362
|
+
const expandPluginValue = (value, root, env, options = {}) => {
|
|
258363
|
+
if (/\$\{CLAUDE_PLUGIN_DATA\}/.test(value)) return void 0;
|
|
258364
|
+
let missing = false;
|
|
258365
|
+
const expanded = value.replace(/\$\{(?:user_config\.([^}]*)|([A-Za-z_][A-Za-z0-9_]*)(?::-([^}]*))?)\}/g, (match, option, name, fallback) => {
|
|
258366
|
+
if (option === void 0) return name === "CLAUDE_PLUGIN_ROOT" ? root : env[name] ?? fallback ?? match;
|
|
258367
|
+
const saved = Object.hasOwn(options, option) ? options[option] : void 0;
|
|
258368
|
+
if (!saved) missing = true;
|
|
258369
|
+
return saved ?? match;
|
|
258370
|
+
});
|
|
258371
|
+
return missing ? void 0 : expanded;
|
|
258372
|
+
};
|
|
258373
|
+
const expandRecord = (value, expand) => {
|
|
258374
|
+
if (!isRecord(value)) return void 0;
|
|
258375
|
+
const entries = Object.entries(value).flatMap(([key, item]) => {
|
|
258376
|
+
const expanded = typeof item === "string" ? expand(item) : void 0;
|
|
258377
|
+
return expanded === void 0 ? [] : [[key, expanded]];
|
|
258378
|
+
});
|
|
258379
|
+
return Object.fromEntries(entries);
|
|
258380
|
+
};
|
|
258381
|
+
/** One declared entry with plugin variables expanded, or undefined when a required field can't be. */
|
|
258382
|
+
const expandEntry = (entry, expand) => {
|
|
258383
|
+
if (!isRecord(entry)) return void 0;
|
|
258384
|
+
const result = { ...entry };
|
|
258385
|
+
for (const key of [
|
|
258386
|
+
"command",
|
|
258387
|
+
"url",
|
|
258388
|
+
"cwd"
|
|
258389
|
+
]) {
|
|
258390
|
+
if (typeof entry[key] !== "string") continue;
|
|
258391
|
+
const expanded = expand(entry[key]);
|
|
258392
|
+
if (expanded === void 0) return void 0;
|
|
258393
|
+
result[key] = expanded;
|
|
258394
|
+
}
|
|
258395
|
+
if (Array.isArray(entry.args)) {
|
|
258396
|
+
const args = entry.args.map((arg) => typeof arg === "string" ? expand(arg) : void 0);
|
|
258397
|
+
if (args.some((arg) => arg === void 0)) return void 0;
|
|
258398
|
+
result.args = args;
|
|
258399
|
+
}
|
|
258400
|
+
if (entry.env !== void 0) result.env = expandRecord(entry.env, expand);
|
|
258401
|
+
if (entry.headers !== void 0) result.headers = expandRecord(entry.headers, expand);
|
|
258402
|
+
return result;
|
|
258403
|
+
};
|
|
258404
|
+
/**
|
|
258405
|
+
* Registry servers for a plugin from its declared `mcpServers` maps, in load
|
|
258406
|
+
* order. A name Claude Code also loads from the folder is turned off for
|
|
258407
|
+
* Claude; one only the Codex manifest declares reaches Claude through P4.
|
|
258408
|
+
* Names are the server's own for a server named like the plugin, else
|
|
258409
|
+
* `<plugin>-<server>`; the caller makes them unique.
|
|
258410
|
+
*/
|
|
258411
|
+
const pluginServersFromDeclarations = (plugin, declarations, env, resolveCwd) => {
|
|
258412
|
+
const merged = /* @__PURE__ */ new Map();
|
|
258413
|
+
const loadedByClaude = /* @__PURE__ */ new Set();
|
|
258414
|
+
for (const declaration of declarations) for (const [name, entry] of Object.entries(declaration.servers)) {
|
|
258415
|
+
merged.set(name, entry);
|
|
258416
|
+
if (declaration.loadedByClaude) loadedByClaude.add(name);
|
|
258417
|
+
}
|
|
258418
|
+
const expand = (text) => expandPluginValue(text, plugin.path, env, plugin.options);
|
|
258419
|
+
return [...merged].flatMap(([serverName, entry]) => {
|
|
258420
|
+
const expanded = expandEntry(entry, expand);
|
|
258421
|
+
const transport = expanded === void 0 ? void 0 : transportFromJsonEntry(expanded);
|
|
258422
|
+
if (transport === void 0 || transport.type === "http" && transport.auth === "oauth") return [];
|
|
258423
|
+
return [{
|
|
258424
|
+
name: serverName.toLowerCase() === plugin.name.toLowerCase() ? serverName : `${plugin.name}-${serverName}`,
|
|
258425
|
+
disabledProviders: loadedByClaude.has(serverName) ? [CLAUDE] : [],
|
|
258426
|
+
transport: transport.type === "stdio" ? {
|
|
258427
|
+
type: "stdio",
|
|
258428
|
+
command: transport.command,
|
|
258429
|
+
args: transport.args,
|
|
258430
|
+
env: {
|
|
258431
|
+
CLAUDE_PLUGIN_ROOT: plugin.path,
|
|
258432
|
+
...transport.env
|
|
258433
|
+
},
|
|
258434
|
+
...transport.cwd === void 0 ? {} : { cwd: resolveCwd(transport.cwd) }
|
|
258435
|
+
} : {
|
|
258436
|
+
type: "http",
|
|
258437
|
+
url: transport.url,
|
|
258438
|
+
headers: transport.headers
|
|
258439
|
+
}
|
|
258440
|
+
}];
|
|
258441
|
+
});
|
|
258442
|
+
};
|
|
258443
|
+
/** Reads a plugin folder's MCP declarations. A missing or malformed file declares nothing. */
|
|
258444
|
+
const readPluginMcpServers = (plugin) => gen$1(function* () {
|
|
258445
|
+
const fileSystem = yield* FileSystem;
|
|
258446
|
+
const path = yield* Path$1;
|
|
258447
|
+
const root = path.resolve(plugin.path);
|
|
258448
|
+
const readJson = (file) => fileSystem.readFileString(file).pipe(option$1, map$9(flatMap$2(decodeJson$1)), map$9(getOrUndefined));
|
|
258449
|
+
const serversIn = (json) => isRecord(json) ? [isRecord(json.mcpServers) ? json.mcpServers : json] : [];
|
|
258450
|
+
const fromManifestField = (field) => {
|
|
258451
|
+
if (Array.isArray(field)) return forEach(field, fromManifestField).pipe(map$9((all) => all.flat()));
|
|
258452
|
+
if (isRecord(field)) return succeed$1([field]);
|
|
258453
|
+
if (typeof field !== "string" || !field.endsWith(".json")) return succeed$1([]);
|
|
258454
|
+
const file = path.resolve(root, field);
|
|
258455
|
+
if (path.relative(root, file).startsWith("..")) return succeed$1([]);
|
|
258456
|
+
return readJson(file).pipe(map$9(serversIn));
|
|
258457
|
+
};
|
|
258458
|
+
const declarations = serversIn(yield* readJson(path.join(root, ".mcp.json"))).map((servers) => ({
|
|
258459
|
+
servers,
|
|
258460
|
+
loadedByClaude: true
|
|
258461
|
+
}));
|
|
258462
|
+
for (const [manifest, loadedByClaude] of [[".claude-plugin/plugin.json", true], [".codex-plugin/plugin.json", false]]) {
|
|
258463
|
+
const json = yield* readJson(path.join(root, manifest));
|
|
258464
|
+
if (!isRecord(json)) continue;
|
|
258465
|
+
for (const servers of yield* fromManifestField(json.mcpServers)) declarations.push({
|
|
258466
|
+
servers,
|
|
258467
|
+
loadedByClaude
|
|
258468
|
+
});
|
|
258469
|
+
}
|
|
258470
|
+
return pluginServersFromDeclarations({
|
|
258471
|
+
...plugin,
|
|
258472
|
+
path: root
|
|
258473
|
+
}, declarations, process.env, (cwd) => path.resolve(root, cwd));
|
|
258474
|
+
});
|
|
258475
|
+
//#endregion
|
|
258277
258476
|
//#region src/mcp/McpRegistry.ts
|
|
258278
258477
|
const HEALTH_CHECK_TIMEOUT = seconds(20);
|
|
258279
258478
|
const TOKEN_REFRESH_TIMEOUT = seconds(5);
|
|
@@ -258339,7 +258538,8 @@ const resolveUserMcpRegistry = (settings, projectId, accessTokens) => {
|
|
|
258339
258538
|
}
|
|
258340
258539
|
const plugins = Object.entries(settings.plugins).filter(([id]) => resolveRegistryEntryEnabled(settings, "plugins", projectId, id)).map(([, plugin]) => ({
|
|
258341
258540
|
name: plugin.name,
|
|
258342
|
-
path: plugin.path
|
|
258541
|
+
path: plugin.path,
|
|
258542
|
+
options: plugin.options
|
|
258343
258543
|
}));
|
|
258344
258544
|
const skillOverrides = {
|
|
258345
258545
|
...settings.skillOverrides,
|
|
@@ -258409,6 +258609,8 @@ const make$79 = gen$1(function* () {
|
|
|
258409
258609
|
const settingsService = yield* ServerSettingsService;
|
|
258410
258610
|
const oauth = yield* McpClientOAuth;
|
|
258411
258611
|
const self = yield* resolveSelfInvocation();
|
|
258612
|
+
const fileSystem = yield* FileSystem;
|
|
258613
|
+
const path = yield* Path$1;
|
|
258412
258614
|
const health = /* @__PURE__ */ new Map();
|
|
258413
258615
|
const getSettings = settingsService.getSettings.pipe(mapError((cause) => new McpRegistrySettingsError({ cause })));
|
|
258414
258616
|
const accessTokenFor = (id, server) => server.transport.type === "http" && canSignIn(server.transport) ? oauth.accessToken({
|
|
@@ -258424,9 +258626,22 @@ const make$79 = gen$1(function* () {
|
|
|
258424
258626
|
if (isSome(token)) tokens.set(id, token.value);
|
|
258425
258627
|
}
|
|
258426
258628
|
const registry = resolveUserMcpRegistry(settings, projectId, tokens);
|
|
258629
|
+
const taken = new Set(registry.servers.map((server) => server.name));
|
|
258630
|
+
const pluginServers = [];
|
|
258631
|
+
for (const plugin of registry.plugins) {
|
|
258632
|
+
const declared = yield* readPluginMcpServers(plugin).pipe(provideService(FileSystem, fileSystem), provideService(Path$1, path));
|
|
258633
|
+
for (const server of declared) {
|
|
258634
|
+
const name = registryNameFor(server.name, taken);
|
|
258635
|
+
taken.add(name);
|
|
258636
|
+
pluginServers.push({
|
|
258637
|
+
...server,
|
|
258638
|
+
name
|
|
258639
|
+
});
|
|
258640
|
+
}
|
|
258641
|
+
}
|
|
258427
258642
|
return {
|
|
258428
258643
|
...registry,
|
|
258429
|
-
servers: registry.servers.map((server) => ({
|
|
258644
|
+
servers: [...registry.servers, ...pluginServers].map((server) => ({
|
|
258430
258645
|
...server,
|
|
258431
258646
|
transport: server.transport.type === "stdio" ? withStdioWorkingDirectory(server.transport, self) : server.transport
|
|
258432
258647
|
}))
|
|
@@ -279153,7 +279368,7 @@ function createStore(resolveRoot, options) {
|
|
|
279153
279368
|
/** The optional Skia renderer, loaded once; a failed load is tried again on the next render. */
|
|
279154
279369
|
const loadRenderer = async () => {
|
|
279155
279370
|
try {
|
|
279156
|
-
renderer ??= (options.loadRenderer ?? (() => import("./renderer-
|
|
279371
|
+
renderer ??= (options.loadRenderer ?? (() => import("./renderer-B8qsc7RL.mjs")))();
|
|
279157
279372
|
return await renderer;
|
|
279158
279373
|
} catch (error) {
|
|
279159
279374
|
renderer = void 0;
|
|
@@ -291911,7 +292126,7 @@ async function runDesignTransfer(request, options, emit, signal) {
|
|
|
291911
292126
|
const native = async () => {
|
|
291912
292127
|
check();
|
|
291913
292128
|
try {
|
|
291914
|
-
return renderer ??= await (options.loadRenderer ?? (() => import("./renderer-
|
|
292129
|
+
return renderer ??= await (options.loadRenderer ?? (() => import("./renderer-B8qsc7RL.mjs")))();
|
|
291915
292130
|
} catch {
|
|
291916
292131
|
throw fail("Optional renderer unavailable; install skia-canvas 3.0.8 for this host", "renderer-unavailable");
|
|
291917
292132
|
}
|
|
@@ -307314,7 +307529,6 @@ const layer$43 = effect(UsageLimitSources, make$23);
|
|
|
307314
307529
|
//#endregion
|
|
307315
307530
|
//#region src/mcp/McpConfigDiscovery.ts
|
|
307316
307531
|
const CODEX_MCP_LIST_TIMEOUT = "10 seconds";
|
|
307317
|
-
const isValidName = is$2(McpServerName);
|
|
307318
307532
|
const decodeJson = decodeUnknownOption(fromJsonString(Unknown));
|
|
307319
307533
|
var McpImportError = class extends TaggedError()("McpImportError", {
|
|
307320
307534
|
reason: Literals$2(["settings", "not-found"]),
|
|
@@ -307324,37 +307538,9 @@ var McpImportError = class extends TaggedError()("McpImportError", {
|
|
|
307324
307538
|
return this.reason === "not-found" ? "That server is no longer in the provider's config." : "Failed to save the imported servers.";
|
|
307325
307539
|
}
|
|
307326
307540
|
};
|
|
307327
|
-
const isRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
307328
|
-
const stringRecord = (value) => isRecord(value) ? Object.fromEntries(Object.entries(value).filter((entry) => typeof entry[1] === "string")) : {};
|
|
307329
|
-
const stringArray = (value) => Array.isArray(value) ? value.filter((item) => typeof item === "string") : [];
|
|
307330
|
-
/**
|
|
307331
|
-
* A `.mcp.json`-shaped entry (Claude Code, Cursor) as a registry transport.
|
|
307332
|
-
* Legacy SSE servers have no registry transport and are left out.
|
|
307333
|
-
*/
|
|
307334
|
-
const transportFromJsonEntry = (entry) => {
|
|
307335
|
-
if (!isRecord(entry)) return void 0;
|
|
307336
|
-
if (typeof entry.url === "string" && entry.url.length > 0) {
|
|
307337
|
-
if (entry.type === "sse") return void 0;
|
|
307338
|
-
if (!/^https?:\/\//i.test(entry.url)) return void 0;
|
|
307339
|
-
const oauth = isRecord(entry.oauth);
|
|
307340
|
-
return {
|
|
307341
|
-
type: "http",
|
|
307342
|
-
url: entry.url,
|
|
307343
|
-
headers: stringRecord(entry.headers),
|
|
307344
|
-
auth: oauth ? "oauth" : "none"
|
|
307345
|
-
};
|
|
307346
|
-
}
|
|
307347
|
-
if (typeof entry.command === "string" && entry.command.trim().length > 0) return {
|
|
307348
|
-
type: "stdio",
|
|
307349
|
-
command: entry.command.trim(),
|
|
307350
|
-
args: stringArray(entry.args),
|
|
307351
|
-
env: stringRecord(entry.env),
|
|
307352
|
-
...typeof entry.cwd === "string" && entry.cwd.trim() ? { cwd: entry.cwd.trim() } : {}
|
|
307353
|
-
};
|
|
307354
|
-
};
|
|
307355
307541
|
/** Entries of `codex mcp list --json`. */
|
|
307356
307542
|
const transportFromCodexEntry = (entry) => {
|
|
307357
|
-
if (!isRecord(entry) || !isRecord(entry.transport)) return void 0;
|
|
307543
|
+
if (!isRecord$1(entry) || !isRecord$1(entry.transport)) return void 0;
|
|
307358
307544
|
const transport = entry.transport;
|
|
307359
307545
|
if (transport.type === "stdio" && typeof transport.command === "string") return {
|
|
307360
307546
|
type: "stdio",
|
|
@@ -307388,14 +307574,6 @@ const isCodexAppManaged = (transport, codexHome) => {
|
|
|
307388
307574
|
...transport.args
|
|
307389
307575
|
].some((part) => part.startsWith(plugins) || /\/(?:ChatGPT|Codex)\.app\/Contents\//.test(part));
|
|
307390
307576
|
};
|
|
307391
|
-
/** A registry-valid name for a source name, unique against `taken`. */
|
|
307392
|
-
const registryNameFor = (source, taken) => {
|
|
307393
|
-
let base = source.replace(/[^a-zA-Z0-9_-]+/g, "-").replace(/^[^a-zA-Z0-9]+/, "").slice(0, 60);
|
|
307394
|
-
if (base.length === 0 || base === "t3-code") base = `server-${base || "mcp"}`;
|
|
307395
|
-
let name = base;
|
|
307396
|
-
for (let suffix = 2; taken.has(name) || !isValidName(name); suffix += 1) name = `${base}-${suffix}`;
|
|
307397
|
-
return name;
|
|
307398
|
-
};
|
|
307399
307577
|
/** A one-line label that never includes arguments, env, or headers. */
|
|
307400
307578
|
const summarize = (transport) => {
|
|
307401
307579
|
if (transport.type === "http") try {
|
|
@@ -307418,7 +307596,7 @@ const make$22 = gen$1(function* () {
|
|
|
307418
307596
|
const home = NodeOS.homedir();
|
|
307419
307597
|
const importLock = yield* make$253(1);
|
|
307420
307598
|
const readJson = (file) => fileSystem.readFileString(file).pipe(option$1, map$9(flatMap$2(decodeJson)));
|
|
307421
|
-
const fromJsonServers = (provider, file, servers) => isRecord(servers) ? Object.entries(servers).flatMap(([name, entry]) => {
|
|
307599
|
+
const fromJsonServers = (provider, file, servers) => isRecord$1(servers) ? Object.entries(servers).flatMap(([name, entry]) => {
|
|
307422
307600
|
const transport = transportFromJsonEntry(entry);
|
|
307423
307601
|
return transport === void 0 ? [] : [{
|
|
307424
307602
|
provider,
|
|
@@ -307451,7 +307629,7 @@ const make$22 = gen$1(function* () {
|
|
|
307451
307629
|
const codexHome = process.env.CODEX_HOME ?? path.join(home, ".codex");
|
|
307452
307630
|
return entries.flatMap((entry) => {
|
|
307453
307631
|
const transport = transportFromCodexEntry(entry);
|
|
307454
|
-
return transport === void 0 || isCodexAppManaged(transport, codexHome) || !isRecord(entry) || typeof entry.name !== "string" ? [] : [{
|
|
307632
|
+
return transport === void 0 || isCodexAppManaged(transport, codexHome) || !isRecord$1(entry) || typeof entry.name !== "string" ? [] : [{
|
|
307455
307633
|
provider: "codex",
|
|
307456
307634
|
path: label,
|
|
307457
307635
|
name: entry.name,
|
|
@@ -307464,10 +307642,10 @@ const make$22 = gen$1(function* () {
|
|
|
307464
307642
|
const results = [];
|
|
307465
307643
|
const claudeJson = path.join(home, ".claude.json");
|
|
307466
307644
|
const claude = yield* readJson(claudeJson);
|
|
307467
|
-
if (isSome(claude) && isRecord(claude.value)) {
|
|
307645
|
+
if (isSome(claude) && isRecord$1(claude.value)) {
|
|
307468
307646
|
results.push(...fromJsonServers("claude", claudeJson, claude.value.mcpServers));
|
|
307469
307647
|
const projectEntry = root === void 0 ? void 0 : claude.value.projects;
|
|
307470
|
-
if (root !== void 0 && isRecord(projectEntry) && isRecord(projectEntry[root])) results.push(...fromJsonServers("claude", claudeJson, projectEntry[root].mcpServers));
|
|
307648
|
+
if (root !== void 0 && isRecord$1(projectEntry) && isRecord$1(projectEntry[root])) results.push(...fromJsonServers("claude", claudeJson, projectEntry[root].mcpServers));
|
|
307471
307649
|
}
|
|
307472
307650
|
const jsonFiles = [
|
|
307473
307651
|
...root === void 0 ? [] : [["claude", path.join(root, ".mcp.json")]],
|
|
@@ -307476,7 +307654,7 @@ const make$22 = gen$1(function* () {
|
|
|
307476
307654
|
];
|
|
307477
307655
|
for (const [provider, file] of jsonFiles) {
|
|
307478
307656
|
const json = yield* readJson(file);
|
|
307479
|
-
if (isSome(json) && isRecord(json.value)) results.push(...fromJsonServers(provider, file, json.value.mcpServers));
|
|
307657
|
+
if (isSome(json) && isRecord$1(json.value)) results.push(...fromJsonServers(provider, file, json.value.mcpServers));
|
|
307480
307658
|
}
|
|
307481
307659
|
results.push(...yield* codexServers(root ?? home));
|
|
307482
307660
|
return results.map((server) => {
|
|
@@ -322168,7 +322346,7 @@ const ServerEntry = Struct({
|
|
|
322168
322346
|
});
|
|
322169
322347
|
const McpRegistryToolkit = make$16(make$17("p4_mcp_server_list", {
|
|
322170
322348
|
...shared$2,
|
|
322171
|
-
description: "List the MCP servers and
|
|
322349
|
+
description: "List the MCP servers and plugins in this environment's P4 registry. `enabled` is the environment value; `effectiveEnabled` is the value within the calling thread's project (null for a caller outside a thread). Each server shows its transport, a summary (command name or URL host), the providers it is turned off for, and its last checked health and sign-in state. Arguments, environment values, headers, and tokens are never returned.",
|
|
322172
322350
|
success: Struct({
|
|
322173
322351
|
projectId: NullOr(ProjectId),
|
|
322174
322352
|
servers: ArraySchema(ServerEntry),
|
|
@@ -330681,4 +330859,4 @@ function runCli() {
|
|
|
330681
330859
|
//#endregion
|
|
330682
330860
|
export { runCli };
|
|
330683
330861
|
|
|
330684
|
-
//# sourceMappingURL=binCli-
|
|
330862
|
+
//# sourceMappingURL=binCli-IAUzRF0Y.mjs.map
|