ryco-cli 0.1.24 → 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-DSPEmiwq.mjs → AcpAdapter-BemMQNbj.mjs} +102 -604
- package/dist/{GrokDriver-RyyFeh_q.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-CrvgKNf2.cjs → AzureDevOpsSourceControlProvider-B9N_8NJg.cjs} +14 -14
- package/dist/{AzureDevOpsSourceControlProvider-BNGEg1R8.mjs → AzureDevOpsSourceControlProvider-BcQO_CyW.mjs} +3 -3
- package/dist/{BitbucketSourceControlProvider-Bt21jw68.mjs → BitbucketSourceControlProvider-BTUY2ZT8.mjs} +3 -3
- package/dist/{BitbucketSourceControlProvider-BzhsQwH-.cjs → BitbucketSourceControlProvider-C9WuwvY2.cjs} +14 -14
- package/dist/{BunPTY-TbHbSc8S.mjs → BunPTY-DdnqQAdw.mjs} +1 -1
- package/dist/{ClaudeDriver-B7mbf51W.cjs → ClaudeDriver-BSTxNNGO.cjs} +162 -126
- package/dist/{ClaudeDriver-C4yu7Jit.mjs → ClaudeDriver-Csnp78qR.mjs} +129 -93
- package/dist/{CodexDriver-CR0S17Lb.cjs → CodexDriver-BK4HVNV4.cjs} +145 -60
- package/dist/{CodexDriver-DnnqkGoY.mjs → CodexDriver-fwcV84hX.mjs} +99 -14
- package/dist/{CodexTextGeneration-tlfe1S5W.cjs → CodexTextGeneration-Y2GSS7f1.cjs} +145 -99
- package/dist/{CodexTextGeneration-Cw-FZbSS.mjs → CodexTextGeneration-_4aT5BHa.mjs} +141 -95
- package/dist/{CopilotDriver-GxKLX5pL.mjs → CopilotDriver-B12ZJ-L_.mjs} +69 -7
- package/dist/{CopilotDriver-IBd27Ji2.cjs → CopilotDriver-C7IyIwVW.cjs} +98 -36
- package/dist/{CursorDriver-C4Enoe9N.cjs → CursorDriver-BWmCfJ-w.cjs} +38 -32
- package/dist/{CursorDriver-CNo9Uzo8.mjs → CursorDriver-C_p0v-ul.mjs} +12 -6
- package/dist/{ForgejoSourceControlProvider-Dh6DOoc8.cjs → ForgejoSourceControlProvider-DTRrllIH.cjs} +14 -14
- package/dist/{ForgejoSourceControlProvider-BGXysSX6.mjs → ForgejoSourceControlProvider-DmOGJEaJ.mjs} +3 -3
- package/dist/{GitHubSourceControlProvider-8hsv_kCE.cjs → GitHubSourceControlProvider-D-YV8WP6.cjs} +16 -17
- package/dist/{GitHubSourceControlProvider-CPCYV8Xo.mjs → GitHubSourceControlProvider-sQGcwnr3.mjs} +6 -7
- package/dist/{GitLabSourceControlProvider-B0ZbF9Zx.cjs → GitLabSourceControlProvider-kKYYnpER.cjs} +14 -14
- package/dist/{GitLabSourceControlProvider-Bvknpaon.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-CDcvPT9v.cjs → OpenCodeDriver-CckbFEQJ.cjs} +459 -141
- package/dist/{OpenCodeDriver-0q44rSQX.mjs → OpenCodeDriver-CnWJHyDJ.mjs} +430 -112
- package/dist/SideQuestionIsolation-5eGFRW0t.mjs +26 -0
- package/dist/SideQuestionIsolation-DvVKZWxi.cjs +37 -0
- package/dist/{SourceControlProviderDiscoveryCatalog-B37RHe2u.mjs → SourceControlProviderDiscoveryCatalog-BVvq7liJ.mjs} +2 -1
- package/dist/{SourceControlProviderDiscoveryCatalog-DreaAH1H.cjs → SourceControlProviderDiscoveryCatalog-CyUhKJLD.cjs} +6 -5
- package/dist/bin.cjs +12772 -3149
- package/dist/bin.mjs +10669 -1075
- 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-i0YhvlGD.js → AnimatedHeight-CbIEyMLg.js} +1 -1
- package/dist/client/assets/AppearanceSettings-B2LsGKmL.js +1 -0
- package/dist/client/assets/{BranchToolbar.logic-AgPy06Mx.js → BranchToolbar.logic-BqkvYNPk.js} +1 -1
- package/dist/client/assets/{BrowserPanel-BWztlNuL.js → BrowserPanel-C_C4zjrh.js} +1 -1
- package/dist/client/assets/ChatRightPanel-ibiQ79jI.js +195 -0
- package/dist/client/assets/{ChatThreadRouteView-CWoBLzR_.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-DM17BYP5.js +1 -0
- package/dist/client/assets/ConnectionsSettings-D6wysIC8.js +7 -0
- package/dist/client/assets/ContextHandoffEndpointLabel-CsF_maM_.js +4 -0
- package/dist/client/assets/{DiagnosticsSettings-DvnNz2AZ.js → DiagnosticsSettings-Bq2l-C4J.js} +2 -2
- package/dist/client/assets/{DialogHandle-8o3kfoiI.js → DialogHandle-DuKTleCw.js} +1 -1
- package/dist/client/assets/{DialogPopup-CLw6NCkW.js → DialogPopup-Dt7DzTWv.js} +1 -1
- package/dist/client/assets/DialogRoot-DRyawL6l.js +1 -0
- package/dist/client/assets/{DialogTitle-DCHX74Tz.js → DialogTitle-BaxfPC6e.js} +1 -1
- package/dist/client/assets/DialogTrigger-D0PJ8bRT.js +1 -0
- package/dist/client/assets/{DialogViewport-DVDl03yd.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-arHvT6AX.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-GY6owikG.js → GlassSurface-CBIEgwt1.js} +1 -1
- package/dist/client/assets/HKscs-B5-H-CXbBbq6g.bcmap +0 -0
- package/dist/client/assets/{HostedConnectionControls-COUhSe9x.js → HostedConnectionControls-DOpTlXzE.js} +1 -1
- package/dist/client/assets/HostedHubRoot-C1jq8cM6.js +2 -0
- package/dist/client/assets/{HostedNativeAuthorizationRoute-DZhYxv--.js → HostedNativeAuthorizationRoute-Clw1DHQW.js} +2 -2
- package/dist/client/assets/HostedNodeRenameDialog-Bd_Qu_ek.js +1 -0
- package/dist/client/assets/{HostedRelayTrustNotice-Bl6On0Yi.js → HostedRelayTrustNotice-CGcBpT9m.js} +1 -1
- package/dist/client/assets/IntegrationsSettingsPanel-J0qODRW-.js +2 -0
- package/dist/client/assets/KSC-Johab-H-CGtV3MPT.bcmap +0 -0
- package/dist/client/assets/{KeybindingsSettings-CPtXx-W2.js → KeybindingsSettings-CwxIHsFy.js} +1 -1
- package/dist/client/assets/{LazyBrowserPanel-SUIBB7B4.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-BFifrshE.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-R0cqI17q.js → PhoneGetAppInterstitial-0EOj-PbW.js} +1 -1
- package/dist/client/assets/PhoneHome-Cg7l3b1T.js +1 -0
- package/dist/client/assets/PhoneSettingsSurface-BXAUtZ9M.js +2 -0
- package/dist/client/assets/ProvidersSettingsPanel-BaJgypXu.js +1 -0
- package/dist/client/assets/{QuitShortcutFeedback-CklL3jMd.js → QuitShortcutFeedback-DgJFEd6b.js} +1 -1
- package/dist/client/assets/{RedactedSensitiveText-CLPBtvH1.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-9pSZP875.js → SettingsPanels.editor-DJRckD71.js} +1 -1
- package/dist/client/assets/{SourceControlSettings-C1F3Brcn.js → SourceControlSettings-IpoZrjt5.js} +1 -1
- 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-CHZ60lPI.js → ThreadTerminalDrawer-BEv83xrk.js} +11 -11
- 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-BMBx2Fu0.js → activity-BmRcsTyL.js} +1 -1
- package/dist/client/assets/{alert-CXnC_RJc.js → alert-C5UiA2xk.js} +1 -1
- package/dist/client/assets/{appChrome-BzM66lXM.js → appChrome-CsZ2ylc1.js} +1 -1
- package/dist/client/assets/{arrow-left-CymyVbCi.js → arrow-left-CSz-z20j.js} +1 -1
- package/dist/client/assets/{arrow-right-9wyq4YVq.js → arrow-right-DEi91hao.js} +1 -1
- package/dist/client/assets/{arrow-up-right-mfU38K6p.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-BR3RyOWP.js → bot-SC4UGZyw.js} +1 -1
- package/dist/client/assets/{capabilities-C8sxDbKT.js → capabilities-BCkDNe83.js} +1 -1
- package/dist/client/assets/{chart-column-CcRi3pAd.js → chart-column-C08MuLgY.js} +1 -1
- package/dist/client/assets/chevron-right-DgB53U1_.js +1 -0
- package/dist/client/assets/{clipboard-copy-ezz8rnaT.js → clipboard-copy-D74Wvnon.js} +1 -1
- package/dist/client/assets/{data-list-ZLhzdlED.js → data-list-CZ4Utnfl.js} +1 -1
- package/dist/client/assets/{desktopWorkspace-P28r2lN2.js → desktopWorkspace-DVfn9ZT_.js} +1 -1
- package/dist/client/assets/{download-BA9L9tK9.js → download-Dio40wIJ.js} +1 -1
- package/dist/client/assets/editorPreferences-2dG4uloq.js +1 -0
- package/dist/client/assets/{empty-3NpXLnAM.js → empty-6LExKYgQ.js} +1 -1
- package/dist/client/assets/{group-D5qBdsaB.js → group-D_mu0Kiq.js} +1 -1
- package/dist/client/assets/{hostedConnectionCoordinator-CLV-JD1S.js → hostedConnectionCoordinator-YkDLnATK.js} +1 -1
- package/dist/client/assets/{hubRoutes-EWJ3Gdod.js → hubRoutes-D3quWvU7.js} +1 -1
- package/dist/client/assets/{index-DxCd1PgA.js → index-7MTgf8YI.js} +2 -2
- package/dist/client/assets/{input-DrOL1KPS.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-D2DtQ7aS.js → key-round-C-oUSjpF.js} +1 -1
- package/dist/client/assets/{layers-DtSJWmwy.js → layers-Co2a5C1k.js} +1 -1
- package/dist/client/assets/{log-out-YAp9fsOg.js → log-out-pWFhbvwr.js} +1 -1
- package/dist/client/assets/{logging-BuUPX1SP.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-D18VboLH.js → palette-B_6C4fD6.js} +1 -1
- package/dist/client/assets/pdf.worker.min-Dswkl-cV.mjs +29 -0
- package/dist/client/assets/{play-d3KUi4G6.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-dwWhl7Uf.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-Bk1kdf_k.js → qr-code-BU354aLS.js} +1 -1
- package/dist/client/assets/{qr-code-MAZkoKtL.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-DY3_Ph-S.js → refresh-cw-CY5BeUEr.js} +1 -1
- package/dist/client/assets/runtime-BKneT96Q.js +17 -0
- package/dist/client/assets/{save-ugJXuJRM.js → save-DIHMjHXd.js} +1 -1
- package/dist/client/assets/{scroll-area-BMnGzd2a.js → scroll-area-Cq4SX9P8.js} +1 -1
- package/dist/client/assets/{scrollEdges-QLSFwGSQ.js → scrollEdges-BaWRjrac.js} +1 -1
- package/dist/client/assets/{separator-BwUYkCkX.js → separator-BN705fC0.js} +1 -1
- package/dist/client/assets/{settingsLayout-C6SUmJVB.js → settingsLayout-DQERzSce.js} +1 -1
- package/dist/client/assets/{sheet-DLy4aeVa.js → sheet-CFvRY7T6.js} +1 -1
- package/dist/client/assets/{shield-Zq_ygsnJ.js → shield-Zn2kFj5M.js} +1 -1
- package/dist/client/assets/{shield-alert-DfUhTI4-.js → shield-alert-DMB5gKiC.js} +1 -1
- package/dist/client/assets/{shield-check-CO4SMhAs.js → shield-check-DyNf6Bky.js} +1 -1
- package/dist/client/assets/{sidebar-DNnW-a2V.js → sidebar-Bsh64sLK.js} +1 -1
- package/dist/client/assets/sidebarProjectFolders-CQbpO9ZI.js +4 -0
- package/dist/client/assets/{sidebarStatusText-CawrXnx0.js → sidebarStatusText-DCo-whyK.js} +1 -1
- package/dist/client/assets/{skeleton-DRm4_OvB.js → skeleton-DEuowfjY.js} +1 -1
- package/dist/client/assets/{smartphone-O2VACDhU.js → smartphone-BLWJ7C9-.js} +1 -1
- package/dist/client/assets/{sparkles-isHutYWU.js → sparkles-DAXDXp_s.js} +1 -1
- package/dist/client/assets/src-DPpEXU6w.js +14 -0
- package/dist/client/assets/{star-7UHEnC3x.js → star-CjQxHYbD.js} +1 -1
- package/dist/client/assets/switch-LahPAvrd.js +48 -0
- package/dist/client/assets/{toggle-CaKBNe6W.js → toggle-45lsrmyi.js} +1 -1
- package/dist/client/assets/{toggle-group-UeFeTI3u.js → toggle-group-D5pl24ED.js} +1 -1
- package/dist/client/assets/{tokenModePresentation-DV56ekA4.js → tokenModePresentation-CPUsUGY4.js} +1 -1
- package/dist/client/assets/tooltip-B8-izeMo.js +1 -0
- package/dist/client/assets/{unplug-DisTpujT.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-DctamWV6.js → user-round-DEWIPpNs.js} +1 -1
- package/dist/client/assets/{vscode-icons-Dw-LGJAv.js → vscode-icons-DTH-Vj-_.js} +1 -1
- package/dist/client/assets/workspaceMetadataProjection-BnpxBe8S.js +1 -0
- package/dist/client/assets/{wrench-Ds8eZerZ.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-GZcpSLrW.mjs → makeManagedServerProvider-BINne1KE.mjs} +3 -38
- package/dist/{makeManagedServerProvider-VzxWN-04.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-DStwNTTK.cjs → src-BlzIcnVG.cjs} +573 -117
- package/dist/{collectUint8StreamText-C_VNyArd.mjs → src-DtEOcXdl.mjs} +389 -95
- package/package.json +1 -1
- package/dist/AcpNativeLogging-COepku4a.cjs +0 -5130
- package/dist/AcpNativeLogging-D7e1dn7s.mjs +0 -5015
- package/dist/client/assets/AccountSettings-ApnDA1f-.js +0 -1
- package/dist/client/assets/AiFocusSettings-CNmGHEcA.js +0 -1
- package/dist/client/assets/AppearanceSettings-BG8W4DP0.js +0 -1
- package/dist/client/assets/ChatRightPanel-a6UOHNMm.js +0 -194
- package/dist/client/assets/CommandPaletteDialog-B2iKWCUi.js +0 -1
- package/dist/client/assets/CompositeRoot-C1G-Ejus.js +0 -1
- package/dist/client/assets/ComputerUseSettings-CPwWoHWj.js +0 -1
- package/dist/client/assets/ConnectionsSettings-CPMkuxza.js +0 -7
- package/dist/client/assets/ContextHandoffEndpointLabel-BildLLDY.js +0 -4
- package/dist/client/assets/DialogRoot-SKkIuQHA.js +0 -1
- package/dist/client/assets/DialogTrigger-Bl_fcIV2.js +0 -1
- package/dist/client/assets/DraftChatThreadRouteView-CEDYjbKq.js +0 -1
- package/dist/client/assets/HostedHubRoot-BTWc0XoQ.js +0 -2
- package/dist/client/assets/IntegrationsSettingsPanel-n9owMZf-.js +0 -2
- package/dist/client/assets/McpServersSettings-BWIUud0Z.js +0 -6
- package/dist/client/assets/MobileSheet-NTayGHF6.js +0 -1
- package/dist/client/assets/OpinionatedPluginsSettings-D7WuuNWZ.js +0 -1
- package/dist/client/assets/PhoneHome-FqWvnJP_.js +0 -1
- package/dist/client/assets/PhoneSettingsSurface-w5PJnoBc.js +0 -2
- package/dist/client/assets/ProvidersSettingsPanel-Ww1ch3xA.js +0 -1
- package/dist/client/assets/RootAppShell-BdQCs2XJ.js +0 -7
- package/dist/client/assets/Separator-CpYBhf-I.js +0 -1
- package/dist/client/assets/SettingsDialog-DeMzEeCP.js +0 -2
- package/dist/client/assets/SettingsPanels-ZxNz9ZfL.js +0 -3
- package/dist/client/assets/StatisticsPage-C7v-6CTr.js +0 -1
- package/dist/client/assets/StatisticsPanel-CeIjiBm8.js +0 -1
- package/dist/client/assets/StatisticsSettingsLink-5s_violW.js +0 -1
- package/dist/client/assets/ThreadWorkspacePanel-Ct5kMcuY.js +0 -2073
- package/dist/client/assets/authorization-CjOFkg7b.js +0 -1
- package/dist/client/assets/badge-Dg7mXiOh.js +0 -1
- package/dist/client/assets/chevron-right-CuUjBsQV.js +0 -1
- package/dist/client/assets/editorPreferences-DeKdSV3s.js +0 -1
- package/dist/client/assets/kbd-rWDjJnWX.js +0 -1
- package/dist/client/assets/main-BbtLAX7M.js +0 -9
- package/dist/client/assets/main-D4CtFNPY.css +0 -2
- package/dist/client/assets/monitor-OyD484tI.js +0 -1
- package/dist/client/assets/primary-D_D7eLwT.js +0 -2
- package/dist/client/assets/providerDriverMeta-DNTocCcU.js +0 -1
- package/dist/client/assets/providerModels-bFbEIfL9.js +0 -1
- package/dist/client/assets/radio-group-D-VCGinX.js +0 -2
- package/dist/client/assets/runtime-Djy96GJd.js +0 -17
- package/dist/client/assets/sidebarProjectFolders-ygpaKZM6.js +0 -4
- package/dist/client/assets/src-BSuAGqhK.js +0 -14
- package/dist/client/assets/switch-DD1qVLgN.js +0 -48
- package/dist/client/assets/tooltip-DXvXxL37.js +0 -1
- package/dist/client/assets/useAppSidebarCollapsed-CaAsLi1q.js +0 -1
- package/dist/client/assets/useBaseUiId-CJN4MvrU.js +0 -1
- package/dist/client/assets/useLabelableId-BsDFG9Oj.js +0 -1
- package/dist/client/assets/useNavigate-cLfxn_9L.js +0 -1
- package/dist/client/assets/usePhoneThreadActions-rekHL1Mi.js +0 -1
- package/dist/client/assets/usePopupViewport-kXU31P6l.js +0 -1
- package/dist/client/assets/useScrollLock-DjMxrUJe.js +0 -1
- package/dist/client/assets/useStatistics-BYP-9CmW.js +0 -55
- package/dist/client/assets/useTriggerFocusGuards-DuAm2B8C.js +0 -1
- package/dist/client/assets/useValueChanged-DreFjrMK.js +0 -1
- package/dist/client/assets/workspaceMetadataProjection-BL4sEIL2.js +0 -1
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const require_src = require("./src-BlzIcnVG.cjs");
|
|
4
|
+
const require_Metrics = require("./Metrics-DCKbdeoH.cjs");
|
|
5
|
+
const require_bin = require("./bin.cjs");
|
|
6
|
+
const require_AcpAdapter = require("./AcpAdapter-CadxcdZV.cjs");
|
|
7
|
+
const require_ProviderDriver = require("./ProviderDriver--rNeAi3B.cjs");
|
|
8
|
+
let effect = require("effect");
|
|
9
|
+
let effect_unstable_process = require("effect/unstable/process");
|
|
10
|
+
//#region src/provider/Drivers/AcpRegistryDriver.ts
|
|
11
|
+
const DRIVER = require_src.ProviderDriverKind.make("acpRegistry");
|
|
12
|
+
const EMPTY_ACP_CAPABILITIES = {
|
|
13
|
+
loadSession: false,
|
|
14
|
+
resumeSession: false,
|
|
15
|
+
models: false,
|
|
16
|
+
commands: false,
|
|
17
|
+
usage: false,
|
|
18
|
+
terminal: false,
|
|
19
|
+
promptImages: false,
|
|
20
|
+
promptAudio: false
|
|
21
|
+
};
|
|
22
|
+
const DEFAULT_ACP_MODELS = [{
|
|
23
|
+
slug: "default",
|
|
24
|
+
name: "Agent default",
|
|
25
|
+
isCustom: false,
|
|
26
|
+
capabilities: { optionDescriptors: [] }
|
|
27
|
+
}];
|
|
28
|
+
function projectAcpRegistrySession(value, result) {
|
|
29
|
+
const capabilities = result.initializeResult.agentCapabilities;
|
|
30
|
+
const models = (result.sessionSetupResult.models?.availableModels ?? []).filter((model) => model.modelId.trim()).map((model) => ({
|
|
31
|
+
slug: model.modelId,
|
|
32
|
+
name: model.name || model.modelId,
|
|
33
|
+
isCustom: false,
|
|
34
|
+
capabilities: { optionDescriptors: [] }
|
|
35
|
+
}));
|
|
36
|
+
const modelOption = result.sessionSetupResult.configOptions?.find((option) => option.category === "model" && option.type === "select");
|
|
37
|
+
if (models.length === 0 && modelOption?.type === "select") {
|
|
38
|
+
for (const option of modelOption.options.flatMap((entry) => "value" in entry ? [entry] : entry.options)) if (option.value.trim()) models.push({
|
|
39
|
+
slug: option.value,
|
|
40
|
+
name: option.name || option.value,
|
|
41
|
+
isCustom: false,
|
|
42
|
+
capabilities: { optionDescriptors: [] }
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
...value,
|
|
47
|
+
auth: { status: "authenticated" },
|
|
48
|
+
status: "ready",
|
|
49
|
+
message: "ACP session ready.",
|
|
50
|
+
models: models.length > 0 ? models : DEFAULT_ACP_MODELS,
|
|
51
|
+
acpCapabilities: {
|
|
52
|
+
...EMPTY_ACP_CAPABILITIES,
|
|
53
|
+
...value.acpCapabilities,
|
|
54
|
+
loadSession: capabilities?.loadSession === true,
|
|
55
|
+
resumeSession: capabilities?.sessionCapabilities?.resume != null,
|
|
56
|
+
models: models.length > 0 || result.modelConfigId !== void 0,
|
|
57
|
+
promptImages: capabilities?.promptCapabilities?.image === true,
|
|
58
|
+
promptAudio: false
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
const AcpRegistryDriver = {
|
|
63
|
+
driverKind: DRIVER,
|
|
64
|
+
metadata: {
|
|
65
|
+
displayName: "ACP Registry",
|
|
66
|
+
supportsMultipleInstances: true
|
|
67
|
+
},
|
|
68
|
+
configSchema: require_src.AcpRegistrySettings,
|
|
69
|
+
defaultConfig: () => effect.Schema.decodeSync(require_src.AcpRegistrySettings)({}),
|
|
70
|
+
create: (input) => effect.Effect.gen(function* () {
|
|
71
|
+
const environment = require_bin.mergeProviderInstanceEnvironment(input.environment);
|
|
72
|
+
const server = yield* require_Metrics.ServerConfig;
|
|
73
|
+
const path = yield* effect.Path.Path;
|
|
74
|
+
const spawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
|
|
75
|
+
const loggers = yield* require_bin.ProviderEventLoggers;
|
|
76
|
+
const continuationIdentity = require_ProviderDriver.defaultProviderContinuationIdentity({
|
|
77
|
+
driverKind: DRIVER,
|
|
78
|
+
instanceId: input.instanceId
|
|
79
|
+
});
|
|
80
|
+
const changes = yield* effect.PubSub.sliding(1);
|
|
81
|
+
yield* effect.Effect.addFinalizer(() => effect.PubSub.shutdown(changes));
|
|
82
|
+
const initial = {
|
|
83
|
+
instanceId: input.instanceId,
|
|
84
|
+
driver: DRIVER,
|
|
85
|
+
displayName: input.displayName ?? (input.config.agentId || "ACP Registry"),
|
|
86
|
+
...input.accentColor ? { accentColor: input.accentColor } : {},
|
|
87
|
+
continuation: { groupKey: continuationIdentity.continuationKey },
|
|
88
|
+
enabled: input.enabled,
|
|
89
|
+
installed: false,
|
|
90
|
+
version: input.config.version || null,
|
|
91
|
+
status: input.enabled ? "warning" : "disabled",
|
|
92
|
+
auth: { status: "unknown" },
|
|
93
|
+
checkedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
94
|
+
models: [{
|
|
95
|
+
slug: "default",
|
|
96
|
+
name: "Agent default",
|
|
97
|
+
isCustom: false,
|
|
98
|
+
capabilities: { optionDescriptors: [] }
|
|
99
|
+
}],
|
|
100
|
+
slashCommands: [],
|
|
101
|
+
skills: [],
|
|
102
|
+
showInteractionModeToggle: false,
|
|
103
|
+
supportsAskMode: false,
|
|
104
|
+
supportsTurnSteering: false,
|
|
105
|
+
message: "Install the pinned registry version to use this provider.",
|
|
106
|
+
acpCapabilities: {
|
|
107
|
+
loadSession: false,
|
|
108
|
+
resumeSession: false,
|
|
109
|
+
models: false,
|
|
110
|
+
commands: false,
|
|
111
|
+
usage: false,
|
|
112
|
+
terminal: false,
|
|
113
|
+
promptImages: false,
|
|
114
|
+
promptAudio: false
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
const state = yield* effect.Ref.make(initial);
|
|
118
|
+
const publish = (f) => effect.Ref.updateAndGet(state, f).pipe(effect.Effect.tap((value) => effect.PubSub.publish(changes, value)), effect.Effect.asVoid);
|
|
119
|
+
const resolveInstalled = require_bin.resolveAcpRegistryInstallation(input.config).pipe(effect.Effect.provideService(require_Metrics.ServerConfig, server), effect.Effect.provideService(effect.Path.Path, path));
|
|
120
|
+
const refresh = resolveInstalled.pipe(effect.Effect.flatMap(() => publish((value) => ({
|
|
121
|
+
...value,
|
|
122
|
+
installed: true,
|
|
123
|
+
status: input.enabled ? "ready" : "disabled",
|
|
124
|
+
message: input.enabled ? "Installed and verified. Capabilities are discovered when a session starts." : "Provider is disabled.",
|
|
125
|
+
checkedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
126
|
+
}))), effect.Effect.catch(() => publish((value) => ({
|
|
127
|
+
...value,
|
|
128
|
+
installed: false,
|
|
129
|
+
status: input.enabled ? "warning" : "disabled",
|
|
130
|
+
message: "Install the pinned registry version to use this provider.",
|
|
131
|
+
checkedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
132
|
+
}))), effect.Effect.andThen(effect.Ref.get(state)));
|
|
133
|
+
yield* refresh;
|
|
134
|
+
let sessionModelSwitch = "unsupported";
|
|
135
|
+
const adapter = yield* require_AcpAdapter.makeAcpAdapter({
|
|
136
|
+
getSessionModelSwitch: () => sessionModelSwitch,
|
|
137
|
+
respectPromptCapabilities: true,
|
|
138
|
+
provider: DRIVER,
|
|
139
|
+
instanceId: input.instanceId,
|
|
140
|
+
environment,
|
|
141
|
+
normalizeModel: (model) => model === "default" ? "" : model.trim(),
|
|
142
|
+
...loggers.native ? { nativeEventLogger: loggers.native } : {},
|
|
143
|
+
makeRuntime: (options) => effect.Effect.gen(function* () {
|
|
144
|
+
const installed = yield* resolveInstalled;
|
|
145
|
+
return yield* require_bin.makeRegistryAcpRuntime({
|
|
146
|
+
settings: input.config,
|
|
147
|
+
installed,
|
|
148
|
+
environment,
|
|
149
|
+
options
|
|
150
|
+
}).pipe(effect.Effect.provideService(effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner, spawner));
|
|
151
|
+
}),
|
|
152
|
+
onStarted: (result) => {
|
|
153
|
+
sessionModelSwitch = result.sessionSetupResult.models || result.modelConfigId ? "in-session" : "unsupported";
|
|
154
|
+
return publish((value) => projectAcpRegistrySession(value, result));
|
|
155
|
+
},
|
|
156
|
+
onCommands: (commands) => publish((value) => ({
|
|
157
|
+
...value,
|
|
158
|
+
slashCommands: commands.filter((command) => command.name.trim()).map((command) => ({
|
|
159
|
+
name: command.name,
|
|
160
|
+
...command.description ? { description: command.description } : {},
|
|
161
|
+
...command.input?.hint ? { input: { hint: command.input.hint } } : {}
|
|
162
|
+
})),
|
|
163
|
+
acpCapabilities: {
|
|
164
|
+
...initial.acpCapabilities,
|
|
165
|
+
...value.acpCapabilities,
|
|
166
|
+
commands: true
|
|
167
|
+
}
|
|
168
|
+
})),
|
|
169
|
+
onUsage: () => publish((value) => ({
|
|
170
|
+
...value,
|
|
171
|
+
acpCapabilities: {
|
|
172
|
+
...initial.acpCapabilities,
|
|
173
|
+
...value.acpCapabilities,
|
|
174
|
+
usage: true
|
|
175
|
+
}
|
|
176
|
+
}))
|
|
177
|
+
});
|
|
178
|
+
const unsupported = (operation) => effect.Effect.fail(new require_src.TextGenerationError({
|
|
179
|
+
operation,
|
|
180
|
+
detail: "This ACP provider does not support background text generation."
|
|
181
|
+
}));
|
|
182
|
+
return {
|
|
183
|
+
instanceId: input.instanceId,
|
|
184
|
+
driverKind: DRIVER,
|
|
185
|
+
continuationIdentity,
|
|
186
|
+
displayName: input.displayName,
|
|
187
|
+
accentColor: input.accentColor,
|
|
188
|
+
enabled: input.enabled,
|
|
189
|
+
adapter,
|
|
190
|
+
textGeneration: {
|
|
191
|
+
answerSideQuestion: () => effect.Effect.fail(new require_src.TextGenerationError({
|
|
192
|
+
operation: "answerSideQuestion",
|
|
193
|
+
detail: "ACP Registry agents do not provide an enforceable tool-free side question mode. Select Codex, Claude, or GitHub Copilot for side chat."
|
|
194
|
+
})),
|
|
195
|
+
generateCommitMessage: () => unsupported("generateCommitMessage"),
|
|
196
|
+
generatePrContent: () => unsupported("generatePrContent"),
|
|
197
|
+
generateBranchName: () => unsupported("generateBranchName"),
|
|
198
|
+
generateThreadTitle: () => unsupported("generateThreadTitle"),
|
|
199
|
+
generateIssueContent: () => unsupported("generateIssueContent"),
|
|
200
|
+
rankInboxThreads: () => unsupported("rankInboxThreads")
|
|
201
|
+
},
|
|
202
|
+
snapshot: {
|
|
203
|
+
maintenanceCapabilities: require_bin.makeManualOnlyProviderMaintenanceCapabilities({
|
|
204
|
+
provider: DRIVER,
|
|
205
|
+
packageName: null
|
|
206
|
+
}),
|
|
207
|
+
getSnapshot: effect.Ref.get(state),
|
|
208
|
+
refresh,
|
|
209
|
+
revalidate: refresh,
|
|
210
|
+
streamChanges: effect.Stream.fromPubSub(changes)
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
}).pipe(effect.Effect.mapError((cause) => new require_bin.ProviderDriverError({
|
|
214
|
+
driver: DRIVER,
|
|
215
|
+
instanceId: input.instanceId,
|
|
216
|
+
detail: "Failed to create ACP registry provider.",
|
|
217
|
+
cause
|
|
218
|
+
})))
|
|
219
|
+
};
|
|
220
|
+
//#endregion
|
|
221
|
+
exports.AcpRegistryDriver = AcpRegistryDriver;
|
|
222
|
+
exports.projectAcpRegistrySession = projectAcpRegistrySession;
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { To as ProviderDriverKind, cr as TextGenerationError, g as AcpRegistrySettings } from "./src-DtEOcXdl.mjs";
|
|
4
|
+
import { Z as ServerConfig } from "./Metrics-C-3MahDy.mjs";
|
|
5
|
+
import { H as makeRegistryAcpRuntime, U as resolveAcpRegistryInstallation, Ut as ProviderDriverError, gt as mergeProviderInstanceEnvironment, k as ProviderEventLoggers, sr as makeManualOnlyProviderMaintenanceCapabilities } from "./bin.mjs";
|
|
6
|
+
import { t as makeAcpAdapter } from "./AcpAdapter-BemMQNbj.mjs";
|
|
7
|
+
import { t as defaultProviderContinuationIdentity } from "./ProviderDriver-kCV60GKk.mjs";
|
|
8
|
+
import { Effect, Path, PubSub, Ref, Schema, Stream } from "effect";
|
|
9
|
+
import { ChildProcessSpawner } from "effect/unstable/process";
|
|
10
|
+
//#region src/provider/Drivers/AcpRegistryDriver.ts
|
|
11
|
+
const DRIVER = ProviderDriverKind.make("acpRegistry");
|
|
12
|
+
const EMPTY_ACP_CAPABILITIES = {
|
|
13
|
+
loadSession: false,
|
|
14
|
+
resumeSession: false,
|
|
15
|
+
models: false,
|
|
16
|
+
commands: false,
|
|
17
|
+
usage: false,
|
|
18
|
+
terminal: false,
|
|
19
|
+
promptImages: false,
|
|
20
|
+
promptAudio: false
|
|
21
|
+
};
|
|
22
|
+
const DEFAULT_ACP_MODELS = [{
|
|
23
|
+
slug: "default",
|
|
24
|
+
name: "Agent default",
|
|
25
|
+
isCustom: false,
|
|
26
|
+
capabilities: { optionDescriptors: [] }
|
|
27
|
+
}];
|
|
28
|
+
function projectAcpRegistrySession(value, result) {
|
|
29
|
+
const capabilities = result.initializeResult.agentCapabilities;
|
|
30
|
+
const models = (result.sessionSetupResult.models?.availableModels ?? []).filter((model) => model.modelId.trim()).map((model) => ({
|
|
31
|
+
slug: model.modelId,
|
|
32
|
+
name: model.name || model.modelId,
|
|
33
|
+
isCustom: false,
|
|
34
|
+
capabilities: { optionDescriptors: [] }
|
|
35
|
+
}));
|
|
36
|
+
const modelOption = result.sessionSetupResult.configOptions?.find((option) => option.category === "model" && option.type === "select");
|
|
37
|
+
if (models.length === 0 && modelOption?.type === "select") {
|
|
38
|
+
for (const option of modelOption.options.flatMap((entry) => "value" in entry ? [entry] : entry.options)) if (option.value.trim()) models.push({
|
|
39
|
+
slug: option.value,
|
|
40
|
+
name: option.name || option.value,
|
|
41
|
+
isCustom: false,
|
|
42
|
+
capabilities: { optionDescriptors: [] }
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
...value,
|
|
47
|
+
auth: { status: "authenticated" },
|
|
48
|
+
status: "ready",
|
|
49
|
+
message: "ACP session ready.",
|
|
50
|
+
models: models.length > 0 ? models : DEFAULT_ACP_MODELS,
|
|
51
|
+
acpCapabilities: {
|
|
52
|
+
...EMPTY_ACP_CAPABILITIES,
|
|
53
|
+
...value.acpCapabilities,
|
|
54
|
+
loadSession: capabilities?.loadSession === true,
|
|
55
|
+
resumeSession: capabilities?.sessionCapabilities?.resume != null,
|
|
56
|
+
models: models.length > 0 || result.modelConfigId !== void 0,
|
|
57
|
+
promptImages: capabilities?.promptCapabilities?.image === true,
|
|
58
|
+
promptAudio: false
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
const AcpRegistryDriver = {
|
|
63
|
+
driverKind: DRIVER,
|
|
64
|
+
metadata: {
|
|
65
|
+
displayName: "ACP Registry",
|
|
66
|
+
supportsMultipleInstances: true
|
|
67
|
+
},
|
|
68
|
+
configSchema: AcpRegistrySettings,
|
|
69
|
+
defaultConfig: () => Schema.decodeSync(AcpRegistrySettings)({}),
|
|
70
|
+
create: (input) => Effect.gen(function* () {
|
|
71
|
+
const environment = mergeProviderInstanceEnvironment(input.environment);
|
|
72
|
+
const server = yield* ServerConfig;
|
|
73
|
+
const path = yield* Path.Path;
|
|
74
|
+
const spawner = yield* ChildProcessSpawner.ChildProcessSpawner;
|
|
75
|
+
const loggers = yield* ProviderEventLoggers;
|
|
76
|
+
const continuationIdentity = defaultProviderContinuationIdentity({
|
|
77
|
+
driverKind: DRIVER,
|
|
78
|
+
instanceId: input.instanceId
|
|
79
|
+
});
|
|
80
|
+
const changes = yield* PubSub.sliding(1);
|
|
81
|
+
yield* Effect.addFinalizer(() => PubSub.shutdown(changes));
|
|
82
|
+
const initial = {
|
|
83
|
+
instanceId: input.instanceId,
|
|
84
|
+
driver: DRIVER,
|
|
85
|
+
displayName: input.displayName ?? (input.config.agentId || "ACP Registry"),
|
|
86
|
+
...input.accentColor ? { accentColor: input.accentColor } : {},
|
|
87
|
+
continuation: { groupKey: continuationIdentity.continuationKey },
|
|
88
|
+
enabled: input.enabled,
|
|
89
|
+
installed: false,
|
|
90
|
+
version: input.config.version || null,
|
|
91
|
+
status: input.enabled ? "warning" : "disabled",
|
|
92
|
+
auth: { status: "unknown" },
|
|
93
|
+
checkedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
94
|
+
models: [{
|
|
95
|
+
slug: "default",
|
|
96
|
+
name: "Agent default",
|
|
97
|
+
isCustom: false,
|
|
98
|
+
capabilities: { optionDescriptors: [] }
|
|
99
|
+
}],
|
|
100
|
+
slashCommands: [],
|
|
101
|
+
skills: [],
|
|
102
|
+
showInteractionModeToggle: false,
|
|
103
|
+
supportsAskMode: false,
|
|
104
|
+
supportsTurnSteering: false,
|
|
105
|
+
message: "Install the pinned registry version to use this provider.",
|
|
106
|
+
acpCapabilities: {
|
|
107
|
+
loadSession: false,
|
|
108
|
+
resumeSession: false,
|
|
109
|
+
models: false,
|
|
110
|
+
commands: false,
|
|
111
|
+
usage: false,
|
|
112
|
+
terminal: false,
|
|
113
|
+
promptImages: false,
|
|
114
|
+
promptAudio: false
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
const state = yield* Ref.make(initial);
|
|
118
|
+
const publish = (f) => Ref.updateAndGet(state, f).pipe(Effect.tap((value) => PubSub.publish(changes, value)), Effect.asVoid);
|
|
119
|
+
const resolveInstalled = resolveAcpRegistryInstallation(input.config).pipe(Effect.provideService(ServerConfig, server), Effect.provideService(Path.Path, path));
|
|
120
|
+
const refresh = resolveInstalled.pipe(Effect.flatMap(() => publish((value) => ({
|
|
121
|
+
...value,
|
|
122
|
+
installed: true,
|
|
123
|
+
status: input.enabled ? "ready" : "disabled",
|
|
124
|
+
message: input.enabled ? "Installed and verified. Capabilities are discovered when a session starts." : "Provider is disabled.",
|
|
125
|
+
checkedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
126
|
+
}))), Effect.catch(() => publish((value) => ({
|
|
127
|
+
...value,
|
|
128
|
+
installed: false,
|
|
129
|
+
status: input.enabled ? "warning" : "disabled",
|
|
130
|
+
message: "Install the pinned registry version to use this provider.",
|
|
131
|
+
checkedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
132
|
+
}))), Effect.andThen(Ref.get(state)));
|
|
133
|
+
yield* refresh;
|
|
134
|
+
let sessionModelSwitch = "unsupported";
|
|
135
|
+
const adapter = yield* makeAcpAdapter({
|
|
136
|
+
getSessionModelSwitch: () => sessionModelSwitch,
|
|
137
|
+
respectPromptCapabilities: true,
|
|
138
|
+
provider: DRIVER,
|
|
139
|
+
instanceId: input.instanceId,
|
|
140
|
+
environment,
|
|
141
|
+
normalizeModel: (model) => model === "default" ? "" : model.trim(),
|
|
142
|
+
...loggers.native ? { nativeEventLogger: loggers.native } : {},
|
|
143
|
+
makeRuntime: (options) => Effect.gen(function* () {
|
|
144
|
+
const installed = yield* resolveInstalled;
|
|
145
|
+
return yield* makeRegistryAcpRuntime({
|
|
146
|
+
settings: input.config,
|
|
147
|
+
installed,
|
|
148
|
+
environment,
|
|
149
|
+
options
|
|
150
|
+
}).pipe(Effect.provideService(ChildProcessSpawner.ChildProcessSpawner, spawner));
|
|
151
|
+
}),
|
|
152
|
+
onStarted: (result) => {
|
|
153
|
+
sessionModelSwitch = result.sessionSetupResult.models || result.modelConfigId ? "in-session" : "unsupported";
|
|
154
|
+
return publish((value) => projectAcpRegistrySession(value, result));
|
|
155
|
+
},
|
|
156
|
+
onCommands: (commands) => publish((value) => ({
|
|
157
|
+
...value,
|
|
158
|
+
slashCommands: commands.filter((command) => command.name.trim()).map((command) => ({
|
|
159
|
+
name: command.name,
|
|
160
|
+
...command.description ? { description: command.description } : {},
|
|
161
|
+
...command.input?.hint ? { input: { hint: command.input.hint } } : {}
|
|
162
|
+
})),
|
|
163
|
+
acpCapabilities: {
|
|
164
|
+
...initial.acpCapabilities,
|
|
165
|
+
...value.acpCapabilities,
|
|
166
|
+
commands: true
|
|
167
|
+
}
|
|
168
|
+
})),
|
|
169
|
+
onUsage: () => publish((value) => ({
|
|
170
|
+
...value,
|
|
171
|
+
acpCapabilities: {
|
|
172
|
+
...initial.acpCapabilities,
|
|
173
|
+
...value.acpCapabilities,
|
|
174
|
+
usage: true
|
|
175
|
+
}
|
|
176
|
+
}))
|
|
177
|
+
});
|
|
178
|
+
const unsupported = (operation) => Effect.fail(new TextGenerationError({
|
|
179
|
+
operation,
|
|
180
|
+
detail: "This ACP provider does not support background text generation."
|
|
181
|
+
}));
|
|
182
|
+
return {
|
|
183
|
+
instanceId: input.instanceId,
|
|
184
|
+
driverKind: DRIVER,
|
|
185
|
+
continuationIdentity,
|
|
186
|
+
displayName: input.displayName,
|
|
187
|
+
accentColor: input.accentColor,
|
|
188
|
+
enabled: input.enabled,
|
|
189
|
+
adapter,
|
|
190
|
+
textGeneration: {
|
|
191
|
+
answerSideQuestion: () => Effect.fail(new TextGenerationError({
|
|
192
|
+
operation: "answerSideQuestion",
|
|
193
|
+
detail: "ACP Registry agents do not provide an enforceable tool-free side question mode. Select Codex, Claude, or GitHub Copilot for side chat."
|
|
194
|
+
})),
|
|
195
|
+
generateCommitMessage: () => unsupported("generateCommitMessage"),
|
|
196
|
+
generatePrContent: () => unsupported("generatePrContent"),
|
|
197
|
+
generateBranchName: () => unsupported("generateBranchName"),
|
|
198
|
+
generateThreadTitle: () => unsupported("generateThreadTitle"),
|
|
199
|
+
generateIssueContent: () => unsupported("generateIssueContent"),
|
|
200
|
+
rankInboxThreads: () => unsupported("rankInboxThreads")
|
|
201
|
+
},
|
|
202
|
+
snapshot: {
|
|
203
|
+
maintenanceCapabilities: makeManualOnlyProviderMaintenanceCapabilities({
|
|
204
|
+
provider: DRIVER,
|
|
205
|
+
packageName: null
|
|
206
|
+
}),
|
|
207
|
+
getSnapshot: Ref.get(state),
|
|
208
|
+
refresh,
|
|
209
|
+
revalidate: refresh,
|
|
210
|
+
streamChanges: Stream.fromPubSub(changes)
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
}).pipe(Effect.mapError((cause) => new ProviderDriverError({
|
|
214
|
+
driver: DRIVER,
|
|
215
|
+
instanceId: input.instanceId,
|
|
216
|
+
detail: "Failed to create ACP registry provider.",
|
|
217
|
+
cause
|
|
218
|
+
})))
|
|
219
|
+
};
|
|
220
|
+
//#endregion
|
|
221
|
+
export { AcpRegistryDriver, projectAcpRegistrySession };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-
|
|
3
|
+
const require_src = require("./src-BlzIcnVG.cjs");
|
|
4
|
+
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-CyUhKJLD.cjs");
|
|
5
5
|
const require_bin = require("./bin.cjs");
|
|
6
6
|
let effect = require("effect");
|
|
7
7
|
//#region src/sourceControl/AzureDevOpsSourceControlProvider.ts
|
|
8
8
|
function providerError(operation, cause) {
|
|
9
|
-
return new
|
|
9
|
+
return new require_src.SourceControlProviderError({
|
|
10
10
|
provider: "azure-devops",
|
|
11
11
|
operation,
|
|
12
12
|
detail: cause.detail,
|
|
@@ -43,7 +43,7 @@ function toIssueDetail(raw, options) {
|
|
|
43
43
|
body: raw.body,
|
|
44
44
|
comments: raw.comments,
|
|
45
45
|
truncated: false
|
|
46
|
-
} :
|
|
46
|
+
} : require_src.truncateSourceControlDetailContent({
|
|
47
47
|
body: raw.body,
|
|
48
48
|
comments: raw.comments
|
|
49
49
|
});
|
|
@@ -63,7 +63,7 @@ function toChangeRequestDetail(raw, options) {
|
|
|
63
63
|
body: raw.body,
|
|
64
64
|
comments: raw.comments,
|
|
65
65
|
truncated: false
|
|
66
|
-
} :
|
|
66
|
+
} : require_src.truncateSourceControlDetailContent({
|
|
67
67
|
body: raw.body,
|
|
68
68
|
comments: raw.comments
|
|
69
69
|
});
|
|
@@ -122,12 +122,12 @@ const make = effect.Effect.fn("makeAzureDevOpsSourceControlProvider")(function*
|
|
|
122
122
|
cwd: input.cwd,
|
|
123
123
|
reference: input.reference
|
|
124
124
|
}).pipe(effect.Effect.map((raw) => toIssueDetail(raw, { fullContent: input.fullContent ?? false })), effect.Effect.mapError((error) => providerError("getIssue", error))),
|
|
125
|
-
addIssueComment: () => effect.Effect.fail(new
|
|
125
|
+
addIssueComment: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
126
126
|
provider: "azure-devops",
|
|
127
127
|
operation: "addIssueComment",
|
|
128
128
|
detail: "Not implemented for azure-devops"
|
|
129
129
|
})),
|
|
130
|
-
addIssueCommentReaction: () => effect.Effect.fail(new
|
|
130
|
+
addIssueCommentReaction: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
131
131
|
provider: "azure-devops",
|
|
132
132
|
operation: "addIssueCommentReaction",
|
|
133
133
|
detail: "Not implemented for azure-devops"
|
|
@@ -146,38 +146,38 @@ const make = effect.Effect.fn("makeAzureDevOpsSourceControlProvider")(function*
|
|
|
146
146
|
cwd: input.cwd,
|
|
147
147
|
reference: input.reference
|
|
148
148
|
}).pipe(effect.Effect.map((raw) => toChangeRequestDetail(raw, { fullContent: input.fullContent ?? false })), effect.Effect.mapError((error) => providerError("getChangeRequestDetail", error))),
|
|
149
|
-
addChangeRequestComment: () => effect.Effect.fail(new
|
|
149
|
+
addChangeRequestComment: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
150
150
|
provider: "azure-devops",
|
|
151
151
|
operation: "addChangeRequestComment",
|
|
152
152
|
detail: "Not implemented for azure-devops"
|
|
153
153
|
})),
|
|
154
|
-
addChangeRequestCommentReaction: () => effect.Effect.fail(new
|
|
154
|
+
addChangeRequestCommentReaction: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
155
155
|
provider: "azure-devops",
|
|
156
156
|
operation: "addChangeRequestCommentReaction",
|
|
157
157
|
detail: "Not implemented for azure-devops"
|
|
158
158
|
})),
|
|
159
159
|
getChangeRequestDiff: (_input) => effect.Effect.succeed(""),
|
|
160
|
-
createIssue: () => effect.Effect.fail(new
|
|
160
|
+
createIssue: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
161
161
|
provider: "azure-devops",
|
|
162
162
|
operation: "createIssue",
|
|
163
163
|
detail: "Not implemented in Phase 1"
|
|
164
164
|
})),
|
|
165
|
-
listLabels: () => effect.Effect.fail(new
|
|
165
|
+
listLabels: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
166
166
|
provider: "azure-devops",
|
|
167
167
|
operation: "listLabels",
|
|
168
168
|
detail: "Not implemented in Phase 1"
|
|
169
169
|
})),
|
|
170
|
-
listAssignees: () => effect.Effect.fail(new
|
|
170
|
+
listAssignees: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
171
171
|
provider: "azure-devops",
|
|
172
172
|
operation: "listAssignees",
|
|
173
173
|
detail: "Not implemented in Phase 1"
|
|
174
174
|
})),
|
|
175
|
-
getPullRequestState: () => effect.Effect.fail(new
|
|
175
|
+
getPullRequestState: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
176
176
|
provider: "azure-devops",
|
|
177
177
|
operation: "getPullRequestState",
|
|
178
178
|
detail: "Not implemented for azure-devops"
|
|
179
179
|
})),
|
|
180
|
-
getIssueState: () => effect.Effect.fail(new
|
|
180
|
+
getIssueState: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
181
181
|
provider: "azure-devops",
|
|
182
182
|
operation: "getIssueState",
|
|
183
183
|
detail: "Not implemented for azure-devops"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { l as sourceControlRefFromInput, o as SourceControlProvider, t as azureDevOpsDiscovery } from "./SourceControlProviderDiscoveryCatalog-
|
|
5
|
-
import {
|
|
3
|
+
import { lo as truncateSourceControlDetailContent, so as SourceControlProviderError } from "./src-DtEOcXdl.mjs";
|
|
4
|
+
import { l as sourceControlRefFromInput, o as SourceControlProvider, t as azureDevOpsDiscovery } from "./SourceControlProviderDiscoveryCatalog-BVvq7liJ.mjs";
|
|
5
|
+
import { ar as AzureDevOpsCli } from "./bin.mjs";
|
|
6
6
|
import { DateTime, Effect, Layer, Option } from "effect";
|
|
7
7
|
//#region src/sourceControl/AzureDevOpsSourceControlProvider.ts
|
|
8
8
|
function providerError(operation, cause) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as makeBitbucketDiscovery, l as sourceControlRefFromInput, o as SourceControlProvider } from "./SourceControlProviderDiscoveryCatalog-
|
|
5
|
-
import {
|
|
3
|
+
import { lo as truncateSourceControlDetailContent, so as SourceControlProviderError } from "./src-DtEOcXdl.mjs";
|
|
4
|
+
import { i as makeBitbucketDiscovery, l as sourceControlRefFromInput, o as SourceControlProvider } from "./SourceControlProviderDiscoveryCatalog-BVvq7liJ.mjs";
|
|
5
|
+
import { ir as BitbucketApi } from "./bin.mjs";
|
|
6
6
|
import { DateTime, Effect, Layer, Option } from "effect";
|
|
7
7
|
//#region src/sourceControl/BitbucketSourceControlProvider.ts
|
|
8
8
|
function providerError(operation, cause) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-
|
|
3
|
+
const require_src = require("./src-BlzIcnVG.cjs");
|
|
4
|
+
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-CyUhKJLD.cjs");
|
|
5
5
|
const require_bin = require("./bin.cjs");
|
|
6
6
|
let effect = require("effect");
|
|
7
7
|
//#region src/sourceControl/BitbucketSourceControlProvider.ts
|
|
8
8
|
function providerError(operation, cause) {
|
|
9
|
-
return new
|
|
9
|
+
return new require_src.SourceControlProviderError({
|
|
10
10
|
provider: "bitbucket",
|
|
11
11
|
operation,
|
|
12
12
|
detail: cause.detail,
|
|
@@ -47,7 +47,7 @@ function toIssueDetail(raw, options) {
|
|
|
47
47
|
body: raw.body,
|
|
48
48
|
comments: raw.comments,
|
|
49
49
|
truncated: false
|
|
50
|
-
} :
|
|
50
|
+
} : require_src.truncateSourceControlDetailContent({
|
|
51
51
|
body: raw.body,
|
|
52
52
|
comments: raw.comments
|
|
53
53
|
});
|
|
@@ -67,7 +67,7 @@ function toChangeRequestDetail(raw, options) {
|
|
|
67
67
|
body: raw.body,
|
|
68
68
|
comments: raw.comments,
|
|
69
69
|
truncated: false
|
|
70
|
-
} :
|
|
70
|
+
} : require_src.truncateSourceControlDetailContent({
|
|
71
71
|
body: raw.body,
|
|
72
72
|
comments: raw.comments
|
|
73
73
|
});
|
|
@@ -145,12 +145,12 @@ const make = effect.Effect.fn("makeBitbucketSourceControlProvider")(function* ()
|
|
|
145
145
|
...input.context ? { context: input.context } : {},
|
|
146
146
|
reference: input.reference
|
|
147
147
|
}).pipe(effect.Effect.map((raw) => toIssueDetail(raw, { fullContent: input.fullContent ?? false })), effect.Effect.mapError((error) => providerError("getIssue", error))),
|
|
148
|
-
addIssueComment: () => effect.Effect.fail(new
|
|
148
|
+
addIssueComment: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
149
149
|
provider: "bitbucket",
|
|
150
150
|
operation: "addIssueComment",
|
|
151
151
|
detail: "Not implemented for bitbucket"
|
|
152
152
|
})),
|
|
153
|
-
addIssueCommentReaction: () => effect.Effect.fail(new
|
|
153
|
+
addIssueCommentReaction: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
154
154
|
provider: "bitbucket",
|
|
155
155
|
operation: "addIssueCommentReaction",
|
|
156
156
|
detail: "Not implemented for bitbucket"
|
|
@@ -172,12 +172,12 @@ const make = effect.Effect.fn("makeBitbucketSourceControlProvider")(function* ()
|
|
|
172
172
|
...input.context ? { context: input.context } : {},
|
|
173
173
|
reference: input.reference
|
|
174
174
|
}).pipe(effect.Effect.map((raw) => toChangeRequestDetail(raw, { fullContent: input.fullContent ?? false })), effect.Effect.mapError((error) => providerError("getChangeRequestDetail", error))),
|
|
175
|
-
addChangeRequestComment: () => effect.Effect.fail(new
|
|
175
|
+
addChangeRequestComment: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
176
176
|
provider: "bitbucket",
|
|
177
177
|
operation: "addChangeRequestComment",
|
|
178
178
|
detail: "Not implemented for bitbucket"
|
|
179
179
|
})),
|
|
180
|
-
addChangeRequestCommentReaction: () => effect.Effect.fail(new
|
|
180
|
+
addChangeRequestCommentReaction: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
181
181
|
provider: "bitbucket",
|
|
182
182
|
operation: "addChangeRequestCommentReaction",
|
|
183
183
|
detail: "Not implemented for bitbucket"
|
|
@@ -187,27 +187,27 @@ const make = effect.Effect.fn("makeBitbucketSourceControlProvider")(function* ()
|
|
|
187
187
|
...input.context ? { context: input.context } : {},
|
|
188
188
|
reference: input.reference
|
|
189
189
|
}).pipe(effect.Effect.mapError((error) => providerError("getChangeRequestDiff", error))),
|
|
190
|
-
createIssue: () => effect.Effect.fail(new
|
|
190
|
+
createIssue: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
191
191
|
provider: "bitbucket",
|
|
192
192
|
operation: "createIssue",
|
|
193
193
|
detail: "Not implemented in Phase 1"
|
|
194
194
|
})),
|
|
195
|
-
listLabels: () => effect.Effect.fail(new
|
|
195
|
+
listLabels: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
196
196
|
provider: "bitbucket",
|
|
197
197
|
operation: "listLabels",
|
|
198
198
|
detail: "Not implemented in Phase 1"
|
|
199
199
|
})),
|
|
200
|
-
listAssignees: () => effect.Effect.fail(new
|
|
200
|
+
listAssignees: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
201
201
|
provider: "bitbucket",
|
|
202
202
|
operation: "listAssignees",
|
|
203
203
|
detail: "Not implemented in Phase 1"
|
|
204
204
|
})),
|
|
205
|
-
getPullRequestState: () => effect.Effect.fail(new
|
|
205
|
+
getPullRequestState: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
206
206
|
provider: "bitbucket",
|
|
207
207
|
operation: "getPullRequestState",
|
|
208
208
|
detail: "Not implemented for bitbucket"
|
|
209
209
|
})),
|
|
210
|
-
getIssueState: () => effect.Effect.fail(new
|
|
210
|
+
getIssueState: () => effect.Effect.fail(new require_src.SourceControlProviderError({
|
|
211
211
|
provider: "bitbucket",
|
|
212
212
|
operation: "getIssueState",
|
|
213
213
|
detail: "Not implemented for bitbucket"
|