ryco-cli 0.1.25 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GrokDriver-CduUwiOH.mjs → AcpAdapter-BemMQNbj.mjs} +102 -604
- package/dist/{GrokDriver-D0jraOC_.cjs → AcpAdapter-CadxcdZV.cjs} +129 -612
- package/dist/AcpNativeLogging-BsbZRRD7.mjs +312 -0
- package/dist/AcpNativeLogging-DZPZNoju.cjs +383 -0
- package/dist/AcpRegistryDriver-BfCPf8FX.cjs +222 -0
- package/dist/AcpRegistryDriver-BpXCjh9I.mjs +221 -0
- package/dist/{AzureDevOpsSourceControlProvider-COmd21c-.cjs → AzureDevOpsSourceControlProvider-B9N_8NJg.cjs} +14 -14
- package/dist/{AzureDevOpsSourceControlProvider-B_E0XXfD.mjs → AzureDevOpsSourceControlProvider-BcQO_CyW.mjs} +3 -3
- package/dist/{BitbucketSourceControlProvider-pUKsNXcg.mjs → BitbucketSourceControlProvider-BTUY2ZT8.mjs} +3 -3
- package/dist/{BitbucketSourceControlProvider-CD8IvXQK.cjs → BitbucketSourceControlProvider-C9WuwvY2.cjs} +14 -14
- package/dist/{BunPTY-TbHbSc8S.mjs → BunPTY-DdnqQAdw.mjs} +1 -1
- package/dist/{ClaudeDriver-Dry5uJfX.cjs → ClaudeDriver-BSTxNNGO.cjs} +162 -126
- package/dist/{ClaudeDriver-CGifBixr.mjs → ClaudeDriver-Csnp78qR.mjs} +129 -93
- package/dist/{CodexDriver-BzR8gA8w.cjs → CodexDriver-BK4HVNV4.cjs} +145 -60
- package/dist/{CodexDriver-V4CL9APE.mjs → CodexDriver-fwcV84hX.mjs} +99 -14
- package/dist/{CodexTextGeneration-DTrSzY-I.cjs → CodexTextGeneration-Y2GSS7f1.cjs} +145 -99
- package/dist/{CodexTextGeneration-DoCidwvI.mjs → CodexTextGeneration-_4aT5BHa.mjs} +141 -95
- package/dist/{CopilotDriver-Dt13X60f.mjs → CopilotDriver-B12ZJ-L_.mjs} +69 -7
- package/dist/{CopilotDriver-rLcA8PSN.cjs → CopilotDriver-C7IyIwVW.cjs} +98 -36
- package/dist/{CursorDriver-C3s-8s9F.cjs → CursorDriver-BWmCfJ-w.cjs} +38 -32
- package/dist/{CursorDriver-HIPUs7cz.mjs → CursorDriver-C_p0v-ul.mjs} +12 -6
- package/dist/{ForgejoSourceControlProvider-JgiyrMqp.cjs → ForgejoSourceControlProvider-DTRrllIH.cjs} +14 -14
- package/dist/{ForgejoSourceControlProvider-CmvOAzEG.mjs → ForgejoSourceControlProvider-DmOGJEaJ.mjs} +3 -3
- package/dist/{GitHubSourceControlProvider-CItCpOcC.cjs → GitHubSourceControlProvider-D-YV8WP6.cjs} +16 -17
- package/dist/{GitHubSourceControlProvider-BYuvbcBf.mjs → GitHubSourceControlProvider-sQGcwnr3.mjs} +6 -7
- package/dist/{GitLabSourceControlProvider-CMce22nU.cjs → GitLabSourceControlProvider-kKYYnpER.cjs} +14 -14
- package/dist/{GitLabSourceControlProvider-DZzEaVSi.mjs → GitLabSourceControlProvider-mIl-K-4F.mjs} +3 -3
- package/dist/GrokDriver-BFOniP_K.cjs +567 -0
- package/dist/GrokDriver-CDcWkiAi.mjs +552 -0
- package/dist/{Metrics-a1h4iBQi.mjs → Metrics-C-3MahDy.mjs} +1 -107
- package/dist/{Metrics-Bcb9vCAe.cjs → Metrics-DCKbdeoH.cjs} +0 -168
- package/dist/{NodePTY-B_p5tLYO.mjs → NodePTY-DArvQ9bX.mjs} +1 -1
- package/dist/{OpenCodeDriver-DxGpgtDS.cjs → OpenCodeDriver-CckbFEQJ.cjs} +459 -141
- package/dist/{OpenCodeDriver-Bz_uJdMA.mjs → OpenCodeDriver-CnWJHyDJ.mjs} +430 -112
- package/dist/SideQuestionIsolation-5eGFRW0t.mjs +26 -0
- package/dist/SideQuestionIsolation-DvVKZWxi.cjs +37 -0
- package/dist/{SourceControlProviderDiscoveryCatalog-ZtwPWoxE.mjs → SourceControlProviderDiscoveryCatalog-BVvq7liJ.mjs} +2 -1
- package/dist/{SourceControlProviderDiscoveryCatalog-Dm_lhrhv.cjs → SourceControlProviderDiscoveryCatalog-CyUhKJLD.cjs} +6 -5
- package/dist/bin.cjs +12537 -3029
- package/dist/bin.mjs +10444 -965
- package/dist/client/assets/AccountSettings-DLbcE2w-.js +1 -0
- package/dist/client/assets/Adobe-CNS1-UCS2-fO900upv.bcmap +0 -0
- package/dist/client/assets/Adobe-GB1-UCS2-BA083yIo.bcmap +0 -0
- package/dist/client/assets/Adobe-Japan1-UCS2-BL-4M2vS.bcmap +0 -0
- package/dist/client/assets/Adobe-Korea1-UCS2-BEQZuOdo.bcmap +0 -0
- package/dist/client/assets/AiFocusSettings-FKvdkl4P.js +1 -0
- package/dist/client/assets/{AnimatedHeight-DPqb09B0.js → AnimatedHeight-CbIEyMLg.js} +1 -1
- package/dist/client/assets/AppearanceSettings-B2LsGKmL.js +1 -0
- package/dist/client/assets/{BranchToolbar.logic-CHRK3hDt.js → BranchToolbar.logic-BqkvYNPk.js} +1 -1
- package/dist/client/assets/{BrowserPanel-2Xu08il5.js → BrowserPanel-C_C4zjrh.js} +1 -1
- package/dist/client/assets/ChatRightPanel-ibiQ79jI.js +195 -0
- package/dist/client/assets/{ChatThreadRouteView-CNww3i2J.js → ChatThreadRouteView-c7AXmbSk.js} +1 -1
- package/dist/client/assets/CommandPaletteDialog-DdPKN6rv.js +1 -0
- package/dist/client/assets/CompositeRoot-DKwS-ADi.js +1 -0
- package/dist/client/assets/{ComputerUseSettings-BJs7jqR0.js → ComputerUseSettings-DM17BYP5.js} +1 -1
- package/dist/client/assets/ConnectionsSettings-D6wysIC8.js +7 -0
- package/dist/client/assets/ContextHandoffEndpointLabel-CsF_maM_.js +4 -0
- package/dist/client/assets/{DiagnosticsSettings-BmrqOKMe.js → DiagnosticsSettings-Bq2l-C4J.js} +2 -2
- package/dist/client/assets/{DialogHandle-pelzaaiH.js → DialogHandle-DuKTleCw.js} +1 -1
- package/dist/client/assets/{DialogPopup-BLM0vN4N.js → DialogPopup-Dt7DzTWv.js} +1 -1
- package/dist/client/assets/DialogRoot-DRyawL6l.js +1 -0
- package/dist/client/assets/{DialogTitle-BvIjMtMm.js → DialogTitle-BaxfPC6e.js} +1 -1
- package/dist/client/assets/DialogTrigger-D0PJ8bRT.js +1 -0
- package/dist/client/assets/{DialogViewport-Cz0OadGI.js → DialogViewport-C3B2JZWQ.js} +1 -1
- package/dist/client/assets/DraftChatThreadRouteView-B8YiD5NP.js +1 -0
- package/dist/client/assets/ETHK-B5-H-1MLb5v9x.bcmap +0 -0
- package/dist/client/assets/{ExternalIdentityWeb.logic-3rlDV7lT.js → ExternalIdentityWeb.logic-CrcNfdHK.js} +1 -1
- package/dist/client/assets/FoxitDingbats-BaQLufoW.pfb +0 -0
- package/dist/client/assets/FoxitFixed-Dyd5Nipw.pfb +0 -0
- package/dist/client/assets/FoxitFixedBold-D5TuYRwj.pfb +0 -0
- package/dist/client/assets/FoxitFixedBoldItalic-BqlXQ_Yv.pfb +0 -0
- package/dist/client/assets/FoxitFixedItalic-DqjQkmbS.pfb +0 -0
- package/dist/client/assets/FoxitSerif-qbgiDIe-.pfb +0 -0
- package/dist/client/assets/FoxitSerifBold-DZZ4CclT.pfb +0 -0
- package/dist/client/assets/FoxitSerifBoldItalic-DSQtwd_X.pfb +0 -0
- package/dist/client/assets/FoxitSerifItalic-CQs5lx9Y.pfb +0 -0
- package/dist/client/assets/FoxitSymbol-BVtbc20u.pfb +0 -0
- package/dist/client/assets/GBK-EUC-H-CAORqCkf.bcmap +0 -0
- package/dist/client/assets/GBK2K-H-Cv55KPk8.bcmap +0 -0
- package/dist/client/assets/GBKp-EUC-H-CElrnV5g.bcmap +0 -0
- package/dist/client/assets/GBT-EUC-H-BTsQIL1M.bcmap +0 -0
- package/dist/client/assets/GBT-H-DL9h-WkS.bcmap +0 -0
- package/dist/client/assets/GBTpc-EUC-H-DnIh5WJ3.bcmap +0 -0
- package/dist/client/assets/{GlassSurface-CEVIdyfP.js → GlassSurface-CBIEgwt1.js} +1 -1
- package/dist/client/assets/HKscs-B5-H-CXbBbq6g.bcmap +0 -0
- package/dist/client/assets/{HostedConnectionControls-r9cyZPyF.js → HostedConnectionControls-DOpTlXzE.js} +1 -1
- package/dist/client/assets/{HostedHubRoot-BkfafJ5x.js → HostedHubRoot-C1jq8cM6.js} +2 -2
- package/dist/client/assets/{HostedNativeAuthorizationRoute-CqHuW853.js → HostedNativeAuthorizationRoute-Clw1DHQW.js} +2 -2
- package/dist/client/assets/{HostedNodeRenameDialog-C7m-nvTj.js → HostedNodeRenameDialog-Bd_Qu_ek.js} +1 -1
- package/dist/client/assets/{HostedRelayTrustNotice-DNZQyAX0.js → HostedRelayTrustNotice-CGcBpT9m.js} +1 -1
- package/dist/client/assets/{IntegrationsSettingsPanel-hul3ysgL.js → IntegrationsSettingsPanel-J0qODRW-.js} +2 -2
- package/dist/client/assets/KSC-Johab-H-CGtV3MPT.bcmap +0 -0
- package/dist/client/assets/{KeybindingsSettings-Cme6omBM.js → KeybindingsSettings-CwxIHsFy.js} +1 -1
- package/dist/client/assets/{LazyBrowserPanel-COJFwNK7.js → LazyBrowserPanel-VNAn6AUL.js} +2 -2
- package/dist/client/assets/LiberationSans-Bold-BPt4bU5Z.ttf +0 -0
- package/dist/client/assets/LiberationSans-BoldItalic-Bj53-jFw.ttf +0 -0
- package/dist/client/assets/LiberationSans-Italic-5QhGB3P9.ttf +0 -0
- package/dist/client/assets/LiberationSans-Regular-cbskN6YR.ttf +0 -0
- package/dist/client/assets/McpServersSettings-1pkIeutq.js +6 -0
- package/dist/client/assets/MobileSheet-DddfN8c2.js +1 -0
- package/dist/client/assets/{NodeSecuritySettings-CwT5nEW9.js → NodeSecuritySettings-BOIZeFZo.js} +1 -1
- package/dist/client/assets/OpinionatedPluginsSettings-oTIrPtIb.js +1 -0
- package/dist/client/assets/PdfAttachmentPreview-BCMO9OHD.js +54 -0
- package/dist/client/assets/{PhoneGetAppInterstitial-BBnGXVkR.js → PhoneGetAppInterstitial-0EOj-PbW.js} +1 -1
- package/dist/client/assets/PhoneHome-Cg7l3b1T.js +1 -0
- package/dist/client/assets/{PhoneSettingsSurface-DdVCndyt.js → PhoneSettingsSurface-BXAUtZ9M.js} +2 -2
- package/dist/client/assets/ProvidersSettingsPanel-BaJgypXu.js +1 -0
- package/dist/client/assets/{QuitShortcutFeedback-mF7X0WMD.js → QuitShortcutFeedback-DgJFEd6b.js} +1 -1
- package/dist/client/assets/{RedactedSensitiveText-DovqFcmM.js → RedactedSensitiveText-D1VC2xa7.js} +1 -1
- package/dist/client/assets/RootAppShell-D2RjZ9jQ.js +7 -0
- package/dist/client/assets/Separator-CeMncdkm.js +1 -0
- package/dist/client/assets/SettingsDialog-B2hEb6u8.js +2 -0
- package/dist/client/assets/SettingsPanels-DtWLQDne.js +3 -0
- package/dist/client/assets/{SettingsPanels.editor-d-rVlbeN.js → SettingsPanels.editor-DJRckD71.js} +1 -1
- package/dist/client/assets/SourceControlSettings-IpoZrjt5.js +1 -0
- package/dist/client/assets/StatisticsPage-CUpE_5Gr.js +1 -0
- package/dist/client/assets/StatisticsPanel-CHrAY5AP.js +1 -0
- package/dist/client/assets/StatisticsSettingsLink-bGWuxNG3.js +1 -0
- package/dist/client/assets/{ThreadTerminalDrawer-DaLrSTn9.js → ThreadTerminalDrawer-BEv83xrk.js} +3 -3
- package/dist/client/assets/ThreadWorkspacePanel-BdMdJVHJ.js +2073 -0
- package/dist/client/assets/UniCNS-UCS2-H-DWzv8UhH.bcmap +0 -0
- package/dist/client/assets/UniCNS-UTF16-H-Bw0JKgCq.bcmap +0 -0
- package/dist/client/assets/UniCNS-UTF32-H-IE_GrH2i.bcmap +0 -0
- package/dist/client/assets/UniCNS-UTF8-H-BbLcFh6Q.bcmap +0 -0
- package/dist/client/assets/UniGB-UCS2-H-D7xzRvZN.bcmap +0 -0
- package/dist/client/assets/UniGB-UTF16-H-DKjbEwc0.bcmap +0 -0
- package/dist/client/assets/UniGB-UTF32-H-Behfouj5.bcmap +0 -0
- package/dist/client/assets/UniGB-UTF8-H-EROft1ro.bcmap +0 -0
- package/dist/client/assets/UniJIS-UCS2-H-2DbZ0MaQ.bcmap +0 -0
- package/dist/client/assets/UniJIS-UTF16-H-BlDDPdCK.bcmap +0 -0
- package/dist/client/assets/UniJIS-UTF32-H-BIQPWkjv.bcmap +0 -0
- package/dist/client/assets/UniJIS-UTF8-H-CGusholx.bcmap +0 -0
- package/dist/client/assets/UniJIS2004-UTF16-H-KXixH-HI.bcmap +0 -0
- package/dist/client/assets/UniJIS2004-UTF32-H-CXrD-9YE.bcmap +0 -0
- package/dist/client/assets/UniJIS2004-UTF8-H-BkOctZjn.bcmap +0 -0
- package/dist/client/assets/UniJISX0213-UTF32-H-BavAhZjb.bcmap +0 -0
- package/dist/client/assets/UniJISX02132004-UTF32-H-DAH-AgUq.bcmap +0 -0
- package/dist/client/assets/UniKS-UCS2-H-YeUc7k1L.bcmap +0 -0
- package/dist/client/assets/UniKS-UTF16-H-B0dvB-Td.bcmap +0 -0
- package/dist/client/assets/UniKS-UTF32-H-olR_LtmR.bcmap +0 -0
- package/dist/client/assets/UniKS-UTF8-H-CbpebD-y.bcmap +0 -0
- package/dist/client/assets/{activity-bn_fBQGf.js → activity-BmRcsTyL.js} +1 -1
- package/dist/client/assets/{alert-BmLJh6DH.js → alert-C5UiA2xk.js} +1 -1
- package/dist/client/assets/{appChrome-Dy57Ve9N.js → appChrome-CsZ2ylc1.js} +1 -1
- package/dist/client/assets/{arrow-left-pzj1cbX3.js → arrow-left-CSz-z20j.js} +1 -1
- package/dist/client/assets/{arrow-right-BW5jU-vo.js → arrow-right-DEi91hao.js} +1 -1
- package/dist/client/assets/{arrow-up-right-AfC5AaSO.js → arrow-up-right-D7SpcTV9.js} +1 -1
- package/dist/client/assets/authorization-B1YXfej3.js +1 -0
- package/dist/client/assets/badge-BjvTY7-E.js +1 -0
- package/dist/client/assets/{bot-CsKkSRlb.js → bot-SC4UGZyw.js} +1 -1
- package/dist/client/assets/{capabilities-DskyVNd2.js → capabilities-BCkDNe83.js} +1 -1
- package/dist/client/assets/{chart-column-DhvWXIiH.js → chart-column-C08MuLgY.js} +1 -1
- package/dist/client/assets/chevron-right-DgB53U1_.js +1 -0
- package/dist/client/assets/{clipboard-copy-fJnfdl4H.js → clipboard-copy-D74Wvnon.js} +1 -1
- package/dist/client/assets/{data-list-_E-Al1sf.js → data-list-CZ4Utnfl.js} +1 -1
- package/dist/client/assets/{desktopWorkspace-DycXKuMm.js → desktopWorkspace-DVfn9ZT_.js} +1 -1
- package/dist/client/assets/{download-CLQzE1di.js → download-Dio40wIJ.js} +1 -1
- package/dist/client/assets/editorPreferences-2dG4uloq.js +1 -0
- package/dist/client/assets/{empty-YXFtCUDN.js → empty-6LExKYgQ.js} +1 -1
- package/dist/client/assets/{group-DOCkUmuY.js → group-D_mu0Kiq.js} +1 -1
- package/dist/client/assets/{hostedConnectionCoordinator-JZ1dLx4v.js → hostedConnectionCoordinator-YkDLnATK.js} +1 -1
- package/dist/client/assets/{hubRoutes-C2S5of9_.js → hubRoutes-D3quWvU7.js} +1 -1
- package/dist/client/assets/{index-CvRFRkBK.js → index-7MTgf8YI.js} +2 -2
- package/dist/client/assets/{input-C2xv8mMt.js → input-CfVJycb1.js} +1 -1
- package/dist/client/assets/jbig2-CNFLgX9F.wasm +0 -0
- package/dist/client/assets/kbd-uFa_tY-L.js +1 -0
- package/dist/client/assets/{key-round-CYcb9lAa.js → key-round-C-oUSjpF.js} +1 -1
- package/dist/client/assets/{layers-CGlOWYxu.js → layers-Co2a5C1k.js} +1 -1
- package/dist/client/assets/{log-out-CZW2EpNJ.js → log-out-pWFhbvwr.js} +1 -1
- package/dist/client/assets/{logging-BpmZOfmu.js → logging-JMrwaeZh.js} +1 -1
- package/dist/client/assets/main-BNPtp9Z0.css +2 -0
- package/dist/client/assets/main-CGeD6yVE.js +9 -0
- package/dist/client/assets/openjpeg-MeY6OQBn.wasm +0 -0
- package/dist/client/assets/{palette-CQOuNfSO.js → palette-B_6C4fD6.js} +1 -1
- package/dist/client/assets/pdf.worker.min-Dswkl-cV.mjs +29 -0
- package/dist/client/assets/{play-CPVy9wwV.js → play-DFtc9zBy.js} +1 -1
- package/dist/client/assets/primary-CNUdEGcv.js +2 -0
- package/dist/client/assets/providerDriverMeta-Cg_XLUfo.js +1 -0
- package/dist/client/assets/{ProviderModelPicker-DoYEUZrn.js → providerInstances-JaDrOWPZ.js} +1 -1
- package/dist/client/assets/providerModels-5uOq3qPC.js +1 -0
- package/dist/client/assets/qcms_bg-3PJi_GXR.wasm +0 -0
- package/dist/client/assets/{qr-code-BPqDlVMn.js → qr-code-BU354aLS.js} +1 -1
- package/dist/client/assets/{qr-code-C6BVTc4V.js → qr-code-DaHWf7Oq.js} +1 -1
- package/dist/client/assets/quickjs-eval-zJSp5SB4.wasm +0 -0
- package/dist/client/assets/radio-group-DKaA1eey.js +2 -0
- package/dist/client/assets/{refresh-cw-B5Cz1z3e.js → refresh-cw-CY5BeUEr.js} +1 -1
- package/dist/client/assets/runtime-BKneT96Q.js +17 -0
- package/dist/client/assets/{save-C7zM6ey6.js → save-DIHMjHXd.js} +1 -1
- package/dist/client/assets/{scroll-area-5OU_pvTW.js → scroll-area-Cq4SX9P8.js} +1 -1
- package/dist/client/assets/{scrollEdges-qnEXfIOg.js → scrollEdges-BaWRjrac.js} +1 -1
- package/dist/client/assets/{separator-B5HfRiaO.js → separator-BN705fC0.js} +1 -1
- package/dist/client/assets/{settingsLayout-CfKq88KD.js → settingsLayout-DQERzSce.js} +1 -1
- package/dist/client/assets/{sheet-B9gQDy_I.js → sheet-CFvRY7T6.js} +1 -1
- package/dist/client/assets/{shield-rdjnBE2Q.js → shield-Zn2kFj5M.js} +1 -1
- package/dist/client/assets/{shield-alert-7yBlEyOs.js → shield-alert-DMB5gKiC.js} +1 -1
- package/dist/client/assets/{shield-check-CnKgVJ0F.js → shield-check-DyNf6Bky.js} +1 -1
- package/dist/client/assets/{sidebar-BdvL1Pbj.js → sidebar-Bsh64sLK.js} +1 -1
- package/dist/client/assets/sidebarProjectFolders-CQbpO9ZI.js +4 -0
- package/dist/client/assets/{sidebarStatusText-CZKsUFBD.js → sidebarStatusText-DCo-whyK.js} +1 -1
- package/dist/client/assets/{skeleton-CoyLqyaB.js → skeleton-DEuowfjY.js} +1 -1
- package/dist/client/assets/{smartphone-CBgpMHXR.js → smartphone-BLWJ7C9-.js} +1 -1
- package/dist/client/assets/{sparkles-w-UZXQx1.js → sparkles-DAXDXp_s.js} +1 -1
- package/dist/client/assets/src-DPpEXU6w.js +14 -0
- package/dist/client/assets/{star-BZ-RtSFD.js → star-CjQxHYbD.js} +1 -1
- package/dist/client/assets/switch-LahPAvrd.js +48 -0
- package/dist/client/assets/{toggle-DVGrNHjq.js → toggle-45lsrmyi.js} +1 -1
- package/dist/client/assets/{toggle-group-CNDOfNhH.js → toggle-group-D5pl24ED.js} +1 -1
- package/dist/client/assets/{tokenModePresentation-CQNdC9CW.js → tokenModePresentation-CPUsUGY4.js} +1 -1
- package/dist/client/assets/tooltip-B8-izeMo.js +1 -0
- package/dist/client/assets/{unplug-CRUwFNFw.js → unplug-Bjpxv8i0.js} +1 -1
- package/dist/client/assets/usage-8vQUo0mr.js +1 -0
- package/dist/client/assets/useAppSidebarCollapsed-uwz9Hlgc.js +1 -0
- package/dist/client/assets/useBaseUiId-BtuL7q77.js +1 -0
- package/dist/client/assets/useLabelableId-N_LsKNbf.js +1 -0
- package/dist/client/assets/useNavigate-DADLi29i.js +1 -0
- package/dist/client/assets/usePhoneThreadActions-B9_HK7tn.js +1 -0
- package/dist/client/assets/usePopupViewport-w8BEny9j.js +1 -0
- package/dist/client/assets/useScrollLock-bCmUzTgK.js +1 -0
- package/dist/client/assets/useStatistics-DJtONxT0.js +55 -0
- package/dist/client/assets/useTriggerFocusGuards-C7JWO2LT.js +1 -0
- package/dist/client/assets/useValueChanged-DkoUO9bY.js +1 -0
- package/dist/client/assets/{user-round-DStbWN3z.js → user-round-DEWIPpNs.js} +1 -1
- package/dist/client/assets/{vscode-icons-BihBo3tb.js → vscode-icons-DTH-Vj-_.js} +1 -1
- package/dist/client/assets/workspaceMetadataProjection-BnpxBe8S.js +1 -0
- package/dist/client/assets/{wrench-BBIgGxy9.js → wrench-36WYdK_a.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/collectUint8StreamText-BAUF-vzz.mjs +37 -0
- package/dist/collectUint8StreamText-vagpNUMJ.cjs +42 -0
- package/dist/deviceHostWorker-C-BSnmkn.mjs +167 -0
- package/dist/deviceHostWorker-CYnrwfrv.cjs +169 -0
- package/dist/git-C4iJMbBu.mjs +132 -0
- package/dist/git-irmB8_k7.cjs +218 -0
- package/dist/{makeManagedServerProvider-CwYhl_P-.mjs → makeManagedServerProvider-BINne1KE.mjs} +3 -38
- package/dist/{makeManagedServerProvider-Dy2Ny9tk.cjs → makeManagedServerProvider-DGbd8BhM.cjs} +1 -60
- package/dist/resource-monitor/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-arm64/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-x64/ryco-resource-monitor.exe +0 -0
- package/dist/runtimeSession-Bj0OUcNJ.cjs +63 -0
- package/dist/runtimeSession-CA6cLWg0.mjs +40 -0
- package/dist/schemaJson-CaG1bOvo.mjs +49 -0
- package/dist/schemaJson-CuhFxa8p.cjs +66 -0
- package/dist/{collectUint8StreamText-whblCEfg.cjs → src-BlzIcnVG.cjs} +522 -116
- package/dist/{collectUint8StreamText-CE1Re5Ij.mjs → src-DtEOcXdl.mjs} +350 -94
- package/package.json +1 -1
- package/dist/AcpNativeLogging-CA6XYzIS.cjs +0 -5130
- package/dist/AcpNativeLogging-D4-VoHrq.mjs +0 -5015
- package/dist/client/assets/AccountSettings-Bv57-JYy.js +0 -1
- package/dist/client/assets/AiFocusSettings-DCPHmJpA.js +0 -1
- package/dist/client/assets/AppearanceSettings-EmTrtb_U.js +0 -1
- package/dist/client/assets/ChatRightPanel-C1VD6GCV.js +0 -194
- package/dist/client/assets/CommandPaletteDialog-B_f3fKp7.js +0 -1
- package/dist/client/assets/CompositeRoot-B40iitmH.js +0 -1
- package/dist/client/assets/ConnectionsSettings-B9nfvgLG.js +0 -7
- package/dist/client/assets/ContextHandoffEndpointLabel-BSQOArMR.js +0 -4
- package/dist/client/assets/DialogRoot-CY6ZzEUS.js +0 -1
- package/dist/client/assets/DialogTrigger-CIeVAA-a.js +0 -1
- package/dist/client/assets/DraftChatThreadRouteView-DMIGMESb.js +0 -1
- package/dist/client/assets/McpServersSettings-CPeNF8_u.js +0 -6
- package/dist/client/assets/MobileSheet-BZo-RAfm.js +0 -1
- package/dist/client/assets/OpinionatedPluginsSettings-D8A1CbMG.js +0 -1
- package/dist/client/assets/PhoneHome-BTKOPVjw.js +0 -1
- package/dist/client/assets/ProvidersSettingsPanel-ldDCPVIY.js +0 -1
- package/dist/client/assets/RootAppShell-CzmEWO9w.js +0 -7
- package/dist/client/assets/Separator-BhAVTIOc.js +0 -1
- package/dist/client/assets/SettingsDialog-ByXgBN0U.js +0 -2
- package/dist/client/assets/SettingsPanels-Bgf4vkrJ.js +0 -3
- package/dist/client/assets/SourceControlSettings-dKw0FaN1.js +0 -1
- package/dist/client/assets/StatisticsPage-C2RuqDIK.js +0 -1
- package/dist/client/assets/StatisticsPanel-DqoXnrhQ.js +0 -1
- package/dist/client/assets/StatisticsSettingsLink-C_f31sb4.js +0 -1
- package/dist/client/assets/ThreadWorkspacePanel-BvRZIxZQ.js +0 -2073
- package/dist/client/assets/authorization-7xVVtCBu.js +0 -1
- package/dist/client/assets/badge-DnBuGHGL.js +0 -1
- package/dist/client/assets/chevron-right-CITtTwME.js +0 -1
- package/dist/client/assets/editorPreferences-Bg624RVT.js +0 -1
- package/dist/client/assets/kbd-4-4mGdIa.js +0 -1
- package/dist/client/assets/main-CC-U8LrA.css +0 -2
- package/dist/client/assets/main-CzDOnLFw.js +0 -9
- package/dist/client/assets/primary-CjhRI8fe.js +0 -2
- package/dist/client/assets/providerDriverMeta-BVHpFupf.js +0 -1
- package/dist/client/assets/providerModels-BsybzP4P.js +0 -1
- package/dist/client/assets/radio-group-C8qudOQH.js +0 -2
- package/dist/client/assets/runtime-Bxg7k81u.js +0 -17
- package/dist/client/assets/sidebarProjectFolders-BH8XBqNe.js +0 -4
- package/dist/client/assets/src-Bi-5Nw9C.js +0 -14
- package/dist/client/assets/switch-CEJEmLe7.js +0 -48
- package/dist/client/assets/tooltip-B7Z4qomY.js +0 -1
- package/dist/client/assets/useAppSidebarCollapsed-wq6czkNJ.js +0 -1
- package/dist/client/assets/useBaseUiId-OYaGjnkh.js +0 -1
- package/dist/client/assets/useLabelableId-VMc-yITe.js +0 -1
- package/dist/client/assets/useNavigate-DVi0rBlf.js +0 -1
- package/dist/client/assets/usePhoneThreadActions-CwwHikjB.js +0 -1
- package/dist/client/assets/usePopupViewport-BcSIK_ph.js +0 -1
- package/dist/client/assets/useScrollLock-BQf9VYJT.js +0 -1
- package/dist/client/assets/useStatistics-DczKdEfy.js +0 -55
- package/dist/client/assets/useTriggerFocusGuards-DjP-D0_a.js +0 -1
- package/dist/client/assets/useValueChanged-CRwCkFdy.js +0 -1
- package/dist/client/assets/workspaceMetadataProjection-j3BGlVOB.js +0 -1
|
@@ -3101,6 +3101,41 @@ function truncateSourceControlDetailContent(input) {
|
|
|
3101
3101
|
truncated
|
|
3102
3102
|
};
|
|
3103
3103
|
}
|
|
3104
|
+
/** Provider-owned review progress; environment storage is reserved for future adapters. */
|
|
3105
|
+
const SourceControlViewedCapability = effect.Schema.Struct({ storage: effect.Schema.Literals([
|
|
3106
|
+
"host",
|
|
3107
|
+
"environment",
|
|
3108
|
+
"unsupported"
|
|
3109
|
+
]) });
|
|
3110
|
+
const SourceControlFileViewedState = effect.Schema.Literals([
|
|
3111
|
+
"viewed",
|
|
3112
|
+
"unviewed",
|
|
3113
|
+
"stale"
|
|
3114
|
+
]);
|
|
3115
|
+
const SourceControlFileViewed = effect.Schema.Struct({
|
|
3116
|
+
path: effect.Schema.String.check(effect.Schema.isMinLength(1)),
|
|
3117
|
+
state: SourceControlFileViewedState
|
|
3118
|
+
});
|
|
3119
|
+
const SourceControlGetChangeRequestFilesViewedInput = effect.Schema.Struct({
|
|
3120
|
+
cwd: TrimmedNonEmptyString,
|
|
3121
|
+
reference: TrimmedNonEmptyString
|
|
3122
|
+
});
|
|
3123
|
+
const SourceControlChangeRequestFilesViewed = effect.Schema.Struct({
|
|
3124
|
+
provider: SourceControlProviderKind,
|
|
3125
|
+
capability: SourceControlViewedCapability,
|
|
3126
|
+
headSha: effect.Schema.NullOr(TrimmedNonEmptyString),
|
|
3127
|
+
files: effect.Schema.Array(SourceControlFileViewed)
|
|
3128
|
+
});
|
|
3129
|
+
const SourceControlSetChangeRequestFileViewedInput = effect.Schema.Struct({
|
|
3130
|
+
...SourceControlGetChangeRequestFilesViewedInput.fields,
|
|
3131
|
+
path: effect.Schema.String.check(effect.Schema.isMinLength(1)),
|
|
3132
|
+
viewed: effect.Schema.Boolean,
|
|
3133
|
+
expectedHeadSha: TrimmedNonEmptyString
|
|
3134
|
+
});
|
|
3135
|
+
const SourceControlSetChangeRequestFileViewedResult = effect.Schema.Struct({
|
|
3136
|
+
...SourceControlFileViewed.fields,
|
|
3137
|
+
headSha: TrimmedNonEmptyString
|
|
3138
|
+
});
|
|
3104
3139
|
//#endregion
|
|
3105
3140
|
//#region ../../packages/contracts/src/workItems.ts
|
|
3106
3141
|
const WorkItemProviderKind = effect.Schema.Literals(["jira"]);
|
|
@@ -4257,6 +4292,7 @@ const ProjectCreateCommand = effect.Schema.Struct({
|
|
|
4257
4292
|
workspaceRoot: TrimmedNonEmptyString,
|
|
4258
4293
|
projectMetadataDir: effect.Schema.optional(ProjectMetadataDir).pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed(DEFAULT_PROJECT_METADATA_DIR))),
|
|
4259
4294
|
createWorkspaceRootIfMissing: effect.Schema.optional(effect.Schema.Boolean),
|
|
4295
|
+
/** @deprecated Accepted for old clients; project model defaults are ignored. */
|
|
4260
4296
|
defaultModelSelection: effect.Schema.optional(effect.Schema.NullOr(ModelSelection)),
|
|
4261
4297
|
customSystemPrompt: effect.Schema.optional(effect.Schema.NullOr(ProjectCustomSystemPrompt)),
|
|
4262
4298
|
createdAt: IsoDateTime
|
|
@@ -4270,6 +4306,7 @@ const ProjectMetaUpdateCommand = effect.Schema.Struct({
|
|
|
4270
4306
|
title: effect.Schema.optional(TrimmedNonEmptyString),
|
|
4271
4307
|
workspaceRoot: effect.Schema.optional(TrimmedNonEmptyString),
|
|
4272
4308
|
projectMetadataDir: effect.Schema.optional(ProjectMetadataDir),
|
|
4309
|
+
/** @deprecated Accepted for old clients; project model defaults are ignored. */
|
|
4273
4310
|
defaultModelSelection: effect.Schema.optional(effect.Schema.NullOr(ModelSelection)),
|
|
4274
4311
|
customSystemPrompt: effect.Schema.optional(effect.Schema.NullOr(ProjectCustomSystemPrompt)),
|
|
4275
4312
|
scripts: effect.Schema.optional(effect.Schema.Array(ProjectScript)),
|
|
@@ -6944,7 +6981,7 @@ const ClientSettingsSchema = effect_Schema.Struct({
|
|
|
6944
6981
|
sidebarProjectGroupingOverrides: effect_Schema.Record(TrimmedNonEmptyString, SidebarProjectGroupingMode).pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed({}))),
|
|
6945
6982
|
sidebarProjectSortOrder: SidebarProjectSortOrder.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(DEFAULT_SIDEBAR_PROJECT_SORT_ORDER))),
|
|
6946
6983
|
sidebarThreadSortOrder: SidebarThreadSortOrder.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(DEFAULT_SIDEBAR_THREAD_SORT_ORDER))),
|
|
6947
|
-
sidebarAutoSettleAfterDays: SidebarAutoSettleAfterDays.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(
|
|
6984
|
+
sidebarAutoSettleAfterDays: SidebarAutoSettleAfterDays.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(7))),
|
|
6948
6985
|
timestampFormat: TimestampFormat.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(DEFAULT_TIMESTAMP_FORMAT))),
|
|
6949
6986
|
preferredEditor: effect_Schema.NullOr(EditorId).pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(null))),
|
|
6950
6987
|
gitStatusPollIntervalMs: GitStatusPollIntervalMs.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(0))),
|
|
@@ -7113,10 +7150,14 @@ const ObservabilitySettings = effect_Schema.Struct({
|
|
|
7113
7150
|
* add non-secret operational limits without a settings migration.
|
|
7114
7151
|
*/
|
|
7115
7152
|
const AgentControlSettings = effect_Schema.Struct({ enabled: effect_Schema.Boolean.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(false))) });
|
|
7153
|
+
const DEFAULT_WORKTREE_BRANCH_PREFIX = "ryco";
|
|
7154
|
+
/** A Git branch namespace without a trailing slash; empty disables the namespace. */
|
|
7155
|
+
const WorktreeBranchPrefix = TrimmedString.check(effect_Schema.isMaxLength(128), effect_Schema.isPattern(/^(?:$|(?![-/])(?!.*(?:\.\.|@\{|[\x00-\x20\x7f~^:?*[\\]))(?!.*(?:^|\/)\.)(?!.*\.lock(?:\/|$))(?!.*\/\/)(?!.*[/.]$)[^]+)$/));
|
|
7116
7156
|
const ServerSettings = effect_Schema.Struct({
|
|
7117
7157
|
environmentIcon: EnvironmentMachineHint.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(null))),
|
|
7118
7158
|
enableLegacyTokenStreaming: effect_Schema.Boolean.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(false))),
|
|
7119
7159
|
enableProviderUpdateChecks: effect_Schema.Boolean.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(true))),
|
|
7160
|
+
worktreeBranchPrefix: WorktreeBranchPrefix.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(DEFAULT_WORKTREE_BRANCH_PREFIX))),
|
|
7120
7161
|
defaultThreadEnvMode: ThreadEnvMode.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed("local"))),
|
|
7121
7162
|
defaultAgentTokenMode: AgentTokenMode.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(DEFAULT_AGENT_TOKEN_MODE))),
|
|
7122
7163
|
addProjectBaseDirectory: TrimmedString.pipe(effect_Schema.withDecodingDefault(effect.Effect.succeed(""))),
|
|
@@ -7198,6 +7239,7 @@ const ServerSettingsPatch = effect_Schema.Struct({
|
|
|
7198
7239
|
environmentIcon: effect_Schema.optionalKey(effect_Schema.NullOr(EnvironmentMachineKind)),
|
|
7199
7240
|
enableLegacyTokenStreaming: effect_Schema.optionalKey(effect_Schema.Boolean),
|
|
7200
7241
|
enableProviderUpdateChecks: effect_Schema.optionalKey(effect_Schema.Boolean),
|
|
7242
|
+
worktreeBranchPrefix: effect_Schema.optionalKey(WorktreeBranchPrefix),
|
|
7201
7243
|
defaultThreadEnvMode: effect_Schema.optionalKey(ThreadEnvMode),
|
|
7202
7244
|
defaultAgentTokenMode: effect_Schema.optionalKey(AgentTokenMode),
|
|
7203
7245
|
addProjectBaseDirectory: effect_Schema.optionalKey(effect_Schema.String),
|
|
@@ -7386,7 +7428,19 @@ const ServerProviderUpdateState = effect.Schema.Struct({
|
|
|
7386
7428
|
message: effect.Schema.NullOr(TrimmedNonEmptyString),
|
|
7387
7429
|
output: effect.Schema.NullOr(effect.Schema.String.check(effect.Schema.isMaxLength(1e4)))
|
|
7388
7430
|
});
|
|
7431
|
+
/** Negotiated or observed ACP features; absent for providers without ACP metadata. */
|
|
7432
|
+
const AcpProviderCapabilities = effect.Schema.Struct({
|
|
7433
|
+
resumeSession: effect.Schema.Boolean,
|
|
7434
|
+
loadSession: effect.Schema.Boolean,
|
|
7435
|
+
models: effect.Schema.Boolean,
|
|
7436
|
+
commands: effect.Schema.Boolean,
|
|
7437
|
+
usage: effect.Schema.Boolean,
|
|
7438
|
+
terminal: effect.Schema.Boolean,
|
|
7439
|
+
promptImages: effect.Schema.Boolean,
|
|
7440
|
+
promptAudio: effect.Schema.Boolean
|
|
7441
|
+
});
|
|
7389
7442
|
const ServerProvider = effect.Schema.Struct({
|
|
7443
|
+
acpCapabilities: effect.Schema.optionalKey(AcpProviderCapabilities),
|
|
7390
7444
|
instanceId: ProviderInstanceId,
|
|
7391
7445
|
driver: ProviderDriverKind,
|
|
7392
7446
|
displayName: effect.Schema.optional(TrimmedNonEmptyString),
|
|
@@ -9078,7 +9132,7 @@ const DEVICE_WS_METHODS = {
|
|
|
9078
9132
|
recording: "device.recording",
|
|
9079
9133
|
subscribeEvents: "device.subscribeEvents"
|
|
9080
9134
|
};
|
|
9081
|
-
const DEVICE_UDID_MAX_LENGTH =
|
|
9135
|
+
const DEVICE_UDID_MAX_LENGTH = 255;
|
|
9082
9136
|
const DEVICE_TEXT_MAX_LENGTH = 4096;
|
|
9083
9137
|
const DEVICE_PATH_MAX_LENGTH = 1024;
|
|
9084
9138
|
const DEVICE_URL_MAX_LENGTH = 8192;
|
|
@@ -9109,7 +9163,7 @@ var DeviceRpcError = class extends effect.Schema.TaggedError()("DeviceRpcError",
|
|
|
9109
9163
|
* emulator serial (`emulator-5554`) fits the same contract without a schema break.
|
|
9110
9164
|
*/
|
|
9111
9165
|
const DeviceUdid = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(DEVICE_UDID_MAX_LENGTH)).check(effect.Schema.isPattern(/^[A-Za-z0-9._:-]+$/));
|
|
9112
|
-
const DevicePlatform = effect.Schema.Literals(["ios-simulator"]);
|
|
9166
|
+
const DevicePlatform = effect.Schema.Literals(["ios-simulator", "android-emulator"]);
|
|
9113
9167
|
const DeviceRuntimeState = effect.Schema.Literals([
|
|
9114
9168
|
"shutdown",
|
|
9115
9169
|
"booting",
|
|
@@ -9130,7 +9184,23 @@ const DeviceBootSource = effect.Schema.Literals(["ryco", "user"]);
|
|
|
9130
9184
|
* profile still lists devices; the pane falls back to the name there.
|
|
9131
9185
|
*/
|
|
9132
9186
|
const DeviceFamily = effect.Schema.Literals(["phone", "tablet"]);
|
|
9187
|
+
/** Server-owned identity. Remote IDs include a fingerprint of the SSH destination. */
|
|
9188
|
+
const DeviceHostId = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(64)).check(effect.Schema.isPattern(/^[A-Za-z0-9._-]+$/));
|
|
9189
|
+
const DeviceHostSummary = effect.Schema.Struct({
|
|
9190
|
+
id: DeviceHostId,
|
|
9191
|
+
name: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(128)),
|
|
9192
|
+
transport: effect.Schema.Literals(["local", "ssh"]),
|
|
9193
|
+
status: effect.Schema.optional(effect.Schema.Literals([
|
|
9194
|
+
"unknown",
|
|
9195
|
+
"available",
|
|
9196
|
+
"setup-required",
|
|
9197
|
+
"disconnected"
|
|
9198
|
+
])),
|
|
9199
|
+
availability: effect.Schema.optional(effect.Schema.String.check(effect.Schema.isMaxLength(2048)))
|
|
9200
|
+
});
|
|
9133
9201
|
const DeviceDescriptor = effect.Schema.Struct({
|
|
9202
|
+
host: effect.Schema.optional(DeviceHostSummary),
|
|
9203
|
+
nativeUdid: effect.Schema.optional(DeviceUdid),
|
|
9134
9204
|
platform: DevicePlatform,
|
|
9135
9205
|
udid: DeviceUdid,
|
|
9136
9206
|
name: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(256)),
|
|
@@ -9163,6 +9233,9 @@ const DeviceDescriptor = effect.Schema.Struct({
|
|
|
9163
9233
|
}))
|
|
9164
9234
|
});
|
|
9165
9235
|
const DeviceSetupStepId = effect.Schema.Literals([
|
|
9236
|
+
"install-android-platform-tools",
|
|
9237
|
+
"install-android-emulator",
|
|
9238
|
+
"create-android-avd",
|
|
9166
9239
|
"install-xcode",
|
|
9167
9240
|
"accept-xcode-license",
|
|
9168
9241
|
"select-xcode-command-line-tools",
|
|
@@ -9260,6 +9333,7 @@ const DeviceAttachPhase = effect.Schema.Literals([
|
|
|
9260
9333
|
"connecting"
|
|
9261
9334
|
]);
|
|
9262
9335
|
const ThreadDeviceState = effect.Schema.Struct({
|
|
9336
|
+
hosts: effect.Schema.optional(effect.Schema.Array(DeviceHostSummary).check(effect.Schema.isMaxLength(17))),
|
|
9263
9337
|
threadId: ThreadId,
|
|
9264
9338
|
/** Monotonic per thread; lets the pane drop out-of-order pushes. */
|
|
9265
9339
|
version: NonNegativeInt,
|
|
@@ -9272,7 +9346,7 @@ const ThreadDeviceState = effect.Schema.Struct({
|
|
|
9272
9346
|
*/
|
|
9273
9347
|
attachPhase: effect.Schema.optional(effect.Schema.NullOr(DeviceAttachPhase)),
|
|
9274
9348
|
/** Devices the pane may show: booted devices plus anything Ryco is booting. */
|
|
9275
|
-
devices: effect.Schema.Array(DeviceDescriptor).check(effect.Schema.isMaxLength(
|
|
9349
|
+
devices: effect.Schema.Array(DeviceDescriptor).check(effect.Schema.isMaxLength(256)),
|
|
9276
9350
|
/** True while an agent tool is driving input, so the pane can show the badge. */
|
|
9277
9351
|
agentActive: effect.Schema.Boolean,
|
|
9278
9352
|
availability: DeviceAvailability,
|
|
@@ -9283,6 +9357,7 @@ const DeviceListInput = effect.Schema.Struct({
|
|
|
9283
9357
|
/** Include shut-down devices; the pane picker wants them, the agent usually does not. */
|
|
9284
9358
|
includeShutdown: effect.Schema.optional(effect.Schema.Boolean) });
|
|
9285
9359
|
const DeviceListResult = effect.Schema.Struct({
|
|
9360
|
+
hosts: effect.Schema.optional(effect.Schema.Array(DeviceHostSummary).check(effect.Schema.isMaxLength(17))),
|
|
9286
9361
|
devices: effect.Schema.Array(DeviceDescriptor).check(effect.Schema.isMaxLength(256)),
|
|
9287
9362
|
availability: DeviceAvailability
|
|
9288
9363
|
});
|
|
@@ -9365,6 +9440,8 @@ const DeviceKeyEventInput = effect.Schema.Struct({
|
|
|
9365
9440
|
});
|
|
9366
9441
|
const DeviceHardwareButton = effect.Schema.Literals([
|
|
9367
9442
|
"home",
|
|
9443
|
+
"back",
|
|
9444
|
+
"recents",
|
|
9368
9445
|
"lock",
|
|
9369
9446
|
"volume-up",
|
|
9370
9447
|
"volume-down",
|
|
@@ -9377,7 +9454,7 @@ const DevicePressButtonInput = effect.Schema.Struct({
|
|
|
9377
9454
|
const DeviceBundleId = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(256));
|
|
9378
9455
|
const DeviceInstallAppInput = effect.Schema.Struct({
|
|
9379
9456
|
udid: DeviceUdid,
|
|
9380
|
-
/** Absolute path to a built `.app` bundle
|
|
9457
|
+
/** Absolute path to a built `.app` bundle or Android `.apk`; Ryco never runs the build itself. */
|
|
9381
9458
|
appPath: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(DEVICE_PATH_MAX_LENGTH))
|
|
9382
9459
|
});
|
|
9383
9460
|
const DeviceInstallAppResult = effect.Schema.Struct({
|
|
@@ -9398,6 +9475,85 @@ const DeviceOpenUrlInput = effect.Schema.Struct({
|
|
|
9398
9475
|
udid: DeviceUdid,
|
|
9399
9476
|
url: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(DEVICE_URL_MAX_LENGTH))
|
|
9400
9477
|
});
|
|
9478
|
+
const DeviceTestingTextSize = effect.Schema.Literals([
|
|
9479
|
+
"extra-small",
|
|
9480
|
+
"small",
|
|
9481
|
+
"medium",
|
|
9482
|
+
"large",
|
|
9483
|
+
"extra-large",
|
|
9484
|
+
"extra-extra-large",
|
|
9485
|
+
"extra-extra-extra-large",
|
|
9486
|
+
"accessibility-medium",
|
|
9487
|
+
"accessibility-large",
|
|
9488
|
+
"accessibility-extra-large",
|
|
9489
|
+
"accessibility-extra-extra-large",
|
|
9490
|
+
"accessibility-extra-extra-extra-large"
|
|
9491
|
+
]);
|
|
9492
|
+
const DeviceTestingPermission = effect.Schema.Literals([
|
|
9493
|
+
"calendar",
|
|
9494
|
+
"contacts-limited",
|
|
9495
|
+
"contacts",
|
|
9496
|
+
"location",
|
|
9497
|
+
"location-always",
|
|
9498
|
+
"photos-add",
|
|
9499
|
+
"photos",
|
|
9500
|
+
"media-library",
|
|
9501
|
+
"microphone",
|
|
9502
|
+
"motion",
|
|
9503
|
+
"reminders",
|
|
9504
|
+
"siri"
|
|
9505
|
+
]);
|
|
9506
|
+
const DeviceTestingBundleId = DeviceBundleId.check(effect.Schema.isPattern(/^[A-Za-z0-9][A-Za-z0-9.-]*$/));
|
|
9507
|
+
const DeviceTestingAction = effect.Schema.Union([
|
|
9508
|
+
effect.Schema.Struct({
|
|
9509
|
+
type: effect.Schema.Literal("appearance"),
|
|
9510
|
+
value: effect.Schema.Literals(["light", "dark"])
|
|
9511
|
+
}),
|
|
9512
|
+
effect.Schema.Struct({
|
|
9513
|
+
type: effect.Schema.Literal("text-size"),
|
|
9514
|
+
value: DeviceTestingTextSize
|
|
9515
|
+
}),
|
|
9516
|
+
effect.Schema.Struct({
|
|
9517
|
+
type: effect.Schema.Literal("location"),
|
|
9518
|
+
latitude: effect.Schema.Finite.check(effect.Schema.isBetween({
|
|
9519
|
+
minimum: -90,
|
|
9520
|
+
maximum: 90
|
|
9521
|
+
})),
|
|
9522
|
+
longitude: effect.Schema.Finite.check(effect.Schema.isBetween({
|
|
9523
|
+
minimum: -180,
|
|
9524
|
+
maximum: 180
|
|
9525
|
+
}))
|
|
9526
|
+
}),
|
|
9527
|
+
effect.Schema.Struct({ type: effect.Schema.Literal("clear-location") }),
|
|
9528
|
+
effect.Schema.Struct({
|
|
9529
|
+
type: effect.Schema.Literal("permission"),
|
|
9530
|
+
bundleId: DeviceTestingBundleId,
|
|
9531
|
+
service: DeviceTestingPermission,
|
|
9532
|
+
decision: effect.Schema.Literals([
|
|
9533
|
+
"grant",
|
|
9534
|
+
"revoke",
|
|
9535
|
+
"reset"
|
|
9536
|
+
])
|
|
9537
|
+
}),
|
|
9538
|
+
effect.Schema.Struct({
|
|
9539
|
+
type: effect.Schema.Literal("push"),
|
|
9540
|
+
bundleId: DeviceTestingBundleId,
|
|
9541
|
+
payload: effect.Schema.String.check(effect.Schema.isMaxLength(4096))
|
|
9542
|
+
}),
|
|
9543
|
+
effect.Schema.Struct({
|
|
9544
|
+
type: effect.Schema.Literal("preset"),
|
|
9545
|
+
value: effect.Schema.Literals([
|
|
9546
|
+
"dark",
|
|
9547
|
+
"large-text",
|
|
9548
|
+
"dark-large-text",
|
|
9549
|
+
"standard"
|
|
9550
|
+
])
|
|
9551
|
+
})
|
|
9552
|
+
]);
|
|
9553
|
+
const DeviceTestingInput = effect.Schema.Struct({
|
|
9554
|
+
udid: DeviceUdid.check(effect.Schema.isPattern(/^(?!booted$|all$).+$/i)),
|
|
9555
|
+
action: DeviceTestingAction
|
|
9556
|
+
});
|
|
9401
9557
|
const DeviceScreenshotInput = effect.Schema.Struct({
|
|
9402
9558
|
udid: DeviceUdid,
|
|
9403
9559
|
/**
|
|
@@ -9616,6 +9772,10 @@ const DeviceInputResponse = effect.Schema.Union([
|
|
|
9616
9772
|
})
|
|
9617
9773
|
]);
|
|
9618
9774
|
const DeviceAppRequest = effect.Schema.Union([
|
|
9775
|
+
effect.Schema.Struct({
|
|
9776
|
+
type: effect.Schema.Literal("testing"),
|
|
9777
|
+
input: DeviceTestingInput
|
|
9778
|
+
}),
|
|
9619
9779
|
effect.Schema.Struct({
|
|
9620
9780
|
type: effect.Schema.Literal("install-app"),
|
|
9621
9781
|
input: DeviceInstallAppInput
|
|
@@ -9630,6 +9790,7 @@ const DeviceAppRequest = effect.Schema.Union([
|
|
|
9630
9790
|
})
|
|
9631
9791
|
]);
|
|
9632
9792
|
const DeviceAppResponse = effect.Schema.Union([
|
|
9793
|
+
effect.Schema.Struct({ type: effect.Schema.Literal("testing") }),
|
|
9633
9794
|
effect.Schema.Struct({
|
|
9634
9795
|
type: effect.Schema.Literal("install-app"),
|
|
9635
9796
|
result: DeviceInstallAppResult
|
|
@@ -9717,8 +9878,8 @@ effect.Schema.Literals([
|
|
|
9717
9878
|
* Schema-only definitions for the Agent Control control plane: principals,
|
|
9718
9879
|
* capabilities, immutable action plans, approval proposals, and durable
|
|
9719
9880
|
* execution operations. Agents never receive ambient write access — every
|
|
9720
|
-
* mutation is first captured as an immutable `AgentControlProposal
|
|
9721
|
-
*
|
|
9881
|
+
* mutation is first captured as an immutable `AgentControlProposal`. Routine private-session
|
|
9882
|
+
* actions may be authorized by policy; other actions require user approval. Only the executor moves an accepted
|
|
9722
9883
|
* proposal into execution.
|
|
9723
9884
|
*
|
|
9724
9885
|
* Extension rules
|
|
@@ -9933,9 +10094,21 @@ const AgentControlInterruptThreadPlan = effect.Schema.Struct({
|
|
|
9933
10094
|
/** When present, only this exact turn may be interrupted. */
|
|
9934
10095
|
turnId: effect.Schema.optional(TurnId)
|
|
9935
10096
|
}).annotate({ parseOptions: { onExcessProperty: "error" } });
|
|
10097
|
+
const AgentControlThreadPreferences = effect.Schema.Struct({
|
|
10098
|
+
modelSelection: effect.Schema.optional(ModelSelection),
|
|
10099
|
+
runtimeMode: effect.Schema.optional(RuntimeMode),
|
|
10100
|
+
interactionMode: effect.Schema.optional(ProviderInteractionMode),
|
|
10101
|
+
tokenMode: effect.Schema.optional(AgentTokenMode)
|
|
10102
|
+
});
|
|
10103
|
+
const AgentControlProjectPreferences = effect.Schema.Struct({
|
|
10104
|
+
customSystemPrompt: effect.Schema.optional(effect.Schema.NullOr(ProjectCustomSystemPrompt)),
|
|
10105
|
+
scripts: effect.Schema.optional(effect.Schema.Array(ProjectScript).check(effect.Schema.isMaxLength(100))),
|
|
10106
|
+
preferredRemoteName: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString))
|
|
10107
|
+
});
|
|
9936
10108
|
const AgentControlUpdateThreadPlan = effect.Schema.Struct({
|
|
9937
10109
|
kind: effect.Schema.Literal("updateThread"),
|
|
9938
10110
|
threadId: ThreadId,
|
|
10111
|
+
...AgentControlThreadPreferences.fields,
|
|
9939
10112
|
title: effect.Schema.optional(AgentControlTitle),
|
|
9940
10113
|
archived: effect.Schema.optional(effect.Schema.Boolean),
|
|
9941
10114
|
/** An explicitly requested persistent goal; `null` clears it. */
|
|
@@ -9945,12 +10118,14 @@ const AgentControlWorkspaceRoot = TrimmedNonEmptyString.check(effect.Schema.isMa
|
|
|
9945
10118
|
const AgentControlRepositoryIdentityKey = effect.Schema.NullOr(TrimmedNonEmptyString.check(effect.Schema.isMaxLength(2048)));
|
|
9946
10119
|
/** Canonical project state captured when a mutable project proposal is created. */
|
|
9947
10120
|
const AgentControlProjectState = effect.Schema.Struct({
|
|
10121
|
+
...AgentControlProjectPreferences.fields,
|
|
9948
10122
|
title: AgentControlTitle,
|
|
9949
10123
|
workspaceRoot: AgentControlWorkspaceRoot,
|
|
9950
10124
|
repositoryIdentityKey: AgentControlRepositoryIdentityKey,
|
|
9951
10125
|
updatedAt: IsoDateTime
|
|
9952
10126
|
}).annotate({ parseOptions: { onExcessProperty: "error" } });
|
|
9953
10127
|
const AgentControlProjectTarget = effect.Schema.Struct({
|
|
10128
|
+
...AgentControlProjectPreferences.fields,
|
|
9954
10129
|
title: AgentControlTitle,
|
|
9955
10130
|
workspaceRoot: AgentControlWorkspaceRoot,
|
|
9956
10131
|
repositoryIdentityKey: AgentControlRepositoryIdentityKey
|
|
@@ -9964,7 +10139,7 @@ const AgentControlCreateProjectPlan = effect.Schema.Struct({
|
|
|
9964
10139
|
projectMetadataDir: ProjectMetadataDir,
|
|
9965
10140
|
repositoryIdentityKey: AgentControlRepositoryIdentityKey
|
|
9966
10141
|
}).annotate({ parseOptions: { onExcessProperty: "error" } });
|
|
9967
|
-
/** Exact before/after metadata
|
|
10142
|
+
/** Exact before/after project metadata and preference update. */
|
|
9968
10143
|
const AgentControlUpdateProjectPlan = effect.Schema.Struct({
|
|
9969
10144
|
kind: effect.Schema.Literal("updateProject"),
|
|
9970
10145
|
projectId: ProjectId,
|
|
@@ -10066,7 +10241,7 @@ const AgentControlDeviceRiskClass = effect.Schema.Literals([
|
|
|
10066
10241
|
"device-lifecycle",
|
|
10067
10242
|
"open-world"
|
|
10068
10243
|
]);
|
|
10069
|
-
const AgentControlDeviceArtifactPath = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(AGENT_CONTROL_DEVICE_ARTIFACT_PATH_MAX_CHARS), effect.Schema.isPattern(/^(?!\/)(?!~)(?![A-Za-z]:)(?!.*(?:^|\/)\.\.(?:\/|$))(?!.*\\)[^\0]+\.app$/u));
|
|
10244
|
+
const AgentControlDeviceArtifactPath = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(AGENT_CONTROL_DEVICE_ARTIFACT_PATH_MAX_CHARS), effect.Schema.isPattern(/^(?!\/)(?!~)(?![A-Za-z]:)(?!.*(?:^|\/)\.\.(?:\/|$))(?!.*\\)[^\0]+\.(?:app|apk)$/u));
|
|
10070
10245
|
const AgentControlDeviceExecutionSummary = TrimmedNonEmptyString.check(effect.Schema.isMaxLength(240));
|
|
10071
10246
|
const AgentControlDeviceCoordinate = effect.Schema.Finite.check(effect.Schema.isBetween({
|
|
10072
10247
|
minimum: 0,
|
|
@@ -10688,6 +10863,7 @@ const AgentControlMcpInterruptThreadInput = effect.Schema.Struct({
|
|
|
10688
10863
|
const AgentControlMcpUpdateThreadInput = effect.Schema.Struct({
|
|
10689
10864
|
requestId: AgentControlRequestId,
|
|
10690
10865
|
threadId: ThreadId,
|
|
10866
|
+
...AgentControlThreadPreferences.fields,
|
|
10691
10867
|
title: effect.Schema.optional(AgentControlTitle),
|
|
10692
10868
|
archived: effect.Schema.optional(effect.Schema.Boolean),
|
|
10693
10869
|
persistentGoal: effect.Schema.optional(effect.Schema.NullOr(TrimmedNonEmptyString.check(effect.Schema.isMaxLength(AGENT_CONTROL_PERSISTENT_GOAL_MAX_CHARS))))
|
|
@@ -10699,6 +10875,7 @@ const AgentControlMcpProposeProjectCreateInput = effect.Schema.Struct({
|
|
|
10699
10875
|
workspaceRoot: AgentControlWorkspaceRoot
|
|
10700
10876
|
}).annotate({ parseOptions: { onExcessProperty: "error" } });
|
|
10701
10877
|
const AgentControlMcpProposeProjectUpdateInput = effect.Schema.Struct({
|
|
10878
|
+
...AgentControlProjectPreferences.fields,
|
|
10702
10879
|
requestId: AgentControlRequestId,
|
|
10703
10880
|
projectId: ProjectId,
|
|
10704
10881
|
expectedUpdatedAt: IsoDateTime,
|
|
@@ -10915,14 +11092,14 @@ const AgentControlMcpSettingsSummaryItem = effect.Schema.Union([effect.Schema.St
|
|
|
10915
11092
|
kind: effect.Schema.Literal("legacyTokenStreaming"),
|
|
10916
11093
|
label: effect.Schema.Literal("Legacy token streaming"),
|
|
10917
11094
|
value: effect.Schema.Boolean,
|
|
10918
|
-
changeSupported: effect.Schema.
|
|
10919
|
-
unsupportedReason: TrimmedNonEmptyString
|
|
11095
|
+
changeSupported: effect.Schema.Boolean,
|
|
11096
|
+
unsupportedReason: effect.Schema.NullOr(TrimmedNonEmptyString)
|
|
10920
11097
|
}), effect.Schema.Struct({
|
|
10921
11098
|
kind: effect.Schema.Literal("providerUpdateChecks"),
|
|
10922
11099
|
label: effect.Schema.Literal("Provider update checks"),
|
|
10923
11100
|
value: effect.Schema.Boolean,
|
|
10924
|
-
changeSupported: effect.Schema.
|
|
10925
|
-
unsupportedReason: TrimmedNonEmptyString
|
|
11101
|
+
changeSupported: effect.Schema.Boolean,
|
|
11102
|
+
unsupportedReason: effect.Schema.NullOr(TrimmedNonEmptyString)
|
|
10926
11103
|
})]);
|
|
10927
11104
|
const AgentControlMcpSettingsSummaryResult = effect.Schema.Struct({
|
|
10928
11105
|
settings: effect.Schema.Array(AgentControlMcpSettingsSummaryItem),
|
|
@@ -11482,6 +11659,40 @@ var FilesystemBrowseError = class extends effect.Schema.TaggedError()("Filesyste
|
|
|
11482
11659
|
cause: effect.Schema.optional(effect.Schema.Defect())
|
|
11483
11660
|
}) {};
|
|
11484
11661
|
//#endregion
|
|
11662
|
+
//#region ../../packages/contracts/src/acpRegistry.ts
|
|
11663
|
+
/** Registry identities are data, never executable paths or package-manager arguments. */
|
|
11664
|
+
const AcpRegistryAgentId = effect.Schema.String.check(effect.Schema.isPattern(/^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$/));
|
|
11665
|
+
const AcpRegistryVersion = effect.Schema.String.check(effect.Schema.isPattern(/^[0-9][a-zA-Z0-9.+_-]{0,127}$/));
|
|
11666
|
+
const AcpRegistrySettings = effect.Schema.Struct({
|
|
11667
|
+
agentId: effect.Schema.String.pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed("")), effect.Schema.annotateKey({ providerSettingsForm: { hidden: true } })),
|
|
11668
|
+
version: effect.Schema.String.pipe(effect.Schema.withDecodingDefault(effect.Effect.succeed("")), effect.Schema.annotateKey({ providerSettingsForm: { hidden: true } })),
|
|
11669
|
+
authMethodId: effect.Schema.optionalKey(effect.Schema.String).pipe(effect.Schema.annotateKey({ providerSettingsForm: { hidden: true } }))
|
|
11670
|
+
});
|
|
11671
|
+
const AcpRegistryAgent = effect.Schema.Struct({
|
|
11672
|
+
id: AcpRegistryAgentId,
|
|
11673
|
+
version: AcpRegistryVersion,
|
|
11674
|
+
name: effect.Schema.String,
|
|
11675
|
+
description: effect.Schema.String,
|
|
11676
|
+
repository: effect.Schema.optionalKey(effect.Schema.String),
|
|
11677
|
+
website: effect.Schema.optionalKey(effect.Schema.String),
|
|
11678
|
+
icon: effect.Schema.optionalKey(effect.Schema.String),
|
|
11679
|
+
license: effect.Schema.optionalKey(effect.Schema.String),
|
|
11680
|
+
installable: effect.Schema.Boolean,
|
|
11681
|
+
unavailableReason: effect.Schema.optionalKey(effect.Schema.String),
|
|
11682
|
+
installed: effect.Schema.Boolean
|
|
11683
|
+
});
|
|
11684
|
+
const AcpRegistryInstallInput = effect.Schema.Struct({
|
|
11685
|
+
agentId: AcpRegistryAgentId,
|
|
11686
|
+
version: AcpRegistryVersion
|
|
11687
|
+
});
|
|
11688
|
+
const AcpRegistryInstallation = effect.Schema.Struct({
|
|
11689
|
+
agentId: AcpRegistryAgentId,
|
|
11690
|
+
version: AcpRegistryVersion,
|
|
11691
|
+
sha256: effect.Schema.String
|
|
11692
|
+
});
|
|
11693
|
+
const AcpRegistrySearchInput = effect.Schema.Struct({ query: effect.Schema.optionalKey(effect.Schema.String.check(effect.Schema.isMaxLength(200))) });
|
|
11694
|
+
const AcpRegistrySearchResult = effect.Schema.Struct({ agents: effect.Schema.Array(AcpRegistryAgent) });
|
|
11695
|
+
//#endregion
|
|
11485
11696
|
//#region ../../packages/contracts/src/rpc.ts
|
|
11486
11697
|
const WS_METHODS = {
|
|
11487
11698
|
projectsList: "projects.list",
|
|
@@ -11529,6 +11740,10 @@ const WS_METHODS = {
|
|
|
11529
11740
|
serverGetConfig: "server.getConfig",
|
|
11530
11741
|
serverGetAdvertisedEndpoints: "server.getAdvertisedEndpoints",
|
|
11531
11742
|
serverGetDiagnosticsMetrics: "server.getDiagnosticsMetrics",
|
|
11743
|
+
serverSearchAcpRegistry: "server.searchAcpRegistry",
|
|
11744
|
+
serverInstallAcpRegistry: "server.installAcpRegistry",
|
|
11745
|
+
serverGetAcpRegistryAuthMethods: "server.getAcpRegistryAuthMethods",
|
|
11746
|
+
serverAuthenticateAcpRegistry: "server.authenticateAcpRegistry",
|
|
11532
11747
|
serverRefreshProviders: "server.refreshProviders",
|
|
11533
11748
|
serverUpdateProvider: "server.updateProvider",
|
|
11534
11749
|
serverUpsertKeybinding: "server.upsertKeybinding",
|
|
@@ -11562,6 +11777,8 @@ const WS_METHODS = {
|
|
|
11562
11777
|
sourceControlListChangeRequests: "sourceControl.listChangeRequests",
|
|
11563
11778
|
sourceControlSearchChangeRequests: "sourceControl.searchChangeRequests",
|
|
11564
11779
|
sourceControlGetChangeRequestDetail: "sourceControl.getChangeRequestDetail",
|
|
11780
|
+
sourceControlGetChangeRequestFilesViewed: "sourceControl.getChangeRequestFilesViewed",
|
|
11781
|
+
sourceControlSetChangeRequestFileViewed: "sourceControl.setChangeRequestFileViewed",
|
|
11565
11782
|
sourceControlGetChangeRequestDiff: "sourceControl.getChangeRequestDiff",
|
|
11566
11783
|
sourceControlMergeChangeRequest: "sourceControl.mergeChangeRequest",
|
|
11567
11784
|
sourceControlCreateIssue: "sourceControl.createIssue",
|
|
@@ -11576,6 +11793,8 @@ const WS_METHODS = {
|
|
|
11576
11793
|
sourceControlGetWorkflowJobLog: "sourceControl.getWorkflowJobLog",
|
|
11577
11794
|
sourceControlRerunWorkflow: "sourceControl.rerunWorkflow",
|
|
11578
11795
|
textGenerationGenerateIssueContent: "textGeneration.generateIssueContent",
|
|
11796
|
+
textGenerationAskSideQuestion: "textGeneration.askSideQuestion",
|
|
11797
|
+
textGenerationCancelSideQuestion: "textGeneration.cancelSideQuestion",
|
|
11579
11798
|
textGenerationGenerateBranchName: "textGeneration.generateBranchName",
|
|
11580
11799
|
atlassianListConnections: "atlassian.listConnections",
|
|
11581
11800
|
atlassianStartOAuth: "atlassian.startOAuth",
|
|
@@ -11616,6 +11835,22 @@ const SourceControlCreateIssueWithWorktreeResult = effect.Schema.Struct({
|
|
|
11616
11835
|
worktree: effect.Schema.optional(GitCreateWorktreeForProjectOutput),
|
|
11617
11836
|
worktreeError: effect.Schema.optional(effect.Schema.String)
|
|
11618
11837
|
});
|
|
11838
|
+
/** Ephemeral questions: context and cwd are always resolved by the server. */
|
|
11839
|
+
const SideQuestionInput = effect.Schema.Struct({
|
|
11840
|
+
threadId: ThreadId,
|
|
11841
|
+
requestId: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(128)),
|
|
11842
|
+
question: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(16e3)),
|
|
11843
|
+
history: effect.Schema.Array(effect.Schema.Struct({
|
|
11844
|
+
question: effect.Schema.String.check(effect.Schema.isMaxLength(16e3)),
|
|
11845
|
+
answer: effect.Schema.String.check(effect.Schema.isMaxLength(32e3))
|
|
11846
|
+
})).check(effect.Schema.isMaxLength(20)),
|
|
11847
|
+
modelSelection: ModelSelection
|
|
11848
|
+
});
|
|
11849
|
+
const SideQuestionResult = effect.Schema.Struct({
|
|
11850
|
+
requestId: effect.Schema.String,
|
|
11851
|
+
answer: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(32e3))
|
|
11852
|
+
});
|
|
11853
|
+
const SideQuestionCancelInput = effect.Schema.Struct({ requestId: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(128)) });
|
|
11619
11854
|
const TextGenerationIssueContentMode = effect.Schema.Literals(["polish", "title"]);
|
|
11620
11855
|
const TextGenerationIssueContentInput = effect.Schema.Struct({
|
|
11621
11856
|
cwd: effect.Schema.String,
|
|
@@ -11706,6 +11941,49 @@ const WsServerGetDiagnosticsMetricsRpc = effect_unstable_rpc_Rpc.make(WS_METHODS
|
|
|
11706
11941
|
success: ServerLocalDiagnosticsMetrics,
|
|
11707
11942
|
error: AuthRpcError
|
|
11708
11943
|
});
|
|
11944
|
+
var AcpRegistryOperationError = class extends effect.Schema.TaggedError()("AcpRegistryOperationError", { message: effect.Schema.String }) {};
|
|
11945
|
+
const AcpRegistryAuthMethod = effect.Schema.Struct({
|
|
11946
|
+
type: effect.Schema.optionalKey(effect.Schema.Literals([
|
|
11947
|
+
"agent",
|
|
11948
|
+
"env_var",
|
|
11949
|
+
"terminal"
|
|
11950
|
+
])),
|
|
11951
|
+
variables: effect.Schema.optionalKey(effect.Schema.Array(effect.Schema.Struct({
|
|
11952
|
+
name: effect.Schema.String,
|
|
11953
|
+
label: effect.Schema.optionalKey(effect.Schema.String),
|
|
11954
|
+
optional: effect.Schema.Boolean,
|
|
11955
|
+
secret: effect.Schema.Boolean
|
|
11956
|
+
}))),
|
|
11957
|
+
id: effect.Schema.String,
|
|
11958
|
+
name: effect.Schema.String,
|
|
11959
|
+
description: effect.Schema.optionalKey(effect.Schema.String)
|
|
11960
|
+
});
|
|
11961
|
+
const AcpRegistryAuthInput = effect.Schema.Struct({ instanceId: ProviderInstanceId });
|
|
11962
|
+
const AcpRegistryAuthenticateInput = effect.Schema.Struct({
|
|
11963
|
+
instanceId: ProviderInstanceId,
|
|
11964
|
+
methodId: effect.Schema.String.check(effect.Schema.isMinLength(1), effect.Schema.isMaxLength(256))
|
|
11965
|
+
});
|
|
11966
|
+
const AcpRegistryAuthenticationResult = effect.Schema.Struct({ authenticated: effect.Schema.Boolean });
|
|
11967
|
+
const WsServerSearchAcpRegistryRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverSearchAcpRegistry, {
|
|
11968
|
+
payload: AcpRegistrySearchInput,
|
|
11969
|
+
success: AcpRegistrySearchResult,
|
|
11970
|
+
error: effect.Schema.Union([AcpRegistryOperationError, AuthRpcError])
|
|
11971
|
+
});
|
|
11972
|
+
const WsServerInstallAcpRegistryRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverInstallAcpRegistry, {
|
|
11973
|
+
payload: AcpRegistryInstallInput,
|
|
11974
|
+
success: AcpRegistryInstallation,
|
|
11975
|
+
error: effect.Schema.Union([AcpRegistryOperationError, AuthRpcError])
|
|
11976
|
+
});
|
|
11977
|
+
const WsServerGetAcpRegistryAuthMethodsRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverGetAcpRegistryAuthMethods, {
|
|
11978
|
+
payload: AcpRegistryAuthInput,
|
|
11979
|
+
success: effect.Schema.Array(AcpRegistryAuthMethod),
|
|
11980
|
+
error: effect.Schema.Union([AcpRegistryOperationError, AuthRpcError])
|
|
11981
|
+
});
|
|
11982
|
+
const WsServerAuthenticateAcpRegistryRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverAuthenticateAcpRegistry, {
|
|
11983
|
+
payload: AcpRegistryAuthenticateInput,
|
|
11984
|
+
success: AcpRegistryAuthenticationResult,
|
|
11985
|
+
error: effect.Schema.Union([AcpRegistryOperationError, AuthRpcError])
|
|
11986
|
+
});
|
|
11709
11987
|
const WsServerRefreshProvidersRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.serverRefreshProviders, {
|
|
11710
11988
|
payload: effect.Schema.Struct({
|
|
11711
11989
|
/**
|
|
@@ -11902,10 +12180,21 @@ const WsSourceControlGetChangeRequestDetailRpc = effect_unstable_rpc_Rpc.make(WS
|
|
|
11902
12180
|
success: SourceControlChangeRequestDetail,
|
|
11903
12181
|
error: effect.Schema.Union([SourceControlProviderError, AuthRpcError])
|
|
11904
12182
|
});
|
|
12183
|
+
const WsSourceControlGetChangeRequestFilesViewedRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.sourceControlGetChangeRequestFilesViewed, {
|
|
12184
|
+
payload: SourceControlGetChangeRequestFilesViewedInput,
|
|
12185
|
+
success: SourceControlChangeRequestFilesViewed,
|
|
12186
|
+
error: effect.Schema.Union([SourceControlProviderError, AuthRpcError])
|
|
12187
|
+
});
|
|
12188
|
+
const WsSourceControlSetChangeRequestFileViewedRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.sourceControlSetChangeRequestFileViewed, {
|
|
12189
|
+
payload: SourceControlSetChangeRequestFileViewedInput,
|
|
12190
|
+
success: SourceControlSetChangeRequestFileViewedResult,
|
|
12191
|
+
error: effect.Schema.Union([SourceControlProviderError, AuthRpcError])
|
|
12192
|
+
});
|
|
11905
12193
|
const WsSourceControlGetChangeRequestDiffRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.sourceControlGetChangeRequestDiff, {
|
|
11906
12194
|
payload: effect.Schema.Struct({
|
|
11907
12195
|
cwd: effect.Schema.String,
|
|
11908
|
-
reference: effect.Schema.String
|
|
12196
|
+
reference: effect.Schema.String,
|
|
12197
|
+
expectedHeadSha: effect.Schema.optional(TrimmedNonEmptyString)
|
|
11909
12198
|
}),
|
|
11910
12199
|
success: effect.Schema.String,
|
|
11911
12200
|
error: effect.Schema.Union([SourceControlProviderError, AuthRpcError])
|
|
@@ -11974,6 +12263,16 @@ const WsSourceControlRerunWorkflowRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.
|
|
|
11974
12263
|
success: SourceControlWorkflowRerunResult,
|
|
11975
12264
|
error: effect.Schema.Union([SourceControlProviderError, AuthRpcError])
|
|
11976
12265
|
});
|
|
12266
|
+
const WsTextGenerationAskSideQuestionRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.textGenerationAskSideQuestion, {
|
|
12267
|
+
payload: SideQuestionInput,
|
|
12268
|
+
success: SideQuestionResult,
|
|
12269
|
+
error: effect.Schema.Union([AuthRpcError, TextGenerationError])
|
|
12270
|
+
});
|
|
12271
|
+
const WsTextGenerationCancelSideQuestionRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.textGenerationCancelSideQuestion, {
|
|
12272
|
+
payload: SideQuestionCancelInput,
|
|
12273
|
+
success: effect.Schema.Struct({}),
|
|
12274
|
+
error: effect.Schema.Union([AuthRpcError, TextGenerationError])
|
|
12275
|
+
});
|
|
11977
12276
|
const WsTextGenerationGenerateIssueContentRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.textGenerationGenerateIssueContent, {
|
|
11978
12277
|
payload: TextGenerationIssueContentInput,
|
|
11979
12278
|
success: TextGenerationIssueContentResult,
|
|
@@ -12499,7 +12798,7 @@ const WsAgentControlDisconnectMcpInstallationRpc = effect_unstable_rpc_Rpc.make(
|
|
|
12499
12798
|
error: effect.Schema.Union([AgentControlExternalRpcError, AuthRpcError])
|
|
12500
12799
|
});
|
|
12501
12800
|
/** Keep declaration emit bounded as shared settings and RPC schemas grow. */
|
|
12502
|
-
const WsRpcGroup = effect_unstable_rpc_RpcGroup.make(WsServerGetConfigRpc, WsServerGetAdvertisedEndpointsRpc, WsServerGetDiagnosticsMetricsRpc, WsServerGetStatisticsRpc, WsServerGetUsageSummaryRpc, WsServerRefreshProvidersRpc, WsServerUpdateProviderRpc, WsServerUpsertKeybindingRpc, WsKeybindingsReplaceCustomRpc, WsServerGetSettingsRpc, WsServerUpdateSettingsRpc, WsServerGetDiagnosticsSnapshotRpc, WsServerSignalDiagnosticProcessRpc, WsServerGetResourceTelemetryHistoryRpc, WsServerRetryResourceTelemetryRpc, WsServerDiscoverSourceControlRpc, WsServerListOpinionatedPluginsRpc, WsServerCheckOpinionatedPluginsRpc, WsServerInstallOpinionatedPluginRpc, WsMcpListWorkspacesRpc, WsMcpListServersRpc, WsMcpUpsertServerRpc, WsMcpSetServerEnabledRpc, WsMcpRemoveServerRpc, WsMcpReloadServersRpc, WsMcpStartOauthLoginRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlSearchRepositoriesRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSourceControlListIssuesRpc, WsSourceControlGetIssueRpc, WsSourceControlSearchIssuesRpc, WsSourceControlListChangeRequestsRpc, WsSourceControlSearchChangeRequestsRpc, WsSourceControlGetChangeRequestDetailRpc, WsSourceControlGetChangeRequestDiffRpc, WsSourceControlMergeChangeRequestRpc, WsSourceControlCreateIssueRpc, WsSourceControlAddIssueCommentRpc, WsSourceControlAddIssueCommentReactionRpc, WsSourceControlAddChangeRequestCommentRpc, WsSourceControlAddChangeRequestCommentReactionRpc, WsSourceControlListIssueLabelsRpc, WsSourceControlListIssueAssigneesRpc, WsSourceControlListWorkflowRunsRpc, WsSourceControlGetWorkflowRunJobsRpc, WsSourceControlGetWorkflowJobLogRpc, WsSourceControlRerunWorkflowRpc, WsTextGenerationGenerateIssueContentRpc, WsTextGenerationGenerateBranchNameRpc, WsAtlassianListConnectionsRpc, WsAtlassianStartOAuthRpc, WsAtlassianDisconnectRpc, WsAtlassianRefreshRpc, WsAtlassianListResourcesRpc, WsAtlassianGetProjectLinkRpc, WsAtlassianSaveProjectLinkRpc, WsAtlassianSaveManualBitbucketTokenRpc, WsAtlassianSaveManualJiraTokenRpc, WsWorkItemsListProjectsRpc, WsWorkItemsListRpc, WsWorkItemsSearchRpc, WsWorkItemsGetRpc, WsWorkItemsAddCommentRpc, WsWorkItemsEditCommentRpc, WsWorkItemsUpdateRpc, WsWorkItemsListTransitionsRpc, WsWorkItemsTransitionRpc, WsProjectsListEntriesRpc, WsProjectsSearchEntriesRpc, WsProjectsReadFileRpc, WsProjectsReadIconRpc, WsProjectsReadFileBinaryRpc, WsProjectsWriteFileRpc, WsProjectsStageFileReferenceRpc, WsChatAttachmentsCreateFileUploadRpc, WsChatAttachmentsReadChunkRpc, WsShellOpenInEditorRpc, WsFilesystemBrowseRpc, WsSubscribeVcsStatusRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsGitRunStackedActionRpc, WsGitResolvePullRequestRpc, WsGitPreparePullRequestThreadRpc, WsGitCreateWorktreeForProjectRpc, WsGitFindWorktreeForOriginRpc, WsGitArchiveWorktreeRpc, WsGitRestoreWorktreeRpc, WsGitDeleteWorktreeRpc, WsThreadsSetManualBucketRpc, WsThreadsSetManualPositionRpc, WsSearchThreadMessagesRpc, WsThreadPriorityEnsureCurrentRpc, WsWorktreesSetManualPositionRpc, WsProjectsInitializeGitRpc, WsVcsListRefsRpc, WsVcsCreateWorktreeRpc, WsVcsRemoveWorktreeRpc, WsVcsCreateRefRpc, WsVcsSwitchRefRpc, WsVcsInitRpc, WsTerminalOpenRpc, WsTerminalWriteRpc, WsTerminalResizeRpc, WsTerminalClearRpc, WsTerminalRestartRpc, WsTerminalCloseRpc, WsSubscribeTerminalEventsRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeAuthAccessRpc, WsAgentControlListProposalsRpc, WsAgentControlGetProposalRpc, WsAgentControlAcceptProposalRpc, WsAgentControlRejectProposalRpc, WsAgentControlSubscribeProposalsRpc, WsAgentControlListIntegrationsRpc, WsAgentControlCreateIntegrationRpc, WsAgentControlUpdateIntegrationRpc, WsAgentControlResumeIntegrationPairingRpc, WsAgentControlRevokeIntegrationRpc, WsAgentControlDeleteIntegrationRpc, WsAgentControlListMcpInstallationsRpc, WsAgentControlConnectMcpInstallationRpc, WsAgentControlRepairMcpInstallationRpc, WsAgentControlDisconnectMcpInstallationRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetWorkflowScriptRpc, WsOrchestrationGetTaskOutputRpc, WsOrchestrationStopBackgroundTaskRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationSearchThreadMessagesRpc, WsOrchestrationGetThreadWindowRpc, WsOrchestrationGetThreadHistoryPageRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationReplayEventsPageRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc, WsOrchestrationSubscribeThreadWindowRpc, WsContextHandoffGetInspectionSummaryRpc, WsContextHandoffListInspectionEntriesRpc, WsContextHandoffReadRawPayloadChunkRpc, WsContextHandoffReadExportChunkRpc);
|
|
12801
|
+
const WsRpcGroup = effect_unstable_rpc_RpcGroup.make(WsServerGetConfigRpc, WsServerGetAdvertisedEndpointsRpc, WsServerGetDiagnosticsMetricsRpc, WsServerGetStatisticsRpc, WsServerGetUsageSummaryRpc, WsServerSearchAcpRegistryRpc, WsServerInstallAcpRegistryRpc, WsServerGetAcpRegistryAuthMethodsRpc, WsServerAuthenticateAcpRegistryRpc, WsServerRefreshProvidersRpc, WsServerUpdateProviderRpc, WsServerUpsertKeybindingRpc, WsKeybindingsReplaceCustomRpc, WsServerGetSettingsRpc, WsServerUpdateSettingsRpc, WsServerGetDiagnosticsSnapshotRpc, WsServerSignalDiagnosticProcessRpc, WsServerGetResourceTelemetryHistoryRpc, WsServerRetryResourceTelemetryRpc, WsServerDiscoverSourceControlRpc, WsServerListOpinionatedPluginsRpc, WsServerCheckOpinionatedPluginsRpc, WsServerInstallOpinionatedPluginRpc, WsMcpListWorkspacesRpc, WsMcpListServersRpc, WsMcpUpsertServerRpc, WsMcpSetServerEnabledRpc, WsMcpRemoveServerRpc, WsMcpReloadServersRpc, WsMcpStartOauthLoginRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlSearchRepositoriesRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSourceControlListIssuesRpc, WsSourceControlGetIssueRpc, WsSourceControlSearchIssuesRpc, WsSourceControlListChangeRequestsRpc, WsSourceControlSearchChangeRequestsRpc, WsSourceControlGetChangeRequestDetailRpc, WsSourceControlGetChangeRequestFilesViewedRpc, WsSourceControlSetChangeRequestFileViewedRpc, WsSourceControlGetChangeRequestDiffRpc, WsSourceControlMergeChangeRequestRpc, WsSourceControlCreateIssueRpc, WsSourceControlAddIssueCommentRpc, WsSourceControlAddIssueCommentReactionRpc, WsSourceControlAddChangeRequestCommentRpc, WsSourceControlAddChangeRequestCommentReactionRpc, WsSourceControlListIssueLabelsRpc, WsSourceControlListIssueAssigneesRpc, WsSourceControlListWorkflowRunsRpc, WsSourceControlGetWorkflowRunJobsRpc, WsSourceControlGetWorkflowJobLogRpc, WsSourceControlRerunWorkflowRpc, WsTextGenerationAskSideQuestionRpc, WsTextGenerationCancelSideQuestionRpc, WsTextGenerationGenerateIssueContentRpc, WsTextGenerationGenerateBranchNameRpc, WsAtlassianListConnectionsRpc, WsAtlassianStartOAuthRpc, WsAtlassianDisconnectRpc, WsAtlassianRefreshRpc, WsAtlassianListResourcesRpc, WsAtlassianGetProjectLinkRpc, WsAtlassianSaveProjectLinkRpc, WsAtlassianSaveManualBitbucketTokenRpc, WsAtlassianSaveManualJiraTokenRpc, WsWorkItemsListProjectsRpc, WsWorkItemsListRpc, WsWorkItemsSearchRpc, WsWorkItemsGetRpc, WsWorkItemsAddCommentRpc, WsWorkItemsEditCommentRpc, WsWorkItemsUpdateRpc, WsWorkItemsListTransitionsRpc, WsWorkItemsTransitionRpc, WsProjectsListEntriesRpc, WsProjectsSearchEntriesRpc, WsProjectsReadFileRpc, WsProjectsReadIconRpc, WsProjectsReadFileBinaryRpc, WsProjectsWriteFileRpc, WsProjectsStageFileReferenceRpc, WsChatAttachmentsCreateFileUploadRpc, WsChatAttachmentsReadChunkRpc, WsShellOpenInEditorRpc, WsFilesystemBrowseRpc, WsSubscribeVcsStatusRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsGitRunStackedActionRpc, WsGitResolvePullRequestRpc, WsGitPreparePullRequestThreadRpc, WsGitCreateWorktreeForProjectRpc, WsGitFindWorktreeForOriginRpc, WsGitArchiveWorktreeRpc, WsGitRestoreWorktreeRpc, WsGitDeleteWorktreeRpc, WsThreadsSetManualBucketRpc, WsThreadsSetManualPositionRpc, WsSearchThreadMessagesRpc, WsThreadPriorityEnsureCurrentRpc, WsWorktreesSetManualPositionRpc, WsProjectsInitializeGitRpc, WsVcsListRefsRpc, WsVcsCreateWorktreeRpc, WsVcsRemoveWorktreeRpc, WsVcsCreateRefRpc, WsVcsSwitchRefRpc, WsVcsInitRpc, WsTerminalOpenRpc, WsTerminalWriteRpc, WsTerminalResizeRpc, WsTerminalClearRpc, WsTerminalRestartRpc, WsTerminalCloseRpc, WsSubscribeTerminalEventsRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeAuthAccessRpc, WsAgentControlListProposalsRpc, WsAgentControlGetProposalRpc, WsAgentControlAcceptProposalRpc, WsAgentControlRejectProposalRpc, WsAgentControlSubscribeProposalsRpc, WsAgentControlListIntegrationsRpc, WsAgentControlCreateIntegrationRpc, WsAgentControlUpdateIntegrationRpc, WsAgentControlResumeIntegrationPairingRpc, WsAgentControlRevokeIntegrationRpc, WsAgentControlDeleteIntegrationRpc, WsAgentControlListMcpInstallationsRpc, WsAgentControlConnectMcpInstallationRpc, WsAgentControlRepairMcpInstallationRpc, WsAgentControlDisconnectMcpInstallationRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetWorkflowScriptRpc, WsOrchestrationGetTaskOutputRpc, WsOrchestrationStopBackgroundTaskRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationSearchThreadMessagesRpc, WsOrchestrationGetThreadWindowRpc, WsOrchestrationGetThreadHistoryPageRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationReplayEventsPageRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc, WsOrchestrationSubscribeThreadWindowRpc, WsContextHandoffGetInspectionSummaryRpc, WsContextHandoffListInspectionEntriesRpc, WsContextHandoffReadRawPayloadChunkRpc, WsContextHandoffReadExportChunkRpc);
|
|
12503
12802
|
/**
|
|
12504
12803
|
* Hosted relay channels carry both groups through one lifecycle-owned encrypted
|
|
12505
12804
|
* channel. Direct clients keep the device group on its own low-priority socket
|
|
@@ -12635,83 +12934,40 @@ effect.Schema.Struct({
|
|
|
12635
12934
|
projectMatch: effect.Schema.Boolean
|
|
12636
12935
|
});
|
|
12637
12936
|
//#endregion
|
|
12638
|
-
//#region ../../packages/
|
|
12639
|
-
const
|
|
12640
|
-
|
|
12641
|
-
|
|
12642
|
-
|
|
12643
|
-
|
|
12644
|
-
|
|
12645
|
-
|
|
12646
|
-
|
|
12647
|
-
|
|
12648
|
-
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
12653
|
-
|
|
12654
|
-
|
|
12655
|
-
|
|
12656
|
-
|
|
12657
|
-
|
|
12658
|
-
|
|
12659
|
-
|
|
12660
|
-
|
|
12661
|
-
|
|
12662
|
-
|
|
12663
|
-
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
* Encoding produces strict JSON via `JSON.stringify`.
|
|
12673
|
-
*/
|
|
12674
|
-
const fromLenientJsonString = new effect.SchemaTransformation.Transformation(parseLenientJsonGetter, effect.SchemaGetter.stringifyJson());
|
|
12675
|
-
/**
|
|
12676
|
-
* Build a schema that decodes a lenient JSON string into `A`.
|
|
12677
|
-
*
|
|
12678
|
-
* Drop-in replacement for `Schema.fromJsonString(schema)` that tolerates
|
|
12679
|
-
* trailing commas and comments in the input.
|
|
12680
|
-
*/
|
|
12681
|
-
const fromLenientJson = (schema) => effect.Schema.String.pipe(effect.Schema.decodeTo(schema, fromLenientJsonString));
|
|
12682
|
-
//#endregion
|
|
12683
|
-
//#region src/stream/collectUint8StreamText.ts
|
|
12684
|
-
const collectUint8StreamText = (input) => {
|
|
12685
|
-
const decoder = new TextDecoder();
|
|
12686
|
-
const maxBytes = input.maxBytes ?? Number.POSITIVE_INFINITY;
|
|
12687
|
-
const truncatedMarker = input.truncatedMarker ?? "";
|
|
12688
|
-
return input.stream.pipe(effect.Stream.runFold(() => ({
|
|
12689
|
-
text: "",
|
|
12690
|
-
bytes: 0,
|
|
12691
|
-
truncated: false
|
|
12692
|
-
}), (state, chunk) => {
|
|
12693
|
-
if (state.truncated) return state;
|
|
12694
|
-
const remainingBytes = maxBytes - state.bytes;
|
|
12695
|
-
if (remainingBytes <= 0) return {
|
|
12696
|
-
...state,
|
|
12697
|
-
text: `${state.text}${truncatedMarker}`,
|
|
12698
|
-
truncated: true
|
|
12699
|
-
};
|
|
12700
|
-
const nextChunk = chunk.byteLength > remainingBytes ? chunk.slice(0, remainingBytes) : chunk;
|
|
12701
|
-
const text = `${state.text}${decoder.decode(nextChunk, { stream: true })}`;
|
|
12702
|
-
const bytes = state.bytes + nextChunk.byteLength;
|
|
12703
|
-
const truncated = chunk.byteLength > remainingBytes;
|
|
12704
|
-
return {
|
|
12705
|
-
text: truncated ? `${text}${truncatedMarker}` : text,
|
|
12706
|
-
bytes,
|
|
12707
|
-
truncated
|
|
12708
|
-
};
|
|
12709
|
-
}), effect.Effect.map((state) => ({
|
|
12710
|
-
text: state.truncated ? state.text : `${state.text}${decoder.decode()}`,
|
|
12711
|
-
bytes: state.bytes,
|
|
12712
|
-
truncated: state.truncated
|
|
12713
|
-
})));
|
|
12714
|
-
};
|
|
12937
|
+
//#region ../../packages/contracts/src/agentControlInspection.ts
|
|
12938
|
+
const AgentControlReadProjectInput = effect.Schema.Struct({ projectId: ProjectId });
|
|
12939
|
+
const AgentControlInspectThreadInput = effect.Schema.Struct({
|
|
12940
|
+
threadId: ThreadId,
|
|
12941
|
+
section: effect.Schema.Literals([
|
|
12942
|
+
"info",
|
|
12943
|
+
"agents",
|
|
12944
|
+
"activities",
|
|
12945
|
+
"plans",
|
|
12946
|
+
"review",
|
|
12947
|
+
"terminals"
|
|
12948
|
+
]),
|
|
12949
|
+
limit: effect.Schema.optional(PositiveInt.check(effect.Schema.isLessThanOrEqualTo(100))),
|
|
12950
|
+
cursor: effect.Schema.optional(OrchestrationThreadHistoryCursor)
|
|
12951
|
+
});
|
|
12952
|
+
const AgentControlWaitThreadsInput = effect.Schema.Struct({
|
|
12953
|
+
threadIds: effect.Schema.Array(ThreadId).check(effect.Schema.isMinLength(1), effect.Schema.isMaxLength(8)),
|
|
12954
|
+
timeoutMs: effect.Schema.optional(NonNegativeInt)
|
|
12955
|
+
});
|
|
12956
|
+
const AgentControlSearchThreadsInput = effect.Schema.Struct({
|
|
12957
|
+
query: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(1e3)),
|
|
12958
|
+
projectId: effect.Schema.optional(ProjectId),
|
|
12959
|
+
threadId: effect.Schema.optional(ThreadId),
|
|
12960
|
+
limit: effect.Schema.optional(PositiveInt.check(effect.Schema.isLessThanOrEqualTo(100)))
|
|
12961
|
+
});
|
|
12962
|
+
const AgentControlReadDiffInput = effect.Schema.Struct({
|
|
12963
|
+
threadId: ThreadId,
|
|
12964
|
+
toTurnCount: NonNegativeInt,
|
|
12965
|
+
ignoreWhitespace: effect.Schema.optionalKey(effect.Schema.Boolean)
|
|
12966
|
+
});
|
|
12967
|
+
const AgentControlReadThreadFileInput = effect.Schema.Struct({
|
|
12968
|
+
threadId: ThreadId,
|
|
12969
|
+
relativePath: TrimmedNonEmptyString.check(effect.Schema.isMaxLength(4096))
|
|
12970
|
+
});
|
|
12715
12971
|
//#endregion
|
|
12716
12972
|
Object.defineProperty(exports, "AGENT_CONTROL_ACTION_CAPABILITIES", {
|
|
12717
12973
|
enumerable: true,
|
|
@@ -12857,6 +13113,30 @@ Object.defineProperty(exports, "AGENT_CONTROL_WS_METHODS", {
|
|
|
12857
13113
|
return AGENT_CONTROL_WS_METHODS;
|
|
12858
13114
|
}
|
|
12859
13115
|
});
|
|
13116
|
+
Object.defineProperty(exports, "AcpRegistryAgentId", {
|
|
13117
|
+
enumerable: true,
|
|
13118
|
+
get: function() {
|
|
13119
|
+
return AcpRegistryAgentId;
|
|
13120
|
+
}
|
|
13121
|
+
});
|
|
13122
|
+
Object.defineProperty(exports, "AcpRegistryOperationError", {
|
|
13123
|
+
enumerable: true,
|
|
13124
|
+
get: function() {
|
|
13125
|
+
return AcpRegistryOperationError;
|
|
13126
|
+
}
|
|
13127
|
+
});
|
|
13128
|
+
Object.defineProperty(exports, "AcpRegistrySettings", {
|
|
13129
|
+
enumerable: true,
|
|
13130
|
+
get: function() {
|
|
13131
|
+
return AcpRegistrySettings;
|
|
13132
|
+
}
|
|
13133
|
+
});
|
|
13134
|
+
Object.defineProperty(exports, "AcpRegistryVersion", {
|
|
13135
|
+
enumerable: true,
|
|
13136
|
+
get: function() {
|
|
13137
|
+
return AcpRegistryVersion;
|
|
13138
|
+
}
|
|
13139
|
+
});
|
|
12860
13140
|
Object.defineProperty(exports, "AgentControlActionKind", {
|
|
12861
13141
|
enumerable: true,
|
|
12862
13142
|
get: function() {
|
|
@@ -12959,6 +13239,12 @@ Object.defineProperty(exports, "AgentControlExternalWaitForTaskInput", {
|
|
|
12959
13239
|
return AgentControlExternalWaitForTaskInput;
|
|
12960
13240
|
}
|
|
12961
13241
|
});
|
|
13242
|
+
Object.defineProperty(exports, "AgentControlInspectThreadInput", {
|
|
13243
|
+
enumerable: true,
|
|
13244
|
+
get: function() {
|
|
13245
|
+
return AgentControlInspectThreadInput;
|
|
13246
|
+
}
|
|
13247
|
+
});
|
|
12962
13248
|
Object.defineProperty(exports, "AgentControlIntegrationId", {
|
|
12963
13249
|
enumerable: true,
|
|
12964
13250
|
get: function() {
|
|
@@ -13337,6 +13623,24 @@ Object.defineProperty(exports, "AgentControlProposalStatus", {
|
|
|
13337
13623
|
return AgentControlProposalStatus;
|
|
13338
13624
|
}
|
|
13339
13625
|
});
|
|
13626
|
+
Object.defineProperty(exports, "AgentControlReadDiffInput", {
|
|
13627
|
+
enumerable: true,
|
|
13628
|
+
get: function() {
|
|
13629
|
+
return AgentControlReadDiffInput;
|
|
13630
|
+
}
|
|
13631
|
+
});
|
|
13632
|
+
Object.defineProperty(exports, "AgentControlReadProjectInput", {
|
|
13633
|
+
enumerable: true,
|
|
13634
|
+
get: function() {
|
|
13635
|
+
return AgentControlReadProjectInput;
|
|
13636
|
+
}
|
|
13637
|
+
});
|
|
13638
|
+
Object.defineProperty(exports, "AgentControlReadThreadFileInput", {
|
|
13639
|
+
enumerable: true,
|
|
13640
|
+
get: function() {
|
|
13641
|
+
return AgentControlReadThreadFileInput;
|
|
13642
|
+
}
|
|
13643
|
+
});
|
|
13340
13644
|
Object.defineProperty(exports, "AgentControlRequestId", {
|
|
13341
13645
|
enumerable: true,
|
|
13342
13646
|
get: function() {
|
|
@@ -13361,6 +13665,18 @@ Object.defineProperty(exports, "AgentControlRpcError", {
|
|
|
13361
13665
|
return AgentControlRpcError;
|
|
13362
13666
|
}
|
|
13363
13667
|
});
|
|
13668
|
+
Object.defineProperty(exports, "AgentControlSearchThreadsInput", {
|
|
13669
|
+
enumerable: true,
|
|
13670
|
+
get: function() {
|
|
13671
|
+
return AgentControlSearchThreadsInput;
|
|
13672
|
+
}
|
|
13673
|
+
});
|
|
13674
|
+
Object.defineProperty(exports, "AgentControlWaitThreadsInput", {
|
|
13675
|
+
enumerable: true,
|
|
13676
|
+
get: function() {
|
|
13677
|
+
return AgentControlWaitThreadsInput;
|
|
13678
|
+
}
|
|
13679
|
+
});
|
|
13364
13680
|
Object.defineProperty(exports, "AgentTokenMode", {
|
|
13365
13681
|
enumerable: true,
|
|
13366
13682
|
get: function() {
|
|
@@ -13667,6 +13983,12 @@ Object.defineProperty(exports, "DEFAULT_TERMINAL_ID", {
|
|
|
13667
13983
|
return DEFAULT_TERMINAL_ID;
|
|
13668
13984
|
}
|
|
13669
13985
|
});
|
|
13986
|
+
Object.defineProperty(exports, "DEFAULT_WORKTREE_BRANCH_PREFIX", {
|
|
13987
|
+
enumerable: true,
|
|
13988
|
+
get: function() {
|
|
13989
|
+
return DEFAULT_WORKTREE_BRANCH_PREFIX;
|
|
13990
|
+
}
|
|
13991
|
+
});
|
|
13670
13992
|
Object.defineProperty(exports, "DESKTOP_NATIVE_NODE_CLAIM_COMMIT_PATH", {
|
|
13671
13993
|
enumerable: true,
|
|
13672
13994
|
get: function() {
|
|
@@ -13727,12 +14049,114 @@ Object.defineProperty(exports, "DesktopNativeNodeClaimSignRequest", {
|
|
|
13727
14049
|
return DesktopNativeNodeClaimSignRequest;
|
|
13728
14050
|
}
|
|
13729
14051
|
});
|
|
14052
|
+
Object.defineProperty(exports, "DeviceAvailability", {
|
|
14053
|
+
enumerable: true,
|
|
14054
|
+
get: function() {
|
|
14055
|
+
return DeviceAvailability;
|
|
14056
|
+
}
|
|
14057
|
+
});
|
|
14058
|
+
Object.defineProperty(exports, "DeviceBundleId", {
|
|
14059
|
+
enumerable: true,
|
|
14060
|
+
get: function() {
|
|
14061
|
+
return DeviceBundleId;
|
|
14062
|
+
}
|
|
14063
|
+
});
|
|
14064
|
+
Object.defineProperty(exports, "DeviceDescribeUiResult", {
|
|
14065
|
+
enumerable: true,
|
|
14066
|
+
get: function() {
|
|
14067
|
+
return DeviceDescribeUiResult;
|
|
14068
|
+
}
|
|
14069
|
+
});
|
|
14070
|
+
Object.defineProperty(exports, "DeviceDescriptor", {
|
|
14071
|
+
enumerable: true,
|
|
14072
|
+
get: function() {
|
|
14073
|
+
return DeviceDescriptor;
|
|
14074
|
+
}
|
|
14075
|
+
});
|
|
14076
|
+
Object.defineProperty(exports, "DeviceHardwareButton", {
|
|
14077
|
+
enumerable: true,
|
|
14078
|
+
get: function() {
|
|
14079
|
+
return DeviceHardwareButton;
|
|
14080
|
+
}
|
|
14081
|
+
});
|
|
14082
|
+
Object.defineProperty(exports, "DeviceInstallAppInput", {
|
|
14083
|
+
enumerable: true,
|
|
14084
|
+
get: function() {
|
|
14085
|
+
return DeviceInstallAppInput;
|
|
14086
|
+
}
|
|
14087
|
+
});
|
|
14088
|
+
Object.defineProperty(exports, "DeviceInstallAppResult", {
|
|
14089
|
+
enumerable: true,
|
|
14090
|
+
get: function() {
|
|
14091
|
+
return DeviceInstallAppResult;
|
|
14092
|
+
}
|
|
14093
|
+
});
|
|
14094
|
+
Object.defineProperty(exports, "DeviceKeyEventInput", {
|
|
14095
|
+
enumerable: true,
|
|
14096
|
+
get: function() {
|
|
14097
|
+
return DeviceKeyEventInput;
|
|
14098
|
+
}
|
|
14099
|
+
});
|
|
14100
|
+
Object.defineProperty(exports, "DeviceLaunchAppInput", {
|
|
14101
|
+
enumerable: true,
|
|
14102
|
+
get: function() {
|
|
14103
|
+
return DeviceLaunchAppInput;
|
|
14104
|
+
}
|
|
14105
|
+
});
|
|
14106
|
+
Object.defineProperty(exports, "DeviceLaunchAppResult", {
|
|
14107
|
+
enumerable: true,
|
|
14108
|
+
get: function() {
|
|
14109
|
+
return DeviceLaunchAppResult;
|
|
14110
|
+
}
|
|
14111
|
+
});
|
|
14112
|
+
Object.defineProperty(exports, "DeviceOpenUrlInput", {
|
|
14113
|
+
enumerable: true,
|
|
14114
|
+
get: function() {
|
|
14115
|
+
return DeviceOpenUrlInput;
|
|
14116
|
+
}
|
|
14117
|
+
});
|
|
13730
14118
|
Object.defineProperty(exports, "DeviceRpcError", {
|
|
13731
14119
|
enumerable: true,
|
|
13732
14120
|
get: function() {
|
|
13733
14121
|
return DeviceRpcError;
|
|
13734
14122
|
}
|
|
13735
14123
|
});
|
|
14124
|
+
Object.defineProperty(exports, "DeviceScreenshotResult", {
|
|
14125
|
+
enumerable: true,
|
|
14126
|
+
get: function() {
|
|
14127
|
+
return DeviceScreenshotResult;
|
|
14128
|
+
}
|
|
14129
|
+
});
|
|
14130
|
+
Object.defineProperty(exports, "DeviceStartRecordingResult", {
|
|
14131
|
+
enumerable: true,
|
|
14132
|
+
get: function() {
|
|
14133
|
+
return DeviceStartRecordingResult;
|
|
14134
|
+
}
|
|
14135
|
+
});
|
|
14136
|
+
Object.defineProperty(exports, "DeviceStopRecordingResult", {
|
|
14137
|
+
enumerable: true,
|
|
14138
|
+
get: function() {
|
|
14139
|
+
return DeviceStopRecordingResult;
|
|
14140
|
+
}
|
|
14141
|
+
});
|
|
14142
|
+
Object.defineProperty(exports, "DeviceSwipeInput", {
|
|
14143
|
+
enumerable: true,
|
|
14144
|
+
get: function() {
|
|
14145
|
+
return DeviceSwipeInput;
|
|
14146
|
+
}
|
|
14147
|
+
});
|
|
14148
|
+
Object.defineProperty(exports, "DeviceTestingInput", {
|
|
14149
|
+
enumerable: true,
|
|
14150
|
+
get: function() {
|
|
14151
|
+
return DeviceTestingInput;
|
|
14152
|
+
}
|
|
14153
|
+
});
|
|
14154
|
+
Object.defineProperty(exports, "DeviceTypeTextInput", {
|
|
14155
|
+
enumerable: true,
|
|
14156
|
+
get: function() {
|
|
14157
|
+
return DeviceTypeTextInput;
|
|
14158
|
+
}
|
|
14159
|
+
});
|
|
13736
14160
|
Object.defineProperty(exports, "DeviceUdid", {
|
|
13737
14161
|
enumerable: true,
|
|
13738
14162
|
get: function() {
|
|
@@ -14201,6 +14625,12 @@ Object.defineProperty(exports, "OrchestrationThread", {
|
|
|
14201
14625
|
return OrchestrationThread;
|
|
14202
14626
|
}
|
|
14203
14627
|
});
|
|
14628
|
+
Object.defineProperty(exports, "OrchestrationThreadActivity", {
|
|
14629
|
+
enumerable: true,
|
|
14630
|
+
get: function() {
|
|
14631
|
+
return OrchestrationThreadActivity;
|
|
14632
|
+
}
|
|
14633
|
+
});
|
|
14204
14634
|
Object.defineProperty(exports, "OrchestrationThreadActivityTone", {
|
|
14205
14635
|
enumerable: true,
|
|
14206
14636
|
get: function() {
|
|
@@ -15047,36 +15477,12 @@ Object.defineProperty(exports, "WsRpcGroup", {
|
|
|
15047
15477
|
return WsRpcGroup;
|
|
15048
15478
|
}
|
|
15049
15479
|
});
|
|
15050
|
-
Object.defineProperty(exports, "collectUint8StreamText", {
|
|
15051
|
-
enumerable: true,
|
|
15052
|
-
get: function() {
|
|
15053
|
-
return collectUint8StreamText;
|
|
15054
|
-
}
|
|
15055
|
-
});
|
|
15056
|
-
Object.defineProperty(exports, "decodeJsonResult", {
|
|
15057
|
-
enumerable: true,
|
|
15058
|
-
get: function() {
|
|
15059
|
-
return decodeJsonResult;
|
|
15060
|
-
}
|
|
15061
|
-
});
|
|
15062
15480
|
Object.defineProperty(exports, "defaultInstanceIdForDriver", {
|
|
15063
15481
|
enumerable: true,
|
|
15064
15482
|
get: function() {
|
|
15065
15483
|
return defaultInstanceIdForDriver;
|
|
15066
15484
|
}
|
|
15067
15485
|
});
|
|
15068
|
-
Object.defineProperty(exports, "formatSchemaError", {
|
|
15069
|
-
enumerable: true,
|
|
15070
|
-
get: function() {
|
|
15071
|
-
return formatSchemaError;
|
|
15072
|
-
}
|
|
15073
|
-
});
|
|
15074
|
-
Object.defineProperty(exports, "fromLenientJson", {
|
|
15075
|
-
enumerable: true,
|
|
15076
|
-
get: function() {
|
|
15077
|
-
return fromLenientJson;
|
|
15078
|
-
}
|
|
15079
|
-
});
|
|
15080
15486
|
Object.defineProperty(exports, "isProviderDriverKind", {
|
|
15081
15487
|
enumerable: true,
|
|
15082
15488
|
get: function() {
|