ryco-cli 0.1.18 → 0.1.20
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/{AcpNativeLogging-CUpW8y6E.cjs → AcpNativeLogging-Bh7MX3rC.cjs} +1 -1
- package/dist/{AcpNativeLogging-hu4rXzHU.mjs → AcpNativeLogging-CLM3p9JD.mjs} +2 -2
- package/dist/{AzureDevOpsSourceControlProvider-DAdboLpu.cjs → AzureDevOpsSourceControlProvider-D9QXGi1h.cjs} +2 -2
- package/dist/{AzureDevOpsSourceControlProvider-C7Ff-COJ.mjs → AzureDevOpsSourceControlProvider-jQm1WPMS.mjs} +3 -3
- package/dist/{BitbucketSourceControlProvider-Bg6lSYm8.cjs → BitbucketSourceControlProvider-C3VDp9qR.cjs} +2 -2
- package/dist/{BitbucketSourceControlProvider-CMPQXie7.mjs → BitbucketSourceControlProvider-j95Cro_2.mjs} +3 -3
- package/dist/{ClaudeDriver-Nc7gDoUZ.mjs → ClaudeDriver-CT89QDP8.mjs} +124 -285
- package/dist/{ClaudeDriver-CILJj4bi.cjs → ClaudeDriver-DiRhQM2K.cjs} +123 -284
- package/dist/{CodexDriver-CdE1fyKF.cjs → CodexDriver-BmKoU7w_.cjs} +3 -3
- package/dist/{CodexDriver-OeWoP24r.mjs → CodexDriver-CBYfPl_X.mjs} +4 -4
- package/dist/{CodexTextGeneration-CKacDpkR.mjs → CodexTextGeneration-B7GPyLo2.mjs} +2 -2
- package/dist/{CodexTextGeneration-BJvCqVzm.cjs → CodexTextGeneration-CuXvtfAi.cjs} +1 -1
- package/dist/{CopilotDriver-C6IkwOg5.mjs → CopilotDriver-BJ1P_bHz.mjs} +4 -4
- package/dist/{CopilotDriver-5toln6vu.cjs → CopilotDriver-XX5zmGVK.cjs} +3 -3
- package/dist/{CursorDriver-BPyhSbOl.mjs → CursorDriver-BH6yAijk.mjs} +4 -4
- package/dist/{CursorDriver-otlL4axb.cjs → CursorDriver-CYMXQKec.cjs} +3 -3
- package/dist/{ForgejoSourceControlProvider-SZj0DxRM.cjs → ForgejoSourceControlProvider-Dzg-BJY_.cjs} +2 -2
- package/dist/{ForgejoSourceControlProvider-Df0EwCPV.mjs → ForgejoSourceControlProvider-ZfU3SBzW.mjs} +3 -3
- package/dist/{GitHubSourceControlProvider-D9v0HrDd.cjs → GitHubSourceControlProvider-BpyIi23Q.cjs} +2 -2
- package/dist/{GitHubSourceControlProvider-G07yjZJS.mjs → GitHubSourceControlProvider-Bx5_H3zb.mjs} +3 -3
- package/dist/{GitLabSourceControlProvider-D7NhCVP9.mjs → GitLabSourceControlProvider-DjvGD1WZ.mjs} +3 -3
- package/dist/{GitLabSourceControlProvider-BTXml3Wh.cjs → GitLabSourceControlProvider-QccSsOnx.cjs} +2 -2
- package/dist/{GrokDriver-VxcAlypB.mjs → GrokDriver-BPIUrqkN.mjs} +4 -4
- package/dist/{GrokDriver-BkU6D5ZE.cjs → GrokDriver-jE4az7JZ.cjs} +3 -3
- package/dist/{OpenCodeDriver-CXvTVYvY.cjs → OpenCodeDriver-IbZqAzYW.cjs} +2 -2
- package/dist/{OpenCodeDriver-fQlgTeuI.mjs → OpenCodeDriver-_hUfFwH4.mjs} +3 -3
- package/dist/{SourceControlProviderDiscoveryCatalog-dqetZQiC.mjs → SourceControlProviderDiscoveryCatalog-CHxCP6Ng.mjs} +1 -1
- package/dist/{SourceControlProviderDiscoveryCatalog-CR-cmnC-.cjs → SourceControlProviderDiscoveryCatalog-CnkV-oKD.cjs} +1 -1
- package/dist/bin.cjs +1015 -89
- package/dist/bin.mjs +1012 -91
- package/dist/client/assets/{AccountSettings-C3YGn5s7.js → AccountSettings-CvD49Uja.js} +1 -1
- package/dist/client/assets/{AiFocusSettings-CNucfJ5Y.js → AiFocusSettings-CYIp0JOV.js} +1 -1
- package/dist/client/assets/{AnimatedHeight-B8ZeY3LL.js → AnimatedHeight-CM_Eh6tz.js} +1 -1
- package/dist/client/assets/{AppearanceSettings-D1MyfaES.js → AppearanceSettings-BwUAv5oz.js} +1 -1
- package/dist/client/assets/{BranchToolbar.logic-CN2-yLTE.js → BranchToolbar.logic-CKKpnCfs.js} +1 -1
- package/dist/client/assets/{ChatRightPanel-DhZiZCcx.js → ChatRightPanel-DYXZNh1m.js} +3 -3
- package/dist/client/assets/{ChatThreadRouteView-CR8HQgm3.js → ChatThreadRouteView-B0kj0wFr.js} +1 -1
- package/dist/client/assets/{CommandPaletteDialog-ChB99Jee.js → CommandPaletteDialog-CJKvYVxh.js} +1 -1
- package/dist/client/assets/{CompositeItem-CxRCTsWt.js → CompositeItem-B4ITmHni.js} +1 -1
- package/dist/client/assets/{CompositeRoot-CDscEk_b.js → CompositeRoot-C5I2Yh5e.js} +1 -1
- package/dist/client/assets/{ConnectionsSettings-Dsewo1mI.js → ConnectionsSettings-4l-DXYo6.js} +1 -1
- package/dist/client/assets/{DiagnosticsSettings-ClUk2Ycp.js → DiagnosticsSettings-B6IUUiYM.js} +1 -1
- package/dist/client/assets/{DialogHandle-BGW2rJq8.js → DialogHandle-Bs7TUuxl.js} +1 -1
- package/dist/client/assets/{DialogPopup-9zEMlOyz.js → DialogPopup-BAK5J3da.js} +1 -1
- package/dist/client/assets/DialogRoot-DMnQO_iQ.js +1 -0
- package/dist/client/assets/{DialogTitle-7dK2BQ85.js → DialogTitle-B1m3rLO-.js} +1 -1
- package/dist/client/assets/{DialogTrigger-B7jdDPNa.js → DialogTrigger-VXV8wYO4.js} +1 -1
- package/dist/client/assets/{DialogViewport-BrRcGV_l.js → DialogViewport-yUeHNu43.js} +1 -1
- package/dist/client/assets/{DraftChatThreadRouteView-C7HNQzJO.js → DraftChatThreadRouteView-C39ZNgWr.js} +1 -1
- package/dist/client/assets/{ExternalIdentityWeb.logic-DS77EplU.js → ExternalIdentityWeb.logic-TlJdh82R.js} +1 -1
- package/dist/client/assets/{GlassSurface--5lIEJCy.js → GlassSurface-BWk2twKc.js} +1 -1
- package/dist/client/assets/{HostedConnectionControls-5f2EOB5t.js → HostedConnectionControls-DO5uPfav.js} +1 -1
- package/dist/client/assets/{HostedHubRoot-tRaAruhb.js → HostedHubRoot-DkHX6TkK.js} +1 -1
- package/dist/client/assets/{HostedNativeAuthorizationRoute-B4SBCUZq.js → HostedNativeAuthorizationRoute-C1VRYU0-.js} +1 -1
- package/dist/client/assets/{HostedRelayTrustNotice-D7TIN2KZ.js → HostedRelayTrustNotice-Cl7lRwRJ.js} +1 -1
- package/dist/client/assets/{Icons-CqMTQkuR.js → Icons-uMh1k5C0.js} +1 -1
- package/dist/client/assets/{IntegrationsSettingsPanel-Be0RMI3X.js → IntegrationsSettingsPanel-Mx-1xSUL.js} +1 -1
- package/dist/client/assets/{KeybindingsSettings-BxoOXbJf.js → KeybindingsSettings-Bv3H18VO.js} +1 -1
- package/dist/client/assets/{McpServersSettings-D6wFULhe.js → McpServersSettings-Cbq-uHU3.js} +1 -1
- package/dist/client/assets/{MobileSheet-fqwVmSQY.js → MobileSheet-DS7_soKu.js} +1 -1
- package/dist/client/assets/{NewWorktreeDialog-DljDMikm.js → NewWorktreeDialog-CLm1JR27.js} +1 -1
- package/dist/client/assets/{NoActiveThreadState-DvLgUR0A.js → NoActiveThreadState-CFxNrhs_.js} +1 -1
- package/dist/client/assets/{NodeSecuritySettings-BYX0uV1b.js → NodeSecuritySettings-B3uURyma.js} +1 -1
- package/dist/client/assets/{OpinionatedPluginsSettings-ZOQ0n5GP.js → OpinionatedPluginsSettings-B7gZOBCs.js} +1 -1
- package/dist/client/assets/{PhoneGetAppInterstitial-DzlPIIW0.js → PhoneGetAppInterstitial-DQdUrqs1.js} +1 -1
- package/dist/client/assets/{PhoneGetAppInterstitialBackdrop-C_j-OVwR.js → PhoneGetAppInterstitialBackdrop-DbRPU11Z.js} +1 -1
- package/dist/client/assets/{PhoneHome-BIYOn5P7.js → PhoneHome-BbZKBYb8.js} +1 -1
- package/dist/client/assets/{PhoneSettingsSurface-CL26SDJP.js → PhoneSettingsSurface-BJ8jDucY.js} +1 -1
- package/dist/client/assets/{ProjectFavicon-BLFEmLYd.js → ProjectFavicon-DHnstN4J.js} +1 -1
- package/dist/client/assets/ProviderModelPicker-Ch69G0-0.js +1 -0
- package/dist/client/assets/{ProviderUpdateLaunchNotification.logic-DcLWligu.js → ProviderUpdateLaunchNotification.logic-D3qYdp40.js} +1 -1
- package/dist/client/assets/{ProvidersSettingsPanel-tIQSB1Ni.js → ProvidersSettingsPanel-Dz-1od7X.js} +1 -1
- package/dist/client/assets/{RedactedSensitiveText-DnYWrxD2.js → RedactedSensitiveText-BORE69Ig.js} +1 -1
- package/dist/client/assets/{RootAppShell-BVqIVDWT.js → RootAppShell-DnesFYfo.js} +2 -2
- package/dist/client/assets/{RycoLetterMark-C1QHVbKN.js → RycoLetterMark-DDx_gBX-.js} +1 -1
- package/dist/client/assets/{SettingsDialog-TY6l7DuD.js → SettingsDialog-CWK_H1sI.js} +1 -1
- package/dist/client/assets/{SettingsPanels-_-BazuGl.js → SettingsPanels-DxMEuovz.js} +1 -1
- package/dist/client/assets/{SettingsPanels.editor-Bl_mOgB-.js → SettingsPanels.editor-D2gxvDPy.js} +1 -1
- package/dist/client/assets/{SourceControlSettings-CwRuv7T6.js → SourceControlSettings-CB2SdaRk.js} +1 -1
- package/dist/client/assets/{StatisticsPage-DAvOIX_d.js → StatisticsPage-MhMDuSSQ.js} +1 -1
- package/dist/client/assets/{StatisticsPanel-BfmqkZgK.js → StatisticsPanel-D3d0bJgk.js} +1 -1
- package/dist/client/assets/{StatisticsSettingsLink-J-iBGP5I.js → StatisticsSettingsLink-DlnQpfyr.js} +1 -1
- package/dist/client/assets/{ThreadStatusIndicators-BzpZG_IZ.js → ThreadStatusIndicators-CPpIFcAC.js} +0 -0
- package/dist/client/assets/{ThreadTerminalDrawer-DZy0S10m.js → ThreadTerminalDrawer-DvadlVXV.js} +1 -1
- package/dist/client/assets/{ThreadWorkspacePanel-PRfBFuHE.js → ThreadWorkspacePanel-Ct9EINsa.js} +1 -1
- package/dist/client/assets/{ToolbarRootContext-C48gkU4j.js → ToolbarRootContext-DtUqN8i6.js} +1 -1
- package/dist/client/assets/{WorkItemsTab-EO7aDVI8.js → WorkItemsTab-CI6hTQ_k.js} +1 -1
- package/dist/client/assets/{alert-C24pxxYz.js → alert-DQjuri3D.js} +1 -1
- package/dist/client/assets/{alert-dialog-iYnjheVe.js → alert-dialog-Cb2TnXzy.js} +1 -1
- package/dist/client/assets/{authorization-BNZY2k8w.js → authorization-BrGZruGo.js} +1 -1
- package/dist/client/assets/{badge-tHmsB3yQ.js → badge-Cil0isYQ.js} +1 -1
- package/dist/client/assets/{branding-hWmEaQ8d.js → branding-BEx1jrAA.js} +1 -1
- package/dist/client/assets/{button-WR80VgkK.js → button-CBqaO2Ub.js} +1 -1
- package/dist/client/assets/{capabilities-CXhsftU9.js → capabilities-Cj8jXZOW.js} +1 -1
- package/dist/client/assets/{chatThreadActions-C6tNI5Qi.js → chatThreadActions-kwD_yAEt.js} +1 -1
- package/dist/client/assets/{collapsible-BUn1kona.js → collapsible-DBPd--L7.js} +1 -1
- package/dist/client/assets/{command-CfaBUmS3.js → command-DuPvkUAz.js} +1 -1
- package/dist/client/assets/{composerDraftStore-DXTD6mKH.js → composerDraftStore-czbuHgbM.js} +1 -1
- package/dist/client/assets/{data-list-jNXWZwx3.js → data-list-BNy2Nwkd.js} +1 -1
- package/dist/client/assets/{desktopUpdateAtoms-C6z0AhGE.js → desktopUpdateAtoms-Dz4zQu-C.js} +1 -1
- package/dist/client/assets/{desktopWorkspace-BFTBEpzF.js → desktopWorkspace-wrPRMcOi.js} +1 -1
- package/dist/client/assets/{device-DB8v-PV8.js → device-DbMaLmeM.js} +1 -1
- package/dist/client/assets/{dialog-CwRtKu2U.js → dialog-Csp7hsmq.js} +1 -1
- package/dist/client/assets/{draft-input-BHjWDHqU.js → draft-input-COB-ymgx.js} +1 -1
- package/dist/client/assets/{editorPreferences-BqfWlBPx.js → editorPreferences-lQ3Fm4yA.js} +1 -1
- package/dist/client/assets/{empty-CITbdlFs.js → empty-BcTA7vWq.js} +1 -1
- package/dist/client/assets/{env-Bcy-9P3V.js → env-BZZxbmon.js} +1 -1
- package/dist/client/assets/{getPseudoElementBounds-BPmVta2g.js → getPseudoElementBounds-BaLrkv_J.js} +1 -1
- package/dist/client/assets/{group-BpXcg5Ba.js → group-CCjhaP2K.js} +1 -1
- package/dist/client/assets/{index-CnRziuz2.js → index-QY6vcnCY.js} +2 -2
- package/dist/client/assets/{input-Ba4jS4Ks.js → input-pu0UXdN_.js} +1 -1
- package/dist/client/assets/{kbd-BvgpGZEI.js → kbd-xUvRCeUS.js} +1 -1
- package/dist/client/assets/{keybindings-QVMzXI5S.js → keybindings-Bj6xWIbQ.js} +1 -1
- package/dist/client/assets/{label-2jpS7gCY.js → label-BzDE8wjR.js} +1 -1
- package/dist/client/assets/{lib-CuR3OHWo.js → lib-B6XyeqaU.js} +1 -1
- package/dist/client/assets/{logging-CTOc5ONT.js → logging-1BfRrhxL.js} +1 -1
- package/dist/client/assets/main-CZzCxtM-.css +2 -0
- package/dist/client/assets/{main-C5za36qj.js → main-stppnsiU.js} +2 -2
- package/dist/client/assets/{menu-CsEBcjDz.js → menu-g3Hcm2JF.js} +1 -1
- package/dist/client/assets/{popover-BpnQc7ji.js → popover-z5hURYff.js} +1 -1
- package/dist/client/assets/{primary-DiL6nRV-.js → primary-AnB-Zuft.js} +1 -1
- package/dist/client/assets/{projectPaths-DDcwkag5.js → projectPaths-BFTUsvWs.js} +1 -1
- package/dist/client/assets/{providerDriverMeta-DrgHrvO3.js → providerDriverMeta-C9M8tUrj.js} +1 -1
- package/dist/client/assets/{providerIconUtils-VIm6bh4U.js → providerIconUtils-BXecnJ0v.js} +1 -1
- package/dist/client/assets/providerInstances-CMy-5cGE.js +1 -0
- package/dist/client/assets/providerModels-CMy-5cGE.js +1 -0
- package/dist/client/assets/{qr-code-CXu67ChC.js → qr-code-B6lBPRxy.js} +1 -1
- package/dist/client/assets/{radio-group-B7kMeg_h.js → radio-group-DQahlnSi.js} +1 -1
- package/dist/client/assets/{resolveAriaLabelledBy-DoGkVnyF.js → resolveAriaLabelledBy-CUqcBhyS.js} +1 -1
- package/dist/client/assets/{rightPanelRouteSearch-YV6CEBkv.js → rightPanelRouteSearch-uEySicf2.js} +1 -1
- package/dist/client/assets/{runtime-Cy36EhFa.js → runtime-DRPzstwF.js} +1 -1
- package/dist/client/assets/{scroll-area-BZayohht.js → scroll-area-CzUrMo2h.js} +1 -1
- package/dist/client/assets/{scrollEdges-BObY5qgX.js → scrollEdges-C5VxoJIp.js} +1 -1
- package/dist/client/assets/{select-DQIoKiCF.js → select-_C7bRT7k.js} +1 -1
- package/dist/client/assets/{separator-DgV5UvWO.js → separator-CFUmZFfK.js} +1 -1
- package/dist/client/assets/{session-logic-yjrYZ67x.js → session-logic-C5moG_sv.js} +1 -1
- package/dist/client/assets/{settingsDialogStore-CzH3-ZEg.js → settingsDialogStore-DnU14tMG.js} +1 -1
- package/dist/client/assets/{settingsLayout-BPKHc7wz.js → settingsLayout-zwP6p5aD.js} +1 -1
- package/dist/client/assets/{sheet-BxlpAnIJ.js → sheet-BoROLwxR.js} +1 -1
- package/dist/client/assets/{sidebar-CuxI1O8j.js → sidebar-5T3qKIfp.js} +1 -1
- package/dist/client/assets/{sidebarProjectFolders-Bi8I6mH5.js → sidebarProjectFolders-Bzdw3xc6.js} +1 -1
- package/dist/client/assets/{sidebarStatusText-DTXq8x3L.js → sidebarStatusText-q88Acn3r.js} +1 -1
- package/dist/client/assets/{skeleton-C8KnJ1KQ.js → skeleton-C2GDOvXd.js} +1 -1
- package/dist/client/assets/{spinner-D9HJGQ01.js → spinner-Dlyh0j_K.js} +1 -1
- package/dist/client/assets/{src-CtanPQei.js → src-Blzsn4sO.js} +1 -1
- package/dist/client/assets/storeSelectors-BJw1h5Ih.js +1 -0
- package/dist/client/assets/{switch-B50w01tf.js → switch-CIMwetO3.js} +1 -1
- package/dist/client/assets/{terminal-links-C5NsgIQU.js → terminal-links-BJzH2Ipe.js} +1 -1
- package/dist/client/assets/{textarea-CJ8Vux-T.js → textarea-C0_BLJbT.js} +1 -1
- package/dist/client/assets/{threadPinning-B5WtT-P_.js → threadPinning-DQrBoIxu.js} +1 -1
- package/dist/client/assets/{threadPriorityRefreshRuntime-BnDDqCxq.js → threadPriorityRefreshRuntime-D-OkS27H.js} +1 -1
- package/dist/client/assets/{toast-CV5dwFOH.js → toast-D7IDKuLa.js} +1 -1
- package/dist/client/assets/{toggle-DRqyFTHJ.js → toggle-DjmkdNns.js} +1 -1
- package/dist/client/assets/{toggle-group-mhVkQLP2.js → toggle-group-q7LGJy7u.js} +1 -1
- package/dist/client/assets/{tooltip-DZhBSkif.js → tooltip-c9oahm_e.js} +1 -1
- package/dist/client/assets/types-BJw1h5Ih.js +1 -0
- package/dist/client/assets/{uiStateStore-OqZLiCwV.js → uiStateStore-C48VlkZ2.js} +1 -1
- package/dist/client/assets/{useAtlassian-zbqx4xW1.js → useAtlassian-Bpvpm41l.js} +0 -0
- package/dist/client/assets/{useButton-DXIv8wCn.js → useButton-CbjUY1n3.js} +1 -1
- package/dist/client/assets/{useCompositeListItem-rrdFaxXB.js → useCompositeListItem-Mh9CnfjW.js} +1 -1
- package/dist/client/assets/{useDebouncedValue-Dz3pyT5q.js → useDebouncedValue-fMFxXx4-.js} +1 -1
- package/dist/client/assets/{useFloatingRootContext-CIRRjmkd.js → useFloatingRootContext-P6J9bP_1.js} +1 -1
- package/dist/client/assets/{useHandleNewThread-DRoY_cL7.js → useHandleNewThread-C1VSk4Ji.js} +1 -1
- package/dist/client/assets/{useLabelableId-nlk2LM0q.js → useLabelableId-ve_G1Djw.js} +1 -1
- package/dist/client/assets/{useLocation-TExTri5H.js → useLocation-LUorHj6V.js} +1 -1
- package/dist/client/assets/{useOpenInteractionType-Co4_pLo_.js → useOpenInteractionType-BcwkVFGu.js} +1 -1
- package/dist/client/assets/{usePhoneThreadActions-CTmdPjGg.js → usePhoneThreadActions--SRv1Gdm.js} +1 -1
- package/dist/client/assets/{usePopupViewport-SxCh7dCg.js → usePopupViewport-DyXMbxzY.js} +1 -1
- package/dist/client/assets/{useScrollLock-cFFkQSYy.js → useScrollLock-DvPB4gyu.js} +1 -1
- package/dist/client/assets/{useStatistics-D8hzpDv4.js → useStatistics-B4vW9Enx.js} +1 -1
- package/dist/client/assets/{useSwipeDismiss-ALyKckxx.js → useSwipeDismiss-8zZC4ynu.js} +1 -1
- package/dist/client/assets/{useThreadActions-5hLAJAJB.js → useThreadActions-wbcN8Mp3.js} +1 -1
- package/dist/client/assets/{useTriggerFocusGuards-lOK7sLv0.js → useTriggerFocusGuards-DI2oAYh0.js} +1 -1
- package/dist/client/assets/{useValueChanged-BQLjL43O.js → useValueChanged-DeYQvzxH.js} +1 -1
- package/dist/client/assets/{utils-Ct58OPtz.js → utils-Dz7wQZDk.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/{collectUint8StreamText-Bwltp7kn.mjs → collectUint8StreamText-B3klZuIF.mjs} +7 -2
- package/dist/{collectUint8StreamText-D0THfPrP.cjs → collectUint8StreamText-CDu-bszH.cjs} +12 -1
- package/dist/{makeManagedServerProvider-BMSV4Aim.mjs → makeManagedServerProvider-CsaYHU8T.mjs} +2 -2
- package/dist/{makeManagedServerProvider-B7rRjRgd.cjs → makeManagedServerProvider-DeEmDbiq.cjs} +1 -1
- package/package.json +1 -1
- package/dist/client/assets/DialogRoot-Z8JWsDCS.js +0 -1
- package/dist/client/assets/ProviderModelPicker-CWALhPw5.js +0 -1
- package/dist/client/assets/main-CgLLEwXi.css +0 -2
- package/dist/client/assets/providerInstances-pNPE7SuA.js +0 -1
- package/dist/client/assets/providerModels-pNPE7SuA.js +0 -1
- package/dist/client/assets/storeSelectors-DMs36CMz.js +0 -1
- package/dist/client/assets/types-DMs36CMz.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const require_rolldown_runtime = require("./rolldown-runtime-LGfotAqq.cjs");
|
|
4
|
-
const require_collectUint8StreamText = require("./collectUint8StreamText-
|
|
4
|
+
const require_collectUint8StreamText = require("./collectUint8StreamText-CDu-bszH.cjs");
|
|
5
5
|
const require_bin = require("./bin.cjs");
|
|
6
6
|
let effect_Effect = require("effect/Effect");
|
|
7
7
|
effect_Effect = require_rolldown_runtime.__toESM(effect_Effect, 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Jo as RuntimeItemId, Zo as RuntimeSubagentId, qo as ProviderItemId } from "./collectUint8StreamText-B3klZuIF.mjs";
|
|
4
|
+
import { dt as redactAgentControlSecrets, ht as ProviderAdapterSessionClosedError, mt as ProviderAdapterRequestError } from "./bin.mjs";
|
|
5
5
|
import * as Effect$1 from "effect/Effect";
|
|
6
6
|
import * as Layer$1 from "effect/Layer";
|
|
7
7
|
import { Cause, Context, Deferred, Effect, Exit, Layer, Queue, Ref, Schema, Scope, Stream } from "effect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const require_collectUint8StreamText = require("./collectUint8StreamText-
|
|
4
|
-
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-
|
|
3
|
+
const require_collectUint8StreamText = require("./collectUint8StreamText-CDu-bszH.cjs");
|
|
4
|
+
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-CnkV-oKD.cjs");
|
|
5
5
|
const require_bin = require("./bin.cjs");
|
|
6
6
|
let effect = require("effect");
|
|
7
7
|
//#region src/sourceControl/AzureDevOpsSourceControlProvider.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { Ca as SourceControlProviderError, Ta as truncateSourceControlDetailContent } from "./collectUint8StreamText-
|
|
4
|
-
import { l as sourceControlRefFromInput, o as SourceControlProvider, t as azureDevOpsDiscovery } from "./SourceControlProviderDiscoveryCatalog-
|
|
5
|
-
import {
|
|
3
|
+
import { Ca as SourceControlProviderError, Ta as truncateSourceControlDetailContent } from "./collectUint8StreamText-B3klZuIF.mjs";
|
|
4
|
+
import { l as sourceControlRefFromInput, o as SourceControlProvider, t as azureDevOpsDiscovery } from "./SourceControlProviderDiscoveryCatalog-CHxCP6Ng.mjs";
|
|
5
|
+
import { Nn 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,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const require_collectUint8StreamText = require("./collectUint8StreamText-
|
|
4
|
-
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-
|
|
3
|
+
const require_collectUint8StreamText = require("./collectUint8StreamText-CDu-bszH.cjs");
|
|
4
|
+
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-CnkV-oKD.cjs");
|
|
5
5
|
const require_bin = require("./bin.cjs");
|
|
6
6
|
let effect = require("effect");
|
|
7
7
|
//#region src/sourceControl/BitbucketSourceControlProvider.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { Ca as SourceControlProviderError, Ta as truncateSourceControlDetailContent } from "./collectUint8StreamText-
|
|
4
|
-
import { i as makeBitbucketDiscovery, l as sourceControlRefFromInput, o as SourceControlProvider } from "./SourceControlProviderDiscoveryCatalog-
|
|
5
|
-
import {
|
|
3
|
+
import { Ca as SourceControlProviderError, Ta as truncateSourceControlDetailContent } from "./collectUint8StreamText-B3klZuIF.mjs";
|
|
4
|
+
import { i as makeBitbucketDiscovery, l as sourceControlRefFromInput, o as SourceControlProvider } from "./SourceControlProviderDiscoveryCatalog-CHxCP6Ng.mjs";
|
|
5
|
+
import { Mn 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,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $n as ClaudeSettings,
|
|
3
|
+
import { $n as ClaudeSettings, $o as ThreadId, Ha as ProviderInstanceId, Jo as RuntimeItemId, No as ApprovalRequestId, Pn as TextGenerationError, Qo as RuntimeTaskId, Va as ProviderDriverKind, Vo as EventId, Yo as RuntimeRequestId, Zo as RuntimeSubagentId, qo as ProviderItemId, ts as TurnId } from "./collectUint8StreamText-B3klZuIF.mjs";
|
|
4
4
|
import { nt as sanitizeFeatureBranchName, st as ServerConfig, tt as sanitizeBranchFragment } from "./Metrics-BP9YjxZB.mjs";
|
|
5
|
-
import { $ as
|
|
5
|
+
import { $ as buildServerProvider, A as buildCommitMessagePrompt, B as sanitizeThreadTitle, Bn as resolveProviderMaintenanceCapabilitiesEffect, C as decodeClaudeProfileAdapter, D as checkRtkAvailability, E as buildTokenReductionInstructions, F as buildThreadTitlePrompt, G as resolveClaudeHomePath, H as makeClaudeCapabilitiesCacheKey, Hn as ServerSettingsService, In as makePackageManagedProviderMaintenanceResolver, Jn as getModelSelectionBooleanOptionValue, K as mergeProviderInstanceEnvironment, Kn as applyClaudePromptEffortPrefix, L as normalizeCliError, M as buildIssueContentTitlePrompt, N as buildPrContentPrompt, O as validateRankInboxThreadsResult, P as buildThreadPriorityPrompt, Pn as enrichProviderSnapshotWithVersionAdvisory, Qn as getProviderOptionDescriptors, R as sanitizeCommitSubject, S as decodeClaudeModelAdapter, T as makeEventNdjsonLogger, U as makeClaudeContinuationGroupKey, V as toJsonSchemaObject, Vn as compareCliVersions, W as makeClaudeEnvironment, Wn as resolveAttachmentPath, X as DEFAULT_TIMEOUT_MS, Yn as getModelSelectionStringOptionValue, Zn as getProviderOptionCurrentValue, _t as ProviderAdapterValidationError, at as providerModelsFromSettings, b as ModelManifest, ct as agentControlHostContext, dt as redactAgentControlSecrets, ft as createProcessDeviceToolBinding, gt as ProviderAdapterSessionNotFoundError, ht as ProviderAdapterSessionClosedError, i as classifyTaskAgentKind, it as parseGenericCliVersion, j as buildIssueContentPolishPrompt, k as buildBranchNamePrompt, mt as ProviderAdapterRequestError, n as AgentControlSessionRegistry, nt as isCommandMissingCause, ot as spawnAndCollect, pt as ProviderAdapterProcessError, qn as createModelCapabilities, st as AGENT_CONTROL_INTERNAL_SERVER_NAME, t as makeServerQueueMetrics, tr as resolvePromptInjectedEffort, tt as detailFromResult, ut as installAgentControlNativeHttp, vt as ProviderDriverError, w as ProviderEventLoggers, x as resolveProviderCatalog, y as BUNDLED_MODEL_MANIFEST, z as sanitizePrTitle, zn as normalizeCommandPath } from "./bin.mjs";
|
|
6
6
|
import { t as formatSourceControlContextsForAgent } from "./sourceControlContextFormatter-DEwpnVAH.mjs";
|
|
7
7
|
import { n as formatProjectCustomSystemPrompt } from "./ProjectCustomSystemPrompt-CS1nulhL.mjs";
|
|
8
|
-
import { n as requireRuntimeSessionId, r as stampRuntimeEvent, t as makeManagedServerProvider } from "./makeManagedServerProvider-
|
|
8
|
+
import { n as requireRuntimeSessionId, r as stampRuntimeEvent, t as makeManagedServerProvider } from "./makeManagedServerProvider-CsaYHU8T.mjs";
|
|
9
9
|
import { t as defaultProviderContinuationIdentity } from "./ProviderDriver-kCV60GKk.mjs";
|
|
10
10
|
import { Cache, Cause, DateTime, Deferred, Duration, Effect, Exit, Fiber, FileSystem, Option, Path, Queue, Ref, Result, Schema, Stream } from "effect";
|
|
11
11
|
import { HttpClient } from "effect/unstable/http";
|
|
@@ -14,266 +14,119 @@ import { execFile } from "node:child_process";
|
|
|
14
14
|
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
|
|
15
15
|
import * as NodeFS from "node:fs/promises";
|
|
16
16
|
import { query } from "@anthropic-ai/claude-agent-sdk";
|
|
17
|
-
//#region src/provider/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
17
|
+
//#region src/provider/ClaudeModelCatalog.ts
|
|
18
|
+
/**
|
|
19
|
+
* ClaudeModelCatalog — Claude model metadata resolved from the model
|
|
20
|
+
* manifest (bundled or remote), replacing the hard-coded `BUILT_IN_MODELS`
|
|
21
|
+
* catalog that previously lived in `ClaudeProvider.ts`.
|
|
22
|
+
*
|
|
23
|
+
* All resolvers are pure and take the catalog as an argument. The one
|
|
24
|
+
* exception is the module-level "active" catalog at the bottom: adapter and
|
|
25
|
+
* text-generation call sites predate the manifest and resolve capabilities
|
|
26
|
+
* synchronously without a service handle, so provider checks publish the
|
|
27
|
+
* catalog they resolved and those call sites read it back. See
|
|
28
|
+
* `setActiveClaudeModelCatalog` for the contract.
|
|
29
|
+
*
|
|
30
|
+
* Ported from pingdotgg/t3code (PR #9084), adapted to Ryco's CLI-version
|
|
31
|
+
* helpers and call-site shape.
|
|
32
|
+
*/
|
|
33
|
+
const CLAUDE = ProviderDriverKind.make("claudeAgent");
|
|
34
|
+
const EMPTY_CAPABILITIES = { optionDescriptors: [] };
|
|
35
|
+
function tryResolveClaudeModelCatalog(manifest) {
|
|
36
|
+
const resolved = resolveProviderCatalog(manifest, CLAUDE);
|
|
37
|
+
if (!resolved) return null;
|
|
38
|
+
const models = [];
|
|
39
|
+
for (const entry of resolved.models) {
|
|
40
|
+
const profile = decodeClaudeProfileAdapter(entry.profileAdapter ?? {});
|
|
41
|
+
const adapter = decodeClaudeModelAdapter(entry.adapter ?? {});
|
|
42
|
+
if (Option.isNone(profile) || Option.isNone(adapter)) return null;
|
|
43
|
+
models.push({
|
|
44
|
+
model: entry.model,
|
|
45
|
+
runtime: profile.value.claudeCode ?? {},
|
|
46
|
+
compatibility: adapter.value.claudeCode ?? {}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
return { models };
|
|
39
50
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
42
|
-
return buildSelectOptionDescriptor({
|
|
43
|
-
id: "effort",
|
|
44
|
-
label: "Reasoning",
|
|
45
|
-
options: input.levels.map((level) => buildClaudeEffortOption(level, input.defaultEffort)),
|
|
46
|
-
...promptInjectedValues ? { promptInjectedValues } : {}
|
|
47
|
-
});
|
|
51
|
+
function resolveClaudeModelCatalog(manifest) {
|
|
52
|
+
return tryResolveClaudeModelCatalog(manifest) ?? tryResolveClaudeModelCatalog(BUNDLED_MODEL_MANIFEST) ?? { models: [] };
|
|
48
53
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
value: "200k",
|
|
55
|
-
label: "200k",
|
|
56
|
-
isDefault: defaultContextWindow === "200k"
|
|
57
|
-
}, {
|
|
58
|
-
value: "1m",
|
|
59
|
-
label: "1M",
|
|
60
|
-
isDefault: defaultContextWindow === "1m"
|
|
61
|
-
}]
|
|
62
|
-
});
|
|
54
|
+
const BUNDLED_CLAUDE_MODEL_CATALOG = resolveClaudeModelCatalog(BUNDLED_MODEL_MANIFEST);
|
|
55
|
+
function resolveClaudeCatalogModel(catalog, slugOrAlias) {
|
|
56
|
+
const value = slugOrAlias?.trim();
|
|
57
|
+
if (!value) return void 0;
|
|
58
|
+
return catalog.models.find((entry) => entry.model.slug === value) ?? catalog.models.find((entry) => entry.model.aliases?.some((alias) => alias.toLowerCase() === value.toLowerCase()));
|
|
63
59
|
}
|
|
64
|
-
function
|
|
65
|
-
return
|
|
66
|
-
buildClaudeEffortDescriptor({
|
|
67
|
-
levels: input.effortLevels,
|
|
68
|
-
defaultEffort: input.defaultEffort
|
|
69
|
-
}),
|
|
70
|
-
...input.supportsFastMode ? [buildBooleanOptionDescriptor({
|
|
71
|
-
id: "fastMode",
|
|
72
|
-
label: "Fast Mode"
|
|
73
|
-
})] : [],
|
|
74
|
-
...input.supportsContextWindow ? [buildClaudeContextWindowDescriptor(input.defaultContextWindow)] : []
|
|
75
|
-
] });
|
|
76
|
-
}
|
|
77
|
-
const CLAUDE_OPUS_ADAPTIVE_EFFORT_LEVELS = [
|
|
78
|
-
"low",
|
|
79
|
-
"medium",
|
|
80
|
-
"high",
|
|
81
|
-
"xhigh",
|
|
82
|
-
"max",
|
|
83
|
-
"ultrathink"
|
|
84
|
-
];
|
|
85
|
-
const CLAUDE_ULTRACODE_EFFORT_LEVELS = [
|
|
86
|
-
"low",
|
|
87
|
-
"medium",
|
|
88
|
-
"high",
|
|
89
|
-
"xhigh",
|
|
90
|
-
"max",
|
|
91
|
-
"ultracode",
|
|
92
|
-
"ultrathink"
|
|
93
|
-
];
|
|
94
|
-
const CLAUDE_OPUS_LEGACY_EFFORT_LEVELS = [
|
|
95
|
-
"low",
|
|
96
|
-
"medium",
|
|
97
|
-
"high",
|
|
98
|
-
"max"
|
|
99
|
-
];
|
|
100
|
-
const BUILT_IN_MODELS = [
|
|
101
|
-
{
|
|
102
|
-
slug: "claude-fable-5",
|
|
103
|
-
name: "Claude Fable 5",
|
|
104
|
-
shortName: "Fable 5",
|
|
105
|
-
isCustom: false,
|
|
106
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
107
|
-
effortLevels: CLAUDE_ULTRACODE_EFFORT_LEVELS,
|
|
108
|
-
defaultEffort: "high",
|
|
109
|
-
supportsFastMode: false,
|
|
110
|
-
supportsContextWindow: false
|
|
111
|
-
})
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
slug: "claude-opus-5",
|
|
115
|
-
name: "Claude Opus 5",
|
|
116
|
-
shortName: "Opus 5",
|
|
117
|
-
isCustom: false,
|
|
118
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
119
|
-
effortLevels: CLAUDE_ULTRACODE_EFFORT_LEVELS,
|
|
120
|
-
defaultEffort: "high",
|
|
121
|
-
supportsFastMode: true,
|
|
122
|
-
supportsContextWindow: true,
|
|
123
|
-
defaultContextWindow: "1m"
|
|
124
|
-
})
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
slug: "claude-opus-4-8",
|
|
128
|
-
name: "Claude Opus 4.8",
|
|
129
|
-
shortName: "Opus 4.8",
|
|
130
|
-
isCustom: false,
|
|
131
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
132
|
-
effortLevels: CLAUDE_ULTRACODE_EFFORT_LEVELS,
|
|
133
|
-
defaultEffort: "high",
|
|
134
|
-
supportsFastMode: true,
|
|
135
|
-
supportsContextWindow: true
|
|
136
|
-
})
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
slug: "claude-opus-4-7",
|
|
140
|
-
name: "Claude Opus 4.7",
|
|
141
|
-
shortName: "Opus 4.7",
|
|
142
|
-
isCustom: false,
|
|
143
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
144
|
-
effortLevels: CLAUDE_OPUS_ADAPTIVE_EFFORT_LEVELS,
|
|
145
|
-
defaultEffort: "xhigh",
|
|
146
|
-
supportsFastMode: true,
|
|
147
|
-
supportsContextWindow: true
|
|
148
|
-
})
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
slug: "claude-opus-4-6",
|
|
152
|
-
name: "Claude Opus 4.6",
|
|
153
|
-
shortName: "Opus 4.6",
|
|
154
|
-
isCustom: false,
|
|
155
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
156
|
-
effortLevels: [...CLAUDE_OPUS_LEGACY_EFFORT_LEVELS, "ultrathink"],
|
|
157
|
-
defaultEffort: "high",
|
|
158
|
-
supportsFastMode: true,
|
|
159
|
-
supportsContextWindow: true
|
|
160
|
-
})
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
slug: "claude-opus-4-5",
|
|
164
|
-
name: "Claude Opus 4.5",
|
|
165
|
-
shortName: "Opus 4.5",
|
|
166
|
-
isCustom: false,
|
|
167
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
168
|
-
effortLevels: CLAUDE_OPUS_LEGACY_EFFORT_LEVELS,
|
|
169
|
-
defaultEffort: "high",
|
|
170
|
-
supportsFastMode: false,
|
|
171
|
-
supportsContextWindow: false
|
|
172
|
-
})
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
slug: "claude-sonnet-5",
|
|
176
|
-
name: "Claude Sonnet 5",
|
|
177
|
-
shortName: "Sonnet 5",
|
|
178
|
-
isCustom: false,
|
|
179
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
180
|
-
effortLevels: CLAUDE_OPUS_ADAPTIVE_EFFORT_LEVELS,
|
|
181
|
-
defaultEffort: "high",
|
|
182
|
-
supportsFastMode: false,
|
|
183
|
-
supportsContextWindow: true
|
|
184
|
-
})
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
slug: "claude-sonnet-4-6",
|
|
188
|
-
name: "Claude Sonnet 4.6",
|
|
189
|
-
shortName: "Sonnet 4.6",
|
|
190
|
-
isCustom: false,
|
|
191
|
-
capabilities: createModelCapabilities({ optionDescriptors: [buildSelectOptionDescriptor({
|
|
192
|
-
id: "effort",
|
|
193
|
-
label: "Reasoning",
|
|
194
|
-
options: [
|
|
195
|
-
{
|
|
196
|
-
value: "low",
|
|
197
|
-
label: "Low"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
value: "medium",
|
|
201
|
-
label: "Medium"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
value: "high",
|
|
205
|
-
label: "High",
|
|
206
|
-
isDefault: true
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
value: "max",
|
|
210
|
-
label: "Max"
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
value: "ultrathink",
|
|
214
|
-
label: "Ultrathink"
|
|
215
|
-
}
|
|
216
|
-
],
|
|
217
|
-
promptInjectedValues: ["ultrathink"]
|
|
218
|
-
}), buildSelectOptionDescriptor({
|
|
219
|
-
id: "contextWindow",
|
|
220
|
-
label: "Context Window",
|
|
221
|
-
options: [{
|
|
222
|
-
value: "200k",
|
|
223
|
-
label: "200k",
|
|
224
|
-
isDefault: true
|
|
225
|
-
}, {
|
|
226
|
-
value: "1m",
|
|
227
|
-
label: "1M"
|
|
228
|
-
}]
|
|
229
|
-
})] })
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
slug: "claude-haiku-4-5",
|
|
233
|
-
name: "Claude Haiku 4.5",
|
|
234
|
-
shortName: "Haiku 4.5",
|
|
235
|
-
isCustom: false,
|
|
236
|
-
capabilities: createModelCapabilities({ optionDescriptors: [buildBooleanOptionDescriptor({
|
|
237
|
-
id: "thinking",
|
|
238
|
-
label: "Thinking"
|
|
239
|
-
})] })
|
|
240
|
-
}
|
|
241
|
-
];
|
|
242
|
-
function supportsMinimumClaudeVersion(version, minimumVersion) {
|
|
243
|
-
return version ? compareCliVersions(version, minimumVersion) >= 0 : false;
|
|
60
|
+
function getClaudeCatalogModelCapabilities(catalog, slugOrAlias) {
|
|
61
|
+
return resolveClaudeCatalogModel(catalog, slugOrAlias)?.model.capabilities ?? EMPTY_CAPABILITIES;
|
|
244
62
|
}
|
|
245
|
-
function
|
|
246
|
-
|
|
63
|
+
function isVersionSupported(compatibility, version) {
|
|
64
|
+
if (!compatibility.minVersion && !compatibility.maxVersionExclusive) return true;
|
|
65
|
+
if (!version) return false;
|
|
66
|
+
if (compatibility.minVersion && compareCliVersions(version, compatibility.minVersion) < 0) return false;
|
|
67
|
+
return !(compatibility.maxVersionExclusive && compareCliVersions(version, compatibility.maxVersionExclusive) >= 0);
|
|
247
68
|
}
|
|
248
|
-
function
|
|
249
|
-
return
|
|
69
|
+
function resolveClaudeModelsForVersion(catalog, version) {
|
|
70
|
+
return catalog.models.filter((entry) => isVersionSupported(entry.compatibility, version)).map((entry) => entry.model);
|
|
250
71
|
}
|
|
251
|
-
|
|
252
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Upgrade nudge for CLIs too old for one or more catalog models. Names the
|
|
74
|
+
* model with the lowest unmet minimum, so the message always describes the
|
|
75
|
+
* smallest upgrade that unlocks something.
|
|
76
|
+
*/
|
|
77
|
+
function formatClaudeVersionUpgradeMessage(catalog, version) {
|
|
78
|
+
const unavailable = catalog.models.filter((entry) => entry.compatibility.minVersion && (!version || compareCliVersions(version, entry.compatibility.minVersion) < 0)).toSorted((left, right) => compareCliVersions(left.compatibility.minVersion, right.compatibility.minVersion))[0];
|
|
79
|
+
if (!unavailable?.compatibility.minVersion) return void 0;
|
|
80
|
+
return `Claude Code ${version ? `v${version}` : "the installed version"} is too old for ${unavailable.model.name}. Upgrade to v${unavailable.compatibility.minVersion} or newer to access it.`;
|
|
253
81
|
}
|
|
254
|
-
|
|
255
|
-
|
|
82
|
+
/**
|
|
83
|
+
* Normalize a resolved effort value into one suitable for the Claude CLI's
|
|
84
|
+
* `--effort` flag, using the catalog's per-model `effortMap`.
|
|
85
|
+
*
|
|
86
|
+
* `ultrathink` is always dropped (prompt-prefix mode, not a CLI flag), and
|
|
87
|
+
* `ultracode` never reaches the CLI raw: models that support it map it (to
|
|
88
|
+
* `xhigh`) via their effort map, and for anything else it is dropped rather
|
|
89
|
+
* than passed through.
|
|
90
|
+
*/
|
|
91
|
+
function normalizeClaudeCatalogEffort(catalog, effort, model) {
|
|
92
|
+
if (!effort || effort === "ultrathink") return void 0;
|
|
93
|
+
const effortMap = resolveClaudeCatalogModel(catalog, model)?.runtime.effortMap;
|
|
94
|
+
if (effortMap && Object.hasOwn(effortMap, effort)) return effortMap[effort] ?? void 0;
|
|
95
|
+
if (effort === "ultracode") return void 0;
|
|
96
|
+
return effort;
|
|
256
97
|
}
|
|
257
|
-
function
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
return true;
|
|
98
|
+
function resolveClaudeCatalogApiModelId(catalog, modelSelection) {
|
|
99
|
+
const entry = resolveClaudeCatalogModel(catalog, modelSelection.model);
|
|
100
|
+
const slug = entry?.model.slug ?? modelSelection.model;
|
|
101
|
+
const descriptors = getProviderOptionDescriptors({
|
|
102
|
+
caps: entry?.model.capabilities ?? EMPTY_CAPABILITIES,
|
|
103
|
+
selections: modelSelection.options
|
|
264
104
|
});
|
|
105
|
+
for (const [optionId, suffixes] of Object.entries(entry?.runtime.modelSuffixes ?? {})) {
|
|
106
|
+
const value = getProviderOptionCurrentValue(descriptors.find((descriptor) => descriptor.id === optionId));
|
|
107
|
+
if (typeof value === "string" && suffixes[value]) return `${slug}${suffixes[value]}`;
|
|
108
|
+
}
|
|
109
|
+
return slug;
|
|
265
110
|
}
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
if (!supportsClaudeOpus47(version)) messages.push(`Claude Code ${versionLabel} is too old for Claude Opus 4.7. Upgrade to v${MINIMUM_CLAUDE_OPUS_4_7_VERSION} or newer to access it.`);
|
|
270
|
-
if (!supportsClaudeOpus48(version)) messages.push(`Claude Code ${versionLabel} is too old for Claude Opus 4.8. Upgrade to v${MINIMUM_CLAUDE_OPUS_4_8_VERSION} or newer to access it.`);
|
|
271
|
-
if (!supportsClaudeOpus5(version)) messages.push(`Claude Code ${versionLabel} is too old for Claude Opus 5. Upgrade to v${MINIMUM_CLAUDE_OPUS_5_VERSION} or newer to access it.`);
|
|
272
|
-
return messages;
|
|
111
|
+
let activeClaudeModelCatalog = BUNDLED_CLAUDE_MODEL_CATALOG;
|
|
112
|
+
function getActiveClaudeModelCatalog() {
|
|
113
|
+
return activeClaudeModelCatalog;
|
|
273
114
|
}
|
|
115
|
+
function setActiveClaudeModelCatalog(catalog) {
|
|
116
|
+
activeClaudeModelCatalog = catalog;
|
|
117
|
+
}
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region src/provider/Layers/ClaudeProvider.ts
|
|
120
|
+
const DEFAULT_CLAUDE_MODEL_CAPABILITIES = createModelCapabilities({ optionDescriptors: [] });
|
|
121
|
+
const PROVIDER$1 = ProviderDriverKind.make("claudeAgent");
|
|
122
|
+
const CLAUDE_PRESENTATION = {
|
|
123
|
+
displayName: "Claude",
|
|
124
|
+
showInteractionModeToggle: true,
|
|
125
|
+
supportsAskMode: true
|
|
126
|
+
};
|
|
274
127
|
function getClaudeModelCapabilities(model) {
|
|
275
|
-
const
|
|
276
|
-
return
|
|
128
|
+
const capabilities = getClaudeCatalogModelCapabilities(getActiveClaudeModelCatalog(), model);
|
|
129
|
+
return capabilities.optionDescriptors?.length ? capabilities : DEFAULT_CLAUDE_MODEL_CAPABILITIES;
|
|
277
130
|
}
|
|
278
131
|
function resolveClaudeEffort(caps, raw) {
|
|
279
132
|
const effortDescriptor = getProviderOptionDescriptors({
|
|
@@ -288,41 +141,19 @@ function resolveClaudeEffort(caps, raw) {
|
|
|
288
141
|
}
|
|
289
142
|
/**
|
|
290
143
|
* Normalize a resolved Claude effort value into one suitable for the Claude
|
|
291
|
-
* CLI's `--effort` flag.
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
* is paired with the Claude Code settings flag and normalized to `"xhigh"`,
|
|
296
|
-
* while `"ultrathink"` is filtered out because it is a prompt-prefix mode.
|
|
297
|
-
* Returns `undefined` when no flag should be passed.
|
|
144
|
+
* CLI's `--effort` flag. Catalog-driven: each model's `effortMap` in the
|
|
145
|
+
* manifest declares remappings (`ultracode` → `xhigh` where supported,
|
|
146
|
+
* `max` → `high` on Sonnet 4.6); `ultrathink` is always dropped because it
|
|
147
|
+
* is a prompt-prefix mode, and `ultracode` never reaches the CLI raw.
|
|
298
148
|
*/
|
|
299
149
|
function normalizeClaudeCliEffort(effort, model) {
|
|
300
|
-
|
|
301
|
-
if (effort === "ultracode") return model === "claude-fable-5" || model === "claude-opus-5" || model === "claude-opus-4-8" ? "xhigh" : void 0;
|
|
302
|
-
if (effort === "max" && model === "claude-sonnet-4-6") return "high";
|
|
303
|
-
return effort;
|
|
150
|
+
return normalizeClaudeCatalogEffort(getActiveClaudeModelCatalog(), effort, model);
|
|
304
151
|
}
|
|
305
152
|
function isClaudeUltracodeEffort(effort) {
|
|
306
153
|
return effort === "ultracode";
|
|
307
154
|
}
|
|
308
|
-
function resolveClaudeContextWindow(modelSelection) {
|
|
309
|
-
const caps = getClaudeModelCapabilities(modelSelection?.model);
|
|
310
|
-
const raw = getModelSelectionStringOptionValue(modelSelection, "contextWindow");
|
|
311
|
-
const descriptor = getProviderOptionDescriptors({
|
|
312
|
-
caps,
|
|
313
|
-
...raw ? { selections: [{
|
|
314
|
-
id: "contextWindow",
|
|
315
|
-
value: raw
|
|
316
|
-
}] } : {}
|
|
317
|
-
}).find((candidate) => candidate.id === "contextWindow");
|
|
318
|
-
const value = getProviderOptionCurrentValue(descriptor);
|
|
319
|
-
return typeof value === "string" ? value : void 0;
|
|
320
|
-
}
|
|
321
155
|
function resolveClaudeApiModelId(modelSelection) {
|
|
322
|
-
|
|
323
|
-
case "1m": return `${modelSelection.model}[1m]`;
|
|
324
|
-
default: return modelSelection.model;
|
|
325
|
-
}
|
|
156
|
+
return resolveClaudeCatalogApiModelId(getActiveClaudeModelCatalog(), modelSelection);
|
|
326
157
|
}
|
|
327
158
|
function toTitleCaseWords(value) {
|
|
328
159
|
return value.split(/[\s_-]+/g).filter(Boolean).map((part) => part[0].toUpperCase() + part.slice(1).toLowerCase()).join(" ");
|
|
@@ -477,9 +308,16 @@ const runClaudeCommand = Effect.fn("runClaudeCommand")(function* (claudeSettings
|
|
|
477
308
|
});
|
|
478
309
|
return yield* spawnAndCollect(claudeSettings.binaryPath, command);
|
|
479
310
|
});
|
|
480
|
-
const checkClaudeProviderStatus = Effect.fn("checkClaudeProviderStatus")(function* (claudeSettings, resolveCapabilities, environment = process.env, resolveRateLimits) {
|
|
311
|
+
const checkClaudeProviderStatus = Effect.fn("checkClaudeProviderStatus")(function* (claudeSettings, resolveCapabilities, environment = process.env, resolveRateLimits, modelManifest) {
|
|
481
312
|
const checkedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
482
|
-
|
|
313
|
+
let catalog = getActiveClaudeModelCatalog();
|
|
314
|
+
if (modelManifest) {
|
|
315
|
+
catalog = resolveClaudeModelCatalog(yield* modelManifest.current);
|
|
316
|
+
setActiveClaudeModelCatalog(catalog);
|
|
317
|
+
yield* modelManifest.refreshInBackground;
|
|
318
|
+
}
|
|
319
|
+
const catalogModels = catalog.models.map((entry) => entry.model);
|
|
320
|
+
const allModels = providerModelsFromSettings(catalogModels, PROVIDER$1, claudeSettings.customModels, DEFAULT_CLAUDE_MODEL_CAPABILITIES);
|
|
483
321
|
if (!claudeSettings.enabled) return buildServerProvider({
|
|
484
322
|
presentation: CLAUDE_PRESENTATION,
|
|
485
323
|
enabled: false,
|
|
@@ -541,8 +379,8 @@ const checkClaudeProviderStatus = Effect.fn("checkClaudeProviderStatus")(functio
|
|
|
541
379
|
}
|
|
542
380
|
});
|
|
543
381
|
}
|
|
544
|
-
const models = providerModelsFromSettings(
|
|
545
|
-
const upgradeMessage =
|
|
382
|
+
const models = providerModelsFromSettings(resolveClaudeModelsForVersion(catalog, parsedVersion), PROVIDER$1, claudeSettings.customModels, DEFAULT_CLAUDE_MODEL_CAPABILITIES);
|
|
383
|
+
const upgradeMessage = formatClaudeVersionUpgradeMessage(catalog, parsedVersion) ?? "";
|
|
546
384
|
const capabilities = resolveCapabilities ? yield* resolveCapabilities(claudeSettings).pipe(Effect.orElseSucceed(() => void 0)) : void 0;
|
|
547
385
|
const dedupedSlashCommands = dedupeSlashCommands(capabilities?.slashCommands ?? []);
|
|
548
386
|
const rateLimits = resolveRateLimits ? yield* resolveRateLimits(claudeSettings, parsedVersion).pipe(Effect.orElseSucceed(() => void 0)) : void 0;
|
|
@@ -587,7 +425,7 @@ const checkClaudeProviderStatus = Effect.fn("checkClaudeProviderStatus")(functio
|
|
|
587
425
|
});
|
|
588
426
|
const makePendingClaudeProvider = (claudeSettings) => {
|
|
589
427
|
const checkedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
590
|
-
const models = providerModelsFromSettings(
|
|
428
|
+
const models = providerModelsFromSettings(getActiveClaudeModelCatalog().models.map((entry) => entry.model), PROVIDER$1, claudeSettings.customModels, DEFAULT_CLAUDE_MODEL_CAPABILITIES);
|
|
591
429
|
if (!claudeSettings.enabled) return buildServerProvider({
|
|
592
430
|
presentation: CLAUDE_PRESENTATION,
|
|
593
431
|
enabled: false,
|
|
@@ -4009,6 +3847,7 @@ const ClaudeDriver = {
|
|
|
4009
3847
|
const httpClient = yield* HttpClient.HttpClient;
|
|
4010
3848
|
const serverSettings = yield* ServerSettingsService;
|
|
4011
3849
|
const eventLoggers = yield* ProviderEventLoggers;
|
|
3850
|
+
const modelManifest = yield* Effect.serviceOption(ModelManifest);
|
|
4012
3851
|
const agentControl = yield* Effect.serviceOption(AgentControlSessionRegistry);
|
|
4013
3852
|
const processEnv = mergeProviderInstanceEnvironment(environment);
|
|
4014
3853
|
const fallbackContinuationIdentity = defaultProviderContinuationIdentity({
|
|
@@ -4049,7 +3888,7 @@ const ClaudeDriver = {
|
|
|
4049
3888
|
timeToLive: USAGE_PROBE_TTL,
|
|
4050
3889
|
lookup: (version) => probeClaudeUsageRateLimits(effectiveConfig, version).pipe(Effect.provideService(Path.Path, path))
|
|
4051
3890
|
});
|
|
4052
|
-
const checkProvider = checkClaudeProviderStatus(effectiveConfig, () => Cache.get(capabilitiesProbeCache, capabilitiesCacheKey), processEnv, (_settings, version) => Cache.get(usageProbeCache, version)).pipe(Effect.map(stampIdentity), Effect.provideService(ChildProcessSpawner.ChildProcessSpawner, spawner), Effect.provideService(Path.Path, path));
|
|
3891
|
+
const checkProvider = checkClaudeProviderStatus(effectiveConfig, () => Cache.get(capabilitiesProbeCache, capabilitiesCacheKey), processEnv, (_settings, version) => Cache.get(usageProbeCache, version), Option.getOrUndefined(modelManifest)).pipe(Effect.map(stampIdentity), Effect.provideService(ChildProcessSpawner.ChildProcessSpawner, spawner), Effect.provideService(Path.Path, path));
|
|
4053
3892
|
const snapshot = yield* makeManagedServerProvider({
|
|
4054
3893
|
maintenanceCapabilities,
|
|
4055
3894
|
getSettings: Effect.succeed(effectiveConfig),
|