ryco-cli 0.1.20 → 0.1.22
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-Bh7MX3rC.cjs → AcpNativeLogging-COepku4a.cjs} +264 -7
- package/dist/{AcpNativeLogging-CLM3p9JD.mjs → AcpNativeLogging-D7e1dn7s.mjs} +254 -9
- package/dist/{AzureDevOpsSourceControlProvider-jQm1WPMS.mjs → AzureDevOpsSourceControlProvider-BNGEg1R8.mjs} +3 -3
- package/dist/{AzureDevOpsSourceControlProvider-D9QXGi1h.cjs → AzureDevOpsSourceControlProvider-CrvgKNf2.cjs} +2 -2
- package/dist/{BitbucketSourceControlProvider-j95Cro_2.mjs → BitbucketSourceControlProvider-Bt21jw68.mjs} +3 -3
- package/dist/{BitbucketSourceControlProvider-C3VDp9qR.cjs → BitbucketSourceControlProvider-BzhsQwH-.cjs} +2 -2
- package/dist/{BunPTY-CNvWSzEJ.mjs → BunPTY-TbHbSc8S.mjs} +1 -1
- package/dist/{ClaudeDriver-CT89QDP8.mjs → ClaudeDriver-D65SPdHR.mjs} +44 -119
- package/dist/{ClaudeDriver-DiRhQM2K.cjs → ClaudeDriver-D7NatUx6.cjs} +52 -127
- package/dist/{CodexDriver-CBYfPl_X.mjs → CodexDriver-D4z5-wUD.mjs} +237 -50
- package/dist/{CodexDriver-BmKoU7w_.cjs → CodexDriver-DWGtHt9r.cjs} +235 -48
- package/dist/{CodexTextGeneration-CuXvtfAi.cjs → CodexTextGeneration-B4tJTUDo.cjs} +1 -1
- package/dist/{CodexTextGeneration-B7GPyLo2.mjs → CodexTextGeneration-BikHow8k.mjs} +2 -2
- package/dist/{CopilotDriver-XX5zmGVK.cjs → CopilotDriver-DJvYncGI.cjs} +122 -23
- package/dist/{CopilotDriver-BJ1P_bHz.mjs → CopilotDriver-ZvvsAIkd.mjs} +123 -24
- package/dist/{CursorDriver-BH6yAijk.mjs → CursorDriver-B1QSBzuH.mjs} +45 -74
- package/dist/{CursorDriver-CYMXQKec.cjs → CursorDriver-D3I4KULs.cjs} +44 -73
- package/dist/{ForgejoSourceControlProvider-ZfU3SBzW.mjs → ForgejoSourceControlProvider-BGXysSX6.mjs} +3 -3
- package/dist/{ForgejoSourceControlProvider-Dzg-BJY_.cjs → ForgejoSourceControlProvider-Dh6DOoc8.cjs} +2 -2
- package/dist/{GitHubSourceControlProvider-BpyIi23Q.cjs → GitHubSourceControlProvider-8hsv_kCE.cjs} +2 -2
- package/dist/{GitHubSourceControlProvider-Bx5_H3zb.mjs → GitHubSourceControlProvider-CPCYV8Xo.mjs} +3 -3
- package/dist/{GitLabSourceControlProvider-QccSsOnx.cjs → GitLabSourceControlProvider-B0ZbF9Zx.cjs} +2 -2
- package/dist/{GitLabSourceControlProvider-DjvGD1WZ.mjs → GitLabSourceControlProvider-Bvknpaon.mjs} +3 -3
- package/dist/{GrokDriver-BPIUrqkN.mjs → GrokDriver-DgQe3pKz.mjs} +41 -10
- package/dist/{GrokDriver-jE4az7JZ.cjs → GrokDriver-_puXDTU3.cjs} +42 -11
- package/dist/{NodePTY-lO8PwZLk.mjs → NodePTY-B_p5tLYO.mjs} +1 -1
- package/dist/{OpenCodeDriver-IbZqAzYW.cjs → OpenCodeDriver-401RexI0.cjs} +240 -40
- package/dist/{OpenCodeDriver-_hUfFwH4.mjs → OpenCodeDriver-DNUlF8M-.mjs} +238 -41
- package/dist/{SourceControlProviderDiscoveryCatalog-CHxCP6Ng.mjs → SourceControlProviderDiscoveryCatalog-B37RHe2u.mjs} +1 -1
- package/dist/{SourceControlProviderDiscoveryCatalog-CnkV-oKD.cjs → SourceControlProviderDiscoveryCatalog-DreaAH1H.cjs} +1 -1
- package/dist/bin.cjs +10690 -5679
- package/dist/bin.mjs +10674 -5674
- package/dist/client/assets/AccountSettings-CypheYqM.js +1 -0
- package/dist/client/assets/AiFocusSettings-BlX0ED1t.js +1 -0
- package/dist/client/assets/AnimatedHeight-DKCe4x_Q.js +1 -0
- package/dist/client/assets/AppearanceSettings-BSyn6NXf.js +1 -0
- package/dist/client/assets/BranchToolbar.logic-fpBz8Ajj.js +1 -0
- package/dist/client/assets/BrowserPanel-BWch19QH.js +1 -0
- package/dist/client/assets/ChatRightPanel-B7yrq-hS.js +27 -0
- package/dist/client/assets/ChatThreadRouteView-Cg0d_EHs.js +1 -0
- package/dist/client/assets/CommandPaletteDialog-DImCuPaX.js +1 -0
- package/dist/client/assets/CompositeItem-BYnHWRNf.js +1 -0
- package/dist/client/assets/CompositeRoot-B28uivk7.js +1 -0
- package/dist/client/assets/ComputerUseSettings-CosW7jaG.js +1 -0
- package/dist/client/assets/ConnectionsSettings-Bk6vI3G-.js +7 -0
- package/dist/client/assets/ContextHandoffEndpointLabel-BR6ygaub.js +4 -0
- package/dist/client/assets/DiagnosticsSettings-Dp_tCNLw.js +2 -0
- package/dist/client/assets/DialogHandle-BN-QB-sO.js +1 -0
- package/dist/client/assets/DialogPopup-BuJs5WUt.js +1 -0
- package/dist/client/assets/DialogRoot-PxEcoecQ.js +1 -0
- package/dist/client/assets/DialogTitle-4nxQsra4.js +1 -0
- package/dist/client/assets/DialogTrigger-D_0canul.js +1 -0
- package/dist/client/assets/DialogViewport-DSo-2hyf.js +1 -0
- package/dist/client/assets/DraftChatThreadRouteView-C94kpMx4.js +1 -0
- package/dist/client/assets/{ExternalIdentityWeb.logic-TlJdh82R.js → ExternalIdentityWeb.logic-CGJKCFPo.js} +1 -1
- package/dist/client/assets/{GlassSurface-BWk2twKc.js → GlassSurface-CyOTUS7E.js} +1 -1
- package/dist/client/assets/HostedConnectionControls-CL0Ws4ca.js +1 -0
- package/dist/client/assets/HostedHubRoot-LUINZl4r.js +1 -0
- package/dist/client/assets/HostedNativeAuthorizationRoute-CgYVBE6N.js +1 -0
- package/dist/client/assets/HostedRelayTrustNotice-DgdeZh52.js +1 -0
- package/dist/client/assets/Icons-BIUbIFr7.js +1 -0
- package/dist/client/assets/IntegrationsSettingsPanel-B7tXTaa3.js +1 -0
- package/dist/client/assets/KeybindingsSettings-HMlRcGQ4.js +7 -0
- package/dist/client/assets/LazyBrowserPanel-CKfmuM9U.js +1 -0
- package/dist/client/assets/{McpServersSettings-Cbq-uHU3.js → McpServersSettings-Bq-HyhvC.js} +4 -4
- package/dist/client/assets/MobileSheet-acDRH9aa.js +1 -0
- package/dist/client/assets/NoActiveThreadState-7rym7bV7.js +1 -0
- package/dist/client/assets/NodeSecuritySettings-D8qjh4Dc.js +1 -0
- package/dist/client/assets/OpinionatedPluginsSettings-D7Uks5yR.js +1 -0
- package/dist/client/assets/PhoneGetAppInterstitial-BQXUSufH.js +1 -0
- package/dist/client/assets/PhoneGetAppInterstitialBackdrop-BbUvwGmI.js +1 -0
- package/dist/client/assets/PhoneHome-DvgdMTkh.js +1 -0
- package/dist/client/assets/PhoneSettingsSurface-DncJ540i.js +1 -0
- package/dist/client/assets/ProjectFavicon-BY5Vyyk6.js +1 -0
- package/dist/client/assets/ProviderInstanceIcon-CZe1TbeC.js +1 -0
- package/dist/client/assets/ProviderModelPicker-DHAY1n_1.js +1 -0
- package/dist/client/assets/{ProviderUpdateLaunchNotification.logic-D3qYdp40.js → ProviderUpdateLaunchNotification.logic-DQJVrUIo.js} +1 -1
- package/dist/client/assets/ProvidersSettingsPanel-BylxZs4S.js +1 -0
- package/dist/client/assets/RedactedSensitiveText-D-enj1h5.js +1 -0
- package/dist/client/assets/RootAppShell-DBK0WW2b.js +6 -0
- package/dist/client/assets/RycoLetterMark-PnGm6TQY.js +1 -0
- package/dist/client/assets/{Separator-DiMB6Prz.js → Separator-BWKYMFqt.js} +1 -1
- package/dist/client/assets/SettingsDialog-N25hIv-a.js +1 -0
- package/dist/client/assets/SettingsPanels-D9YXmUPP.js +3 -0
- package/dist/client/assets/SettingsPanels.editor-Cn18k74l.js +1 -0
- package/dist/client/assets/SourceControlSettings-BAzSpMfR.js +1 -0
- package/dist/client/assets/StatisticsPage-CLKpfsQ8.js +1 -0
- package/dist/client/assets/StatisticsPanel-DxHUFn64.js +1 -0
- package/dist/client/assets/StatisticsSettingsLink-B3HIQYFh.js +1 -0
- package/dist/client/assets/ThreadStatusIndicators-CQZ_OgY8.js +0 -0
- package/dist/client/assets/{ThreadTerminalDrawer-DvadlVXV.js → ThreadTerminalDrawer-D1SPewXR.js} +3 -3
- package/dist/client/assets/ThreadWorkspacePanel-DVF6oZsV.js +2009 -0
- package/dist/client/assets/ToolbarRootContext-Dt8G5aCw.js +1 -0
- package/dist/client/assets/{WorkItemsTab-CI6hTQ_k.js → WorkItemsTab-BoE-TcXJ.js} +8 -8
- package/dist/client/assets/{activity-1CkdQG5u.js → activity-DfFM6I8A.js} +1 -1
- package/dist/client/assets/alert-DE5SkZhr.js +1 -0
- package/dist/client/assets/alert-dialog-BqPnPhb6.js +1 -0
- package/dist/client/assets/appChrome-CJauXpqv.js +1 -0
- package/dist/client/assets/{archive-BL1hojl3.js → archive-BFV4YQ7D.js} +1 -1
- package/dist/client/assets/arrow-left-CCmICk1t.js +1 -0
- package/dist/client/assets/arrow-right-Z3Eay6Fd.js +1 -0
- package/dist/client/assets/{arrow-up-CTcWIlqV.js → arrow-up-caak6P06.js} +1 -1
- package/dist/client/assets/arrow-up-right-BwC-fCE4.js +1 -0
- package/dist/client/assets/authorization-bHsGYIT0.js +1 -0
- package/dist/client/assets/{badge-Cil0isYQ.js → badge-m9kM3P07.js} +1 -1
- package/dist/client/assets/{bot-DJp0cuhK.js → bot-Cv7a7Ksf.js} +1 -1
- package/dist/client/assets/{button-CBqaO2Ub.js → button-B6xQZNKz.js} +1 -1
- package/dist/client/assets/capabilities-D6bsjqkj.js +1 -0
- package/dist/client/assets/{chart-column-Dw6ACmXM.js → chart-column-DgGlY4sD.js} +1 -1
- package/dist/client/assets/chatThreadActions-BXaNbPbp.js +1 -0
- package/dist/client/assets/check-BfnWUGBT.js +1 -0
- package/dist/client/assets/{chevron-down-B7C6FKzM.js → chevron-down-B_FKCRVh.js} +1 -1
- package/dist/client/assets/chevron-right-B6CKNGh4.js +1 -0
- package/dist/client/assets/{circle-alert-BWvs6IOn.js → circle-alert-BV3vJE-c.js} +1 -1
- package/dist/client/assets/circle-check-D2Vx39x-.js +1 -0
- package/dist/client/assets/{external-link-fbvzDWM7.js → circle-dashed-khcA8K3Y.js} +1 -1
- package/dist/client/assets/circle-question-mark-DEuLdOiy.js +1 -0
- package/dist/client/assets/circle-x-DqfM_2wS.js +1 -0
- package/dist/client/assets/clamp-D0kAXd-u.js +1 -0
- package/dist/client/assets/{clipboard-copy-C4VV20QR.js → clipboard-copy-CiD4tBsh.js} +1 -1
- package/dist/client/assets/clock--4M7moiV.js +1 -0
- package/dist/client/assets/clock-3-NbnQqtcd.js +1 -0
- package/dist/client/assets/collapsible-BECg-ssO.js +1 -0
- package/dist/client/assets/command-DvbA3O0J.js +1 -0
- package/dist/client/assets/{copy-UQjKGt7t.js → copy-CkPe1c-r.js} +1 -1
- package/dist/client/assets/data-list-7TiaqfZU.js +1 -0
- package/dist/client/assets/desktopUpdateAtoms-6j0d8vfy.js +1 -0
- package/dist/client/assets/desktopWorkspace-8s8rm3zL.js +1 -0
- package/dist/client/assets/device-CGaJ6fwD.js +168 -0
- package/dist/client/assets/dialog-C9v8Zl6e.js +1 -0
- package/dist/client/assets/{download-CQZ-m4zW.js → download-DPjzVxTa.js} +1 -1
- package/dist/client/assets/draft-input-BRSLIjV6.js +1 -0
- package/dist/client/assets/editorPreferences-D-9SDgRM.js +1 -0
- package/dist/client/assets/empty-CuQ57p2u.js +1 -0
- package/dist/client/assets/external-link-CF9EzT-A.js +1 -0
- package/dist/client/assets/{eye-CUSPj-gd.js → eye-C2Puut9B.js} +1 -1
- package/dist/client/assets/{folder-DtsQoI9_.js → folder-BKTxLq18.js} +1 -1
- package/dist/client/assets/{folder-closed-CsvKfC6X.js → folder-closed-D2cwiusg.js} +1 -1
- package/dist/client/assets/getPseudoElementBounds-DdH76YK5.js +1 -0
- package/dist/client/assets/{git-branch-BKr-Ij4u.js → git-branch-Dauy2SWC.js} +1 -1
- package/dist/client/assets/{git-pull-request-DIYyPsg5.js → git-pull-request-DsK1gBtK.js} +1 -1
- package/dist/client/assets/globe-dS40wBdE.js +1 -0
- package/dist/client/assets/group-DBXm8riE.js +1 -0
- package/dist/client/assets/hostedConnectionCoordinator-DSMW2Ldh.js +1 -0
- package/dist/client/assets/{index-QY6vcnCY.js → index-DRY8Hgrj.js} +2 -2
- package/dist/client/assets/input-Dn_zesdZ.js +1 -0
- package/dist/client/assets/kbd-BF2-WlxQ.js +1 -0
- package/dist/client/assets/{key-round-CacMputS.js → key-round-BjaaL9Df.js} +1 -1
- package/dist/client/assets/{keybindings-Bj6xWIbQ.js → keybindings-FSJY3Tht.js} +1 -1
- package/dist/client/assets/{keyboard-BqeRMHfL.js → keyboard-AkUFPD_e.js} +1 -1
- package/dist/client/assets/label-BKjVY2A9.js +1 -0
- package/dist/client/assets/{layers-BYi0v17h.js → layers-tzRiuxSx.js} +1 -1
- package/dist/client/assets/{lib-B6XyeqaU.js → lib-D5cyGc84.js} +1 -1
- package/dist/client/assets/{loader-zHASMrUy.js → loader-BrbWRz3I.js} +1 -1
- package/dist/client/assets/loader-circle-DRKbHQst.js +1 -0
- package/dist/client/assets/{log-out-tMJm0Gk6.js → log-out-BEihaal1.js} +1 -1
- package/dist/client/assets/{logging-1BfRrhxL.js → logging-Y73f240E.js} +1 -1
- package/dist/client/assets/main-BiIQEybS.js +9 -0
- package/dist/client/assets/main-tZWU6iqX.css +2 -0
- package/dist/client/assets/menu-BxtB33Up.js +1 -0
- package/dist/client/assets/{messages-square-DiMgWzoq.js → messages-square-e0Zg750i.js} +1 -1
- package/dist/client/assets/{minimize-2-C33mL7LT.js → minimize-2-DC9gMgGl.js} +1 -1
- package/dist/client/assets/monitor-Dj0JFj4_.js +1 -0
- package/dist/client/assets/{palette-BSD_aJZg.js → palette-0qvNt1CR.js} +1 -1
- package/dist/client/assets/{pencil-B69ERoVM.js → pencil-CA0DGufX.js} +1 -1
- package/dist/client/assets/{play-DYDxlTKo.js → play-wIyvqd_g.js} +1 -1
- package/dist/client/assets/plus-5kH13lqq.js +1 -0
- package/dist/client/assets/popover-CwhgX3HA.js +1 -0
- package/dist/client/assets/primary-BqnEJHWx.js +2 -0
- package/dist/client/assets/{projectPaths-BFTUsvWs.js → projectPaths-45WPhgoj.js} +1 -1
- package/dist/client/assets/providerDriverMeta-Cc60r9Rb.js +1 -0
- package/dist/client/assets/providerInstances-Cr8JmFCe.js +1 -0
- package/dist/client/assets/providerModels-Cr8JmFCe.js +1 -0
- package/dist/client/assets/qr-code-BKrwYZ2s.js +1 -0
- package/dist/client/assets/{qr-code-ScYULAuR.js → qr-code-DDmpRnPp.js} +1 -1
- package/dist/client/assets/radio-group-DZCo21CF.js +2 -0
- package/dist/client/assets/{refresh-cw-DopCMrtR.js → refresh-cw-DiuiLTny.js} +1 -1
- package/dist/client/assets/resolveAriaLabelledBy-927ShlEO.js +1 -0
- package/dist/client/assets/rightPanelRouteSearch-CExl-IaQ.js +1 -0
- package/dist/client/assets/rotate-ccw-XOYBPtyK.js +1 -0
- package/dist/client/assets/rotate-cw-D32Z4Sdd.js +1 -0
- package/dist/client/assets/runtime-CA2W9mZ-.js +17 -0
- package/dist/client/assets/{save-Bh36JIv6.js → save-DjlqeVG_.js} +1 -1
- package/dist/client/assets/scroll-area-CylKYQms.js +1 -0
- package/dist/client/assets/scrollEdges-D7RQhYjX.js +1 -0
- package/dist/client/assets/search-B2nLj573.js +1 -0
- package/dist/client/assets/select-qTezUK8F.js +1 -0
- package/dist/client/assets/separator-D77goPy-.js +1 -0
- package/dist/client/assets/{server-JApJpgLa.js → server-y8Wq0Qwv.js} +1 -1
- package/dist/client/assets/session-logic-xfW418Rx.js +1 -0
- package/dist/client/assets/{settings-2-CZQg_KUQ.js → settings-2-DpwBKj3m.js} +1 -1
- package/dist/client/assets/settingsLayout-BuaXzjIe.js +1 -0
- package/dist/client/assets/settingsSections.logic-CR4aytUI.js +1 -0
- package/dist/client/assets/sheet-z3AEiSN4.js +1 -0
- package/dist/client/assets/{shield-IZEIJ8r7.js → shield-BuXuMVtb.js} +1 -1
- package/dist/client/assets/{shield-alert-DY9uVP5G.js → shield-alert-Dfk--o-I.js} +1 -1
- package/dist/client/assets/{shield-check-dQ-4cMKk.js → shield-check-BHi57iF1.js} +1 -1
- package/dist/client/assets/sidebar-Dst9O2OR.js +1 -0
- package/dist/client/assets/sidebarProjectFolders-DR1NBLLz.js +4 -0
- package/dist/client/assets/{sidebarStatusText-q88Acn3r.js → sidebarStatusText-7jo1n9E1.js} +1 -1
- package/dist/client/assets/skeleton-D_kbMg21.js +1 -0
- package/dist/client/assets/{smartphone-gNe1ynB8.js → smartphone-DcUQ17YT.js} +1 -1
- package/dist/client/assets/{sparkles-CAf3oJ5S.js → sparkles-nVLLtdqb.js} +1 -1
- package/dist/client/assets/spinner-CkXSwhuf.js +1 -0
- package/dist/client/assets/{square-pen-Bj3p_Q8E.js → square-pen-dcArpda7.js} +1 -1
- package/dist/client/assets/src-I4s4HU8f.js +14 -0
- package/dist/client/assets/star-CdUOqzzZ.js +1 -0
- package/dist/client/assets/storeSelectors-Cr8JmFCe.js +1 -0
- package/dist/client/assets/switch-BMeRsIbg.js +1 -0
- package/dist/client/assets/{tabSwitchInstrumentation-CLDM7g1_.js → tabSwitchInstrumentation-BuxWNdCV.js} +1 -1
- package/dist/client/assets/terminal-DupJfYRW.js +1 -0
- package/dist/client/assets/{terminal-links-BJzH2Ipe.js → terminal-links-Bf4neyyn.js} +1 -1
- package/dist/client/assets/textarea-Bu_OTJYe.js +1 -0
- package/dist/client/assets/threadPinning-DhnkssEa.js +1 -0
- package/dist/client/assets/{threadPriorityRefreshRuntime-D-OkS27H.js → threadPriorityRefreshRuntime-DJjlyX7f.js} +1 -1
- package/dist/client/assets/toast-CIjfIWUw.js +1 -0
- package/dist/client/assets/toggle-BA4mJ5v9.js +1 -0
- package/dist/client/assets/toggle-group-ChGfILTR.js +1 -0
- package/dist/client/assets/{tokenModePresentation-lVM0-Wi3.js → tokenModePresentation-B64s_OK3.js} +1 -1
- package/dist/client/assets/tooltip-C2VVqN6U.js +1 -0
- package/dist/client/assets/{trash-2-CM1zXPGb.js → trash-2-Dqgxd0nF.js} +1 -1
- package/dist/client/assets/{triangle-alert-RL_T3KLo.js → triangle-alert-D4cCh6sB.js} +1 -1
- package/dist/client/assets/types-Cr8JmFCe.js +1 -0
- package/dist/client/assets/{undo-2-x37tfI3V.js → undo-2-C8EQVSSD.js} +1 -1
- package/dist/client/assets/{unplug-Cw8iawyX.js → unplug-Dt3Sy2op.js} +1 -1
- package/dist/client/assets/useAppSidebarCollapsed-w0th-164.js +1 -0
- package/dist/client/assets/{useAtlassian-Bpvpm41l.js → useAtlassian-j7ex3bVN.js} +0 -0
- package/dist/client/assets/useButton-Dx5k1uZG.js +1 -0
- package/dist/client/assets/useCompositeListItem-BqkyY0oT.js +1 -0
- package/dist/client/assets/{clamp-CgH0Dl6R.js → useControlled-HocCF1v9.js} +1 -1
- package/dist/client/assets/useDebouncedValue-BevbEbPO.js +1 -0
- package/dist/client/assets/useFloatingRootContext-j6TgzEFa.js +1 -0
- package/dist/client/assets/useHandleNewThread-gVYty_Bg.js +1 -0
- package/dist/client/assets/useLabelableId-CcYPzJvj.js +1 -0
- package/dist/client/assets/useLocation-CZ3osOgz.js +1 -0
- package/dist/client/assets/useOpenInteractionType-apbY9ZEK.js +1 -0
- package/dist/client/assets/usePhoneThreadActions-CnDlicSp.js +1 -0
- package/dist/client/assets/usePopupViewport-0k75uXo1.js +1 -0
- package/dist/client/assets/useRenderElement-5DRNLBaU.js +1 -0
- package/dist/client/assets/useScrollLock-C5WLWXcc.js +1 -0
- package/dist/client/assets/{useStatistics-B4vW9Enx.js → useStatistics-GOFXPHO0.js} +2 -2
- package/dist/client/assets/useSwipeDismiss-BNHPBucH.js +1 -0
- package/dist/client/assets/useThreadActions-B4Xy2soQ.js +2 -0
- package/dist/client/assets/useTriggerFocusGuards-C3geWFzt.js +1 -0
- package/dist/client/assets/useValueChanged-FVqPwcY_.js +1 -0
- package/dist/client/assets/user-round-KsVtJgon.js +1 -0
- package/dist/client/assets/utils-B5qahmRn.js +1 -0
- package/dist/client/assets/visuallyHidden-j2WbVEv-.js +1 -0
- package/dist/client/assets/workspaceMetadataProjection-D3vqw40g.js +1 -0
- package/dist/client/assets/{wrench-D0IetWa1.js → wrench-BnpoYEZm.js} +1 -1
- package/dist/client/assets/x-BXHT1Zj1.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/{collectUint8StreamText-B3klZuIF.mjs → collectUint8StreamText-C_VNyArd.mjs} +1027 -162
- package/dist/{collectUint8StreamText-CDu-bszH.cjs → collectUint8StreamText-DStwNTTK.cjs} +1122 -161
- package/dist/{makeManagedServerProvider-CsaYHU8T.mjs → makeManagedServerProvider-GZcpSLrW.mjs} +22 -3
- package/dist/{makeManagedServerProvider-DeEmDbiq.cjs → makeManagedServerProvider-VzxWN-04.cjs} +32 -1
- package/dist/resource-monitor/LICENSE +21 -0
- package/dist/resource-monitor/darwin-arm64/LICENSE +21 -0
- package/dist/resource-monitor/darwin-arm64/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/darwin-x64/LICENSE +21 -0
- package/dist/resource-monitor/darwin-x64/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/linux-arm64/LICENSE +21 -0
- package/dist/resource-monitor/linux-arm64/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/linux-x64/LICENSE +21 -0
- package/dist/resource-monitor/linux-x64/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-arm64/LICENSE +21 -0
- package/dist/resource-monitor/win32-arm64/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-x64/LICENSE +21 -0
- package/dist/resource-monitor/win32-x64/ryco-resource-monitor.exe +0 -0
- package/package.json +1 -1
- package/dist/client/assets/AccountSettings-CvD49Uja.js +0 -1
- package/dist/client/assets/AiFocusSettings-CYIp0JOV.js +0 -1
- package/dist/client/assets/AnimatedHeight-CM_Eh6tz.js +0 -1
- package/dist/client/assets/AppearanceSettings-BwUAv5oz.js +0 -1
- package/dist/client/assets/BranchToolbar.logic-CKKpnCfs.js +0 -1
- package/dist/client/assets/ChatRightPanel-DYXZNh1m.js +0 -27
- package/dist/client/assets/ChatThreadRouteView-B0kj0wFr.js +0 -1
- package/dist/client/assets/CommandPaletteDialog-CJKvYVxh.js +0 -1
- package/dist/client/assets/CompositeItem-B4ITmHni.js +0 -1
- package/dist/client/assets/CompositeRoot-C5I2Yh5e.js +0 -1
- package/dist/client/assets/ConnectionsSettings-4l-DXYo6.js +0 -7
- package/dist/client/assets/DiagnosticsSettings-B6IUUiYM.js +0 -2
- package/dist/client/assets/DialogHandle-Bs7TUuxl.js +0 -1
- package/dist/client/assets/DialogPopup-BAK5J3da.js +0 -1
- package/dist/client/assets/DialogRoot-DMnQO_iQ.js +0 -1
- package/dist/client/assets/DialogTitle-B1m3rLO-.js +0 -1
- package/dist/client/assets/DialogTrigger-VXV8wYO4.js +0 -1
- package/dist/client/assets/DialogViewport-yUeHNu43.js +0 -1
- package/dist/client/assets/DraftChatThreadRouteView-C39ZNgWr.js +0 -1
- package/dist/client/assets/HostedConnectionControls-DO5uPfav.js +0 -1
- package/dist/client/assets/HostedHubRoot-DkHX6TkK.js +0 -1
- package/dist/client/assets/HostedNativeAuthorizationRoute-C1VRYU0-.js +0 -1
- package/dist/client/assets/HostedRelayTrustNotice-Cl7lRwRJ.js +0 -1
- package/dist/client/assets/Icons-uMh1k5C0.js +0 -1
- package/dist/client/assets/IntegrationsSettingsPanel-Mx-1xSUL.js +0 -1
- package/dist/client/assets/KeybindingsSettings-Bv3H18VO.js +0 -7
- package/dist/client/assets/MobileSheet-DS7_soKu.js +0 -1
- package/dist/client/assets/NewWorktreeDialog-CLm1JR27.js +0 -4
- package/dist/client/assets/NoActiveThreadState-CFxNrhs_.js +0 -1
- package/dist/client/assets/NodeSecuritySettings-B3uURyma.js +0 -1
- package/dist/client/assets/OpinionatedPluginsSettings-B7gZOBCs.js +0 -1
- package/dist/client/assets/PhoneGetAppInterstitial-DQdUrqs1.js +0 -1
- package/dist/client/assets/PhoneGetAppInterstitialBackdrop-DbRPU11Z.js +0 -1
- package/dist/client/assets/PhoneHome-BbZKBYb8.js +0 -1
- package/dist/client/assets/PhoneSettingsSurface-BJ8jDucY.js +0 -1
- package/dist/client/assets/ProjectFavicon-DHnstN4J.js +0 -1
- package/dist/client/assets/ProviderModelPicker-Ch69G0-0.js +0 -1
- package/dist/client/assets/ProvidersSettingsPanel-Dz-1od7X.js +0 -1
- package/dist/client/assets/RedactedSensitiveText-BORE69Ig.js +0 -1
- package/dist/client/assets/RootAppShell-DnesFYfo.js +0 -6
- package/dist/client/assets/RycoLetterMark-DDx_gBX-.js +0 -1
- package/dist/client/assets/SettingsDialog-CWK_H1sI.js +0 -1
- package/dist/client/assets/SettingsPanels-DxMEuovz.js +0 -3
- package/dist/client/assets/SettingsPanels.editor-D2gxvDPy.js +0 -1
- package/dist/client/assets/SourceControlSettings-CB2SdaRk.js +0 -1
- package/dist/client/assets/StatisticsPage-MhMDuSSQ.js +0 -1
- package/dist/client/assets/StatisticsPanel-D3d0bJgk.js +0 -1
- package/dist/client/assets/StatisticsSettingsLink-DlnQpfyr.js +0 -1
- package/dist/client/assets/ThreadStatusIndicators-CPpIFcAC.js +0 -0
- package/dist/client/assets/ThreadWorkspacePanel-Ct9EINsa.js +0 -2009
- package/dist/client/assets/ToolbarRootContext-DtUqN8i6.js +0 -1
- package/dist/client/assets/alert-DQjuri3D.js +0 -1
- package/dist/client/assets/alert-dialog-Cb2TnXzy.js +0 -1
- package/dist/client/assets/arrow-left-Dtj9PfsA.js +0 -1
- package/dist/client/assets/arrow-up-right-DGeet8e6.js +0 -1
- package/dist/client/assets/authorization-BrGZruGo.js +0 -1
- package/dist/client/assets/branding-BEx1jrAA.js +0 -1
- package/dist/client/assets/capabilities-Cj8jXZOW.js +0 -1
- package/dist/client/assets/chatThreadActions-kwD_yAEt.js +0 -1
- package/dist/client/assets/chevron-right-BWYGybX9.js +0 -1
- package/dist/client/assets/clock-3-r12DkpRj.js +0 -1
- package/dist/client/assets/clock-nNA05brA.js +0 -1
- package/dist/client/assets/collapsible-DBPd--L7.js +0 -1
- package/dist/client/assets/command-DuPvkUAz.js +0 -1
- package/dist/client/assets/composerDraftStore-czbuHgbM.js +0 -11
- package/dist/client/assets/data-list-BNy2Nwkd.js +0 -1
- package/dist/client/assets/desktopUpdateAtoms-Dz4zQu-C.js +0 -1
- package/dist/client/assets/desktopWorkspace-wrPRMcOi.js +0 -1
- package/dist/client/assets/device-DbMaLmeM.js +0 -168
- package/dist/client/assets/dialog-Csp7hsmq.js +0 -1
- package/dist/client/assets/draft-input-COB-ymgx.js +0 -1
- package/dist/client/assets/editorPreferences-lQ3Fm4yA.js +0 -1
- package/dist/client/assets/empty-BcTA7vWq.js +0 -1
- package/dist/client/assets/env-BZZxbmon.js +0 -1
- package/dist/client/assets/folder-open-GqwNTbSV.js +0 -1
- package/dist/client/assets/getPseudoElementBounds-BaLrkv_J.js +0 -1
- package/dist/client/assets/group-CCjhaP2K.js +0 -1
- package/dist/client/assets/input-pu0UXdN_.js +0 -1
- package/dist/client/assets/kbd-xUvRCeUS.js +0 -1
- package/dist/client/assets/label-BzDE8wjR.js +0 -1
- package/dist/client/assets/loader-circle-CrtHFAvM.js +0 -1
- package/dist/client/assets/main-CZzCxtM-.css +0 -2
- package/dist/client/assets/main-stppnsiU.js +0 -9
- package/dist/client/assets/menu-g3Hcm2JF.js +0 -1
- package/dist/client/assets/plus-B2h-VEqh.js +0 -1
- package/dist/client/assets/popover-z5hURYff.js +0 -1
- package/dist/client/assets/primary-AnB-Zuft.js +0 -2
- package/dist/client/assets/providerDriverMeta-C9M8tUrj.js +0 -1
- package/dist/client/assets/providerIconUtils-BXecnJ0v.js +0 -1
- package/dist/client/assets/providerInstances-CMy-5cGE.js +0 -1
- package/dist/client/assets/providerModels-CMy-5cGE.js +0 -1
- package/dist/client/assets/qr-code-B6lBPRxy.js +0 -1
- package/dist/client/assets/radio-group-DQahlnSi.js +0 -2
- package/dist/client/assets/resolveAriaLabelledBy-CUqcBhyS.js +0 -1
- package/dist/client/assets/rightPanelRouteSearch-uEySicf2.js +0 -1
- package/dist/client/assets/runtime-DRPzstwF.js +0 -1
- package/dist/client/assets/scroll-area-CzUrMo2h.js +0 -1
- package/dist/client/assets/scrollEdges-C5VxoJIp.js +0 -1
- package/dist/client/assets/search-BGQsenCM.js +0 -1
- package/dist/client/assets/select-_C7bRT7k.js +0 -1
- package/dist/client/assets/separator-CFUmZFfK.js +0 -1
- package/dist/client/assets/session-logic-C5moG_sv.js +0 -4
- package/dist/client/assets/settingsDialogStore-DnU14tMG.js +0 -1
- package/dist/client/assets/settingsLayout-zwP6p5aD.js +0 -1
- package/dist/client/assets/settingsSections.logic-F8RXVmAq.js +0 -1
- package/dist/client/assets/sheet-BoROLwxR.js +0 -1
- package/dist/client/assets/sidebar-5T3qKIfp.js +0 -1
- package/dist/client/assets/sidebarProjectFolders-Bzdw3xc6.js +0 -4
- package/dist/client/assets/skeleton-C2GDOvXd.js +0 -1
- package/dist/client/assets/spinner-Dlyh0j_K.js +0 -1
- package/dist/client/assets/src-Blzsn4sO.js +0 -14
- package/dist/client/assets/storeSelectors-BJw1h5Ih.js +0 -1
- package/dist/client/assets/switch-CIMwetO3.js +0 -1
- package/dist/client/assets/terminal-C_CyIsDD.js +0 -1
- package/dist/client/assets/textarea-C0_BLJbT.js +0 -1
- package/dist/client/assets/threadPinning-DQrBoIxu.js +0 -1
- package/dist/client/assets/toast-D7IDKuLa.js +0 -1
- package/dist/client/assets/toggle-DjmkdNns.js +0 -1
- package/dist/client/assets/toggle-group-q7LGJy7u.js +0 -1
- package/dist/client/assets/tooltip-c9oahm_e.js +0 -1
- package/dist/client/assets/types-BJw1h5Ih.js +0 -1
- package/dist/client/assets/uiStateStore-C48VlkZ2.js +0 -1
- package/dist/client/assets/useButton-CbjUY1n3.js +0 -1
- package/dist/client/assets/useCompositeListItem-Mh9CnfjW.js +0 -1
- package/dist/client/assets/useDebouncedValue-fMFxXx4-.js +0 -1
- package/dist/client/assets/useFloatingRootContext-P6J9bP_1.js +0 -1
- package/dist/client/assets/useHandleNewThread-C1VSk4Ji.js +0 -1
- package/dist/client/assets/useLabelableId-ve_G1Djw.js +0 -1
- package/dist/client/assets/useLocation-LUorHj6V.js +0 -1
- package/dist/client/assets/useOpenInteractionType-BcwkVFGu.js +0 -1
- package/dist/client/assets/usePhoneThreadActions--SRv1Gdm.js +0 -1
- package/dist/client/assets/usePopupViewport-DyXMbxzY.js +0 -1
- package/dist/client/assets/useRenderElement-DchFnsR8.js +0 -1
- package/dist/client/assets/useScrollLock-DvPB4gyu.js +0 -1
- package/dist/client/assets/useSwipeDismiss-8zZC4ynu.js +0 -1
- package/dist/client/assets/useThreadActions-wbcN8Mp3.js +0 -2
- package/dist/client/assets/useTriggerFocusGuards-DI2oAYh0.js +0 -1
- package/dist/client/assets/useValueChanged-DeYQvzxH.js +0 -1
- package/dist/client/assets/user-round-Cpzx8pSw.js +0 -1
- package/dist/client/assets/utils-Dz7wQZDk.js +0 -1
- package/dist/client/assets/visibilityPolling-BwzZdaSN.js +0 -1
- package/dist/client/assets/x-C1Cemsov.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { l as sourceControlRefFromInput, o as SourceControlProvider, t as azureDevOpsDiscovery } from "./SourceControlProviderDiscoveryCatalog-
|
|
5
|
-
import {
|
|
3
|
+
import { Ia as truncateSourceControlDetailContent, Pa as SourceControlProviderError } from "./collectUint8StreamText-C_VNyArd.mjs";
|
|
4
|
+
import { l as sourceControlRefFromInput, o as SourceControlProvider, t as azureDevOpsDiscovery } from "./SourceControlProviderDiscoveryCatalog-B37RHe2u.mjs";
|
|
5
|
+
import { Vn 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-DStwNTTK.cjs");
|
|
4
|
+
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-DreaAH1H.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 {
|
|
4
|
-
import { i as makeBitbucketDiscovery, l as sourceControlRefFromInput, o as SourceControlProvider } from "./SourceControlProviderDiscoveryCatalog-
|
|
5
|
-
import {
|
|
3
|
+
import { Ia as truncateSourceControlDetailContent, Pa as SourceControlProviderError } from "./collectUint8StreamText-C_VNyArd.mjs";
|
|
4
|
+
import { i as makeBitbucketDiscovery, l as sourceControlRefFromInput, o as SourceControlProvider } from "./SourceControlProviderDiscoveryCatalog-B37RHe2u.mjs";
|
|
5
|
+
import { Bn 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-DStwNTTK.cjs");
|
|
4
|
+
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-DreaAH1H.cjs");
|
|
5
5
|
const require_bin = require("./bin.cjs");
|
|
6
6
|
let effect = require("effect");
|
|
7
7
|
//#region src/sourceControl/BitbucketSourceControlProvider.ts
|
|
@@ -1,121 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $
|
|
3
|
+
import { $a as ProviderInstanceId, Ln as TextGenerationError, Qa as ProviderDriverKind, Yo as ApprovalRequestId, _s as TurnId, ds as RuntimeRequestId, hs as ThreadId, ls as ProviderItemId, ms as RuntimeTaskId, nr as ClaudeSettings, ps as RuntimeSubagentId, rs as EventId, us as RuntimeItemId } from "./collectUint8StreamText-C_VNyArd.mjs";
|
|
4
4
|
import { nt as sanitizeFeatureBranchName, st as ServerConfig, tt as sanitizeBranchFragment } from "./Metrics-BP9YjxZB.mjs";
|
|
5
|
-
import { $ as
|
|
5
|
+
import { $ as mergeProviderInstanceEnvironment, $n as resolveAttachmentPath, A as ModelManifest, B as buildPrContentPrompt, Ct as ProviderAdapterSessionNotFoundError, F as validateRankInboxThreadsResult, G as sanitizeCommitSubject, H as buildThreadTitlePrompt, Hn as enrichProviderSnapshotWithVersionAdvisory, I as buildBranchNamePrompt, J as toJsonSchemaObject, Jn as resolveProviderMaintenanceCapabilitiesEffect, K as sanitizePrTitle, L as buildCommitMessagePrompt, M as makeEventNdjsonLogger, N as buildTokenReductionInstructions, P as checkRtkAvailability, Q as resolveClaudeHomePath, R as buildIssueContentPolishPrompt, St as ProviderAdapterSessionClosedError, Tt as ProviderDriverError, V as buildThreadPriorityPrompt, W as normalizeCliError, Wn as makePackageManagedProviderMaintenanceResolver, X as makeClaudeContinuationGroupKey, Xn as ServerSettingsService, Y as makeClaudeCapabilitiesCacheKey, Z as makeClaudeEnvironment, Zn as isPersistableChatAttachment, _t as installAgentControlNativeHttp, a as getActiveClaudeModelCatalog, bt as ProviderAdapterProcessError, c as resolveClaudeCatalogApiModelId, ct as detailFromResult, d as setActiveClaudeModelCatalog, dt as parseGenericCliVersion, ft as providerModelsFromSettings, ht as agentControlHostContext, i as formatClaudeVersionUpgradeMessage, ir as getModelSelectionStringOptionValue, j as ProviderEventLoggers, l as resolveClaudeModelCatalog, lt as isCommandMissingCause, m as classifyTaskAgentKind, mt as AGENT_CONTROL_INTERNAL_SERVER_NAME, n as AgentControlSessionRegistry, nr as createModelCapabilities, o as getClaudeCatalogModelCapabilities, or as getProviderOptionCurrentValue, ot as buildServerProvider, pt as spawnAndCollect, q as sanitizeThreadTitle, qn as normalizeCommandPath, rr as getModelSelectionBooleanOptionValue, rt as DEFAULT_TIMEOUT_MS, s as normalizeClaudeCatalogEffort, sr as getProviderOptionDescriptors, t as makeServerQueueMetrics, tr as applyClaudePromptEffortPrefix, u as resolveClaudeModelsForVersion, ur as resolvePromptInjectedEffort, vt as redactAgentControlSecrets, wt as ProviderAdapterValidationError, xt as ProviderAdapterRequestError, yt as createProcessDeviceToolBinding, z as buildIssueContentTitlePrompt } from "./bin.mjs";
|
|
6
|
+
import { a as formatAttachmentPathLines, i as appendAttachmentPathLines, n as requireRuntimeSessionId, r as stampRuntimeEvent, t as makeManagedServerProvider } from "./makeManagedServerProvider-GZcpSLrW.mjs";
|
|
6
7
|
import { t as formatSourceControlContextsForAgent } from "./sourceControlContextFormatter-DEwpnVAH.mjs";
|
|
7
8
|
import { n as formatProjectCustomSystemPrompt } from "./ProjectCustomSystemPrompt-CS1nulhL.mjs";
|
|
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";
|
|
12
12
|
import * as NodePath from "node:path";
|
|
13
13
|
import { execFile } from "node:child_process";
|
|
14
|
-
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
|
|
15
14
|
import * as NodeFS from "node:fs/promises";
|
|
15
|
+
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
|
|
16
16
|
import { query } from "@anthropic-ai/claude-agent-sdk";
|
|
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 };
|
|
50
|
-
}
|
|
51
|
-
function resolveClaudeModelCatalog(manifest) {
|
|
52
|
-
return tryResolveClaudeModelCatalog(manifest) ?? tryResolveClaudeModelCatalog(BUNDLED_MODEL_MANIFEST) ?? { models: [] };
|
|
53
|
-
}
|
|
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()));
|
|
59
|
-
}
|
|
60
|
-
function getClaudeCatalogModelCapabilities(catalog, slugOrAlias) {
|
|
61
|
-
return resolveClaudeCatalogModel(catalog, slugOrAlias)?.model.capabilities ?? EMPTY_CAPABILITIES;
|
|
62
|
-
}
|
|
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);
|
|
68
|
-
}
|
|
69
|
-
function resolveClaudeModelsForVersion(catalog, version) {
|
|
70
|
-
return catalog.models.filter((entry) => isVersionSupported(entry.compatibility, version)).map((entry) => entry.model);
|
|
71
|
-
}
|
|
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.`;
|
|
81
|
-
}
|
|
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;
|
|
97
|
-
}
|
|
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
|
|
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;
|
|
110
|
-
}
|
|
111
|
-
let activeClaudeModelCatalog = BUNDLED_CLAUDE_MODEL_CATALOG;
|
|
112
|
-
function getActiveClaudeModelCatalog() {
|
|
113
|
-
return activeClaudeModelCatalog;
|
|
114
|
-
}
|
|
115
|
-
function setActiveClaudeModelCatalog(catalog) {
|
|
116
|
-
activeClaudeModelCatalog = catalog;
|
|
117
|
-
}
|
|
118
|
-
//#endregion
|
|
119
17
|
//#region src/provider/Layers/ClaudeProvider.ts
|
|
120
18
|
const DEFAULT_CLAUDE_MODEL_CAPABILITIES = createModelCapabilities({ optionDescriptors: [] });
|
|
121
19
|
const PROVIDER$1 = ProviderDriverKind.make("claudeAgent");
|
|
@@ -1220,6 +1118,7 @@ const SUPPORTED_CLAUDE_IMAGE_MIME_TYPES = /* @__PURE__ */ new Set([
|
|
|
1220
1118
|
"image/png",
|
|
1221
1119
|
"image/webp"
|
|
1222
1120
|
]);
|
|
1121
|
+
const CLAUDE_PDF_MIME_TYPE = "application/pdf";
|
|
1223
1122
|
const CLAUDE_SETTING_SOURCES = [
|
|
1224
1123
|
"user",
|
|
1225
1124
|
"project",
|
|
@@ -1253,20 +1152,36 @@ function buildClaudeImageContentBlock(input) {
|
|
|
1253
1152
|
}
|
|
1254
1153
|
};
|
|
1255
1154
|
}
|
|
1155
|
+
function buildClaudeDocumentContentBlock(input) {
|
|
1156
|
+
return {
|
|
1157
|
+
type: "document",
|
|
1158
|
+
source: {
|
|
1159
|
+
type: "base64",
|
|
1160
|
+
media_type: CLAUDE_PDF_MIME_TYPE,
|
|
1161
|
+
data: Buffer.from(input.bytes).toString("base64")
|
|
1162
|
+
},
|
|
1163
|
+
title: input.title
|
|
1164
|
+
};
|
|
1165
|
+
}
|
|
1166
|
+
function isClaudeNativeAttachment(attachment) {
|
|
1167
|
+
if (attachment.type === "image") return SUPPORTED_CLAUDE_IMAGE_MIME_TYPES.has(attachment.mimeType);
|
|
1168
|
+
return attachment.mimeType === CLAUDE_PDF_MIME_TYPE && attachment.sizeBytes <= 25e6;
|
|
1169
|
+
}
|
|
1256
1170
|
const buildUserMessageEffect = Effect.fn("buildUserMessageEffect")(function* (input, dependencies) {
|
|
1257
|
-
const
|
|
1258
|
-
const
|
|
1259
|
-
|
|
1260
|
-
type: "text",
|
|
1261
|
-
text
|
|
1262
|
-
});
|
|
1171
|
+
const promptText = buildPromptText(input, dependencies.boundInstanceId);
|
|
1172
|
+
const nativeBlocks = [];
|
|
1173
|
+
const pathLineEntries = [];
|
|
1263
1174
|
for (const attachment of input.attachments ?? []) {
|
|
1264
|
-
if (attachment
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1175
|
+
if (!isPersistableChatAttachment(attachment) || !isClaudeNativeAttachment(attachment)) {
|
|
1176
|
+
pathLineEntries.push({
|
|
1177
|
+
attachment,
|
|
1178
|
+
...attachment.id === void 0 ? {} : { resolvedPath: resolveAttachmentPath({
|
|
1179
|
+
attachmentsDir: dependencies.attachmentsDir,
|
|
1180
|
+
attachment
|
|
1181
|
+
}) ?? void 0 }
|
|
1182
|
+
});
|
|
1183
|
+
continue;
|
|
1184
|
+
}
|
|
1270
1185
|
const attachmentPath = resolveAttachmentPath({
|
|
1271
1186
|
attachmentsDir: dependencies.attachmentsDir,
|
|
1272
1187
|
attachment
|
|
@@ -1282,11 +1197,21 @@ const buildUserMessageEffect = Effect.fn("buildUserMessageEffect")(function* (in
|
|
|
1282
1197
|
detail: toMessage(cause, "Failed to read attachment file."),
|
|
1283
1198
|
cause
|
|
1284
1199
|
})));
|
|
1285
|
-
|
|
1200
|
+
nativeBlocks.push(attachment.type === "image" ? buildClaudeImageContentBlock({
|
|
1286
1201
|
mimeType: attachment.mimeType,
|
|
1287
1202
|
bytes
|
|
1203
|
+
}) : buildClaudeDocumentContentBlock({
|
|
1204
|
+
bytes,
|
|
1205
|
+
title: attachment.name
|
|
1288
1206
|
}));
|
|
1289
1207
|
}
|
|
1208
|
+
const text = appendAttachmentPathLines(promptText, formatAttachmentPathLines(pathLineEntries));
|
|
1209
|
+
const sdkContent = [];
|
|
1210
|
+
if (text !== void 0 && text.length > 0) sdkContent.push({
|
|
1211
|
+
type: "text",
|
|
1212
|
+
text
|
|
1213
|
+
});
|
|
1214
|
+
for (const block of nativeBlocks) sdkContent.push(block);
|
|
1290
1215
|
return buildUserMessage({ sdkContent });
|
|
1291
1216
|
});
|
|
1292
1217
|
function turnStatusFromResult(result) {
|
|
@@ -1,124 +1,22 @@
|
|
|
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-DStwNTTK.cjs");
|
|
5
5
|
const require_Metrics = require("./Metrics-DIjMQ5pa.cjs");
|
|
6
6
|
const require_bin = require("./bin.cjs");
|
|
7
|
+
const require_makeManagedServerProvider = require("./makeManagedServerProvider-VzxWN-04.cjs");
|
|
7
8
|
const require_sourceControlContextFormatter = require("./sourceControlContextFormatter-BDZqn-4T.cjs");
|
|
8
9
|
const require_ProjectCustomSystemPrompt = require("./ProjectCustomSystemPrompt-B8SUlNGa.cjs");
|
|
9
|
-
const require_makeManagedServerProvider = require("./makeManagedServerProvider-DeEmDbiq.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");
|
|
13
13
|
let node_path = require("node:path");
|
|
14
14
|
node_path = require_rolldown_runtime.__toESM(node_path, 1);
|
|
15
15
|
let node_child_process = require("node:child_process");
|
|
16
|
-
let effect_unstable_process = require("effect/unstable/process");
|
|
17
16
|
let node_fs_promises = require("node:fs/promises");
|
|
18
17
|
node_fs_promises = require_rolldown_runtime.__toESM(node_fs_promises, 1);
|
|
18
|
+
let effect_unstable_process = require("effect/unstable/process");
|
|
19
19
|
let _anthropic_ai_claude_agent_sdk = require("@anthropic-ai/claude-agent-sdk");
|
|
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 };
|
|
53
|
-
}
|
|
54
|
-
function resolveClaudeModelCatalog(manifest) {
|
|
55
|
-
return tryResolveClaudeModelCatalog(manifest) ?? tryResolveClaudeModelCatalog(require_bin.BUNDLED_MODEL_MANIFEST) ?? { models: [] };
|
|
56
|
-
}
|
|
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()));
|
|
62
|
-
}
|
|
63
|
-
function getClaudeCatalogModelCapabilities(catalog, slugOrAlias) {
|
|
64
|
-
return resolveClaudeCatalogModel(catalog, slugOrAlias)?.model.capabilities ?? EMPTY_CAPABILITIES;
|
|
65
|
-
}
|
|
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);
|
|
71
|
-
}
|
|
72
|
-
function resolveClaudeModelsForVersion(catalog, version) {
|
|
73
|
-
return catalog.models.filter((entry) => isVersionSupported(entry.compatibility, version)).map((entry) => entry.model);
|
|
74
|
-
}
|
|
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.`;
|
|
84
|
-
}
|
|
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;
|
|
100
|
-
}
|
|
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
|
|
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;
|
|
113
|
-
}
|
|
114
|
-
let activeClaudeModelCatalog = BUNDLED_CLAUDE_MODEL_CATALOG;
|
|
115
|
-
function getActiveClaudeModelCatalog() {
|
|
116
|
-
return activeClaudeModelCatalog;
|
|
117
|
-
}
|
|
118
|
-
function setActiveClaudeModelCatalog(catalog) {
|
|
119
|
-
activeClaudeModelCatalog = catalog;
|
|
120
|
-
}
|
|
121
|
-
//#endregion
|
|
122
20
|
//#region src/provider/Layers/ClaudeProvider.ts
|
|
123
21
|
const DEFAULT_CLAUDE_MODEL_CAPABILITIES = require_bin.createModelCapabilities({ optionDescriptors: [] });
|
|
124
22
|
const PROVIDER$1 = require_collectUint8StreamText.ProviderDriverKind.make("claudeAgent");
|
|
@@ -128,7 +26,7 @@ const CLAUDE_PRESENTATION = {
|
|
|
128
26
|
supportsAskMode: true
|
|
129
27
|
};
|
|
130
28
|
function getClaudeModelCapabilities(model) {
|
|
131
|
-
const capabilities = getClaudeCatalogModelCapabilities(getActiveClaudeModelCatalog(), model);
|
|
29
|
+
const capabilities = require_bin.getClaudeCatalogModelCapabilities(require_bin.getActiveClaudeModelCatalog(), model);
|
|
132
30
|
return capabilities.optionDescriptors?.length ? capabilities : DEFAULT_CLAUDE_MODEL_CAPABILITIES;
|
|
133
31
|
}
|
|
134
32
|
function resolveClaudeEffort(caps, raw) {
|
|
@@ -150,13 +48,13 @@ function resolveClaudeEffort(caps, raw) {
|
|
|
150
48
|
* is a prompt-prefix mode, and `ultracode` never reaches the CLI raw.
|
|
151
49
|
*/
|
|
152
50
|
function normalizeClaudeCliEffort(effort, model) {
|
|
153
|
-
return normalizeClaudeCatalogEffort(getActiveClaudeModelCatalog(), effort, model);
|
|
51
|
+
return require_bin.normalizeClaudeCatalogEffort(require_bin.getActiveClaudeModelCatalog(), effort, model);
|
|
154
52
|
}
|
|
155
53
|
function isClaudeUltracodeEffort(effort) {
|
|
156
54
|
return effort === "ultracode";
|
|
157
55
|
}
|
|
158
56
|
function resolveClaudeApiModelId(modelSelection) {
|
|
159
|
-
return resolveClaudeCatalogApiModelId(getActiveClaudeModelCatalog(), modelSelection);
|
|
57
|
+
return require_bin.resolveClaudeCatalogApiModelId(require_bin.getActiveClaudeModelCatalog(), modelSelection);
|
|
160
58
|
}
|
|
161
59
|
function toTitleCaseWords(value) {
|
|
162
60
|
return value.split(/[\s_-]+/g).filter(Boolean).map((part) => part[0].toUpperCase() + part.slice(1).toLowerCase()).join(" ");
|
|
@@ -313,10 +211,10 @@ const runClaudeCommand = effect.Effect.fn("runClaudeCommand")(function* (claudeS
|
|
|
313
211
|
});
|
|
314
212
|
const checkClaudeProviderStatus = effect.Effect.fn("checkClaudeProviderStatus")(function* (claudeSettings, resolveCapabilities, environment = process.env, resolveRateLimits, modelManifest) {
|
|
315
213
|
const checkedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
316
|
-
let catalog = getActiveClaudeModelCatalog();
|
|
214
|
+
let catalog = require_bin.getActiveClaudeModelCatalog();
|
|
317
215
|
if (modelManifest) {
|
|
318
|
-
catalog = resolveClaudeModelCatalog(yield* modelManifest.current);
|
|
319
|
-
setActiveClaudeModelCatalog(catalog);
|
|
216
|
+
catalog = require_bin.resolveClaudeModelCatalog(yield* modelManifest.current);
|
|
217
|
+
require_bin.setActiveClaudeModelCatalog(catalog);
|
|
320
218
|
yield* modelManifest.refreshInBackground;
|
|
321
219
|
}
|
|
322
220
|
const catalogModels = catalog.models.map((entry) => entry.model);
|
|
@@ -382,8 +280,8 @@ const checkClaudeProviderStatus = effect.Effect.fn("checkClaudeProviderStatus")(
|
|
|
382
280
|
}
|
|
383
281
|
});
|
|
384
282
|
}
|
|
385
|
-
const models = require_bin.providerModelsFromSettings(resolveClaudeModelsForVersion(catalog, parsedVersion), PROVIDER$1, claudeSettings.customModels, DEFAULT_CLAUDE_MODEL_CAPABILITIES);
|
|
386
|
-
const upgradeMessage = formatClaudeVersionUpgradeMessage(catalog, parsedVersion) ?? "";
|
|
283
|
+
const models = require_bin.providerModelsFromSettings(require_bin.resolveClaudeModelsForVersion(catalog, parsedVersion), PROVIDER$1, claudeSettings.customModels, DEFAULT_CLAUDE_MODEL_CAPABILITIES);
|
|
284
|
+
const upgradeMessage = require_bin.formatClaudeVersionUpgradeMessage(catalog, parsedVersion) ?? "";
|
|
387
285
|
const capabilities = resolveCapabilities ? yield* resolveCapabilities(claudeSettings).pipe(effect.Effect.orElseSucceed(() => void 0)) : void 0;
|
|
388
286
|
const dedupedSlashCommands = dedupeSlashCommands(capabilities?.slashCommands ?? []);
|
|
389
287
|
const rateLimits = resolveRateLimits ? yield* resolveRateLimits(claudeSettings, parsedVersion).pipe(effect.Effect.orElseSucceed(() => void 0)) : void 0;
|
|
@@ -428,7 +326,7 @@ const checkClaudeProviderStatus = effect.Effect.fn("checkClaudeProviderStatus")(
|
|
|
428
326
|
});
|
|
429
327
|
const makePendingClaudeProvider = (claudeSettings) => {
|
|
430
328
|
const checkedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
431
|
-
const models = require_bin.providerModelsFromSettings(getActiveClaudeModelCatalog().models.map((entry) => entry.model), PROVIDER$1, claudeSettings.customModels, DEFAULT_CLAUDE_MODEL_CAPABILITIES);
|
|
329
|
+
const models = require_bin.providerModelsFromSettings(require_bin.getActiveClaudeModelCatalog().models.map((entry) => entry.model), PROVIDER$1, claudeSettings.customModels, DEFAULT_CLAUDE_MODEL_CAPABILITIES);
|
|
432
330
|
if (!claudeSettings.enabled) return require_bin.buildServerProvider({
|
|
433
331
|
presentation: CLAUDE_PRESENTATION,
|
|
434
332
|
enabled: false,
|
|
@@ -1223,6 +1121,7 @@ const SUPPORTED_CLAUDE_IMAGE_MIME_TYPES = /* @__PURE__ */ new Set([
|
|
|
1223
1121
|
"image/png",
|
|
1224
1122
|
"image/webp"
|
|
1225
1123
|
]);
|
|
1124
|
+
const CLAUDE_PDF_MIME_TYPE = "application/pdf";
|
|
1226
1125
|
const CLAUDE_SETTING_SOURCES = [
|
|
1227
1126
|
"user",
|
|
1228
1127
|
"project",
|
|
@@ -1256,20 +1155,36 @@ function buildClaudeImageContentBlock(input) {
|
|
|
1256
1155
|
}
|
|
1257
1156
|
};
|
|
1258
1157
|
}
|
|
1158
|
+
function buildClaudeDocumentContentBlock(input) {
|
|
1159
|
+
return {
|
|
1160
|
+
type: "document",
|
|
1161
|
+
source: {
|
|
1162
|
+
type: "base64",
|
|
1163
|
+
media_type: CLAUDE_PDF_MIME_TYPE,
|
|
1164
|
+
data: Buffer.from(input.bytes).toString("base64")
|
|
1165
|
+
},
|
|
1166
|
+
title: input.title
|
|
1167
|
+
};
|
|
1168
|
+
}
|
|
1169
|
+
function isClaudeNativeAttachment(attachment) {
|
|
1170
|
+
if (attachment.type === "image") return SUPPORTED_CLAUDE_IMAGE_MIME_TYPES.has(attachment.mimeType);
|
|
1171
|
+
return attachment.mimeType === CLAUDE_PDF_MIME_TYPE && attachment.sizeBytes <= 25e6;
|
|
1172
|
+
}
|
|
1259
1173
|
const buildUserMessageEffect = effect.Effect.fn("buildUserMessageEffect")(function* (input, dependencies) {
|
|
1260
|
-
const
|
|
1261
|
-
const
|
|
1262
|
-
|
|
1263
|
-
type: "text",
|
|
1264
|
-
text
|
|
1265
|
-
});
|
|
1174
|
+
const promptText = buildPromptText(input, dependencies.boundInstanceId);
|
|
1175
|
+
const nativeBlocks = [];
|
|
1176
|
+
const pathLineEntries = [];
|
|
1266
1177
|
for (const attachment of input.attachments ?? []) {
|
|
1267
|
-
if (attachment
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1178
|
+
if (!require_bin.isPersistableChatAttachment(attachment) || !isClaudeNativeAttachment(attachment)) {
|
|
1179
|
+
pathLineEntries.push({
|
|
1180
|
+
attachment,
|
|
1181
|
+
...attachment.id === void 0 ? {} : { resolvedPath: require_bin.resolveAttachmentPath({
|
|
1182
|
+
attachmentsDir: dependencies.attachmentsDir,
|
|
1183
|
+
attachment
|
|
1184
|
+
}) ?? void 0 }
|
|
1185
|
+
});
|
|
1186
|
+
continue;
|
|
1187
|
+
}
|
|
1273
1188
|
const attachmentPath = require_bin.resolveAttachmentPath({
|
|
1274
1189
|
attachmentsDir: dependencies.attachmentsDir,
|
|
1275
1190
|
attachment
|
|
@@ -1285,11 +1200,21 @@ const buildUserMessageEffect = effect.Effect.fn("buildUserMessageEffect")(functi
|
|
|
1285
1200
|
detail: toMessage(cause, "Failed to read attachment file."),
|
|
1286
1201
|
cause
|
|
1287
1202
|
})));
|
|
1288
|
-
|
|
1203
|
+
nativeBlocks.push(attachment.type === "image" ? buildClaudeImageContentBlock({
|
|
1289
1204
|
mimeType: attachment.mimeType,
|
|
1290
1205
|
bytes
|
|
1206
|
+
}) : buildClaudeDocumentContentBlock({
|
|
1207
|
+
bytes,
|
|
1208
|
+
title: attachment.name
|
|
1291
1209
|
}));
|
|
1292
1210
|
}
|
|
1211
|
+
const text = require_makeManagedServerProvider.appendAttachmentPathLines(promptText, require_makeManagedServerProvider.formatAttachmentPathLines(pathLineEntries));
|
|
1212
|
+
const sdkContent = [];
|
|
1213
|
+
if (text !== void 0 && text.length > 0) sdkContent.push({
|
|
1214
|
+
type: "text",
|
|
1215
|
+
text
|
|
1216
|
+
});
|
|
1217
|
+
for (const block of nativeBlocks) sdkContent.push(block);
|
|
1293
1218
|
return buildUserMessage({ sdkContent });
|
|
1294
1219
|
});
|
|
1295
1220
|
function turnStatusFromResult(result) {
|