@p4code/cli 0.8.13 → 0.8.14
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-BvhJ8Jqb.mjs} +253 -102
- package/dist/client/.vite/manifest.json +1283 -1283
- package/dist/client/assets/{AuthSurfaceShell-CJdXkxyH.js → AuthSurfaceShell-Dfm2iXjM.js} +2 -2
- package/dist/client/assets/{ChatGptUsageButton-7u9uPgbK.js → ChatGptUsageButton-BE2a_fvh.js} +2 -2
- package/dist/client/assets/{ChatMarkdown-C22JFyYa.js → ChatMarkdown-2qihmx2E.js} +4 -4
- package/dist/client/assets/{CodexSetupSection.logic-CEAT7YdZ.js → CodexSetupSection.logic-CZIedhFM.js} +2 -2
- package/dist/client/assets/{CommandBlock-CWt29kmi.js → CommandBlock-cV3B4sIS.js} +2 -2
- package/dist/client/assets/{ComposerPromptEditor-Bt_L4smq.js → ComposerPromptEditor-l0YJjut-.js} +4 -4
- package/dist/client/assets/{DevicePanel-CZm-f5TC.js → DevicePanel-CyqJ_QAv.js} +2 -2
- package/dist/client/assets/{DeviceSetup-BdrkGme6.js → DeviceSetup-B9gRys_T.js} +2 -2
- package/dist/client/assets/{DiffCommentAnnotation-B-XoYYxb.js → DiffCommentAnnotation-DqJdp0B7.js} +2 -2
- package/dist/client/assets/{DiffFileTree-CwTkSU3R.js → DiffFileTree-C0BZv_u5.js} +2 -2
- package/dist/client/assets/{DiffPanel-BCI9XXpF.js → DiffPanel-DvpW3Wct.js} +2 -2
- package/dist/client/assets/{DiffWorkerPoolProvider-OPZsOibX.js → DiffWorkerPoolProvider-C0s_fra9.js} +2 -2
- package/dist/client/assets/{EmbeddedDesign-DwRAPHYl.js → EmbeddedDesign-DGCXXVf5.js} +2 -2
- package/dist/client/assets/{FileDiff-BkJG5QAe.js → FileDiff-BtKZeeO5.js} +2 -2
- package/dist/client/assets/{FilePreviewPanel-CURtQAD1.js → FilePreviewPanel-DzVGuSCc.js} +2 -2
- package/dist/client/assets/{FoldedSettingsSection-B9B8i8Gg.js → FoldedSettingsSection-VCEXXLW3.js} +2 -2
- package/dist/client/assets/{NoProjectsHero-CkhVaJk9.js → NoProjectsHero-BQBJO2CN.js} +2 -2
- package/dist/client/assets/{PanelLayoutControls-CxuV0JO3.js → PanelLayoutControls-DnSdAhOm.js} +4 -4
- package/dist/client/assets/{PierreEntryIcon-CPG-jnaN.js → PierreEntryIcon-B1r7qMgq.js} +2 -2
- package/dist/client/assets/{PreviewPanel-Doh1peEu.js → PreviewPanel-CtXaNx5N.js} +2 -2
- package/dist/client/assets/{ProjectDefaultsSettings-DfhAk0_Y.js → ProjectDefaultsSettings-BYtlqxeq.js} +2 -2
- package/dist/client/assets/{ProjectFavicon-DUW6Bo66.js → ProjectFavicon-B5bWp7V6.js} +3 -3
- package/dist/client/assets/{ProjectIconPickerDialog-C613hnVY.js → ProjectIconPickerDialog-BWSyrwJD.js} +2 -2
- package/dist/client/assets/{ProviderAuthTerminal-eq346NX_.js → ProviderAuthTerminal-B2L5_uXE.js} +2 -2
- package/dist/client/assets/{ProviderModelPicker-DPb-88ui.js → ProviderModelPicker-B8ibbi9S.js} +2 -2
- package/dist/client/assets/{ProviderSettingsForm-DTYqzs8W.js → ProviderSettingsForm-DYn7It9I.js} +2 -2
- package/dist/client/assets/{PullRequestCodeTab-BBz0FfLD.js → PullRequestCodeTab-BfSQc1r1.js} +2 -2
- package/dist/client/assets/{ReadOnlySourcePreview-CkeeLVAm.js → ReadOnlySourcePreview-8MghAaC9.js} +2 -2
- package/dist/client/assets/{RenderErrorBoundary-mfAvIiFU.js → RenderErrorBoundary-Dm9BLD1I.js} +2 -2
- package/dist/client/assets/{ScheduledTasksSettings-BMUE9M9Z.js → ScheduledTasksSettings-ClZG_1G7.js} +2 -2
- package/dist/client/assets/{ScopedSwitch-BKOdsllO.js → ScopedSwitch-C7nxtEAT.js} +2 -2
- package/dist/client/assets/{SettingsPanels-BHhMJaVc.js → SettingsPanels-kXpGLc3M.js} +2 -2
- package/dist/client/assets/{SettingsPanels.logic-BwmY39Sq.js → SettingsPanels.logic-CcNyZsm-.js} +2 -2
- package/dist/client/assets/{SettingsScopeNotice-DAPsshab.js → SettingsScopeNotice-CM4ubyNs.js} +2 -2
- package/dist/client/assets/{T3ConnectAccountPages-CDuVbE2z.js → T3ConnectAccountPages-Cm4JG3hx.js} +2 -2
- package/dist/client/assets/{T3ConnectSidebarSignIn-BSQHp-Xq.js → T3ConnectSidebarSignIn-CmvCTtlG.js} +2 -2
- package/dist/client/assets/{ThemeEditorPanel-BiuI7Uiy.js → ThemeEditorPanel-kOwPAMtd.js} +2 -2
- package/dist/client/assets/{ThreadTerminalDrawer-B8n6TAqv.js → ThreadTerminalDrawer-CK0khkH6.js} +2 -2
- package/dist/client/assets/{Virtualizer-CTnacEby.js → Virtualizer-B895TWmX.js} +2 -2
- package/dist/client/assets/{_chat-z348gvgF.js → _chat-akhFQFVf.js} +5 -5
- package/dist/client/assets/{_chat.index-CBbUzaK7.js → _chat.index-P-ZRID1j.js} +2 -2
- package/dist/client/assets/{_chat.new-7TTfcDf1.js → _chat.new-DXkFcRYp.js} +2 -2
- package/dist/client/assets/{_chat.pull-requests-BE7Q2lUu.js → _chat.pull-requests-BYR5YTIM.js} +2 -2
- package/dist/client/assets/{abnfDiagram-VCTEODGH-HaXM7twL.js → abnfDiagram-VCTEODGH-CcoyEMJc.js} +2 -2
- package/dist/client/assets/architecture-7GRP2DOG-BCI44Tco.js +1 -0
- package/dist/client/assets/{architectureDiagram-5GKGNRK7-BhWXFsXS.js → architectureDiagram-5GKGNRK7-CXxubV6d.js} +2 -2
- package/dist/client/assets/{assets-DXnV2oRj.js → assets-C7tdule6.js} +2 -2
- package/dist/client/assets/{blockDiagram-I7D4REHJ-D213N9iF.js → blockDiagram-I7D4REHJ-DWnNJQVf.js} +2 -2
- package/dist/client/assets/{browserHistoryStore-DURO3U2L.js → browserHistoryStore-PqPCT4tW.js} +2 -2
- package/dist/client/assets/{browserLinkTarget-DcGx3A8F.js → browserLinkTarget-CWURM-O2.js} +2 -2
- package/dist/client/assets/{c4Diagram-7LVT6UL2-58POuQV-.js → c4Diagram-7LVT6UL2-DKlxhhfG.js} +2 -2
- package/dist/client/assets/channel-FPHxEbB1.js +2 -0
- package/dist/client/assets/{chunk-4HAMMTFA-Bcwcw8Wz.js → chunk-4HAMMTFA-BXCbWh-l.js} +2 -2
- package/dist/client/assets/{chunk-75Z2AOVW-BaYdZ0Fq.js → chunk-75Z2AOVW-ByRA_PDR.js} +2 -2
- package/dist/client/assets/{chunk-DU6HZSFF-B6TRgw4-.js → chunk-DU6HZSFF-CxOE2RJx.js} +2 -2
- package/dist/client/assets/{chunk-F27PBJKO-B5arSwg6.js → chunk-F27PBJKO-DXbxgIcF.js} +2 -2
- package/dist/client/assets/{chunk-GMAD6QVW-XeNCd3gb.js → chunk-GMAD6QVW-C-CPxvzK.js} +2 -2
- package/dist/client/assets/{chunk-GVQU2GXP-CWVbbWh7.js → chunk-GVQU2GXP-N8FA1SLM.js} +2 -2
- package/dist/client/assets/{chunk-IMKFNOWR-Cb-yxIAE.js → chunk-IMKFNOWR-DTBCxfEA.js} +2 -2
- package/dist/client/assets/{chunk-L3NEJ4N5-Di7nZhzu.js → chunk-L3NEJ4N5-DpY0Sgfm.js} +2 -2
- package/dist/client/assets/{chunk-OSK3NFVY-DcqBXKUK.js → chunk-OSK3NFVY-BZXi7c79.js} +2 -2
- package/dist/client/assets/{chunk-P2QGCYS3-DJ1kMiTY.js → chunk-P2QGCYS3-CEZ0Wrp3.js} +2 -2
- package/dist/client/assets/{chunk-POPQ4Y6H-Ba9RYr-b.js → chunk-POPQ4Y6H-ChY6VtHX.js} +2 -2
- package/dist/client/assets/{chunk-PWAF6VOD-D4Ch07S8.js → chunk-PWAF6VOD-ynZZsG4M.js} +2 -2
- package/dist/client/assets/{chunk-SHT3W25Y-BafMUZgc.js → chunk-SHT3W25Y-B2nWifo1.js} +2 -2
- package/dist/client/assets/{chunk-SVP7TREG-CsEVe0s3.js → chunk-SVP7TREG-B8mLhKtO.js} +2 -2
- package/dist/client/assets/{chunk-TICWLB2K-D3tgdZlp.js → chunk-TICWLB2K-DRpXMD23.js} +2 -2
- package/dist/client/assets/classDiagram-ZZMXUADV-BmhihMCg.js +2 -0
- package/dist/client/assets/classDiagram-v2-VYDZK3BY-BmhihMCg.js +2 -0
- package/dist/client/assets/{connect-Vt7wlrih.js → connect-C2Pvay2K.js} +2 -2
- package/dist/client/assets/{connect-agent-CX70rAkF.js → connect-agent-F9m6jdrN.js} +2 -2
- package/dist/client/assets/{cynefin-OW5HDTMX-CU8HnD4F.js → cynefin-OW5HDTMX-Bdj9a2Tr.js} +1 -1
- package/dist/client/assets/{cynefinDiagram-5FMLGOSQ-Cvc6_oYZ.js → cynefinDiagram-5FMLGOSQ-CI4Z0tY2.js} +2 -2
- package/dist/client/assets/{dagre-GXQ25YYZ-Bx5buWLS.js → dagre-GXQ25YYZ-BiXNu3UE.js} +2 -2
- package/dist/client/assets/{device-BgvBRE7C.js → device-dy573Bzs.js} +2 -2
- package/dist/client/assets/{diagram-S7CK7UJ4-CPZrAy0P.js → diagram-S7CK7UJ4-BoHm89r6.js} +2 -2
- package/dist/client/assets/{diagram-UQ7AKVKN-kBtSnHpL.js → diagram-UQ7AKVKN-C-2Ubrz8.js} +2 -2
- package/dist/client/assets/{diagram-VSXAHHWV-DQP2q1tS.js → diagram-VSXAHHWV-5CTD9pHp.js} +2 -2
- package/dist/client/assets/{diagram-VX7I27RA-DRUN0yEk.js → diagram-VX7I27RA-BJfYpp_F.js} +2 -2
- package/dist/client/assets/{diagram-Z3DM3KII-D4WMsQZZ.js → diagram-Z3DM3KII-z35dx_kK.js} +2 -2
- package/dist/client/assets/{diffRendering-iR2meoVj.js → diffRendering-BiYYLTwl.js} +2 -2
- package/dist/client/assets/{dist-vr51zfzA.js → dist-Bl7QV0pY.js} +2 -2
- package/dist/client/assets/{duoViewer-DTVry3xd.js → duoViewer-CPD9Wvk1.js} +2 -2
- package/dist/client/assets/{dynamic-CuoX2JEO.js → dynamic-DcfMLaU_.js} +2 -2
- package/dist/client/assets/{ebnfDiagram-PWID7BFC-BNUtunQw.js → ebnfDiagram-PWID7BFC-C2Fa8ORo.js} +2 -2
- package/dist/client/assets/{embeddedScripts-BMvBWRz_.js → embeddedScripts-DFdnbLSr.js} +2 -2
- package/dist/client/assets/{entities-7B8nzlQw.js → entities-B2DNkHHQ.js} +2 -2
- package/dist/client/assets/{environments-DYIXXf7q.js → environments-Bqz0Jaj_.js} +2 -2
- package/dist/client/assets/{erDiagram-RLTQ6QDP-DHjjowZq.js → erDiagram-RLTQ6QDP-WIlBdlNc.js} +2 -2
- package/dist/client/assets/eventmodeling-NTZA5JFV-Q6rJ-HVs.js +1 -0
- package/dist/client/assets/{fileLinks-BYi-XNUG.js → fileLinks-Y7rrQ-ob.js} +2 -2
- package/dist/client/assets/{fileTreeExpansion-DIOxQqDo.js → fileTreeExpansion-CktIYdPM.js} +2 -2
- package/dist/client/assets/flowDiagram-HODETNUW-Dyon23dU.js +1 -0
- package/dist/client/assets/{ganttDiagram-EL5Y4UJY-DEPOqoj0.js → ganttDiagram-EL5Y4UJY-CzIDxrzr.js} +2 -2
- package/dist/client/assets/{getDiffFileInput-DMj15wpy.js → getDiffFileInput-DaXZ00WD.js} +2 -2
- package/dist/client/assets/{gitGraph-4MIJSDKK-BGKW_zhb.js → gitGraph-4MIJSDKK-VJZ5WW8j.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-WWUBYQGX-7UhsI5zi.js → gitGraphDiagram-WWUBYQGX--N7ACKgH.js} +2 -2
- package/dist/client/assets/{guideRunStore-BEkwZ9H7.js → guideRunStore-C8Xso-YV.js} +2 -2
- package/dist/client/assets/{index-C_MVyH59.js → index-9_IX9wXh.js} +3 -3
- package/dist/client/assets/{info-A6RAGUB7-jvyzx_4e.js → info-A6RAGUB7-BsLL2HTs.js} +1 -1
- package/dist/client/assets/{infoDiagram-27XIBGKW-lTTpu3as.js → infoDiagram-27XIBGKW-H0RWUQa6.js} +2 -2
- package/dist/client/assets/{ishikawaDiagram-5VMMS53U-DlrQNGG9.js → ishikawaDiagram-5VMMS53U-BoBtpQFP.js} +2 -2
- package/dist/client/assets/{journeyDiagram-3NMN7TZE-Buy9e-fU.js → journeyDiagram-3NMN7TZE-rcwS0plS.js} +2 -2
- package/dist/client/assets/{kanban-definition-UXKFOSKX-1KgAXH0g.js → kanban-definition-UXKFOSKX-CMC0FYSq.js} +2 -2
- package/dist/client/assets/{line-DUV1hs6X.js → line-CbOfbAku.js} +2 -2
- package/dist/client/assets/{linkedPrompt-Da8rJho3.js → linkedPrompt-Bw0INRKj.js} +2 -2
- package/dist/client/assets/{main-Bh6Hj0_-.js → main-C6Kmott7.js} +7 -7
- package/dist/client/assets/{mediaReference-CLlAiRVc.js → mediaReference-CRKV_ScS.js} +2 -2
- package/dist/client/assets/{mediaSource-BTCWn94E.js → mediaSource-Hn2lPB2b.js} +2 -2
- package/dist/client/assets/{mermaid-parser.core-CsBuWV4-.js → mermaid-parser.core-BGJPFG4o.js} +4 -4
- package/dist/client/assets/{mermaid.core-BcICv5EB.js → mermaid.core-Bt6Qv84k.js} +5 -5
- package/dist/client/assets/{mindmap-definition-YA3MSWOX-BqCqe4io.js → mindmap-definition-YA3MSWOX-4Y8RevXP.js} +2 -2
- package/dist/client/assets/{onboarding-COQ6KgRG.js → onboarding-BnJjKcjq.js} +2 -2
- package/dist/client/assets/{openFileInPreview-BhRAqg63.js → openFileInPreview-BupyBOTN.js} +2 -2
- package/dist/client/assets/{p4ProjectFile-z5Hlq99W.js → p4ProjectFile-CUk0B5Zd.js} +2 -2
- package/dist/client/assets/{packet-AYTQ26CC-BYCaPqFA.js → packet-AYTQ26CC-CRQRHja4.js} +1 -1
- package/dist/client/assets/{pair-BDKjGij-.js → pair-ohR-X0pV.js} +2 -2
- package/dist/client/assets/{pegDiagram-XKGWAZYB-CqCw5Z-L.js → pegDiagram-XKGWAZYB-Dk0K8AzU.js} +2 -2
- package/dist/client/assets/{phoneViewer-DLSM0QXE.js → phoneViewer-DD_58CZV.js} +2 -2
- package/dist/client/assets/{pie-WAS4IAKB-BfOlqQx1.js → pie-WAS4IAKB-CWKurrWM.js} +1 -1
- package/dist/client/assets/{pieDiagram-E7YTZNPT-DZpCrUQF.js → pieDiagram-E7YTZNPT-DlRA_ADi.js} +2 -2
- package/dist/client/assets/{pierre-icons-BG7vd34x.js → pierre-icons-Bj2UJzq7.js} +2 -2
- package/dist/client/assets/{preview-bd-MGMMz.js → preview-Czvs-xjq.js} +2 -2
- package/dist/client/assets/{primary-BwHoAoya.js → primary-C0h34HcZ.js} +2 -2
- package/dist/client/assets/{primaryCloudLinkState-DtOYGRkF.js → primaryCloudLinkState-EkUmcneJ.js} +2 -2
- package/dist/client/assets/{projectFilesQueryState-BP_JvI7-.js → projectFilesQueryState-DDX2gPG6.js} +2 -2
- package/dist/client/assets/{projectScriptEditor-BGLshibY.js → projectScriptEditor-B-W-Sbdv.js} +2 -2
- package/dist/client/assets/{providerSkills-DxYtwoxJ.js → providerSkills-OoPsDyac.js} +2 -2
- package/dist/client/assets/{pullRequestDetail.logic-C_aVDAY_.js → pullRequestDetail.logic-BZIPv0wR.js} +2 -2
- package/dist/client/assets/{pullRequests-D0no1PZS.js → pullRequests-BuF4aTBF.js} +2 -2
- package/dist/client/assets/{quadrantDiagram-AXDQQJYC-BTtuOXlL.js → quadrantDiagram-AXDQQJYC-Cgrn1gJf.js} +2 -2
- package/dist/client/assets/{queries-DkmaXOL-.js → queries-B5qQohie.js} +2 -2
- package/dist/client/assets/{radar-RG4KPBEZ-BiJgnIUY.js → radar-RG4KPBEZ-BNds8J7E.js} +1 -1
- package/dist/client/assets/{railroad-74A4TZTK-C0CA0mcr.js → railroad-74A4TZTK-c-ku32yb.js} +1 -1
- package/dist/client/assets/railroad-abnf-HS5TGJTU-DdK1L4Kf.js +1 -0
- package/dist/client/assets/railroad-ebnf-LZEXJU2U-DAIwdsWb.js +1 -0
- package/dist/client/assets/railroad-peg-WCYAUIDC-B6SwzZWt.js +1 -0
- package/dist/client/assets/{railroadDiagram-O6MQD6OU-WczOSoF4.js → railroadDiagram-O6MQD6OU-CQ0Qmd0t.js} +2 -2
- package/dist/client/assets/{renderScheduler-BLjFSKnt.js → renderScheduler-CFozWmL-.js} +2 -2
- package/dist/client/assets/{requirementDiagram-BXWQKSXE-B3qCIQP5.js → requirementDiagram-BXWQKSXE-ssGfFSCi.js} +2 -2
- package/dist/client/assets/{runtime-Bni_zt6P.js → runtime-C2Cbg6bw.js} +2 -2
- package/dist/client/assets/{runtime-D8mKjOP-.js → runtime-C9FXEGBC.js} +3 -3
- package/dist/client/assets/{sankeyDiagram-P5KCCOFB-e2-j7ERe.js → sankeyDiagram-P5KCCOFB-CTZUXdFj.js} +2 -2
- package/dist/client/assets/{scheduledTasksSettings.logic-BNC897-_.js → scheduledTasksSettings.logic-Cucrqmxt.js} +2 -2
- package/dist/client/assets/{sequenceDiagram-WJ2MYXX4-DG7-8UJk.js → sequenceDiagram-WJ2MYXX4-B8uW-gHN.js} +2 -2
- package/dist/client/assets/{server-CaLEm3Wt.js → server-B3nCKBrK.js} +2 -2
- package/dist/client/assets/{session-2CRBJwS7.js → session-DtKtS09P.js} +2 -2
- package/dist/client/assets/{session-logic-BLOBsHEA.js → session-logic-P3KsudEl.js} +2 -2
- package/dist/client/assets/{settings-BIwaDm1N.js → settings-BNJbLRpG.js} +2 -2
- package/dist/client/assets/{settings.appearance-ToUM8fHh.js → settings.appearance-DKLKCSXj.js} +2 -2
- package/dist/client/assets/settings.archived-BeEB6d0D.js +2 -0
- package/dist/client/assets/{settings.computer-use-BEghs16L.js → settings.computer-use-BcdKzzUy.js} +2 -2
- package/dist/client/assets/{settings.connections-C_LVk0gJ.js → settings.connections-Cjmfz_7g.js} +2 -2
- package/dist/client/assets/{settings.data-controls-BaTil8NB.js → settings.data-controls-CZHmsfBq.js} +2 -2
- package/dist/client/assets/{settings.decisions-JTbMt08J.js → settings.decisions-C3WA_g2Z.js} +2 -2
- package/dist/client/assets/{settings.diagnostics-ByG62ZGs.js → settings.diagnostics-Bfh6T3JX.js} +2 -2
- package/dist/client/assets/{settings.general-BT78z_Cn.js → settings.general-HB-_Jy6d.js} +2 -2
- package/dist/client/assets/{settings.integrations-C3jj2T1d.js → settings.integrations-C-uLxrlE.js} +2 -2
- package/dist/client/assets/{settings.keybindings-CeqZWQEi.js → settings.keybindings-BGq7j4EC.js} +2 -2
- package/dist/client/assets/{settings.open-source-licenses-BAFwkfI8.js → settings.open-source-licenses-VexlqZXJ.js} +2 -2
- package/dist/client/assets/settings.plugins-P_jMyYCz.js +5 -0
- package/dist/client/assets/{settings.projects-Cqx1zAvs.js → settings.projects-Bl6-Pt9m.js} +3 -3
- package/dist/client/assets/{settings.providers-CS55UrI1.js → settings.providers-Dk00EIn3.js} +3 -3
- package/dist/client/assets/{settings.scheduled-tasks-CFJTEOb1.js → settings.scheduled-tasks-IH5fvnPs.js} +2 -2
- package/dist/client/assets/{settings.snap-shot-E3AITJyC.js → settings.snap-shot-CaOvSkk3.js} +2 -2
- package/dist/client/assets/{settings.source-control-CWWy9E3b.js → settings.source-control-hwzkeaj5.js} +2 -2
- package/dist/client/assets/{settings.storage-BnUI1rFT.js → settings.storage-YtslAsAl.js} +2 -2
- package/dist/client/assets/{settingsLayout-DHc6oKfL.js → settingsLayout-Oe2gP0HD.js} +2 -2
- package/dist/client/assets/{sidebarProjectGrouping-DD4nu9RX.js → sidebarProjectGrouping-zfg6kMP5.js} +2 -2
- package/dist/client/assets/{sortable.esm-BAEGChD3.js → sortable.esm-CFdu6ubt.js} +2 -2
- package/dist/client/assets/{sourceControl-BAghu6LN.js → sourceControl-CNpb3juM.js} +2 -2
- package/dist/client/assets/{stateDiagram-D77RDMKH-CpZF58eW.js → stateDiagram-D77RDMKH-BXjvJECk.js} +2 -2
- package/dist/client/assets/stateDiagram-v2-MP3YSRHH-DoChugDq.js +2 -0
- package/dist/client/assets/{swimlanes-42K2YHIH-D1b49puG.js → swimlanes-42K2YHIH-BuQKiVFK.js} +2 -2
- package/dist/client/assets/swimlanesDiagram-VR7AAH4N-Bwk0C9Yw.js +9 -0
- package/dist/client/assets/{terminalSessions-Q2t1JYPS.js → terminalSessions-C0i8FMIw.js} +2 -2
- package/dist/client/assets/{threadSort-C5oCCRfj.js → threadSort-urWEkJav.js} +2 -2
- package/dist/client/assets/{timeline-definition-24CTP7MA-89AJY6KO.js → timeline-definition-24CTP7MA-gsy_kdrp.js} +2 -2
- package/dist/client/assets/{toast-DhMYg_gN.js → toast-D1xgN6T2.js} +2 -2
- package/dist/client/assets/{treeView-Q6P3EWNA-CqNF2YcW.js → treeView-Q6P3EWNA-BHvMPOqK.js} +1 -1
- package/dist/client/assets/{treemap-WGGIJYW6-LJa3ZEYA.js → treemap-WGGIJYW6-D8SWHA1Z.js} +1 -1
- package/dist/client/assets/{usage-CJVyABbK.js → usage-BsNTrKRO.js} +2 -2
- package/dist/client/assets/{use-atom-command-x4GQBtio.js → use-atom-command-DFVJioxM.js} +2 -2
- package/dist/client/assets/{useHandleNewThread-CReGBX6y.js → useHandleNewThread-D3kzOunA.js} +2 -2
- package/dist/client/assets/{usePullRequestActions-BL4mjngC.js → usePullRequestActions-eR9_K37m.js} +2 -2
- package/dist/client/assets/{useScopedModelAvailability-CBOIiaXC.js → useScopedModelAvailability-DloNarQ1.js} +2 -2
- package/dist/client/assets/{useSettings-Dx076NWT.js → useSettings-BVUg52H2.js} +2 -2
- package/dist/client/assets/{useT3ConnectAuthPrompt-1zTdZLsH.js → useT3ConnectAuthPrompt-iHfw63uu.js} +2 -2
- package/dist/client/assets/{vcsRefInvalidation-46AnO9mr.js → vcsRefInvalidation-DZeFb_fD.js} +2 -2
- package/dist/client/assets/{vennDiagram-4TSXK5OY-CvvE7gMp.js → vennDiagram-4TSXK5OY-DWeHYWRx.js} +2 -2
- package/dist/client/assets/{wardley-WFR3VGLG-Ca8Qzkpo.js → wardley-WFR3VGLG-CfPV8k7N.js} +1 -1
- package/dist/client/assets/{wardleyDiagram-VM6X3IG4-BBSNgSMI.js → wardleyDiagram-VM6X3IG4-D0SH6I3q.js} +2 -2
- package/dist/client/assets/{welcome-B3wsq5wK.js → welcome-BWkyKuVQ.js} +2 -2
- package/dist/client/assets/{xychartDiagram-S5SC5T6Z-D8OhWe48.js → xychartDiagram-S5SC5T6Z-CHYweeaE.js} +2 -2
- package/dist/client/index.html +1 -1
- package/dist/{renderer-C4CdFj__.mjs → renderer-BFtino0A.mjs} +2 -2
- package/dist/{runtime-CCVFqL3Y.mjs → runtime-ERvpj9Mz.mjs} +3 -3
- package/package.json +1 -1
- 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/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
|
@@ -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-ERvpj9Mz.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) {
|
|
@@ -71186,7 +71186,7 @@ const writeFileStringAtomically = (input) => scoped(gen$1(function* () {
|
|
|
71186
71186
|
}));
|
|
71187
71187
|
//#endregion
|
|
71188
71188
|
//#region package.json
|
|
71189
|
-
var version$1 = "0.8.
|
|
71189
|
+
var version$1 = "0.8.14";
|
|
71190
71190
|
//#endregion
|
|
71191
71191
|
//#region ../../packages/shared/src/qrCode.ts
|
|
71192
71192
|
var QrCode = class QrCode {
|
|
@@ -79070,12 +79070,12 @@ function normalizeDpopHtu(url) {
|
|
|
79070
79070
|
}
|
|
79071
79071
|
//#endregion
|
|
79072
79072
|
//#region ../../packages/shared/src/relaySigning.ts
|
|
79073
|
-
function isRecord$
|
|
79073
|
+
function isRecord$5(value) {
|
|
79074
79074
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
79075
79075
|
}
|
|
79076
79076
|
function stableStringify(value) {
|
|
79077
79077
|
if (Array.isArray(value)) return `[${value.map(stableStringify).join(",")}]`;
|
|
79078
|
-
if (isRecord$
|
|
79078
|
+
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
79079
|
return JSON.stringify(value) ?? "null";
|
|
79080
79080
|
}
|
|
79081
79081
|
//#endregion
|
|
@@ -81174,7 +81174,7 @@ var ApplicationEventSequenceIndexes_default = gen$1(function* () {
|
|
|
81174
81174
|
});
|
|
81175
81175
|
//#endregion
|
|
81176
81176
|
//#region src/persistence/Migrations/OrchestrationV2/ApplicationEventSource.ts
|
|
81177
|
-
const decodeJson$
|
|
81177
|
+
const decodeJson$5 = decodeUnknownEffect$1(fromJsonString(Unknown));
|
|
81178
81178
|
const encodeJson$5 = encodeEffect(fromJsonString(Unknown));
|
|
81179
81179
|
var ApplicationEventSource_default = gen$1(function* () {
|
|
81180
81180
|
const sql = yield* SqlClient;
|
|
@@ -81279,8 +81279,8 @@ var ApplicationEventSource_default = gen$1(function* () {
|
|
|
81279
81279
|
projectId: project.project_id,
|
|
81280
81280
|
title: project.title,
|
|
81281
81281
|
workspaceRoot: project.workspace_root,
|
|
81282
|
-
defaultModelSelection: project.default_model_selection_json === null ? null : yield* decodeJson$
|
|
81283
|
-
scripts: yield* decodeJson$
|
|
81282
|
+
defaultModelSelection: project.default_model_selection_json === null ? null : yield* decodeJson$5(project.default_model_selection_json),
|
|
81283
|
+
scripts: yield* decodeJson$5(project.scripts_json),
|
|
81284
81284
|
createdAt: project.created_at,
|
|
81285
81285
|
updatedAt: project.updated_at
|
|
81286
81286
|
};
|
|
@@ -129473,7 +129473,7 @@ const AcpRegistryIndexEnvelope = Struct({
|
|
|
129473
129473
|
});
|
|
129474
129474
|
const decodeRegistryIndexEnvelope = decodeUnknownEffect$1(AcpRegistryIndexEnvelope);
|
|
129475
129475
|
const decodeRegistryAgent = decodeUnknownOption(AcpRegistryAgent);
|
|
129476
|
-
const decodeJson$
|
|
129476
|
+
const decodeJson$4 = decodeUnknownEffect$1(fromJsonString(Unknown));
|
|
129477
129477
|
const decodeNpmPackageManifest = decodeUnknownEffect$1(fromJsonString(NpmPackageManifest));
|
|
129478
129478
|
const decodePackageInstallReceipt = decodeUnknownOption(fromJsonString(AcpRegistryPackageInstallReceipt));
|
|
129479
129479
|
const encodePackageInstallReceipt = encodeSync(fromJsonString(AcpRegistryPackageInstallReceipt));
|
|
@@ -129559,7 +129559,7 @@ const acpRegistryManagedBinaryDirectories = fn("acpRegistryManagedBinaryDirector
|
|
|
129559
129559
|
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
129560
|
}
|
|
129561
129561
|
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$
|
|
129562
|
+
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
129563
|
const decoded = decodeRegistryAgent(candidate);
|
|
129564
129564
|
return isSome(decoded) ? [decoded.value] : [];
|
|
129565
129565
|
})), orElseSucceed(() => []));
|
|
@@ -129741,7 +129741,7 @@ const makeAcpRegistryCatalog = fn("AcpRegistryCatalog.make")(function* (input) {
|
|
|
129741
129741
|
return value;
|
|
129742
129742
|
});
|
|
129743
129743
|
const decodeRegistryText = fn("AcpRegistryCatalog.decodeRegistryText")(function* (text) {
|
|
129744
|
-
const decoded = yield* decodeJson$
|
|
129744
|
+
const decoded = yield* decodeJson$4(text).pipe(mapError((cause) => new AcpRegistryError({
|
|
129745
129745
|
reason: "registry_unavailable",
|
|
129746
129746
|
detail: "ACP Registry returned invalid JSON.",
|
|
129747
129747
|
cause
|
|
@@ -133765,7 +133765,7 @@ function deriveToolActivityPresentation(input) {
|
|
|
133765
133765
|
}
|
|
133766
133766
|
//#endregion
|
|
133767
133767
|
//#region ../../packages/provider-acp/src/server/runtimeModel.ts
|
|
133768
|
-
function isRecord$
|
|
133768
|
+
function isRecord$4(value) {
|
|
133769
133769
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
133770
133770
|
}
|
|
133771
133771
|
const isSessionModelState = is$2(SessionModelState);
|
|
@@ -134017,7 +134017,7 @@ function extractCommandFromTitle(title) {
|
|
|
134017
134017
|
return /`([^`]+)`/.exec(title)?.[1]?.trim() || void 0;
|
|
134018
134018
|
}
|
|
134019
134019
|
function extractToolCallCommand(rawInput, title, kind) {
|
|
134020
|
-
if (isRecord$
|
|
134020
|
+
if (isRecord$4(rawInput)) {
|
|
134021
134021
|
const directCommand = normalizeCommandValue(rawInput.command);
|
|
134022
134022
|
if (directCommand) return directCommand;
|
|
134023
134023
|
const executable = typeof rawInput.executable === "string" ? rawInput.executable.trim() : "";
|
|
@@ -134056,12 +134056,12 @@ function locationsFromToolCallInput(input) {
|
|
|
134056
134056
|
if (input.content) {
|
|
134057
134057
|
for (const entry of input.content) if (entry.type === "diff" && "path" in entry) pushPath(entry.path);
|
|
134058
134058
|
}
|
|
134059
|
-
if (isRecord$
|
|
134059
|
+
if (isRecord$4(input.rawInput)) {
|
|
134060
134060
|
pushPath(input.rawInput.path);
|
|
134061
134061
|
pushPath(input.rawInput.filePath);
|
|
134062
134062
|
pushPath(input.rawInput.file_path);
|
|
134063
134063
|
}
|
|
134064
|
-
if (isRecord$
|
|
134064
|
+
if (isRecord$4(input.rawOutput)) {
|
|
134065
134065
|
pushPath(input.rawOutput.path);
|
|
134066
134066
|
pushPath(input.rawOutput.filePath);
|
|
134067
134067
|
pushPath(input.rawOutput.file_path);
|
|
@@ -134082,7 +134082,7 @@ const RAW_OUTPUT_TEXT_FIELDS = [
|
|
|
134082
134082
|
"output"
|
|
134083
134083
|
];
|
|
134084
134084
|
function boundToolCallRawOutput(rawOutput) {
|
|
134085
|
-
if (!isRecord$
|
|
134085
|
+
if (!isRecord$4(rawOutput)) return rawOutput;
|
|
134086
134086
|
let changed = false;
|
|
134087
134087
|
const bounded = { ...rawOutput };
|
|
134088
134088
|
for (const field of RAW_OUTPUT_TEXT_FIELDS) {
|
|
@@ -134213,12 +134213,12 @@ function makeToolCallState(input, options) {
|
|
|
134213
134213
|
if (title) data.title = title;
|
|
134214
134214
|
if (command) data.command = command;
|
|
134215
134215
|
if (input.rawInput !== void 0) data.rawInput = input.rawInput;
|
|
134216
|
-
if (isRecord$
|
|
134216
|
+
if (isRecord$4(input._meta)) data.meta = input._meta;
|
|
134217
134217
|
if (input.rawOutput !== void 0) data.rawOutput = boundToolCallRawOutput(input.rawOutput);
|
|
134218
134218
|
if (input.content != null) data.content = sanitizeAcpToolCallContent(extractedContent.content ?? input.content);
|
|
134219
134219
|
const locations = locationsFromToolCallInput(input);
|
|
134220
134220
|
if (locations !== void 0) data.locations = locations;
|
|
134221
|
-
if (isRecord$
|
|
134221
|
+
if (isRecord$4(input._meta)) data.meta = input._meta;
|
|
134222
134222
|
const fallbackDetail = command ?? normalizedTitle ?? textContent;
|
|
134223
134223
|
const presentation = title !== void 0 || kind !== void 0 || command !== void 0 || normalizedTitle !== void 0 || textContent !== void 0 ? deriveToolActivityPresentation({
|
|
134224
134224
|
itemType: canonicalItemTypeFromAcpToolKind(kind),
|
|
@@ -134277,13 +134277,13 @@ function toolCallProgressLength(state) {
|
|
|
134277
134277
|
let contentChars = 0;
|
|
134278
134278
|
const content = state.data.content;
|
|
134279
134279
|
if (Array.isArray(content)) for (const entry of content) {
|
|
134280
|
-
if (!isRecord$
|
|
134280
|
+
if (!isRecord$4(entry)) continue;
|
|
134281
134281
|
const text = toolCallContentText(entry);
|
|
134282
134282
|
if (text) contentChars += text.length;
|
|
134283
134283
|
}
|
|
134284
134284
|
let rawOutputChars = 0;
|
|
134285
134285
|
const rawOutput = state.data.rawOutput;
|
|
134286
|
-
if (isRecord$
|
|
134286
|
+
if (isRecord$4(rawOutput)) for (const field of RAW_OUTPUT_TEXT_FIELDS) {
|
|
134287
134287
|
const value = rawOutput[field];
|
|
134288
134288
|
if (typeof value === "string") rawOutputChars += value.length;
|
|
134289
134289
|
}
|
|
@@ -134292,7 +134292,7 @@ function toolCallProgressLength(state) {
|
|
|
134292
134292
|
function toolCallContentTexts(state) {
|
|
134293
134293
|
const content = state.data.content;
|
|
134294
134294
|
if (!Array.isArray(content)) return "";
|
|
134295
|
-
return content.map((entry) => isRecord$
|
|
134295
|
+
return content.map((entry) => isRecord$4(entry) ? toolCallContentText(entry) ?? "" : "").join("\0");
|
|
134296
134296
|
}
|
|
134297
134297
|
function toolCallVisibleOutputChanged(previous, next) {
|
|
134298
134298
|
return previous.detail !== next.detail || toolCallContentTexts(previous) !== toolCallContentTexts(next) || JSON.stringify(previous.data.rawOutput) !== JSON.stringify(next.data.rawOutput);
|
|
@@ -134330,7 +134330,7 @@ function acpMcpFallbackInput(value) {
|
|
|
134330
134330
|
for (const candidate of candidates) try {
|
|
134331
134331
|
const parsed = JSON.parse(candidate);
|
|
134332
134332
|
const unwrapped = typeof parsed === "string" ? JSON.parse(parsed) : parsed;
|
|
134333
|
-
if (isRecord$
|
|
134333
|
+
if (isRecord$4(unwrapped)) return unwrapped;
|
|
134334
134334
|
} catch {}
|
|
134335
134335
|
}
|
|
134336
134336
|
/**
|
|
@@ -134366,16 +134366,16 @@ const T3_MCP_BARE_TITLE_CALL = /^(?<tool>[A-Za-z0-9_]+)(?::\s|$)/;
|
|
|
134366
134366
|
* branded MCP item that native providers produce.
|
|
134367
134367
|
*/
|
|
134368
134368
|
function extractMcpToolCallIdentity(toolCall, options) {
|
|
134369
|
-
const rawInput = isRecord$
|
|
134370
|
-
const meta = isRecord$
|
|
134369
|
+
const rawInput = isRecord$4(toolCall.data.rawInput) ? toolCall.data.rawInput : void 0;
|
|
134370
|
+
const meta = isRecord$4(toolCall.data.meta) ? toolCall.data.meta : void 0;
|
|
134371
134371
|
const server = typeof rawInput?.server === "string" ? rawInput.server.trim() : "";
|
|
134372
134372
|
const tool = typeof rawInput?.tool === "string" ? rawInput.tool.trim() : "";
|
|
134373
134373
|
if (meta?.is_mcp_tool_call === true && server.length > 0 && tool.length > 0) return {
|
|
134374
134374
|
server,
|
|
134375
134375
|
tool
|
|
134376
134376
|
};
|
|
134377
|
-
const claudeCode = isRecord$
|
|
134378
|
-
const gooseToolCall = isRecord$
|
|
134377
|
+
const claudeCode = isRecord$4(meta?.claudeCode) ? meta.claudeCode : void 0;
|
|
134378
|
+
const gooseToolCall = isRecord$4(meta?.goose) ? isRecord$4(meta.goose.toolCall) ? meta.goose.toolCall : void 0 : void 0;
|
|
134379
134379
|
const metaServerId = typeof meta?.serverId === "string" ? meta.serverId.trim() : "";
|
|
134380
134380
|
const metaToolName = typeof meta?.toolName === "string" ? meta.toolName.trim() : "";
|
|
134381
134381
|
if (/^t3[-_ ]?code$/i.test(metaServerId) && metaToolName.length > 0) for (const knownTool of T3_MCP_TOOL_NAMES) {
|
|
@@ -134466,7 +134466,7 @@ function parsePermissionRequest(params) {
|
|
|
134466
134466
|
}
|
|
134467
134467
|
function sessionUpdateIsReplay(params) {
|
|
134468
134468
|
const meta = params._meta;
|
|
134469
|
-
return isRecord$
|
|
134469
|
+
return isRecord$4(meta) && meta.isReplay === true;
|
|
134470
134470
|
}
|
|
134471
134471
|
/** Replay chunks and substantive updates during session/load; not Grok keepalives. */
|
|
134472
134472
|
function sessionUpdateCountsAsLoadReplayActivity(params, gatedSessionId) {
|
|
@@ -134510,12 +134510,12 @@ const waitForSessionLoadReplayIdle = (input) => gen$1(function* () {
|
|
|
134510
134510
|
*/
|
|
134511
134511
|
function sessionModelStateFromInitialize(initializeResult) {
|
|
134512
134512
|
const meta = initializeResult._meta;
|
|
134513
|
-
const modelState = isRecord$
|
|
134513
|
+
const modelState = isRecord$4(meta) ? meta.modelState : void 0;
|
|
134514
134514
|
return isSessionModelState(modelState) ? modelState : void 0;
|
|
134515
134515
|
}
|
|
134516
134516
|
function syntheticLoadSessionResponseFromInitialize(initializeResult) {
|
|
134517
134517
|
const meta = initializeResult._meta;
|
|
134518
|
-
const modeState = isRecord$
|
|
134518
|
+
const modeState = isRecord$4(meta) ? meta.modeState : void 0;
|
|
134519
134519
|
const modes = isSessionModeState(modeState) ? modeState : void 0;
|
|
134520
134520
|
return {
|
|
134521
134521
|
...modes ? { modes } : {},
|
|
@@ -134593,7 +134593,7 @@ function parseSessionUpdateEvent(params) {
|
|
|
134593
134593
|
if (nativePlanId.length === 0) break;
|
|
134594
134594
|
if (upd.plan.type === "items" && "entries" in upd.plan && Array.isArray(upd.plan.entries)) {
|
|
134595
134595
|
const plan = upd.plan.entries.flatMap((entry, index) => {
|
|
134596
|
-
if (!isRecord$
|
|
134596
|
+
if (!isRecord$4(entry) || typeof entry.content !== "string") return [];
|
|
134597
134597
|
const status = typeof entry.status === "string" ? entry.status : "pending";
|
|
134598
134598
|
return [{
|
|
134599
134599
|
step: entry.content.trim().length > 0 ? entry.content.trim() : `Step ${index + 1}`,
|
|
@@ -161010,7 +161010,7 @@ const layerModelCatalog = effect(ModelCatalog, gen$1(function* () {
|
|
|
161010
161010
|
}));
|
|
161011
161011
|
//#endregion
|
|
161012
161012
|
//#region src/provider/ClaudeModelCatalog.ts
|
|
161013
|
-
const CLAUDE = ProviderDriverKind.make("claudeAgent");
|
|
161013
|
+
const CLAUDE$1 = ProviderDriverKind.make("claudeAgent");
|
|
161014
161014
|
const EMPTY_CAPABILITIES$2 = { optionDescriptors: [] };
|
|
161015
161015
|
function tryResolveClaudeModelCatalog(resolved) {
|
|
161016
161016
|
if (!resolved) return null;
|
|
@@ -161027,7 +161027,7 @@ function tryResolveClaudeModelCatalog(resolved) {
|
|
|
161027
161027
|
}
|
|
161028
161028
|
return { models };
|
|
161029
161029
|
}
|
|
161030
|
-
const BUNDLED_CLAUDE_PROVIDER_CATALOG = resolveProviderCatalog(BUNDLED_MODEL_MANIFEST, CLAUDE) ?? void 0;
|
|
161030
|
+
const BUNDLED_CLAUDE_PROVIDER_CATALOG = resolveProviderCatalog(BUNDLED_MODEL_MANIFEST, CLAUDE$1) ?? void 0;
|
|
161031
161031
|
/**
|
|
161032
161032
|
* Claude's built-in catalog from its manifest entry, falling back to the
|
|
161033
161033
|
* bundled entry when the current one is missing or has invalid adapters.
|
|
@@ -206437,7 +206437,7 @@ function cursorRateModel(model) {
|
|
|
206437
206437
|
/** Why a dashboard read was abandoned; the caller only sees the generic message. */
|
|
206438
206438
|
var CursorAccountUsageInvalidError = class extends TaggedError()("CursorAccountUsageInvalidError", { reason: String$7 }) {};
|
|
206439
206439
|
const invalid = (reason) => fail$2(new CursorAccountUsageInvalidError({ reason }));
|
|
206440
|
-
const decodeJson$
|
|
206440
|
+
const decodeJson$3 = decodeEffect(fromJsonString(Unknown));
|
|
206441
206441
|
const pageRequestBody = (page, pageSize, sinceMs, endDate) => JSON.stringify({
|
|
206442
206442
|
page,
|
|
206443
206443
|
pageSize,
|
|
@@ -206481,7 +206481,7 @@ const NO_REDIRECT = { redirect: "error" };
|
|
|
206481
206481
|
const readCursorAccountUsage = fn("readCursorAccountUsage")(function* (credentialSource, sinceMs, endDate, keychainToken = invalid("No Keychain reader")) {
|
|
206482
206482
|
const fileSystem = yield* FileSystem;
|
|
206483
206483
|
const httpClient = yield* HttpClient;
|
|
206484
|
-
const credential = yield* result$1(typeof credentialSource === "string" ? fileSystem.readFileString(credentialSource).pipe(flatMap$1(decodeJson$
|
|
206484
|
+
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
206485
|
if (isFailure$1(credential)) {
|
|
206486
206486
|
const cause = credential.failure;
|
|
206487
206487
|
const missing = typeof credentialSource === "string" && isPlatformError$1(cause) && cause.reason._tag === "NotFound";
|
|
@@ -206503,7 +206503,7 @@ const readCursorAccountUsage = fn("readCursorAccountUsage")(function* (credentia
|
|
|
206503
206503
|
return yield* gen$1(function* () {
|
|
206504
206504
|
const payload = decodeString$2(accessToken.split(".")[1] ?? "");
|
|
206505
206505
|
if (isFailure$1(payload)) return yield* invalid("Invalid authentication");
|
|
206506
|
-
const subject = object$1(yield* decodeJson$
|
|
206506
|
+
const subject = object$1(yield* decodeJson$3(payload.success).pipe(catch_(() => invalid("Invalid authentication")))).sub;
|
|
206507
206507
|
if (typeof subject !== "string" || !subject) return yield* invalid("Invalid authentication");
|
|
206508
206508
|
const userId = subject.split("|").at(-1);
|
|
206509
206509
|
if (!userId) return yield* invalid("Invalid authentication");
|
|
@@ -207846,21 +207846,21 @@ function extractGrokPlanMarkdownFromToolCallData(data, host) {
|
|
|
207846
207846
|
return trimmed.length > 0 ? trimmed : void 0;
|
|
207847
207847
|
};
|
|
207848
207848
|
const rawInput = data.rawInput;
|
|
207849
|
-
if (isRecord$
|
|
207849
|
+
if (isRecord$3(rawInput)) {
|
|
207850
207850
|
const filePath = (typeof rawInput.file_path === "string" ? rawInput.file_path : void 0) ?? (typeof rawInput.path === "string" ? rawInput.path : void 0);
|
|
207851
207851
|
const fromRaw = takePlanText(typeof rawInput.content === "string" ? rawInput.content : void 0, filePath);
|
|
207852
207852
|
if (fromRaw !== void 0) return fromRaw;
|
|
207853
207853
|
}
|
|
207854
207854
|
const content = data.content;
|
|
207855
207855
|
if (Array.isArray(content)) for (const block of content) {
|
|
207856
|
-
if (!isRecord$
|
|
207856
|
+
if (!isRecord$3(block) || block.type !== "diff") continue;
|
|
207857
207857
|
const path = typeof block.path === "string" ? block.path : void 0;
|
|
207858
207858
|
const fromDiff = takePlanText(typeof block.newText === "string" ? block.newText : void 0, path);
|
|
207859
207859
|
if (fromDiff !== void 0) return fromDiff;
|
|
207860
207860
|
}
|
|
207861
207861
|
return sawPlanWrite ? "" : void 0;
|
|
207862
207862
|
}
|
|
207863
|
-
function isRecord$
|
|
207863
|
+
function isRecord$3(value) {
|
|
207864
207864
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
207865
207865
|
}
|
|
207866
207866
|
function trimmed(value) {
|
|
@@ -208689,7 +208689,7 @@ function grokModelsFromSettings(customModels, builtInModels = GROK_BUILT_IN_MODE
|
|
|
208689
208689
|
function nonEmptyString$1(value) {
|
|
208690
208690
|
return typeof value === "string" ? value.trim() || void 0 : void 0;
|
|
208691
208691
|
}
|
|
208692
|
-
function isRecord$
|
|
208692
|
+
function isRecord$2(value) {
|
|
208693
208693
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
208694
208694
|
}
|
|
208695
208695
|
function grokReasoningOptionsFromModel(model) {
|
|
@@ -208703,7 +208703,7 @@ function grokReasoningOptionsFromModel(model) {
|
|
|
208703
208703
|
const seen = /* @__PURE__ */ new Set();
|
|
208704
208704
|
const options = [];
|
|
208705
208705
|
for (const entry of advertisedOptions) {
|
|
208706
|
-
if (!isRecord$
|
|
208706
|
+
if (!isRecord$2(entry)) continue;
|
|
208707
208707
|
const rawValue = nonEmptyString$1(entry.value);
|
|
208708
208708
|
const rawId = nonEmptyString$1(entry.id);
|
|
208709
208709
|
const value = rawValue && isValidGrokReasoningEffortToken(rawValue) ? rawValue : rawId && isValidGrokReasoningEffortToken(rawId) ? rawId : void 0;
|
|
@@ -231515,7 +231515,7 @@ const decodeCompleted = decodeUnknownSync(TurnCompleted);
|
|
|
231515
231515
|
const decodeApproval = decodeUnknownSync(ApprovalRequested);
|
|
231516
231516
|
const decodeUserInput = decodeUnknownSync(UserInputRequested);
|
|
231517
231517
|
const encodeJson$3 = encodeEffect(fromJsonString(Unknown));
|
|
231518
|
-
const decodeJson$
|
|
231518
|
+
const decodeJson$2 = decodeEffect(fromJsonString(Unknown));
|
|
231519
231519
|
async function generateMuseText(host, workspaceRoot, prompt, modelId, reasoningEffort, signal) {
|
|
231520
231520
|
let sessionId;
|
|
231521
231521
|
const turnId = host.connection.mintCommandId();
|
|
@@ -231647,7 +231647,7 @@ const makeMuseTextGeneration = fn("makeMuseTextGeneration")(function* (settings,
|
|
|
231647
231647
|
onSome: succeed$1
|
|
231648
231648
|
})));
|
|
231649
231649
|
const decodeOutput = decodeEffect(input.outputSchema);
|
|
231650
|
-
return yield* decodeJson$
|
|
231650
|
+
return yield* decodeJson$2(extractJsonObject(response)).pipe(flatMap$1(decodeOutput), mapError((cause) => new TextGenerationError({
|
|
231651
231651
|
operation,
|
|
231652
231652
|
detail: "Muse returned invalid structured output.",
|
|
231653
231653
|
cause
|
|
@@ -258274,6 +258274,179 @@ const layerCallbackRoute = add$4("GET", MCP_CLIENT_OAUTH_CALLBACK_PATH, gen$1(fu
|
|
|
258274
258274
|
}).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
258275
|
}));
|
|
258276
258276
|
//#endregion
|
|
258277
|
+
//#region src/mcp/mcpJsonTransport.ts
|
|
258278
|
+
/**
|
|
258279
|
+
* Pure helpers for `.mcp.json`-shaped server entries and registry names, shared
|
|
258280
|
+
* by provider-config discovery and plugin folders. No service imports, so the
|
|
258281
|
+
* registry can use them without depending on discovery.
|
|
258282
|
+
*
|
|
258283
|
+
* @module mcp/mcpJsonTransport
|
|
258284
|
+
*/
|
|
258285
|
+
const isValidName = is$2(McpServerName);
|
|
258286
|
+
const isRecord$1 = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
258287
|
+
const stringRecord = (value) => isRecord$1(value) ? Object.fromEntries(Object.entries(value).filter((entry) => typeof entry[1] === "string")) : {};
|
|
258288
|
+
const stringArray = (value) => Array.isArray(value) ? value.filter((item) => typeof item === "string") : [];
|
|
258289
|
+
/**
|
|
258290
|
+
* A `.mcp.json`-shaped entry (Claude Code, Cursor) as a registry transport.
|
|
258291
|
+
* Legacy SSE servers have no registry transport and are left out.
|
|
258292
|
+
*/
|
|
258293
|
+
const transportFromJsonEntry = (entry) => {
|
|
258294
|
+
if (!isRecord$1(entry)) return void 0;
|
|
258295
|
+
if (typeof entry.url === "string" && entry.url.length > 0) {
|
|
258296
|
+
if (entry.type === "sse") return void 0;
|
|
258297
|
+
if (!/^https?:\/\//i.test(entry.url)) return void 0;
|
|
258298
|
+
const oauth = isRecord$1(entry.oauth);
|
|
258299
|
+
return {
|
|
258300
|
+
type: "http",
|
|
258301
|
+
url: entry.url,
|
|
258302
|
+
headers: stringRecord(entry.headers),
|
|
258303
|
+
auth: oauth ? "oauth" : "none"
|
|
258304
|
+
};
|
|
258305
|
+
}
|
|
258306
|
+
if (typeof entry.command === "string" && entry.command.trim().length > 0) return {
|
|
258307
|
+
type: "stdio",
|
|
258308
|
+
command: entry.command.trim(),
|
|
258309
|
+
args: stringArray(entry.args),
|
|
258310
|
+
env: stringRecord(entry.env),
|
|
258311
|
+
...typeof entry.cwd === "string" && entry.cwd.trim() ? { cwd: entry.cwd.trim() } : {}
|
|
258312
|
+
};
|
|
258313
|
+
};
|
|
258314
|
+
/** A registry-valid name for a source name, unique against `taken`. */
|
|
258315
|
+
const registryNameFor = (source, taken) => {
|
|
258316
|
+
let base = source.replace(/[^a-zA-Z0-9_-]+/g, "-").replace(/^[^a-zA-Z0-9]+/, "").slice(0, 60);
|
|
258317
|
+
if (base.length === 0 || base === "t3-code") base = `server-${base || "mcp"}`;
|
|
258318
|
+
let name = base;
|
|
258319
|
+
for (let suffix = 2; taken.has(name) || !isValidName(name); suffix += 1) name = `${base}-${suffix}`;
|
|
258320
|
+
return name;
|
|
258321
|
+
};
|
|
258322
|
+
//#endregion
|
|
258323
|
+
//#region src/mcp/PluginMcpServers.ts
|
|
258324
|
+
/**
|
|
258325
|
+
* The MCP servers a registered plugin folder declares, as registry servers for
|
|
258326
|
+
* providers that cannot load the folder themselves. Claude loads the folder as
|
|
258327
|
+
* a plugin, so every server here is turned off for it.
|
|
258328
|
+
*
|
|
258329
|
+
* Reads the Claude Code layout (`.mcp.json`, `.claude-plugin/plugin.json`) and
|
|
258330
|
+
* the Codex one (`.codex-plugin/plugin.json`); a later declaration of a name
|
|
258331
|
+
* replaces an earlier one, as in Claude Code.
|
|
258332
|
+
*
|
|
258333
|
+
* @module mcp/PluginMcpServers
|
|
258334
|
+
*/
|
|
258335
|
+
const decodeJson$1 = decodeUnknownOption(fromJsonString(Unknown));
|
|
258336
|
+
const isRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
258337
|
+
const CLAUDE = ProviderDriverKind.make("claudeAgent");
|
|
258338
|
+
/**
|
|
258339
|
+
* Expands `${CLAUDE_PLUGIN_ROOT}` and `${VAR}` / `${VAR:-default}` from `env`.
|
|
258340
|
+
* Undefined when the value needs something only Claude Code has: a plugin
|
|
258341
|
+
* option (`${user_config.*}`) or its plugin data directory.
|
|
258342
|
+
*/
|
|
258343
|
+
const expandPluginValue = (value, root, env) => {
|
|
258344
|
+
if (/\$\{(?:user_config\.|CLAUDE_PLUGIN_DATA\})/.test(value)) return void 0;
|
|
258345
|
+
return value.replace(/\$\{([A-Za-z_][A-Za-z0-9_]*)(?::-([^}]*))?\}/g, (match, name, fallback) => name === "CLAUDE_PLUGIN_ROOT" ? root : env[name] ?? fallback ?? match);
|
|
258346
|
+
};
|
|
258347
|
+
const expandRecord = (value, expand) => {
|
|
258348
|
+
if (!isRecord(value)) return void 0;
|
|
258349
|
+
const entries = Object.entries(value).flatMap(([key, item]) => {
|
|
258350
|
+
const expanded = typeof item === "string" ? expand(item) : void 0;
|
|
258351
|
+
return expanded === void 0 ? [] : [[key, expanded]];
|
|
258352
|
+
});
|
|
258353
|
+
return Object.fromEntries(entries);
|
|
258354
|
+
};
|
|
258355
|
+
/** One declared entry with plugin variables expanded, or undefined when a required field can't be. */
|
|
258356
|
+
const expandEntry = (entry, expand) => {
|
|
258357
|
+
if (!isRecord(entry)) return void 0;
|
|
258358
|
+
const result = { ...entry };
|
|
258359
|
+
for (const key of [
|
|
258360
|
+
"command",
|
|
258361
|
+
"url",
|
|
258362
|
+
"cwd"
|
|
258363
|
+
]) {
|
|
258364
|
+
if (typeof entry[key] !== "string") continue;
|
|
258365
|
+
const expanded = expand(entry[key]);
|
|
258366
|
+
if (expanded === void 0) return void 0;
|
|
258367
|
+
result[key] = expanded;
|
|
258368
|
+
}
|
|
258369
|
+
if (Array.isArray(entry.args)) {
|
|
258370
|
+
const args = entry.args.map((arg) => typeof arg === "string" ? expand(arg) : void 0);
|
|
258371
|
+
if (args.some((arg) => arg === void 0)) return void 0;
|
|
258372
|
+
result.args = args;
|
|
258373
|
+
}
|
|
258374
|
+
if (entry.env !== void 0) result.env = expandRecord(entry.env, expand);
|
|
258375
|
+
if (entry.headers !== void 0) result.headers = expandRecord(entry.headers, expand);
|
|
258376
|
+
return result;
|
|
258377
|
+
};
|
|
258378
|
+
/**
|
|
258379
|
+
* Registry servers for a plugin from its declared `mcpServers` maps, in load
|
|
258380
|
+
* order. A name Claude Code also loads from the folder is turned off for
|
|
258381
|
+
* Claude; one only the Codex manifest declares reaches Claude through P4.
|
|
258382
|
+
* Names are the server's own for a server named like the plugin, else
|
|
258383
|
+
* `<plugin>-<server>`; the caller makes them unique.
|
|
258384
|
+
*/
|
|
258385
|
+
const pluginServersFromDeclarations = (plugin, declarations, env, resolveCwd) => {
|
|
258386
|
+
const merged = /* @__PURE__ */ new Map();
|
|
258387
|
+
const loadedByClaude = /* @__PURE__ */ new Set();
|
|
258388
|
+
for (const declaration of declarations) for (const [name, entry] of Object.entries(declaration.servers)) {
|
|
258389
|
+
merged.set(name, entry);
|
|
258390
|
+
if (declaration.loadedByClaude) loadedByClaude.add(name);
|
|
258391
|
+
}
|
|
258392
|
+
const expand = (text) => expandPluginValue(text, plugin.path, env);
|
|
258393
|
+
return [...merged].flatMap(([serverName, entry]) => {
|
|
258394
|
+
const expanded = expandEntry(entry, expand);
|
|
258395
|
+
const transport = expanded === void 0 ? void 0 : transportFromJsonEntry(expanded);
|
|
258396
|
+
if (transport === void 0 || transport.type === "http" && transport.auth === "oauth") return [];
|
|
258397
|
+
return [{
|
|
258398
|
+
name: serverName.toLowerCase() === plugin.name.toLowerCase() ? serverName : `${plugin.name}-${serverName}`,
|
|
258399
|
+
disabledProviders: loadedByClaude.has(serverName) ? [CLAUDE] : [],
|
|
258400
|
+
transport: transport.type === "stdio" ? {
|
|
258401
|
+
type: "stdio",
|
|
258402
|
+
command: transport.command,
|
|
258403
|
+
args: transport.args,
|
|
258404
|
+
env: {
|
|
258405
|
+
CLAUDE_PLUGIN_ROOT: plugin.path,
|
|
258406
|
+
...transport.env
|
|
258407
|
+
},
|
|
258408
|
+
...transport.cwd === void 0 ? {} : { cwd: resolveCwd(transport.cwd) }
|
|
258409
|
+
} : {
|
|
258410
|
+
type: "http",
|
|
258411
|
+
url: transport.url,
|
|
258412
|
+
headers: transport.headers
|
|
258413
|
+
}
|
|
258414
|
+
}];
|
|
258415
|
+
});
|
|
258416
|
+
};
|
|
258417
|
+
/** Reads a plugin folder's MCP declarations. A missing or malformed file declares nothing. */
|
|
258418
|
+
const readPluginMcpServers = (plugin) => gen$1(function* () {
|
|
258419
|
+
const fileSystem = yield* FileSystem;
|
|
258420
|
+
const path = yield* Path$1;
|
|
258421
|
+
const root = path.resolve(plugin.path);
|
|
258422
|
+
const readJson = (file) => fileSystem.readFileString(file).pipe(option$1, map$9(flatMap$2(decodeJson$1)), map$9(getOrUndefined));
|
|
258423
|
+
const serversIn = (json) => isRecord(json) ? [isRecord(json.mcpServers) ? json.mcpServers : json] : [];
|
|
258424
|
+
const fromManifestField = (field) => {
|
|
258425
|
+
if (Array.isArray(field)) return forEach(field, fromManifestField).pipe(map$9((all) => all.flat()));
|
|
258426
|
+
if (isRecord(field)) return succeed$1([field]);
|
|
258427
|
+
if (typeof field !== "string" || !field.endsWith(".json")) return succeed$1([]);
|
|
258428
|
+
const file = path.resolve(root, field);
|
|
258429
|
+
if (path.relative(root, file).startsWith("..")) return succeed$1([]);
|
|
258430
|
+
return readJson(file).pipe(map$9(serversIn));
|
|
258431
|
+
};
|
|
258432
|
+
const declarations = serversIn(yield* readJson(path.join(root, ".mcp.json"))).map((servers) => ({
|
|
258433
|
+
servers,
|
|
258434
|
+
loadedByClaude: true
|
|
258435
|
+
}));
|
|
258436
|
+
for (const [manifest, loadedByClaude] of [[".claude-plugin/plugin.json", true], [".codex-plugin/plugin.json", false]]) {
|
|
258437
|
+
const json = yield* readJson(path.join(root, manifest));
|
|
258438
|
+
if (!isRecord(json)) continue;
|
|
258439
|
+
for (const servers of yield* fromManifestField(json.mcpServers)) declarations.push({
|
|
258440
|
+
servers,
|
|
258441
|
+
loadedByClaude
|
|
258442
|
+
});
|
|
258443
|
+
}
|
|
258444
|
+
return pluginServersFromDeclarations({
|
|
258445
|
+
name: plugin.name,
|
|
258446
|
+
path: root
|
|
258447
|
+
}, declarations, process.env, (cwd) => path.resolve(root, cwd));
|
|
258448
|
+
});
|
|
258449
|
+
//#endregion
|
|
258277
258450
|
//#region src/mcp/McpRegistry.ts
|
|
258278
258451
|
const HEALTH_CHECK_TIMEOUT = seconds(20);
|
|
258279
258452
|
const TOKEN_REFRESH_TIMEOUT = seconds(5);
|
|
@@ -258409,6 +258582,8 @@ const make$79 = gen$1(function* () {
|
|
|
258409
258582
|
const settingsService = yield* ServerSettingsService;
|
|
258410
258583
|
const oauth = yield* McpClientOAuth;
|
|
258411
258584
|
const self = yield* resolveSelfInvocation();
|
|
258585
|
+
const fileSystem = yield* FileSystem;
|
|
258586
|
+
const path = yield* Path$1;
|
|
258412
258587
|
const health = /* @__PURE__ */ new Map();
|
|
258413
258588
|
const getSettings = settingsService.getSettings.pipe(mapError((cause) => new McpRegistrySettingsError({ cause })));
|
|
258414
258589
|
const accessTokenFor = (id, server) => server.transport.type === "http" && canSignIn(server.transport) ? oauth.accessToken({
|
|
@@ -258424,9 +258599,22 @@ const make$79 = gen$1(function* () {
|
|
|
258424
258599
|
if (isSome(token)) tokens.set(id, token.value);
|
|
258425
258600
|
}
|
|
258426
258601
|
const registry = resolveUserMcpRegistry(settings, projectId, tokens);
|
|
258602
|
+
const taken = new Set(registry.servers.map((server) => server.name));
|
|
258603
|
+
const pluginServers = [];
|
|
258604
|
+
for (const plugin of registry.plugins) {
|
|
258605
|
+
const declared = yield* readPluginMcpServers(plugin).pipe(provideService(FileSystem, fileSystem), provideService(Path$1, path));
|
|
258606
|
+
for (const server of declared) {
|
|
258607
|
+
const name = registryNameFor(server.name, taken);
|
|
258608
|
+
taken.add(name);
|
|
258609
|
+
pluginServers.push({
|
|
258610
|
+
...server,
|
|
258611
|
+
name
|
|
258612
|
+
});
|
|
258613
|
+
}
|
|
258614
|
+
}
|
|
258427
258615
|
return {
|
|
258428
258616
|
...registry,
|
|
258429
|
-
servers: registry.servers.map((server) => ({
|
|
258617
|
+
servers: [...registry.servers, ...pluginServers].map((server) => ({
|
|
258430
258618
|
...server,
|
|
258431
258619
|
transport: server.transport.type === "stdio" ? withStdioWorkingDirectory(server.transport, self) : server.transport
|
|
258432
258620
|
}))
|
|
@@ -279153,7 +279341,7 @@ function createStore(resolveRoot, options) {
|
|
|
279153
279341
|
/** The optional Skia renderer, loaded once; a failed load is tried again on the next render. */
|
|
279154
279342
|
const loadRenderer = async () => {
|
|
279155
279343
|
try {
|
|
279156
|
-
renderer ??= (options.loadRenderer ?? (() => import("./renderer-
|
|
279344
|
+
renderer ??= (options.loadRenderer ?? (() => import("./renderer-BFtino0A.mjs")))();
|
|
279157
279345
|
return await renderer;
|
|
279158
279346
|
} catch (error) {
|
|
279159
279347
|
renderer = void 0;
|
|
@@ -291911,7 +292099,7 @@ async function runDesignTransfer(request, options, emit, signal) {
|
|
|
291911
292099
|
const native = async () => {
|
|
291912
292100
|
check();
|
|
291913
292101
|
try {
|
|
291914
|
-
return renderer ??= await (options.loadRenderer ?? (() => import("./renderer-
|
|
292102
|
+
return renderer ??= await (options.loadRenderer ?? (() => import("./renderer-BFtino0A.mjs")))();
|
|
291915
292103
|
} catch {
|
|
291916
292104
|
throw fail("Optional renderer unavailable; install skia-canvas 3.0.8 for this host", "renderer-unavailable");
|
|
291917
292105
|
}
|
|
@@ -307314,7 +307502,6 @@ const layer$43 = effect(UsageLimitSources, make$23);
|
|
|
307314
307502
|
//#endregion
|
|
307315
307503
|
//#region src/mcp/McpConfigDiscovery.ts
|
|
307316
307504
|
const CODEX_MCP_LIST_TIMEOUT = "10 seconds";
|
|
307317
|
-
const isValidName = is$2(McpServerName);
|
|
307318
307505
|
const decodeJson = decodeUnknownOption(fromJsonString(Unknown));
|
|
307319
307506
|
var McpImportError = class extends TaggedError()("McpImportError", {
|
|
307320
307507
|
reason: Literals$2(["settings", "not-found"]),
|
|
@@ -307324,37 +307511,9 @@ var McpImportError = class extends TaggedError()("McpImportError", {
|
|
|
307324
307511
|
return this.reason === "not-found" ? "That server is no longer in the provider's config." : "Failed to save the imported servers.";
|
|
307325
307512
|
}
|
|
307326
307513
|
};
|
|
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
307514
|
/** Entries of `codex mcp list --json`. */
|
|
307356
307515
|
const transportFromCodexEntry = (entry) => {
|
|
307357
|
-
if (!isRecord(entry) || !isRecord(entry.transport)) return void 0;
|
|
307516
|
+
if (!isRecord$1(entry) || !isRecord$1(entry.transport)) return void 0;
|
|
307358
307517
|
const transport = entry.transport;
|
|
307359
307518
|
if (transport.type === "stdio" && typeof transport.command === "string") return {
|
|
307360
307519
|
type: "stdio",
|
|
@@ -307388,14 +307547,6 @@ const isCodexAppManaged = (transport, codexHome) => {
|
|
|
307388
307547
|
...transport.args
|
|
307389
307548
|
].some((part) => part.startsWith(plugins) || /\/(?:ChatGPT|Codex)\.app\/Contents\//.test(part));
|
|
307390
307549
|
};
|
|
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
307550
|
/** A one-line label that never includes arguments, env, or headers. */
|
|
307400
307551
|
const summarize = (transport) => {
|
|
307401
307552
|
if (transport.type === "http") try {
|
|
@@ -307418,7 +307569,7 @@ const make$22 = gen$1(function* () {
|
|
|
307418
307569
|
const home = NodeOS.homedir();
|
|
307419
307570
|
const importLock = yield* make$253(1);
|
|
307420
307571
|
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]) => {
|
|
307572
|
+
const fromJsonServers = (provider, file, servers) => isRecord$1(servers) ? Object.entries(servers).flatMap(([name, entry]) => {
|
|
307422
307573
|
const transport = transportFromJsonEntry(entry);
|
|
307423
307574
|
return transport === void 0 ? [] : [{
|
|
307424
307575
|
provider,
|
|
@@ -307451,7 +307602,7 @@ const make$22 = gen$1(function* () {
|
|
|
307451
307602
|
const codexHome = process.env.CODEX_HOME ?? path.join(home, ".codex");
|
|
307452
307603
|
return entries.flatMap((entry) => {
|
|
307453
307604
|
const transport = transportFromCodexEntry(entry);
|
|
307454
|
-
return transport === void 0 || isCodexAppManaged(transport, codexHome) || !isRecord(entry) || typeof entry.name !== "string" ? [] : [{
|
|
307605
|
+
return transport === void 0 || isCodexAppManaged(transport, codexHome) || !isRecord$1(entry) || typeof entry.name !== "string" ? [] : [{
|
|
307455
307606
|
provider: "codex",
|
|
307456
307607
|
path: label,
|
|
307457
307608
|
name: entry.name,
|
|
@@ -307464,10 +307615,10 @@ const make$22 = gen$1(function* () {
|
|
|
307464
307615
|
const results = [];
|
|
307465
307616
|
const claudeJson = path.join(home, ".claude.json");
|
|
307466
307617
|
const claude = yield* readJson(claudeJson);
|
|
307467
|
-
if (isSome(claude) && isRecord(claude.value)) {
|
|
307618
|
+
if (isSome(claude) && isRecord$1(claude.value)) {
|
|
307468
307619
|
results.push(...fromJsonServers("claude", claudeJson, claude.value.mcpServers));
|
|
307469
307620
|
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));
|
|
307621
|
+
if (root !== void 0 && isRecord$1(projectEntry) && isRecord$1(projectEntry[root])) results.push(...fromJsonServers("claude", claudeJson, projectEntry[root].mcpServers));
|
|
307471
307622
|
}
|
|
307472
307623
|
const jsonFiles = [
|
|
307473
307624
|
...root === void 0 ? [] : [["claude", path.join(root, ".mcp.json")]],
|
|
@@ -307476,7 +307627,7 @@ const make$22 = gen$1(function* () {
|
|
|
307476
307627
|
];
|
|
307477
307628
|
for (const [provider, file] of jsonFiles) {
|
|
307478
307629
|
const json = yield* readJson(file);
|
|
307479
|
-
if (isSome(json) && isRecord(json.value)) results.push(...fromJsonServers(provider, file, json.value.mcpServers));
|
|
307630
|
+
if (isSome(json) && isRecord$1(json.value)) results.push(...fromJsonServers(provider, file, json.value.mcpServers));
|
|
307480
307631
|
}
|
|
307481
307632
|
results.push(...yield* codexServers(root ?? home));
|
|
307482
307633
|
return results.map((server) => {
|
|
@@ -322168,7 +322319,7 @@ const ServerEntry = Struct({
|
|
|
322168
322319
|
});
|
|
322169
322320
|
const McpRegistryToolkit = make$16(make$17("p4_mcp_server_list", {
|
|
322170
322321
|
...shared$2,
|
|
322171
|
-
description: "List the MCP servers and
|
|
322322
|
+
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
322323
|
success: Struct({
|
|
322173
322324
|
projectId: NullOr(ProjectId),
|
|
322174
322325
|
servers: ArraySchema(ServerEntry),
|
|
@@ -330681,4 +330832,4 @@ function runCli() {
|
|
|
330681
330832
|
//#endregion
|
|
330682
330833
|
export { runCli };
|
|
330683
330834
|
|
|
330684
|
-
//# sourceMappingURL=binCli-
|
|
330835
|
+
//# sourceMappingURL=binCli-BvhJ8Jqb.mjs.map
|