ryco-cli 0.1.18 → 0.1.19
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-hu4rXzHU.mjs → AcpNativeLogging-BnzQt9go.mjs} +2 -2
- package/dist/{AcpNativeLogging-CUpW8y6E.cjs → AcpNativeLogging-sb_DOSyg.cjs} +1 -1
- package/dist/{AzureDevOpsSourceControlProvider-DAdboLpu.cjs → AzureDevOpsSourceControlProvider-BHtgXept.cjs} +2 -2
- package/dist/{AzureDevOpsSourceControlProvider-C7Ff-COJ.mjs → AzureDevOpsSourceControlProvider-B_rxsveN.mjs} +3 -3
- package/dist/{BitbucketSourceControlProvider-CMPQXie7.mjs → BitbucketSourceControlProvider-BMaa5G9E.mjs} +3 -3
- package/dist/{BitbucketSourceControlProvider-Bg6lSYm8.cjs → BitbucketSourceControlProvider-CAQf4Kv7.cjs} +2 -2
- package/dist/{ClaudeDriver-CILJj4bi.cjs → ClaudeDriver-DfPigB1i.cjs} +123 -284
- package/dist/{ClaudeDriver-Nc7gDoUZ.mjs → ClaudeDriver-QCXWLMlT.mjs} +124 -285
- package/dist/{CodexDriver-CdE1fyKF.cjs → CodexDriver-BTZDfSTo.cjs} +3 -3
- package/dist/{CodexDriver-OeWoP24r.mjs → CodexDriver-pMXV4cdE.mjs} +4 -4
- package/dist/{CodexTextGeneration-BJvCqVzm.cjs → CodexTextGeneration-BNKVkvo9.cjs} +1 -1
- package/dist/{CodexTextGeneration-CKacDpkR.mjs → CodexTextGeneration-ES8U6XFV.mjs} +2 -2
- package/dist/{CopilotDriver-C6IkwOg5.mjs → CopilotDriver-B313kdfE.mjs} +4 -4
- package/dist/{CopilotDriver-5toln6vu.cjs → CopilotDriver-BCNHWlcE.cjs} +3 -3
- package/dist/{CursorDriver-otlL4axb.cjs → CursorDriver-BOFTf_G1.cjs} +3 -3
- package/dist/{CursorDriver-BPyhSbOl.mjs → CursorDriver-DtCq_M54.mjs} +4 -4
- package/dist/{ForgejoSourceControlProvider-Df0EwCPV.mjs → ForgejoSourceControlProvider-BjJmvo0h.mjs} +3 -3
- package/dist/{ForgejoSourceControlProvider-SZj0DxRM.cjs → ForgejoSourceControlProvider-Xx8gP9mV.cjs} +2 -2
- package/dist/{GitHubSourceControlProvider-G07yjZJS.mjs → GitHubSourceControlProvider-CwSuSyD7.mjs} +3 -3
- package/dist/{GitHubSourceControlProvider-D9v0HrDd.cjs → GitHubSourceControlProvider-oFASPn98.cjs} +2 -2
- package/dist/{GitLabSourceControlProvider-D7NhCVP9.mjs → GitLabSourceControlProvider-BzOAAREX.mjs} +3 -3
- package/dist/{GitLabSourceControlProvider-BTXml3Wh.cjs → GitLabSourceControlProvider-CfCdfJ4C.cjs} +2 -2
- package/dist/{GrokDriver-VxcAlypB.mjs → GrokDriver-4ZUx36Bj.mjs} +4 -4
- package/dist/{GrokDriver-BkU6D5ZE.cjs → GrokDriver-CU16uh8w.cjs} +3 -3
- package/dist/{OpenCodeDriver-CXvTVYvY.cjs → OpenCodeDriver-B9Hxfodu.cjs} +2 -2
- package/dist/{OpenCodeDriver-fQlgTeuI.mjs → OpenCodeDriver-CmoacKRC.mjs} +3 -3
- package/dist/{SourceControlProviderDiscoveryCatalog-CR-cmnC-.cjs → SourceControlProviderDiscoveryCatalog-DZrf3FFb.cjs} +1 -1
- package/dist/{SourceControlProviderDiscoveryCatalog-dqetZQiC.mjs → SourceControlProviderDiscoveryCatalog-G0HUTo-t.mjs} +1 -1
- package/dist/bin.cjs +1018 -89
- package/dist/bin.mjs +1015 -91
- package/dist/client/assets/{AccountSettings-C3YGn5s7.js → AccountSettings-CTztI8Bi.js} +1 -1
- package/dist/client/assets/{AiFocusSettings-CNucfJ5Y.js → AiFocusSettings-3u1skSAb.js} +1 -1
- package/dist/client/assets/{AnimatedHeight-B8ZeY3LL.js → AnimatedHeight-Dhoy_tmE.js} +1 -1
- package/dist/client/assets/{AppearanceSettings-D1MyfaES.js → AppearanceSettings-BR5lbrLN.js} +1 -1
- package/dist/client/assets/{BranchToolbar.logic-CN2-yLTE.js → BranchToolbar.logic-Dmwakdqj.js} +1 -1
- package/dist/client/assets/{ChatRightPanel-DhZiZCcx.js → ChatRightPanel-DkOGSrAn.js} +3 -3
- package/dist/client/assets/{ChatThreadRouteView-CR8HQgm3.js → ChatThreadRouteView-CGYYcrsI.js} +1 -1
- package/dist/client/assets/{CommandPaletteDialog-ChB99Jee.js → CommandPaletteDialog-XNiKnBBc.js} +1 -1
- package/dist/client/assets/{CompositeItem-CxRCTsWt.js → CompositeItem-qhfO5Blk.js} +1 -1
- package/dist/client/assets/{CompositeRoot-CDscEk_b.js → CompositeRoot-CXp9th_F.js} +1 -1
- package/dist/client/assets/{ConnectionsSettings-Dsewo1mI.js → ConnectionsSettings-BY3ddbHV.js} +1 -1
- package/dist/client/assets/{DiagnosticsSettings-ClUk2Ycp.js → DiagnosticsSettings-Ci3rPY6t.js} +1 -1
- package/dist/client/assets/{DialogHandle-BGW2rJq8.js → DialogHandle-Bx9yEeA_.js} +1 -1
- package/dist/client/assets/{DialogPopup-9zEMlOyz.js → DialogPopup-DXniIm-O.js} +1 -1
- package/dist/client/assets/DialogRoot-Bk6gBQ5V.js +1 -0
- package/dist/client/assets/{DialogTitle-7dK2BQ85.js → DialogTitle-_K4jB_gk.js} +1 -1
- package/dist/client/assets/{DialogTrigger-B7jdDPNa.js → DialogTrigger-Dqu3mivf.js} +1 -1
- package/dist/client/assets/{DialogViewport-BrRcGV_l.js → DialogViewport-D732iUV7.js} +1 -1
- package/dist/client/assets/{DraftChatThreadRouteView-C7HNQzJO.js → DraftChatThreadRouteView-Dywv4CEn.js} +1 -1
- package/dist/client/assets/{ExternalIdentityWeb.logic-DS77EplU.js → ExternalIdentityWeb.logic-CS0uWMYD.js} +1 -1
- package/dist/client/assets/{GlassSurface--5lIEJCy.js → GlassSurface-DvC0rFwP.js} +1 -1
- package/dist/client/assets/{HostedConnectionControls-5f2EOB5t.js → HostedConnectionControls-BvTKuCi3.js} +1 -1
- package/dist/client/assets/{HostedHubRoot-tRaAruhb.js → HostedHubRoot-CP5muHrF.js} +1 -1
- package/dist/client/assets/{HostedNativeAuthorizationRoute-B4SBCUZq.js → HostedNativeAuthorizationRoute-A5gRE9XG.js} +1 -1
- package/dist/client/assets/{HostedRelayTrustNotice-D7TIN2KZ.js → HostedRelayTrustNotice-DJHB-hdG.js} +1 -1
- package/dist/client/assets/{Icons-CqMTQkuR.js → Icons-D3hxyIhB.js} +1 -1
- package/dist/client/assets/{IntegrationsSettingsPanel-Be0RMI3X.js → IntegrationsSettingsPanel-C84xzXbm.js} +1 -1
- package/dist/client/assets/{KeybindingsSettings-BxoOXbJf.js → KeybindingsSettings-Ch3AQ6Q-.js} +1 -1
- package/dist/client/assets/{McpServersSettings-D6wFULhe.js → McpServersSettings-9gaMeIPz.js} +1 -1
- package/dist/client/assets/{MobileSheet-fqwVmSQY.js → MobileSheet-CyXRW17C.js} +1 -1
- package/dist/client/assets/{NewWorktreeDialog-DljDMikm.js → NewWorktreeDialog-CkhG-yS2.js} +1 -1
- package/dist/client/assets/{NoActiveThreadState-DvLgUR0A.js → NoActiveThreadState-BLcjrUMm.js} +1 -1
- package/dist/client/assets/{NodeSecuritySettings-BYX0uV1b.js → NodeSecuritySettings-CfDwptzi.js} +1 -1
- package/dist/client/assets/{OpinionatedPluginsSettings-ZOQ0n5GP.js → OpinionatedPluginsSettings-Dh6Ymfc-.js} +1 -1
- package/dist/client/assets/{PhoneGetAppInterstitial-DzlPIIW0.js → PhoneGetAppInterstitial-BP2XMKHP.js} +1 -1
- package/dist/client/assets/{PhoneGetAppInterstitialBackdrop-C_j-OVwR.js → PhoneGetAppInterstitialBackdrop-B0rZOvB2.js} +1 -1
- package/dist/client/assets/{PhoneHome-BIYOn5P7.js → PhoneHome-Cx7nMLqo.js} +1 -1
- package/dist/client/assets/{PhoneSettingsSurface-CL26SDJP.js → PhoneSettingsSurface-kXeokfgI.js} +1 -1
- package/dist/client/assets/{ProjectFavicon-BLFEmLYd.js → ProjectFavicon-BcX_Ec0T.js} +1 -1
- package/dist/client/assets/ProviderModelPicker-0XHZhfEq.js +1 -0
- package/dist/client/assets/{ProviderUpdateLaunchNotification.logic-DcLWligu.js → ProviderUpdateLaunchNotification.logic-BdeBHnT4.js} +1 -1
- package/dist/client/assets/{ProvidersSettingsPanel-tIQSB1Ni.js → ProvidersSettingsPanel-m1r_skHL.js} +1 -1
- package/dist/client/assets/{RedactedSensitiveText-DnYWrxD2.js → RedactedSensitiveText-D7gjFW0p.js} +1 -1
- package/dist/client/assets/{RootAppShell-BVqIVDWT.js → RootAppShell-dI1nMiVY.js} +2 -2
- package/dist/client/assets/{RycoLetterMark-C1QHVbKN.js → RycoLetterMark-JQr1uxZT.js} +1 -1
- package/dist/client/assets/{SettingsDialog-TY6l7DuD.js → SettingsDialog-CHOdPMdL.js} +1 -1
- package/dist/client/assets/{SettingsPanels-_-BazuGl.js → SettingsPanels-B2k-6Ehb.js} +1 -1
- package/dist/client/assets/{SettingsPanels.editor-Bl_mOgB-.js → SettingsPanels.editor-DvS8npAI.js} +1 -1
- package/dist/client/assets/{SourceControlSettings-CwRuv7T6.js → SourceControlSettings-CokcENz_.js} +1 -1
- package/dist/client/assets/{StatisticsPage-DAvOIX_d.js → StatisticsPage-TN6yaBa1.js} +1 -1
- package/dist/client/assets/{StatisticsPanel-BfmqkZgK.js → StatisticsPanel-BKw4XkjR.js} +1 -1
- package/dist/client/assets/{StatisticsSettingsLink-J-iBGP5I.js → StatisticsSettingsLink-tBTypC6v.js} +1 -1
- package/dist/client/assets/{ThreadStatusIndicators-BzpZG_IZ.js → ThreadStatusIndicators-Zvgn04Dn.js} +0 -0
- package/dist/client/assets/{ThreadTerminalDrawer-DZy0S10m.js → ThreadTerminalDrawer-BI6ku1uz.js} +1 -1
- package/dist/client/assets/{ThreadWorkspacePanel-PRfBFuHE.js → ThreadWorkspacePanel-DwaK2nc1.js} +1 -1
- package/dist/client/assets/{ToolbarRootContext-C48gkU4j.js → ToolbarRootContext-BXZDNd0W.js} +1 -1
- package/dist/client/assets/{WorkItemsTab-EO7aDVI8.js → WorkItemsTab-Cxn1bSXE.js} +1 -1
- package/dist/client/assets/{alert-C24pxxYz.js → alert-DzagxL5z.js} +1 -1
- package/dist/client/assets/{alert-dialog-iYnjheVe.js → alert-dialog-CQaNXuTj.js} +1 -1
- package/dist/client/assets/{authorization-BNZY2k8w.js → authorization-D3QNaV6E.js} +1 -1
- package/dist/client/assets/{badge-tHmsB3yQ.js → badge-C5_ROuZu.js} +1 -1
- package/dist/client/assets/{branding-hWmEaQ8d.js → branding-BBkacezg.js} +1 -1
- package/dist/client/assets/{button-WR80VgkK.js → button-84K7n2wA.js} +1 -1
- package/dist/client/assets/{capabilities-CXhsftU9.js → capabilities-D1zCmMpy.js} +1 -1
- package/dist/client/assets/{chatThreadActions-C6tNI5Qi.js → chatThreadActions-VKH852R7.js} +1 -1
- package/dist/client/assets/{collapsible-BUn1kona.js → collapsible-BSEa-ORB.js} +1 -1
- package/dist/client/assets/{command-CfaBUmS3.js → command-C_cBoAjK.js} +1 -1
- package/dist/client/assets/{composerDraftStore-DXTD6mKH.js → composerDraftStore-DM8BJvHt.js} +1 -1
- package/dist/client/assets/{data-list-jNXWZwx3.js → data-list-D98sJjJQ.js} +1 -1
- package/dist/client/assets/{desktopUpdateAtoms-C6z0AhGE.js → desktopUpdateAtoms-B8Szv6by.js} +1 -1
- package/dist/client/assets/{desktopWorkspace-BFTBEpzF.js → desktopWorkspace-V4qpyp0M.js} +1 -1
- package/dist/client/assets/{device-DB8v-PV8.js → device-CNHT_o2u.js} +1 -1
- package/dist/client/assets/{dialog-CwRtKu2U.js → dialog-ekyTdmtN.js} +1 -1
- package/dist/client/assets/{draft-input-BHjWDHqU.js → draft-input-BzdYQSqp.js} +1 -1
- package/dist/client/assets/{editorPreferences-BqfWlBPx.js → editorPreferences-n_SEOStx.js} +1 -1
- package/dist/client/assets/{empty-CITbdlFs.js → empty-Bo-8VHEg.js} +1 -1
- package/dist/client/assets/{env-Bcy-9P3V.js → env-Clz4p9nL.js} +1 -1
- package/dist/client/assets/{getPseudoElementBounds-BPmVta2g.js → getPseudoElementBounds-2BN7VP7X.js} +1 -1
- package/dist/client/assets/{group-BpXcg5Ba.js → group-NJVrmJK2.js} +1 -1
- package/dist/client/assets/{index-CnRziuz2.js → index-D4BJ8pQ9.js} +1 -1
- package/dist/client/assets/{input-Ba4jS4Ks.js → input-Zumpn45a.js} +1 -1
- package/dist/client/assets/{kbd-BvgpGZEI.js → kbd-BmI1rkHM.js} +1 -1
- package/dist/client/assets/{keybindings-QVMzXI5S.js → keybindings-uuaAI71h.js} +1 -1
- package/dist/client/assets/{label-2jpS7gCY.js → label-DYSChiPa.js} +1 -1
- package/dist/client/assets/{lib-CuR3OHWo.js → lib-BHW_qN3R.js} +1 -1
- package/dist/client/assets/{logging-CTOc5ONT.js → logging-Bj9aNa1i.js} +1 -1
- package/dist/client/assets/{main-C5za36qj.js → main-YXgtRMJq.js} +2 -2
- package/dist/client/assets/{menu-CsEBcjDz.js → menu-DNSzJ_Xt.js} +1 -1
- package/dist/client/assets/{popover-BpnQc7ji.js → popover-CN-oXBGi.js} +1 -1
- package/dist/client/assets/{primary-DiL6nRV-.js → primary-DjvrcOzR.js} +1 -1
- package/dist/client/assets/{projectPaths-DDcwkag5.js → projectPaths-Da79jKxq.js} +1 -1
- package/dist/client/assets/{providerDriverMeta-DrgHrvO3.js → providerDriverMeta-C5Ifsitu.js} +1 -1
- package/dist/client/assets/{providerIconUtils-VIm6bh4U.js → providerIconUtils-DzYW2dg3.js} +1 -1
- package/dist/client/assets/providerInstances-DuEFgB4d.js +1 -0
- package/dist/client/assets/providerModels-DuEFgB4d.js +1 -0
- package/dist/client/assets/{qr-code-CXu67ChC.js → qr-code-LEPl28s1.js} +1 -1
- package/dist/client/assets/{radio-group-B7kMeg_h.js → radio-group-DUiKilPu.js} +1 -1
- package/dist/client/assets/{resolveAriaLabelledBy-DoGkVnyF.js → resolveAriaLabelledBy-zZ8aBV0g.js} +1 -1
- package/dist/client/assets/{rightPanelRouteSearch-YV6CEBkv.js → rightPanelRouteSearch-BvTNRdcl.js} +1 -1
- package/dist/client/assets/{runtime-Cy36EhFa.js → runtime-rC2k29TW.js} +1 -1
- package/dist/client/assets/{scroll-area-BZayohht.js → scroll-area-CBSY6ISs.js} +1 -1
- package/dist/client/assets/{scrollEdges-BObY5qgX.js → scrollEdges-q2Ioxety.js} +1 -1
- package/dist/client/assets/{select-DQIoKiCF.js → select-CY7KGJfs.js} +1 -1
- package/dist/client/assets/{separator-DgV5UvWO.js → separator-BhDQoah6.js} +1 -1
- package/dist/client/assets/{session-logic-yjrYZ67x.js → session-logic-yjU32k5M.js} +1 -1
- package/dist/client/assets/{settingsDialogStore-CzH3-ZEg.js → settingsDialogStore-3FuA919f.js} +1 -1
- package/dist/client/assets/{settingsLayout-BPKHc7wz.js → settingsLayout-Bdb0BKqT.js} +1 -1
- package/dist/client/assets/{sheet-BxlpAnIJ.js → sheet-CAyuCkkv.js} +1 -1
- package/dist/client/assets/{sidebar-CuxI1O8j.js → sidebar-BJtWwdvq.js} +1 -1
- package/dist/client/assets/{sidebarProjectFolders-Bi8I6mH5.js → sidebarProjectFolders-alWDQ6Ua.js} +1 -1
- package/dist/client/assets/{sidebarStatusText-DTXq8x3L.js → sidebarStatusText-CFZFs_GL.js} +1 -1
- package/dist/client/assets/{skeleton-C8KnJ1KQ.js → skeleton-DVOyUeDB.js} +1 -1
- package/dist/client/assets/{spinner-D9HJGQ01.js → spinner-QltLJ3rj.js} +1 -1
- package/dist/client/assets/{src-CtanPQei.js → src-DUTt1PTH.js} +1 -1
- package/dist/client/assets/storeSelectors-9DTss3Bt.js +1 -0
- package/dist/client/assets/{switch-B50w01tf.js → switch-Buq6cQMX.js} +1 -1
- package/dist/client/assets/{terminal-links-C5NsgIQU.js → terminal-links-B5riX-FI.js} +1 -1
- package/dist/client/assets/{textarea-CJ8Vux-T.js → textarea-oR-QEhm-.js} +1 -1
- package/dist/client/assets/{threadPinning-B5WtT-P_.js → threadPinning-DTdgSmd6.js} +1 -1
- package/dist/client/assets/{threadPriorityRefreshRuntime-BnDDqCxq.js → threadPriorityRefreshRuntime-C9_hY5A-.js} +1 -1
- package/dist/client/assets/{toast-CV5dwFOH.js → toast-ClkUrsPP.js} +1 -1
- package/dist/client/assets/{toggle-DRqyFTHJ.js → toggle-CFeFFpQ7.js} +1 -1
- package/dist/client/assets/{toggle-group-mhVkQLP2.js → toggle-group-DTpGnsyn.js} +1 -1
- package/dist/client/assets/{tooltip-DZhBSkif.js → tooltip-C0IyzT7d.js} +1 -1
- package/dist/client/assets/types-9DTss3Bt.js +1 -0
- package/dist/client/assets/{uiStateStore-OqZLiCwV.js → uiStateStore-77JarUWB.js} +1 -1
- package/dist/client/assets/{useAtlassian-zbqx4xW1.js → useAtlassian-CCX2YMMO.js} +0 -0
- package/dist/client/assets/{useButton-DXIv8wCn.js → useButton-DqpJ6e75.js} +1 -1
- package/dist/client/assets/{useCompositeListItem-rrdFaxXB.js → useCompositeListItem-Dsvm-5fB.js} +1 -1
- package/dist/client/assets/{useDebouncedValue-Dz3pyT5q.js → useDebouncedValue-CEauJPrh.js} +1 -1
- package/dist/client/assets/{useFloatingRootContext-CIRRjmkd.js → useFloatingRootContext-6_Jqtexa.js} +1 -1
- package/dist/client/assets/{useHandleNewThread-DRoY_cL7.js → useHandleNewThread-Cqmf_d8K.js} +1 -1
- package/dist/client/assets/{useLabelableId-nlk2LM0q.js → useLabelableId-C6SFj1V_.js} +1 -1
- package/dist/client/assets/{useLocation-TExTri5H.js → useLocation-B6GbzsxV.js} +1 -1
- package/dist/client/assets/{useOpenInteractionType-Co4_pLo_.js → useOpenInteractionType-Dz3FMr9X.js} +1 -1
- package/dist/client/assets/{usePhoneThreadActions-CTmdPjGg.js → usePhoneThreadActions-CCCWjAtp.js} +1 -1
- package/dist/client/assets/{usePopupViewport-SxCh7dCg.js → usePopupViewport-BlA5mlIJ.js} +1 -1
- package/dist/client/assets/{useScrollLock-cFFkQSYy.js → useScrollLock-DfvnGWSO.js} +1 -1
- package/dist/client/assets/{useStatistics-D8hzpDv4.js → useStatistics-Cm_ww9Q5.js} +1 -1
- package/dist/client/assets/{useSwipeDismiss-ALyKckxx.js → useSwipeDismiss-DTX51-vs.js} +1 -1
- package/dist/client/assets/{useThreadActions-5hLAJAJB.js → useThreadActions-BQRfXVVz.js} +1 -1
- package/dist/client/assets/{useTriggerFocusGuards-lOK7sLv0.js → useTriggerFocusGuards-9BE2fzWh.js} +1 -1
- package/dist/client/assets/{useValueChanged-BQLjL43O.js → useValueChanged-BLrOCH_k.js} +1 -1
- package/dist/client/assets/{utils-Ct58OPtz.js → utils-CjMKiqw4.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/{collectUint8StreamText-Bwltp7kn.mjs → collectUint8StreamText-BIOBnIzb.mjs} +8 -2
- package/dist/{collectUint8StreamText-D0THfPrP.cjs → collectUint8StreamText-CJEzr0MN.cjs} +13 -1
- package/dist/{makeManagedServerProvider-BMSV4Aim.mjs → makeManagedServerProvider-CMwrPtKm.mjs} +2 -2
- package/dist/{makeManagedServerProvider-B7rRjRgd.cjs → makeManagedServerProvider-CkLRh_mS.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/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
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Jo as RuntimeItemId, Zo as RuntimeSubagentId, qo as ProviderItemId } from "./collectUint8StreamText-BIOBnIzb.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
3
|
const require_rolldown_runtime = require("./rolldown-runtime-LGfotAqq.cjs");
|
|
4
|
-
const require_collectUint8StreamText = require("./collectUint8StreamText-
|
|
4
|
+
const require_collectUint8StreamText = require("./collectUint8StreamText-CJEzr0MN.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
|
-
const require_collectUint8StreamText = require("./collectUint8StreamText-
|
|
4
|
-
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-
|
|
3
|
+
const require_collectUint8StreamText = require("./collectUint8StreamText-CJEzr0MN.cjs");
|
|
4
|
+
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-DZrf3FFb.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-BIOBnIzb.mjs";
|
|
4
|
+
import { l as sourceControlRefFromInput, o as SourceControlProvider, t as azureDevOpsDiscovery } from "./SourceControlProviderDiscoveryCatalog-G0HUTo-t.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,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-BIOBnIzb.mjs";
|
|
4
|
+
import { i as makeBitbucketDiscovery, l as sourceControlRefFromInput, o as SourceControlProvider } from "./SourceControlProviderDiscoveryCatalog-G0HUTo-t.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,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-CJEzr0MN.cjs");
|
|
4
|
+
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-DZrf3FFb.cjs");
|
|
5
5
|
const require_bin = require("./bin.cjs");
|
|
6
6
|
let effect = require("effect");
|
|
7
7
|
//#region src/sourceControl/BitbucketSourceControlProvider.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
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-CJEzr0MN.cjs");
|
|
5
5
|
const require_Metrics = require("./Metrics-DIjMQ5pa.cjs");
|
|
6
6
|
const require_bin = require("./bin.cjs");
|
|
7
7
|
const require_sourceControlContextFormatter = require("./sourceControlContextFormatter-BDZqn-4T.cjs");
|
|
8
8
|
const require_ProjectCustomSystemPrompt = require("./ProjectCustomSystemPrompt-B8SUlNGa.cjs");
|
|
9
|
-
const require_makeManagedServerProvider = require("./makeManagedServerProvider-
|
|
9
|
+
const require_makeManagedServerProvider = require("./makeManagedServerProvider-CkLRh_mS.cjs");
|
|
10
10
|
const require_ProviderDriver = require("./ProviderDriver--rNeAi3B.cjs");
|
|
11
11
|
let effect = require("effect");
|
|
12
12
|
let effect_unstable_http = require("effect/unstable/http");
|
|
@@ -17,266 +17,119 @@ let effect_unstable_process = require("effect/unstable/process");
|
|
|
17
17
|
let node_fs_promises = require("node:fs/promises");
|
|
18
18
|
node_fs_promises = require_rolldown_runtime.__toESM(node_fs_promises, 1);
|
|
19
19
|
let _anthropic_ai_claude_agent_sdk = require("@anthropic-ai/claude-agent-sdk");
|
|
20
|
-
//#region src/provider/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
20
|
+
//#region src/provider/ClaudeModelCatalog.ts
|
|
21
|
+
/**
|
|
22
|
+
* ClaudeModelCatalog — Claude model metadata resolved from the model
|
|
23
|
+
* manifest (bundled or remote), replacing the hard-coded `BUILT_IN_MODELS`
|
|
24
|
+
* catalog that previously lived in `ClaudeProvider.ts`.
|
|
25
|
+
*
|
|
26
|
+
* All resolvers are pure and take the catalog as an argument. The one
|
|
27
|
+
* exception is the module-level "active" catalog at the bottom: adapter and
|
|
28
|
+
* text-generation call sites predate the manifest and resolve capabilities
|
|
29
|
+
* synchronously without a service handle, so provider checks publish the
|
|
30
|
+
* catalog they resolved and those call sites read it back. See
|
|
31
|
+
* `setActiveClaudeModelCatalog` for the contract.
|
|
32
|
+
*
|
|
33
|
+
* Ported from pingdotgg/t3code (PR #9084), adapted to Ryco's CLI-version
|
|
34
|
+
* helpers and call-site shape.
|
|
35
|
+
*/
|
|
36
|
+
const CLAUDE = require_collectUint8StreamText.ProviderDriverKind.make("claudeAgent");
|
|
37
|
+
const EMPTY_CAPABILITIES = { optionDescriptors: [] };
|
|
38
|
+
function tryResolveClaudeModelCatalog(manifest) {
|
|
39
|
+
const resolved = require_bin.resolveProviderCatalog(manifest, CLAUDE);
|
|
40
|
+
if (!resolved) return null;
|
|
41
|
+
const models = [];
|
|
42
|
+
for (const entry of resolved.models) {
|
|
43
|
+
const profile = require_bin.decodeClaudeProfileAdapter(entry.profileAdapter ?? {});
|
|
44
|
+
const adapter = require_bin.decodeClaudeModelAdapter(entry.adapter ?? {});
|
|
45
|
+
if (effect.Option.isNone(profile) || effect.Option.isNone(adapter)) return null;
|
|
46
|
+
models.push({
|
|
47
|
+
model: entry.model,
|
|
48
|
+
runtime: profile.value.claudeCode ?? {},
|
|
49
|
+
compatibility: adapter.value.claudeCode ?? {}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
return { models };
|
|
42
53
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
return require_bin.buildSelectOptionDescriptor({
|
|
46
|
-
id: "effort",
|
|
47
|
-
label: "Reasoning",
|
|
48
|
-
options: input.levels.map((level) => buildClaudeEffortOption(level, input.defaultEffort)),
|
|
49
|
-
...promptInjectedValues ? { promptInjectedValues } : {}
|
|
50
|
-
});
|
|
54
|
+
function resolveClaudeModelCatalog(manifest) {
|
|
55
|
+
return tryResolveClaudeModelCatalog(manifest) ?? tryResolveClaudeModelCatalog(require_bin.BUNDLED_MODEL_MANIFEST) ?? { models: [] };
|
|
51
56
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
value: "200k",
|
|
58
|
-
label: "200k",
|
|
59
|
-
isDefault: defaultContextWindow === "200k"
|
|
60
|
-
}, {
|
|
61
|
-
value: "1m",
|
|
62
|
-
label: "1M",
|
|
63
|
-
isDefault: defaultContextWindow === "1m"
|
|
64
|
-
}]
|
|
65
|
-
});
|
|
57
|
+
const BUNDLED_CLAUDE_MODEL_CATALOG = resolveClaudeModelCatalog(require_bin.BUNDLED_MODEL_MANIFEST);
|
|
58
|
+
function resolveClaudeCatalogModel(catalog, slugOrAlias) {
|
|
59
|
+
const value = slugOrAlias?.trim();
|
|
60
|
+
if (!value) return void 0;
|
|
61
|
+
return catalog.models.find((entry) => entry.model.slug === value) ?? catalog.models.find((entry) => entry.model.aliases?.some((alias) => alias.toLowerCase() === value.toLowerCase()));
|
|
66
62
|
}
|
|
67
|
-
function
|
|
68
|
-
return
|
|
69
|
-
buildClaudeEffortDescriptor({
|
|
70
|
-
levels: input.effortLevels,
|
|
71
|
-
defaultEffort: input.defaultEffort
|
|
72
|
-
}),
|
|
73
|
-
...input.supportsFastMode ? [require_bin.buildBooleanOptionDescriptor({
|
|
74
|
-
id: "fastMode",
|
|
75
|
-
label: "Fast Mode"
|
|
76
|
-
})] : [],
|
|
77
|
-
...input.supportsContextWindow ? [buildClaudeContextWindowDescriptor(input.defaultContextWindow)] : []
|
|
78
|
-
] });
|
|
79
|
-
}
|
|
80
|
-
const CLAUDE_OPUS_ADAPTIVE_EFFORT_LEVELS = [
|
|
81
|
-
"low",
|
|
82
|
-
"medium",
|
|
83
|
-
"high",
|
|
84
|
-
"xhigh",
|
|
85
|
-
"max",
|
|
86
|
-
"ultrathink"
|
|
87
|
-
];
|
|
88
|
-
const CLAUDE_ULTRACODE_EFFORT_LEVELS = [
|
|
89
|
-
"low",
|
|
90
|
-
"medium",
|
|
91
|
-
"high",
|
|
92
|
-
"xhigh",
|
|
93
|
-
"max",
|
|
94
|
-
"ultracode",
|
|
95
|
-
"ultrathink"
|
|
96
|
-
];
|
|
97
|
-
const CLAUDE_OPUS_LEGACY_EFFORT_LEVELS = [
|
|
98
|
-
"low",
|
|
99
|
-
"medium",
|
|
100
|
-
"high",
|
|
101
|
-
"max"
|
|
102
|
-
];
|
|
103
|
-
const BUILT_IN_MODELS = [
|
|
104
|
-
{
|
|
105
|
-
slug: "claude-fable-5",
|
|
106
|
-
name: "Claude Fable 5",
|
|
107
|
-
shortName: "Fable 5",
|
|
108
|
-
isCustom: false,
|
|
109
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
110
|
-
effortLevels: CLAUDE_ULTRACODE_EFFORT_LEVELS,
|
|
111
|
-
defaultEffort: "high",
|
|
112
|
-
supportsFastMode: false,
|
|
113
|
-
supportsContextWindow: false
|
|
114
|
-
})
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
slug: "claude-opus-5",
|
|
118
|
-
name: "Claude Opus 5",
|
|
119
|
-
shortName: "Opus 5",
|
|
120
|
-
isCustom: false,
|
|
121
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
122
|
-
effortLevels: CLAUDE_ULTRACODE_EFFORT_LEVELS,
|
|
123
|
-
defaultEffort: "high",
|
|
124
|
-
supportsFastMode: true,
|
|
125
|
-
supportsContextWindow: true,
|
|
126
|
-
defaultContextWindow: "1m"
|
|
127
|
-
})
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
slug: "claude-opus-4-8",
|
|
131
|
-
name: "Claude Opus 4.8",
|
|
132
|
-
shortName: "Opus 4.8",
|
|
133
|
-
isCustom: false,
|
|
134
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
135
|
-
effortLevels: CLAUDE_ULTRACODE_EFFORT_LEVELS,
|
|
136
|
-
defaultEffort: "high",
|
|
137
|
-
supportsFastMode: true,
|
|
138
|
-
supportsContextWindow: true
|
|
139
|
-
})
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
slug: "claude-opus-4-7",
|
|
143
|
-
name: "Claude Opus 4.7",
|
|
144
|
-
shortName: "Opus 4.7",
|
|
145
|
-
isCustom: false,
|
|
146
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
147
|
-
effortLevels: CLAUDE_OPUS_ADAPTIVE_EFFORT_LEVELS,
|
|
148
|
-
defaultEffort: "xhigh",
|
|
149
|
-
supportsFastMode: true,
|
|
150
|
-
supportsContextWindow: true
|
|
151
|
-
})
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
slug: "claude-opus-4-6",
|
|
155
|
-
name: "Claude Opus 4.6",
|
|
156
|
-
shortName: "Opus 4.6",
|
|
157
|
-
isCustom: false,
|
|
158
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
159
|
-
effortLevels: [...CLAUDE_OPUS_LEGACY_EFFORT_LEVELS, "ultrathink"],
|
|
160
|
-
defaultEffort: "high",
|
|
161
|
-
supportsFastMode: true,
|
|
162
|
-
supportsContextWindow: true
|
|
163
|
-
})
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
slug: "claude-opus-4-5",
|
|
167
|
-
name: "Claude Opus 4.5",
|
|
168
|
-
shortName: "Opus 4.5",
|
|
169
|
-
isCustom: false,
|
|
170
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
171
|
-
effortLevels: CLAUDE_OPUS_LEGACY_EFFORT_LEVELS,
|
|
172
|
-
defaultEffort: "high",
|
|
173
|
-
supportsFastMode: false,
|
|
174
|
-
supportsContextWindow: false
|
|
175
|
-
})
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
slug: "claude-sonnet-5",
|
|
179
|
-
name: "Claude Sonnet 5",
|
|
180
|
-
shortName: "Sonnet 5",
|
|
181
|
-
isCustom: false,
|
|
182
|
-
capabilities: buildClaudeOpusCapabilities({
|
|
183
|
-
effortLevels: CLAUDE_OPUS_ADAPTIVE_EFFORT_LEVELS,
|
|
184
|
-
defaultEffort: "high",
|
|
185
|
-
supportsFastMode: false,
|
|
186
|
-
supportsContextWindow: true
|
|
187
|
-
})
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
slug: "claude-sonnet-4-6",
|
|
191
|
-
name: "Claude Sonnet 4.6",
|
|
192
|
-
shortName: "Sonnet 4.6",
|
|
193
|
-
isCustom: false,
|
|
194
|
-
capabilities: require_bin.createModelCapabilities({ optionDescriptors: [require_bin.buildSelectOptionDescriptor({
|
|
195
|
-
id: "effort",
|
|
196
|
-
label: "Reasoning",
|
|
197
|
-
options: [
|
|
198
|
-
{
|
|
199
|
-
value: "low",
|
|
200
|
-
label: "Low"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
value: "medium",
|
|
204
|
-
label: "Medium"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
value: "high",
|
|
208
|
-
label: "High",
|
|
209
|
-
isDefault: true
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
value: "max",
|
|
213
|
-
label: "Max"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
value: "ultrathink",
|
|
217
|
-
label: "Ultrathink"
|
|
218
|
-
}
|
|
219
|
-
],
|
|
220
|
-
promptInjectedValues: ["ultrathink"]
|
|
221
|
-
}), require_bin.buildSelectOptionDescriptor({
|
|
222
|
-
id: "contextWindow",
|
|
223
|
-
label: "Context Window",
|
|
224
|
-
options: [{
|
|
225
|
-
value: "200k",
|
|
226
|
-
label: "200k",
|
|
227
|
-
isDefault: true
|
|
228
|
-
}, {
|
|
229
|
-
value: "1m",
|
|
230
|
-
label: "1M"
|
|
231
|
-
}]
|
|
232
|
-
})] })
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
slug: "claude-haiku-4-5",
|
|
236
|
-
name: "Claude Haiku 4.5",
|
|
237
|
-
shortName: "Haiku 4.5",
|
|
238
|
-
isCustom: false,
|
|
239
|
-
capabilities: require_bin.createModelCapabilities({ optionDescriptors: [require_bin.buildBooleanOptionDescriptor({
|
|
240
|
-
id: "thinking",
|
|
241
|
-
label: "Thinking"
|
|
242
|
-
})] })
|
|
243
|
-
}
|
|
244
|
-
];
|
|
245
|
-
function supportsMinimumClaudeVersion(version, minimumVersion) {
|
|
246
|
-
return version ? require_bin.compareCliVersions(version, minimumVersion) >= 0 : false;
|
|
63
|
+
function getClaudeCatalogModelCapabilities(catalog, slugOrAlias) {
|
|
64
|
+
return resolveClaudeCatalogModel(catalog, slugOrAlias)?.model.capabilities ?? EMPTY_CAPABILITIES;
|
|
247
65
|
}
|
|
248
|
-
function
|
|
249
|
-
|
|
66
|
+
function isVersionSupported(compatibility, version) {
|
|
67
|
+
if (!compatibility.minVersion && !compatibility.maxVersionExclusive) return true;
|
|
68
|
+
if (!version) return false;
|
|
69
|
+
if (compatibility.minVersion && require_bin.compareCliVersions(version, compatibility.minVersion) < 0) return false;
|
|
70
|
+
return !(compatibility.maxVersionExclusive && require_bin.compareCliVersions(version, compatibility.maxVersionExclusive) >= 0);
|
|
250
71
|
}
|
|
251
|
-
function
|
|
252
|
-
return
|
|
72
|
+
function resolveClaudeModelsForVersion(catalog, version) {
|
|
73
|
+
return catalog.models.filter((entry) => isVersionSupported(entry.compatibility, version)).map((entry) => entry.model);
|
|
253
74
|
}
|
|
254
|
-
|
|
255
|
-
|
|
75
|
+
/**
|
|
76
|
+
* Upgrade nudge for CLIs too old for one or more catalog models. Names the
|
|
77
|
+
* model with the lowest unmet minimum, so the message always describes the
|
|
78
|
+
* smallest upgrade that unlocks something.
|
|
79
|
+
*/
|
|
80
|
+
function formatClaudeVersionUpgradeMessage(catalog, version) {
|
|
81
|
+
const unavailable = catalog.models.filter((entry) => entry.compatibility.minVersion && (!version || require_bin.compareCliVersions(version, entry.compatibility.minVersion) < 0)).toSorted((left, right) => require_bin.compareCliVersions(left.compatibility.minVersion, right.compatibility.minVersion))[0];
|
|
82
|
+
if (!unavailable?.compatibility.minVersion) return void 0;
|
|
83
|
+
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.`;
|
|
256
84
|
}
|
|
257
|
-
|
|
258
|
-
|
|
85
|
+
/**
|
|
86
|
+
* Normalize a resolved effort value into one suitable for the Claude CLI's
|
|
87
|
+
* `--effort` flag, using the catalog's per-model `effortMap`.
|
|
88
|
+
*
|
|
89
|
+
* `ultrathink` is always dropped (prompt-prefix mode, not a CLI flag), and
|
|
90
|
+
* `ultracode` never reaches the CLI raw: models that support it map it (to
|
|
91
|
+
* `xhigh`) via their effort map, and for anything else it is dropped rather
|
|
92
|
+
* than passed through.
|
|
93
|
+
*/
|
|
94
|
+
function normalizeClaudeCatalogEffort(catalog, effort, model) {
|
|
95
|
+
if (!effort || effort === "ultrathink") return void 0;
|
|
96
|
+
const effortMap = resolveClaudeCatalogModel(catalog, model)?.runtime.effortMap;
|
|
97
|
+
if (effortMap && Object.hasOwn(effortMap, effort)) return effortMap[effort] ?? void 0;
|
|
98
|
+
if (effort === "ultracode") return void 0;
|
|
99
|
+
return effort;
|
|
259
100
|
}
|
|
260
|
-
function
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
return true;
|
|
101
|
+
function resolveClaudeCatalogApiModelId(catalog, modelSelection) {
|
|
102
|
+
const entry = resolveClaudeCatalogModel(catalog, modelSelection.model);
|
|
103
|
+
const slug = entry?.model.slug ?? modelSelection.model;
|
|
104
|
+
const descriptors = require_bin.getProviderOptionDescriptors({
|
|
105
|
+
caps: entry?.model.capabilities ?? EMPTY_CAPABILITIES,
|
|
106
|
+
selections: modelSelection.options
|
|
267
107
|
});
|
|
108
|
+
for (const [optionId, suffixes] of Object.entries(entry?.runtime.modelSuffixes ?? {})) {
|
|
109
|
+
const value = require_bin.getProviderOptionCurrentValue(descriptors.find((descriptor) => descriptor.id === optionId));
|
|
110
|
+
if (typeof value === "string" && suffixes[value]) return `${slug}${suffixes[value]}`;
|
|
111
|
+
}
|
|
112
|
+
return slug;
|
|
268
113
|
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
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.`);
|
|
273
|
-
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.`);
|
|
274
|
-
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.`);
|
|
275
|
-
return messages;
|
|
114
|
+
let activeClaudeModelCatalog = BUNDLED_CLAUDE_MODEL_CATALOG;
|
|
115
|
+
function getActiveClaudeModelCatalog() {
|
|
116
|
+
return activeClaudeModelCatalog;
|
|
276
117
|
}
|
|
118
|
+
function setActiveClaudeModelCatalog(catalog) {
|
|
119
|
+
activeClaudeModelCatalog = catalog;
|
|
120
|
+
}
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region src/provider/Layers/ClaudeProvider.ts
|
|
123
|
+
const DEFAULT_CLAUDE_MODEL_CAPABILITIES = require_bin.createModelCapabilities({ optionDescriptors: [] });
|
|
124
|
+
const PROVIDER$1 = require_collectUint8StreamText.ProviderDriverKind.make("claudeAgent");
|
|
125
|
+
const CLAUDE_PRESENTATION = {
|
|
126
|
+
displayName: "Claude",
|
|
127
|
+
showInteractionModeToggle: true,
|
|
128
|
+
supportsAskMode: true
|
|
129
|
+
};
|
|
277
130
|
function getClaudeModelCapabilities(model) {
|
|
278
|
-
const
|
|
279
|
-
return
|
|
131
|
+
const capabilities = getClaudeCatalogModelCapabilities(getActiveClaudeModelCatalog(), model);
|
|
132
|
+
return capabilities.optionDescriptors?.length ? capabilities : DEFAULT_CLAUDE_MODEL_CAPABILITIES;
|
|
280
133
|
}
|
|
281
134
|
function resolveClaudeEffort(caps, raw) {
|
|
282
135
|
const effortDescriptor = require_bin.getProviderOptionDescriptors({
|
|
@@ -291,41 +144,19 @@ function resolveClaudeEffort(caps, raw) {
|
|
|
291
144
|
}
|
|
292
145
|
/**
|
|
293
146
|
* Normalize a resolved Claude effort value into one suitable for the Claude
|
|
294
|
-
* CLI's `--effort` flag.
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
* is paired with the Claude Code settings flag and normalized to `"xhigh"`,
|
|
299
|
-
* while `"ultrathink"` is filtered out because it is a prompt-prefix mode.
|
|
300
|
-
* Returns `undefined` when no flag should be passed.
|
|
147
|
+
* CLI's `--effort` flag. Catalog-driven: each model's `effortMap` in the
|
|
148
|
+
* manifest declares remappings (`ultracode` → `xhigh` where supported,
|
|
149
|
+
* `max` → `high` on Sonnet 4.6); `ultrathink` is always dropped because it
|
|
150
|
+
* is a prompt-prefix mode, and `ultracode` never reaches the CLI raw.
|
|
301
151
|
*/
|
|
302
152
|
function normalizeClaudeCliEffort(effort, model) {
|
|
303
|
-
|
|
304
|
-
if (effort === "ultracode") return model === "claude-fable-5" || model === "claude-opus-5" || model === "claude-opus-4-8" ? "xhigh" : void 0;
|
|
305
|
-
if (effort === "max" && model === "claude-sonnet-4-6") return "high";
|
|
306
|
-
return effort;
|
|
153
|
+
return normalizeClaudeCatalogEffort(getActiveClaudeModelCatalog(), effort, model);
|
|
307
154
|
}
|
|
308
155
|
function isClaudeUltracodeEffort(effort) {
|
|
309
156
|
return effort === "ultracode";
|
|
310
157
|
}
|
|
311
|
-
function resolveClaudeContextWindow(modelSelection) {
|
|
312
|
-
const caps = getClaudeModelCapabilities(modelSelection?.model);
|
|
313
|
-
const raw = require_bin.getModelSelectionStringOptionValue(modelSelection, "contextWindow");
|
|
314
|
-
const descriptor = require_bin.getProviderOptionDescriptors({
|
|
315
|
-
caps,
|
|
316
|
-
...raw ? { selections: [{
|
|
317
|
-
id: "contextWindow",
|
|
318
|
-
value: raw
|
|
319
|
-
}] } : {}
|
|
320
|
-
}).find((candidate) => candidate.id === "contextWindow");
|
|
321
|
-
const value = require_bin.getProviderOptionCurrentValue(descriptor);
|
|
322
|
-
return typeof value === "string" ? value : void 0;
|
|
323
|
-
}
|
|
324
158
|
function resolveClaudeApiModelId(modelSelection) {
|
|
325
|
-
|
|
326
|
-
case "1m": return `${modelSelection.model}[1m]`;
|
|
327
|
-
default: return modelSelection.model;
|
|
328
|
-
}
|
|
159
|
+
return resolveClaudeCatalogApiModelId(getActiveClaudeModelCatalog(), modelSelection);
|
|
329
160
|
}
|
|
330
161
|
function toTitleCaseWords(value) {
|
|
331
162
|
return value.split(/[\s_-]+/g).filter(Boolean).map((part) => part[0].toUpperCase() + part.slice(1).toLowerCase()).join(" ");
|
|
@@ -480,9 +311,16 @@ const runClaudeCommand = effect.Effect.fn("runClaudeCommand")(function* (claudeS
|
|
|
480
311
|
});
|
|
481
312
|
return yield* require_bin.spawnAndCollect(claudeSettings.binaryPath, command);
|
|
482
313
|
});
|
|
483
|
-
const checkClaudeProviderStatus = effect.Effect.fn("checkClaudeProviderStatus")(function* (claudeSettings, resolveCapabilities, environment = process.env, resolveRateLimits) {
|
|
314
|
+
const checkClaudeProviderStatus = effect.Effect.fn("checkClaudeProviderStatus")(function* (claudeSettings, resolveCapabilities, environment = process.env, resolveRateLimits, modelManifest) {
|
|
484
315
|
const checkedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
485
|
-
|
|
316
|
+
let catalog = getActiveClaudeModelCatalog();
|
|
317
|
+
if (modelManifest) {
|
|
318
|
+
catalog = resolveClaudeModelCatalog(yield* modelManifest.current);
|
|
319
|
+
setActiveClaudeModelCatalog(catalog);
|
|
320
|
+
yield* modelManifest.refreshInBackground;
|
|
321
|
+
}
|
|
322
|
+
const catalogModels = catalog.models.map((entry) => entry.model);
|
|
323
|
+
const allModels = require_bin.providerModelsFromSettings(catalogModels, PROVIDER$1, claudeSettings.customModels, DEFAULT_CLAUDE_MODEL_CAPABILITIES);
|
|
486
324
|
if (!claudeSettings.enabled) return require_bin.buildServerProvider({
|
|
487
325
|
presentation: CLAUDE_PRESENTATION,
|
|
488
326
|
enabled: false,
|
|
@@ -544,8 +382,8 @@ const checkClaudeProviderStatus = effect.Effect.fn("checkClaudeProviderStatus")(
|
|
|
544
382
|
}
|
|
545
383
|
});
|
|
546
384
|
}
|
|
547
|
-
const models = require_bin.providerModelsFromSettings(
|
|
548
|
-
const upgradeMessage =
|
|
385
|
+
const models = require_bin.providerModelsFromSettings(resolveClaudeModelsForVersion(catalog, parsedVersion), PROVIDER$1, claudeSettings.customModels, DEFAULT_CLAUDE_MODEL_CAPABILITIES);
|
|
386
|
+
const upgradeMessage = formatClaudeVersionUpgradeMessage(catalog, parsedVersion) ?? "";
|
|
549
387
|
const capabilities = resolveCapabilities ? yield* resolveCapabilities(claudeSettings).pipe(effect.Effect.orElseSucceed(() => void 0)) : void 0;
|
|
550
388
|
const dedupedSlashCommands = dedupeSlashCommands(capabilities?.slashCommands ?? []);
|
|
551
389
|
const rateLimits = resolveRateLimits ? yield* resolveRateLimits(claudeSettings, parsedVersion).pipe(effect.Effect.orElseSucceed(() => void 0)) : void 0;
|
|
@@ -590,7 +428,7 @@ const checkClaudeProviderStatus = effect.Effect.fn("checkClaudeProviderStatus")(
|
|
|
590
428
|
});
|
|
591
429
|
const makePendingClaudeProvider = (claudeSettings) => {
|
|
592
430
|
const checkedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
593
|
-
const models = require_bin.providerModelsFromSettings(
|
|
431
|
+
const models = require_bin.providerModelsFromSettings(getActiveClaudeModelCatalog().models.map((entry) => entry.model), PROVIDER$1, claudeSettings.customModels, DEFAULT_CLAUDE_MODEL_CAPABILITIES);
|
|
594
432
|
if (!claudeSettings.enabled) return require_bin.buildServerProvider({
|
|
595
433
|
presentation: CLAUDE_PRESENTATION,
|
|
596
434
|
enabled: false,
|
|
@@ -4012,6 +3850,7 @@ const ClaudeDriver = {
|
|
|
4012
3850
|
const httpClient = yield* effect_unstable_http.HttpClient.HttpClient;
|
|
4013
3851
|
const serverSettings = yield* require_bin.ServerSettingsService;
|
|
4014
3852
|
const eventLoggers = yield* require_bin.ProviderEventLoggers;
|
|
3853
|
+
const modelManifest = yield* effect.Effect.serviceOption(require_bin.ModelManifest);
|
|
4015
3854
|
const agentControl = yield* effect.Effect.serviceOption(require_bin.AgentControlSessionRegistry);
|
|
4016
3855
|
const processEnv = require_bin.mergeProviderInstanceEnvironment(environment);
|
|
4017
3856
|
const fallbackContinuationIdentity = require_ProviderDriver.defaultProviderContinuationIdentity({
|
|
@@ -4052,7 +3891,7 @@ const ClaudeDriver = {
|
|
|
4052
3891
|
timeToLive: USAGE_PROBE_TTL,
|
|
4053
3892
|
lookup: (version) => probeClaudeUsageRateLimits(effectiveConfig, version).pipe(effect.Effect.provideService(effect.Path.Path, path))
|
|
4054
3893
|
});
|
|
4055
|
-
const checkProvider = checkClaudeProviderStatus(effectiveConfig, () => effect.Cache.get(capabilitiesProbeCache, capabilitiesCacheKey), processEnv, (_settings, version) => effect.Cache.get(usageProbeCache, version)).pipe(effect.Effect.map(stampIdentity), effect.Effect.provideService(effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner, spawner), effect.Effect.provideService(effect.Path.Path, path));
|
|
3894
|
+
const checkProvider = checkClaudeProviderStatus(effectiveConfig, () => effect.Cache.get(capabilitiesProbeCache, capabilitiesCacheKey), processEnv, (_settings, version) => effect.Cache.get(usageProbeCache, version), effect.Option.getOrUndefined(modelManifest)).pipe(effect.Effect.map(stampIdentity), effect.Effect.provideService(effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner, spawner), effect.Effect.provideService(effect.Path.Path, path));
|
|
4056
3895
|
const snapshot = yield* require_makeManagedServerProvider.makeManagedServerProvider({
|
|
4057
3896
|
maintenanceCapabilities,
|
|
4058
3897
|
getSettings: effect.Effect.succeed(effectiveConfig),
|