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
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require("./rolldown-runtime-LGfotAqq.cjs");
|
|
4
|
+
const require_src = require("./src-BlzIcnVG.cjs");
|
|
5
|
+
const require_sourceControl = require("./sourceControl-B0D1Op29.cjs");
|
|
6
|
+
let effect_Effect = require("effect/Effect");
|
|
7
|
+
effect_Effect = require_rolldown_runtime.__toESM(effect_Effect, 1);
|
|
8
|
+
let effect_Random = require("effect/Random");
|
|
9
|
+
effect_Random = require_rolldown_runtime.__toESM(effect_Random, 1);
|
|
10
|
+
//#region ../../packages/shared/src/git.ts
|
|
11
|
+
const WORKTREE_BRANCH_PREFIX = require_src.DEFAULT_WORKTREE_BRANCH_PREFIX;
|
|
12
|
+
const LEGACY_WORKTREE_BRANCH_PREFIX = "ryco";
|
|
13
|
+
/**
|
|
14
|
+
* Sanitize an arbitrary string into a valid, lowercase git refName fragment.
|
|
15
|
+
* Strips quotes, collapses separators, limits to 64 chars.
|
|
16
|
+
*/
|
|
17
|
+
function sanitizeBranchFragment(raw) {
|
|
18
|
+
const branchFragment = raw.trim().toLowerCase().replace(/['"`]/g, "").replace(/^[./\s_-]+|[./\s_-]+$/g, "").replace(/[^a-z0-9/_-]+/g, "-").replace(/\/+/g, "/").replace(/-+/g, "-").replace(/^[./_-]+|[./_-]+$/g, "").slice(0, 64).replace(/[./_-]+$/g, "");
|
|
19
|
+
return branchFragment.length > 0 ? branchFragment : "update";
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Sanitize a string into a `feature/…` refName name.
|
|
23
|
+
* Preserves an existing `feature/` prefix or slash-separated namespace.
|
|
24
|
+
*/
|
|
25
|
+
function sanitizeFeatureBranchName(raw) {
|
|
26
|
+
const sanitized = sanitizeBranchFragment(raw);
|
|
27
|
+
if (sanitized.includes("/")) return sanitized.startsWith("feature/") ? sanitized : `feature/${sanitized}`;
|
|
28
|
+
return `feature/${sanitized}`;
|
|
29
|
+
}
|
|
30
|
+
const AUTO_FEATURE_BRANCH_FALLBACK = "feature/update";
|
|
31
|
+
/**
|
|
32
|
+
* Resolve a unique `feature/…` refName name that doesn't collide with
|
|
33
|
+
* any existing refName. Appends a numeric suffix when needed.
|
|
34
|
+
*/
|
|
35
|
+
function resolveAutoFeatureBranchName(existingBranchNames, preferredBranch) {
|
|
36
|
+
const preferred = preferredBranch?.trim();
|
|
37
|
+
const resolvedBase = sanitizeFeatureBranchName(preferred && preferred.length > 0 ? preferred : AUTO_FEATURE_BRANCH_FALLBACK);
|
|
38
|
+
const existingNames = new Set(existingBranchNames.map((refName) => refName.toLowerCase()));
|
|
39
|
+
if (!existingNames.has(resolvedBase)) return resolvedBase;
|
|
40
|
+
let suffix = 2;
|
|
41
|
+
while (existingNames.has(`${resolvedBase}-${suffix}`)) suffix += 1;
|
|
42
|
+
return `${resolvedBase}-${suffix}`;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Strip the remote prefix from a remote ref such as `origin/feature/demo`.
|
|
46
|
+
*/
|
|
47
|
+
function deriveLocalBranchNameFromRemoteRef(branchName) {
|
|
48
|
+
const firstSeparatorIndex = branchName.indexOf("/");
|
|
49
|
+
if (firstSeparatorIndex <= 0 || firstSeparatorIndex === branchName.length - 1) return branchName;
|
|
50
|
+
return branchName.slice(firstSeparatorIndex + 1);
|
|
51
|
+
}
|
|
52
|
+
/** Prefixes are validated by WorktreeBranchPrefix at the server settings boundary. */
|
|
53
|
+
function prefixWorktreeBranch(fragment, prefix) {
|
|
54
|
+
return prefix.length > 0 ? `${prefix}/${fragment}` : fragment;
|
|
55
|
+
}
|
|
56
|
+
function buildTemporaryWorktreeBranchName(prefix = WORKTREE_BRANCH_PREFIX) {
|
|
57
|
+
return prefixWorktreeBranch(effect_Effect.runSync(effect_Random.nextIntBetween(0, 4294967295)).toString(16).padStart(8, "0"), prefix);
|
|
58
|
+
}
|
|
59
|
+
/** Returns the original namespace, retaining legacy drafts after a settings change. */
|
|
60
|
+
function extractTemporaryWorktreeBranchPrefix(refName, prefix = WORKTREE_BRANCH_PREFIX) {
|
|
61
|
+
const ref = refName.trim();
|
|
62
|
+
for (const candidate of [prefix, LEGACY_WORKTREE_BRANCH_PREFIX]) {
|
|
63
|
+
const namespace = candidate.length > 0 ? `${candidate}/` : "";
|
|
64
|
+
if (ref.toLowerCase().startsWith(namespace.toLowerCase()) && /^[0-9a-f]{8}$/i.test(ref.slice(namespace.length))) return ref.slice(0, candidate.length);
|
|
65
|
+
}
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
function isTemporaryWorktreeBranch(refName, prefix = WORKTREE_BRANCH_PREFIX) {
|
|
69
|
+
return extractTemporaryWorktreeBranchPrefix(refName, prefix) !== null;
|
|
70
|
+
}
|
|
71
|
+
/** An empty namespace cannot establish ownership of arbitrary named branches. */
|
|
72
|
+
function isManagedWorktreeBranch(refName, prefix = WORKTREE_BRANCH_PREFIX) {
|
|
73
|
+
const ref = refName.trim();
|
|
74
|
+
return [prefix, LEGACY_WORKTREE_BRANCH_PREFIX].some((candidate) => candidate.length > 0 && ref.startsWith(`${candidate}/`) && ref.length > candidate.length + 1) || isTemporaryWorktreeBranch(ref, prefix);
|
|
75
|
+
}
|
|
76
|
+
function buildGeneratedWorktreeBranchName(raw, prefix = WORKTREE_BRANCH_PREFIX) {
|
|
77
|
+
const normalized = raw.trim().replace(/^refs\/heads\//i, "").replace(/['"`]/g, "");
|
|
78
|
+
const existingPrefix = [prefix, LEGACY_WORKTREE_BRANCH_PREFIX].find((candidate) => candidate.length > 0 && normalized.toLowerCase().startsWith(`${candidate.toLowerCase()}/`));
|
|
79
|
+
return prefixWorktreeBranch(sanitizeBranchFragment(existingPrefix === void 0 ? normalized : normalized.slice(existingPrefix.length + 1)), prefix);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Normalize a git remote URL into a stable comparison key.
|
|
83
|
+
*/
|
|
84
|
+
function normalizeGitRemoteUrl(value) {
|
|
85
|
+
const normalized = value.trim().replace(/\/+$/g, "").replace(/\.git$/i, "").toLowerCase();
|
|
86
|
+
if (/^(?:ssh|https?|git):\/\//i.test(normalized)) try {
|
|
87
|
+
const url = new URL(normalized);
|
|
88
|
+
const repositoryPath = url.pathname.split("/").filter((segment) => segment.length > 0).join("/");
|
|
89
|
+
if (url.hostname && repositoryPath.includes("/")) return `${url.hostname}/${repositoryPath}`;
|
|
90
|
+
} catch {
|
|
91
|
+
return normalized;
|
|
92
|
+
}
|
|
93
|
+
const scpStyleHostAndPath = /^git@([^:/\s]+)[:/]([^/\s]+(?:\/[^/\s]+)+)$/i.exec(normalized);
|
|
94
|
+
if (scpStyleHostAndPath?.[1] && scpStyleHostAndPath[2]) return `${scpStyleHostAndPath[1]}/${scpStyleHostAndPath[2]}`;
|
|
95
|
+
return normalized;
|
|
96
|
+
}
|
|
97
|
+
function deriveLocalBranchNameCandidatesFromRemoteRef(branchName, remoteName) {
|
|
98
|
+
const candidates = /* @__PURE__ */ new Set();
|
|
99
|
+
const firstSlashCandidate = deriveLocalBranchNameFromRemoteRef(branchName);
|
|
100
|
+
if (firstSlashCandidate.length > 0) candidates.add(firstSlashCandidate);
|
|
101
|
+
if (remoteName) {
|
|
102
|
+
const remotePrefix = `${remoteName}/`;
|
|
103
|
+
if (branchName.startsWith(remotePrefix) && branchName.length > remotePrefix.length) candidates.add(branchName.slice(remotePrefix.length));
|
|
104
|
+
}
|
|
105
|
+
return [...candidates];
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Hide `origin/*` remote refs when a matching local refName already exists.
|
|
109
|
+
*/
|
|
110
|
+
function dedupeRemoteBranchesWithLocalMatches(refs) {
|
|
111
|
+
const localBranchNames = new Set(refs.filter((refName) => !refName.isRemote).map((refName) => refName.name));
|
|
112
|
+
return refs.filter((refName) => {
|
|
113
|
+
if (!refName.isRemote) return true;
|
|
114
|
+
if (refName.remoteName !== "origin") return true;
|
|
115
|
+
return !deriveLocalBranchNameCandidatesFromRemoteRef(refName.name, refName.remoteName).some((candidate) => localBranchNames.has(candidate));
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
function detectSourceControlProviderFromGitRemoteUrl(remoteUrl) {
|
|
119
|
+
return require_sourceControl.detectSourceControlProviderFromRemoteUrl(remoteUrl);
|
|
120
|
+
}
|
|
121
|
+
const EMPTY_GIT_STATUS_REMOTE = {
|
|
122
|
+
hasUpstream: false,
|
|
123
|
+
aheadCount: 0,
|
|
124
|
+
behindCount: 0,
|
|
125
|
+
aheadOfDefaultCount: 0,
|
|
126
|
+
pr: null
|
|
127
|
+
};
|
|
128
|
+
function mergeGitStatusParts(local, remote) {
|
|
129
|
+
return {
|
|
130
|
+
...local,
|
|
131
|
+
...remote ?? EMPTY_GIT_STATUS_REMOTE
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
//#endregion
|
|
135
|
+
Object.defineProperty(exports, "WORKTREE_BRANCH_PREFIX", {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
get: function() {
|
|
138
|
+
return WORKTREE_BRANCH_PREFIX;
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "buildGeneratedWorktreeBranchName", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function() {
|
|
144
|
+
return buildGeneratedWorktreeBranchName;
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(exports, "buildTemporaryWorktreeBranchName", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function() {
|
|
150
|
+
return buildTemporaryWorktreeBranchName;
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(exports, "dedupeRemoteBranchesWithLocalMatches", {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function() {
|
|
156
|
+
return dedupeRemoteBranchesWithLocalMatches;
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(exports, "detectSourceControlProviderFromGitRemoteUrl", {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function() {
|
|
162
|
+
return detectSourceControlProviderFromGitRemoteUrl;
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "extractTemporaryWorktreeBranchPrefix", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function() {
|
|
168
|
+
return extractTemporaryWorktreeBranchPrefix;
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, "isManagedWorktreeBranch", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function() {
|
|
174
|
+
return isManagedWorktreeBranch;
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, "isTemporaryWorktreeBranch", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function() {
|
|
180
|
+
return isTemporaryWorktreeBranch;
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
Object.defineProperty(exports, "mergeGitStatusParts", {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
get: function() {
|
|
186
|
+
return mergeGitStatusParts;
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(exports, "normalizeGitRemoteUrl", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function() {
|
|
192
|
+
return normalizeGitRemoteUrl;
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
Object.defineProperty(exports, "prefixWorktreeBranch", {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
get: function() {
|
|
198
|
+
return prefixWorktreeBranch;
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(exports, "resolveAutoFeatureBranchName", {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: function() {
|
|
204
|
+
return resolveAutoFeatureBranchName;
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
Object.defineProperty(exports, "sanitizeBranchFragment", {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function() {
|
|
210
|
+
return sanitizeBranchFragment;
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(exports, "sanitizeFeatureBranchName", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function() {
|
|
216
|
+
return sanitizeFeatureBranchName;
|
|
217
|
+
}
|
|
218
|
+
});
|
package/dist/{makeManagedServerProvider-CwYhl_P-.mjs → makeManagedServerProvider-BINne1KE.mjs}
RENAMED
|
@@ -1,44 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import "./
|
|
4
|
-
import { r as ignoreProviderBackgroundCause
|
|
3
|
+
import "./src-DtEOcXdl.mjs";
|
|
4
|
+
import { r as ignoreProviderBackgroundCause } from "./bin.mjs";
|
|
5
5
|
import { Clock, Deferred, Duration, Effect, Equal, Fiber, PubSub, Ref, Stream, SynchronizedRef } from "effect";
|
|
6
6
|
import * as Semaphore$1 from "effect/Semaphore";
|
|
7
|
-
//#region ../../packages/shared/src/attachmentPrompt.ts
|
|
8
|
-
function formatAttachmentPathLine(entry) {
|
|
9
|
-
const attachment = entry.attachment;
|
|
10
|
-
const name = attachment.name ?? "attachment";
|
|
11
|
-
const mimeType = attachment.mimeType ?? "unknown";
|
|
12
|
-
const sizeText = attachment.sizeBytes === void 0 ? "size unknown" : `${attachment.sizeBytes}`;
|
|
13
|
-
if (attachment.id === void 0 || entry.resolvedPath === void 0) return `[Attached file] ${name} (${mimeType}, ${sizeText} bytes)`;
|
|
14
|
-
return `[Attached file] ${name} (${mimeType}, ${sizeText} bytes) saved at: ${entry.resolvedPath}`;
|
|
15
|
-
}
|
|
16
|
-
function formatAttachmentPathLines(entries) {
|
|
17
|
-
return entries.map(formatAttachmentPathLine);
|
|
18
|
-
}
|
|
19
|
-
function appendAttachmentPathLines(text, pathLines) {
|
|
20
|
-
if (pathLines.length === 0) return text;
|
|
21
|
-
const lines = pathLines.join("\n");
|
|
22
|
-
if (text === void 0 || text.trim().length === 0) return lines;
|
|
23
|
-
return `${text}\n\n${lines}`;
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region src/provider/runtimeSession.ts
|
|
27
|
-
function requireRuntimeSessionId(provider, input) {
|
|
28
|
-
return input.runtimeSessionId !== void 0 ? Effect.succeed(input.runtimeSessionId) : Effect.fail(new ProviderAdapterValidationError({
|
|
29
|
-
provider,
|
|
30
|
-
operation: "startSession",
|
|
31
|
-
issue: "runtimeSessionId is required for new provider sessions."
|
|
32
|
-
}));
|
|
33
|
-
}
|
|
34
|
-
function stampRuntimeEvent(event, input) {
|
|
35
|
-
return {
|
|
36
|
-
...event,
|
|
37
|
-
providerInstanceId: input.providerInstanceId,
|
|
38
|
-
runtimeSessionId: input.runtimeSessionId
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
//#endregion
|
|
42
7
|
//#region src/provider/makeManagedServerProvider.ts
|
|
43
8
|
const DEFAULT_SNAPSHOT_FRESHNESS = Duration.minutes(5);
|
|
44
9
|
const isProviderSnapshotFresh = (input) => input.lastRefreshAttemptAtMs !== null && input.nowMs - input.lastRefreshAttemptAtMs < input.freshnessMs;
|
|
@@ -151,4 +116,4 @@ const makeManagedServerProvider = Effect.fn("makeManagedServerProvider")(functio
|
|
|
151
116
|
};
|
|
152
117
|
});
|
|
153
118
|
//#endregion
|
|
154
|
-
export {
|
|
119
|
+
export { makeManagedServerProvider as t };
|
package/dist/{makeManagedServerProvider-Dy2Ny9tk.cjs → makeManagedServerProvider-DGbd8BhM.cjs}
RENAMED
|
@@ -1,46 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const require_rolldown_runtime = require("./rolldown-runtime-LGfotAqq.cjs");
|
|
4
|
-
require("./
|
|
4
|
+
require("./src-BlzIcnVG.cjs");
|
|
5
5
|
const require_bin = require("./bin.cjs");
|
|
6
6
|
let effect = require("effect");
|
|
7
7
|
let effect_Semaphore = require("effect/Semaphore");
|
|
8
8
|
effect_Semaphore = require_rolldown_runtime.__toESM(effect_Semaphore, 1);
|
|
9
|
-
//#region ../../packages/shared/src/attachmentPrompt.ts
|
|
10
|
-
function formatAttachmentPathLine(entry) {
|
|
11
|
-
const attachment = entry.attachment;
|
|
12
|
-
const name = attachment.name ?? "attachment";
|
|
13
|
-
const mimeType = attachment.mimeType ?? "unknown";
|
|
14
|
-
const sizeText = attachment.sizeBytes === void 0 ? "size unknown" : `${attachment.sizeBytes}`;
|
|
15
|
-
if (attachment.id === void 0 || entry.resolvedPath === void 0) return `[Attached file] ${name} (${mimeType}, ${sizeText} bytes)`;
|
|
16
|
-
return `[Attached file] ${name} (${mimeType}, ${sizeText} bytes) saved at: ${entry.resolvedPath}`;
|
|
17
|
-
}
|
|
18
|
-
function formatAttachmentPathLines(entries) {
|
|
19
|
-
return entries.map(formatAttachmentPathLine);
|
|
20
|
-
}
|
|
21
|
-
function appendAttachmentPathLines(text, pathLines) {
|
|
22
|
-
if (pathLines.length === 0) return text;
|
|
23
|
-
const lines = pathLines.join("\n");
|
|
24
|
-
if (text === void 0 || text.trim().length === 0) return lines;
|
|
25
|
-
return `${text}\n\n${lines}`;
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/provider/runtimeSession.ts
|
|
29
|
-
function requireRuntimeSessionId(provider, input) {
|
|
30
|
-
return input.runtimeSessionId !== void 0 ? effect.Effect.succeed(input.runtimeSessionId) : effect.Effect.fail(new require_bin.ProviderAdapterValidationError({
|
|
31
|
-
provider,
|
|
32
|
-
operation: "startSession",
|
|
33
|
-
issue: "runtimeSessionId is required for new provider sessions."
|
|
34
|
-
}));
|
|
35
|
-
}
|
|
36
|
-
function stampRuntimeEvent(event, input) {
|
|
37
|
-
return {
|
|
38
|
-
...event,
|
|
39
|
-
providerInstanceId: input.providerInstanceId,
|
|
40
|
-
runtimeSessionId: input.runtimeSessionId
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
//#endregion
|
|
44
9
|
//#region src/provider/makeManagedServerProvider.ts
|
|
45
10
|
const DEFAULT_SNAPSHOT_FRESHNESS = effect.Duration.minutes(5);
|
|
46
11
|
const isProviderSnapshotFresh = (input) => input.lastRefreshAttemptAtMs !== null && input.nowMs - input.lastRefreshAttemptAtMs < input.freshnessMs;
|
|
@@ -153,33 +118,9 @@ const makeManagedServerProvider = effect.Effect.fn("makeManagedServerProvider")(
|
|
|
153
118
|
};
|
|
154
119
|
});
|
|
155
120
|
//#endregion
|
|
156
|
-
Object.defineProperty(exports, "appendAttachmentPathLines", {
|
|
157
|
-
enumerable: true,
|
|
158
|
-
get: function() {
|
|
159
|
-
return appendAttachmentPathLines;
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
Object.defineProperty(exports, "formatAttachmentPathLines", {
|
|
163
|
-
enumerable: true,
|
|
164
|
-
get: function() {
|
|
165
|
-
return formatAttachmentPathLines;
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
121
|
Object.defineProperty(exports, "makeManagedServerProvider", {
|
|
169
122
|
enumerable: true,
|
|
170
123
|
get: function() {
|
|
171
124
|
return makeManagedServerProvider;
|
|
172
125
|
}
|
|
173
126
|
});
|
|
174
|
-
Object.defineProperty(exports, "requireRuntimeSessionId", {
|
|
175
|
-
enumerable: true,
|
|
176
|
-
get: function() {
|
|
177
|
-
return requireRuntimeSessionId;
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
Object.defineProperty(exports, "stampRuntimeEvent", {
|
|
181
|
-
enumerable: true,
|
|
182
|
-
get: function() {
|
|
183
|
-
return stampRuntimeEvent;
|
|
184
|
-
}
|
|
185
|
-
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const require_bin = require("./bin.cjs");
|
|
4
|
+
let effect = require("effect");
|
|
5
|
+
//#region ../../packages/shared/src/attachmentPrompt.ts
|
|
6
|
+
function formatAttachmentPathLine(entry) {
|
|
7
|
+
const attachment = entry.attachment;
|
|
8
|
+
const name = attachment.name ?? "attachment";
|
|
9
|
+
const mimeType = attachment.mimeType ?? "unknown";
|
|
10
|
+
const sizeText = attachment.sizeBytes === void 0 ? "size unknown" : `${attachment.sizeBytes}`;
|
|
11
|
+
if (attachment.id === void 0 || entry.resolvedPath === void 0) return `[Attached file] ${name} (${mimeType}, ${sizeText} bytes)`;
|
|
12
|
+
return `[Attached file] ${name} (${mimeType}, ${sizeText} bytes) saved at: ${entry.resolvedPath}`;
|
|
13
|
+
}
|
|
14
|
+
function formatAttachmentPathLines(entries) {
|
|
15
|
+
return entries.map(formatAttachmentPathLine);
|
|
16
|
+
}
|
|
17
|
+
function appendAttachmentPathLines(text, pathLines) {
|
|
18
|
+
if (pathLines.length === 0) return text;
|
|
19
|
+
const lines = pathLines.join("\n");
|
|
20
|
+
if (text === void 0 || text.trim().length === 0) return lines;
|
|
21
|
+
return `${text}\n\n${lines}`;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/provider/runtimeSession.ts
|
|
25
|
+
function requireRuntimeSessionId(provider, input) {
|
|
26
|
+
return input.runtimeSessionId !== void 0 ? effect.Effect.succeed(input.runtimeSessionId) : effect.Effect.fail(new require_bin.ProviderAdapterValidationError({
|
|
27
|
+
provider,
|
|
28
|
+
operation: "startSession",
|
|
29
|
+
issue: "runtimeSessionId is required for new provider sessions."
|
|
30
|
+
}));
|
|
31
|
+
}
|
|
32
|
+
function stampRuntimeEvent(event, input) {
|
|
33
|
+
return {
|
|
34
|
+
...event,
|
|
35
|
+
providerInstanceId: input.providerInstanceId,
|
|
36
|
+
runtimeSessionId: input.runtimeSessionId
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
Object.defineProperty(exports, "appendAttachmentPathLines", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function() {
|
|
43
|
+
return appendAttachmentPathLines;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, "formatAttachmentPathLines", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function() {
|
|
49
|
+
return formatAttachmentPathLines;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "requireRuntimeSessionId", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function() {
|
|
55
|
+
return requireRuntimeSessionId;
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, "stampRuntimeEvent", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function() {
|
|
61
|
+
return stampRuntimeEvent;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { Ht as ProviderAdapterValidationError } from "./bin.mjs";
|
|
4
|
+
import { Effect } from "effect";
|
|
5
|
+
//#region ../../packages/shared/src/attachmentPrompt.ts
|
|
6
|
+
function formatAttachmentPathLine(entry) {
|
|
7
|
+
const attachment = entry.attachment;
|
|
8
|
+
const name = attachment.name ?? "attachment";
|
|
9
|
+
const mimeType = attachment.mimeType ?? "unknown";
|
|
10
|
+
const sizeText = attachment.sizeBytes === void 0 ? "size unknown" : `${attachment.sizeBytes}`;
|
|
11
|
+
if (attachment.id === void 0 || entry.resolvedPath === void 0) return `[Attached file] ${name} (${mimeType}, ${sizeText} bytes)`;
|
|
12
|
+
return `[Attached file] ${name} (${mimeType}, ${sizeText} bytes) saved at: ${entry.resolvedPath}`;
|
|
13
|
+
}
|
|
14
|
+
function formatAttachmentPathLines(entries) {
|
|
15
|
+
return entries.map(formatAttachmentPathLine);
|
|
16
|
+
}
|
|
17
|
+
function appendAttachmentPathLines(text, pathLines) {
|
|
18
|
+
if (pathLines.length === 0) return text;
|
|
19
|
+
const lines = pathLines.join("\n");
|
|
20
|
+
if (text === void 0 || text.trim().length === 0) return lines;
|
|
21
|
+
return `${text}\n\n${lines}`;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/provider/runtimeSession.ts
|
|
25
|
+
function requireRuntimeSessionId(provider, input) {
|
|
26
|
+
return input.runtimeSessionId !== void 0 ? Effect.succeed(input.runtimeSessionId) : Effect.fail(new ProviderAdapterValidationError({
|
|
27
|
+
provider,
|
|
28
|
+
operation: "startSession",
|
|
29
|
+
issue: "runtimeSessionId is required for new provider sessions."
|
|
30
|
+
}));
|
|
31
|
+
}
|
|
32
|
+
function stampRuntimeEvent(event, input) {
|
|
33
|
+
return {
|
|
34
|
+
...event,
|
|
35
|
+
providerInstanceId: input.providerInstanceId,
|
|
36
|
+
runtimeSessionId: input.runtimeSessionId
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { formatAttachmentPathLines as i, stampRuntimeEvent as n, appendAttachmentPathLines as r, requireRuntimeSessionId as t };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { Cause, Effect, Exit, Option, Result, Schema, SchemaGetter, SchemaIssue, SchemaTransformation } from "effect";
|
|
4
|
+
//#region ../../packages/shared/src/schemaJson.ts
|
|
5
|
+
const decodeJsonResult = (schema) => {
|
|
6
|
+
const decode = Schema.decodeExit(Schema.fromJsonString(schema));
|
|
7
|
+
return (input) => {
|
|
8
|
+
const result = decode(input);
|
|
9
|
+
if (Exit.isFailure(result)) return Result.fail(result.cause);
|
|
10
|
+
return Result.succeed(result.value);
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
const formatSchemaError = (cause) => {
|
|
14
|
+
const squashed = Cause.squash(cause);
|
|
15
|
+
return Schema.isSchemaError(squashed) ? SchemaIssue.makeFormatterDefault()(squashed.issue) : Cause.pretty(cause);
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* A `Getter` that parses a lenient JSON string (tolerating trailing commas
|
|
19
|
+
* and JS-style comments) into an unknown value.
|
|
20
|
+
*
|
|
21
|
+
* Mirrors `SchemaGetter.parseJson()` but uses `parseLenientJson` instead
|
|
22
|
+
* of `JSON.parse`.
|
|
23
|
+
*/
|
|
24
|
+
const parseLenientJsonGetter = SchemaGetter.onSome((input) => Effect.try({
|
|
25
|
+
try: () => {
|
|
26
|
+
let stripped = input.replace(/("(?:[^"\\]|\\.)*")|\/\/[^\n]*/g, (match, stringLiteral) => stringLiteral ? match : "");
|
|
27
|
+
stripped = stripped.replace(/("(?:[^"\\]|\\.)*")|\/\*[\s\S]*?\*\//g, (match, stringLiteral) => stringLiteral ? match : "");
|
|
28
|
+
stripped = stripped.replace(/,(\s*[}\]])/g, "$1");
|
|
29
|
+
return Option.some(JSON.parse(stripped));
|
|
30
|
+
},
|
|
31
|
+
catch: (e) => new SchemaIssue.InvalidValue({ message: String(e) }, input)
|
|
32
|
+
}));
|
|
33
|
+
/**
|
|
34
|
+
* Schema transformation: lenient JSONC string ↔ unknown.
|
|
35
|
+
*
|
|
36
|
+
* Same API as `SchemaTransformation.fromJsonString`, but the decode side
|
|
37
|
+
* strips trailing commas and JS-style comments before parsing.
|
|
38
|
+
* Encoding produces strict JSON via `JSON.stringify`.
|
|
39
|
+
*/
|
|
40
|
+
const fromLenientJsonString = new SchemaTransformation.Transformation(parseLenientJsonGetter, SchemaGetter.stringifyJson());
|
|
41
|
+
/**
|
|
42
|
+
* Build a schema that decodes a lenient JSON string into `A`.
|
|
43
|
+
*
|
|
44
|
+
* Drop-in replacement for `Schema.fromJsonString(schema)` that tolerates
|
|
45
|
+
* trailing commas and comments in the input.
|
|
46
|
+
*/
|
|
47
|
+
const fromLenientJson = (schema) => Schema.String.pipe(Schema.decodeTo(schema, fromLenientJsonString));
|
|
48
|
+
//#endregion
|
|
49
|
+
export { formatSchemaError as n, fromLenientJson as r, decodeJsonResult as t };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
let effect = require("effect");
|
|
4
|
+
//#region ../../packages/shared/src/schemaJson.ts
|
|
5
|
+
const decodeJsonResult = (schema) => {
|
|
6
|
+
const decode = effect.Schema.decodeExit(effect.Schema.fromJsonString(schema));
|
|
7
|
+
return (input) => {
|
|
8
|
+
const result = decode(input);
|
|
9
|
+
if (effect.Exit.isFailure(result)) return effect.Result.fail(result.cause);
|
|
10
|
+
return effect.Result.succeed(result.value);
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
const formatSchemaError = (cause) => {
|
|
14
|
+
const squashed = effect.Cause.squash(cause);
|
|
15
|
+
return effect.Schema.isSchemaError(squashed) ? effect.SchemaIssue.makeFormatterDefault()(squashed.issue) : effect.Cause.pretty(cause);
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* A `Getter` that parses a lenient JSON string (tolerating trailing commas
|
|
19
|
+
* and JS-style comments) into an unknown value.
|
|
20
|
+
*
|
|
21
|
+
* Mirrors `SchemaGetter.parseJson()` but uses `parseLenientJson` instead
|
|
22
|
+
* of `JSON.parse`.
|
|
23
|
+
*/
|
|
24
|
+
const parseLenientJsonGetter = effect.SchemaGetter.onSome((input) => effect.Effect.try({
|
|
25
|
+
try: () => {
|
|
26
|
+
let stripped = input.replace(/("(?:[^"\\]|\\.)*")|\/\/[^\n]*/g, (match, stringLiteral) => stringLiteral ? match : "");
|
|
27
|
+
stripped = stripped.replace(/("(?:[^"\\]|\\.)*")|\/\*[\s\S]*?\*\//g, (match, stringLiteral) => stringLiteral ? match : "");
|
|
28
|
+
stripped = stripped.replace(/,(\s*[}\]])/g, "$1");
|
|
29
|
+
return effect.Option.some(JSON.parse(stripped));
|
|
30
|
+
},
|
|
31
|
+
catch: (e) => new effect.SchemaIssue.InvalidValue({ message: String(e) }, input)
|
|
32
|
+
}));
|
|
33
|
+
/**
|
|
34
|
+
* Schema transformation: lenient JSONC string ↔ unknown.
|
|
35
|
+
*
|
|
36
|
+
* Same API as `SchemaTransformation.fromJsonString`, but the decode side
|
|
37
|
+
* strips trailing commas and JS-style comments before parsing.
|
|
38
|
+
* Encoding produces strict JSON via `JSON.stringify`.
|
|
39
|
+
*/
|
|
40
|
+
const fromLenientJsonString = new effect.SchemaTransformation.Transformation(parseLenientJsonGetter, effect.SchemaGetter.stringifyJson());
|
|
41
|
+
/**
|
|
42
|
+
* Build a schema that decodes a lenient JSON string into `A`.
|
|
43
|
+
*
|
|
44
|
+
* Drop-in replacement for `Schema.fromJsonString(schema)` that tolerates
|
|
45
|
+
* trailing commas and comments in the input.
|
|
46
|
+
*/
|
|
47
|
+
const fromLenientJson = (schema) => effect.Schema.String.pipe(effect.Schema.decodeTo(schema, fromLenientJsonString));
|
|
48
|
+
//#endregion
|
|
49
|
+
Object.defineProperty(exports, "decodeJsonResult", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function() {
|
|
52
|
+
return decodeJsonResult;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "formatSchemaError", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function() {
|
|
58
|
+
return formatSchemaError;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "fromLenientJson", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function() {
|
|
64
|
+
return fromLenientJson;
|
|
65
|
+
}
|
|
66
|
+
});
|