ryco-cli 0.1.13 → 0.1.14
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-Ba9Nn9Re.mjs → AcpNativeLogging-D3fe64a6.mjs} +1 -1
- package/dist/{AcpNativeLogging-Be1KGJfF.cjs → AcpNativeLogging-vLtnq5f1.cjs} +1 -1
- package/dist/{AzureDevOpsSourceControlProvider-CVj-F-pW.cjs → AzureDevOpsSourceControlProvider-BtezW57t.cjs} +2 -2
- package/dist/{AzureDevOpsSourceControlProvider-CGlK6M0b.mjs → AzureDevOpsSourceControlProvider-WNUDtsur.mjs} +2 -2
- package/dist/{BitbucketSourceControlProvider-CEZEd4PX.cjs → BitbucketSourceControlProvider-BWzNM0jW.cjs} +2 -2
- package/dist/{BitbucketSourceControlProvider-BV6iRDi7.mjs → BitbucketSourceControlProvider-tbbUFKz3.mjs} +2 -2
- package/dist/{ClaudeDriver-lBU7EyUX.cjs → ClaudeDriver-BTvdJvam.cjs} +170 -7
- package/dist/{ClaudeDriver-rooMNrJz.mjs → ClaudeDriver-CG5ngU5z.mjs} +171 -8
- package/dist/{CodexDriver-DBz2rPXb.mjs → CodexDriver-49o7TA-C.mjs} +4 -4
- package/dist/{CodexDriver-CZCIJSLV.cjs → CodexDriver-CFxwJNXx.cjs} +3 -3
- package/dist/{CodexTextGeneration-BeG7ymPC.mjs → CodexTextGeneration-C0t4xcPO.mjs} +2 -2
- package/dist/{CodexTextGeneration-BvIcyD1P.cjs → CodexTextGeneration-CedcXf9a.cjs} +1 -1
- package/dist/{CopilotDriver-CX5zhEdZ.cjs → CopilotDriver-B8J_ovCX.cjs} +20 -16
- package/dist/{CopilotDriver-D36vbGbn.mjs → CopilotDriver-Cu1B1skB.mjs} +21 -17
- package/dist/{CursorDriver-DWuuOSkJ.mjs → CursorDriver-P_A8uQki.mjs} +4 -4
- package/dist/{CursorDriver-CPBVeesr.cjs → CursorDriver-zlKHPy1_.cjs} +3 -3
- package/dist/{ForgejoSourceControlProvider-CeN7Snfr.mjs → ForgejoSourceControlProvider-DLhJZtq9.mjs} +2 -2
- package/dist/{ForgejoSourceControlProvider-CzmmcAZO.cjs → ForgejoSourceControlProvider-szJ-dvsD.cjs} +2 -2
- package/dist/{GitHubSourceControlProvider-DfFR9O2o.cjs → GitHubSourceControlProvider-3ofb6HsF.cjs} +2 -2
- package/dist/{GitHubSourceControlProvider-Dmz1LJct.mjs → GitHubSourceControlProvider-D5MQQPCJ.mjs} +2 -2
- package/dist/{GitLabSourceControlProvider-C21lwphV.mjs → GitLabSourceControlProvider-DLkxeob5.mjs} +2 -2
- package/dist/{GitLabSourceControlProvider-DGoelNmL.cjs → GitLabSourceControlProvider-DkupZH5G.cjs} +2 -2
- package/dist/{GrokDriver-CIXj_4ry.cjs → GrokDriver-CTUNclwp.cjs} +3 -3
- package/dist/{GrokDriver-qKX1a63G.mjs → GrokDriver-D8KoMY76.mjs} +4 -4
- package/dist/{OpenCodeDriver-CbdswhqU.mjs → OpenCodeDriver-B7htxutj.mjs} +92 -27
- package/dist/{OpenCodeDriver-DDEuwtXl.cjs → OpenCodeDriver-pXM8bSct.cjs} +91 -26
- package/dist/{SourceControlProviderDiscoveryCatalog-DJWDCoup.cjs → SourceControlProviderDiscoveryCatalog-Bj_sZfmB.cjs} +1 -1
- package/dist/{SourceControlProviderDiscoveryCatalog-4_4yahsa.mjs → SourceControlProviderDiscoveryCatalog-C6Fn7rZE.mjs} +1 -1
- package/dist/bin.cjs +1113 -312
- package/dist/bin.mjs +1115 -315
- package/dist/client/assets/{AccountSettings-Be5_48k0.js → AccountSettings-CinnQaX-.js} +1 -1
- package/dist/client/assets/{AiFocusSettings-DIpQXLW2.js → AiFocusSettings-UbXOywZg.js} +1 -1
- package/dist/client/assets/{AnimatedHeight-BIsV_Z3J.js → AnimatedHeight-DCad8EQ2.js} +1 -1
- package/dist/client/assets/AppearanceSettings-CTh8Z8nz.js +1 -0
- package/dist/client/assets/{BranchToolbar.logic-D7slG_zJ.js → BranchToolbar.logic-37EnknDD.js} +1 -1
- package/dist/client/assets/ChatRightPanel-DUwLYKbp.js +27 -0
- package/dist/client/assets/{ChatThreadRouteView-CocRstME.js → ChatThreadRouteView-C43W0PEz.js} +1 -1
- package/dist/client/assets/CommandPaletteDialog-IHOe0hOG.js +1 -0
- package/dist/client/assets/{CompositeItem-F3NGn6aG.js → CompositeItem-ClLCuzeJ.js} +1 -1
- package/dist/client/assets/{CompositeRoot-CmJGfRtc.js → CompositeRoot-Bdsr9eHn.js} +1 -1
- package/dist/client/assets/{ConnectionsSettings-CXabxSaH.js → ConnectionsSettings-tmBjGOPj.js} +2 -2
- package/dist/client/assets/{DiagnosticsSettings-CZ3vY43G.js → DiagnosticsSettings-CbCEgaau.js} +1 -1
- package/dist/client/assets/{DialogHandle-C4uSr9wX.js → DialogHandle-CitVLvYq.js} +1 -1
- package/dist/client/assets/{DialogPopup-Dck8r8Hn.js → DialogPopup-CfaEr9jv.js} +1 -1
- package/dist/client/assets/DialogRoot-CyEOjgGH.js +1 -0
- package/dist/client/assets/{DialogTitle-CCedPAjV.js → DialogTitle-BUkU0qXf.js} +1 -1
- package/dist/client/assets/{DialogTrigger-CYJ7_YcV.js → DialogTrigger-CEjWue7M.js} +1 -1
- package/dist/client/assets/{DialogViewport-D-CrTM-P.js → DialogViewport-Cyc_ye5w.js} +1 -1
- package/dist/client/assets/{DraftChatThreadRouteView-D8Bt3Qnq.js → DraftChatThreadRouteView-BSA67nKa.js} +1 -1
- package/dist/client/assets/{ExternalIdentityWeb.logic-D64j70NH.js → ExternalIdentityWeb.logic-BqdBjAua.js} +1 -1
- package/dist/client/assets/GlassSurface-B3cq28tB.js +1 -0
- package/dist/client/assets/{HostedConnectionControls-DxAXv0Hd.js → HostedConnectionControls-S2Wr9fiZ.js} +1 -1
- package/dist/client/assets/HostedHubRoot-DK9zP4tJ.js +1 -0
- package/dist/client/assets/{HostedNativeAuthorizationRoute-CTQe7Vjt.js → HostedNativeAuthorizationRoute-CKnLbCOH.js} +1 -1
- package/dist/client/assets/{HostedRelayTrustNotice-BldMySVi.js → HostedRelayTrustNotice-CbF_SOpf.js} +1 -1
- package/dist/client/assets/{Icons-CT3nd2MA.js → Icons-DZpTOLIb.js} +1 -1
- package/dist/client/assets/{IntegrationsSettingsPanel-D6f3KoqM.js → IntegrationsSettingsPanel-BdBEGIyL.js} +1 -1
- package/dist/client/assets/KeybindingsSettings-Bye1H9Sx.js +7 -0
- package/dist/client/assets/{McpServersSettings-B7YqVvV4.js → McpServersSettings-D0U0g2q7.js} +1 -1
- package/dist/client/assets/{MobileSheet-CkeG6_SP.js → MobileSheet-BPvuTPR6.js} +1 -1
- package/dist/client/assets/{NewWorktreeDialog-CKr2ioue.js → NewWorktreeDialog-C_xJCZWF.js} +1 -1
- package/dist/client/assets/{NoActiveThreadState-BD-eNmfn.js → NoActiveThreadState-Cfn_Wwnf.js} +1 -1
- package/dist/client/assets/{NodeSecuritySettings-FWM_SeDi.js → NodeSecuritySettings-DUQNZJqJ.js} +1 -1
- package/dist/client/assets/{OpinionatedPluginsSettings-BtZQF4Ze.js → OpinionatedPluginsSettings-D44efcv7.js} +1 -1
- package/dist/client/assets/{PhoneGetAppInterstitial-CooQgpSw.js → PhoneGetAppInterstitial-CzduFI4-.js} +1 -1
- package/dist/client/assets/{PhoneGetAppInterstitialBackdrop-B8vfJdZd.js → PhoneGetAppInterstitialBackdrop-CJ44QRCp.js} +1 -1
- package/dist/client/assets/PhoneHome-BLEJm5TG.js +1 -0
- package/dist/client/assets/PhoneSettingsSurface-CqetLTIm.js +1 -0
- package/dist/client/assets/{ProjectFavicon-qZGdjYCM.js → ProjectFavicon-DrBXI2cH.js} +1 -1
- package/dist/client/assets/{ProviderModelPicker-D0w23uWo.js → ProviderModelPicker-CyID3P1C.js} +1 -1
- package/dist/client/assets/{ProviderUpdateLaunchNotification.logic-BkoRegCn.js → ProviderUpdateLaunchNotification.logic-C6VoLD-w.js} +1 -1
- package/dist/client/assets/ProvidersSettingsPanel-BHmpXUIM.js +1 -0
- package/dist/client/assets/{RedactedSensitiveText-CxtaUiKH.js → RedactedSensitiveText-CZwFEoNn.js} +1 -1
- package/dist/client/assets/RootAppShell-BVXRShhe.js +6 -0
- package/dist/client/assets/{RycoLetterMark-Bk0kvGJ_.js → RycoLetterMark-C-fvI9UB.js} +1 -1
- package/dist/client/assets/SettingsDialog-CnETTu23.js +1 -0
- package/dist/client/assets/{SettingsPanels-Dr4f2y9l.js → SettingsPanels-C3HDrmQq.js} +3 -3
- package/dist/client/assets/{SettingsPanels.editor-B2x4U4rW.js → SettingsPanels.editor-DI8Z5rsl.js} +1 -1
- package/dist/client/assets/SourceControlSettings-BG4tsvql.js +1 -0
- package/dist/client/assets/{StatisticsPage-Bjouapmf.js → StatisticsPage-dy_aYqvS.js} +1 -1
- package/dist/client/assets/{StatisticsPanel-D_khPph6.js → StatisticsPanel-CeRJBu65.js} +1 -1
- package/dist/client/assets/{StatisticsSettingsLink-Cx43bOeo.js → StatisticsSettingsLink-ChlwCDG0.js} +1 -1
- package/dist/client/assets/ThreadStatusIndicators-D-ioX09X.js +0 -0
- package/dist/client/assets/{ThreadTerminalDrawer-DDHEuRGB.js → ThreadTerminalDrawer-BvGaRxBP.js} +1 -1
- package/dist/client/assets/{ThreadWorkspacePanel-QF3KwbGm.js → ThreadWorkspacePanel-BAWm7mGl.js} +2 -2
- package/dist/client/assets/{ToolbarRootContext-BgqqXVly.js → ToolbarRootContext-k-_m5nCN.js} +1 -1
- package/dist/client/assets/{WorkItemsTab-AOVwVvb7.js → WorkItemsTab-Q2V2EuvK.js} +12 -12
- package/dist/client/assets/{alert-LqMhbdE9.js → alert-BymbRVPf.js} +1 -1
- package/dist/client/assets/{alert-dialog-DxoA6ky8.js → alert-dialog-Gym8_p4Q.js} +1 -1
- package/dist/client/assets/appearancePreferences-BhNRCg6W.js +1 -0
- package/dist/client/assets/authorization-BwQZHweJ.js +1 -0
- package/dist/client/assets/{badge-CXw6fWrB.js → badge-BQI7J3Sg.js} +1 -1
- package/dist/client/assets/{branding-BDfN6Spd.js → branding-DqHDcyzW.js} +1 -1
- package/dist/client/assets/{button-BAbJxRzt.js → button-Wf_1nfeu.js} +1 -1
- package/dist/client/assets/{capabilities-3zgirmmI.js → capabilities-BrllgEYz.js} +1 -1
- package/dist/client/assets/{chatThreadActions-DQ8aOQ1g.js → chatThreadActions-BGkJmj6T.js} +1 -1
- package/dist/client/assets/{collapsible-dxy6kc2k.js → collapsible-GOpRckDq.js} +1 -1
- package/dist/client/assets/{command-CGNKG_Oe.js → command-Dx5YM54H.js} +1 -1
- package/dist/client/assets/composerDraftStore-DC2r8dcu.js +11 -0
- package/dist/client/assets/{data-list-CYKBxN62.js → data-list-BSiCZBKn.js} +1 -1
- package/dist/client/assets/{desktopUpdateAtoms-CyfPW2jg.js → desktopUpdateAtoms-DkmoIGr0.js} +1 -1
- package/dist/client/assets/{desktopWorkspace-DHUZEpfy.js → desktopWorkspace-Ddm531g5.js} +1 -1
- package/dist/client/assets/{device-B_qvyvtW.js → device-B0aqBYM1.js} +1 -1
- package/dist/client/assets/{dialog-DQsYchqu.js → dialog-CUxw5AxI.js} +1 -1
- package/dist/client/assets/{draft-input-CkzOk8BY.js → draft-input-CpfrGQ1h.js} +1 -1
- package/dist/client/assets/editorPreferences-SOMXdQpi.js +1 -0
- package/dist/client/assets/{empty-DwzqNgCP.js → empty-D420OZA9.js} +1 -1
- package/dist/client/assets/{env-B4arEvJg.js → env-Bf33qXdb.js} +1 -1
- package/dist/client/assets/{getPseudoElementBounds-X62ElHN8.js → getPseudoElementBounds-nDGTWECG.js} +1 -1
- package/dist/client/assets/{group-D9ER9giz.js → group-Cq4Llttm.js} +1 -1
- package/dist/client/assets/{index-CQmEMMQH.js → index-BL8_ra0g.js} +2 -2
- package/dist/client/assets/{input-CHEwW3oH.js → input-Dl4N9ZfE.js} +1 -1
- package/dist/client/assets/{kbd-DCGQZk18.js → kbd-CqoZVQfv.js} +1 -1
- package/dist/client/assets/{keybindings-CWJ7E9ZI.js → keybindings-DQzcPjMv.js} +1 -1
- package/dist/client/assets/{label-CVFHsLFO.js → label-x5DgpBI_.js} +1 -1
- package/dist/client/assets/{lib-qiiNMGgU.js → lib-BXIqHSZx.js} +1 -1
- package/dist/client/assets/{liquidGlass-CPsvmaF0.js → liquidGlass-yFkZrRk5.js} +1 -1
- package/dist/client/assets/{logging-M8H3z7rQ.js → logging-CZlHfeu2.js} +1 -1
- package/dist/client/assets/main-B7T7on1T.css +2 -0
- package/dist/client/assets/main-J4YlUJad.js +9 -0
- package/dist/client/assets/{menu-Dvxh8sD5.js → menu-BuDpxm_Q.js} +1 -1
- package/dist/client/assets/{popover-CuH9Yrj3.js → popover-DuprDUaB.js} +1 -1
- package/dist/client/assets/primary-CJx2nSkc.js +2 -0
- package/dist/client/assets/projectPaths-DrelgodZ.js +1 -0
- package/dist/client/assets/{providerDriverMeta-I0TSo-QI.js → providerDriverMeta-D27Koh7Q.js} +1 -1
- package/dist/client/assets/{providerIconUtils-X0Z3EK-Q.js → providerIconUtils-CtOHwjWL.js} +1 -1
- package/dist/client/assets/providerInstances-BPwEwwpF.js +1 -0
- package/dist/client/assets/providerModels-BPwEwwpF.js +1 -0
- package/dist/client/assets/{qr-code-Bddq6K7S.js → qr-code-BVfzPOP3.js} +1 -1
- package/dist/client/assets/{radio-group-CBZFr4C8.js → radio-group-rgmJqPI7.js} +1 -1
- package/dist/client/assets/{resolveAriaLabelledBy-CD_ugzhJ.js → resolveAriaLabelledBy-l4SuqStl.js} +1 -1
- package/dist/client/assets/{rightPanelRouteSearch-DB5gQGHK.js → rightPanelRouteSearch-DmpObL1z.js} +1 -1
- package/dist/client/assets/runtime-DYzjhL5M.js +1 -0
- package/dist/client/assets/{scroll-area-Drsa8bNB.js → scroll-area-DMs8l4bb.js} +1 -1
- package/dist/client/assets/{scrollEdges-B-cqxY4l.js → scrollEdges-DWTOweRb.js} +1 -1
- package/dist/client/assets/{select-BYbVr-yg.js → select-Djwp8HDm.js} +1 -1
- package/dist/client/assets/{separator-CdS5bi4Z.js → separator-rjtf5Q3V.js} +1 -1
- package/dist/client/assets/{session-logic-GZix7S2I.js → session-logic-DLEAZb3K.js} +2 -2
- package/dist/client/assets/{settingsDialogStore-ygYoScKe.js → settingsDialogStore-Dbykwvfs.js} +1 -1
- package/dist/client/assets/{settingsLayout-D8glO7f1.js → settingsLayout-C7bl9Xi4.js} +1 -1
- package/dist/client/assets/{sheet-BO78gIKZ.js → sheet-CQIQYfOM.js} +1 -1
- package/dist/client/assets/{sidebar-Dm6l2GA6.js → sidebar-BdDOvXe8.js} +1 -1
- package/dist/client/assets/sidebarProjectFolders-D_Me0oJ8.js +4 -0
- package/dist/client/assets/{sidebarStatusText-D0HT0fek.js → sidebarStatusText-BF6odB03.js} +1 -1
- package/dist/client/assets/{skeleton-CvQSeJbw.js → skeleton-Mgh4Gx9x.js} +1 -1
- package/dist/client/assets/{spinner-ClF0jOcX.js → spinner-CzzUdFeE.js} +1 -1
- package/dist/client/assets/{src-Vf4LVnMX.js → src-Ca7Gag3m.js} +1 -1
- package/dist/client/assets/storeSelectors-D7HbqO4E.js +1 -0
- package/dist/client/assets/{switch-BTGo9Yip.js → switch-CntUxI1A.js} +1 -1
- package/dist/client/assets/{terminal-links-CZ3c9AbA.js → terminal-links-CUFISn8U.js} +1 -1
- package/dist/client/assets/{textarea-RFPODxWW.js → textarea-C8QxddDb.js} +1 -1
- package/dist/client/assets/threadPinning-BIV4KXZU.js +1 -0
- package/dist/client/assets/{threadPriorityRefreshRuntime-Ct5pnIbX.js → threadPriorityRefreshRuntime-B-pVYK_y.js} +1 -1
- package/dist/client/assets/{toast-CcSCAm4B.js → toast-Cw7bXJzg.js} +1 -1
- package/dist/client/assets/{toggle-I6h33Cu5.js → toggle-Bi9uP4Hb.js} +1 -1
- package/dist/client/assets/{toggle-group-mLIkiJtU.js → toggle-group-LcgyMgj5.js} +1 -1
- package/dist/client/assets/{tooltip-C8sAONBj.js → tooltip-t3Nrleyq.js} +1 -1
- package/dist/client/assets/types-D7HbqO4E.js +1 -0
- package/dist/client/assets/{uiStateStore-B6pjzSjj.js → uiStateStore-BW2WnK4k.js} +1 -1
- package/dist/client/assets/useAtlassian-a-MaAd0k.js +0 -0
- package/dist/client/assets/{useButton-D__1LqCF.js → useButton-DUuWgIMw.js} +1 -1
- package/dist/client/assets/{useCompositeListItem-Cmr_nuuG.js → useCompositeListItem-CL5mJqCb.js} +1 -1
- package/dist/client/assets/{useDebouncedValue-DHjoudTq.js → useDebouncedValue-jDDWNjgt.js} +1 -1
- package/dist/client/assets/{useFloatingRootContext-D5EZmrCa.js → useFloatingRootContext-C4I8IxtL.js} +1 -1
- package/dist/client/assets/{useHandleNewThread-DX2FtXcP.js → useHandleNewThread-820pBJCC.js} +1 -1
- package/dist/client/assets/{useLabelableId-DnQJ7amm.js → useLabelableId-KX33mhBC.js} +1 -1
- package/dist/client/assets/{useLocation-CDeYzWW6.js → useLocation-B4QlXdMt.js} +1 -1
- package/dist/client/assets/{useOpenInteractionType-CjtpACKR.js → useOpenInteractionType-DjM9MBY7.js} +1 -1
- package/dist/client/assets/{usePhoneThreadActions-BEa3VzGG.js → usePhoneThreadActions-DxxWMYgC.js} +1 -1
- package/dist/client/assets/{usePopupViewport-BuhsNdVy.js → usePopupViewport-CAMlnyaP.js} +1 -1
- package/dist/client/assets/{useScrollLock-D3tMGsRk.js → useScrollLock-CAPfesBT.js} +1 -1
- package/dist/client/assets/{useStatistics-CtunoTE-.js → useStatistics-CWasDzsV.js} +2 -2
- package/dist/client/assets/{useSwipeDismiss-CbgDJvw1.js → useSwipeDismiss-BZsYSBgq.js} +1 -1
- package/dist/client/assets/{useTheme-DiC-5xCb.js → useTheme-By1kfyiU.js} +1 -1
- package/dist/client/assets/{useThreadActions-fN-Al13y.js → useThreadActions-MOjDrEnS.js} +1 -1
- package/dist/client/assets/{useTriggerFocusGuards-CrugmkhX.js → useTriggerFocusGuards-D5z439rn.js} +1 -1
- package/dist/client/assets/{useValueChanged-MQtIzPIU.js → useValueChanged-D0CHQQwP.js} +1 -1
- package/dist/client/assets/{utils-BofFIn5Y.js → utils-B76_2Yk7.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/{collectUint8StreamText-Bb52hlpd.cjs → collectUint8StreamText-B9B7bGv9.cjs} +46 -10
- package/dist/{collectUint8StreamText-EDg4F0TU.mjs → collectUint8StreamText-RzKEq2NY.mjs} +35 -11
- package/dist/{makeManagedServerProvider-itynW7xv.cjs → makeManagedServerProvider-BF1eBatf.cjs} +1 -1
- package/dist/{makeManagedServerProvider-Cf8bNWwc.mjs → makeManagedServerProvider-BuG2fLP8.mjs} +1 -1
- package/package.json +1 -1
- package/dist/client/assets/AppearanceSettings-CYbSApl4.js +0 -1
- package/dist/client/assets/ChatRightPanel-BIS1DPGa.js +0 -27
- package/dist/client/assets/CommandPaletteDialog-C5xAo65V.js +0 -1
- package/dist/client/assets/DialogRoot-BpIvUdm7.js +0 -1
- package/dist/client/assets/GlassSurface-C3IIWMu9.js +0 -1
- package/dist/client/assets/HostedHubRoot-Cc8GYcK6.js +0 -1
- package/dist/client/assets/KeybindingsSettings-D2bNQPI-.js +0 -7
- package/dist/client/assets/PhoneHome-BtPE7bQn.js +0 -1
- package/dist/client/assets/PhoneSettingsSurface-tcFCccEL.js +0 -1
- package/dist/client/assets/ProvidersSettingsPanel-B3aBKY--.js +0 -1
- package/dist/client/assets/RootAppShell-C-0ChFVJ.js +0 -6
- package/dist/client/assets/SettingsDialog-Bbuoh793.js +0 -1
- package/dist/client/assets/SourceControlSettings-CkiYR4lR.js +0 -1
- package/dist/client/assets/ThreadStatusIndicators-ZImeLExQ.js +0 -0
- package/dist/client/assets/appearancePreferences-COvj0WMT.js +0 -1
- package/dist/client/assets/authorization-mIJKV2yp.js +0 -1
- package/dist/client/assets/composerDraftStore-CdJJZe42.js +0 -11
- package/dist/client/assets/editorPreferences-DHIJntKF.js +0 -1
- package/dist/client/assets/main-BKS5Nf2_.js +0 -9
- package/dist/client/assets/main-DaYHZt-J.css +0 -2
- package/dist/client/assets/panel-right-BodNpkM9.js +0 -1
- package/dist/client/assets/primary-BzLEg2w1.js +0 -2
- package/dist/client/assets/projectPaths-BAd6NFcE.js +0 -1
- package/dist/client/assets/providerInstances-BJcfB_9E.js +0 -1
- package/dist/client/assets/providerModels-BJcfB_9E.js +0 -1
- package/dist/client/assets/runtime-CXut_g4p.js +0 -1
- package/dist/client/assets/sidebarProjectFolders-cnmz3B_-.js +0 -4
- package/dist/client/assets/storeSelectors-DYekgeHu.js +0 -1
- package/dist/client/assets/types-DYekgeHu.js +0 -1
- package/dist/client/assets/useAppearancePreference-BlLlxQl7.js +0 -1
- package/dist/client/assets/useAtlassian-9-hy2f8z.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Ko as ProviderItemId, Xo as RuntimeSubagentId, qo as RuntimeItemId } from "./collectUint8StreamText-RzKEq2NY.mjs";
|
|
4
4
|
import { ct as ProviderAdapterSessionClosedError, it as redactAgentControlSecrets, st as ProviderAdapterRequestError } from "./bin.mjs";
|
|
5
5
|
import * as Effect$1 from "effect/Effect";
|
|
6
6
|
import * as Layer$1 from "effect/Layer";
|
|
@@ -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-B9B7bGv9.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-B9B7bGv9.cjs");
|
|
4
|
+
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-Bj_sZfmB.cjs");
|
|
5
5
|
const require_bin = require("./bin.cjs");
|
|
6
6
|
let effect = require("effect");
|
|
7
7
|
//#region src/sourceControl/AzureDevOpsSourceControlProvider.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { Ca as
|
|
4
|
-
import { l as sourceControlRefFromInput, o as SourceControlProvider, t as azureDevOpsDiscovery } from "./SourceControlProviderDiscoveryCatalog-
|
|
3
|
+
import { Ca as SourceControlProviderError, Ta as truncateSourceControlDetailContent } from "./collectUint8StreamText-RzKEq2NY.mjs";
|
|
4
|
+
import { l as sourceControlRefFromInput, o as SourceControlProvider, t as azureDevOpsDiscovery } from "./SourceControlProviderDiscoveryCatalog-C6Fn7rZE.mjs";
|
|
5
5
|
import { En as AzureDevOpsCli } from "./bin.mjs";
|
|
6
6
|
import { DateTime, Effect, Layer, Option } from "effect";
|
|
7
7
|
//#region src/sourceControl/AzureDevOpsSourceControlProvider.ts
|
|
@@ -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-B9B7bGv9.cjs");
|
|
4
|
+
const require_SourceControlProviderDiscoveryCatalog = require("./SourceControlProviderDiscoveryCatalog-Bj_sZfmB.cjs");
|
|
5
5
|
const require_bin = require("./bin.cjs");
|
|
6
6
|
let effect = require("effect");
|
|
7
7
|
//#region src/sourceControl/BitbucketSourceControlProvider.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { Ca as
|
|
4
|
-
import { i as makeBitbucketDiscovery, l as sourceControlRefFromInput, o as SourceControlProvider } from "./SourceControlProviderDiscoveryCatalog-
|
|
3
|
+
import { Ca as SourceControlProviderError, Ta as truncateSourceControlDetailContent } from "./collectUint8StreamText-RzKEq2NY.mjs";
|
|
4
|
+
import { i as makeBitbucketDiscovery, l as sourceControlRefFromInput, o as SourceControlProvider } from "./SourceControlProviderDiscoveryCatalog-C6Fn7rZE.mjs";
|
|
5
5
|
import { Tn as BitbucketApi } from "./bin.mjs";
|
|
6
6
|
import { DateTime, Effect, Layer, Option } from "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-B9B7bGv9.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-BF1eBatf.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");
|
|
@@ -882,6 +882,87 @@ function parseCliArgs(args, options) {
|
|
|
882
882
|
};
|
|
883
883
|
}
|
|
884
884
|
//#endregion
|
|
885
|
+
//#region src/provider/contextCompactionPolicy.ts
|
|
886
|
+
const CONTEXT_COMPACTION_TRIGGER_RATIO = .8;
|
|
887
|
+
function initialContextCompactionPolicyState(generation) {
|
|
888
|
+
return {
|
|
889
|
+
generation,
|
|
890
|
+
phase: "idle",
|
|
891
|
+
armed: true
|
|
892
|
+
};
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* Decides whether a context snapshot should arm automatic compaction.
|
|
896
|
+
*
|
|
897
|
+
* The lower rearm watermark prevents a repeated high-water snapshot from
|
|
898
|
+
* creating another request after a completed or interrupted compaction. A
|
|
899
|
+
* generation mismatch is always ignored so a late observation from a replaced
|
|
900
|
+
* provider session cannot mutate the active one.
|
|
901
|
+
*/
|
|
902
|
+
function observeContextCompaction(state, input) {
|
|
903
|
+
if (input.generation !== state.generation || state.phase === "disabled") return {
|
|
904
|
+
state,
|
|
905
|
+
trigger: false
|
|
906
|
+
};
|
|
907
|
+
const { usedTokens, maxTokens } = input.usage;
|
|
908
|
+
if (maxTokens === void 0 || !Number.isFinite(maxTokens) || maxTokens <= 0 || !Number.isFinite(usedTokens) || usedTokens < 0) return {
|
|
909
|
+
state,
|
|
910
|
+
trigger: false
|
|
911
|
+
};
|
|
912
|
+
const ratio = usedTokens / maxTokens;
|
|
913
|
+
if (state.phase !== "idle") return {
|
|
914
|
+
state,
|
|
915
|
+
trigger: false
|
|
916
|
+
};
|
|
917
|
+
if (!state.armed) return ratio <= .65 ? {
|
|
918
|
+
state: {
|
|
919
|
+
...state,
|
|
920
|
+
armed: true
|
|
921
|
+
},
|
|
922
|
+
trigger: false
|
|
923
|
+
} : {
|
|
924
|
+
state,
|
|
925
|
+
trigger: false
|
|
926
|
+
};
|
|
927
|
+
if (ratio < .8) return {
|
|
928
|
+
state,
|
|
929
|
+
trigger: false
|
|
930
|
+
};
|
|
931
|
+
return {
|
|
932
|
+
state: {
|
|
933
|
+
...state,
|
|
934
|
+
phase: "requested",
|
|
935
|
+
armed: false
|
|
936
|
+
},
|
|
937
|
+
trigger: true,
|
|
938
|
+
windowTokens: Math.max(1, Math.floor(maxTokens * CONTEXT_COMPACTION_TRIGGER_RATIO))
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
function markContextCompactionStarted(state, generation) {
|
|
942
|
+
if (generation !== state.generation || state.phase === "disabled") return state;
|
|
943
|
+
return {
|
|
944
|
+
...state,
|
|
945
|
+
phase: "compacting",
|
|
946
|
+
armed: false
|
|
947
|
+
};
|
|
948
|
+
}
|
|
949
|
+
function settleContextCompaction(state, generation) {
|
|
950
|
+
if (generation !== state.generation || state.phase === "disabled") return state;
|
|
951
|
+
return {
|
|
952
|
+
...state,
|
|
953
|
+
phase: "idle",
|
|
954
|
+
armed: false
|
|
955
|
+
};
|
|
956
|
+
}
|
|
957
|
+
function disableContextCompaction(state, generation) {
|
|
958
|
+
if (generation !== state.generation) return state;
|
|
959
|
+
return {
|
|
960
|
+
...state,
|
|
961
|
+
phase: "disabled",
|
|
962
|
+
armed: false
|
|
963
|
+
};
|
|
964
|
+
}
|
|
965
|
+
//#endregion
|
|
885
966
|
//#region src/provider/Layers/ClaudeAdapter.ts
|
|
886
967
|
/**
|
|
887
968
|
* ClaudeAdapterLive - Scoped live implementation for the Claude Agent provider adapter.
|
|
@@ -892,6 +973,25 @@ function parseCliArgs(args, options) {
|
|
|
892
973
|
* @module ClaudeAdapterLive
|
|
893
974
|
*/
|
|
894
975
|
const PROVIDER = require_collectUint8StreamText.ProviderDriverKind.make("claudeAgent");
|
|
976
|
+
const CLAUDE_SUBAGENT_ATTRIBUTION_CACHE_CAP = 256;
|
|
977
|
+
function rememberClaudeSubagentLaunchInput(context, toolUseId, input) {
|
|
978
|
+
if (!context.subagentLaunchInputByToolUseId.has(toolUseId) && context.subagentLaunchInputByToolUseId.size >= CLAUDE_SUBAGENT_ATTRIBUTION_CACHE_CAP) {
|
|
979
|
+
const oldestToolUseId = context.subagentLaunchInputByToolUseId.keys().next().value;
|
|
980
|
+
if (oldestToolUseId !== void 0) context.subagentLaunchInputByToolUseId.delete(oldestToolUseId);
|
|
981
|
+
}
|
|
982
|
+
context.subagentLaunchInputByToolUseId.set(toolUseId, input);
|
|
983
|
+
}
|
|
984
|
+
function rememberClaudeSubagentModel(context, toolUseId, model) {
|
|
985
|
+
if (!context.subagentModelByToolUseId.has(toolUseId) && context.subagentModelByToolUseId.size >= CLAUDE_SUBAGENT_ATTRIBUTION_CACHE_CAP) {
|
|
986
|
+
const oldestToolUseId = context.subagentModelByToolUseId.keys().next().value;
|
|
987
|
+
if (oldestToolUseId !== void 0) context.subagentModelByToolUseId.delete(oldestToolUseId);
|
|
988
|
+
}
|
|
989
|
+
context.subagentModelByToolUseId.set(toolUseId, model);
|
|
990
|
+
}
|
|
991
|
+
function claudeSubagentLaunchModel(input) {
|
|
992
|
+
const model = trimmedClaudeString(input?.model);
|
|
993
|
+
return model?.toLowerCase() === "inherit" ? void 0 : model;
|
|
994
|
+
}
|
|
895
995
|
function isUuid(value) {
|
|
896
996
|
return /^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(value);
|
|
897
997
|
}
|
|
@@ -984,6 +1084,12 @@ function normalizeClaudeTokenUsage(value, contextWindow) {
|
|
|
984
1084
|
...typeof usage.duration_ms === "number" && Number.isFinite(usage.duration_ms) ? { durationMs: usage.duration_ms } : {}
|
|
985
1085
|
};
|
|
986
1086
|
}
|
|
1087
|
+
function withAutomaticCompactionCapability(usage, supported) {
|
|
1088
|
+
return supported ? {
|
|
1089
|
+
...usage,
|
|
1090
|
+
compactsAutomatically: true
|
|
1091
|
+
} : usage;
|
|
1092
|
+
}
|
|
987
1093
|
function asCanonicalTurnId(value) {
|
|
988
1094
|
return value;
|
|
989
1095
|
}
|
|
@@ -1505,6 +1611,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
1505
1611
|
options: input.options
|
|
1506
1612
|
}));
|
|
1507
1613
|
const sessions = /* @__PURE__ */ new Map();
|
|
1614
|
+
let nextSessionGeneration = 0;
|
|
1508
1615
|
const runtimeEventQueue = yield* effect.Queue.bounded(2048);
|
|
1509
1616
|
const runtimeEventQueueMetrics = yield* require_bin.makeServerQueueMetrics({
|
|
1510
1617
|
queue: "provider.adapter.runtimeEvents",
|
|
@@ -1850,6 +1957,40 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
1850
1957
|
}
|
|
1851
1958
|
});
|
|
1852
1959
|
});
|
|
1960
|
+
const emitCompactionUnavailableWarning = effect.Effect.fn("emitCompactionUnavailableWarning")(function* (context) {
|
|
1961
|
+
if (context.compactionUnavailableWarningEmitted) return;
|
|
1962
|
+
context.compactionUnavailableWarningEmitted = true;
|
|
1963
|
+
yield* emitRuntimeWarning(context, "Automatic context compaction is unavailable for this session. Start a new session if the context window fills.");
|
|
1964
|
+
});
|
|
1965
|
+
const maybeEnableAutomaticCompaction = effect.Effect.fn("maybeEnableAutomaticCompaction")(function* (context, usage) {
|
|
1966
|
+
if (context.stopped || sessions.get(context.session.threadId) !== context) return;
|
|
1967
|
+
const decision = observeContextCompaction(context.compactionPolicy, {
|
|
1968
|
+
generation: context.generation,
|
|
1969
|
+
usage
|
|
1970
|
+
});
|
|
1971
|
+
context.compactionPolicy = decision.state;
|
|
1972
|
+
const windowTokens = decision.windowTokens;
|
|
1973
|
+
if (!decision.trigger || windowTokens === void 0) return;
|
|
1974
|
+
const applyFlagSettings = context.query.applyFlagSettings;
|
|
1975
|
+
if (!context.supportsAutomaticCompaction || !applyFlagSettings) {
|
|
1976
|
+
context.compactionPolicy = disableContextCompaction(context.compactionPolicy, context.generation);
|
|
1977
|
+
yield* emitCompactionUnavailableWarning(context);
|
|
1978
|
+
return;
|
|
1979
|
+
}
|
|
1980
|
+
const generation = context.generation;
|
|
1981
|
+
const applied = yield* effect.Effect.tryPromise({
|
|
1982
|
+
try: () => applyFlagSettings.call(context.query, {
|
|
1983
|
+
autoCompactEnabled: true,
|
|
1984
|
+
autoCompactWindow: windowTokens
|
|
1985
|
+
}),
|
|
1986
|
+
catch: () => void 0
|
|
1987
|
+
}).pipe(effect.Effect.as(true), effect.Effect.timeout("3 seconds"), effect.Effect.catch(() => effect.Effect.succeed(false)));
|
|
1988
|
+
if (context.stopped || context.generation !== generation || sessions.get(context.session.threadId) !== context) return;
|
|
1989
|
+
if (!applied) {
|
|
1990
|
+
context.compactionPolicy = disableContextCompaction(context.compactionPolicy, generation);
|
|
1991
|
+
yield* emitCompactionUnavailableWarning(context);
|
|
1992
|
+
}
|
|
1993
|
+
});
|
|
1853
1994
|
const completeTurn = effect.Effect.fn("completeTurn")(function* (context, status, errorMessage, result) {
|
|
1854
1995
|
const resultContextWindow = maxClaudeContextWindowFromModelUsage(result?.modelUsage);
|
|
1855
1996
|
if (resultContextWindow !== void 0) context.lastKnownContextWindow = resultContextWindow;
|
|
@@ -1857,11 +1998,12 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
1857
1998
|
const accumulatedTotalProcessedTokens = accumulatedSnapshot?.totalProcessedTokens ?? accumulatedSnapshot?.usedTokens;
|
|
1858
1999
|
const lastGoodUsage = context.lastKnownTokenUsage;
|
|
1859
2000
|
const maxTokens = resultContextWindow ?? context.lastKnownContextWindow;
|
|
1860
|
-
const
|
|
2001
|
+
const rawUsageSnapshot = lastGoodUsage ? {
|
|
1861
2002
|
...lastGoodUsage,
|
|
1862
2003
|
...typeof maxTokens === "number" && Number.isFinite(maxTokens) && maxTokens > 0 ? { maxTokens } : {},
|
|
1863
2004
|
...typeof accumulatedTotalProcessedTokens === "number" && Number.isFinite(accumulatedTotalProcessedTokens) && accumulatedTotalProcessedTokens > lastGoodUsage.usedTokens ? { totalProcessedTokens: accumulatedTotalProcessedTokens } : {}
|
|
1864
2005
|
} : accumulatedSnapshot;
|
|
2006
|
+
const usageSnapshot = rawUsageSnapshot ? withAutomaticCompactionCapability(rawUsageSnapshot, context.supportsAutomaticCompaction) : void 0;
|
|
1865
2007
|
const turnState = context.turnState;
|
|
1866
2008
|
if (!turnState) {
|
|
1867
2009
|
if (usageSnapshot) {
|
|
@@ -1967,6 +2109,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
1967
2109
|
};
|
|
1968
2110
|
if (context.agentControl) yield* context.agentControl.retireTurn(turnState.turnId);
|
|
1969
2111
|
yield* updateResumeCursor(context);
|
|
2112
|
+
if (status === "completed" && usageSnapshot) yield* maybeEnableAutomaticCompaction(context, usageSnapshot);
|
|
1970
2113
|
});
|
|
1971
2114
|
const handleStreamEvent = effect.Effect.fn("handleStreamEvent")(function* (context, message) {
|
|
1972
2115
|
if (message.type !== "stream_event") return;
|
|
@@ -2037,6 +2180,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2037
2180
|
};
|
|
2038
2181
|
const nextFingerprint = parsedInput && Object.keys(parsedInput).length > 0 ? toolInputFingerprint(parsedInput) : void 0;
|
|
2039
2182
|
context.inFlightTools.set(event.index, nextTool);
|
|
2183
|
+
if (nextTool.itemType === "collab_agent_tool_call" && parsedInput) rememberClaudeSubagentLaunchInput(context, nextTool.itemId, parsedInput);
|
|
2040
2184
|
if (!parsedInput || !nextFingerprint || tool.lastEmittedInputFingerprint === nextFingerprint) return;
|
|
2041
2185
|
nextTool = {
|
|
2042
2186
|
...nextTool,
|
|
@@ -2118,6 +2262,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2118
2262
|
...parentToolUseId ? { parentToolUseId } : {}
|
|
2119
2263
|
};
|
|
2120
2264
|
context.inFlightTools.set(index, tool);
|
|
2265
|
+
if (itemType === "collab_agent_tool_call") rememberClaudeSubagentLaunchInput(context, itemId, toolInput);
|
|
2121
2266
|
const stamp = yield* makeEventStamp();
|
|
2122
2267
|
yield* offerRuntimeEventForContext(context, {
|
|
2123
2268
|
type: "item.started",
|
|
@@ -2285,6 +2430,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2285
2430
|
const snapshotModel = trimmedClaudeString(message.message.model);
|
|
2286
2431
|
const owningAgent = owningTaskId ? context.taskAgents.get(owningTaskId) : void 0;
|
|
2287
2432
|
if (owningAgent && snapshotModel) owningAgent.model = snapshotModel;
|
|
2433
|
+
else if (snapshotModel) rememberClaudeSubagentModel(context, assistantParentToolUseId, snapshotModel);
|
|
2288
2434
|
context.lastAssistantUuid = message.uuid;
|
|
2289
2435
|
yield* updateResumeCursor(context);
|
|
2290
2436
|
return;
|
|
@@ -2507,6 +2653,11 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2507
2653
|
});
|
|
2508
2654
|
return;
|
|
2509
2655
|
case "status":
|
|
2656
|
+
if (message.status === "compacting") context.compactionPolicy = markContextCompactionStarted(context.compactionPolicy, context.generation);
|
|
2657
|
+
else if (message.compact_result === "failed") {
|
|
2658
|
+
context.compactionPolicy = disableContextCompaction(context.compactionPolicy, context.generation);
|
|
2659
|
+
yield* emitCompactionUnavailableWarning(context);
|
|
2660
|
+
} else if (message.compact_result === "success") context.compactionPolicy = settleContextCompaction(context.compactionPolicy, context.generation);
|
|
2510
2661
|
yield* offerRuntimeEventForContext(context, {
|
|
2511
2662
|
...base,
|
|
2512
2663
|
type: "session.state.changed",
|
|
@@ -2518,6 +2669,8 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2518
2669
|
});
|
|
2519
2670
|
return;
|
|
2520
2671
|
case "compact_boundary":
|
|
2672
|
+
context.compactionPolicy = settleContextCompaction(context.compactionPolicy, context.generation);
|
|
2673
|
+
context.lastKnownTokenUsage = void 0;
|
|
2521
2674
|
yield* offerRuntimeEventForContext(context, {
|
|
2522
2675
|
...base,
|
|
2523
2676
|
type: "thread.state.changed",
|
|
@@ -2567,8 +2720,10 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2567
2720
|
case "task_started": {
|
|
2568
2721
|
const launchingTool = message.tool_use_id ? Array.from(context.inFlightTools.values()).find((tool) => tool.itemId === message.tool_use_id) : void 0;
|
|
2569
2722
|
const owningAgentId = launchingTool?.agentId;
|
|
2570
|
-
const launchInput = launchingTool?.input;
|
|
2571
|
-
|
|
2723
|
+
const launchInput = launchingTool?.input ?? (message.tool_use_id ? context.subagentLaunchInputByToolUseId.get(message.tool_use_id) : void 0);
|
|
2724
|
+
if (message.tool_use_id) context.subagentLaunchInputByToolUseId.delete(message.tool_use_id);
|
|
2725
|
+
const model = (message.tool_use_id ? context.subagentModelByToolUseId.get(message.tool_use_id) : void 0) ?? claudeSubagentLaunchModel(launchInput);
|
|
2726
|
+
if (message.tool_use_id) context.subagentModelByToolUseId.delete(message.tool_use_id);
|
|
2572
2727
|
const rawLaunchEffort = launchInput?.effort;
|
|
2573
2728
|
const effort = trimmedClaudeString(rawLaunchEffort) ?? (typeof rawLaunchEffort === "number" && Number.isFinite(rawLaunchEffort) ? String(rawLaunchEffort) : context.currentEffort);
|
|
2574
2729
|
context.taskAgents.set(message.task_id, {
|
|
@@ -2622,7 +2777,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2622
2777
|
eventId: usageStamp.eventId,
|
|
2623
2778
|
createdAt: usageStamp.createdAt,
|
|
2624
2779
|
type: "thread.token-usage.updated",
|
|
2625
|
-
payload: { usage: normalizedUsage }
|
|
2780
|
+
payload: { usage: withAutomaticCompactionCapability(normalizedUsage, context.supportsAutomaticCompaction) }
|
|
2626
2781
|
});
|
|
2627
2782
|
}
|
|
2628
2783
|
}
|
|
@@ -2701,7 +2856,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2701
2856
|
eventId: usageStamp.eventId,
|
|
2702
2857
|
createdAt: usageStamp.createdAt,
|
|
2703
2858
|
type: "thread.token-usage.updated",
|
|
2704
|
-
payload: { usage: normalizedUsage }
|
|
2859
|
+
payload: { usage: withAutomaticCompactionCapability(normalizedUsage, context.supportsAutomaticCompaction) }
|
|
2705
2860
|
});
|
|
2706
2861
|
}
|
|
2707
2862
|
}
|
|
@@ -3315,7 +3470,10 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
3315
3470
|
createdAt: startedAt,
|
|
3316
3471
|
updatedAt: startedAt
|
|
3317
3472
|
};
|
|
3473
|
+
const generation = ++nextSessionGeneration;
|
|
3474
|
+
const supportsAutomaticCompaction = typeof queryRuntime.applyFlagSettings === "function";
|
|
3318
3475
|
const context = {
|
|
3476
|
+
generation,
|
|
3319
3477
|
session,
|
|
3320
3478
|
promptQueue,
|
|
3321
3479
|
query: queryRuntime,
|
|
@@ -3335,6 +3493,8 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
3335
3493
|
inFlightTools,
|
|
3336
3494
|
suppressedSubagentBlocks: /* @__PURE__ */ new Map(),
|
|
3337
3495
|
taskAgents: /* @__PURE__ */ new Map(),
|
|
3496
|
+
subagentLaunchInputByToolUseId: /* @__PURE__ */ new Map(),
|
|
3497
|
+
subagentModelByToolUseId: /* @__PURE__ */ new Map(),
|
|
3338
3498
|
workflowMemberFingerprints: /* @__PURE__ */ new Map(),
|
|
3339
3499
|
workflowPhasesByTaskId: /* @__PURE__ */ new Map(),
|
|
3340
3500
|
liveTaskIds: /* @__PURE__ */ new Set(),
|
|
@@ -3342,6 +3502,9 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
3342
3502
|
turnState: void 0,
|
|
3343
3503
|
lastKnownContextWindow: void 0,
|
|
3344
3504
|
lastKnownTokenUsage: void 0,
|
|
3505
|
+
compactionPolicy: initialContextCompactionPolicyState(generation),
|
|
3506
|
+
supportsAutomaticCompaction,
|
|
3507
|
+
compactionUnavailableWarningEmitted: false,
|
|
3345
3508
|
lastAssistantUuid: resumeState?.resumeSessionAt,
|
|
3346
3509
|
lastThreadStartedId: void 0,
|
|
3347
3510
|
subagentByTaskId: /* @__PURE__ */ new Map(),
|