claude-code-best 2.0.0 → 2.0.2
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/chunks/{AddWorkspaceDirectory-BZKTF-Y_.js → AddWorkspaceDirectory-OelASXV0.js} +3 -3
- package/dist/chunks/{App-CWok2kPq.js → App-DHCPX5wS.js} +5 -5
- package/dist/chunks/ApproveApiKey-Dog6XS1r.js +2 -0
- package/dist/chunks/{ApproveApiKey-BRic9mjr.js → ApproveApiKey-JIPvixSf.js} +2 -2
- package/dist/chunks/{AssistantSessionChooser-Pw4X89-p.js → AssistantSessionChooser-C3XxUpGW.js} +1 -1
- package/dist/chunks/{BackgroundTasksDialog-BLJvBiqi.js → BackgroundTasksDialog-D-frzML1.js} +3 -3
- package/dist/chunks/{BypassPermissionsModeDialog-C4K1iGNr.js → BypassPermissionsModeDialog-6uztWcJK.js} +2 -2
- package/dist/chunks/{ClaudeInChromeOnboarding-BIRQVfo6.js → ClaudeInChromeOnboarding-BHz1ohwF.js} +2 -2
- package/dist/chunks/{ClaudeMdExternalIncludesDialog-qBY8CBaA.js → ClaudeMdExternalIncludesDialog-Di7Tr4Eb.js} +1 -1
- package/dist/chunks/{ClaudeMdExternalIncludesDialog-HY9eAWeD.js → ClaudeMdExternalIncludesDialog-DpuTzsgJ.js} +2 -2
- package/dist/chunks/ConsoleOAuthFlow-BR11akXN.js +3 -0
- package/dist/chunks/{DesktopHandoff-pkEfcGkm.js → DesktopHandoff-B5M4Rrs7.js} +2 -2
- package/dist/chunks/{DevChannelsDialog-BaMAXhHp.js → DevChannelsDialog-CaXlcV8F.js} +1 -1
- package/dist/chunks/{DiffDialog-CeMORDD6.js → DiffDialog-DpSK6owK.js} +3 -3
- package/dist/chunks/{Doctor-Ce9ZkhtK.js → Doctor-0MryRYh8.js} +9 -9
- package/dist/chunks/Doctor-Lfgbjb5l.js +3 -0
- package/dist/chunks/{ExitFlow-Brb6Fg4S.js → ExitFlow-BIX4uCPY.js} +2 -2
- package/dist/chunks/{Feedback-DVEy1D3a.js → Feedback-Dfw1-VyC.js} +3 -3
- package/dist/chunks/Grove-BydCUpNM.js +3 -0
- package/dist/chunks/{Grove-C3UWp26T.js → Grove-Co34fsAn.js} +1 -1
- package/dist/chunks/{HybridTransport-_eXiL1do.js → HybridTransport-BBLokiVR.js} +3 -3
- package/dist/chunks/{ITermBackend-DD208sX_.js → ITermBackend-WCc4UCvr.js} +1 -1
- package/dist/chunks/{InvalidConfigDialog-C0U0hU0H.js → InvalidConfigDialog-3CcPHPwq.js} +2 -2
- package/dist/chunks/{InvalidSettingsDialog-BZ-sUAfq.js → InvalidSettingsDialog-7HJlkN-C.js} +2 -2
- package/dist/chunks/{MCPConnectionManager-BbgOQuEM.js → MCPConnectionManager-EhC6PpDC.js} +3 -3
- package/dist/chunks/{McpParsingWarnings-CAC3CqiF.js → McpParsingWarnings-Do2FS7i7.js} +1 -1
- package/dist/chunks/{MessageSelector-BpXxFTha.js → MessageSelector-B-BVe-1L.js} +8 -8
- package/dist/chunks/{Messages-05jRlgLh.js → Messages-EiFpfyEV.js} +59 -18
- package/dist/chunks/{Onboarding-Dj8Fuzi1.js → Onboarding-Bif1H_ba.js} +7 -7
- package/dist/chunks/{OverageCreditUpsell-EtNT_2py.js → OverageCreditUpsell-C4JWItkJ.js} +2 -2
- package/dist/chunks/{PluginSettings-9E1j-RQ7.js → PluginSettings-CsEyfs1-.js} +12 -12
- package/dist/chunks/{PromptInputFooterSuggestions-8YG5yA1G.js → PromptInputFooterSuggestions-DF9OKRF9.js} +1 -1
- package/dist/chunks/{PromptInputHelpMenu-Lb18lP7G.js → PromptInputHelpMenu-Birhesb3.js} +3 -3
- package/dist/chunks/{QueryEngine-Bhiihq35.js → QueryEngine-EArSCM0L.js} +5 -5
- package/dist/chunks/{REPL-y29sUhQ-.js → REPL-BZaPyPIP.js} +74 -118
- package/dist/chunks/REPL-DkPBaAFa.js +2 -0
- package/dist/chunks/{RemoteCallout-5YIiNYCU.js → RemoteCallout-tWEfb_6D.js} +4 -4
- package/dist/chunks/{RemoteSessionManager-D7TGit5M.js → RemoteSessionManager-Dd9Gc77E.js} +10 -10
- package/dist/chunks/{ResumeConversation-DQFOjZy5.js → ResumeConversation-BxoQN961.js} +6 -7
- package/dist/chunks/{SSETransport-CVmgiWbm.js → SSETransport-DYDYWkGT.js} +2 -2
- package/dist/chunks/{Settings-vYl27aGo.js → Settings-DSXicVPM.js} +14 -14
- package/dist/chunks/{StructuredDiff-CLJO_bww.js → StructuredDiff-BBzP1QHP.js} +1 -1
- package/dist/chunks/{TeleportProgress-Mm_PgvhT.js → TeleportProgress-DFlXysbS.js} +1 -1
- package/dist/chunks/{TeleportRepoMismatchDialog-CwtE4Q6G.js → TeleportRepoMismatchDialog-BVXF27cj.js} +3 -3
- package/dist/chunks/{TeleportResumeWrapper-DcNoSR24.js → TeleportResumeWrapper-DWIhgoM4.js} +2 -2
- package/dist/chunks/{ThemePicker-D5YT139F.js → ThemePicker-kbpCs83J.js} +4 -4
- package/dist/chunks/{TmuxBackend-CRTFMKEZ.js → TmuxBackend-eBhtYST8.js} +1 -1
- package/dist/chunks/ToolSearchTool-CKnk6u4H.js +3 -0
- package/dist/chunks/{TrustDialog-KbxT3q5o.js → TrustDialog-MCe8mlln.js} +4 -4
- package/dist/chunks/{ValidationErrorsList-gHQD1EBL.js → ValidationErrorsList-BFXnvSkw.js} +1 -1
- package/dist/chunks/{WindowsTerminalBackend-C7ZWGW7E.js → WindowsTerminalBackend-D3TCDmgq.js} +1 -1
- package/dist/chunks/{add-dir-CZDWu0ju.js → add-dir-D3-qXYNI.js} +2 -2
- package/dist/chunks/{agentDisplay-CWOBz5Xb.js → agentDisplay-Bi3EESJN.js} +2 -2
- package/dist/chunks/{agents--25dmTiY.js → agents-BZBH1U9i.js} +8 -8
- package/dist/chunks/{agents-DfsbE05S.js → agents-bYC97weD.js} +2 -2
- package/dist/chunks/{ant-B7QH7oC8.js → ant-DyQI4jXQ.js} +2 -2
- package/dist/chunks/{api-BXeLSXPl.js → api-DFXLbk5S.js} +1 -1
- package/dist/chunks/{api-Bz-MOAtY.js → api-DNBGYb0g.js} +1 -1
- package/dist/chunks/asciicast-Pdyn0Qxb.js +2 -0
- package/dist/chunks/{assistant-CGVVuCWP.js → assistant-92AbJcA7.js} +1 -1
- package/dist/chunks/{assistant-CFciyQ06.js → assistant-CbS28snZ.js} +1 -1
- package/dist/chunks/{assistant-B56c_8Vy.js → assistant-DuScKWNA.js} +2 -2
- package/dist/chunks/{auth-D86_nA7S.js → auth-C6J2xSzM.js} +1 -1
- package/dist/chunks/auth-DYVwPvQv.js +3 -0
- package/dist/chunks/{autoMode-Y935eDPH.js → autoMode-DV0SX-86.js} +3 -3
- package/dist/chunks/{autonomy-B80m_shf.js → autonomy-4tFnozxY.js} +1 -1
- package/dist/chunks/{autonomy-DAAefijm.js → autonomy-CbO_EF6F.js} +4 -4
- package/dist/chunks/{autonomyPanel-doRw0BcU.js → autonomyPanel-S7XHeSof.js} +2 -2
- package/dist/chunks/{backgroundHousekeeping-CxzWkqpl.js → backgroundHousekeeping-D5Hocwme.js} +6 -6
- package/dist/chunks/{backgroundHousekeeping-C6AXSjUU.js → backgroundHousekeeping-WDGrTWkV.js} +1 -1
- package/dist/chunks/{branch-Bjbv7CjS.js → branch-Br-k7uvD.js} +2 -2
- package/dist/chunks/{bridge-tBS03kXL.js → bridge-BEVOcq6b.js} +7 -7
- package/dist/chunks/{bridgeConfig-C_nebsTP.js → bridgeConfig-B-QT2YK9.js} +1 -1
- package/dist/chunks/{bridgeConfig-SeIIqoYR.js → bridgeConfig-B46S5gM8.js} +1 -1
- package/dist/chunks/{bridgeEnabled-CdLr6LEI.js → bridgeEnabled-B9LKHzOj.js} +1 -1
- package/dist/chunks/{bridgeEnabled-C7XUt0dF.js → bridgeEnabled-DFVc9nDZ.js} +2 -2
- package/dist/chunks/bridgeMain-BdScrMmf.js +2 -0
- package/dist/chunks/{bridgeMain-BqQUg-1U.js → bridgeMain-CcEAblTE.js} +22 -22
- package/dist/chunks/{bridgeMessaging-CzyttFaM.js → bridgeMessaging-CGSFTEyG.js} +1 -1
- package/dist/chunks/{btw-DOskdUI-.js → btw-CgprdMl4.js} +5 -5
- package/dist/chunks/{buddy-DOYagBtP.js → buddy-EwSaWqf5.js} +3 -3
- package/dist/chunks/{bypassPermissionsKillswitch-CNoE7yG5.js → bypassPermissionsKillswitch-DP1rV2pu.js} +1 -1
- package/dist/chunks/{caches-BxvmhEdy.js → caches-BR1xUsZd.js} +1 -1
- package/dist/chunks/{caches-BfAG7OAu.js → caches-D056OWvD.js} +8 -8
- package/dist/chunks/{ccrClient-BTkalylc.js → ccrClient-CVYlbn3x.js} +2 -2
- package/dist/chunks/changeDetector-BRvWRr3-.js +3 -0
- package/dist/chunks/{channelNotification-5W-VmfFY.js → channelNotification-DX5mqy2c.js} +1 -1
- package/dist/chunks/{channelNotification-uTRw9JeV.js → channelNotification-dD-Y8Tmh.js} +2 -2
- package/dist/chunks/{chrome-Dw0yasoe.js → chrome-BqD7QkN-.js} +3 -3
- package/dist/chunks/{clear-D6qhu2sI.js → clear-G_r5cQ-4.js} +1 -1
- package/dist/chunks/{client-eqP6VE8L.js → client-IVNmZ5FP.js} +1 -1
- package/dist/chunks/{color-BRUxDHBy.js → color-CU67WKjy.js} +1 -1
- package/dist/chunks/{commands-B9wtmCpw.js → commands-BhozYHjY.js} +1 -1
- package/dist/chunks/{commitAttribution-DhS_bgpw.js → commitAttribution-BnzVTBHB.js} +1 -1
- package/dist/chunks/{commitAttribution-Dss835Tx.js → commitAttribution-CYd5gxMb.js} +1 -1
- package/dist/chunks/{compact-DsShVesJ.js → compact-BTP1wyPw.js} +1 -1
- package/dist/chunks/{companion-BM7lvaXq.js → companion-NqFBz4Gn.js} +1 -1
- package/dist/chunks/{config-DwbZqXTa.js → config-CFlk6Cg4.js} +1 -1
- package/dist/chunks/{config-B3JtdkfQ.js → config-D6u3RFjn.js} +1 -1
- package/dist/chunks/{context-DVo9JzU2.js → context-DmqiiVcv.js} +5 -50
- package/dist/chunks/{context-noninteractive-CutK4SDU.js → context-noninteractive-D7gW_IV-.js} +3 -26
- package/dist/chunks/{context-noninteractive-DTHV8qnu.js → context-noninteractive-Mmynfb7O.js} +1 -1
- package/dist/chunks/{conversation-D4NNA618.js → conversation-KSybnTMM.js} +4 -4
- package/dist/chunks/{conversation-B61DnWZ5.js → conversation-O9TbhW4Q.js} +1 -1
- package/dist/chunks/{copy-DF7cwEtz.js → copy-8yUrE8Tg.js} +2 -2
- package/dist/chunks/{cost-D21f8Gx3.js → cost-DIB26Rz9.js} +2 -2
- package/dist/chunks/{createSSHSession-D2bKQ6-R.js → createSSHSession-DupnjNt4.js} +1 -1
- package/dist/chunks/{createSession-BwUrYIjs.js → createSession-BBtq254v.js} +17 -17
- package/dist/chunks/{createSession-DFPTe-XS.js → createSession-N2hh9AM3.js} +1 -1
- package/dist/chunks/{cronJitterConfig-By8pO1Sx.js → cronJitterConfig-C2L8dGcO.js} +3 -3
- package/dist/chunks/{crossProjectResume-CJhx13SR.js → crossProjectResume-UE68JCXY.js} +7 -7
- package/dist/chunks/{daemon-BmdEYMbz.js → daemon-BNju3-MN.js} +1 -1
- package/dist/chunks/{datadog-CNwa8WqY.js → datadog-BhrDM2tJ.js} +1 -1
- package/dist/chunks/{datadog-Bh21J2XA.js → datadog-DFgxsU0k.js} +1 -1
- package/dist/chunks/{desktop-gkbQxmAc.js → desktop-Bg7AAKnq.js} +1 -1
- package/dist/chunks/{diff-CUvk-35s.js → diff-BamqHMBP.js} +1 -1
- package/dist/chunks/{doctor-ByEx_KEa.js → doctor-CtRKnYDQ.js} +1 -1
- package/dist/chunks/earlyInput-BftZrI0-.js +2 -0
- package/dist/chunks/{effort-DwcpK-M5.js → effort-523cKDCF.js} +3 -3
- package/dist/chunks/{entry-DlL5SJEe.js → entry-BVLSXQA9.js} +3 -3
- package/dist/chunks/{envLessBridgeConfig-B0adhqTh.js → envLessBridgeConfig-B1uOFmCX.js} +1 -1
- package/dist/chunks/{envLessBridgeConfig-CUqQgLBm.js → envLessBridgeConfig-Cru24oNL.js} +2 -2
- package/dist/chunks/{exit-sEScbIqF.js → exit-ufWUQWOM.js} +3 -3
- package/dist/chunks/{export-BXfslJKH.js → export-UvKmz536.js} +2 -2
- package/dist/chunks/{exportRenderer-db5crbuf.js → exportRenderer-C8pIfkUv.js} +3 -3
- package/dist/chunks/{extra-usage-DdYvD3vM.js → extra-usage-D96QLwGj.js} +2 -2
- package/dist/chunks/{extra-usage-Doa2MdUT.js → extra-usage-DsFGL41p.js} +1 -1
- package/dist/chunks/{extra-usage-core-C41eTJeN.js → extra-usage-core-B3lPDnGe.js} +4 -4
- package/dist/chunks/{extra-usage-noninteractive-CKAm_ocz.js → extra-usage-noninteractive-B41fq9zh.js} +1 -1
- package/dist/chunks/{extraUsage-B0C9fG5F.js → extraUsage-LRIlM01Y.js} +3 -3
- package/dist/chunks/{fast-Dnlha4an.js → fast-CZiASaAz.js} +2 -2
- package/dist/chunks/{fast-DRG-jWtl.js → fast-DCmagq8g.js} +1 -1
- package/dist/chunks/{feedback-CAF-W8Br.js → feedback-s3WKREOB.js} +1 -1
- package/dist/chunks/{firstPartyEventLogger-BDHJgJza.js → firstPartyEventLogger-DryCB7KW.js} +1 -1
- package/dist/chunks/{flushGate-B9Ne9TiF.js → flushGate-C-Q-5cEp.js} +3 -3
- package/dist/chunks/{gates-DPSyvVDV.js → gates-By3crVgZ.js} +1 -1
- package/dist/chunks/{gates-BFLQknmW.js → gates-DPxQAHAt.js} +1 -1
- package/dist/chunks/{gemini-iKdmRRGT.js → gemini-BNQNzLJt.js} +3 -3
- package/dist/chunks/{generateSessionName-Cp7N2iUz.js → generateSessionName-Ba4PXfCm.js} +3 -3
- package/dist/chunks/{githubRepoPathMapping-D73MJ9KI.js → githubRepoPathMapping-ux39R8RO.js} +1 -1
- package/dist/chunks/{grok-BhKHdF8R.js → grok-Bnjem3t-.js} +4 -4
- package/dist/chunks/{growthbook-DEYAaqxC.js → growthbook-nJO28cZ2.js} +1 -1
- package/dist/chunks/{heapdump-B-99rJFL.js → heapdump-oC_DSj20.js} +1 -1
- package/dist/chunks/{help-DdzmWppd.js → help-DlPeXNWt.js} +4 -4
- package/dist/chunks/{hooks-6fCARSjr.js → hooks-BQK2ima6.js} +2 -2
- package/dist/chunks/{hooks-fMixfLBL.js → hooks-DBBV4hRG.js} +1 -1
- package/dist/chunks/{hostAdapter-M9e74b_-.js → hostAdapter-DQBU6TpX.js} +1 -1
- package/dist/chunks/{ide-DuTmNR8D.js → ide-CCOu-jYJ.js} +2 -2
- package/dist/chunks/inboundAttachments-B95rorRn.js +2 -0
- package/dist/chunks/{inboundAttachments-64eQ104N.js → inboundAttachments-BIpuKpld.js} +1 -1
- package/dist/chunks/{initReplBridge-DHusoeAC.js → initReplBridge-BsOuFyzr.js} +16 -16
- package/dist/chunks/{insights-CQvql4k3.js → insights-DxgLK8pZ.js} +4 -4
- package/dist/chunks/{install-CTwMvyjb.js → install-BYTESi3H.js} +2 -2
- package/dist/chunks/{install-github-app-BeynGcAU.js → install-github-app-BXGoIbuH.js} +3 -3
- package/dist/chunks/{install-slack-app-79wJZqgC.js → install-slack-app-CTY4P_zi.js} +1 -1
- package/dist/chunks/{instrumentation-CPIJyj9m.js → instrumentation-LduG_r7c.js} +2 -2
- package/dist/chunks/{job-DZyek3mx.js → job-Bt4HmD4d.js} +1 -1
- package/dist/chunks/{keybindings-D5BMLXTN.js → keybindings-ClAnum6u.js} +2 -2
- package/dist/chunks/{lang-BckQY1o1.js → lang-BLhCHp6V.js} +2 -2
- package/dist/chunks/{language-BKQJGhZc.js → language-BfuR7CQb.js} +1 -1
- package/dist/chunks/{loadAgentsDir-CETiKpAP.js → loadAgentsDir-CqGa3M1J.js} +478 -482
- package/dist/chunks/{loadAgentsDir-DDtsnZUV.js → loadAgentsDir-DIJ9Tfao.js} +1 -1
- package/dist/chunks/loadPluginHooks-BUxSryb3.js +3 -0
- package/dist/chunks/{localSearch-Bjc8CfXi.js → localSearch-BRaFBRz1.js} +1 -1
- package/dist/chunks/{login-DUsBo86A.js → login-BYBV03DK.js} +1 -1
- package/dist/chunks/{login-DyCVEFNM.js → login-Cdfp_Qyr.js} +5 -5
- package/dist/chunks/{logoV2Utils-BYEaxaav.js → logoV2Utils-RBtVYTdV.js} +3 -3
- package/dist/chunks/logout-CWfsVYFz.js +3 -0
- package/dist/chunks/{magicDocs-BJhS4hll.js → magicDocs-DpfiAtrI.js} +2 -2
- package/dist/chunks/{main-CFwwlPjq.js → main-DDQb7E8h.js} +127 -127
- package/dist/chunks/{mappers-CrQCBZSk.js → mappers-DsArdtg5.js} +1 -1
- package/dist/chunks/{mcp-CTftgWrY.js → mcp-CUYiB8jm.js} +2 -2
- package/dist/chunks/{mcp-BCWSzvZm.js → mcp-DeSp8OaA.js} +6 -6
- package/dist/chunks/{mcp-CYWJstT-.js → mcp-PH2SA40v.js} +5 -5
- package/dist/chunks/{mcpServer-Droewq6m.js → mcpServer-DsNA51AS.js} +4 -4
- package/dist/chunks/{mcpServer-B5vWes-4.js → mcpServer-ghUw8jDG.js} +5 -5
- package/dist/chunks/{memory-BJtu5-Up.js → memory-C6bAy58g.js} +4 -4
- package/dist/chunks/{model-zjx6EO8I.js → model-BO4v0Eg1.js} +1 -1
- package/dist/chunks/{model-BgJ22cOa.js → model-cbhA7UxF.js} +3 -3
- package/dist/chunks/{onChangeAppState-D0ins2qz.js → onChangeAppState-CekgeU-Y.js} +3 -3
- package/dist/chunks/{openai-9PVVXfIH.js → openai-lAn9QAwi.js} +5 -5
- package/dist/chunks/{overageCreditGrant-BBCXH9Qk.js → overageCreditGrant-CYp1xcX5.js} +2 -2
- package/dist/chunks/{passes-C7aqZ9v9.js → passes-D6aBRvwr.js} +2 -2
- package/dist/chunks/{paths-SJoaKf9-.js → paths-D_9utrBY.js} +2 -2
- package/dist/chunks/{permissions-DtFKh7Wb.js → permissions-Ya82mWiD.js} +8 -8
- package/dist/chunks/{pipeTransport-DL8IK-O-.js → pipeTransport-DuOi40xZ.js} +1 -1
- package/dist/chunks/{plan-Bk6yAuow.js → plan-DnlZ19uW.js} +3 -3
- package/dist/chunks/{plugin-CPCKCH3E.js → plugin-Cnri7FhJ.js} +1 -1
- package/dist/chunks/{pluginAutoupdate-xLr0GPuV.js → pluginAutoupdate-BI5H9OgG.js} +4 -4
- package/dist/chunks/{pluginBlocklist-ClIK43-Z.js → pluginBlocklist-C2c8JDO3.js} +3 -3
- package/dist/chunks/{pluginCliCommands-iYl5EmW5.js → pluginCliCommands-BK2jUo_s.js} +3 -3
- package/dist/chunks/{pluginFlagging-CNQ6OTzc.js → pluginFlagging-CBJ-VjUW.js} +1 -1
- package/dist/chunks/{pluginOperations-B3pl1B3y.js → pluginOperations-DJtmvjo_.js} +4 -4
- package/dist/chunks/{pluginStartupCheck-BL-ZCRyZ.js → pluginStartupCheck-Cvuak-n_.js} +1 -1
- package/dist/chunks/{pluginStartupCheck-C70D5gr0.js → pluginStartupCheck-DfiZh-ni.js} +3 -3
- package/dist/chunks/{plugins-DWlf-J1O.js → plugins-BQf4_NRB.js} +7 -7
- package/dist/chunks/{policyLimits-DUgh9exT.js → policyLimits-DumDFz7O.js} +1 -1
- package/dist/chunks/{pollConfig-CL3jOIzt.js → pollConfig-JwJu2eWe.js} +1 -1
- package/dist/chunks/{poor-Dmdapk1Z.js → poor-D35T98zO.js} +1 -1
- package/dist/chunks/{poorMode-CMlGIkbn.js → poorMode-BI3UF-g8.js} +1 -1
- package/dist/chunks/{poorMode-DYm_Heeq.js → poorMode-DHjbPOWN.js} +1 -1
- package/dist/chunks/{print-B4AGZS6B.js → print-D3iEimrp.js} +27 -27
- package/dist/chunks/{privacy-settings-DgMvzrw9.js → privacy-settings-CsPlCiWX.js} +2 -2
- package/dist/chunks/{processBashCommand-B1O9KWlW.js → processBashCommand-BPZf6Js-.js} +3 -3
- package/dist/chunks/{processSlashCommand-Buesrq5I.js → processSlashCommand-BZgqDzBb.js} +4 -4
- package/dist/chunks/{projectContext-DkUGstpp.js → projectContext-DNY1DRFe.js} +1 -1
- package/dist/chunks/{prompt-BQYKqDAQ.js → prompt-B4melkMz.js} +1 -1
- package/dist/chunks/{prompt-Ynh5UHjm.js → prompt-CTaaBqVT.js} +1 -1
- package/dist/chunks/prompt-RqHjo3ng.js +3 -0
- package/dist/chunks/{promptEditor-DfM__rKq.js → promptEditor-DMYczDam.js} +1 -1
- package/dist/chunks/{protocolHandler-BsXeTPpp.js → protocolHandler-DdlchnmS.js} +4 -4
- package/dist/chunks/{rate-limit-options-CN7rSiZf.js → rate-limit-options-B_FSTFKa.js} +4 -4
- package/dist/chunks/{rcDebugLog-CCSQt5fF.js → rcDebugLog-uUY3fB7h.js} +4 -4
- package/dist/chunks/{referral-0Il1Xu1u.js → referral-BjcmUDXS.js} +2 -2
- package/dist/chunks/{refresh-CLRgl7V0.js → refresh-xfkSR48K.js} +1 -1
- package/dist/chunks/{registerProtocol-CyUUVKwf.js → registerProtocol-iJZm4qzH.js} +2 -2
- package/dist/chunks/registry-BfbUbGom.js +3 -0
- package/dist/chunks/{release-notes-DsjKrz42.js → release-notes-Dq9sj5fL.js} +1 -1
- package/dist/chunks/{releaseNotes-B6dZzWIo.js → releaseNotes-BSVzrBOC.js} +1 -1
- package/dist/chunks/{reload-plugins-BCnKXIp1.js → reload-plugins-CL3a4Qj2.js} +4 -4
- package/dist/chunks/{remote-env-CpQp10mY.js → remote-env-DkJeCQL8.js} +2 -2
- package/dist/chunks/{remoteBridgeCore-eyK740k_.js → remoteBridgeCore-DM6rr11i.js} +6 -6
- package/dist/chunks/{remoteControlServer-DcWIABv5.js → remoteControlServer-C-McEpFh.js} +3 -3
- package/dist/chunks/{rename-CQC5xoqF.js → rename-CySWEHZS.js} +4 -4
- package/dist/chunks/{resume-B2Hzit_w.js → resume-CeeDVj4h.js} +3 -3
- package/dist/chunks/{runtimeObserver-CXaXJ06T.js → runtimeObserver-B-5Ism5c.js} +7 -7
- package/dist/chunks/{runtimeObserver-CpGXZQ1_.js → runtimeObserver-mnfo7Hct.js} +1 -1
- package/dist/chunks/sandbox-adapter-COVCYISQ.js +3 -0
- package/dist/chunks/{sandbox-toggle-DmqHinDC.js → sandbox-toggle-lAEd5cPT.js} +2 -2
- package/dist/chunks/{session-D14R1jnE.js → session-B8yXB02b.js} +1 -1
- package/dist/chunks/{sessionDiscovery-26NxQq0W.js → sessionDiscovery-CljZ7aSG.js} +1 -1
- package/dist/chunks/sessionFileAccessHooks-DSoQgTNe.js +3 -0
- package/dist/chunks/{sessionMemory-DyIoPg4m.js → sessionMemory-vzXLTSL_.js} +4 -4
- package/dist/chunks/{sessionMemory-Dl7PT6Bc.js → sessionMemory-y9CgnQ79.js} +1 -1
- package/dist/chunks/sessionMemoryUtils-Ozc3FONI.js +3 -0
- package/dist/chunks/{sessionObserver-BDY2gyj0.js → sessionObserver-DJ4B8fiu.js} +1 -1
- package/dist/chunks/{sessionObserver-kJKBajRB.js → sessionObserver-DjdPYAWC.js} +3 -3
- package/dist/chunks/{sessionStorage-CTOWoLYQ.js → sessionStorage-CeEapMZ8.js} +1 -1
- package/dist/chunks/{sessionTitle-CSeUp996.js → sessionTitle-CGbTsv0a.js} +2 -2
- package/dist/chunks/{sessionTracing-ed91rMJQ.js → sessionTracing-rs6drDih.js} +1 -1
- package/dist/chunks/{settingsSync-Bwg2MidK.js → settingsSync-CvmxA9OA.js} +2 -2
- package/dist/chunks/{setup-wI99yylW.js → setup-BpNwdyK1.js} +13 -15
- package/dist/chunks/{setup-BPWavjnn.js → setup-CcSg9kvz.js} +1 -1
- package/dist/chunks/{setup-Bbnao3S5.js → setup-rBEav7DF.js} +2 -2
- package/dist/chunks/{shadowedRuleDetection-DLi8TYpG.js → shadowedRuleDetection-DXuLG14d.js} +1 -1
- package/dist/chunks/{sideQuestion-CHABZqfl.js → sideQuestion-DktN6DIF.js} +2 -2
- package/dist/chunks/{sink-C_f87ccQ.js → sink--pkvZFUg.js} +2 -2
- package/dist/chunks/{sink-rMmbZ8RL.js → sink-BVwXoWk9.js} +1 -1
- package/dist/chunks/sinks-BJSnNkHV.js +2 -0
- package/dist/chunks/{sinks-DDSqKR5q.js → sinks-BxUC3yE1.js} +1 -1
- package/dist/chunks/{skill-learning-DqdiZ6Qb.js → skill-learning-CUy1MVk1.js} +5 -5
- package/dist/chunks/{skillChangeDetector-CNJVrv1Y.js → skillChangeDetector-BpRnt2M7.js} +6 -16
- package/dist/chunks/skillLearning-BDYADXW1.js +9 -0
- package/dist/chunks/{skillLearning-DXaNR6bz.js → skillLearning-CdQq_6oX.js} +6 -6
- package/dist/chunks/{skillPanel-CM5FuymN.js → skillPanel-DG0PyCEG.js} +4 -4
- package/dist/chunks/{skillSearchPanel-C_rAD-74.js → skillSearchPanel-DPxjJ6o7.js} +2 -2
- package/dist/chunks/{skills-Kp74b-rF.js → skills-CdJlJQW-.js} +2 -2
- package/dist/chunks/{sprites-S7adKhhS.js → sprites-CWHsq4jV.js} +1 -1
- package/dist/chunks/{stats-CuuXkLj0.js → stats-CGXSmmz4.js} +1 -1
- package/dist/chunks/{stats-CEqr1WuI.js → stats-Co5SO5h_.js} +2 -2
- package/dist/chunks/{status-n8D7igwb.js → status-CjtNxweQ.js} +1 -1
- package/dist/chunks/{statusNoticeHelpers-DGHIRwPr.js → statusNoticeHelpers-DVQS68JW.js} +1 -1
- package/dist/chunks/{tag-DBzg5Y1Y.js → tag-Dy6IPbTJ.js} +2 -2
- package/dist/chunks/{tasks-Di9_GdxY.js → tasks-B_a-4VRW.js} +1 -1
- package/dist/chunks/{teamHelpers-CUCi60jF.js → teamHelpers-B7WQDvem.js} +1 -1
- package/dist/chunks/{teamHelpers-BBF_7xAm.js → teamHelpers-DlnBvpd1.js} +1 -1
- package/dist/chunks/{teammateModeSnapshot-e2wPfdd9.js → teammateModeSnapshot-DLGX8Eub.js} +1 -1
- package/dist/chunks/{teammateModeSnapshot-ow8T8agh.js → teammateModeSnapshot-IhZoL1yZ.js} +1 -1
- package/dist/chunks/teleport-BG6CZEek.js +3 -0
- package/dist/chunks/{templateJobs-xcXYv5zC.js → templateJobs-BpCCzQ-E.js} +1 -1
- package/dist/chunks/{terminalSetup-CIasJCVm.js → terminalSetup-D03rfQsi.js} +1 -1
- package/dist/chunks/{terminalSetup-BHusON4o.js → terminalSetup-DonvykBb.js} +1 -1
- package/dist/chunks/{theme-DlxlYUHA.js → theme-DXL-FyOp.js} +1 -1
- package/dist/chunks/{thinkback-CZOt0v2g.js → thinkback-BmnZEaqj.js} +1 -1
- package/dist/chunks/{thinkback-BJfsUxUJ.js → thinkback-DHBE2w8U.js} +4 -4
- package/dist/chunks/{thinkback-play-DX1xhgED.js → thinkback-play-COpfw3qN.js} +2 -2
- package/dist/chunks/{toolEventObserver-pDvkp8EX.js → toolEventObserver-BUzq9iBD.js} +1 -1
- package/dist/chunks/{toolEventObserver-DJvoHrOq.js → toolEventObserver-DAMkVMd1.js} +3 -3
- package/dist/chunks/{toolPool-B7sRJjye.js → toolPool-COxvpPSw.js} +2 -2
- package/dist/chunks/toolSearch-DMY6JrRd.js +3 -0
- package/dist/chunks/{trustedDevice-DBu10wE4.js → trustedDevice-Bbuc-ZPT.js} +1 -1
- package/dist/chunks/{trustedDevice-yzYGkNtt.js → trustedDevice-CJWnStwv.js} +1 -1
- package/dist/chunks/{ultrareviewCommand-Cf0-5GPZ.js → ultrareviewCommand-DdesSC0b.js} +4 -4
- package/dist/chunks/{undercover-CM0F1yU4.js → undercover-B5VxCIEw.js} +2 -2
- package/dist/chunks/{undercover-BYDhePtt.js → undercover-CKQUOcWv.js} +1 -1
- package/dist/chunks/{updateCCB-BvbSwonb.js → updateCCB-BZwsUgzy.js} +1 -1
- package/dist/chunks/upgrade-B0kA1aXO.js +3 -0
- package/dist/chunks/{upgrade-BRePzsIf.js → upgrade-If0pG_Vj.js} +2 -2
- package/dist/chunks/{upload-DOZzf9KT.js → upload-wXw31qT5.js} +1 -1
- package/dist/chunks/{usage-CLKLG2Mf.js → usage-CJ9ETfh_.js} +1 -1
- package/dist/chunks/{usage-CpwK_C7u.js → usage-mtVK0VzA.js} +1 -1
- package/dist/chunks/{useMainLoopModel-BpzkXsIS.js → useMainLoopModel-B56JUYDK.js} +2 -2
- package/dist/chunks/{useManagePlugins-DVlttePt.js → useManagePlugins-B8GkWEQX.js} +3 -3
- package/dist/chunks/{useMergedTools-DckCqzvZ.js → useMergedTools-oFdXXPd9.js} +2 -2
- package/dist/chunks/{useSearchInput-BOfpqfqQ.js → useSearchInput-DR3F39aV.js} +1 -1
- package/dist/chunks/{useSettingsErrors-9DVMwVlI.js → useSettingsErrors-Dr19GvCh.js} +1 -1
- package/dist/chunks/{useVoice-B1z_ij8D.js → useVoice-DVKGuygD.js} +5 -5
- package/dist/chunks/{util-Caw1yZhK.js → util-BTtTxzMr.js} +9 -9
- package/dist/chunks/utils-li8IjbxH.js +3 -0
- package/dist/chunks/{validatePlugin-ClVA2uRk.js → validatePlugin-BActBLjg.js} +2 -2
- package/dist/chunks/{vim-fzEHp0nT.js → vim-mj03g8hF.js} +1 -1
- package/dist/chunks/{voice-CLiwfTTN.js → voice-ma4rPlFs.js} +7 -7
- package/dist/chunks/{voiceModeEnabled-DeHi11Ea.js → voiceModeEnabled-Dwb5wUDV.js} +1 -1
- package/dist/chunks/{voiceModeEnabled-DttRpcou.js → voiceModeEnabled-UkDTtKlk.js} +1 -1
- package/dist/chunks/{voiceStreamSTT-DgogRnjs.js → voiceStreamSTT-CggSIwAK.js} +1 -1
- package/dist/chunks/{voiceStreamSTT-D70xVejN.js → voiceStreamSTT-XLFvAUJH.js} +1 -1
- package/dist/chunks/{workerRegistry-Dbw1hjNo.js → workerRegistry-BpegU0Q-.js} +2 -2
- package/dist/chunks/{worktree-dBYOvoG7.js → worktree-BmMH78xN.js} +1 -1
- package/dist/chunks/{xml-Z2ZcQZo_.js → xml-BwakJYzY.js} +1 -1
- package/dist/cli.js +30 -30
- package/package.json +1 -1
- package/dist/chunks/ApproveApiKey-DWmmpjMj.js +0 -2
- package/dist/chunks/ConsoleOAuthFlow-Cv0zT7Cm.js +0 -3
- package/dist/chunks/Doctor-O0W6LBji.js +0 -3
- package/dist/chunks/Grove-DbBbTz2v.js +0 -3
- package/dist/chunks/REPL-C9vGOz23.js +0 -2
- package/dist/chunks/ToolSearchTool-DRtjtR0V.js +0 -3
- package/dist/chunks/asciicast-4SWYn9NP.js +0 -2
- package/dist/chunks/auth-DvX5r0dm.js +0 -3
- package/dist/chunks/bridgeMain-DgA3o6TD.js +0 -2
- package/dist/chunks/changeDetector-DXY11OHt.js +0 -3
- package/dist/chunks/earlyInput-B4qwbmO4.js +0 -2
- package/dist/chunks/inboundAttachments-B6H1_RJq.js +0 -2
- package/dist/chunks/loadPluginHooks-Bum5kOWr.js +0 -3
- package/dist/chunks/logout-D6kUTUDg.js +0 -3
- package/dist/chunks/operations-BIqqRAwr.js +0 -9
- package/dist/chunks/prompt-CLeeoH1Z.js +0 -3
- package/dist/chunks/registry-BbDEbiqo.js +0 -3
- package/dist/chunks/sandbox-adapter-CWjIe5AV.js +0 -3
- package/dist/chunks/sessionFileAccessHooks-BzRAK_vW.js +0 -3
- package/dist/chunks/sessionMemoryUtils-DQh59-f-.js +0 -3
- package/dist/chunks/sinks-bz46Gav-.js +0 -2
- package/dist/chunks/skillLearning-ahlUk7_B.js +0 -9
- package/dist/chunks/teleport-C5uCWjBO.js +0 -3
- package/dist/chunks/toolSearch-DD2Yj_bk.js +0 -3
- package/dist/chunks/upgrade-DEAIAcSs.js +0 -3
- package/dist/chunks/utils-BSV3dlY8.js +0 -3
- /package/dist/chunks/{InProcessTransport-6JALcVq6.js → InProcessTransport-BOU2u8NP.js} +0 -0
- /package/dist/chunks/{PermissionDialog-BuP8Y9RB.js → PermissionDialog-CMvqFJ-6.js} +0 -0
- /package/dist/chunks/{PressEnterToContinue-CJeKlwdP.js → PressEnterToContinue-BR2S0pcE.js} +0 -0
- /package/dist/chunks/{SearchBox-B0F93W8U.js → SearchBox-CdOPG6Wj.js} +0 -0
- /package/dist/chunks/{asciicast-CVju0B-w.js → asciicast-BZutOfgV.js} +0 -0
- /package/dist/chunks/{attributionHooks-Db6gPoLR.js → attributionHooks-BPD8e_0x.js} +0 -0
- /package/dist/chunks/{attributionTrailer-X07Fsqxt.js → attributionTrailer-C689It3-.js} +0 -0
- /package/dist/chunks/{autoModeDenials-DdF3CTvq.js → autoModeDenials-DNToULEV.js} +0 -0
- /package/dist/chunks/{banner-dyTyUphm.js → banner-RnXH4ihy.js} +0 -0
- /package/dist/chunks/{bedrockClient-CGli3jhJ.js → bedrockClient-vDs0o9cM.js} +0 -0
- /package/dist/chunks/{ccshareResume-F7gbf_Vc.js → ccshareResume-CP9kQpQJ.js} +0 -0
- /package/dist/chunks/{chromeNativeHost-DvBPEAma.js → chromeNativeHost-Cr86WoC9.js} +0 -0
- /package/dist/chunks/{claudeDesktop-ClvZD-_6.js → claudeDesktop-DWfir_EZ.js} +0 -0
- /package/dist/chunks/{cleanup-C1JfsjLS.js → cleanup-BUHn36Wl.js} +0 -0
- /package/dist/chunks/{connectHeadless-BYS9s18s.js → connectHeadless-efLJwNrU.js} +0 -0
- /package/dist/chunks/{dangerousBackend-DWMykend.js → dangerousBackend-BIoB4MyT.js} +0 -0
- /package/dist/chunks/{directoryCompletion-C4Tryr2H.js → directoryCompletion-zgcLDRMx.js} +0 -0
- /package/dist/chunks/{earlyInput-CVscyeI-.js → earlyInput-Cizm5EiE.js} +0 -0
- /package/dist/chunks/{eventLoopStallDetector-B8Eb9aMU.js → eventLoopStallDetector-DQgiLdv8.js} +0 -0
- /package/dist/chunks/{files-1GB-jTK_.js → files-D-XG-cRK.js} +0 -0
- /package/dist/chunks/{fpsMetrics-CneikCCt.js → fpsMetrics-DSicOWA9.js} +0 -0
- /package/dist/chunks/{fuse-Dm3MEJje.js → fuse-BjoUuWBB.js} +0 -0
- /package/dist/chunks/{localSearch-Bl1Gfzxl.js → localSearch-CVtzFKqK.js} +0 -0
- /package/dist/chunks/{lockfile-DSmPJahW.js → lockfile-BTCBIUYo.js} +0 -0
- /package/dist/chunks/{main-DODFq8CV.js → main-VuNhUhs5.js} +0 -0
- /package/dist/chunks/{mobile-E7W_ML5g.js → mobile-CCuhu7vo.js} +0 -0
- /package/dist/chunks/{modalContext-DlWjjWuf.js → modalContext-NfyioJt2.js} +0 -0
- /package/dist/chunks/{observationStore-owK16rXY.js → observationStore-DAGF8oYJ.js} +0 -0
- /package/dist/chunks/{openai-CkaVBioU.js → openai-gd8DADA7.js} +0 -0
- /package/dist/chunks/{output-style-BTeUPWcD.js → output-style-y-rFGrYN.js} +0 -0
- /package/dist/chunks/{parseConnectUrl-Bm9kAgHg.js → parseConnectUrl-AwLDGrsn.js} +0 -0
- /package/dist/chunks/{poller-DZON_sHM.js → poller-Dy1_ajyc.js} +0 -0
- /package/dist/chunks/{postCommitAttribution-BLt6mWtK.js → postCommitAttribution-CXGU0xtF.js} +0 -0
- /package/dist/chunks/{projectContext-C5BGyl2-.js → projectContext-D54E9vbI.js} +0 -0
- /package/dist/chunks/{renderOptions-DFuY62O6.js → renderOptions-f1UEDbTU.js} +0 -0
- /package/dist/chunks/{rewind-DsEwdx9b.js → rewind--aiBfd91.js} +0 -0
- /package/dist/chunks/{rollback-dXt5v2x8.js → rollback-BECijNaN.js} +0 -0
- /package/dist/chunks/{sanitization-CCxsw6kQ.js → sanitization-BtSrXxrY.js} +0 -0
- /package/dist/chunks/{sdkHeapDumpMonitor-BnZYAIqm.js → sdkHeapDumpMonitor-DdLhQH8l.js} +0 -0
- /package/dist/chunks/{server-D13HDjtP.js → server-UeOOayMG.js} +0 -0
- /package/dist/chunks/{serverBanner-13_bsM6L.js → serverBanner-C_-23fId.js} +0 -0
- /package/dist/chunks/{serverLog-D66Cr-9f.js → serverLog-D8TZfa6O.js} +0 -0
- /package/dist/chunks/{sessionDataUploader-BhiQJdFE.js → sessionDataUploader-DVTdNXKY.js} +0 -0
- /package/dist/chunks/{sessionManager-BYD_OKo3.js → sessionManager-DViu-EpO.js} +0 -0
- /package/dist/chunks/{staticRender-FpPmfCOq.js → staticRender-aAF-CC_g.js} +0 -0
- /package/dist/chunks/{stickers-XWKySKm8.js → stickers-CyMqW076.js} +0 -0
- /package/dist/chunks/{udsClient-CfwuoD2K.js → udsClient-DHLTYE90.js} +0 -0
- /package/dist/chunks/{up-BZEz3k82.js → up-DiOZvdlp.js} +0 -0
- /package/dist/chunks/{upstreamproxy-C816tFL2.js → upstreamproxy-B_airU5c.js} +0 -0
- /package/dist/chunks/{voice-BozYluNc.js → voice-rwslejKk.js} +0 -0
|
@@ -19,7 +19,7 @@ import { i as number$3, n as v4_default, o as ZodIssueCode, t as init_v4$1 } fro
|
|
|
19
19
|
import { $ as supportsHyperlinks, $t as CLEAR_TERMINAL_TITLE, B as useAnimationFrame, Cn as stringWidth$1, Ct as init_dist$7, D as useDeclaredCursor, F as useTerminalSize, Fn as Chalk, Ft as useTerminalNotification, In as chalk, K as NoSelect, Ln as init_source, Lt as instances, M as useDoublePress, N as useMinDisplayTime, On as DISABLE_KITTY_KEYBOARD, Q as Link, Qt as CLEAR_TAB_STATUS, Sn as ansiCodesToString, T as useTheme, Tn as stripAnsi, Tt as useInterval, Ut as useTerminalFocus, V as useTerminalViewport, X as measureElement, Z as Ansi, Zt as CLEAR_ITERM2_PROGRESS, _n as wrapAnsi, _t as parseKeystroke, an as DFE, at as useOptionalKeybindingContext, b as ThemedText, bn as undoAnsiCodes, c as ProgressBar, d as ListItem, dn as SHOW_CURSOR, et as KeybindingSetup$1, f as Dialog, ft as chordToString, g as KeyboardShortcutHint, gt as parseChord, h as Byline, ht as parseBindings, in as DBP, kn as DISABLE_MODIFY_OTHER_KEYS, ln as EXIT_ALT_SCREEN, nn as supportsTabStatus, nt as useKeybindings, on as DISABLE_MOUSE_TRACKING, p as Pane, rn as wrapForMultiplexer, s as Ratchet, st as getBindingDisplayText, t as init_src$2, tn as setClipboard, tt as useKeybinding, v as color$1, vn as init_build, wn as init_strip_ansi, wt as useDebounceCallback, x as ThemedBox, xn as reduceAnsiCodes, xt as useInput, yn as tokenize$2 } from "./src-DgXTK5eZ.js";
|
|
20
20
|
import { n as require_react, t as require_jsx_runtime } from "./jsx-runtime-JygqAhwj.js";
|
|
21
21
|
import { $n as setLastMainRequestId, $t as getUsageForModel, A as getCurrentTurnTokenBudget, Ar as setUserMsgOptIn, B as getInlinePlugins, Bn as setHasExitedPlanMode, Br as getPluginSettingsBase, Bt as getTotalLinesAdded, C as getCacheEditingHeaderLatched, Ct as getSessionId, D as getCodeEditToolDecisionCounter, E as getClientType, Fr as createSignal, Ft as getTotalCacheCreationInputTokens, G as getIsScrollDraining, H as getIsInteractive, Hr as init_settingsCache, Ht as getTotalOutputTokens, I as getFlagSettingsPath, In as setFastModeHeaderLatched, Ir as init_signal, It as getTotalCacheReadInputTokens, J as getLastApiCompletionTimestamp, K as getKairosActive, Kr as setPluginSettingsBase, Lr as clearPluginSettingsBase, Lt as getTotalCostUSD, Mn as setCostStateForRestore, Mr as switchSession, Mt as getTokenCounter, Nn as setCwdState, Nt as getTotalAPIDuration, O as getCommitCounter, Ot as getStatsStore, P as getFastModeHeaderLatched, Pr as waitForScrollIdle, Pt as getTotalAPIDurationWithoutRetries, Q as getLocCounter, Qn as setLastEmittedDate, Rt as getTotalDuration, St as getSessionCronTasks, T as getChromeFlagOverride, Tn as setAfkModeHeaderLatched, Tt as getSessionProjectDir, U as getIsNonInteractiveSession, Ur as resetSettingsCache, Ut as getTotalToolDuration, V as getInvokedSkillsForAgent, Vt as getTotalLinesRemoved, W as getIsRemoteMode, Wt as getTotalWebSearchRequests, Xn as setLastApiCompletionTimestamp, Xt as getTurnOutputTokens, Y as getLastEmittedDate, Z as getLastMainRequestId, Zn as setLastClassifierRequests, _ as getAfkModeHeaderLatched, _r as setScheduledTasksEnabled, _t as getSdkAgentProgressSummariesEnabled, a as addToTotalDurationState, c as addToTurnHookDuration, cn as init_state, cr as setNeedsPlanModeExitAttachment, ct as getPlanSlugCache, d as clearInvokedSkillsForAgent, dn as markFirstTeleportMessageLogged, dr as setPlanSlugCacheEntry, dt as getPromptCache1hAllowlist, en as getUseCoworkPlugins, et as getMainLoopModelOverride, f as clearRegisteredPluginHooks, fn as markPostCompaction, fr as setProjectRoot, ft as getPromptCache1hEligible, g as getAdditionalDirectoriesForClaudeMd, h as getActiveTimeCounter, hn as onSessionSwitch, ht as getRegisteredHooks, i as addToTotalCostState, in as hasExitedPlanModeInSession, it as getModelUsage, j as getCwdState, jt as getTeleportedSessionInfo, k as getCostCounter, kn as setCachedClaudeMdContent, kt as getStrictToolResultPairing, lt as getPrCounter, m as consumePostCompaction, mn as needsPlanModeExitAttachment, mr as setPromptCache1hEligible, mt as getQuestionPreviewFormat, n as addSessionCronTask, nn as handleAutoModeTransition, o as addToTotalLinesChanged, on as hasUnknownModelCost, ot as getOriginalCwd, pn as needsAutoModeExitAttachment, pr as setPromptCache1hAllowlist, pt as getPromptId, r as addToToolDuration, rn as handlePlanModeTransition, s as addToTurnClassifierDuration, sn as incrementBudgetContinuationCount, sr as setNeedsAutoModeExitAttachment, t as addInvokedSkill, tn as getUserMsgOptIn, tt as getMainThreadAgentType, un as isSessionPersistenceDisabled, ur as setOriginalCwd, ut as getProjectRoot, v as getAgentColorMap, vn as registerHookCallbacks, vt as getSdkBetas, w as getCachedClaudeMdContent, y as getAllowedChannels, yn as removeSessionCronTasks, yt as getSessionBypassPermissionsMode, z as getInitialMainLoopModel, zt as getTotalInputTokens } from "./state-7mARBeIt.js";
|
|
22
|
-
import { $ as getAgentContext, $a as getSettings_DEPRECATED, $n as shouldIncludeFirstPartyOnlyBetas, $o as VERIFICATION_AGENT_TYPE, $r as COST_TIER_3_15, $s as init_constants$20, $t as getRateLimitTier, Aa as getAPIProvider, Ac as saveCurrentProjectConfig, Ai as resolveAntModel, Al as init_mapValues, An as removeApiKey, Ao as normalizeFullWidthSpace, Ar as getOpusPricingSuffix, As as init_PermissionMode, At as getClaudeCodeUserAgent, Ba as init_bedrock$1, Bc as FILE_NOT_FOUND_CWD_NOTE, Bi as TASK_BUDGETS_BETA_HEADER, Bn as getSecureStorage, Bo as BRIEF_TOOL_PROMPT, Br as modelDisplayString, Bt as getAccountInformation, Ca as shouldProcessMockLimits, Cc as getOrCreateUserID, Cl as reject, Co as EndTruncatingAccumulator, Cr as getDefaultHaikuModel, Cs as HooksSchema, Ct as getWebFetchUserAgent, Dc as init_config$5, Di as getAntModelOverrideConfig, Do as firstLineOf, Dr as getDefaultSonnetModel, Ds as init_agentSdkTypes, Dt as getWorkload, Ea as init_billing, Ec as getUserClaudeRulesDir, Ei as triggerFastModeCooldown, Eo as escapeRegExp$1, Er as getDefaultOpusModel, Es as HOOK_EVENTS$2, Fa as init_configs, Fc as TEAMMATE_MODES, Fi as EFFORT_BETA_HEADER, Fl as last, Fn as getToolSchemaCache, Fo as init_permissionRuleParser, Fr as getUserSpecifiedModelSetting, Gc as detectLineEndings, Gi as init_aws, Go as DESCRIPTION$17, Gs as init_internalWrites, H as extractMcpToolDetails, Ha as getAutoModeConfig, Hc as addLineNumbers, Hi as init_betas$1, Hn as init_macOsKeychainStorage, Ho as LEGACY_BRIEF_TOOL_NAME$1, Hr as parseUserSpecifiedModel, Hs as init_figures$1, Ht as getAnthropicApiKeyWithSource, Ia as applyBedrockRegionPrefix, Ic as init_configConstants, Ii as FAST_MODE_BETA_HEADER, Il as capitalize, In as init_toolSchemaCache, Io as normalizeLegacyToolName, Ir as init_model$1, It as clearApiKeyHelperCache, J as init_metadata, Ja as getSettingsFilePathForSource, Jc as getDisplayPath, Jn as getModelBetas, Jo as TASK_OUTPUT_TOOL_NAME, Jr as isModelAllowed, Js as getEnabledSettingSources, Jt as getClaudeAIOAuthTokens, K as getFileExtensionForAnalytics, Ka as getPolicySettingsOrigin, Kc as findSimilarFile, Ki as isAwsCredentialsProviderError, Kn as getBedrockExtraBodyParamsBetas, Ko as TASK_STOP_TOOL_NAME, Kr as resolveSkillModelOverride, Ks as SETTING_SOURCES, La as createBedrockRuntimeClient, Lc as getManagedFilePath, Li as PROMPT_CACHING_SCOPE_BETA_HEADER, Ll as init_capitalize, Lo as permissionRuleValueFromString$1, Ls as permissionModeTitle, Lt as clearAwsCredentialsCache, M as init_firstPartyEventLogger, Ma as init_providers, Mi as AFK_MODE_BETA_HEADER, Ml as init_isEqual, Mn as saveOAuthTokensIfNeeded, Mo as safeJoinLines, Mr as getPublicModelName, Na as isFirstPartyAnthropicBaseUrl, Nc as EDITOR_MODES, Ni as CONTEXT_1M_BETA_HEADER, Nl as isEqual, Nn as validateForceLoginOrg, Nr as getRuntimeMainLoopModel, Ns as permissionModeFromString, Oa as getModelStrings, Oi as getAntModels, Oo as init_stringUtils, Or as getMainLoopModel, Os as externalPermissionModeSchema, Ot as init_workloadContext, Pa as CLAUDE_OPUS_4_6_CONFIG, Pc as NOTIFICATION_CHANNELS, Pl as init_last, Pn as clearToolSchemaCache, Po as getLegacyToolNames, Pr as getSmallFastModel, Ps as permissionModeSchema, Pt as checkAndRefreshOAuthTokenIfNeeded, Q as consumeInvokingRequestId, Qc as isCompactLinePrefixEnabled, Qn as modelSupportsStructuredOutputs, Qo as ONE_SHOT_BUILTIN_AGENT_TYPES, Qr as COST_HAIKU_45, Ra as getBedrockRegionPrefix, Rc as getManagedSettingsDropInDir, Ri as REDACT_THINKING_BETA_HEADER, Rl as init_isPlainObject, Ro as permissionRuleValueToString, Rr as isNonCustomOpusModel, Rt as clearGcpCredentialsCache, S as init_growthbook, Sa as isMockFastModeRateLimitScenario, Sc as getMemoryPath, Sl as init_reject, Sn as isUsing3PServices, So as isMcpServerUrlEntry, Sr as getClaudeAiUserDefaultModelDescription, Ss as validateOfficialNameSource, St as getUserAgent, T as refreshGrowthBookAfterAuthChange, Tc as getRemoteControlAtStartup, To as countCharInString, Tr as getDefaultMainLoopModelSetting, Ts as init_shellProvider, Tt as withOAuth401Retry, U as extractSkillName, Ua as getInitialSettings, Uc as convertLeadingTabsToSpaces, Un as isMacOsKeychainLocked, Uo as init_prompt$39, Ur as renderDefaultModelSetting, Us as clearInternalWrites, Va as isFoundationModel, Vc as MAX_OUTPUT_SIZE, Vi as VERTEX_COUNT_TOKENS_ALLOWED_BETAS, Vn as init_secureStorage, Vo as DESCRIPTION$18, Vr as normalizeModelStringForAPI, W as extractToolInputForTelemetry, Wa as getManagedFileSettingsPresence, Wc as detectFileEncoding, Wn as clearBetasCaches, Wo as prompt_exports$3, Wr as renderModelName, Ws as consumeInternalWrite, X as mcpToolDetailsForAnalytics, Xa as getSettingsRootPathForSource, Xc as getFileModificationTimeAsync, Xi as init_macOsKeychainHelpers, Xn as init_betas, Xo as AGENT_TOOL_NAME, Xr as init_aliases, Xs as getSettingSourceDisplayNameLowercase, Y as isToolDetailsLoggingEnabled, Ya as getSettingsForSource, Yc as getFileModificationTime, Yi as clearKeychainCache, Yn as getToolSearchBetaHeader, Yo as init_constants$21, Yr as MODEL_ALIASES, Ys as getSettingSourceDisplayNameCapitalized, Z as sanitizeToolNameForAnalytics, Za as getSettingsWithErrors, Zc as init_file, Zn as modelSupportsAutoMode, Zo as LEGACY_AGENT_TOOL_NAME, Zr as COST_HAIKU_35, Zs as getSettingSourceName, Zt as getOauthAccountInfo, _ as getFeatureValue_CACHED_MAY_BE_STALE, _a as applyMockHeaders, _c as getCurrentProjectConfig, _i as isFastModeCooldown, _l as uniqBy, _o as CUSTOMIZATION_SURFACES, _r as getAnthropicClient, _s as PluginMarketplaceSchema, a as init_paths, aa as fetchProfileInfo, ac as getSettingsPath, ai as init_modelCost, al as readFileSyncCached, ar as ESCALATED_MAX_TOKENS, as as getToolNameForPermissionCheck, at as envDynamic, ba as getMockHeaders, bl as init_sample, bn as isTeamPremiumSubscriber, bo as isMcpServerCommandEntry, bs as isLocalPluginSource, bt as getAuthHeaders$1, c as isExtractModeActive, cc as setEligibility, cl as writeTextContent, co as getHkcuSettings, cr as getMaxThinkingTokensForModel, cs as ALLOWED_OFFICIAL_MARKETPLACE_NAMES, ct as init_config$6, d as checkStatsigFeatureGate_CACHED_MAY_BE_STALE, da as refreshOAuthToken, dc as sequential, dl as readFileSync$2, dn as isClaudeAISubscriber, do as refreshMdmSettings, dr as has1mContext, ds as KnownMarketplacesFileSchema, ec as isSettingSourceEnabled, el as isFileWithinReadSizeLimit, eo as getUseAutoModeDuringPlan, er as shouldUseGlobalCacheScope, es as init_constants$19, et as getSubagentLogName, fa as shouldUseClaudeAIAuth, fl as readFileSyncWithMetadata, fn as isConsumerSubscriber, fo as setMdmSettingsCache, fr as init_context$2, fs as LspServerConfigSchema, ga as init_getOauthProfile, gc as getAutoUpdaterDisabledReason, gi as isFastModeAvailable, gl as init_uniqBy, gn as isMaxSubscriber, go as validateSettingsFileContent, h as getDynamicConfig_BLOCKS_ON_INIT, ha as getOauthProfileFromOauthToken, hc as formatAutoUpdaterDisabledReason, hi as init_fastMode, hl as zipObject, ho as init_validation$1, hs as PluginManifestSchema, ht as getCoreUserData, i as hasAutoMemPathOverride, ia as fetchAndStoreUserRoles, ic as getRemoteManagedSettingsSyncFromCache, io as parseSettingsFile, ir as COMPACT_MAX_OUTPUT_TOKENS, is as getMcpPrefix, it as isAgentSwarmsEnabled, ja as getAPIProviderForStatsig, jc as saveGlobalConfig, ji as ADVISOR_BETA_HEADER, jl as mapValues, jo as plural, jr as getPublicModelDisplayName, jt as init_userAgent, ka as init_modelStrings, ki as init_antModels, ko as normalizeFullWidthDigits, kr as getMarketingNameForModel, ks as getModeColor, l as checkGate_CACHED_OR_BLOCKING, la as parseScopes, lc as setSessionCache, lo as getMdmSettings, lr as getModelMaxOutputTokens, ls as InstalledPluginsFileSchemaV1, lt as isAnalyticsDisabled, mi as handleFastModeRejectedByAPI, ml as init_zipObject, mn as isEnterpriseSubscriber, ms as PluginIdSchema, n as getAutoMemPath, na as createAndStoreApiKey, nc as init_gitignore, ni as calculateUSDCost, nl as pathExists, nn as handleOAuth401Error, no as hasSkipDangerousModePermissionPrompt, nr as init_modelSupportOverrides, nt as runWithAgentContext, o as isAutoMemPath, oa as getOrganizationUUID, oc as init_syncCacheState, oi as FAST_MODE_MODEL_DISPLAY, ol as stripLineNumberPrefix, on as init_auth$4, oo as updateSettingsForSource, os as init_mcpStringUtils, pa as storeOAuthAccountInfo, pc as checkHasTrustDialogAccepted, pi as handleFastModeOverageRejection, pl as init_lodash, pr as is1mContextDisabled, ps as PluginHooksSchema, q as getFileExtensionsFromBashCommand, qa as getRelativeSettingsFilePathForSource, qn as getMergedBetas, qo as init_prompt$38, qr as init_modelAllowlist, qs as SOURCES, qt as getAuthTokenSource, r as getMemoryBaseDir, ra as exchangeCodeForTokens, rc as isPathGitignored, ri as formatModelPricing, rl as pathsEqual, rn as hasAnthropicApiKeyAuth, ro as init_settings, rr as CAPPED_DEFAULT_MAX_TOKENS, rt as init_agentSwarmsEnabled, s as isAutoMemoryEnabled, sa as init_client$5, sc as resetSyncCache$1, sl as suggestPathUnderCwd, sr as getContextWindowForModel, ss as mcpInfoFromString, st as init_envDynamic, t as getAutoMemEntrypoint, ta as buildAuthUrl, ti as calculateCostFromTokens, tl as normalizePathForComparison, tn as getSubscriptionType, to as hasAutoModeOptIn, tr as get3PModelCapabilityOverride, ts as buildMcpToolName, tt as init_agentContext, u as checkSecurityRestrictionGate, uc as init_sequential, ul as init_fileRead, uo as init_settings$1, ur as getSonnet1mExpTreatmentEnabled, us as InstalledPluginsFileSchemaV2, v as getFeatureValue_CACHED_WITH_REFRESH, va as checkMockFastModeRateLimit, vi as isFastModeEnabled, vn as isOverageProvisioningAllowed, vo as SettingsSchema, vr as init_client$4, vs as init_schemas$3, vt as init_user, wa as hasClaudeAiBillingAccess, wo as capitalize$1, wr as getDefaultMainLoopModel, wt as init_http, xa as init_mockRateLimits, xc as getManagedClaudeRulesDir, xl as sample, xn as isTeamSubscriber, xo as isMcpServerNameEntry, xr as getCanonicalName, xt as getMCPUserAgent, ya as getMockHeaderless429Message, yc as getGlobalConfig, yi as isFastModeSupportedByModel, yn as isProSubscriber, yo as init_types$9, ys as isLocalMarketplaceSource, yt as resetUserCache, z as shutdown1PEventLogging, za as getInferenceProfileBackingModel, zc as init_managedPath, zi as STRUCTURED_OUTPUTS_BETA_HEADER, zl as isPlainObject$1, zo as BRIEF_TOOL_NAME$2, zr as isOpus1mMergeEnabled, zs as BLACK_CIRCLE, zt as clearOAuthTokenCache } from "./paths-SJoaKf9-.js";
|
|
22
|
+
import { $ as getAgentContext, $a as getSettings_DEPRECATED, $n as shouldIncludeFirstPartyOnlyBetas, $o as VERIFICATION_AGENT_TYPE, $r as COST_TIER_3_15, $s as init_constants$20, $t as getRateLimitTier, Aa as getAPIProvider, Ac as saveCurrentProjectConfig, Ai as resolveAntModel, Al as init_mapValues, An as removeApiKey, Ao as normalizeFullWidthSpace, Ar as getOpusPricingSuffix, As as init_PermissionMode, At as getClaudeCodeUserAgent, Ba as init_bedrock$1, Bc as FILE_NOT_FOUND_CWD_NOTE, Bi as TASK_BUDGETS_BETA_HEADER, Bn as getSecureStorage, Bo as BRIEF_TOOL_PROMPT, Br as modelDisplayString, Bt as getAccountInformation, Ca as shouldProcessMockLimits, Cc as getOrCreateUserID, Cl as reject, Co as EndTruncatingAccumulator, Cr as getDefaultHaikuModel, Cs as HooksSchema, Ct as getWebFetchUserAgent, Dc as init_config$5, Di as getAntModelOverrideConfig, Do as firstLineOf, Dr as getDefaultSonnetModel, Ds as init_agentSdkTypes, Dt as getWorkload, Ea as init_billing, Ec as getUserClaudeRulesDir, Ei as triggerFastModeCooldown, Eo as escapeRegExp$1, Er as getDefaultOpusModel, Es as HOOK_EVENTS$2, Fa as init_configs, Fc as TEAMMATE_MODES, Fi as EFFORT_BETA_HEADER, Fl as last, Fn as getToolSchemaCache, Fo as init_permissionRuleParser, Fr as getUserSpecifiedModelSetting, Gc as detectLineEndings, Gi as init_aws, Go as DESCRIPTION$17, Gs as init_internalWrites, H as extractMcpToolDetails, Ha as getAutoModeConfig, Hc as addLineNumbers, Hi as init_betas$1, Hn as init_macOsKeychainStorage, Ho as LEGACY_BRIEF_TOOL_NAME$1, Hr as parseUserSpecifiedModel, Hs as init_figures$1, Ht as getAnthropicApiKeyWithSource, Ia as applyBedrockRegionPrefix, Ic as init_configConstants, Ii as FAST_MODE_BETA_HEADER, Il as capitalize, In as init_toolSchemaCache, Io as normalizeLegacyToolName, Ir as init_model$1, It as clearApiKeyHelperCache, J as init_metadata, Ja as getSettingsFilePathForSource, Jc as getDisplayPath, Jn as getModelBetas, Jo as TASK_OUTPUT_TOOL_NAME, Jr as isModelAllowed, Js as getEnabledSettingSources, Jt as getClaudeAIOAuthTokens, K as getFileExtensionForAnalytics, Ka as getPolicySettingsOrigin, Kc as findSimilarFile, Ki as isAwsCredentialsProviderError, Kn as getBedrockExtraBodyParamsBetas, Ko as TASK_STOP_TOOL_NAME, Kr as resolveSkillModelOverride, Ks as SETTING_SOURCES, La as createBedrockRuntimeClient, Lc as getManagedFilePath, Li as PROMPT_CACHING_SCOPE_BETA_HEADER, Ll as init_capitalize, Lo as permissionRuleValueFromString$1, Ls as permissionModeTitle, Lt as clearAwsCredentialsCache, M as init_firstPartyEventLogger, Ma as init_providers, Mi as AFK_MODE_BETA_HEADER, Ml as init_isEqual, Mn as saveOAuthTokensIfNeeded, Mo as safeJoinLines, Mr as getPublicModelName, Na as isFirstPartyAnthropicBaseUrl, Nc as EDITOR_MODES, Ni as CONTEXT_1M_BETA_HEADER, Nl as isEqual, Nn as validateForceLoginOrg, Nr as getRuntimeMainLoopModel, Ns as permissionModeFromString, Oa as getModelStrings, Oi as getAntModels, Oo as init_stringUtils, Or as getMainLoopModel, Os as externalPermissionModeSchema, Ot as init_workloadContext, Pa as CLAUDE_OPUS_4_6_CONFIG, Pc as NOTIFICATION_CHANNELS, Pl as init_last, Pn as clearToolSchemaCache, Po as getLegacyToolNames, Pr as getSmallFastModel, Ps as permissionModeSchema, Pt as checkAndRefreshOAuthTokenIfNeeded, Q as consumeInvokingRequestId, Qc as isCompactLinePrefixEnabled, Qn as modelSupportsStructuredOutputs, Qo as ONE_SHOT_BUILTIN_AGENT_TYPES, Qr as COST_HAIKU_45, Ra as getBedrockRegionPrefix, Rc as getManagedSettingsDropInDir, Ri as REDACT_THINKING_BETA_HEADER, Rl as init_isPlainObject, Ro as permissionRuleValueToString, Rr as isNonCustomOpusModel, Rt as clearGcpCredentialsCache, S as init_growthbook, Sa as isMockFastModeRateLimitScenario, Sc as getMemoryPath, Sl as init_reject, Sn as isUsing3PServices, So as isMcpServerUrlEntry, Sr as getClaudeAiUserDefaultModelDescription, Ss as validateOfficialNameSource, St as getUserAgent, T as refreshGrowthBookAfterAuthChange, Tc as getRemoteControlAtStartup, To as countCharInString, Tr as getDefaultMainLoopModelSetting, Ts as init_shellProvider, Tt as withOAuth401Retry, U as extractSkillName, Ua as getInitialSettings, Uc as convertLeadingTabsToSpaces, Un as isMacOsKeychainLocked, Uo as init_prompt$39, Ur as renderDefaultModelSetting, Us as clearInternalWrites, Va as isFoundationModel, Vc as MAX_OUTPUT_SIZE, Vi as VERTEX_COUNT_TOKENS_ALLOWED_BETAS, Vn as init_secureStorage, Vo as DESCRIPTION$18, Vr as normalizeModelStringForAPI, W as extractToolInputForTelemetry, Wa as getManagedFileSettingsPresence, Wc as detectFileEncoding, Wn as clearBetasCaches, Wo as prompt_exports$3, Wr as renderModelName, Ws as consumeInternalWrite, X as mcpToolDetailsForAnalytics, Xa as getSettingsRootPathForSource, Xc as getFileModificationTimeAsync, Xi as init_macOsKeychainHelpers, Xn as init_betas, Xo as AGENT_TOOL_NAME, Xr as init_aliases, Xs as getSettingSourceDisplayNameLowercase, Y as isToolDetailsLoggingEnabled, Ya as getSettingsForSource, Yc as getFileModificationTime, Yi as clearKeychainCache, Yn as getToolSearchBetaHeader, Yo as init_constants$21, Yr as MODEL_ALIASES, Ys as getSettingSourceDisplayNameCapitalized, Z as sanitizeToolNameForAnalytics, Za as getSettingsWithErrors, Zc as init_file, Zn as modelSupportsAutoMode, Zo as LEGACY_AGENT_TOOL_NAME, Zr as COST_HAIKU_35, Zs as getSettingSourceName, Zt as getOauthAccountInfo, _ as getFeatureValue_CACHED_MAY_BE_STALE, _a as applyMockHeaders, _c as getCurrentProjectConfig, _i as isFastModeCooldown, _l as uniqBy, _o as CUSTOMIZATION_SURFACES, _r as getAnthropicClient, _s as PluginMarketplaceSchema, a as init_paths, aa as fetchProfileInfo, ac as getSettingsPath, ai as init_modelCost, al as readFileSyncCached, ar as ESCALATED_MAX_TOKENS, as as getToolNameForPermissionCheck, at as envDynamic, ba as getMockHeaders, bl as init_sample, bn as isTeamPremiumSubscriber, bo as isMcpServerCommandEntry, bs as isLocalPluginSource, bt as getAuthHeaders$1, c as isExtractModeActive, cc as setEligibility, cl as writeTextContent, co as getHkcuSettings, cr as getMaxThinkingTokensForModel, cs as ALLOWED_OFFICIAL_MARKETPLACE_NAMES, ct as init_config$6, d as checkStatsigFeatureGate_CACHED_MAY_BE_STALE, da as refreshOAuthToken, dc as sequential, dl as readFileSync$2, dn as isClaudeAISubscriber, do as refreshMdmSettings, dr as has1mContext, ds as KnownMarketplacesFileSchema, ec as isSettingSourceEnabled, el as isFileWithinReadSizeLimit, eo as getUseAutoModeDuringPlan, er as shouldUseGlobalCacheScope, es as init_constants$19, et as getSubagentLogName, fa as shouldUseClaudeAIAuth, fl as readFileSyncWithMetadata, fn as isConsumerSubscriber, fo as setMdmSettingsCache, fr as init_context$2, fs as LspServerConfigSchema, ga as init_getOauthProfile, gc as getAutoUpdaterDisabledReason, gi as isFastModeAvailable, gl as init_uniqBy, gn as isMaxSubscriber, go as validateSettingsFileContent, h as getDynamicConfig_BLOCKS_ON_INIT, ha as getOauthProfileFromOauthToken, hc as formatAutoUpdaterDisabledReason, hi as init_fastMode, hl as zipObject, ho as init_validation$1, hs as PluginManifestSchema, ht as getCoreUserData, i as hasAutoMemPathOverride, ia as fetchAndStoreUserRoles, ic as getRemoteManagedSettingsSyncFromCache, io as parseSettingsFile, ir as COMPACT_MAX_OUTPUT_TOKENS, is as getMcpPrefix, it as isAgentSwarmsEnabled, ja as getAPIProviderForStatsig, jc as saveGlobalConfig, ji as ADVISOR_BETA_HEADER, jl as mapValues, jo as plural, jr as getPublicModelDisplayName, jt as init_userAgent, ka as init_modelStrings, ki as init_antModels, ko as normalizeFullWidthDigits, kr as getMarketingNameForModel, ks as getModeColor, l as checkGate_CACHED_OR_BLOCKING, la as parseScopes, lc as setSessionCache, lo as getMdmSettings, lr as getModelMaxOutputTokens, ls as InstalledPluginsFileSchemaV1, lt as isAnalyticsDisabled, mi as handleFastModeRejectedByAPI, ml as init_zipObject, mn as isEnterpriseSubscriber, ms as PluginIdSchema, n as getAutoMemPath, na as createAndStoreApiKey, nc as init_gitignore, ni as calculateUSDCost, nl as pathExists, nn as handleOAuth401Error, no as hasSkipDangerousModePermissionPrompt, nr as init_modelSupportOverrides, nt as runWithAgentContext, o as isAutoMemPath, oa as getOrganizationUUID, oc as init_syncCacheState, oi as FAST_MODE_MODEL_DISPLAY, ol as stripLineNumberPrefix, on as init_auth$4, oo as updateSettingsForSource, os as init_mcpStringUtils, pa as storeOAuthAccountInfo, pc as checkHasTrustDialogAccepted, pi as handleFastModeOverageRejection, pl as init_lodash, pr as is1mContextDisabled, ps as PluginHooksSchema, q as getFileExtensionsFromBashCommand, qa as getRelativeSettingsFilePathForSource, qn as getMergedBetas, qo as init_prompt$38, qr as init_modelAllowlist, qs as SOURCES, qt as getAuthTokenSource, r as getMemoryBaseDir, ra as exchangeCodeForTokens, rc as isPathGitignored, ri as formatModelPricing, rl as pathsEqual, rn as hasAnthropicApiKeyAuth, ro as init_settings, rr as CAPPED_DEFAULT_MAX_TOKENS, rt as init_agentSwarmsEnabled, s as isAutoMemoryEnabled, sa as init_client$5, sc as resetSyncCache$1, sl as suggestPathUnderCwd, sr as getContextWindowForModel, ss as mcpInfoFromString, st as init_envDynamic, t as getAutoMemEntrypoint, ta as buildAuthUrl, ti as calculateCostFromTokens, tl as normalizePathForComparison, tn as getSubscriptionType, to as hasAutoModeOptIn, tr as get3PModelCapabilityOverride, ts as buildMcpToolName, tt as init_agentContext, u as checkSecurityRestrictionGate, uc as init_sequential, ul as init_fileRead, uo as init_settings$1, ur as getSonnet1mExpTreatmentEnabled, us as InstalledPluginsFileSchemaV2, v as getFeatureValue_CACHED_WITH_REFRESH, va as checkMockFastModeRateLimit, vi as isFastModeEnabled, vn as isOverageProvisioningAllowed, vo as SettingsSchema, vr as init_client$4, vs as init_schemas$3, vt as init_user, wa as hasClaudeAiBillingAccess, wo as capitalize$1, wr as getDefaultMainLoopModel, wt as init_http, xa as init_mockRateLimits, xc as getManagedClaudeRulesDir, xl as sample, xn as isTeamSubscriber, xo as isMcpServerNameEntry, xr as getCanonicalName, xt as getMCPUserAgent, ya as getMockHeaderless429Message, yc as getGlobalConfig, yi as isFastModeSupportedByModel, yn as isProSubscriber, yo as init_types$9, ys as isLocalMarketplaceSource, yt as resetUserCache, z as shutdown1PEventLogging, za as getInferenceProfileBackingModel, zc as init_managedPath, zi as STRUCTURED_OUTPUTS_BETA_HEADER, zl as isPlainObject$1, zo as BRIEF_TOOL_NAME$2, zr as isOpus1mMergeEnabled, zs as BLACK_CIRCLE, zt as clearOAuthTokenCache } from "./paths-D_9utrBY.js";
|
|
23
23
|
import { A as ClaudeError, B as hasExactErrorMessage, E as jsonStringify, F as TeleportOperationError, H as isAbortError, I as classifyAxiosError, K as toError, L as errorMessage, M as MalformedCommandError, N as ShellError, O as writeFileSync_DEPRECATED, P as TelemetrySafeError_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, Q as cloneDeep, R as getErrnoCode, S as init_usingCtx, T as jsonParse, U as isENOENT, V as init_errors$4, W as isFsInaccessible, X as registerCleanup$1, Y as init_cleanupRegistry, Z as runCleanupFunctions, _ as readFileRange, b as tailFile, c as isDebugMode, d as logForDebugging$1, g as isDuplicatePath, h as init_fsOperations, j as ConfigParseError, k as AbortError, m as getPathsForPermissionCheck, p as getFsImplementation, s as init_debug$1, u as logAntError, v as readLinesReverse, w as init_slowOperations, x as _usingCtx, y as safeResolvePath, z as getErrnoPath } from "./debug-Bb0ljjnG.js";
|
|
24
24
|
import { n as init_analytics, r as logEvent } from "./analytics-DXs8Kd4H.js";
|
|
25
25
|
import { i as runWithCwdOverride, n as init_cwd, r as pwd, t as getCwd } from "./cwd-BXkcfaQ3.js";
|
|
@@ -51,25 +51,25 @@ import { _ as clearCACertsCache, c as getWebSocketProxyAgent, d as shouldBypassP
|
|
|
51
51
|
import { n as sleep, t as init_sleep } from "./sleep-DEIBf1Jn.js";
|
|
52
52
|
import { a as isProcessRunning$2, i as init_genericProcessUtils, n as getAncestorPidsAsync, r as getProcessCommand } from "./genericProcessUtils-CnvTXq_S.js";
|
|
53
53
|
import { i as common_exports, o as init_common$1 } from "./common-ClfJIlTE.js";
|
|
54
|
-
import { n as getCompanion, r as init_companion } from "./companion-
|
|
55
|
-
import { a as isOfficialMarketplaceName, c as settingSourceToScope, d as getBuiltinPluginSkillCommands, f as getBuiltinPlugins, i as init_pluginIdentifier, l as BUILTIN_MARKETPLACE_NAME$1, o as parsePluginIdentifier, p as init_builtinPlugins, r as init_xml$1, s as scopeToSettingSource, t as escapeXml } from "./xml-
|
|
54
|
+
import { n as getCompanion, r as init_companion } from "./companion-NqFBz4Gn.js";
|
|
55
|
+
import { a as isOfficialMarketplaceName, c as settingSourceToScope, d as getBuiltinPluginSkillCommands, f as getBuiltinPlugins, i as init_pluginIdentifier, l as BUILTIN_MARKETPLACE_NAME$1, o as parsePluginIdentifier, p as init_builtinPlugins, r as init_xml$1, s as scopeToSettingSource, t as escapeXml } from "./xml-BwakJYzY.js";
|
|
56
56
|
import { a as tryParseShellCommand, i as quote, n as hasShellQuoteSingleQuoteBug, o as require_shell_quote, r as init_shellQuote, t as hasMalformedTokens } from "./shellQuote-BEub_kTx.js";
|
|
57
|
-
import { a as SEND_USER_FILE_TOOL_NAME$1, c as TOOL_SEARCH_TOOL_NAME, i as isDeferredTool, n as getPrompt$8, o as init_prompt$41, r as init_prompt$40, s as prompt_exports$4, t as formatDeferredToolLine } from "./prompt-
|
|
57
|
+
import { a as SEND_USER_FILE_TOOL_NAME$1, c as TOOL_SEARCH_TOOL_NAME, i as isDeferredTool, n as getPrompt$8, o as init_prompt$41, r as init_prompt$40, s as prompt_exports$4, t as formatDeferredToolLine } from "./prompt-CTaaBqVT.js";
|
|
58
58
|
import { a as createFileStateCacheWithSizeLimit, i as cloneFileStateCache, n as cacheKeys, o as init_fileStateCache, r as cacheToObject, s as mergeFileStateCaches } from "./fileStateCache-B50rzYGG.js";
|
|
59
|
-
import { B as formatAPIError, C as proactive_exports$1, D as getSessionIngressAuthToken, M as enqueueSdkEvent, N as init_sdkEventQueue, O as init_sessionIngressAuth, P as init_src$3, V as getSSLErrorHint, X as asSystemPrompt, Z as EMPTY_USAGE, c as stopSessionActivity, d as init_sessionState, f as notifyAutomationStateChanged, i as isSessionActivityTrackingActive, j as emitTaskTerminatedSdk, n as rcLog, o as sendSessionActivitySignal, r as init_sessionActivity, s as startSessionActivity, t as init_rcDebugLog, y as init_proactive$1, z as extractConnectionErrorDetails } from "./rcDebugLog-
|
|
59
|
+
import { B as formatAPIError, C as proactive_exports$1, D as getSessionIngressAuthToken, M as enqueueSdkEvent, N as init_sdkEventQueue, O as init_sessionIngressAuth, P as init_src$3, V as getSSLErrorHint, X as asSystemPrompt, Z as EMPTY_USAGE, c as stopSessionActivity, d as init_sessionState, f as notifyAutomationStateChanged, i as isSessionActivityTrackingActive, j as emitTaskTerminatedSdk, n as rcLog, o as sendSessionActivitySignal, r as init_sessionActivity, s as startSessionActivity, t as init_rcDebugLog, y as init_proactive$1, z as extractConnectionErrorDetails } from "./rcDebugLog-uUY3fB7h.js";
|
|
60
60
|
import { r as updateProviderBuckets, t as init_store$1 } from "./store-xZ7oWuTa.js";
|
|
61
|
-
import { C as unregisterAgent, S as registerAgent, T as logOTelEvent, _ as init_betaSessionTracing, a as endToolBlockedOnUserSpan, c as init_sessionTracing, f as startLLMRequestSpan, g as clearBetaTracingState, h as startToolSpan, i as endLLMRequestSpan, m as startToolExecutionSpan, n as endHookSpan, o as endToolExecutionSpan, p as startToolBlockedOnUserSpan, s as endToolSpan, t as addToolContentEvent, u as startHookSpan, v as isBetaTracingEnabled, w as init_events, x as isPerfettoTracingEnabled, y as init_perfettoTracing } from "./sessionTracing-
|
|
61
|
+
import { C as unregisterAgent, S as registerAgent, T as logOTelEvent, _ as init_betaSessionTracing, a as endToolBlockedOnUserSpan, c as init_sessionTracing, f as startLLMRequestSpan, g as clearBetaTracingState, h as startToolSpan, i as endLLMRequestSpan, m as startToolExecutionSpan, n as endHookSpan, o as endToolExecutionSpan, p as startToolBlockedOnUserSpan, s as endToolSpan, t as addToolContentEvent, u as startHookSpan, v as isBetaTracingEnabled, w as init_events, x as isPerfettoTracingEnabled, y as init_perfettoTracing } from "./sessionTracing-rs6drDih.js";
|
|
62
62
|
import { a as parseCommandRaw, o as SHELL_KEYWORDS, r as init_parser$2, s as init_bashParser, t as PARSE_ABORTED } from "./parser-CO1-vrD-.js";
|
|
63
|
-
import { d as isInternalModelRepo, f as isInternalModelRepoCached, l as init_commitAttribution, m as sanitizeModelName, n as calculateCommitAttribution, r as createEmptyAttributionState } from "./commitAttribution-
|
|
63
|
+
import { d as isInternalModelRepo, f as isInternalModelRepoCached, l as init_commitAttribution, m as sanitizeModelName, n as calculateCommitAttribution, r as createEmptyAttributionState } from "./commitAttribution-BnzVTBHB.js";
|
|
64
64
|
import { a as BatchSpanProcessor, i as BasicTracerProvider, n as SimpleSpanProcessor, t as init_esm$3 } from "./esm-DQbZdc-c.js";
|
|
65
|
-
import { n as isPoorModeActive, r as poorMode_exports, t as init_poorMode } from "./poorMode-
|
|
65
|
+
import { n as isPoorModeActive, r as poorMode_exports, t as init_poorMode } from "./poorMode-BI3UF-g8.js";
|
|
66
66
|
import { c as init_sessionIdCompat, d as toCompatSessionId, i as extractErrorDetail, l as sessionIdCompat_exports, o as init_debugUtils, t as debugBody } from "./debugUtils-DNMF9W7T.js";
|
|
67
|
-
import { A as ensureTasksDir, B as setLeaderTeamName, D as clearLeaderTeamName, E as claimTask, F as isTodoV2Enabled, H as updateTask, I as listTasks, L as onTasksUpdated, M as getTaskListId, N as getTasksDir, O as createTask, P as init_tasks$2, R as resetTaskList, T as blockTask, V as unassignTeammateTasks, a as init_teamHelpers, b as init_types$11, c as registerTeamForSessionCleanup, d as removeTeammateFromTeamFile, f as sanitizeAgentName, i as getTeamFilePath, j as getTask, k as deleteTask, l as removeMemberByAgentId, n as cleanupTeamDirectories, o as readTeamFile, p as sanitizeName, s as readTeamFileAsync, v as unregisterTeamForSessionCleanup, w as TaskStatusSchema, x as isPaneBackend, y as writeTeamFileAsync, z as sanitizePathComponent } from "./teamHelpers-
|
|
67
|
+
import { A as ensureTasksDir, B as setLeaderTeamName, D as clearLeaderTeamName, E as claimTask, F as isTodoV2Enabled, H as updateTask, I as listTasks, L as onTasksUpdated, M as getTaskListId, N as getTasksDir, O as createTask, P as init_tasks$2, R as resetTaskList, T as blockTask, V as unassignTeammateTasks, a as init_teamHelpers, b as init_types$11, c as registerTeamForSessionCleanup, d as removeTeammateFromTeamFile, f as sanitizeAgentName, i as getTeamFilePath, j as getTask, k as deleteTask, l as removeMemberByAgentId, n as cleanupTeamDirectories, o as readTeamFile, p as sanitizeName, s as readTeamFileAsync, v as unregisterTeamForSessionCleanup, w as TaskStatusSchema, x as isPaneBackend, y as writeTeamFileAsync, z as sanitizePathComponent } from "./teamHelpers-B7WQDvem.js";
|
|
68
68
|
import { a as init_detectRepository, i as getCachedRepository, o as parseGitHubRepository, r as detectCurrentRepositoryWithHost, s as parseGitRemote } from "./detectRepository-BjM1oogL.js";
|
|
69
|
-
import { a as getOAuthHeaders, i as getBranchFromSession, o as init_api$2, r as fetchSession, s as isTransientNetworkError } from "./api-
|
|
70
|
-
import { r as shutdownDatadog, t as init_datadog } from "./datadog-
|
|
69
|
+
import { a as getOAuthHeaders, i as getBranchFromSession, o as init_api$2, r as fetchSession, s as isTransientNetworkError } from "./api-DNBGYb0g.js";
|
|
70
|
+
import { r as shutdownDatadog, t as init_datadog } from "./datadog-DFgxsU0k.js";
|
|
71
71
|
import { i as init_sentry, n as closeSentry, t as captureException } from "./sentry-C-8ru2z4.js";
|
|
72
|
-
import { a as init_trustedDevice, n as clearTrustedDeviceTokenCache } from "./trustedDevice-
|
|
72
|
+
import { a as init_trustedDevice, n as clearTrustedDeviceTokenCache } from "./trustedDevice-CJWnStwv.js";
|
|
73
73
|
import { n as openBrowser, r as openPath, t as init_browser } from "./browser-Dq9yEpcH.js";
|
|
74
74
|
import { a as satisfies, i as lt, n as gte, r as init_semver, t as gt } from "./semver-b1EOhX9h.js";
|
|
75
75
|
import { n as init_stdio$1, r as serializeMessage, t as ReadBuffer } from "./stdio-Dl-Uh_iW.js";
|
|
@@ -77,27 +77,27 @@ import { t as init_useKeybinding } from "./useKeybinding-B3NFGJro.js";
|
|
|
77
77
|
import { c as init_common$2, l as isClaudeInChromeMCPServer, t as CLAUDE_IN_CHROME_MCP_SERVER_NAME } from "./common-B8hahT4_.js";
|
|
78
78
|
import { r as subprocessEnv, t as init_subprocessEnv } from "./subprocessEnv-DtWwHNSe.js";
|
|
79
79
|
import { c as init_sentinelApps, t as init_src$4, u as init_types$12 } from "./src-pyDGN6M5.js";
|
|
80
|
-
import { i as init_terminalSetup$1, m as maybeMarkProjectOnboardingComplete, o as markBackslashReturnUsed, p as init_projectOnboardingState } from "./terminalSetup-
|
|
80
|
+
import { i as init_terminalSetup$1, m as maybeMarkProjectOnboardingComplete, o as markBackslashReturnUsed, p as init_projectOnboardingState } from "./terminalSetup-DonvykBb.js";
|
|
81
81
|
import { i as src_exports, t as init_src$5 } from "./src-2TFmN5Pk.js";
|
|
82
|
-
import { a as getCachedReferrerReward, d as init_useDoublePress, l as init_useExitOnCtrlCDWithKeybindings, s as init_referral, t as checkCachedPassesEligibility, u as useExitOnCtrlCDWithKeybindings } from "./referral-
|
|
82
|
+
import { a as getCachedReferrerReward, d as init_useDoublePress, l as init_useExitOnCtrlCDWithKeybindings, s as init_referral, t as checkCachedPassesEligibility, u as useExitOnCtrlCDWithKeybindings } from "./referral-BjcmUDXS.js";
|
|
83
83
|
import { n as init_computerUseLock } from "./computerUseLock-BJ4YqgRZ.js";
|
|
84
84
|
import { t as init_escHotkey } from "./escHotkey-7VEuT3fY.js";
|
|
85
|
-
import { i as init_gates } from "./gates-
|
|
86
|
-
import { n as init_hostAdapter } from "./hostAdapter-
|
|
85
|
+
import { i as init_gates } from "./gates-DPxQAHAt.js";
|
|
86
|
+
import { n as init_hostAdapter } from "./hostAdapter-DQBU6TpX.js";
|
|
87
87
|
import { a as init_xdg, i as getXDGStateHome, n as getXDGCacheHome, r as getXDGDataHome, t as getUserBinDir } from "./xdg-CwW5A7V7.js";
|
|
88
|
-
import { a as init_bridgeConfig, n as getBridgeBaseUrl, o as isSelfHostedBridge } from "./bridgeConfig-
|
|
88
|
+
import { a as init_bridgeConfig, n as getBridgeBaseUrl, o as isSelfHostedBridge } from "./bridgeConfig-B-QT2YK9.js";
|
|
89
89
|
import { a as TEAM_LEAD_NAME, c as init_constants$22, i as TEAMMATE_COMMAND_ENV_VAR, n as SWARM_SESSION_NAME } from "./constants-B1Bugxo1.js";
|
|
90
90
|
import { r as init_TungstenTool, t as TungstenTool } from "./TungstenTool-CZqS-Wyb.js";
|
|
91
91
|
import { a as systemPromptSection, i as resolveSystemPromptSections, n as clearSystemPromptSections, r as init_systemPromptSections, t as DANGEROUS_uncachedSystemPromptSection } from "./systemPromptSections-DjJtpBoo.js";
|
|
92
|
-
import { i as isVoiceGrowthBookEnabled, n as init_voiceModeEnabled, r as isVoiceAvailable } from "./voiceModeEnabled-
|
|
92
|
+
import { i as isVoiceGrowthBookEnabled, n as init_voiceModeEnabled, r as isVoiceAvailable } from "./voiceModeEnabled-UkDTtKlk.js";
|
|
93
93
|
import { n as isWorktreeModeEnabled, t as init_worktreeModeEnabled } from "./worktreeModeEnabled-DIhwZBu_.js";
|
|
94
94
|
import { a as isInWindowsTerminal, c as isIt2CliAvailable$1, i as isInITerm2, l as isTmuxAvailable$1, o as isInsideTmux, r as init_detection, s as isInsideTmuxSync, u as isWindowsTerminalAvailable } from "./detection-wlbUnvLK.js";
|
|
95
|
-
import { a as init_teammateModeSnapshot, i as getTeammateModeFromSnapshot } from "./teammateModeSnapshot-
|
|
96
|
-
import { n as init_undercover, r as isUndercover, t as getUndercoverInstructions } from "./undercover-
|
|
95
|
+
import { a as init_teammateModeSnapshot, i as getTeammateModeFromSnapshot } from "./teammateModeSnapshot-IhZoL1yZ.js";
|
|
96
|
+
import { n as init_undercover, r as isUndercover, t as getUndercoverInstructions } from "./undercover-B5VxCIEw.js";
|
|
97
97
|
import { n as isSkillLearningCompiledIn, r as isSkillLearningEnabled, t as init_featureCheck$1 } from "./featureCheck-DRAjHTOS.js";
|
|
98
98
|
import { a as init_prompt$42, n as CHROME_TOOL_SEARCH_INSTRUCTIONS } from "./prompt-CT3dm5Hc.js";
|
|
99
99
|
import { a as init_types$13, i as REMOTE_CONTROL_DISCONNECTED_MSG, n as BRIDGE_LOGIN_INSTRUCTION } from "./types-AHDjnT7-.js";
|
|
100
|
-
import { i as isBridgeEnabled, r as init_bridgeEnabled } from "./bridgeEnabled-
|
|
100
|
+
import { i as isBridgeEnabled, r as init_bridgeEnabled } from "./bridgeEnabled-DFVc9nDZ.js";
|
|
101
101
|
import * as os$2 from "os";
|
|
102
102
|
import { homedir, platform, release, tmpdir, type, version } from "os";
|
|
103
103
|
import * as path$3 from "path";
|
|
@@ -7635,7 +7635,7 @@ var init_add_dir = __esmMin((() => {
|
|
|
7635
7635
|
name: "add-dir",
|
|
7636
7636
|
description: "Add a new working directory",
|
|
7637
7637
|
argumentHint: "<path>",
|
|
7638
|
-
load: () => import("./add-dir-
|
|
7638
|
+
load: () => import("./add-dir-D3-qXYNI.js")
|
|
7639
7639
|
};
|
|
7640
7640
|
}));
|
|
7641
7641
|
//#endregion
|
|
@@ -7668,7 +7668,7 @@ var init_btw = __esmMin((() => {
|
|
|
7668
7668
|
description: "Ask a quick side question without interrupting the main conversation",
|
|
7669
7669
|
immediate: true,
|
|
7670
7670
|
argumentHint: "<question>",
|
|
7671
|
-
load: () => import("./btw-
|
|
7671
|
+
load: () => import("./btw-CgprdMl4.js")
|
|
7672
7672
|
};
|
|
7673
7673
|
}));
|
|
7674
7674
|
//#endregion
|
|
@@ -11547,7 +11547,7 @@ function resetForTesting(overrides) {
|
|
|
11547
11547
|
watcher$2 = null;
|
|
11548
11548
|
return w ? w.close() : Promise.resolve();
|
|
11549
11549
|
}
|
|
11550
|
-
var FILE_STABILITY_THRESHOLD_MS$1, FILE_STABILITY_POLL_INTERVAL_MS$1, INTERNAL_WRITE_WINDOW_MS, MDM_POLL_INTERVAL_MS, DELETION_GRACE_MS, watcher$2, mdmPollTimer, lastMdmSnapshot, initialized$2, disposed$1, pendingDeletions, settingsChanged, testOverrides, subscribe
|
|
11550
|
+
var FILE_STABILITY_THRESHOLD_MS$1, FILE_STABILITY_POLL_INTERVAL_MS$1, INTERNAL_WRITE_WINDOW_MS, MDM_POLL_INTERVAL_MS, DELETION_GRACE_MS, watcher$2, mdmPollTimer, lastMdmSnapshot, initialized$2, disposed$1, pendingDeletions, settingsChanged, testOverrides, subscribe, settingsChangeDetector;
|
|
11551
11551
|
var init_changeDetector = __esmMin((() => {
|
|
11552
11552
|
init_chokidar();
|
|
11553
11553
|
init_state();
|
|
@@ -11576,11 +11576,11 @@ var init_changeDetector = __esmMin((() => {
|
|
|
11576
11576
|
pendingDeletions = /* @__PURE__ */ new Map();
|
|
11577
11577
|
settingsChanged = createSignal();
|
|
11578
11578
|
testOverrides = null;
|
|
11579
|
-
subscribe
|
|
11579
|
+
subscribe = settingsChanged.subscribe;
|
|
11580
11580
|
settingsChangeDetector = {
|
|
11581
11581
|
initialize: initialize$1,
|
|
11582
11582
|
dispose: dispose$1,
|
|
11583
|
-
subscribe
|
|
11583
|
+
subscribe,
|
|
11584
11584
|
notifyChange,
|
|
11585
11585
|
resetForTesting
|
|
11586
11586
|
};
|
|
@@ -15581,7 +15581,10 @@ function maybeTimeBasedMicrocompact(messages, querySource) {
|
|
|
15581
15581
|
suppressCompactWarning();
|
|
15582
15582
|
resetMicrocompactState();
|
|
15583
15583
|
if (querySource) notifyCacheDeletion(querySource);
|
|
15584
|
-
return {
|
|
15584
|
+
return {
|
|
15585
|
+
messages: result,
|
|
15586
|
+
clearedToolUseIds: [...clearSet]
|
|
15587
|
+
};
|
|
15585
15588
|
}
|
|
15586
15589
|
var TIME_BASED_MC_CLEARED_MESSAGE, IMAGE_MAX_TOKEN_SIZE, COMPACTABLE_TOOLS, pendingCacheEdits;
|
|
15587
15590
|
var init_microCompact = __esmMin((() => {
|
|
@@ -20197,7 +20200,7 @@ async function searchToolsWithKeywords(query, deferredTools, tools, maxResults)
|
|
|
20197
20200
|
};
|
|
20198
20201
|
}))).filter((item) => item.score > 0).sort((a, b) => b.score - a.score).slice(0, maxResults).map((item) => item.name);
|
|
20199
20202
|
}
|
|
20200
|
-
var inputSchema$
|
|
20203
|
+
var inputSchema$49, outputSchema$35, cachedDeferredToolNames, getToolDescriptionMemoized, ToolSearchTool;
|
|
20201
20204
|
var init_ToolSearchTool = __esmMin((() => {
|
|
20202
20205
|
init_memoize();
|
|
20203
20206
|
init_v4$1();
|
|
@@ -20208,7 +20211,7 @@ var init_ToolSearchTool = __esmMin((() => {
|
|
|
20208
20211
|
init_stringUtils();
|
|
20209
20212
|
init_toolSearch();
|
|
20210
20213
|
init_prompt$40();
|
|
20211
|
-
inputSchema$
|
|
20214
|
+
inputSchema$49 = lazySchema(() => object$1({
|
|
20212
20215
|
query: string$2().describe("Query to find deferred tools. Use \"select:<tool_name>\" for direct selection, or keywords to search."),
|
|
20213
20216
|
max_results: number$2().optional().default(5).describe("Maximum number of results to return (default: 5)")
|
|
20214
20217
|
}));
|
|
@@ -20254,7 +20257,7 @@ var init_ToolSearchTool = __esmMin((() => {
|
|
|
20254
20257
|
return getPrompt$8();
|
|
20255
20258
|
},
|
|
20256
20259
|
get inputSchema() {
|
|
20257
|
-
return inputSchema$
|
|
20260
|
+
return inputSchema$49();
|
|
20258
20261
|
},
|
|
20259
20262
|
get outputSchema() {
|
|
20260
20263
|
return outputSchema$35();
|
|
@@ -89987,7 +89990,7 @@ function buildSyntheticOutputTool(jsonSchema) {
|
|
|
89987
89990
|
return { error: e instanceof Error ? e.message : String(e) };
|
|
89988
89991
|
}
|
|
89989
89992
|
}
|
|
89990
|
-
var import_ajv, inputSchema$
|
|
89993
|
+
var import_ajv, inputSchema$48, outputSchema$34, SYNTHETIC_OUTPUT_TOOL_NAME, SyntheticOutputTool, toolCache;
|
|
89991
89994
|
var init_SyntheticOutputTool = __esmMin((() => {
|
|
89992
89995
|
import_ajv = /* @__PURE__ */ __toESM(require_ajv(), 1);
|
|
89993
89996
|
init_v4$1();
|
|
@@ -89995,7 +89998,7 @@ var init_SyntheticOutputTool = __esmMin((() => {
|
|
|
89995
89998
|
init_errors$4();
|
|
89996
89999
|
init_lazySchema();
|
|
89997
90000
|
init_slowOperations();
|
|
89998
|
-
inputSchema$
|
|
90001
|
+
inputSchema$48 = lazySchema(() => object$1({}).passthrough());
|
|
89999
90002
|
outputSchema$34 = lazySchema(() => string$2().describe("Structured output tool result"));
|
|
90000
90003
|
SYNTHETIC_OUTPUT_TOOL_NAME = "StructuredOutput";
|
|
90001
90004
|
SyntheticOutputTool = buildTool({
|
|
@@ -90022,7 +90025,7 @@ var init_SyntheticOutputTool = __esmMin((() => {
|
|
|
90022
90025
|
return `Use this tool to return your final response in the requested structured format. You MUST call this tool exactly once at the end of your response to provide the structured output.`;
|
|
90023
90026
|
},
|
|
90024
90027
|
get inputSchema() {
|
|
90025
|
-
return inputSchema$
|
|
90028
|
+
return inputSchema$48();
|
|
90026
90029
|
},
|
|
90027
90030
|
get outputSchema() {
|
|
90028
90031
|
return outputSchema$34();
|
|
@@ -91590,7 +91593,7 @@ When in doubt, use this tool. Being proactive with task management demonstrates
|
|
|
91590
91593
|
}));
|
|
91591
91594
|
//#endregion
|
|
91592
91595
|
//#region packages/builtin-tools/src/tools/TodoWriteTool/TodoWriteTool.ts
|
|
91593
|
-
var inputSchema$
|
|
91596
|
+
var inputSchema$47, outputSchema$33, TodoWriteTool;
|
|
91594
91597
|
var init_TodoWriteTool = __esmMin((() => {
|
|
91595
91598
|
init_v4$1();
|
|
91596
91599
|
init_state();
|
|
@@ -91602,7 +91605,7 @@ var init_TodoWriteTool = __esmMin((() => {
|
|
|
91602
91605
|
init_constants$19();
|
|
91603
91606
|
init_constants$13();
|
|
91604
91607
|
init_prompt$26();
|
|
91605
|
-
inputSchema$
|
|
91608
|
+
inputSchema$47 = lazySchema(() => strictObject({ todos: TodoListSchema().describe("The updated todo list") }));
|
|
91606
91609
|
outputSchema$33 = lazySchema(() => object$1({
|
|
91607
91610
|
oldTodos: TodoListSchema().describe("The todo list before the update"),
|
|
91608
91611
|
newTodos: TodoListSchema().describe("The todo list after the update"),
|
|
@@ -91620,7 +91623,7 @@ var init_TodoWriteTool = __esmMin((() => {
|
|
|
91620
91623
|
return PROMPT$6;
|
|
91621
91624
|
},
|
|
91622
91625
|
get inputSchema() {
|
|
91623
|
-
return inputSchema$
|
|
91626
|
+
return inputSchema$47();
|
|
91624
91627
|
},
|
|
91625
91628
|
get outputSchema() {
|
|
91626
91629
|
return outputSchema$33();
|
|
@@ -92046,7 +92049,7 @@ function isShuttingDown() {
|
|
|
92046
92049
|
async function gracefulShutdown(exitCode = 0, reason = "other", options) {
|
|
92047
92050
|
if (shutdownInProgress) return;
|
|
92048
92051
|
shutdownInProgress = true;
|
|
92049
|
-
const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./hooks-
|
|
92052
|
+
const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./hooks-DBBV4hRG.js");
|
|
92050
92053
|
const sessionEndTimeoutMs = getSessionEndHookTimeoutMs();
|
|
92051
92054
|
failsafeTimer = setTimeout((code) => {
|
|
92052
92055
|
cleanupTerminalModes();
|
|
@@ -92809,7 +92812,7 @@ var init_remoteManagedSettings = __esmMin((() => {
|
|
|
92809
92812
|
//#endregion
|
|
92810
92813
|
//#region src/commands/logout/logout.tsx
|
|
92811
92814
|
async function performLogout({ clearOnboarding = false }) {
|
|
92812
|
-
const { flushTelemetry } = await import("./instrumentation-
|
|
92815
|
+
const { flushTelemetry } = await import("./instrumentation-LduG_r7c.js");
|
|
92813
92816
|
await flushTelemetry();
|
|
92814
92817
|
await removeApiKey();
|
|
92815
92818
|
getSecureStorage().delete();
|
|
@@ -98024,7 +98027,7 @@ function ctrlOToExpand() {
|
|
|
98024
98027
|
var import_react$158, import_jsx_runtime$126, SubAgentContext;
|
|
98025
98028
|
var init_CtrlOToExpand = __esmMin((() => {
|
|
98026
98029
|
init_source();
|
|
98027
|
-
import_react$158 = /* @__PURE__ */ __toESM(require_react());
|
|
98030
|
+
import_react$158 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
98028
98031
|
init_src$2();
|
|
98029
98032
|
init_shortcutFormat();
|
|
98030
98033
|
init_useShortcutDisplay();
|
|
@@ -98363,7 +98366,7 @@ var init_UI$27 = __esmMin((() => {
|
|
|
98363
98366
|
}));
|
|
98364
98367
|
//#endregion
|
|
98365
98368
|
//#region packages/builtin-tools/src/tools/ListMcpResourcesTool/ListMcpResourcesTool.ts
|
|
98366
|
-
var inputSchema$
|
|
98369
|
+
var inputSchema$46, outputSchema$32, ListMcpResourcesTool;
|
|
98367
98370
|
var init_ListMcpResourcesTool = __esmMin((() => {
|
|
98368
98371
|
init_v4$1();
|
|
98369
98372
|
init_client();
|
|
@@ -98375,7 +98378,7 @@ var init_ListMcpResourcesTool = __esmMin((() => {
|
|
|
98375
98378
|
init_terminal();
|
|
98376
98379
|
init_prompt$25();
|
|
98377
98380
|
init_UI$27();
|
|
98378
|
-
inputSchema$
|
|
98381
|
+
inputSchema$46 = lazySchema(() => object$1({ server: string$2().optional().describe("Optional server name to filter resources by") }));
|
|
98379
98382
|
outputSchema$32 = lazySchema(() => array$1(object$1({
|
|
98380
98383
|
uri: string$2().describe("Resource URI"),
|
|
98381
98384
|
name: string$2().describe("Resource name"),
|
|
@@ -98404,7 +98407,7 @@ var init_ListMcpResourcesTool = __esmMin((() => {
|
|
|
98404
98407
|
return PROMPT$5;
|
|
98405
98408
|
},
|
|
98406
98409
|
get inputSchema() {
|
|
98407
|
-
return inputSchema$
|
|
98410
|
+
return inputSchema$46();
|
|
98408
98411
|
},
|
|
98409
98412
|
get outputSchema() {
|
|
98410
98413
|
return outputSchema$32();
|
|
@@ -98750,7 +98753,7 @@ var init_UI$26 = __esmMin((() => {
|
|
|
98750
98753
|
}));
|
|
98751
98754
|
//#endregion
|
|
98752
98755
|
//#region packages/builtin-tools/src/tools/MCPTool/MCPTool.ts
|
|
98753
|
-
var inputSchema$
|
|
98756
|
+
var inputSchema$45, outputSchema$31, MCPTool;
|
|
98754
98757
|
var init_MCPTool = __esmMin((() => {
|
|
98755
98758
|
init_v4$1();
|
|
98756
98759
|
init_Tool();
|
|
@@ -98758,7 +98761,7 @@ var init_MCPTool = __esmMin((() => {
|
|
|
98758
98761
|
init_terminal();
|
|
98759
98762
|
init_prompt$24();
|
|
98760
98763
|
init_UI$26();
|
|
98761
|
-
inputSchema$
|
|
98764
|
+
inputSchema$45 = lazySchema(() => object$1({}).passthrough());
|
|
98762
98765
|
outputSchema$31 = lazySchema(() => string$2().describe("MCP tool execution result"));
|
|
98763
98766
|
MCPTool = buildTool({
|
|
98764
98767
|
isMcp: true,
|
|
@@ -98774,7 +98777,7 @@ var init_MCPTool = __esmMin((() => {
|
|
|
98774
98777
|
return "";
|
|
98775
98778
|
},
|
|
98776
98779
|
get inputSchema() {
|
|
98777
|
-
return inputSchema$
|
|
98780
|
+
return inputSchema$45();
|
|
98778
98781
|
},
|
|
98779
98782
|
get outputSchema() {
|
|
98780
98783
|
return outputSchema$31();
|
|
@@ -104905,7 +104908,7 @@ function createMcpAuthTool(serverName, config) {
|
|
|
104905
104908
|
return description;
|
|
104906
104909
|
},
|
|
104907
104910
|
get inputSchema() {
|
|
104908
|
-
return inputSchema$
|
|
104911
|
+
return inputSchema$44();
|
|
104909
104912
|
},
|
|
104910
104913
|
async checkPermissions(input) {
|
|
104911
104914
|
return {
|
|
@@ -104978,7 +104981,7 @@ function createMcpAuthTool(serverName, config) {
|
|
|
104978
104981
|
}
|
|
104979
104982
|
};
|
|
104980
104983
|
}
|
|
104981
|
-
var inputSchema$
|
|
104984
|
+
var inputSchema$44;
|
|
104982
104985
|
var init_McpAuthTool = __esmMin((() => {
|
|
104983
104986
|
init_reject();
|
|
104984
104987
|
init_v4$1();
|
|
@@ -104988,7 +104991,7 @@ var init_McpAuthTool = __esmMin((() => {
|
|
|
104988
104991
|
init_errors$4();
|
|
104989
104992
|
init_lazySchema();
|
|
104990
104993
|
init_log();
|
|
104991
|
-
inputSchema$
|
|
104994
|
+
inputSchema$44 = lazySchema(() => object$1({}));
|
|
104992
104995
|
}));
|
|
104993
104996
|
//#endregion
|
|
104994
104997
|
//#region src/utils/toolResultStorage.ts
|
|
@@ -105748,7 +105751,7 @@ var init_UI$25 = __esmMin((() => {
|
|
|
105748
105751
|
}));
|
|
105749
105752
|
//#endregion
|
|
105750
105753
|
//#region packages/builtin-tools/src/tools/ReadMcpResourceTool/ReadMcpResourceTool.ts
|
|
105751
|
-
var inputSchema$
|
|
105754
|
+
var inputSchema$43, outputSchema$30, ReadMcpResourceTool;
|
|
105752
105755
|
var init_ReadMcpResourceTool = __esmMin((() => {
|
|
105753
105756
|
init_types$8();
|
|
105754
105757
|
init_v4$1();
|
|
@@ -105760,7 +105763,7 @@ var init_ReadMcpResourceTool = __esmMin((() => {
|
|
|
105760
105763
|
init_terminal();
|
|
105761
105764
|
init_prompt$23();
|
|
105762
105765
|
init_UI$25();
|
|
105763
|
-
inputSchema$
|
|
105766
|
+
inputSchema$43 = lazySchema(() => object$1({
|
|
105764
105767
|
server: string$2().describe("The MCP server name"),
|
|
105765
105768
|
uri: string$2().describe("The resource URI to read")
|
|
105766
105769
|
}));
|
|
@@ -105791,7 +105794,7 @@ var init_ReadMcpResourceTool = __esmMin((() => {
|
|
|
105791
105794
|
return PROMPT$4;
|
|
105792
105795
|
},
|
|
105793
105796
|
get inputSchema() {
|
|
105794
|
-
return inputSchema$
|
|
105797
|
+
return inputSchema$43();
|
|
105795
105798
|
},
|
|
105796
105799
|
get outputSchema() {
|
|
105797
105800
|
return outputSchema$30();
|
|
@@ -115937,17 +115940,17 @@ var init_client = __esmMin((() => {
|
|
|
115937
115940
|
transport = new StreamableHTTPClientTransport(new URL(proxyUrl), transportOptions);
|
|
115938
115941
|
logMCPDebug(name, `claude.ai proxy transport created successfully`);
|
|
115939
115942
|
} else if ((serverRef.type === "stdio" || !serverRef.type) && isClaudeInChromeMCPServer(name)) {
|
|
115940
|
-
const { createChromeContext } = await import("./mcpServer-
|
|
115943
|
+
const { createChromeContext } = await import("./mcpServer-DsNA51AS.js");
|
|
115941
115944
|
const { createClaudeForChromeMcpServer } = await import("./src-DEXOhFiF.js");
|
|
115942
|
-
const { createLinkedTransportPair } = await import("./InProcessTransport-
|
|
115945
|
+
const { createLinkedTransportPair } = await import("./InProcessTransport-BOU2u8NP.js");
|
|
115943
115946
|
inProcessServer = createClaudeForChromeMcpServer(createChromeContext(serverRef.env));
|
|
115944
115947
|
const [clientTransport, serverTransport] = createLinkedTransportPair();
|
|
115945
115948
|
await inProcessServer.connect(serverTransport);
|
|
115946
115949
|
transport = clientTransport;
|
|
115947
115950
|
logMCPDebug(name, `In-process Chrome MCP server started`);
|
|
115948
115951
|
} else if ((serverRef.type === "stdio" || !serverRef.type) && isComputerUseMCPServer(name)) {
|
|
115949
|
-
const { createComputerUseMcpServerForCli } = await import("./mcpServer-
|
|
115950
|
-
const { createLinkedTransportPair } = await import("./InProcessTransport-
|
|
115952
|
+
const { createComputerUseMcpServerForCli } = await import("./mcpServer-ghUw8jDG.js");
|
|
115953
|
+
const { createLinkedTransportPair } = await import("./InProcessTransport-BOU2u8NP.js");
|
|
115951
115954
|
inProcessServer = await createComputerUseMcpServerForCli();
|
|
115952
115955
|
const [clientTransport, serverTransport] = createLinkedTransportPair();
|
|
115953
115956
|
await inProcessServer.connect(serverTransport);
|
|
@@ -126306,7 +126309,7 @@ async function persistFileSnapshotIfRemote() {
|
|
|
126306
126309
|
uuid: randomUUID$1(),
|
|
126307
126310
|
snapshotFiles
|
|
126308
126311
|
};
|
|
126309
|
-
const { recordTranscript } = await import("./sessionStorage-
|
|
126312
|
+
const { recordTranscript } = await import("./sessionStorage-CeEapMZ8.js");
|
|
126310
126313
|
await recordTranscript([message]);
|
|
126311
126314
|
} catch (error) {
|
|
126312
126315
|
logError$1(error);
|
|
@@ -127032,7 +127035,7 @@ async function loadConversationForResume(source, sourceJsonlFile) {
|
|
|
127032
127035
|
const logsPromise = loadMessageLogs();
|
|
127033
127036
|
let skip = /* @__PURE__ */ new Set();
|
|
127034
127037
|
try {
|
|
127035
|
-
const { listAllLiveSessions } = await import("./udsClient-
|
|
127038
|
+
const { listAllLiveSessions } = await import("./udsClient-DHLTYE90.js");
|
|
127036
127039
|
const live = await listAllLiveSessions();
|
|
127037
127040
|
skip = new Set(live.flatMap((s) => s.kind && s.kind !== "interactive" && s.sessionId ? [s.sessionId] : []));
|
|
127038
127041
|
} catch {}
|
|
@@ -131787,7 +131790,7 @@ async function* runAgent({ agentDefinition, promptMessages, toolUseContext, canU
|
|
|
131787
131790
|
skill
|
|
131788
131791
|
});
|
|
131789
131792
|
}
|
|
131790
|
-
const { formatSkillLoadingMetadata } = await import("./processSlashCommand-
|
|
131793
|
+
const { formatSkillLoadingMetadata } = await import("./processSlashCommand-BZgqDzBb.js");
|
|
131791
131794
|
const loaded = await Promise.all(validSkills.map(async ({ skillName, skill }) => ({
|
|
131792
131795
|
skillName,
|
|
131793
131796
|
skill,
|
|
@@ -132995,7 +132998,7 @@ function StreamingMarkdown({ children }) {
|
|
|
132995
132998
|
var import_react$91, import_jsx_runtime$80, tokenCache, MD_SYNTAX_RE;
|
|
132996
132999
|
var init_Markdown = __esmMin((() => {
|
|
132997
133000
|
init_marked_esm();
|
|
132998
|
-
import_react$91 = /* @__PURE__ */ __toESM(require_react()
|
|
133001
|
+
import_react$91 = /* @__PURE__ */ __toESM(require_react());
|
|
132999
133002
|
init_index_min();
|
|
133000
133003
|
init_useSettings();
|
|
133001
133004
|
init_src$2();
|
|
@@ -133024,7 +133027,7 @@ var init_extra_usage = __esmMin((() => {
|
|
|
133024
133027
|
name: "extra-usage",
|
|
133025
133028
|
description: "Configure extra usage to keep working when limits are hit",
|
|
133026
133029
|
isEnabled: () => isExtraUsageAllowed() && !getIsNonInteractiveSession(),
|
|
133027
|
-
load: () => import("./extra-usage-
|
|
133030
|
+
load: () => import("./extra-usage-DsFGL41p.js")
|
|
133028
133031
|
};
|
|
133029
133032
|
extraUsageNonInteractive = {
|
|
133030
133033
|
type: "local",
|
|
@@ -133035,7 +133038,7 @@ var init_extra_usage = __esmMin((() => {
|
|
|
133035
133038
|
get isHidden() {
|
|
133036
133039
|
return !getIsNonInteractiveSession();
|
|
133037
133040
|
},
|
|
133038
|
-
load: () => import("./extra-usage-noninteractive-
|
|
133041
|
+
load: () => import("./extra-usage-noninteractive-B41fq9zh.js")
|
|
133039
133042
|
};
|
|
133040
133043
|
}));
|
|
133041
133044
|
//#endregion
|
|
@@ -139291,7 +139294,7 @@ function areMessagePropsEqual(prev, next) {
|
|
|
139291
139294
|
}
|
|
139292
139295
|
var import_react$41, import_jsx_runtime$38, Message;
|
|
139293
139296
|
var init_Message = __esmMin((() => {
|
|
139294
|
-
import_react$41 = /* @__PURE__ */ __toESM(require_react()
|
|
139297
|
+
import_react$41 = /* @__PURE__ */ __toESM(require_react());
|
|
139295
139298
|
init_useTerminalSize();
|
|
139296
139299
|
init_src$2();
|
|
139297
139300
|
init_connectorText();
|
|
@@ -139527,7 +139530,7 @@ function isOfficialMarketplaceSkill(command) {
|
|
|
139527
139530
|
if (command.source !== "plugin" || !command.pluginInfo?.repository) return false;
|
|
139528
139531
|
return isOfficialMarketplaceName(parsePluginIdentifier(command.pluginInfo.repository).marketplace);
|
|
139529
139532
|
}
|
|
139530
|
-
var inputSchema$
|
|
139533
|
+
var inputSchema$42, outputSchema$29, SkillTool, SAFE_SKILL_PROPERTIES;
|
|
139531
139534
|
var init_SkillTool = __esmMin((() => {
|
|
139532
139535
|
init_uniqBy();
|
|
139533
139536
|
init_state();
|
|
@@ -139554,7 +139557,7 @@ var init_SkillTool = __esmMin((() => {
|
|
|
139554
139557
|
init_constants$12();
|
|
139555
139558
|
init_prompt$31();
|
|
139556
139559
|
init_UI$24();
|
|
139557
|
-
inputSchema$
|
|
139560
|
+
inputSchema$42 = lazySchema(() => object$1({
|
|
139558
139561
|
skill: string$2().describe("The skill name. E.g., \"commit\", \"review-pr\", or \"pdf\""),
|
|
139559
139562
|
args: string$2().optional().describe("Optional arguments for the skill")
|
|
139560
139563
|
}));
|
|
@@ -139578,7 +139581,7 @@ var init_SkillTool = __esmMin((() => {
|
|
|
139578
139581
|
searchHint: "invoke a slash-command skill",
|
|
139579
139582
|
maxResultSizeChars: 1e5,
|
|
139580
139583
|
get inputSchema() {
|
|
139581
|
-
return inputSchema$
|
|
139584
|
+
return inputSchema$42();
|
|
139582
139585
|
},
|
|
139583
139586
|
get outputSchema() {
|
|
139584
139587
|
return outputSchema$29();
|
|
@@ -139693,7 +139696,7 @@ var init_SkillTool = __esmMin((() => {
|
|
|
139693
139696
|
const command = findCommand(commandName, commands);
|
|
139694
139697
|
recordSkillUsage(commandName);
|
|
139695
139698
|
if (command?.type === "prompt" && command.context === "fork") return executeForkedSkill(command, commandName, args, context, canUseTool, parentMessage, onProgress);
|
|
139696
|
-
const { processPromptSlashCommand } = await import("./processSlashCommand-
|
|
139699
|
+
const { processPromptSlashCommand } = await import("./processSlashCommand-BZgqDzBb.js");
|
|
139697
139700
|
const processedCommand = await processPromptSlashCommand(commandName, args || "", commands, context);
|
|
139698
139701
|
if (!processedCommand.shouldQuery) throw new Error("Command processing failed");
|
|
139699
139702
|
const allowedTools = processedCommand.allowedTools || [];
|
|
@@ -147163,7 +147166,7 @@ function trackGitOperations(command, exitCode, stdout) {
|
|
|
147163
147166
|
getPrCounter()?.add(1);
|
|
147164
147167
|
if (stdout) {
|
|
147165
147168
|
const prInfo = findPrInStdout(stdout);
|
|
147166
|
-
if (prInfo) import("./sessionStorage-
|
|
147169
|
+
if (prInfo) import("./sessionStorage-CeEapMZ8.js").then(({ linkSessionToPR }) => {
|
|
147167
147170
|
import("./state-C-gElcok.js").then(({ getSessionId }) => {
|
|
147168
147171
|
const sessionId = getSessionId();
|
|
147169
147172
|
if (sessionId) linkSessionToPR(sessionId, prInfo.prNumber, prInfo.prUrl, prInfo.prRepository);
|
|
@@ -153031,7 +153034,7 @@ async function* runPowerShellCommand({ input, abortController, setAppState, setT
|
|
|
153031
153034
|
}
|
|
153032
153035
|
}
|
|
153033
153036
|
}
|
|
153034
|
-
var import_jsx_runtime$33, EOL$3, PS_SEARCH_COMMANDS, PS_READ_COMMANDS, PS_SEMANTIC_NEUTRAL_COMMANDS, PROGRESS_THRESHOLD_MS$2, PROGRESS_INTERVAL_MS, ASSISTANT_BLOCKING_BUDGET_MS$1, DISALLOWED_AUTO_BACKGROUND_COMMANDS$1, WINDOWS_SANDBOX_POLICY_REFUSAL, isBackgroundTasksDisabled$2, fullInputSchema$2, inputSchema$
|
|
153037
|
+
var import_jsx_runtime$33, EOL$3, PS_SEARCH_COMMANDS, PS_READ_COMMANDS, PS_SEMANTIC_NEUTRAL_COMMANDS, PROGRESS_THRESHOLD_MS$2, PROGRESS_INTERVAL_MS, ASSISTANT_BLOCKING_BUDGET_MS$1, DISALLOWED_AUTO_BACKGROUND_COMMANDS$1, WINDOWS_SANDBOX_POLICY_REFUSAL, isBackgroundTasksDisabled$2, fullInputSchema$2, inputSchema$41, outputSchema$28, COMMON_BACKGROUND_COMMANDS$1, PowerShellTool;
|
|
153035
153038
|
var init_PowerShellTool = __esmMin((() => {
|
|
153036
153039
|
require_react();
|
|
153037
153040
|
init_v4$1();
|
|
@@ -153103,7 +153106,7 @@ var init_PowerShellTool = __esmMin((() => {
|
|
|
153103
153106
|
run_in_background: semanticBoolean(boolean$2().optional()).describe(`Set to true to run this command in the background. Use Read to read the output later.`),
|
|
153104
153107
|
dangerouslyDisableSandbox: semanticBoolean(boolean$2().optional()).describe("Set this to true to dangerously override sandbox mode and run commands without sandboxing.")
|
|
153105
153108
|
}));
|
|
153106
|
-
inputSchema$
|
|
153109
|
+
inputSchema$41 = lazySchema(() => isBackgroundTasksDisabled$2 ? fullInputSchema$2().omit({ run_in_background: true }) : fullInputSchema$2());
|
|
153107
153110
|
outputSchema$28 = lazySchema(() => object$1({
|
|
153108
153111
|
stdout: string$2().describe("The standard output of the command"),
|
|
153109
153112
|
stderr: string$2().describe("The standard error output of the command"),
|
|
@@ -153169,7 +153172,7 @@ var init_PowerShellTool = __esmMin((() => {
|
|
|
153169
153172
|
return input.command;
|
|
153170
153173
|
},
|
|
153171
153174
|
get inputSchema() {
|
|
153172
|
-
return inputSchema$
|
|
153175
|
+
return inputSchema$41();
|
|
153173
153176
|
},
|
|
153174
153177
|
get outputSchema() {
|
|
153175
153178
|
return outputSchema$28();
|
|
@@ -154706,12 +154709,12 @@ var init_prompt$21 = __esmMin((() => {
|
|
|
154706
154709
|
}));
|
|
154707
154710
|
//#endregion
|
|
154708
154711
|
//#region packages/builtin-tools/src/tools/FileEditTool/types.ts
|
|
154709
|
-
var inputSchema$
|
|
154712
|
+
var inputSchema$40, hunkSchema, gitDiffSchema, outputSchema$27;
|
|
154710
154713
|
var init_types$2 = __esmMin((() => {
|
|
154711
154714
|
init_v4$1();
|
|
154712
154715
|
init_lazySchema();
|
|
154713
154716
|
init_semanticBoolean();
|
|
154714
|
-
inputSchema$
|
|
154717
|
+
inputSchema$40 = lazySchema(() => strictObject({
|
|
154715
154718
|
file_path: string$2().describe("The absolute path to the file to modify"),
|
|
154716
154719
|
old_string: string$2().describe("The text to replace"),
|
|
154717
154720
|
new_string: string$2().describe("The text to replace it with (must be different from old_string)"),
|
|
@@ -155363,7 +155366,7 @@ var init_FileEditTool = __esmMin((() => {
|
|
|
155363
155366
|
return summary ? `Editing ${summary}` : "Editing file";
|
|
155364
155367
|
},
|
|
155365
155368
|
get inputSchema() {
|
|
155366
|
-
return inputSchema$
|
|
155369
|
+
return inputSchema$40();
|
|
155367
155370
|
},
|
|
155368
155371
|
get outputSchema() {
|
|
155369
155372
|
return outputSchema$27();
|
|
@@ -156667,7 +156670,7 @@ var init_UI$20 = __esmMin((() => {
|
|
|
156667
156670
|
}));
|
|
156668
156671
|
//#endregion
|
|
156669
156672
|
//#region packages/builtin-tools/src/tools/FileWriteTool/FileWriteTool.ts
|
|
156670
|
-
var inputSchema$
|
|
156673
|
+
var inputSchema$39, outputSchema$26, FileWriteTool;
|
|
156671
156674
|
var init_FileWriteTool = __esmMin((() => {
|
|
156672
156675
|
init_analytics();
|
|
156673
156676
|
init_v4$1();
|
|
@@ -156699,7 +156702,7 @@ var init_FileWriteTool = __esmMin((() => {
|
|
|
156699
156702
|
init_types$2();
|
|
156700
156703
|
init_prompt$35();
|
|
156701
156704
|
init_UI$20();
|
|
156702
|
-
inputSchema$
|
|
156705
|
+
inputSchema$39 = lazySchema(() => strictObject({
|
|
156703
156706
|
file_path: string$2().describe("The absolute path to the file to write (must be absolute, not relative)"),
|
|
156704
156707
|
content: string$2().describe("The content to write to the file")
|
|
156705
156708
|
}));
|
|
@@ -156731,7 +156734,7 @@ var init_FileWriteTool = __esmMin((() => {
|
|
|
156731
156734
|
renderToolUseMessage: renderToolUseMessage$19,
|
|
156732
156735
|
isResultTruncated,
|
|
156733
156736
|
get inputSchema() {
|
|
156734
|
-
return inputSchema$
|
|
156737
|
+
return inputSchema$39();
|
|
156735
156738
|
},
|
|
156736
156739
|
get outputSchema() {
|
|
156737
156740
|
return outputSchema$26();
|
|
@@ -157177,7 +157180,7 @@ function formatLimitInfo(appliedLimit, appliedOffset) {
|
|
|
157177
157180
|
if (appliedOffset) parts.push(`offset: ${appliedOffset}`);
|
|
157178
157181
|
return parts.join(", ");
|
|
157179
157182
|
}
|
|
157180
|
-
var inputSchema$
|
|
157183
|
+
var inputSchema$38, VCS_DIRECTORIES_TO_EXCLUDE, DEFAULT_HEAD_LIMIT, outputSchema$25, GrepTool;
|
|
157181
157184
|
var init_GrepTool = __esmMin((() => {
|
|
157182
157185
|
init_v4$1();
|
|
157183
157186
|
init_Tool();
|
|
@@ -157196,7 +157199,7 @@ var init_GrepTool = __esmMin((() => {
|
|
|
157196
157199
|
init_stringUtils();
|
|
157197
157200
|
init_prompt$37();
|
|
157198
157201
|
init_UI$19();
|
|
157199
|
-
inputSchema$
|
|
157202
|
+
inputSchema$38 = lazySchema(() => strictObject({
|
|
157200
157203
|
pattern: string$2().describe("The regular expression pattern to search for in file contents"),
|
|
157201
157204
|
path: string$2().optional().describe("File or directory to search in (rg PATH). Defaults to current working directory."),
|
|
157202
157205
|
glob: string$2().optional().describe("Glob pattern to filter files (e.g. \"*.js\", \"*.{ts,tsx}\") - maps to rg --glob"),
|
|
@@ -157256,7 +157259,7 @@ var init_GrepTool = __esmMin((() => {
|
|
|
157256
157259
|
return summary ? `Searching for ${summary}` : "Searching";
|
|
157257
157260
|
},
|
|
157258
157261
|
get inputSchema() {
|
|
157259
|
-
return inputSchema$
|
|
157262
|
+
return inputSchema$38();
|
|
157260
157263
|
},
|
|
157261
157264
|
get outputSchema() {
|
|
157262
157265
|
return outputSchema$25();
|
|
@@ -157506,7 +157509,7 @@ var init_UI$18 = __esmMin((() => {
|
|
|
157506
157509
|
}));
|
|
157507
157510
|
//#endregion
|
|
157508
157511
|
//#region packages/builtin-tools/src/tools/GlobTool/GlobTool.ts
|
|
157509
|
-
var inputSchema$
|
|
157512
|
+
var inputSchema$37, outputSchema$24, GlobTool;
|
|
157510
157513
|
var init_GlobTool = __esmMin((() => {
|
|
157511
157514
|
init_v4$1();
|
|
157512
157515
|
init_Tool();
|
|
@@ -157521,7 +157524,7 @@ var init_GlobTool = __esmMin((() => {
|
|
|
157521
157524
|
init_shellRuleMatching();
|
|
157522
157525
|
init_prompt$34();
|
|
157523
157526
|
init_UI$18();
|
|
157524
|
-
inputSchema$
|
|
157527
|
+
inputSchema$37 = lazySchema(() => strictObject({
|
|
157525
157528
|
pattern: string$2().describe("The glob pattern to match files against"),
|
|
157526
157529
|
path: string$2().optional().describe("The directory to search in. If not specified, the current working directory will be used. IMPORTANT: Omit this field to use the default directory. DO NOT enter \"undefined\" or \"null\" - simply omit it for the default behavior. Must be a valid directory path if provided.")
|
|
157527
157530
|
}));
|
|
@@ -157545,7 +157548,7 @@ var init_GlobTool = __esmMin((() => {
|
|
|
157545
157548
|
return summary ? `Finding ${summary}` : "Finding files";
|
|
157546
157549
|
},
|
|
157547
157550
|
get inputSchema() {
|
|
157548
|
-
return inputSchema$
|
|
157551
|
+
return inputSchema$37();
|
|
157549
157552
|
},
|
|
157550
157553
|
get outputSchema() {
|
|
157551
157554
|
return outputSchema$24();
|
|
@@ -157911,7 +157914,7 @@ var init_UI$17 = __esmMin((() => {
|
|
|
157911
157914
|
}));
|
|
157912
157915
|
//#endregion
|
|
157913
157916
|
//#region packages/builtin-tools/src/tools/NotebookEditTool/NotebookEditTool.ts
|
|
157914
|
-
var inputSchema$
|
|
157917
|
+
var inputSchema$36, outputSchema$23, NotebookEditTool;
|
|
157915
157918
|
var init_NotebookEditTool = __esmMin((() => {
|
|
157916
157919
|
init_fileHistory();
|
|
157917
157920
|
init_v4$1();
|
|
@@ -157928,7 +157931,7 @@ var init_NotebookEditTool = __esmMin((() => {
|
|
|
157928
157931
|
init_constants$17();
|
|
157929
157932
|
init_prompt$20();
|
|
157930
157933
|
init_UI$17();
|
|
157931
|
-
inputSchema$
|
|
157934
|
+
inputSchema$36 = lazySchema(() => strictObject({
|
|
157932
157935
|
notebook_path: string$2().describe("The absolute path to the Jupyter notebook file to edit (must be absolute, not relative)"),
|
|
157933
157936
|
cell_id: string$2().optional().describe("The ID of the cell to edit. When inserting a new cell, the new cell will be inserted after the cell with this ID, or at the beginning if not specified."),
|
|
157934
157937
|
new_source: string$2().describe("The new source for the cell"),
|
|
@@ -157970,7 +157973,7 @@ var init_NotebookEditTool = __esmMin((() => {
|
|
|
157970
157973
|
return summary ? `Editing notebook ${summary}` : "Editing notebook";
|
|
157971
157974
|
},
|
|
157972
157975
|
get inputSchema() {
|
|
157973
|
-
return inputSchema$
|
|
157976
|
+
return inputSchema$36();
|
|
157974
157977
|
},
|
|
157975
157978
|
get outputSchema() {
|
|
157976
157979
|
return outputSchema$23();
|
|
@@ -158693,7 +158696,7 @@ function buildSuggestions(ruleContent) {
|
|
|
158693
158696
|
behavior: "allow"
|
|
158694
158697
|
}];
|
|
158695
158698
|
}
|
|
158696
|
-
var inputSchema$
|
|
158699
|
+
var inputSchema$35, outputSchema$22, WebFetchTool;
|
|
158697
158700
|
var init_WebFetchTool = __esmMin((() => {
|
|
158698
158701
|
init_v4$1();
|
|
158699
158702
|
init_Tool();
|
|
@@ -158704,7 +158707,7 @@ var init_WebFetchTool = __esmMin((() => {
|
|
|
158704
158707
|
init_prompt$32();
|
|
158705
158708
|
init_UI$16();
|
|
158706
158709
|
init_utils();
|
|
158707
|
-
inputSchema$
|
|
158710
|
+
inputSchema$35 = lazySchema(() => strictObject({
|
|
158708
158711
|
url: string$2().url().describe("The URL to fetch content from"),
|
|
158709
158712
|
prompt: string$2().describe("The prompt to run on the fetched content")
|
|
158710
158713
|
}));
|
|
@@ -158738,7 +158741,7 @@ var init_WebFetchTool = __esmMin((() => {
|
|
|
158738
158741
|
return summary ? `Fetching ${summary}` : "Fetching web page";
|
|
158739
158742
|
},
|
|
158740
158743
|
get inputSchema() {
|
|
158741
|
-
return inputSchema$
|
|
158744
|
+
return inputSchema$35();
|
|
158742
158745
|
},
|
|
158743
158746
|
get outputSchema() {
|
|
158744
158747
|
return outputSchema$22();
|
|
@@ -159534,7 +159537,7 @@ var init_UI$15 = __esmMin((() => {
|
|
|
159534
159537
|
}));
|
|
159535
159538
|
//#endregion
|
|
159536
159539
|
//#region packages/builtin-tools/src/tools/TaskStopTool/TaskStopTool.ts
|
|
159537
|
-
var inputSchema$
|
|
159540
|
+
var inputSchema$34, outputSchema$21, TaskStopTool;
|
|
159538
159541
|
var init_TaskStopTool = __esmMin((() => {
|
|
159539
159542
|
init_v4$1();
|
|
159540
159543
|
init_Tool();
|
|
@@ -159543,7 +159546,7 @@ var init_TaskStopTool = __esmMin((() => {
|
|
|
159543
159546
|
init_slowOperations();
|
|
159544
159547
|
init_prompt$38();
|
|
159545
159548
|
init_UI$15();
|
|
159546
|
-
inputSchema$
|
|
159549
|
+
inputSchema$34 = lazySchema(() => strictObject({
|
|
159547
159550
|
task_id: string$2().optional().describe("The ID of the background task to stop"),
|
|
159548
159551
|
shell_id: string$2().optional().describe("Deprecated: use task_id instead")
|
|
159549
159552
|
}));
|
|
@@ -159560,7 +159563,7 @@ var init_TaskStopTool = __esmMin((() => {
|
|
|
159560
159563
|
maxResultSizeChars: 1e5,
|
|
159561
159564
|
userFacingName: () => process.env.USER_TYPE === "ant" ? "" : "Stop Task",
|
|
159562
159565
|
get inputSchema() {
|
|
159563
|
-
return inputSchema$
|
|
159566
|
+
return inputSchema$34();
|
|
159564
159567
|
},
|
|
159565
159568
|
get outputSchema() {
|
|
159566
159569
|
return outputSchema$21();
|
|
@@ -159665,7 +159668,7 @@ async function resolveAttachments(rawPaths, uploadCtx) {
|
|
|
159665
159668
|
}
|
|
159666
159669
|
{
|
|
159667
159670
|
const shouldUpload = uploadCtx.replBridgeEnabled || isEnvTruthy(process.env.CLAUDE_CODE_BRIEF_UPLOAD);
|
|
159668
|
-
const { uploadBriefAttachment } = await import("./upload-
|
|
159671
|
+
const { uploadBriefAttachment } = await import("./upload-wXw31qT5.js");
|
|
159669
159672
|
const uuids = await Promise.all(stated.map((a) => uploadBriefAttachment(a.path, a.size, {
|
|
159670
159673
|
replBridgeEnabled: shouldUpload,
|
|
159671
159674
|
signal: uploadCtx.signal
|
|
@@ -159834,7 +159837,7 @@ function isBriefEntitled() {
|
|
|
159834
159837
|
function isBriefEnabled() {
|
|
159835
159838
|
return (getKairosActive() || getUserMsgOptIn()) && isBriefEntitled();
|
|
159836
159839
|
}
|
|
159837
|
-
var inputSchema$
|
|
159840
|
+
var inputSchema$33, outputSchema$20, KAIROS_BRIEF_REFRESH_MS, BriefTool;
|
|
159838
159841
|
var init_BriefTool = __esmMin((() => {
|
|
159839
159842
|
init_v4$1();
|
|
159840
159843
|
init_state();
|
|
@@ -159847,7 +159850,7 @@ var init_BriefTool = __esmMin((() => {
|
|
|
159847
159850
|
init_attachments$1();
|
|
159848
159851
|
init_prompt$39();
|
|
159849
159852
|
init_UI$14();
|
|
159850
|
-
inputSchema$
|
|
159853
|
+
inputSchema$33 = lazySchema(() => strictObject({
|
|
159851
159854
|
message: string$2().describe("The message for the user. Supports markdown formatting."),
|
|
159852
159855
|
attachments: array$1(string$2()).optional().describe("Optional file paths (absolute or relative to cwd) to attach. Use for photos, screenshots, diffs, logs, or any file the user should see alongside your message."),
|
|
159853
159856
|
status: _enum$1(["normal", "proactive"]).describe("Use 'proactive' when you're surfacing something the user hasn't asked for and needs to see now — task completion while they're away, a blocker you hit, an unsolicited status update. Use 'normal' when replying to something the user just said.")
|
|
@@ -159872,7 +159875,7 @@ var init_BriefTool = __esmMin((() => {
|
|
|
159872
159875
|
return "";
|
|
159873
159876
|
},
|
|
159874
159877
|
get inputSchema() {
|
|
159875
|
-
return inputSchema$
|
|
159878
|
+
return inputSchema$33();
|
|
159876
159879
|
},
|
|
159877
159880
|
get outputSchema() {
|
|
159878
159881
|
return outputSchema$20();
|
|
@@ -160872,7 +160875,7 @@ function TaskOutputResultDisplay({ content, verbose = false, theme }) {
|
|
|
160872
160875
|
})]
|
|
160873
160876
|
});
|
|
160874
160877
|
}
|
|
160875
|
-
var import_jsx_runtime$17, inputSchema$
|
|
160878
|
+
var import_jsx_runtime$17, inputSchema$32, TaskOutputTool;
|
|
160876
160879
|
var init_TaskOutputTool = __esmMin((() => {
|
|
160877
160880
|
require_react();
|
|
160878
160881
|
init_v4$1();
|
|
@@ -160896,7 +160899,7 @@ var init_TaskOutputTool = __esmMin((() => {
|
|
|
160896
160899
|
init_BashToolResultMessage();
|
|
160897
160900
|
init_constants$21();
|
|
160898
160901
|
import_jsx_runtime$17 = require_jsx_runtime();
|
|
160899
|
-
inputSchema$
|
|
160902
|
+
inputSchema$32 = lazySchema(() => strictObject({
|
|
160900
160903
|
task_id: string$2().describe("The task ID to get output from"),
|
|
160901
160904
|
block: semanticBoolean(boolean$2().default(true)).describe("Whether to wait for completion"),
|
|
160902
160905
|
timeout: number$2().min(0).max(6e5).default(3e4).describe("Max wait time in ms")
|
|
@@ -160911,7 +160914,7 @@ var init_TaskOutputTool = __esmMin((() => {
|
|
|
160911
160914
|
return "Task Output";
|
|
160912
160915
|
},
|
|
160913
160916
|
get inputSchema() {
|
|
160914
|
-
return inputSchema$
|
|
160917
|
+
return inputSchema$32();
|
|
160915
160918
|
},
|
|
160916
160919
|
async description() {
|
|
160917
160920
|
return "[Deprecated] — prefer Read on the task output file path";
|
|
@@ -165749,7 +165752,7 @@ var init_UI$12 = __esmMin((() => {
|
|
|
165749
165752
|
}));
|
|
165750
165753
|
//#endregion
|
|
165751
165754
|
//#region packages/builtin-tools/src/tools/WebSearchTool/WebSearchTool.ts
|
|
165752
|
-
var inputSchema$
|
|
165755
|
+
var inputSchema$31, searchResultSchema, outputSchema$19, WebSearchTool;
|
|
165753
165756
|
var init_WebSearchTool = __esmMin((() => {
|
|
165754
165757
|
init_v4$1();
|
|
165755
165758
|
init_Tool();
|
|
@@ -165757,7 +165760,7 @@ var init_WebSearchTool = __esmMin((() => {
|
|
|
165757
165760
|
init_adapters();
|
|
165758
165761
|
init_prompt$30();
|
|
165759
165762
|
init_UI$12();
|
|
165760
|
-
inputSchema$
|
|
165763
|
+
inputSchema$31 = lazySchema(() => strictObject({
|
|
165761
165764
|
query: string$2().min(2).describe("The search query to use"),
|
|
165762
165765
|
allowed_domains: array$1(string$2()).optional().describe("Only include search results from these domains"),
|
|
165763
165766
|
blocked_domains: array$1(string$2()).optional().describe("Never include search results from these domains"),
|
|
@@ -165806,7 +165809,7 @@ var init_WebSearchTool = __esmMin((() => {
|
|
|
165806
165809
|
return true;
|
|
165807
165810
|
},
|
|
165808
165811
|
get inputSchema() {
|
|
165809
|
-
return inputSchema$
|
|
165812
|
+
return inputSchema$31();
|
|
165810
165813
|
},
|
|
165811
165814
|
get outputSchema() {
|
|
165812
165815
|
return outputSchema$19();
|
|
@@ -166110,7 +166113,7 @@ var init_autoModeState = __esmMin((() => {
|
|
|
166110
166113
|
autoModeActive = false;
|
|
166111
166114
|
autoModeFlagCli = false;
|
|
166112
166115
|
autoModeCircuitBroken = false;
|
|
166113
|
-
})), autoModeStateModule$4, permissionSetupModule, allowedPromptSchema, inputSchema$
|
|
166116
|
+
})), autoModeStateModule$4, permissionSetupModule, allowedPromptSchema, inputSchema$30, outputSchema$18, ExitPlanModeV2Tool;
|
|
166114
166117
|
var init_ExitPlanModeV2Tool = __esmMin((() => {
|
|
166115
166118
|
init_v4$1();
|
|
166116
166119
|
init_state();
|
|
@@ -166137,8 +166140,8 @@ var init_ExitPlanModeV2Tool = __esmMin((() => {
|
|
|
166137
166140
|
tool: _enum$1(["Bash"]).describe("The tool this prompt applies to"),
|
|
166138
166141
|
prompt: string$2().describe("Semantic description of the action, e.g. \"run tests\", \"install dependencies\"")
|
|
166139
166142
|
}));
|
|
166140
|
-
inputSchema$
|
|
166141
|
-
lazySchema(() => inputSchema$
|
|
166143
|
+
inputSchema$30 = lazySchema(() => strictObject({ allowedPrompts: array$1(allowedPromptSchema()).optional().describe("Prompt-based permissions needed to implement the plan. These describe categories of actions rather than specific commands.") }).passthrough());
|
|
166144
|
+
lazySchema(() => inputSchema$30().extend({
|
|
166142
166145
|
plan: string$2().optional().describe("The plan content (injected by normalizeToolInput from disk)"),
|
|
166143
166146
|
planFilePath: string$2().optional().describe("The plan file path (injected by normalizeToolInput)")
|
|
166144
166147
|
}));
|
|
@@ -166162,7 +166165,7 @@ var init_ExitPlanModeV2Tool = __esmMin((() => {
|
|
|
166162
166165
|
return EXIT_PLAN_MODE_V2_TOOL_PROMPT;
|
|
166163
166166
|
},
|
|
166164
166167
|
get inputSchema() {
|
|
166165
|
-
return inputSchema$
|
|
166168
|
+
return inputSchema$30();
|
|
166166
166169
|
},
|
|
166167
166170
|
get outputSchema() {
|
|
166168
166171
|
return outputSchema$18();
|
|
@@ -166346,13 +166349,13 @@ ${plan}`,
|
|
|
166346
166349
|
}));
|
|
166347
166350
|
//#endregion
|
|
166348
166351
|
//#region packages/builtin-tools/src/tools/testing/TestingPermissionTool.tsx
|
|
166349
|
-
var NAME, inputSchema$
|
|
166352
|
+
var NAME, inputSchema$29, TestingPermissionTool;
|
|
166350
166353
|
var init_TestingPermissionTool = __esmMin((() => {
|
|
166351
166354
|
init_v4$1();
|
|
166352
166355
|
init_Tool();
|
|
166353
166356
|
init_lazySchema();
|
|
166354
166357
|
NAME = "TestingPermission";
|
|
166355
|
-
inputSchema$
|
|
166358
|
+
inputSchema$29 = lazySchema(() => strictObject({}));
|
|
166356
166359
|
TestingPermissionTool = buildTool({
|
|
166357
166360
|
name: NAME,
|
|
166358
166361
|
maxResultSizeChars: 1e5,
|
|
@@ -166363,7 +166366,7 @@ var init_TestingPermissionTool = __esmMin((() => {
|
|
|
166363
166366
|
return "Test tool that always asks for permission before executing. Used for end-to-end testing.";
|
|
166364
166367
|
},
|
|
166365
166368
|
get inputSchema() {
|
|
166366
|
-
return inputSchema$
|
|
166369
|
+
return inputSchema$29();
|
|
166367
166370
|
},
|
|
166368
166371
|
userFacingName() {
|
|
166369
166372
|
return "TestingPermission";
|
|
@@ -166446,7 +166449,7 @@ function validateHtmlPreview(preview) {
|
|
|
166446
166449
|
if (!/<[a-z][^>]*>/i.test(preview)) return "preview must contain HTML (previewFormat is set to \"html\"). Wrap content in a tag like <div> or <pre>.";
|
|
166447
166450
|
return null;
|
|
166448
166451
|
}
|
|
166449
|
-
var import_jsx_runtime$14, questionOptionSchema, questionSchema, annotationsSchema, UNIQUENESS_REFINE, commonFields, inputSchema$
|
|
166452
|
+
var import_jsx_runtime$14, questionOptionSchema, questionSchema, annotationsSchema, UNIQUENESS_REFINE, commonFields, inputSchema$28, outputSchema$17, AskUserQuestionTool;
|
|
166450
166453
|
var init_AskUserQuestionTool = __esmMin((() => {
|
|
166451
166454
|
require_react();
|
|
166452
166455
|
init_state();
|
|
@@ -166494,7 +166497,7 @@ var init_AskUserQuestionTool = __esmMin((() => {
|
|
|
166494
166497
|
annotations: annotationsSchema(),
|
|
166495
166498
|
metadata: object$1({ source: string$2().optional().describe("Optional identifier for the source of this question (e.g., \"remember\" for /remember command). Used for analytics tracking.") }).optional().describe("Optional metadata for tracking and analytics purposes. Not displayed to user.")
|
|
166496
166499
|
}));
|
|
166497
|
-
inputSchema$
|
|
166500
|
+
inputSchema$28 = lazySchema(() => strictObject({
|
|
166498
166501
|
questions: array$1(questionSchema()).min(1).max(4).describe("Questions to ask the user (1-4 questions)"),
|
|
166499
166502
|
...commonFields()
|
|
166500
166503
|
}).refine(UNIQUENESS_REFINE.check, { message: UNIQUENESS_REFINE.message }));
|
|
@@ -166517,7 +166520,7 @@ var init_AskUserQuestionTool = __esmMin((() => {
|
|
|
166517
166520
|
return ASK_USER_QUESTION_TOOL_PROMPT + PREVIEW_FEATURE_PROMPT[format];
|
|
166518
166521
|
},
|
|
166519
166522
|
get inputSchema() {
|
|
166520
|
-
return inputSchema$
|
|
166523
|
+
return inputSchema$28();
|
|
166521
166524
|
},
|
|
166522
166525
|
get outputSchema() {
|
|
166523
166526
|
return outputSchema$17();
|
|
@@ -167456,7 +167459,7 @@ function countUniqueFilesFromOutgoingCalls(calls) {
|
|
|
167456
167459
|
const validUris = calls.map((call) => call.to?.uri).filter((uri) => uri);
|
|
167457
167460
|
return new Set(validUris).size;
|
|
167458
167461
|
}
|
|
167459
|
-
var MAX_LSP_FILE_SIZE_BYTES, inputSchema$
|
|
167462
|
+
var MAX_LSP_FILE_SIZE_BYTES, inputSchema$27, outputSchema$16, LSPTool;
|
|
167460
167463
|
var init_LSPTool = __esmMin((() => {
|
|
167461
167464
|
init_v4$1();
|
|
167462
167465
|
init_manager();
|
|
@@ -167476,7 +167479,7 @@ var init_LSPTool = __esmMin((() => {
|
|
|
167476
167479
|
init_schemas();
|
|
167477
167480
|
init_UI$10();
|
|
167478
167481
|
MAX_LSP_FILE_SIZE_BYTES = 1e7;
|
|
167479
|
-
inputSchema$
|
|
167482
|
+
inputSchema$27 = lazySchema(() => strictObject({
|
|
167480
167483
|
operation: _enum$1([
|
|
167481
167484
|
"goToDefinition",
|
|
167482
167485
|
"findReferences",
|
|
@@ -167523,7 +167526,7 @@ var init_LSPTool = __esmMin((() => {
|
|
|
167523
167526
|
return isLspConnected();
|
|
167524
167527
|
},
|
|
167525
167528
|
get inputSchema() {
|
|
167526
|
-
return inputSchema$
|
|
167529
|
+
return inputSchema$27();
|
|
167527
167530
|
},
|
|
167528
167531
|
get outputSchema() {
|
|
167529
167532
|
return outputSchema$16();
|
|
@@ -167937,7 +167940,7 @@ var init_UI$9 = __esmMin((() => {
|
|
|
167937
167940
|
}));
|
|
167938
167941
|
//#endregion
|
|
167939
167942
|
//#region packages/builtin-tools/src/tools/EnterPlanModeTool/EnterPlanModeTool.ts
|
|
167940
|
-
var inputSchema$
|
|
167943
|
+
var inputSchema$26, outputSchema$15, EnterPlanModeTool;
|
|
167941
167944
|
var init_EnterPlanModeTool = __esmMin((() => {
|
|
167942
167945
|
init_v4$1();
|
|
167943
167946
|
init_state();
|
|
@@ -167949,7 +167952,7 @@ var init_EnterPlanModeTool = __esmMin((() => {
|
|
|
167949
167952
|
init_constants$14();
|
|
167950
167953
|
init_prompt$17();
|
|
167951
167954
|
init_UI$9();
|
|
167952
|
-
inputSchema$
|
|
167955
|
+
inputSchema$26 = lazySchema(() => strictObject({}));
|
|
167953
167956
|
outputSchema$15 = lazySchema(() => object$1({ message: string$2().describe("Confirmation that plan mode was entered") }));
|
|
167954
167957
|
EnterPlanModeTool = buildTool({
|
|
167955
167958
|
name: ENTER_PLAN_MODE_TOOL_NAME,
|
|
@@ -167962,7 +167965,7 @@ var init_EnterPlanModeTool = __esmMin((() => {
|
|
|
167962
167965
|
return getEnterPlanModeToolPrompt();
|
|
167963
167966
|
},
|
|
167964
167967
|
get inputSchema() {
|
|
167965
|
-
return inputSchema$
|
|
167968
|
+
return inputSchema$26();
|
|
167966
167969
|
},
|
|
167967
167970
|
get outputSchema() {
|
|
167968
167971
|
return outputSchema$15();
|
|
@@ -168076,7 +168079,7 @@ var init_UI$8 = __esmMin((() => {
|
|
|
168076
168079
|
}));
|
|
168077
168080
|
//#endregion
|
|
168078
168081
|
//#region packages/builtin-tools/src/tools/EnterWorktreeTool/EnterWorktreeTool.ts
|
|
168079
|
-
var inputSchema$
|
|
168082
|
+
var inputSchema$25, outputSchema$14, EnterWorktreeTool;
|
|
168080
168083
|
var init_EnterWorktreeTool = __esmMin((() => {
|
|
168081
168084
|
init_v4$1();
|
|
168082
168085
|
init_state();
|
|
@@ -168094,7 +168097,7 @@ var init_EnterWorktreeTool = __esmMin((() => {
|
|
|
168094
168097
|
init_constants$6();
|
|
168095
168098
|
init_prompt$16();
|
|
168096
168099
|
init_UI$8();
|
|
168097
|
-
inputSchema$
|
|
168100
|
+
inputSchema$25 = lazySchema(() => strictObject({ name: string$2().superRefine((s, ctx) => {
|
|
168098
168101
|
try {
|
|
168099
168102
|
validateWorktreeSlug(s);
|
|
168100
168103
|
} catch (e) {
|
|
@@ -168120,7 +168123,7 @@ var init_EnterWorktreeTool = __esmMin((() => {
|
|
|
168120
168123
|
return getEnterWorktreeToolPrompt();
|
|
168121
168124
|
},
|
|
168122
168125
|
get inputSchema() {
|
|
168123
|
-
return inputSchema$
|
|
168126
|
+
return inputSchema$25();
|
|
168124
168127
|
},
|
|
168125
168128
|
get outputSchema() {
|
|
168126
168129
|
return outputSchema$14();
|
|
@@ -168286,7 +168289,7 @@ function restoreSessionToOriginalCwd(originalCwd, projectRootIsWorktree) {
|
|
|
168286
168289
|
clearMemoryFileCaches();
|
|
168287
168290
|
getPlansDirectory.cache.clear?.();
|
|
168288
168291
|
}
|
|
168289
|
-
var inputSchema$
|
|
168292
|
+
var inputSchema$24, outputSchema$13, ExitWorktreeTool;
|
|
168290
168293
|
var init_ExitWorktreeTool = __esmMin((() => {
|
|
168291
168294
|
init_v4$1();
|
|
168292
168295
|
init_state();
|
|
@@ -168305,7 +168308,7 @@ var init_ExitWorktreeTool = __esmMin((() => {
|
|
|
168305
168308
|
init_constants$5();
|
|
168306
168309
|
init_prompt$15();
|
|
168307
168310
|
init_UI$7();
|
|
168308
|
-
inputSchema$
|
|
168311
|
+
inputSchema$24 = lazySchema(() => strictObject({
|
|
168309
168312
|
action: _enum$1(["keep", "remove"]).describe("\"keep\" leaves the worktree and branch on disk; \"remove\" deletes both."),
|
|
168310
168313
|
discard_changes: boolean$2().optional().describe("Required true when action is \"remove\" and the worktree has uncommitted files or unmerged commits. The tool will refuse and list them otherwise.")
|
|
168311
168314
|
}));
|
|
@@ -168330,7 +168333,7 @@ var init_ExitWorktreeTool = __esmMin((() => {
|
|
|
168330
168333
|
return getExitWorktreeToolPrompt();
|
|
168331
168334
|
},
|
|
168332
168335
|
get inputSchema() {
|
|
168333
|
-
return inputSchema$
|
|
168336
|
+
return inputSchema$24();
|
|
168334
168337
|
},
|
|
168335
168338
|
get outputSchema() {
|
|
168336
168339
|
return outputSchema$13();
|
|
@@ -169194,7 +169197,7 @@ function buildNestedObject(path, value) {
|
|
|
169194
169197
|
if (path.length === 1) return { [key]: value };
|
|
169195
169198
|
return { [key]: buildNestedObject(path.slice(1), value) };
|
|
169196
169199
|
}
|
|
169197
|
-
var inputSchema$
|
|
169200
|
+
var inputSchema$23, outputSchema$12, ConfigTool;
|
|
169198
169201
|
var init_ConfigTool = __esmMin((() => {
|
|
169199
169202
|
init_v4$1();
|
|
169200
169203
|
init_analytics();
|
|
@@ -169209,7 +169212,7 @@ var init_ConfigTool = __esmMin((() => {
|
|
|
169209
169212
|
init_prompt$14();
|
|
169210
169213
|
init_supportedSettings();
|
|
169211
169214
|
init_UI$6();
|
|
169212
|
-
inputSchema$
|
|
169215
|
+
inputSchema$23 = lazySchema(() => strictObject({
|
|
169213
169216
|
setting: string$2().describe("The setting key (e.g., \"theme\", \"model\", \"permissions.defaultMode\")"),
|
|
169214
169217
|
value: union$1([
|
|
169215
169218
|
string$2(),
|
|
@@ -169237,7 +169240,7 @@ var init_ConfigTool = __esmMin((() => {
|
|
|
169237
169240
|
return generatePrompt();
|
|
169238
169241
|
},
|
|
169239
169242
|
get inputSchema() {
|
|
169240
|
-
return inputSchema$
|
|
169243
|
+
return inputSchema$23();
|
|
169241
169244
|
},
|
|
169242
169245
|
get outputSchema() {
|
|
169243
169246
|
return outputSchema$12();
|
|
@@ -169270,7 +169273,7 @@ var init_ConfigTool = __esmMin((() => {
|
|
|
169270
169273
|
renderToolUseRejectedMessage,
|
|
169271
169274
|
async call({ setting, value }, context) {
|
|
169272
169275
|
if (setting === "voiceEnabled") {
|
|
169273
|
-
const { isVoiceGrowthBookEnabled } = await import("./voiceModeEnabled-
|
|
169276
|
+
const { isVoiceGrowthBookEnabled } = await import("./voiceModeEnabled-Dwb5wUDV.js");
|
|
169274
169277
|
if (!isVoiceGrowthBookEnabled()) return { data: {
|
|
169275
169278
|
success: false,
|
|
169276
169279
|
error: `Unknown setting: "${setting}"`
|
|
@@ -169345,16 +169348,16 @@ var init_ConfigTool = __esmMin((() => {
|
|
|
169345
169348
|
} };
|
|
169346
169349
|
}
|
|
169347
169350
|
if (setting === "voiceEnabled" && finalValue === true) {
|
|
169348
|
-
const { isVoiceModeEnabled } = await import("./voiceModeEnabled-
|
|
169351
|
+
const { isVoiceModeEnabled } = await import("./voiceModeEnabled-Dwb5wUDV.js");
|
|
169349
169352
|
if (!isVoiceModeEnabled()) {
|
|
169350
|
-
const { isAnthropicAuthEnabled } = await import("./auth-
|
|
169353
|
+
const { isAnthropicAuthEnabled } = await import("./auth-C6J2xSzM.js");
|
|
169351
169354
|
return { data: {
|
|
169352
169355
|
success: false,
|
|
169353
169356
|
error: !isAnthropicAuthEnabled() ? "Voice mode requires a Claude.ai account. Please run /login to sign in." : "Voice mode is not available."
|
|
169354
169357
|
} };
|
|
169355
169358
|
}
|
|
169356
|
-
const { isVoiceStreamAvailable } = await import("./voiceStreamSTT-
|
|
169357
|
-
const { checkRecordingAvailability, checkVoiceDependencies, requestMicrophonePermission } = await import("./voice-
|
|
169359
|
+
const { isVoiceStreamAvailable } = await import("./voiceStreamSTT-XLFvAUJH.js");
|
|
169360
|
+
const { checkRecordingAvailability, checkVoiceDependencies, requestMicrophonePermission } = await import("./voice-rwslejKk.js");
|
|
169358
169361
|
const recording = await checkRecordingAvailability();
|
|
169359
169362
|
if (!recording.available) return { data: {
|
|
169360
169363
|
success: false,
|
|
@@ -169407,7 +169410,7 @@ var init_ConfigTool = __esmMin((() => {
|
|
|
169407
169410
|
} };
|
|
169408
169411
|
}
|
|
169409
169412
|
if (setting === "voiceEnabled") {
|
|
169410
|
-
const { settingsChangeDetector } = await import("./changeDetector-
|
|
169413
|
+
const { settingsChangeDetector } = await import("./changeDetector-BRvWRr3-.js");
|
|
169411
169414
|
settingsChangeDetector.notifyChange("userSettings");
|
|
169412
169415
|
}
|
|
169413
169416
|
if (config.appStateKey) {
|
|
@@ -169527,7 +169530,7 @@ var init_prompt$13 = __esmMin((() => {
|
|
|
169527
169530
|
}));
|
|
169528
169531
|
//#endregion
|
|
169529
169532
|
//#region packages/builtin-tools/src/tools/TaskCreateTool/TaskCreateTool.ts
|
|
169530
|
-
var inputSchema$
|
|
169533
|
+
var inputSchema$22, outputSchema$11, TaskCreateTool;
|
|
169531
169534
|
var init_TaskCreateTool = __esmMin((() => {
|
|
169532
169535
|
init_v4$1();
|
|
169533
169536
|
init_Tool();
|
|
@@ -169537,7 +169540,7 @@ var init_TaskCreateTool = __esmMin((() => {
|
|
|
169537
169540
|
init_teammate();
|
|
169538
169541
|
init_constants$10();
|
|
169539
169542
|
init_prompt$13();
|
|
169540
|
-
inputSchema$
|
|
169543
|
+
inputSchema$22 = lazySchema(() => strictObject({
|
|
169541
169544
|
subject: string$2().describe("A brief title for the task"),
|
|
169542
169545
|
description: string$2().describe("What needs to be done"),
|
|
169543
169546
|
activeForm: string$2().optional().describe("Present continuous form shown in spinner when in_progress (e.g., \"Running tests\")"),
|
|
@@ -169558,7 +169561,7 @@ var init_TaskCreateTool = __esmMin((() => {
|
|
|
169558
169561
|
return getPrompt$5();
|
|
169559
169562
|
},
|
|
169560
169563
|
get inputSchema() {
|
|
169561
|
-
return inputSchema$
|
|
169564
|
+
return inputSchema$22();
|
|
169562
169565
|
},
|
|
169563
169566
|
get outputSchema() {
|
|
169564
169567
|
return outputSchema$11();
|
|
@@ -169649,7 +169652,7 @@ Returns full task details:
|
|
|
169649
169652
|
}));
|
|
169650
169653
|
//#endregion
|
|
169651
169654
|
//#region packages/builtin-tools/src/tools/TaskGetTool/TaskGetTool.ts
|
|
169652
|
-
var inputSchema$
|
|
169655
|
+
var inputSchema$21, outputSchema$10, TaskGetTool;
|
|
169653
169656
|
var init_TaskGetTool = __esmMin((() => {
|
|
169654
169657
|
init_v4$1();
|
|
169655
169658
|
init_Tool();
|
|
@@ -169657,7 +169660,7 @@ var init_TaskGetTool = __esmMin((() => {
|
|
|
169657
169660
|
init_tasks$2();
|
|
169658
169661
|
init_constants$9();
|
|
169659
169662
|
init_prompt$12();
|
|
169660
|
-
inputSchema$
|
|
169663
|
+
inputSchema$21 = lazySchema(() => strictObject({ taskId: string$2().describe("The ID of the task to retrieve") }));
|
|
169661
169664
|
outputSchema$10 = lazySchema(() => object$1({ task: object$1({
|
|
169662
169665
|
id: string$2(),
|
|
169663
169666
|
subject: string$2(),
|
|
@@ -169677,7 +169680,7 @@ var init_TaskGetTool = __esmMin((() => {
|
|
|
169677
169680
|
return PROMPT$2;
|
|
169678
169681
|
},
|
|
169679
169682
|
get inputSchema() {
|
|
169680
|
-
return inputSchema$
|
|
169683
|
+
return inputSchema$21();
|
|
169681
169684
|
},
|
|
169682
169685
|
get outputSchema() {
|
|
169683
169686
|
return outputSchema$10();
|
|
@@ -169818,7 +169821,7 @@ Set up task dependencies:
|
|
|
169818
169821
|
}));
|
|
169819
169822
|
//#endregion
|
|
169820
169823
|
//#region packages/builtin-tools/src/tools/TaskUpdateTool/TaskUpdateTool.ts
|
|
169821
|
-
var inputSchema$
|
|
169824
|
+
var inputSchema$20, outputSchema$9, TaskUpdateTool;
|
|
169822
169825
|
var init_TaskUpdateTool = __esmMin((() => {
|
|
169823
169826
|
init_v4$1();
|
|
169824
169827
|
init_growthbook();
|
|
@@ -169832,7 +169835,7 @@ var init_TaskUpdateTool = __esmMin((() => {
|
|
|
169832
169835
|
init_constants$19();
|
|
169833
169836
|
init_constants$7();
|
|
169834
169837
|
init_prompt$11();
|
|
169835
|
-
inputSchema$
|
|
169838
|
+
inputSchema$20 = lazySchema(() => {
|
|
169836
169839
|
const TaskUpdateStatusSchema = TaskStatusSchema().or(literal$1("deleted"));
|
|
169837
169840
|
return strictObject({
|
|
169838
169841
|
taskId: string$2().describe("The ID of the task to update"),
|
|
@@ -169868,7 +169871,7 @@ var init_TaskUpdateTool = __esmMin((() => {
|
|
|
169868
169871
|
return PROMPT$1;
|
|
169869
169872
|
},
|
|
169870
169873
|
get inputSchema() {
|
|
169871
|
-
return inputSchema$
|
|
169874
|
+
return inputSchema$20();
|
|
169872
169875
|
},
|
|
169873
169876
|
get outputSchema() {
|
|
169874
169877
|
return outputSchema$9();
|
|
@@ -170075,7 +170078,7 @@ var init_prompt$10 = __esmMin((() => {
|
|
|
170075
170078
|
}));
|
|
170076
170079
|
//#endregion
|
|
170077
170080
|
//#region packages/builtin-tools/src/tools/TaskListTool/TaskListTool.ts
|
|
170078
|
-
var inputSchema$
|
|
170081
|
+
var inputSchema$19, outputSchema$8, TaskListTool;
|
|
170079
170082
|
var init_TaskListTool = __esmMin((() => {
|
|
170080
170083
|
init_v4$1();
|
|
170081
170084
|
init_Tool();
|
|
@@ -170083,7 +170086,7 @@ var init_TaskListTool = __esmMin((() => {
|
|
|
170083
170086
|
init_tasks$2();
|
|
170084
170087
|
init_constants$8();
|
|
170085
170088
|
init_prompt$10();
|
|
170086
|
-
inputSchema$
|
|
170089
|
+
inputSchema$19 = lazySchema(() => strictObject({}));
|
|
170087
170090
|
outputSchema$8 = lazySchema(() => object$1({ tasks: array$1(object$1({
|
|
170088
170091
|
id: string$2(),
|
|
170089
170092
|
subject: string$2(),
|
|
@@ -170102,7 +170105,7 @@ var init_TaskListTool = __esmMin((() => {
|
|
|
170102
170105
|
return getPrompt$4();
|
|
170103
170106
|
},
|
|
170104
170107
|
get inputSchema() {
|
|
170105
|
-
return inputSchema$
|
|
170108
|
+
return inputSchema$19();
|
|
170106
170109
|
},
|
|
170107
170110
|
get outputSchema() {
|
|
170108
170111
|
return outputSchema$8();
|
|
@@ -170156,20 +170159,20 @@ var init_TaskListTool = __esmMin((() => {
|
|
|
170156
170159
|
//#endregion
|
|
170157
170160
|
//#region packages/builtin-tools/src/tools/REPLTool/REPLTool.ts
|
|
170158
170161
|
var REPLTool_exports = /* @__PURE__ */ __exportAll({ REPLTool: () => REPLTool$1 });
|
|
170159
|
-
var inputSchema$
|
|
170162
|
+
var inputSchema$18, REPLTool$1;
|
|
170160
170163
|
var init_REPLTool = __esmMin((() => {
|
|
170161
170164
|
init_v4$1();
|
|
170162
170165
|
init_Tool();
|
|
170163
170166
|
init_lazySchema();
|
|
170164
170167
|
init_constants$16();
|
|
170165
|
-
inputSchema$
|
|
170168
|
+
inputSchema$18 = lazySchema(() => strictObject({ code: string$2().describe("The code to execute in the REPL. Can call any primitive tool (Read, Write, Edit, Glob, Grep, Bash, NotebookEdit, Agent) via their APIs.") }));
|
|
170166
170169
|
REPLTool$1 = buildTool({
|
|
170167
170170
|
name: REPL_TOOL_NAME,
|
|
170168
170171
|
searchHint: "repl execute batch code read write edit glob grep bash",
|
|
170169
170172
|
maxResultSizeChars: 1e5,
|
|
170170
170173
|
strict: true,
|
|
170171
170174
|
get inputSchema() {
|
|
170172
|
-
return inputSchema$
|
|
170175
|
+
return inputSchema$18();
|
|
170173
170176
|
},
|
|
170174
170177
|
async description() {
|
|
170175
170178
|
return "Execute code in the REPL environment with access to all primitive tools";
|
|
@@ -170219,13 +170222,13 @@ The REPL runs in a VM context with tool APIs available as functions. Results fro
|
|
|
170219
170222
|
//#endregion
|
|
170220
170223
|
//#region packages/builtin-tools/src/tools/SuggestBackgroundPRTool/SuggestBackgroundPRTool.ts
|
|
170221
170224
|
var SuggestBackgroundPRTool_exports = /* @__PURE__ */ __exportAll({ SuggestBackgroundPRTool: () => SuggestBackgroundPRTool$1 });
|
|
170222
|
-
var SUGGEST_BACKGROUND_PR_TOOL_NAME, inputSchema$
|
|
170225
|
+
var SUGGEST_BACKGROUND_PR_TOOL_NAME, inputSchema$17, SuggestBackgroundPRTool$1;
|
|
170223
170226
|
var init_SuggestBackgroundPRTool = __esmMin((() => {
|
|
170224
170227
|
init_v4$1();
|
|
170225
170228
|
init_Tool();
|
|
170226
170229
|
init_lazySchema();
|
|
170227
170230
|
SUGGEST_BACKGROUND_PR_TOOL_NAME = "SuggestBackgroundPR";
|
|
170228
|
-
inputSchema$
|
|
170231
|
+
inputSchema$17 = lazySchema(() => strictObject({
|
|
170229
170232
|
title: string$2().describe("Suggested title for the background PR."),
|
|
170230
170233
|
description: string$2().describe("Description of the changes to make in the background PR."),
|
|
170231
170234
|
branch: string$2().optional().describe("Branch name for the PR. Auto-generated if omitted.")
|
|
@@ -170236,7 +170239,7 @@ var init_SuggestBackgroundPRTool = __esmMin((() => {
|
|
|
170236
170239
|
maxResultSizeChars: 5e3,
|
|
170237
170240
|
strict: true,
|
|
170238
170241
|
get inputSchema() {
|
|
170239
|
-
return inputSchema$
|
|
170242
|
+
return inputSchema$17();
|
|
170240
170243
|
},
|
|
170241
170244
|
async description() {
|
|
170242
170245
|
return "Suggest creating a background PR for follow-up changes";
|
|
@@ -170289,7 +170292,7 @@ function hasQueuedWakeSignal() {
|
|
|
170289
170292
|
function shouldInterruptSleep() {
|
|
170290
170293
|
return !isProactiveSleepAllowed() || hasQueuedWakeSignal();
|
|
170291
170294
|
}
|
|
170292
|
-
var SLEEP_WAKE_CHECK_INTERVAL_MS, inputSchema$
|
|
170295
|
+
var SLEEP_WAKE_CHECK_INTERVAL_MS, inputSchema$16, SleepTool$1;
|
|
170293
170296
|
var init_SleepTool = __esmMin((() => {
|
|
170294
170297
|
init_v4$1();
|
|
170295
170298
|
init_Tool();
|
|
@@ -170297,14 +170300,14 @@ var init_SleepTool = __esmMin((() => {
|
|
|
170297
170300
|
init_sessionState();
|
|
170298
170301
|
init_prompt$29();
|
|
170299
170302
|
SLEEP_WAKE_CHECK_INTERVAL_MS = 500;
|
|
170300
|
-
inputSchema$
|
|
170303
|
+
inputSchema$16 = lazySchema(() => strictObject({ duration_seconds: number$2().describe("How long to sleep in seconds. Can be interrupted by the user at any time.") }));
|
|
170301
170304
|
SleepTool$1 = buildTool({
|
|
170302
170305
|
name: SLEEP_TOOL_NAME,
|
|
170303
170306
|
searchHint: "wait pause sleep rest idle duration timer",
|
|
170304
170307
|
maxResultSizeChars: 1e3,
|
|
170305
170308
|
strict: true,
|
|
170306
170309
|
get inputSchema() {
|
|
170307
|
-
return inputSchema$
|
|
170310
|
+
return inputSchema$16();
|
|
170308
170311
|
},
|
|
170309
170312
|
async description() {
|
|
170310
170313
|
return DESCRIPTION$13;
|
|
@@ -170472,7 +170475,7 @@ var init_UI$5 = __esmMin((() => {
|
|
|
170472
170475
|
//#endregion
|
|
170473
170476
|
//#region packages/builtin-tools/src/tools/ScheduleCronTool/CronCreateTool.ts
|
|
170474
170477
|
var CronCreateTool_exports = /* @__PURE__ */ __exportAll({ CronCreateTool: () => CronCreateTool });
|
|
170475
|
-
var MAX_JOBS, inputSchema$
|
|
170478
|
+
var MAX_JOBS, inputSchema$15, outputSchema$7, CronCreateTool;
|
|
170476
170479
|
var init_CronCreateTool = __esmMin((() => {
|
|
170477
170480
|
init_v4$1();
|
|
170478
170481
|
init_state();
|
|
@@ -170485,7 +170488,7 @@ var init_CronCreateTool = __esmMin((() => {
|
|
|
170485
170488
|
init_prompt$27();
|
|
170486
170489
|
init_UI$5();
|
|
170487
170490
|
MAX_JOBS = 50;
|
|
170488
|
-
inputSchema$
|
|
170491
|
+
inputSchema$15 = lazySchema(() => strictObject({
|
|
170489
170492
|
cron: string$2().describe("Standard 5-field cron expression in local time: \"M H DoM Mon DoW\" (e.g. \"*/5 * * * *\" = every 5 minutes, \"30 14 28 2 *\" = Feb 28 at 2:30pm local once)."),
|
|
170490
170493
|
prompt: string$2().describe("The prompt to enqueue at each fire time."),
|
|
170491
170494
|
recurring: semanticBoolean(boolean$2().optional()).describe(`true (default) = fire on every cron match until deleted or auto-expired after ${DEFAULT_MAX_AGE_DAYS} days. false = fire once at the next match, then auto-delete. Use false for "remind me at X" one-shot requests with pinned minute/hour/dom/month.`),
|
|
@@ -170503,7 +170506,7 @@ var init_CronCreateTool = __esmMin((() => {
|
|
|
170503
170506
|
maxResultSizeChars: 1e5,
|
|
170504
170507
|
shouldDefer: true,
|
|
170505
170508
|
get inputSchema() {
|
|
170506
|
-
return inputSchema$
|
|
170509
|
+
return inputSchema$15();
|
|
170507
170510
|
},
|
|
170508
170511
|
get outputSchema() {
|
|
170509
170512
|
return outputSchema$7();
|
|
@@ -170572,7 +170575,7 @@ var init_CronCreateTool = __esmMin((() => {
|
|
|
170572
170575
|
//#endregion
|
|
170573
170576
|
//#region packages/builtin-tools/src/tools/ScheduleCronTool/CronDeleteTool.ts
|
|
170574
170577
|
var CronDeleteTool_exports = /* @__PURE__ */ __exportAll({ CronDeleteTool: () => CronDeleteTool });
|
|
170575
|
-
var inputSchema$
|
|
170578
|
+
var inputSchema$14, outputSchema$6, CronDeleteTool;
|
|
170576
170579
|
var init_CronDeleteTool = __esmMin((() => {
|
|
170577
170580
|
init_v4$1();
|
|
170578
170581
|
init_Tool();
|
|
@@ -170581,7 +170584,7 @@ var init_CronDeleteTool = __esmMin((() => {
|
|
|
170581
170584
|
init_teammateContext();
|
|
170582
170585
|
init_prompt$27();
|
|
170583
170586
|
init_UI$5();
|
|
170584
|
-
inputSchema$
|
|
170587
|
+
inputSchema$14 = lazySchema(() => strictObject({ id: string$2().describe("Job ID returned by CronCreate.") }));
|
|
170585
170588
|
outputSchema$6 = lazySchema(() => object$1({ id: string$2() }));
|
|
170586
170589
|
CronDeleteTool = buildTool({
|
|
170587
170590
|
name: CRON_DELETE_TOOL_NAME,
|
|
@@ -170589,7 +170592,7 @@ var init_CronDeleteTool = __esmMin((() => {
|
|
|
170589
170592
|
maxResultSizeChars: 1e5,
|
|
170590
170593
|
shouldDefer: true,
|
|
170591
170594
|
get inputSchema() {
|
|
170592
|
-
return inputSchema$
|
|
170595
|
+
return inputSchema$14();
|
|
170593
170596
|
},
|
|
170594
170597
|
get outputSchema() {
|
|
170595
170598
|
return outputSchema$6();
|
|
@@ -170642,7 +170645,7 @@ var init_CronDeleteTool = __esmMin((() => {
|
|
|
170642
170645
|
//#endregion
|
|
170643
170646
|
//#region packages/builtin-tools/src/tools/ScheduleCronTool/CronListTool.ts
|
|
170644
170647
|
var CronListTool_exports = /* @__PURE__ */ __exportAll({ CronListTool: () => CronListTool });
|
|
170645
|
-
var inputSchema$
|
|
170648
|
+
var inputSchema$13, outputSchema$5, CronListTool;
|
|
170646
170649
|
var init_CronListTool = __esmMin((() => {
|
|
170647
170650
|
init_v4$1();
|
|
170648
170651
|
init_Tool();
|
|
@@ -170653,7 +170656,7 @@ var init_CronListTool = __esmMin((() => {
|
|
|
170653
170656
|
init_teammateContext();
|
|
170654
170657
|
init_prompt$27();
|
|
170655
170658
|
init_UI$5();
|
|
170656
|
-
inputSchema$
|
|
170659
|
+
inputSchema$13 = lazySchema(() => strictObject({}));
|
|
170657
170660
|
outputSchema$5 = lazySchema(() => object$1({ jobs: array$1(object$1({
|
|
170658
170661
|
id: string$2(),
|
|
170659
170662
|
cron: string$2(),
|
|
@@ -170668,7 +170671,7 @@ var init_CronListTool = __esmMin((() => {
|
|
|
170668
170671
|
maxResultSizeChars: 1e5,
|
|
170669
170672
|
shouldDefer: true,
|
|
170670
170673
|
get inputSchema() {
|
|
170671
|
-
return inputSchema$
|
|
170674
|
+
return inputSchema$13();
|
|
170672
170675
|
},
|
|
170673
170676
|
get outputSchema() {
|
|
170674
170677
|
return outputSchema$5();
|
|
@@ -170812,7 +170815,7 @@ var init_UI$4 = __esmMin((() => {
|
|
|
170812
170815
|
//#endregion
|
|
170813
170816
|
//#region packages/builtin-tools/src/tools/RemoteTriggerTool/RemoteTriggerTool.ts
|
|
170814
170817
|
var RemoteTriggerTool_exports = /* @__PURE__ */ __exportAll({ RemoteTriggerTool: () => RemoteTriggerTool$1 });
|
|
170815
|
-
var inputSchema$
|
|
170818
|
+
var inputSchema$12, outputSchema$4, TRIGGERS_BETA, RemoteTriggerTool$1;
|
|
170816
170819
|
var init_RemoteTriggerTool = __esmMin((() => {
|
|
170817
170820
|
init_axios();
|
|
170818
170821
|
init_v4$1();
|
|
@@ -170827,7 +170830,7 @@ var init_RemoteTriggerTool = __esmMin((() => {
|
|
|
170827
170830
|
init_slowOperations();
|
|
170828
170831
|
init_prompt$9();
|
|
170829
170832
|
init_UI$4();
|
|
170830
|
-
inputSchema$
|
|
170833
|
+
inputSchema$12 = lazySchema(() => strictObject({
|
|
170831
170834
|
action: _enum$1([
|
|
170832
170835
|
"list",
|
|
170833
170836
|
"get",
|
|
@@ -170850,7 +170853,7 @@ var init_RemoteTriggerTool = __esmMin((() => {
|
|
|
170850
170853
|
maxResultSizeChars: 1e5,
|
|
170851
170854
|
shouldDefer: true,
|
|
170852
170855
|
get inputSchema() {
|
|
170853
|
-
return inputSchema$
|
|
170856
|
+
return inputSchema$12();
|
|
170854
170857
|
},
|
|
170855
170858
|
get outputSchema() {
|
|
170856
170859
|
return outputSchema$4();
|
|
@@ -170967,7 +170970,7 @@ var init_RemoteTriggerTool = __esmMin((() => {
|
|
|
170967
170970
|
}));
|
|
170968
170971
|
//#endregion
|
|
170969
170972
|
//#region packages/builtin-tools/src/tools/MonitorTool/MonitorTool.tsx
|
|
170970
|
-
var MonitorTool_exports = /* @__PURE__ */ __exportAll({ MonitorTool: () => MonitorTool$1 }), import_jsx_runtime$6, MONITOR_TOOL_NAME, inputSchema$
|
|
170973
|
+
var MonitorTool_exports = /* @__PURE__ */ __exportAll({ MonitorTool: () => MonitorTool$1 }), import_jsx_runtime$6, MONITOR_TOOL_NAME, inputSchema$11, outputSchema$3, MonitorTool$1;
|
|
170971
170974
|
var init_MonitorTool = __esmMin((() => {
|
|
170972
170975
|
require_react();
|
|
170973
170976
|
init_src$2();
|
|
@@ -170983,7 +170986,7 @@ var init_MonitorTool = __esmMin((() => {
|
|
|
170983
170986
|
init_analytics();
|
|
170984
170987
|
import_jsx_runtime$6 = require_jsx_runtime();
|
|
170985
170988
|
MONITOR_TOOL_NAME = "Monitor";
|
|
170986
|
-
inputSchema$
|
|
170989
|
+
inputSchema$11 = lazySchema(() => strictObject({
|
|
170987
170990
|
command: string$2().describe("The shell command to run as a long-running monitor. Should produce streaming output (e.g., tail -f, watch, polling loops)."),
|
|
170988
170991
|
description: string$2().describe("Clear, concise description of what this monitor watches. Used as the label in the background tasks UI.")
|
|
170989
170992
|
}));
|
|
@@ -170997,7 +171000,7 @@ var init_MonitorTool = __esmMin((() => {
|
|
|
170997
171000
|
maxResultSizeChars: 1e4,
|
|
170998
171001
|
strict: true,
|
|
170999
171002
|
get inputSchema() {
|
|
171000
|
-
return inputSchema$
|
|
171003
|
+
return inputSchema$11();
|
|
171001
171004
|
},
|
|
171002
171005
|
get outputSchema() {
|
|
171003
171006
|
return outputSchema$3();
|
|
@@ -171098,13 +171101,13 @@ Examples:
|
|
|
171098
171101
|
//#endregion
|
|
171099
171102
|
//#region packages/builtin-tools/src/tools/SendUserFileTool/SendUserFileTool.ts
|
|
171100
171103
|
var SendUserFileTool_exports = /* @__PURE__ */ __exportAll({ SendUserFileTool: () => SendUserFileTool$1 });
|
|
171101
|
-
var inputSchema$
|
|
171104
|
+
var inputSchema$10, SendUserFileTool$1;
|
|
171102
171105
|
var init_SendUserFileTool = __esmMin((() => {
|
|
171103
171106
|
init_v4$1();
|
|
171104
171107
|
init_Tool();
|
|
171105
171108
|
init_lazySchema();
|
|
171106
171109
|
init_prompt$41();
|
|
171107
|
-
inputSchema$
|
|
171110
|
+
inputSchema$10 = lazySchema(() => strictObject({
|
|
171108
171111
|
file_path: string$2().describe("Absolute path to the file to send to the user."),
|
|
171109
171112
|
description: string$2().optional().describe("Optional description of the file being sent.")
|
|
171110
171113
|
}));
|
|
@@ -171114,7 +171117,7 @@ var init_SendUserFileTool = __esmMin((() => {
|
|
|
171114
171117
|
maxResultSizeChars: 5e3,
|
|
171115
171118
|
strict: true,
|
|
171116
171119
|
get inputSchema() {
|
|
171117
|
-
return inputSchema$
|
|
171120
|
+
return inputSchema$10();
|
|
171118
171121
|
},
|
|
171119
171122
|
async description() {
|
|
171120
171123
|
return "Send a file to the user (KAIROS assistant mode)";
|
|
@@ -171168,7 +171171,7 @@ Guidelines:
|
|
|
171168
171171
|
const appState = context.getAppState();
|
|
171169
171172
|
let fileUuid;
|
|
171170
171173
|
if (appState.replBridgeEnabled) try {
|
|
171171
|
-
const { uploadBriefAttachment } = await import("./upload-
|
|
171174
|
+
const { uploadBriefAttachment } = await import("./upload-wXw31qT5.js");
|
|
171172
171175
|
fileUuid = await uploadBriefAttachment(file_path, fileSize, {
|
|
171173
171176
|
replBridgeEnabled: true,
|
|
171174
171177
|
signal: context.abortController.signal
|
|
@@ -171188,14 +171191,14 @@ Guidelines:
|
|
|
171188
171191
|
//#endregion
|
|
171189
171192
|
//#region packages/builtin-tools/src/tools/PushNotificationTool/PushNotificationTool.ts
|
|
171190
171193
|
var PushNotificationTool_exports = /* @__PURE__ */ __exportAll({ PushNotificationTool: () => PushNotificationTool$1 });
|
|
171191
|
-
var PUSH_NOTIFICATION_TOOL_NAME, inputSchema$
|
|
171194
|
+
var PUSH_NOTIFICATION_TOOL_NAME, inputSchema$9, PushNotificationTool$1;
|
|
171192
171195
|
var init_PushNotificationTool = __esmMin((() => {
|
|
171193
171196
|
init_v4$1();
|
|
171194
171197
|
init_Tool();
|
|
171195
171198
|
init_lazySchema();
|
|
171196
171199
|
init_debug$1();
|
|
171197
171200
|
PUSH_NOTIFICATION_TOOL_NAME = "PushNotification";
|
|
171198
|
-
inputSchema$
|
|
171201
|
+
inputSchema$9 = lazySchema(() => strictObject({
|
|
171199
171202
|
title: string$2().describe("Title of the push notification."),
|
|
171200
171203
|
body: string$2().describe("Body text of the push notification."),
|
|
171201
171204
|
priority: _enum$1(["normal", "high"]).optional().describe("Notification priority. Use \"high\" for blockers or permission prompts.")
|
|
@@ -171206,7 +171209,7 @@ var init_PushNotificationTool = __esmMin((() => {
|
|
|
171206
171209
|
maxResultSizeChars: 1e3,
|
|
171207
171210
|
strict: true,
|
|
171208
171211
|
get inputSchema() {
|
|
171209
|
-
return inputSchema$
|
|
171212
|
+
return inputSchema$9();
|
|
171210
171213
|
},
|
|
171211
171214
|
async description() {
|
|
171212
171215
|
return "Send a push notification to the user's mobile device";
|
|
@@ -171242,7 +171245,7 @@ Requires Remote Control to be configured. Respects user notification settings (t
|
|
|
171242
171245
|
},
|
|
171243
171246
|
async call(input, context) {
|
|
171244
171247
|
if (context.getAppState().replBridgeEnabled) try {
|
|
171245
|
-
const { getBridgeAccessToken, getBridgeBaseUrl } = await import("./bridgeConfig-
|
|
171248
|
+
const { getBridgeAccessToken, getBridgeBaseUrl } = await import("./bridgeConfig-B46S5gM8.js");
|
|
171246
171249
|
const { getSessionId } = await import("./state-C-gElcok.js");
|
|
171247
171250
|
const token = getBridgeAccessToken();
|
|
171248
171251
|
const sessionId = getSessionId();
|
|
@@ -173312,9 +173315,9 @@ var init_PaneBackendExecutor = __esmMin((() => {
|
|
|
173312
173315
|
*/
|
|
173313
173316
|
async function ensureBackendsRegistered() {
|
|
173314
173317
|
if (backendsRegistered) return;
|
|
173315
|
-
await import("./TmuxBackend-
|
|
173316
|
-
await import("./ITermBackend-
|
|
173317
|
-
await import("./WindowsTerminalBackend-
|
|
173318
|
+
await import("./TmuxBackend-eBhtYST8.js");
|
|
173319
|
+
await import("./ITermBackend-WCc4UCvr.js");
|
|
173320
|
+
await import("./WindowsTerminalBackend-D3TCDmgq.js");
|
|
173318
173321
|
backendsRegistered = true;
|
|
173319
173322
|
}
|
|
173320
173323
|
/**
|
|
@@ -173797,7 +173800,7 @@ function generateUniqueTeamName(providedName) {
|
|
|
173797
173800
|
if (!readTeamFile(providedName)) return providedName;
|
|
173798
173801
|
return generateWordSlug();
|
|
173799
173802
|
}
|
|
173800
|
-
var inputSchema$
|
|
173803
|
+
var inputSchema$8, TeamCreateTool;
|
|
173801
173804
|
var init_TeamCreateTool = __esmMin((() => {
|
|
173802
173805
|
init_v4$1();
|
|
173803
173806
|
init_state();
|
|
@@ -173818,7 +173821,7 @@ var init_TeamCreateTool = __esmMin((() => {
|
|
|
173818
173821
|
init_constants$3();
|
|
173819
173822
|
init_prompt$8();
|
|
173820
173823
|
init_UI$3();
|
|
173821
|
-
inputSchema$
|
|
173824
|
+
inputSchema$8 = lazySchema(() => strictObject({
|
|
173822
173825
|
team_name: string$2().describe("Name for the new team to create."),
|
|
173823
173826
|
description: string$2().optional().describe("Team description/purpose."),
|
|
173824
173827
|
agent_type: string$2().optional().describe("Type/role of the team lead (e.g., \"researcher\", \"test-runner\"). Used for team file and inter-agent coordination.")
|
|
@@ -173832,7 +173835,7 @@ var init_TeamCreateTool = __esmMin((() => {
|
|
|
173832
173835
|
return "";
|
|
173833
173836
|
},
|
|
173834
173837
|
get inputSchema() {
|
|
173835
|
-
return inputSchema$
|
|
173838
|
+
return inputSchema$8();
|
|
173836
173839
|
},
|
|
173837
173840
|
isEnabled() {
|
|
173838
173841
|
return isAgentSwarmsEnabled();
|
|
@@ -173964,7 +173967,7 @@ var init_UI$2 = __esmMin((() => {
|
|
|
173964
173967
|
//#endregion
|
|
173965
173968
|
//#region packages/builtin-tools/src/tools/TeamDeleteTool/TeamDeleteTool.ts
|
|
173966
173969
|
var TeamDeleteTool_exports = /* @__PURE__ */ __exportAll({ TeamDeleteTool: () => TeamDeleteTool });
|
|
173967
|
-
var inputSchema$
|
|
173970
|
+
var inputSchema$7, TeamDeleteTool;
|
|
173968
173971
|
var init_TeamDeleteTool = __esmMin((() => {
|
|
173969
173972
|
init_v4$1();
|
|
173970
173973
|
init_analytics();
|
|
@@ -173983,7 +173986,7 @@ var init_TeamDeleteTool = __esmMin((() => {
|
|
|
173983
173986
|
init_constants$2();
|
|
173984
173987
|
init_prompt$7();
|
|
173985
173988
|
init_UI$2();
|
|
173986
|
-
inputSchema$
|
|
173989
|
+
inputSchema$7 = lazySchema(() => strictObject({ wait_ms: number$2().min(0).max(3e4).optional().describe("Optional time to wait for active teammates to acknowledge shutdown before cleanup.") }));
|
|
173987
173990
|
TeamDeleteTool = buildTool({
|
|
173988
173991
|
name: TEAM_DELETE_TOOL_NAME,
|
|
173989
173992
|
searchHint: "disband a swarm team and clean up",
|
|
@@ -173993,7 +173996,7 @@ var init_TeamDeleteTool = __esmMin((() => {
|
|
|
173993
173996
|
return "";
|
|
173994
173997
|
},
|
|
173995
173998
|
get inputSchema() {
|
|
173996
|
-
return inputSchema$
|
|
173999
|
+
return inputSchema$7();
|
|
173997
174000
|
},
|
|
173998
174001
|
isEnabled() {
|
|
173999
174002
|
return isAgentSwarmsEnabled();
|
|
@@ -175138,7 +175141,7 @@ async function handlePlanRejection(recipientName, requestId, feedback, context)
|
|
|
175138
175141
|
request_id: requestId
|
|
175139
175142
|
} };
|
|
175140
175143
|
}
|
|
175141
|
-
var StructuredMessage, inputSchema$
|
|
175144
|
+
var StructuredMessage, inputSchema$6, UDS_INLINE_TOKEN_MARKER, SendMessageTool;
|
|
175142
175145
|
var init_SendMessageTool = __esmMin((() => {
|
|
175143
175146
|
init_v4$1();
|
|
175144
175147
|
init_state();
|
|
@@ -175184,7 +175187,7 @@ var init_SendMessageTool = __esmMin((() => {
|
|
|
175184
175187
|
feedback: string$2().optional()
|
|
175185
175188
|
})
|
|
175186
175189
|
]));
|
|
175187
|
-
inputSchema$
|
|
175190
|
+
inputSchema$6 = lazySchema(() => object$1({
|
|
175188
175191
|
to: string$2().describe("Recipient: teammate name, or \"*\" for broadcast to all teammates"),
|
|
175189
175192
|
summary: string$2().optional().describe("A 5-10 word summary shown as a preview in the UI (required when message is a string)"),
|
|
175190
175193
|
message: union$1([string$2().describe("Plain text message content"), StructuredMessage()])
|
|
@@ -175198,7 +175201,7 @@ var init_SendMessageTool = __esmMin((() => {
|
|
|
175198
175201
|
return "SendMessage";
|
|
175199
175202
|
},
|
|
175200
175203
|
get inputSchema() {
|
|
175201
|
-
return inputSchema$
|
|
175204
|
+
return inputSchema$6();
|
|
175202
175205
|
},
|
|
175203
175206
|
shouldDefer: true,
|
|
175204
175207
|
isEnabled() {
|
|
@@ -175393,13 +175396,13 @@ var init_constants = __esmMin((() => {
|
|
|
175393
175396
|
//#endregion
|
|
175394
175397
|
//#region packages/builtin-tools/src/tools/VerifyPlanExecutionTool/VerifyPlanExecutionTool.ts
|
|
175395
175398
|
var VerifyPlanExecutionTool_exports = /* @__PURE__ */ __exportAll({ VerifyPlanExecutionTool: () => VerifyPlanExecutionTool$1 });
|
|
175396
|
-
var inputSchema$
|
|
175399
|
+
var inputSchema$5, VerifyPlanExecutionTool$1;
|
|
175397
175400
|
var init_VerifyPlanExecutionTool = __esmMin((() => {
|
|
175398
175401
|
init_v4$1();
|
|
175399
175402
|
init_Tool();
|
|
175400
175403
|
init_lazySchema();
|
|
175401
175404
|
init_constants();
|
|
175402
|
-
inputSchema$
|
|
175405
|
+
inputSchema$5 = lazySchema(() => strictObject({
|
|
175403
175406
|
plan_summary: string$2().describe("A summary of the plan that was executed."),
|
|
175404
175407
|
verification_notes: string$2().optional().describe("Notes on what was verified and any issues found during verification."),
|
|
175405
175408
|
all_steps_completed: boolean$2().describe("Whether all planned steps were completed successfully.")
|
|
@@ -175410,7 +175413,7 @@ var init_VerifyPlanExecutionTool = __esmMin((() => {
|
|
|
175410
175413
|
maxResultSizeChars: 1e4,
|
|
175411
175414
|
strict: true,
|
|
175412
175415
|
get inputSchema() {
|
|
175413
|
-
return inputSchema$
|
|
175416
|
+
return inputSchema$5();
|
|
175414
175417
|
},
|
|
175415
175418
|
async description() {
|
|
175416
175419
|
return "Verify that a plan was executed correctly before exiting plan mode";
|
|
@@ -175454,127 +175457,6 @@ Guidelines:
|
|
|
175454
175457
|
});
|
|
175455
175458
|
}));
|
|
175456
175459
|
//#endregion
|
|
175457
|
-
//#region src/services/contextCollapse/index.ts
|
|
175458
|
-
var contextCollapse_exports = /* @__PURE__ */ __exportAll({
|
|
175459
|
-
applyCollapsesIfNeeded: () => applyCollapsesIfNeeded,
|
|
175460
|
-
getStats: () => getStats,
|
|
175461
|
-
initContextCollapse: () => initContextCollapse,
|
|
175462
|
-
isContextCollapseEnabled: () => isContextCollapseEnabled,
|
|
175463
|
-
isWithheldPromptTooLong: () => isWithheldPromptTooLong,
|
|
175464
|
-
recoverFromOverflow: () => recoverFromOverflow,
|
|
175465
|
-
resetContextCollapse: () => resetContextCollapse,
|
|
175466
|
-
subscribe: () => subscribe
|
|
175467
|
-
});
|
|
175468
|
-
function isContextCollapseEnabled() {
|
|
175469
|
-
return _contextCollapseEnabled;
|
|
175470
|
-
}
|
|
175471
|
-
function resetContextCollapse() {
|
|
175472
|
-
_contextCollapseEnabled = false;
|
|
175473
|
-
}
|
|
175474
|
-
function initContextCollapse() {
|
|
175475
|
-
_contextCollapseEnabled = true;
|
|
175476
|
-
}
|
|
175477
|
-
var getStats, _contextCollapseEnabled, subscribe, applyCollapsesIfNeeded, isWithheldPromptTooLong, recoverFromOverflow;
|
|
175478
|
-
var init_contextCollapse = __esmMin((() => {
|
|
175479
|
-
getStats = () => ({
|
|
175480
|
-
collapsedSpans: 0,
|
|
175481
|
-
collapsedMessages: 0,
|
|
175482
|
-
stagedSpans: 0,
|
|
175483
|
-
health: {
|
|
175484
|
-
totalSpawns: 0,
|
|
175485
|
-
totalErrors: 0,
|
|
175486
|
-
lastError: null,
|
|
175487
|
-
emptySpawnWarningEmitted: false,
|
|
175488
|
-
totalEmptySpawns: 0
|
|
175489
|
-
}
|
|
175490
|
-
});
|
|
175491
|
-
_contextCollapseEnabled = false;
|
|
175492
|
-
subscribe = (_callback) => () => {};
|
|
175493
|
-
applyCollapsesIfNeeded = async (messages) => ({ messages });
|
|
175494
|
-
isWithheldPromptTooLong = () => false;
|
|
175495
|
-
recoverFromOverflow = (messages) => ({
|
|
175496
|
-
committed: 0,
|
|
175497
|
-
messages
|
|
175498
|
-
});
|
|
175499
|
-
}));
|
|
175500
|
-
//#endregion
|
|
175501
|
-
//#region packages/builtin-tools/src/tools/CtxInspectTool/CtxInspectTool.ts
|
|
175502
|
-
var CtxInspectTool_exports = /* @__PURE__ */ __exportAll({ CtxInspectTool: () => CtxInspectTool$1 });
|
|
175503
|
-
var CTX_INSPECT_TOOL_NAME, inputSchema$5, CtxInspectTool$1;
|
|
175504
|
-
var init_CtxInspectTool = __esmMin((() => {
|
|
175505
|
-
init_v4$1();
|
|
175506
|
-
init_Tool();
|
|
175507
|
-
init_lazySchema();
|
|
175508
|
-
init_tokens();
|
|
175509
|
-
init_contextCollapse();
|
|
175510
|
-
init_sessionMemoryUtils();
|
|
175511
|
-
CTX_INSPECT_TOOL_NAME = "CtxInspect";
|
|
175512
|
-
inputSchema$5 = lazySchema(() => strictObject({ query: string$2().optional().describe("Optional query to filter context entries. If omitted, returns a summary of all context.") }));
|
|
175513
|
-
CtxInspectTool$1 = buildTool({
|
|
175514
|
-
name: CTX_INSPECT_TOOL_NAME,
|
|
175515
|
-
searchHint: "context inspect tokens usage messages window collapse",
|
|
175516
|
-
maxResultSizeChars: 5e4,
|
|
175517
|
-
strict: true,
|
|
175518
|
-
get inputSchema() {
|
|
175519
|
-
return inputSchema$5();
|
|
175520
|
-
},
|
|
175521
|
-
async description() {
|
|
175522
|
-
return "Inspect the current context window contents and token usage";
|
|
175523
|
-
},
|
|
175524
|
-
async prompt() {
|
|
175525
|
-
return `Inspect the current conversation context. Shows token usage, message count, and a breakdown of what's consuming context space.
|
|
175526
|
-
|
|
175527
|
-
Use this to understand your context budget before deciding whether to snip old messages or adjust your approach.`;
|
|
175528
|
-
},
|
|
175529
|
-
isConcurrencySafe() {
|
|
175530
|
-
return true;
|
|
175531
|
-
},
|
|
175532
|
-
isReadOnly() {
|
|
175533
|
-
return true;
|
|
175534
|
-
},
|
|
175535
|
-
userFacingName() {
|
|
175536
|
-
return "CtxInspect";
|
|
175537
|
-
},
|
|
175538
|
-
renderToolUseMessage() {
|
|
175539
|
-
return "Context Inspect";
|
|
175540
|
-
},
|
|
175541
|
-
mapToolResultToToolResultBlockParam(content, toolUseID) {
|
|
175542
|
-
return {
|
|
175543
|
-
tool_use_id: toolUseID,
|
|
175544
|
-
type: "tool_result",
|
|
175545
|
-
content: `Context: ${content.total_tokens} tokens, ${content.message_count} messages\n${content.summary}`
|
|
175546
|
-
};
|
|
175547
|
-
},
|
|
175548
|
-
async call(input, context) {
|
|
175549
|
-
const messages = context.messages ?? [];
|
|
175550
|
-
const model = context.options?.mainLoopModel ?? "unknown";
|
|
175551
|
-
const totalTokens = tokenCountWithEstimation(messages);
|
|
175552
|
-
const collapseEnabled = isContextCollapseEnabled();
|
|
175553
|
-
const collapseStats = getStats();
|
|
175554
|
-
const focused = input.query?.trim();
|
|
175555
|
-
const sessionMemoryEnabled = isSessionMemoryInitialized();
|
|
175556
|
-
const promptCachingEnabled = !model.startsWith("openai/") && !model.startsWith("grok/") && !model.startsWith("gemini/");
|
|
175557
|
-
const summaryParts = [
|
|
175558
|
-
focused ? `Focus: ${focused}` : "Overall context summary",
|
|
175559
|
-
`Model context: ${model}`,
|
|
175560
|
-
`Prompt caching: ${promptCachingEnabled ? "enabled" : "disabled"}`,
|
|
175561
|
-
`Session memory: ${sessionMemoryEnabled ? "enabled" : "disabled"}`,
|
|
175562
|
-
`Context collapse: ${collapseEnabled ? "enabled" : "disabled"}`
|
|
175563
|
-
];
|
|
175564
|
-
if (collapseEnabled) summaryParts.push(`Collapse spans: ${collapseStats.collapsedSpans} committed, ${collapseStats.stagedSpans} staged, ${collapseStats.collapsedMessages} messages summarized`);
|
|
175565
|
-
return { data: {
|
|
175566
|
-
total_tokens: totalTokens,
|
|
175567
|
-
message_count: messages.length,
|
|
175568
|
-
context_window_model: model,
|
|
175569
|
-
prompt_caching_enabled: promptCachingEnabled,
|
|
175570
|
-
session_memory_enabled: sessionMemoryEnabled,
|
|
175571
|
-
context_collapse_enabled: collapseEnabled,
|
|
175572
|
-
summary: summaryParts.join("\n")
|
|
175573
|
-
} };
|
|
175574
|
-
}
|
|
175575
|
-
});
|
|
175576
|
-
}));
|
|
175577
|
-
//#endregion
|
|
175578
175460
|
//#region packages/builtin-tools/src/tools/SnipTool/prompt.ts
|
|
175579
175461
|
var prompt_exports$1 = /* @__PURE__ */ __exportAll({ SNIP_TOOL_NAME: () => SNIP_TOOL_NAME$1 });
|
|
175580
175462
|
var SNIP_TOOL_NAME$1;
|
|
@@ -176013,7 +175895,7 @@ function getAllBaseTools() {
|
|
|
176013
175895
|
TaskListTool
|
|
176014
175896
|
] : [],
|
|
176015
175897
|
...[],
|
|
176016
|
-
...
|
|
175898
|
+
...[],
|
|
176017
175899
|
...[],
|
|
176018
175900
|
...isEnvTruthy(process.env.ENABLE_LSP_TOOL) ? [LSPTool] : [],
|
|
176019
175901
|
...isWorktreeModeEnabled() ? [EnterWorktreeTool, ExitWorktreeTool] : [],
|
|
@@ -176075,7 +175957,7 @@ function assembleToolPool(permissionContext, mcpTools) {
|
|
|
176075
175957
|
const byName = (a, b) => a.name.localeCompare(b.name);
|
|
176076
175958
|
return uniqBy([...builtInTools].sort(byName).concat(allowedMcpTools.sort(byName)), "name");
|
|
176077
175959
|
}
|
|
176078
|
-
var REPLTool, SuggestBackgroundPRTool, SleepTool, cronTools, RemoteTriggerTool, MonitorTool, SendUserFileTool, PushNotificationTool, getTeamCreateTool, getTeamDeleteTool, getSendMessageTool, VerifyPlanExecutionTool,
|
|
175960
|
+
var REPLTool, SuggestBackgroundPRTool, SleepTool, cronTools, RemoteTriggerTool, MonitorTool, SendUserFileTool, PushNotificationTool, getTeamCreateTool, getTeamDeleteTool, getSendMessageTool, VerifyPlanExecutionTool, SnipTool, WorkflowTool, getPowerShellTool, TOOL_PRESETS, getTools;
|
|
176079
175961
|
var init_tools = __esmMin((() => {
|
|
176080
175962
|
init_Tool();
|
|
176081
175963
|
init_AgentTool();
|
|
@@ -176137,7 +176019,6 @@ var init_tools = __esmMin((() => {
|
|
|
176137
176019
|
getTeamDeleteTool = () => (init_TeamDeleteTool(), __toCommonJS(TeamDeleteTool_exports)).TeamDeleteTool;
|
|
176138
176020
|
getSendMessageTool = () => (init_SendMessageTool(), __toCommonJS(SendMessageTool_exports)).SendMessageTool;
|
|
176139
176021
|
VerifyPlanExecutionTool = process.env.CLAUDE_CODE_VERIFY_PLAN === "true" ? (init_VerifyPlanExecutionTool(), __toCommonJS(VerifyPlanExecutionTool_exports)).VerifyPlanExecutionTool : null;
|
|
176140
|
-
CtxInspectTool = (init_CtxInspectTool(), __toCommonJS(CtxInspectTool_exports)).CtxInspectTool;
|
|
176141
176022
|
SnipTool = (init_SnipTool(), __toCommonJS(SnipTool_exports)).SnipTool;
|
|
176142
176023
|
WorkflowTool = (() => {
|
|
176143
176024
|
(init_bundled(), __toCommonJS(bundled_exports)).initBundledWorkflows();
|
|
@@ -179401,7 +179282,7 @@ function getFilePathFromInput(toolName, toolInput) {
|
|
|
179401
179282
|
return parsed.success ? parsed.data.file_path : null;
|
|
179402
179283
|
}
|
|
179403
179284
|
case FILE_EDIT_TOOL_NAME: {
|
|
179404
|
-
const parsed = inputSchema$
|
|
179285
|
+
const parsed = inputSchema$40().safeParse(toolInput);
|
|
179405
179286
|
return parsed.success ? parsed.data.file_path : null;
|
|
179406
179287
|
}
|
|
179407
179288
|
case FILE_WRITE_TOOL_NAME: {
|
|
@@ -179742,7 +179623,7 @@ async function getEnhancedPRAttribution(getAppState) {
|
|
|
179742
179623
|
}
|
|
179743
179624
|
const summary = `🤖 Generated with [Claude Code](${PRODUCT_URL}) (${claudePercent}% ${promptCount}-shotted by ${shortModelName}${memoryAccessCount > 0 ? `, ${memoryAccessCount} ${memoryAccessCount === 1 ? "memory" : "memories"} recalled` : ""})`;
|
|
179744
179625
|
if (isInternal && attributionData) {
|
|
179745
|
-
const { buildPRTrailers } = await import("./attributionTrailer-
|
|
179626
|
+
const { buildPRTrailers } = await import("./attributionTrailer-C689It3-.js");
|
|
179746
179627
|
const result = `${summary}\n\n${buildPRTrailers(attributionData, appState.attribution).join("\n")}`;
|
|
179747
179628
|
logForDebugging$1(`PR Attribution: returning with trailers: ${result}`);
|
|
179748
179629
|
return result;
|
|
@@ -182569,7 +182450,7 @@ var init_toolHooks = __esmMin((() => {
|
|
|
182569
182450
|
//#endregion
|
|
182570
182451
|
//#region src/services/tools/toolExecution.ts
|
|
182571
182452
|
function getSkillLearningWrapper() {
|
|
182572
|
-
if (!_skillLearningWrapperCache) _skillLearningWrapperCache = import("./toolEventObserver-
|
|
182453
|
+
if (!_skillLearningWrapperCache) _skillLearningWrapperCache = import("./toolEventObserver-BUzq9iBD.js").catch((err) => {
|
|
182573
182454
|
_skillLearningWrapperCache = void 0;
|
|
182574
182455
|
throw err;
|
|
182575
182456
|
});
|
|
@@ -183873,6 +183754,7 @@ async function readFileInRange(filePath, offset = 0, maxLines, maxBytes, signal,
|
|
|
183873
183754
|
if (stats.isDirectory()) throw new Error(`EISDIR: illegal operation on a directory, read '${filePath}'`);
|
|
183874
183755
|
if (stats.isFile() && stats.size < FAST_PATH_MAX_SIZE) {
|
|
183875
183756
|
if (!truncateOnByteLimit && maxBytes !== void 0 && stats.size > maxBytes) throw new FileTooLargeError(stats.size, maxBytes);
|
|
183757
|
+
if ((offset > 0 || maxLines !== void 0) && stats.size > FAST_PATH_MAX_SIZE / 4) return readFileInRangeStreaming(filePath, offset, maxLines, maxBytes, truncateOnByteLimit, signal);
|
|
183876
183758
|
return readFileInRangeFast(await readFile$1(filePath, {
|
|
183877
183759
|
encoding: "utf8",
|
|
183878
183760
|
signal
|
|
@@ -184915,14 +184797,14 @@ async function* handleStopHooks(messagesForQuery, assistantMessages, systemPromp
|
|
|
184915
184797
|
});
|
|
184916
184798
|
await Promise.race([p, new Promise((r) => setTimeout(r, 6e4).unref())]);
|
|
184917
184799
|
}
|
|
184918
|
-
const poorMode = (await import("./poorMode-
|
|
184800
|
+
const poorMode = (await import("./poorMode-DHjbPOWN.js")).isPoorModeActive();
|
|
184919
184801
|
if (!isBareMode()) {
|
|
184920
184802
|
if (!isEnvDefinedFalsy(process.env.CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION) && !poorMode) executePromptSuggestion(stopHookContext);
|
|
184921
184803
|
if (!toolUseContext.agentId && isExtractModeActive() && !poorMode) extractMemoriesModule.executeExtractMemories(stopHookContext, toolUseContext.appendSystemMessage);
|
|
184922
184804
|
if (!toolUseContext.agentId && !poorMode) executeAutoDream(stopHookContext, toolUseContext.appendSystemMessage);
|
|
184923
184805
|
}
|
|
184924
184806
|
if (!toolUseContext.agentId) try {
|
|
184925
|
-
const { cleanupComputerUseAfterTurn } = await import("./cleanup-
|
|
184807
|
+
const { cleanupComputerUseAfterTurn } = await import("./cleanup-BUHn36Wl.js");
|
|
184926
184808
|
await cleanupComputerUseAfterTurn(toolUseContext);
|
|
184927
184809
|
} catch {}
|
|
184928
184810
|
try {
|
|
@@ -185469,7 +185351,7 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
185469
185351
|
...toolUseContext,
|
|
185470
185352
|
queryTracking
|
|
185471
185353
|
};
|
|
185472
|
-
let messagesForQuery =
|
|
185354
|
+
let messagesForQuery = getMessagesAfterCompactBoundary(messages);
|
|
185473
185355
|
let tracking = autoCompactTracking;
|
|
185474
185356
|
const persistReplacements = querySource.startsWith("agent:") || querySource.startsWith("repl_main_thread");
|
|
185475
185357
|
messagesForQuery = await applyToolResultBudget(messagesForQuery, toolUseContext.contentReplacementState, persistReplacements ? (records) => void recordContentReplacement(records, toolUseContext.agentId).catch(logError$1) : void 0, new Set(toolUseContext.options.tools.filter((t) => !Number.isFinite(t.maxResultSizeChars)).map((t) => t.name)));
|
|
@@ -185483,9 +185365,13 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
185483
185365
|
queryCheckpoint("query_snip_end");
|
|
185484
185366
|
}
|
|
185485
185367
|
queryCheckpoint("query_microcompact_start");
|
|
185486
|
-
|
|
185368
|
+
const microcompactResult = await deps.microcompact(messagesForQuery, toolUseContext, querySource);
|
|
185369
|
+
messagesForQuery = microcompactResult.messages;
|
|
185370
|
+
if (microcompactResult.clearedToolUseIds?.length) {
|
|
185371
|
+
const replacements = toolUseContext?.contentReplacementState?.replacements;
|
|
185372
|
+
if (replacements) for (const id of microcompactResult.clearedToolUseIds) replacements.delete(id);
|
|
185373
|
+
}
|
|
185487
185374
|
queryCheckpoint("query_microcompact_end");
|
|
185488
|
-
if (contextCollapse) messagesForQuery = (await contextCollapse.applyCollapsesIfNeeded(messagesForQuery, toolUseContext, querySource)).messages;
|
|
185489
185375
|
const fullSystemPrompt = asSystemPrompt(appendSystemContext(systemPrompt, systemContext));
|
|
185490
185376
|
queryCheckpoint("query_autocompact_start");
|
|
185491
185377
|
const { compactionResult, consecutiveFailures } = await deps.autocompact(messagesForQuery, toolUseContext, {
|
|
@@ -185552,10 +185438,8 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
185552
185438
|
});
|
|
185553
185439
|
queryCheckpoint("query_setup_end");
|
|
185554
185440
|
const dumpPromptsFetch = config.gates.isAnt ? createDumpPromptsFetch(toolUseContext.agentId ?? config.sessionId) : void 0;
|
|
185555
|
-
let collapseOwnsIt = false;
|
|
185556
|
-
collapseOwnsIt = (contextCollapse?.isContextCollapseEnabled() ?? false) && isAutoCompactEnabled();
|
|
185557
185441
|
const mediaRecoveryEnabled = reactiveCompact?.isReactiveCompactEnabled() ?? false;
|
|
185558
|
-
if (!compactionResult && querySource !== "compact" && querySource !== "session_memory" && !(reactiveCompact?.isReactiveCompactEnabled() && isAutoCompactEnabled()) &&
|
|
185442
|
+
if (!compactionResult && querySource !== "compact" && querySource !== "session_memory" && !(reactiveCompact?.isReactiveCompactEnabled() && isAutoCompactEnabled()) && true) {
|
|
185559
185443
|
const { isAtBlockingLimit } = calculateTokenWarningState(tokenCountWithEstimation(messagesForQuery) - snipTokensFreed, toolUseContext.options.mainLoopModel);
|
|
185560
185444
|
if (isAtBlockingLimit) {
|
|
185561
185445
|
yield createAssistantAPIErrorMessage({
|
|
@@ -185565,6 +185449,29 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
185565
185449
|
return { reason: "blocking_limit" };
|
|
185566
185450
|
}
|
|
185567
185451
|
}
|
|
185452
|
+
if (!compactionResult && isAutoCompactEnabled()) {
|
|
185453
|
+
const model = toolUseContext.options.mainLoopModel;
|
|
185454
|
+
const currentTokens = tokenCountWithEstimation(messagesForQuery) - snipTokensFreed;
|
|
185455
|
+
const estimatedGrowth = estimateMaxTurnGrowth(model);
|
|
185456
|
+
if (currentTokens > getEffectiveContextWindowSize(model) - estimatedGrowth) {
|
|
185457
|
+
const predictiveResult = await deps.autocompact(messagesForQuery, toolUseContext, {
|
|
185458
|
+
systemPrompt,
|
|
185459
|
+
userContext,
|
|
185460
|
+
systemContext,
|
|
185461
|
+
toolUseContext,
|
|
185462
|
+
forkContextMessages: messagesForQuery
|
|
185463
|
+
}, querySource, tracking, snipTokensFreed);
|
|
185464
|
+
if (predictiveResult.compactionResult) {
|
|
185465
|
+
messagesForQuery = buildPostCompactMessages(predictiveResult.compactionResult);
|
|
185466
|
+
snipTokensFreed = 0;
|
|
185467
|
+
tracking = tracking ? {
|
|
185468
|
+
...tracking,
|
|
185469
|
+
compacted: true,
|
|
185470
|
+
consecutiveFailures: predictiveResult.consecutiveFailures ?? 0
|
|
185471
|
+
} : tracking;
|
|
185472
|
+
}
|
|
185473
|
+
}
|
|
185474
|
+
}
|
|
185568
185475
|
let attemptWithFallback = true;
|
|
185569
185476
|
queryCheckpoint("query_api_loop_start");
|
|
185570
185477
|
try {
|
|
@@ -185663,7 +185570,6 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
185663
185570
|
};
|
|
185664
185571
|
}
|
|
185665
185572
|
let withheld = false;
|
|
185666
|
-
if (contextCollapse?.isWithheldPromptTooLong(message, isPromptTooLongMessage, querySource)) withheld = true;
|
|
185667
185573
|
if (reactiveCompact?.isWithheldPromptTooLong(message)) withheld = true;
|
|
185668
185574
|
if (mediaRecoveryEnabled && reactiveCompact?.isWithheldMediaSizeError(message)) withheld = true;
|
|
185669
185575
|
if (isWithheldMaxOutputTokens(message)) withheld = true;
|
|
@@ -185735,13 +185641,13 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
185735
185641
|
error
|
|
185736
185642
|
};
|
|
185737
185643
|
}
|
|
185738
|
-
if (assistantMessages.length > 0) executePostSamplingHooks(
|
|
185644
|
+
if (assistantMessages.length > 0) executePostSamplingHooks(messagesForQuery.concat(assistantMessages), systemPrompt, userContext, systemContext, toolUseContext, querySource);
|
|
185739
185645
|
if (toolUseContext.abortController.signal.aborted) {
|
|
185740
185646
|
if (streamingToolExecutor) {
|
|
185741
185647
|
for await (const update of streamingToolExecutor.getRemainingResults()) if (update.message) yield update.message;
|
|
185742
185648
|
} else yield* yieldMissingToolResultBlocks(assistantMessages, "Interrupted by user");
|
|
185743
185649
|
if (!toolUseContext.agentId) try {
|
|
185744
|
-
const { cleanupComputerUseAfterTurn } = await import("./cleanup-
|
|
185650
|
+
const { cleanupComputerUseAfterTurn } = await import("./cleanup-BUHn36Wl.js");
|
|
185745
185651
|
await cleanupComputerUseAfterTurn(toolUseContext);
|
|
185746
185652
|
} catch {}
|
|
185747
185653
|
if (toolUseContext.abortController.signal.reason !== "interrupt") yield createUserInterruptionMessage({ toolUse: false });
|
|
@@ -185755,34 +185661,7 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
185755
185661
|
const lastMessage = assistantMessages.at(-1);
|
|
185756
185662
|
const isWithheld413 = lastMessage?.type === "assistant" && lastMessage.isApiErrorMessage && isPromptTooLongMessage(lastMessage);
|
|
185757
185663
|
mediaRecoveryEnabled && reactiveCompact?.isWithheldMediaSizeError(lastMessage);
|
|
185758
|
-
if (isWithheld413) {
|
|
185759
|
-
if (contextCollapse && state.transition?.reason !== "collapse_drain_retry") {
|
|
185760
|
-
const drained = contextCollapse.recoverFromOverflow(messagesForQuery, querySource);
|
|
185761
|
-
if (drained.committed > 0) {
|
|
185762
|
-
state = {
|
|
185763
|
-
messages: drained.messages,
|
|
185764
|
-
toolUseContext,
|
|
185765
|
-
autoCompactTracking: tracking,
|
|
185766
|
-
maxOutputTokensRecoveryCount,
|
|
185767
|
-
hasAttemptedReactiveCompact,
|
|
185768
|
-
maxOutputTokensOverride: void 0,
|
|
185769
|
-
pendingToolUseSummary: void 0,
|
|
185770
|
-
stopHookActive: void 0,
|
|
185771
|
-
turnCount,
|
|
185772
|
-
transition: {
|
|
185773
|
-
reason: "collapse_drain_retry",
|
|
185774
|
-
committed: drained.committed
|
|
185775
|
-
}
|
|
185776
|
-
};
|
|
185777
|
-
continue;
|
|
185778
|
-
}
|
|
185779
|
-
}
|
|
185780
|
-
}
|
|
185781
|
-
if (isWithheld413) {
|
|
185782
|
-
yield lastMessage;
|
|
185783
|
-
executeStopFailureHooks(lastMessage, toolUseContext);
|
|
185784
|
-
return { reason: "prompt_too_long" };
|
|
185785
|
-
}
|
|
185664
|
+
if (isWithheld413) {}
|
|
185786
185665
|
if (isWithheldMaxOutputTokens(lastMessage)) {
|
|
185787
185666
|
if (getFeatureValue_CACHED_MAY_BE_STALE("tengu_otk_slot_v1", false) && maxOutputTokensOverride === void 0 && !process.env.CLAUDE_CODE_MAX_OUTPUT_TOKENS) {
|
|
185788
185667
|
logEvent("tengu_max_tokens_escalate", { escalatedTo: ESCALATED_MAX_TOKENS });
|
|
@@ -185951,7 +185830,7 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
185951
185830
|
}
|
|
185952
185831
|
if (toolUseContext.abortController.signal.aborted) {
|
|
185953
185832
|
if (!toolUseContext.agentId) try {
|
|
185954
|
-
const { cleanupComputerUseAfterTurn } = await import("./cleanup-
|
|
185833
|
+
const { cleanupComputerUseAfterTurn } = await import("./cleanup-BUHn36Wl.js");
|
|
185955
185834
|
await cleanupComputerUseAfterTurn(toolUseContext);
|
|
185956
185835
|
} catch {}
|
|
185957
185836
|
if (toolUseContext.abortController.signal.reason !== "interrupt") yield createUserInterruptionMessage({ toolUse: true });
|
|
@@ -186047,11 +185926,7 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
186047
185926
|
userContext,
|
|
186048
185927
|
systemContext,
|
|
186049
185928
|
toolUseContext,
|
|
186050
|
-
forkContextMessages:
|
|
186051
|
-
...messagesForQuery,
|
|
186052
|
-
...assistantMessages,
|
|
186053
|
-
...toolResults
|
|
186054
|
-
]
|
|
185929
|
+
forkContextMessages: messagesForQuery.concat(assistantMessages, toolResults)
|
|
186055
185930
|
});
|
|
186056
185931
|
if (maxTurns && nextTurnCount > maxTurns) {
|
|
186057
185932
|
yield createAttachmentMessage({
|
|
@@ -186066,11 +185941,7 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
186066
185941
|
}
|
|
186067
185942
|
queryCheckpoint("query_recursive_call");
|
|
186068
185943
|
state = {
|
|
186069
|
-
messages:
|
|
186070
|
-
...messagesForQuery,
|
|
186071
|
-
...assistantMessages,
|
|
186072
|
-
...toolResults
|
|
186073
|
-
],
|
|
185944
|
+
messages: messagesForQuery.concat(assistantMessages, toolResults),
|
|
186074
185945
|
toolUseContext: toolUseContextWithQueryTracking,
|
|
186075
185946
|
autoCompactTracking: tracking,
|
|
186076
185947
|
turnCount: nextTurnCount,
|
|
@@ -186088,7 +185959,7 @@ async function* queryLoop(params, consumedCommandUuids, consumedAutonomyCommands
|
|
|
186088
185959
|
_usingCtx$1.d();
|
|
186089
185960
|
}
|
|
186090
185961
|
}
|
|
186091
|
-
var reactiveCompact,
|
|
185962
|
+
var reactiveCompact, skillPrefetch, snipModule, taskSummaryModule, MAX_OUTPUT_TOKENS_RECOVERY_LIMIT;
|
|
186092
185963
|
var init_query = __esmMin((() => {
|
|
186093
185964
|
init_withRetry();
|
|
186094
185965
|
init_autoCompact();
|
|
@@ -186132,7 +186003,6 @@ var init_query = __esmMin((() => {
|
|
|
186132
186003
|
init_langfuse();
|
|
186133
186004
|
init_providers();
|
|
186134
186005
|
reactiveCompact = null;
|
|
186135
|
-
contextCollapse = (init_contextCollapse(), __toCommonJS(contextCollapse_exports));
|
|
186136
186006
|
skillPrefetch = null;
|
|
186137
186007
|
init_classifier();
|
|
186138
186008
|
snipModule = (init_snipCompact(), __toCommonJS(snipCompact_exports));
|
|
@@ -186989,13 +186859,7 @@ function truncateHeadForPTLRetry(messages, ptlResponse) {
|
|
|
186989
186859
|
* Order: boundaryMarker, summaryMessages, messagesToKeep, attachments, hookResults
|
|
186990
186860
|
*/
|
|
186991
186861
|
function buildPostCompactMessages(result) {
|
|
186992
|
-
return [
|
|
186993
|
-
result.boundaryMarker,
|
|
186994
|
-
...result.summaryMessages,
|
|
186995
|
-
...result.messagesToKeep ?? [],
|
|
186996
|
-
...result.attachments,
|
|
186997
|
-
...result.hookResults
|
|
186998
|
-
];
|
|
186862
|
+
return [result.boundaryMarker].concat(result.summaryMessages, result.messagesToKeep ?? [], result.attachments, result.hookResults);
|
|
186999
186863
|
}
|
|
187000
186864
|
/**
|
|
187001
186865
|
* Annotate a compact boundary with relink metadata for messagesToKeep.
|
|
@@ -187762,7 +187626,6 @@ function registerCompactCleanup(callback) {
|
|
|
187762
187626
|
function runPostCompactCleanup(querySource) {
|
|
187763
187627
|
const isMainThreadCompact = querySource === void 0 || querySource.startsWith("repl_main_thread") || querySource === "sdk";
|
|
187764
187628
|
resetMicrocompactState();
|
|
187765
|
-
if (isMainThreadCompact) (init_contextCollapse(), __toCommonJS(contextCollapse_exports)).resetContextCollapse();
|
|
187766
187629
|
if (isMainThreadCompact) {
|
|
187767
187630
|
getUserContext.cache.clear?.();
|
|
187768
187631
|
resetGetMemoryFilesCache("compact");
|
|
@@ -187771,7 +187634,7 @@ function runPostCompactCleanup(querySource) {
|
|
|
187771
187634
|
clearClassifierApprovals();
|
|
187772
187635
|
clearSpeculativeChecks();
|
|
187773
187636
|
clearBetaTracingState();
|
|
187774
|
-
import("./attributionHooks-
|
|
187637
|
+
import("./attributionHooks-BPD8e_0x.js").then((m) => m.sweepFileContentCache()).catch((error) => {
|
|
187775
187638
|
logError$1(error);
|
|
187776
187639
|
});
|
|
187777
187640
|
clearSessionMessagesCache();
|
|
@@ -188328,9 +188191,27 @@ function getEffectiveContextWindowSize(model) {
|
|
|
188328
188191
|
}
|
|
188329
188192
|
return contextWindow - reservedTokensForSummary;
|
|
188330
188193
|
}
|
|
188194
|
+
/**
|
|
188195
|
+
* Context-aware autocompact buffer. Larger context windows need more
|
|
188196
|
+
* headroom because a single turn can produce proportionally more tokens
|
|
188197
|
+
* (longer model outputs + larger tool results).
|
|
188198
|
+
*/
|
|
188199
|
+
function getAutocompactBufferTokens(model) {
|
|
188200
|
+
const effectiveWindow = getEffectiveContextWindowSize(model);
|
|
188201
|
+
if (effectiveWindow >= 8e5) return 5e4;
|
|
188202
|
+
if (effectiveWindow >= 4e5) return 3e4;
|
|
188203
|
+
return AUTOCOMPACT_BUFFER_TOKENS;
|
|
188204
|
+
}
|
|
188205
|
+
/**
|
|
188206
|
+
* Estimate the maximum token growth a single turn can produce.
|
|
188207
|
+
* Used for predictive autocompact checks before the API call.
|
|
188208
|
+
*/
|
|
188209
|
+
function estimateMaxTurnGrowth(model) {
|
|
188210
|
+
return Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY) + TOOL_RESULT_GROWTH_ESTIMATE;
|
|
188211
|
+
}
|
|
188331
188212
|
function getAutoCompactThreshold(model) {
|
|
188332
188213
|
const effectiveContextWindow = getEffectiveContextWindowSize(model);
|
|
188333
|
-
const autocompactThreshold = effectiveContextWindow -
|
|
188214
|
+
const autocompactThreshold = effectiveContextWindow - getAutocompactBufferTokens(model);
|
|
188334
188215
|
const envPercent = process.env.CLAUDE_AUTOCOMPACT_PCT_OVERRIDE;
|
|
188335
188216
|
if (envPercent) {
|
|
188336
188217
|
const parsed = parseFloat(envPercent);
|
|
@@ -188368,12 +188249,7 @@ function isAutoCompactEnabled() {
|
|
|
188368
188249
|
}
|
|
188369
188250
|
async function shouldAutoCompact(messages, model, querySource, snipTokensFreed = 0) {
|
|
188370
188251
|
if (querySource === "session_memory" || querySource === "compact") return false;
|
|
188371
|
-
if (querySource === "marble_origami") return false;
|
|
188372
188252
|
if (!isAutoCompactEnabled()) return false;
|
|
188373
|
-
{
|
|
188374
|
-
const { isContextCollapseEnabled } = (init_contextCollapse(), __toCommonJS(contextCollapse_exports));
|
|
188375
|
-
if (isContextCollapseEnabled()) return false;
|
|
188376
|
-
}
|
|
188377
188253
|
const tokenCount = tokenCountWithEstimation(messages) - snipTokensFreed;
|
|
188378
188254
|
logForDebugging$1(`autocompact: tokens=${tokenCount} threshold=${getAutoCompactThreshold(model)} effectiveWindow=${getEffectiveContextWindowSize(model)}${snipTokensFreed > 0 ? ` snipFreed=${snipTokensFreed}` : ""}`);
|
|
188379
188255
|
const { isAboveAutoCompactThreshold } = calculateTokenWarningState(tokenCount, model);
|
|
@@ -188421,7 +188297,7 @@ async function autoCompactIfNeeded(messages, toolUseContext, cacheSafeParams, qu
|
|
|
188421
188297
|
};
|
|
188422
188298
|
}
|
|
188423
188299
|
}
|
|
188424
|
-
var MAX_OUTPUT_TOKENS_FOR_SUMMARY, AUTOCOMPACT_BUFFER_TOKENS, WARNING_THRESHOLD_BUFFER_TOKENS, ERROR_THRESHOLD_BUFFER_TOKENS, MANUAL_COMPACT_BUFFER_TOKENS, MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES;
|
|
188300
|
+
var MAX_OUTPUT_TOKENS_FOR_SUMMARY, AUTOCOMPACT_BUFFER_TOKENS, WARNING_THRESHOLD_BUFFER_TOKENS, ERROR_THRESHOLD_BUFFER_TOKENS, MANUAL_COMPACT_BUFFER_TOKENS, TOOL_RESULT_GROWTH_ESTIMATE, MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES;
|
|
188425
188301
|
var init_autoCompact = __esmMin((() => {
|
|
188426
188302
|
init_state();
|
|
188427
188303
|
init_config$5();
|
|
@@ -188443,6 +188319,7 @@ var init_autoCompact = __esmMin((() => {
|
|
|
188443
188319
|
WARNING_THRESHOLD_BUFFER_TOKENS = 2e4;
|
|
188444
188320
|
ERROR_THRESHOLD_BUFFER_TOKENS = 2e4;
|
|
188445
188321
|
MANUAL_COMPACT_BUFFER_TOKENS = 3e3;
|
|
188322
|
+
TOOL_RESULT_GROWTH_ESTIMATE = 15e3;
|
|
188446
188323
|
MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES = 3;
|
|
188447
188324
|
}));
|
|
188448
188325
|
//#endregion
|
|
@@ -188554,8 +188431,8 @@ async function countBuiltInToolTokens(tools, getToolPermissionContext, agentInfo
|
|
|
188554
188431
|
deferredBuiltinTokens: 0,
|
|
188555
188432
|
systemToolDetails: []
|
|
188556
188433
|
};
|
|
188557
|
-
const { isToolSearchEnabled } = await import("./toolSearch-
|
|
188558
|
-
const { isDeferredTool } = await import("./prompt-
|
|
188434
|
+
const { isToolSearchEnabled } = await import("./toolSearch-DMY6JrRd.js");
|
|
188435
|
+
const { isDeferredTool } = await import("./prompt-B4melkMz.js");
|
|
188559
188436
|
const isDeferred = await isToolSearchEnabled(model ?? "", tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeBuiltIn");
|
|
188560
188437
|
const alwaysLoadedTools = builtInTools.filter((t) => !isDeferredTool(t));
|
|
188561
188438
|
const deferredBuiltinTools = builtInTools.filter((t) => isDeferredTool(t));
|
|
@@ -188684,8 +188561,8 @@ async function countMcpToolTokens(tools, getToolPermissionContext, agentInfo, mo
|
|
|
188684
188561
|
}))));
|
|
188685
188562
|
const estimateTotal = estimates.reduce((s, e) => s + e, 0) || 1;
|
|
188686
188563
|
const mcpToolTokensByTool = estimates.map((e) => Math.round(e / estimateTotal * totalTokens));
|
|
188687
|
-
const { isToolSearchEnabled } = await import("./toolSearch-
|
|
188688
|
-
const { isDeferredTool } = await import("./prompt-
|
|
188564
|
+
const { isToolSearchEnabled } = await import("./toolSearch-DMY6JrRd.js");
|
|
188565
|
+
const { isDeferredTool } = await import("./prompt-B4melkMz.js");
|
|
188689
188566
|
const isDeferred = await isToolSearchEnabled(model, tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeMcp");
|
|
188690
188567
|
const loadedMcpToolNames = /* @__PURE__ */ new Set();
|
|
188691
188568
|
if (isDeferred && messages) {
|
|
@@ -188877,12 +188754,7 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
|
|
|
188877
188754
|
});
|
|
188878
188755
|
const actualUsage = cats.reduce((sum, cat) => sum + (cat.isDeferred ? 0 : cat.tokens), 0);
|
|
188879
188756
|
let reservedTokens = 0;
|
|
188880
|
-
|
|
188881
|
-
{
|
|
188882
|
-
const { isContextCollapseEnabled } = (init_contextCollapse(), __toCommonJS(contextCollapse_exports));
|
|
188883
|
-
if (isContextCollapseEnabled()) skipReservedBuffer = true;
|
|
188884
|
-
}
|
|
188885
|
-
if (skipReservedBuffer) {} else if (isAutoCompact && autoCompactThreshold !== void 0) {
|
|
188757
|
+
if (isAutoCompact && autoCompactThreshold !== void 0) {
|
|
188886
188758
|
reservedTokens = contextWindow - autoCompactThreshold;
|
|
188887
188759
|
cats.push({
|
|
188888
188760
|
name: RESERVED_CATEGORY_NAME,
|
|
@@ -190395,6 +190267,8 @@ function memoryFileFreshnessPrefix(data) {
|
|
|
190395
190267
|
}
|
|
190396
190268
|
async function validateContentTokens(content, ext, maxTokens) {
|
|
190397
190269
|
const effectiveMaxTokens = maxTokens ?? getDefaultFileReadingLimits().maxTokens;
|
|
190270
|
+
const byteLength = Buffer.byteLength(content);
|
|
190271
|
+
if (byteLength > effectiveMaxTokens * 4) throw new MaxFileReadTokenExceededError(Math.ceil(byteLength / 4), effectiveMaxTokens);
|
|
190398
190272
|
const tokenEstimate = roughTokenCountEstimationForFileType(content, ext);
|
|
190399
190273
|
if (!tokenEstimate || tokenEstimate <= effectiveMaxTokens / 4) return;
|
|
190400
190274
|
const effectiveCount = await countTokensWithAPI(content) ?? tokenEstimate;
|
|
@@ -190772,7 +190646,7 @@ var init_FileReadTool = __esmMin((() => {
|
|
|
190772
190646
|
FileReadTool = buildTool({
|
|
190773
190647
|
name: FILE_READ_TOOL_NAME,
|
|
190774
190648
|
searchHint: "read files, images, PDFs, notebooks",
|
|
190775
|
-
maxResultSizeChars:
|
|
190649
|
+
maxResultSizeChars: 1e5,
|
|
190776
190650
|
strict: true,
|
|
190777
190651
|
async description() {
|
|
190778
190652
|
return DESCRIPTION$16;
|
|
@@ -200149,6 +200023,128 @@ function buildMessageLookups(normalizedMessages, messages) {
|
|
|
200149
200023
|
};
|
|
200150
200024
|
}
|
|
200151
200025
|
/**
|
|
200026
|
+
* Incrementally update lookups by processing only newly appended messages.
|
|
200027
|
+
* Returns the same lookups object (mutated in place) if update succeeds,
|
|
200028
|
+
* or null if a full rebuild is needed (e.g., messages were removed).
|
|
200029
|
+
*/
|
|
200030
|
+
function updateMessageLookupsIncremental(existing, previousNormalizedCount, previousMessageCount, normalizedMessages, messages) {
|
|
200031
|
+
if (normalizedMessages.length < previousNormalizedCount || messages.length < previousMessageCount) return null;
|
|
200032
|
+
if (normalizedMessages.length === previousNormalizedCount && messages.length === previousMessageCount) return existing;
|
|
200033
|
+
const newMessageStart = previousMessageCount;
|
|
200034
|
+
for (let i = newMessageStart; i < messages.length; i++) {
|
|
200035
|
+
const msg = messages[i];
|
|
200036
|
+
if (msg.type === "assistant") {
|
|
200037
|
+
const aMsg = msg;
|
|
200038
|
+
aMsg.message.id;
|
|
200039
|
+
if (Array.isArray(aMsg.message.content)) {
|
|
200040
|
+
const newToolUseIDs = [];
|
|
200041
|
+
for (const content of aMsg.message.content) if (typeof content !== "string" && content.type === "tool_use") {
|
|
200042
|
+
const toolUseContent = content;
|
|
200043
|
+
newToolUseIDs.push(toolUseContent.id);
|
|
200044
|
+
existing.toolUseByToolUseID.set(toolUseContent.id, content);
|
|
200045
|
+
}
|
|
200046
|
+
const allSiblings = new Set(newToolUseIDs);
|
|
200047
|
+
for (const toolUseID of newToolUseIDs) existing.siblingToolUseIDs.set(toolUseID, allSiblings);
|
|
200048
|
+
}
|
|
200049
|
+
}
|
|
200050
|
+
}
|
|
200051
|
+
const newNormalizedStart = previousNormalizedCount;
|
|
200052
|
+
for (let i = newNormalizedStart; i < normalizedMessages.length; i++) {
|
|
200053
|
+
const msg = normalizedMessages[i];
|
|
200054
|
+
if (msg.type === "progress") {
|
|
200055
|
+
const toolUseID = msg.parentToolUseID;
|
|
200056
|
+
const existing2 = existing.progressMessagesByToolUseID.get(toolUseID);
|
|
200057
|
+
if (existing2) existing2.push(msg);
|
|
200058
|
+
else existing.progressMessagesByToolUseID.set(toolUseID, [msg]);
|
|
200059
|
+
const progressData = msg.data;
|
|
200060
|
+
if (progressData.type === "hook_progress") {
|
|
200061
|
+
const hookEvent = progressData.hookEvent;
|
|
200062
|
+
let byHookEvent = existing.inProgressHookCounts.get(toolUseID);
|
|
200063
|
+
if (!byHookEvent) {
|
|
200064
|
+
byHookEvent = /* @__PURE__ */ new Map();
|
|
200065
|
+
existing.inProgressHookCounts.set(toolUseID, byHookEvent);
|
|
200066
|
+
}
|
|
200067
|
+
byHookEvent.set(hookEvent, (byHookEvent.get(hookEvent) ?? 0) + 1);
|
|
200068
|
+
}
|
|
200069
|
+
}
|
|
200070
|
+
if (msg.type === "user" && Array.isArray(msg.message?.content)) {
|
|
200071
|
+
for (const content of msg.message?.content ?? []) if (typeof content !== "string" && content.type === "tool_result") {
|
|
200072
|
+
const tr = content;
|
|
200073
|
+
existing.toolResultByToolUseID.set(tr.tool_use_id, msg);
|
|
200074
|
+
existing.resolvedToolUseIDs.add(tr.tool_use_id);
|
|
200075
|
+
if (tr.is_error) existing.erroredToolUseIDs.add(tr.tool_use_id);
|
|
200076
|
+
}
|
|
200077
|
+
}
|
|
200078
|
+
if (msg.type === "assistant" && Array.isArray(msg.message?.content)) for (const content of msg.message?.content ?? []) {
|
|
200079
|
+
if (typeof content === "string") continue;
|
|
200080
|
+
if ("tool_use_id" in content && typeof content.tool_use_id === "string") existing.resolvedToolUseIDs.add(content.tool_use_id);
|
|
200081
|
+
if (content.type === "advisor_tool_result") {
|
|
200082
|
+
const result = content;
|
|
200083
|
+
if (result.content.type === "advisor_tool_result_error") existing.erroredToolUseIDs.add(result.tool_use_id);
|
|
200084
|
+
}
|
|
200085
|
+
}
|
|
200086
|
+
if (isHookAttachmentMessage(msg)) {
|
|
200087
|
+
const toolUseID = msg.attachment.toolUseID;
|
|
200088
|
+
const hookEvent = msg.attachment.hookEvent;
|
|
200089
|
+
if (msg.attachment.hookName !== void 0) {
|
|
200090
|
+
let byHookEvent = existing.resolvedHookCounts.get(toolUseID);
|
|
200091
|
+
if (!byHookEvent) {
|
|
200092
|
+
byHookEvent = /* @__PURE__ */ new Map();
|
|
200093
|
+
existing.resolvedHookCounts.set(toolUseID, byHookEvent);
|
|
200094
|
+
}
|
|
200095
|
+
byHookEvent.set(hookEvent, (byHookEvent.get(hookEvent) ?? 0) + 1);
|
|
200096
|
+
}
|
|
200097
|
+
}
|
|
200098
|
+
}
|
|
200099
|
+
existing.normalizedMessageCount = normalizedMessages.length;
|
|
200100
|
+
const lastMsg = messages.at(-1);
|
|
200101
|
+
const lastAssistantMsgId = lastMsg?.type === "assistant" ? lastMsg.message?.id : void 0;
|
|
200102
|
+
for (let i = newNormalizedStart; i < normalizedMessages.length; i++) {
|
|
200103
|
+
const msg = normalizedMessages[i];
|
|
200104
|
+
if (msg.type !== "assistant") continue;
|
|
200105
|
+
const aMsg = msg;
|
|
200106
|
+
if (aMsg.message.id === lastAssistantMsgId) continue;
|
|
200107
|
+
if (!Array.isArray(aMsg.message.content)) continue;
|
|
200108
|
+
for (const content of aMsg.message.content) if (typeof content !== "string" && (content.type === "server_tool_use" || content.type === "mcp_tool_use") && !existing.resolvedToolUseIDs.has(content.id)) {
|
|
200109
|
+
const id = content.id;
|
|
200110
|
+
existing.resolvedToolUseIDs.add(id);
|
|
200111
|
+
existing.erroredToolUseIDs.add(id);
|
|
200112
|
+
}
|
|
200113
|
+
}
|
|
200114
|
+
return existing;
|
|
200115
|
+
}
|
|
200116
|
+
/**
|
|
200117
|
+
* Compute a lightweight structural fingerprint for buildMessageLookups caching.
|
|
200118
|
+
* Only captures information that affects lookup results (types, IDs, counts),
|
|
200119
|
+
* not content. Returns an empty string when the arrays are structurally empty.
|
|
200120
|
+
*
|
|
200121
|
+
* O(n) but allocates only a string — much cheaper than the 8 Maps/Sets that
|
|
200122
|
+
* buildMessageLookups creates on every call.
|
|
200123
|
+
*/
|
|
200124
|
+
function computeMessageStructureKey(normalizedMessages, messages) {
|
|
200125
|
+
const parts = [
|
|
200126
|
+
String(normalizedMessages.length),
|
|
200127
|
+
"|",
|
|
200128
|
+
String(messages.length)
|
|
200129
|
+
];
|
|
200130
|
+
for (const msg of messages) {
|
|
200131
|
+
parts.push(msg.type[0]);
|
|
200132
|
+
if (msg.type === "assistant") {
|
|
200133
|
+
const content = msg.message?.content;
|
|
200134
|
+
if (Array.isArray(content)) {
|
|
200135
|
+
for (const block of content) if (typeof block !== "string" && block.type === "tool_use") parts.push("t", block.id);
|
|
200136
|
+
}
|
|
200137
|
+
} else if (msg.type === "user") {
|
|
200138
|
+
const content = msg.message?.content;
|
|
200139
|
+
if (Array.isArray(content)) {
|
|
200140
|
+
for (const block of content) if (typeof block !== "string" && block.type === "tool_result") parts.push("r", block.tool_use_id);
|
|
200141
|
+
}
|
|
200142
|
+
}
|
|
200143
|
+
}
|
|
200144
|
+
for (const msg of normalizedMessages) if (msg.type === "progress") parts.push("p", msg.parentToolUseID);
|
|
200145
|
+
return parts.join(",");
|
|
200146
|
+
}
|
|
200147
|
+
/**
|
|
200152
200148
|
* Build lookups from subagent/skill progress messages so child tool uses
|
|
200153
200149
|
* render with correct resolved/in-progress/queued state.
|
|
200154
200150
|
*
|
|
@@ -203368,7 +203364,7 @@ var init_feedback = __esmMin((() => {
|
|
|
203368
203364
|
description: `Submit feedback about Claude Code`,
|
|
203369
203365
|
argumentHint: "[report]",
|
|
203370
203366
|
isEnabled: () => !(isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) || isEnvTruthy(process.env.DISABLE_FEEDBACK_COMMAND) || isEnvTruthy(process.env.DISABLE_BUG_COMMAND) || isEssentialTrafficOnly() || process.env.USER_TYPE === "ant" || !isPolicyAllowed("allow_product_feedback")),
|
|
203371
|
-
load: () => import("./feedback-
|
|
203367
|
+
load: () => import("./feedback-s3WKREOB.js")
|
|
203372
203368
|
};
|
|
203373
203369
|
}));
|
|
203374
203370
|
//#endregion
|
|
@@ -203381,7 +203377,7 @@ var init_clear = __esmMin((() => {
|
|
|
203381
203377
|
description: "Clear conversation history and free up context",
|
|
203382
203378
|
aliases: ["reset", "new"],
|
|
203383
203379
|
supportsNonInteractive: false,
|
|
203384
|
-
load: () => import("./clear-
|
|
203380
|
+
load: () => import("./clear-G_r5cQ-4.js")
|
|
203385
203381
|
};
|
|
203386
203382
|
}));
|
|
203387
203383
|
//#endregion
|
|
@@ -203394,7 +203390,7 @@ var init_color = __esmMin((() => {
|
|
|
203394
203390
|
description: "Set the prompt bar color for this session",
|
|
203395
203391
|
immediate: true,
|
|
203396
203392
|
argumentHint: "<color|default>",
|
|
203397
|
-
load: () => import("./color-
|
|
203393
|
+
load: () => import("./color-CU67WKjy.js")
|
|
203398
203394
|
};
|
|
203399
203395
|
}));
|
|
203400
203396
|
//#endregion
|
|
@@ -203488,7 +203484,7 @@ var init_copy = __esmMin((() => {
|
|
|
203488
203484
|
type: "local-jsx",
|
|
203489
203485
|
name: "copy",
|
|
203490
203486
|
description: "Copy Claude's last response to clipboard (or /copy N for the Nth-latest)",
|
|
203491
|
-
load: () => import("./copy-
|
|
203487
|
+
load: () => import("./copy-8yUrE8Tg.js")
|
|
203492
203488
|
};
|
|
203493
203489
|
}));
|
|
203494
203490
|
//#endregion
|
|
@@ -203510,7 +203506,7 @@ var init_desktop = __esmMin((() => {
|
|
|
203510
203506
|
get isHidden() {
|
|
203511
203507
|
return !isSupportedPlatform();
|
|
203512
203508
|
},
|
|
203513
|
-
load: () => import("./desktop-
|
|
203509
|
+
load: () => import("./desktop-Bg7AAKnq.js")
|
|
203514
203510
|
};
|
|
203515
203511
|
}));
|
|
203516
203512
|
//#endregion
|
|
@@ -203659,7 +203655,7 @@ var init_compact = __esmMin((() => {
|
|
|
203659
203655
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_COMPACT),
|
|
203660
203656
|
supportsNonInteractive: true,
|
|
203661
203657
|
argumentHint: "<optional custom summarization instructions>",
|
|
203662
|
-
load: () => import("./compact-
|
|
203658
|
+
load: () => import("./compact-BTP1wyPw.js")
|
|
203663
203659
|
};
|
|
203664
203660
|
}));
|
|
203665
203661
|
//#endregion
|
|
@@ -203671,7 +203667,7 @@ var init_config = __esmMin((() => {
|
|
|
203671
203667
|
type: "local-jsx",
|
|
203672
203668
|
name: "config",
|
|
203673
203669
|
description: "Open config panel",
|
|
203674
|
-
load: () => import("./config-
|
|
203670
|
+
load: () => import("./config-D6u3RFjn.js")
|
|
203675
203671
|
};
|
|
203676
203672
|
}));
|
|
203677
203673
|
//#endregion
|
|
@@ -203684,7 +203680,7 @@ var init_context = __esmMin((() => {
|
|
|
203684
203680
|
description: "Visualize current context usage as a colored grid",
|
|
203685
203681
|
isEnabled: () => !getIsNonInteractiveSession(),
|
|
203686
203682
|
type: "local-jsx",
|
|
203687
|
-
load: () => import("./context-
|
|
203683
|
+
load: () => import("./context-DmqiiVcv.js")
|
|
203688
203684
|
};
|
|
203689
203685
|
contextNonInteractive = {
|
|
203690
203686
|
type: "local",
|
|
@@ -203697,7 +203693,7 @@ var init_context = __esmMin((() => {
|
|
|
203697
203693
|
isEnabled() {
|
|
203698
203694
|
return getIsNonInteractiveSession();
|
|
203699
203695
|
},
|
|
203700
|
-
load: () => import("./context-noninteractive-
|
|
203696
|
+
load: () => import("./context-noninteractive-Mmynfb7O.js")
|
|
203701
203697
|
};
|
|
203702
203698
|
}));
|
|
203703
203699
|
//#endregion
|
|
@@ -203714,7 +203710,7 @@ var init_cost = __esmMin((() => {
|
|
|
203714
203710
|
return isClaudeAISubscriber();
|
|
203715
203711
|
},
|
|
203716
203712
|
supportsNonInteractive: true,
|
|
203717
|
-
load: () => import("./cost-
|
|
203713
|
+
load: () => import("./cost-DIB26Rz9.js")
|
|
203718
203714
|
};
|
|
203719
203715
|
}));
|
|
203720
203716
|
//#endregion
|
|
@@ -203725,7 +203721,7 @@ var init_diff = __esmMin((() => {
|
|
|
203725
203721
|
type: "local-jsx",
|
|
203726
203722
|
name: "diff",
|
|
203727
203723
|
description: "View uncommitted changes and per-turn diffs",
|
|
203728
|
-
load: () => import("./diff-
|
|
203724
|
+
load: () => import("./diff-BamqHMBP.js")
|
|
203729
203725
|
};
|
|
203730
203726
|
}));
|
|
203731
203727
|
//#endregion
|
|
@@ -203748,7 +203744,7 @@ var init_doctor = __esmMin((() => {
|
|
|
203748
203744
|
description: "Diagnose and verify your Claude Code installation and settings",
|
|
203749
203745
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_DOCTOR_COMMAND),
|
|
203750
203746
|
type: "local-jsx",
|
|
203751
|
-
load: () => import("./doctor-
|
|
203747
|
+
load: () => import("./doctor-CtRKnYDQ.js")
|
|
203752
203748
|
};
|
|
203753
203749
|
}));
|
|
203754
203750
|
//#endregion
|
|
@@ -203759,7 +203755,7 @@ var init_memory = __esmMin((() => {
|
|
|
203759
203755
|
type: "local-jsx",
|
|
203760
203756
|
name: "memory",
|
|
203761
203757
|
description: "Edit Claude memory files",
|
|
203762
|
-
load: () => import("./memory-
|
|
203758
|
+
load: () => import("./memory-C6bAy58g.js")
|
|
203763
203759
|
};
|
|
203764
203760
|
}));
|
|
203765
203761
|
//#endregion
|
|
@@ -203770,7 +203766,7 @@ var init_help = __esmMin((() => {
|
|
|
203770
203766
|
type: "local-jsx",
|
|
203771
203767
|
name: "help",
|
|
203772
203768
|
description: "Show help and available commands",
|
|
203773
|
-
load: () => import("./help-
|
|
203769
|
+
load: () => import("./help-DlPeXNWt.js")
|
|
203774
203770
|
};
|
|
203775
203771
|
}));
|
|
203776
203772
|
//#endregion
|
|
@@ -203782,7 +203778,7 @@ var init_ide = __esmMin((() => {
|
|
|
203782
203778
|
name: "ide",
|
|
203783
203779
|
description: "Manage IDE integrations and show status",
|
|
203784
203780
|
argumentHint: "[open]",
|
|
203785
|
-
load: () => import("./ide-
|
|
203781
|
+
load: () => import("./ide-CCOu-jYJ.js")
|
|
203786
203782
|
};
|
|
203787
203783
|
}));
|
|
203788
203784
|
//#endregion
|
|
@@ -204103,7 +204099,7 @@ var init_keybindings = __esmMin((() => {
|
|
|
204103
204099
|
isEnabled: () => isKeybindingCustomizationEnabled(),
|
|
204104
204100
|
supportsNonInteractive: false,
|
|
204105
204101
|
type: "local",
|
|
204106
|
-
load: () => import("./keybindings-
|
|
204102
|
+
load: () => import("./keybindings-ClAnum6u.js")
|
|
204107
204103
|
};
|
|
204108
204104
|
}));
|
|
204109
204105
|
//#endregion
|
|
@@ -204116,7 +204112,7 @@ var init_lang = __esmMin((() => {
|
|
|
204116
204112
|
description: "Set display language (en/zh/auto)",
|
|
204117
204113
|
immediate: true,
|
|
204118
204114
|
argumentHint: "<en|zh|auto>",
|
|
204119
|
-
load: () => import("./lang-
|
|
204115
|
+
load: () => import("./lang-BLhCHp6V.js")
|
|
204120
204116
|
};
|
|
204121
204117
|
}));
|
|
204122
204118
|
//#endregion
|
|
@@ -204130,7 +204126,7 @@ var init_login = __esmMin((() => {
|
|
|
204130
204126
|
name: "login",
|
|
204131
204127
|
description: hasAnthropicApiKeyAuth() ? "Switch Anthropic accounts" : "Sign in with your Anthropic account",
|
|
204132
204128
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGIN_COMMAND),
|
|
204133
|
-
load: () => import("./login-
|
|
204129
|
+
load: () => import("./login-BYBV03DK.js")
|
|
204134
204130
|
});
|
|
204135
204131
|
}));
|
|
204136
204132
|
//#endregion
|
|
@@ -204143,7 +204139,7 @@ var init_logout = __esmMin((() => {
|
|
|
204143
204139
|
name: "logout",
|
|
204144
204140
|
description: "Sign out from your Anthropic account",
|
|
204145
204141
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
|
|
204146
|
-
load: () => import("./logout-
|
|
204142
|
+
load: () => import("./logout-CWfsVYFz.js")
|
|
204147
204143
|
};
|
|
204148
204144
|
}));
|
|
204149
204145
|
//#endregion
|
|
@@ -204157,7 +204153,7 @@ var init_install_github_app = __esmMin((() => {
|
|
|
204157
204153
|
description: "Set up Claude GitHub Actions for a repository",
|
|
204158
204154
|
availability: ["claude-ai", "console"],
|
|
204159
204155
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_INSTALL_GITHUB_APP_COMMAND),
|
|
204160
|
-
load: () => import("./install-github-app-
|
|
204156
|
+
load: () => import("./install-github-app-BXGoIbuH.js")
|
|
204161
204157
|
};
|
|
204162
204158
|
}));
|
|
204163
204159
|
//#endregion
|
|
@@ -204170,7 +204166,7 @@ var init_install_slack_app = __esmMin((() => {
|
|
|
204170
204166
|
description: "Install the Claude Slack app",
|
|
204171
204167
|
availability: ["claude-ai"],
|
|
204172
204168
|
supportsNonInteractive: false,
|
|
204173
|
-
load: () => import("./install-slack-app-
|
|
204169
|
+
load: () => import("./install-slack-app-CTY4P_zi.js")
|
|
204174
204170
|
};
|
|
204175
204171
|
}));
|
|
204176
204172
|
//#endregion
|
|
@@ -204193,7 +204189,7 @@ var init_mcp = __esmMin((() => {
|
|
|
204193
204189
|
description: "Manage MCP servers",
|
|
204194
204190
|
immediate: true,
|
|
204195
204191
|
argumentHint: "[enable|disable [server-name]]",
|
|
204196
|
-
load: () => import("./mcp-
|
|
204192
|
+
load: () => import("./mcp-DeSp8OaA.js")
|
|
204197
204193
|
};
|
|
204198
204194
|
}));
|
|
204199
204195
|
//#endregion
|
|
@@ -204205,7 +204201,7 @@ var init_mobile = __esmMin((() => {
|
|
|
204205
204201
|
name: "mobile",
|
|
204206
204202
|
aliases: ["ios", "android"],
|
|
204207
204203
|
description: "Show QR code to download the Claude mobile app",
|
|
204208
|
-
load: () => import("./mobile-
|
|
204204
|
+
load: () => import("./mobile-CCuhu7vo.js")
|
|
204209
204205
|
};
|
|
204210
204206
|
}));
|
|
204211
204207
|
//#endregion
|
|
@@ -204311,7 +204307,7 @@ var init_release_notes = __esmMin((() => {
|
|
|
204311
204307
|
name: "release-notes",
|
|
204312
204308
|
type: "local",
|
|
204313
204309
|
supportsNonInteractive: true,
|
|
204314
|
-
load: () => import("./release-notes-
|
|
204310
|
+
load: () => import("./release-notes-Dq9sj5fL.js")
|
|
204315
204311
|
};
|
|
204316
204312
|
}));
|
|
204317
204313
|
//#endregion
|
|
@@ -204324,7 +204320,7 @@ var init_rename = __esmMin((() => {
|
|
|
204324
204320
|
description: "Rename the current conversation",
|
|
204325
204321
|
immediate: true,
|
|
204326
204322
|
argumentHint: "[name]",
|
|
204327
|
-
load: () => import("./rename-
|
|
204323
|
+
load: () => import("./rename-CySWEHZS.js")
|
|
204328
204324
|
};
|
|
204329
204325
|
}));
|
|
204330
204326
|
//#endregion
|
|
@@ -204337,7 +204333,7 @@ var init_resume = __esmMin((() => {
|
|
|
204337
204333
|
description: "Resume a previous conversation",
|
|
204338
204334
|
aliases: ["continue"],
|
|
204339
204335
|
argumentHint: "[conversation id or search term]",
|
|
204340
|
-
load: () => import("./resume-
|
|
204336
|
+
load: () => import("./resume-CeeDVj4h.js")
|
|
204341
204337
|
};
|
|
204342
204338
|
}));
|
|
204343
204339
|
//#endregion
|
|
@@ -204401,7 +204397,7 @@ var init_review = __esmMin((() => {
|
|
|
204401
204397
|
name: "ultrareview",
|
|
204402
204398
|
description: `~10–20 min · Finds and verifies bugs in your branch. Runs in Claude Code on the web. See ${CCR_TERMS_URL$1}`,
|
|
204403
204399
|
isEnabled: () => isUltrareviewEnabled(),
|
|
204404
|
-
load: () => import("./ultrareviewCommand-
|
|
204400
|
+
load: () => import("./ultrareviewCommand-DdesSC0b.js")
|
|
204405
204401
|
};
|
|
204406
204402
|
}));
|
|
204407
204403
|
//#endregion
|
|
@@ -204418,7 +204414,7 @@ var init_session = __esmMin((() => {
|
|
|
204418
204414
|
get isHidden() {
|
|
204419
204415
|
return !getIsRemoteMode();
|
|
204420
204416
|
},
|
|
204421
|
-
load: () => import("./session-
|
|
204417
|
+
load: () => import("./session-B8yXB02b.js")
|
|
204422
204418
|
};
|
|
204423
204419
|
}));
|
|
204424
204420
|
//#endregion
|
|
@@ -204439,7 +204435,7 @@ var init_skills = __esmMin((() => {
|
|
|
204439
204435
|
type: "local-jsx",
|
|
204440
204436
|
name: "skills",
|
|
204441
204437
|
description: "List available skills",
|
|
204442
|
-
load: () => import("./skills-
|
|
204438
|
+
load: () => import("./skills-CdJlJQW-.js")
|
|
204443
204439
|
};
|
|
204444
204440
|
}));
|
|
204445
204441
|
//#endregion
|
|
@@ -204451,7 +204447,7 @@ var init_status = __esmMin((() => {
|
|
|
204451
204447
|
name: "status",
|
|
204452
204448
|
description: "Show Claude Code status including version, model, account, API connectivity, and tool statuses",
|
|
204453
204449
|
immediate: true,
|
|
204454
|
-
load: () => import("./status-
|
|
204450
|
+
load: () => import("./status-CjtNxweQ.js")
|
|
204455
204451
|
};
|
|
204456
204452
|
}));
|
|
204457
204453
|
//#endregion
|
|
@@ -204463,7 +204459,7 @@ var init_tasks = __esmMin((() => {
|
|
|
204463
204459
|
name: "tasks",
|
|
204464
204460
|
aliases: ["bashes"],
|
|
204465
204461
|
description: "List and manage background tasks",
|
|
204466
|
-
load: () => import("./tasks-
|
|
204462
|
+
load: () => import("./tasks-B_a-4VRW.js")
|
|
204467
204463
|
};
|
|
204468
204464
|
}));
|
|
204469
204465
|
//#endregion
|
|
@@ -204731,7 +204727,7 @@ var init_terminalSetup = __esmMin((() => {
|
|
|
204731
204727
|
"iTerm.app": "iTerm2",
|
|
204732
204728
|
WezTerm: "WezTerm"
|
|
204733
204729
|
},
|
|
204734
|
-
load: () => import("./terminalSetup-
|
|
204730
|
+
load: () => import("./terminalSetup-D03rfQsi.js")
|
|
204735
204731
|
};
|
|
204736
204732
|
}));
|
|
204737
204733
|
//#endregion
|
|
@@ -204743,7 +204739,7 @@ var init_usage = __esmMin((() => {
|
|
|
204743
204739
|
name: "usage",
|
|
204744
204740
|
description: "Show plan usage limits",
|
|
204745
204741
|
availability: ["claude-ai"],
|
|
204746
|
-
load: () => import("./usage-
|
|
204742
|
+
load: () => import("./usage-mtVK0VzA.js")
|
|
204747
204743
|
};
|
|
204748
204744
|
}));
|
|
204749
204745
|
//#endregion
|
|
@@ -204754,7 +204750,7 @@ var init_theme = __esmMin((() => {
|
|
|
204754
204750
|
type: "local-jsx",
|
|
204755
204751
|
name: "theme",
|
|
204756
204752
|
description: "Change the theme",
|
|
204757
|
-
load: () => import("./theme-
|
|
204753
|
+
load: () => import("./theme-DXL-FyOp.js")
|
|
204758
204754
|
};
|
|
204759
204755
|
}));
|
|
204760
204756
|
//#endregion
|
|
@@ -204766,7 +204762,7 @@ var init_vim = __esmMin((() => {
|
|
|
204766
204762
|
description: "Toggle between Vim and Normal editing modes",
|
|
204767
204763
|
supportsNonInteractive: false,
|
|
204768
204764
|
type: "local",
|
|
204769
|
-
load: () => import("./vim-
|
|
204765
|
+
load: () => import("./vim-mj03g8hF.js")
|
|
204770
204766
|
};
|
|
204771
204767
|
}));
|
|
204772
204768
|
//#endregion
|
|
@@ -204779,7 +204775,7 @@ var init_thinkback = __esmMin((() => {
|
|
|
204779
204775
|
name: "think-back",
|
|
204780
204776
|
description: "Your 2025 Claude Code Year in Review",
|
|
204781
204777
|
isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
|
|
204782
|
-
load: () => import("./thinkback-
|
|
204778
|
+
load: () => import("./thinkback-BmnZEaqj.js")
|
|
204783
204779
|
};
|
|
204784
204780
|
}));
|
|
204785
204781
|
//#endregion
|
|
@@ -204794,7 +204790,7 @@ var init_thinkback_play = __esmMin((() => {
|
|
|
204794
204790
|
isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
|
|
204795
204791
|
isHidden: true,
|
|
204796
204792
|
supportsNonInteractive: false,
|
|
204797
|
-
load: () => import("./thinkback-play-
|
|
204793
|
+
load: () => import("./thinkback-play-COpfw3qN.js")
|
|
204798
204794
|
};
|
|
204799
204795
|
}));
|
|
204800
204796
|
//#endregion
|
|
@@ -204806,7 +204802,7 @@ var init_permissions$1 = __esmMin((() => {
|
|
|
204806
204802
|
name: "permissions",
|
|
204807
204803
|
aliases: ["allowed-tools"],
|
|
204808
204804
|
description: "Manage allow & deny tool permission rules",
|
|
204809
|
-
load: () => import("./permissions-
|
|
204805
|
+
load: () => import("./permissions-Ya82mWiD.js")
|
|
204810
204806
|
};
|
|
204811
204807
|
}));
|
|
204812
204808
|
//#endregion
|
|
@@ -204822,7 +204818,7 @@ var init_plan = __esmMin((() => {
|
|
|
204822
204818
|
name: "plan",
|
|
204823
204819
|
description: "Enable plan mode or view the current session plan",
|
|
204824
204820
|
argumentHint: "[open|<description>]",
|
|
204825
|
-
load: () => import("./plan-
|
|
204821
|
+
load: () => import("./plan-DnlZ19uW.js")
|
|
204826
204822
|
};
|
|
204827
204823
|
}));
|
|
204828
204824
|
//#endregion
|
|
@@ -204861,7 +204857,7 @@ var init_fast = __esmMin((() => {
|
|
|
204861
204857
|
get immediate() {
|
|
204862
204858
|
return shouldInferenceConfigCommandBeImmediate();
|
|
204863
204859
|
},
|
|
204864
|
-
load: () => import("./fast-
|
|
204860
|
+
load: () => import("./fast-DCmagq8g.js")
|
|
204865
204861
|
};
|
|
204866
204862
|
}));
|
|
204867
204863
|
//#endregion
|
|
@@ -204880,7 +204876,7 @@ var init_passes = __esmMin((() => {
|
|
|
204880
204876
|
const { eligible, hasCache } = checkCachedPassesEligibility();
|
|
204881
204877
|
return !eligible || !hasCache;
|
|
204882
204878
|
},
|
|
204883
|
-
load: () => import("./passes-
|
|
204879
|
+
load: () => import("./passes-D6aBRvwr.js")
|
|
204884
204880
|
};
|
|
204885
204881
|
}));
|
|
204886
204882
|
//#endregion
|
|
@@ -204895,7 +204891,7 @@ var init_privacy_settings = __esmMin((() => {
|
|
|
204895
204891
|
isEnabled: () => {
|
|
204896
204892
|
return isConsumerSubscriber();
|
|
204897
204893
|
},
|
|
204898
|
-
load: () => import("./privacy-settings-
|
|
204894
|
+
load: () => import("./privacy-settings-CsPlCiWX.js")
|
|
204899
204895
|
};
|
|
204900
204896
|
}));
|
|
204901
204897
|
//#endregion
|
|
@@ -204907,7 +204903,7 @@ var init_hooks$2 = __esmMin((() => {
|
|
|
204907
204903
|
name: "hooks",
|
|
204908
204904
|
description: "View hook configurations for tool events",
|
|
204909
204905
|
immediate: true,
|
|
204910
|
-
load: () => import("./hooks-
|
|
204906
|
+
load: () => import("./hooks-BQK2ima6.js")
|
|
204911
204907
|
};
|
|
204912
204908
|
}));
|
|
204913
204909
|
//#endregion
|
|
@@ -204920,7 +204916,7 @@ var init_files = __esmMin((() => {
|
|
|
204920
204916
|
description: "List all files currently in context",
|
|
204921
204917
|
isEnabled: () => process.env.USER_TYPE === "ant",
|
|
204922
204918
|
supportsNonInteractive: true,
|
|
204923
|
-
load: () => import("./files-
|
|
204919
|
+
load: () => import("./files-D-XG-cRK.js")
|
|
204924
204920
|
};
|
|
204925
204921
|
}));
|
|
204926
204922
|
//#endregion
|
|
@@ -204933,7 +204929,7 @@ var init_branch = __esmMin((() => {
|
|
|
204933
204929
|
aliases: ["fork"],
|
|
204934
204930
|
description: "Create a branch of the current conversation at this point",
|
|
204935
204931
|
argumentHint: "[name]",
|
|
204936
|
-
load: () => import("./branch-
|
|
204932
|
+
load: () => import("./branch-Br-k7uvD.js")
|
|
204937
204933
|
};
|
|
204938
204934
|
}));
|
|
204939
204935
|
//#endregion
|
|
@@ -204944,7 +204940,7 @@ var init_agents = __esmMin((() => {
|
|
|
204944
204940
|
type: "local-jsx",
|
|
204945
204941
|
name: "agents",
|
|
204946
204942
|
description: "Manage agent configurations",
|
|
204947
|
-
load: () => import("./agents
|
|
204943
|
+
load: () => import("./agents-BZBH1U9i.js")
|
|
204948
204944
|
};
|
|
204949
204945
|
}));
|
|
204950
204946
|
//#endregion
|
|
@@ -204957,7 +204953,7 @@ var init_plugin = __esmMin((() => {
|
|
|
204957
204953
|
aliases: ["plugins", "marketplace"],
|
|
204958
204954
|
description: "Manage Claude Code plugins",
|
|
204959
204955
|
immediate: true,
|
|
204960
|
-
load: () => import("./plugin-
|
|
204956
|
+
load: () => import("./plugin-Cnri7FhJ.js")
|
|
204961
204957
|
};
|
|
204962
204958
|
}));
|
|
204963
204959
|
//#endregion
|
|
@@ -204969,7 +204965,7 @@ var init_reload_plugins = __esmMin((() => {
|
|
|
204969
204965
|
name: "reload-plugins",
|
|
204970
204966
|
description: "Activate pending plugin changes in the current session",
|
|
204971
204967
|
supportsNonInteractive: false,
|
|
204972
|
-
load: () => import("./reload-plugins-
|
|
204968
|
+
load: () => import("./reload-plugins-CL3a4Qj2.js")
|
|
204973
204969
|
};
|
|
204974
204970
|
}));
|
|
204975
204971
|
//#endregion
|
|
@@ -204983,7 +204979,7 @@ var init_rewind = __esmMin((() => {
|
|
|
204983
204979
|
argumentHint: "",
|
|
204984
204980
|
type: "local",
|
|
204985
204981
|
supportsNonInteractive: false,
|
|
204986
|
-
load: () => import("./rewind
|
|
204982
|
+
load: () => import("./rewind--aiBfd91.js")
|
|
204987
204983
|
};
|
|
204988
204984
|
}));
|
|
204989
204985
|
//#endregion
|
|
@@ -204996,7 +204992,7 @@ var init_heapdump = __esmMin((() => {
|
|
|
204996
204992
|
description: "Dump the JS heap to ~/Desktop",
|
|
204997
204993
|
isHidden: true,
|
|
204998
204994
|
supportsNonInteractive: true,
|
|
204999
|
-
load: () => import("./heapdump-
|
|
204995
|
+
load: () => import("./heapdump-oC_DSj20.js")
|
|
205000
204996
|
};
|
|
205001
204997
|
}));
|
|
205002
204998
|
//#endregion
|
|
@@ -205486,7 +205482,7 @@ var init_version = __esmMin((() => {
|
|
|
205486
205482
|
call$6 = async () => {
|
|
205487
205483
|
return {
|
|
205488
205484
|
type: "text",
|
|
205489
|
-
value: `2.1.888 (built 2026-05-
|
|
205485
|
+
value: `2.1.888 (built 2026-05-02T12:39:50.766Z)`
|
|
205490
205486
|
};
|
|
205491
205487
|
};
|
|
205492
205488
|
version$1 = {
|
|
@@ -205515,8 +205511,8 @@ var init_summary = __esmMin((() => {
|
|
|
205515
205511
|
value: "No messages to summarize."
|
|
205516
205512
|
};
|
|
205517
205513
|
try {
|
|
205518
|
-
const { manuallyExtractSessionMemory } = await import("./sessionMemory-
|
|
205519
|
-
const { getSessionMemoryContent } = await import("./sessionMemoryUtils-
|
|
205514
|
+
const { manuallyExtractSessionMemory } = await import("./sessionMemory-y9CgnQ79.js");
|
|
205515
|
+
const { getSessionMemoryContent } = await import("./sessionMemoryUtils-Ozc3FONI.js");
|
|
205520
205516
|
const result = await manuallyExtractSessionMemory(safeMessages, {
|
|
205521
205517
|
...context,
|
|
205522
205518
|
messages: safeMessages
|
|
@@ -205562,7 +205558,7 @@ var init_skill_learning = __esmMin((() => {
|
|
|
205562
205558
|
argumentHint: "[start|stop|about|status|ingest|evolve|export|import|prune|promote|projects]",
|
|
205563
205559
|
isEnabled: () => isSkillLearningCompiledIn(),
|
|
205564
205560
|
isHidden: false,
|
|
205565
|
-
load: () => import("./skillPanel-
|
|
205561
|
+
load: () => import("./skillPanel-DG0PyCEG.js")
|
|
205566
205562
|
};
|
|
205567
205563
|
}));
|
|
205568
205564
|
//#endregion
|
|
@@ -205606,7 +205602,7 @@ var init_skill_search = __esmMin((() => {
|
|
|
205606
205602
|
argumentHint: "[start|stop|about|status]",
|
|
205607
205603
|
isEnabled: () => isSkillSearchCompiledIn(),
|
|
205608
205604
|
isHidden: false,
|
|
205609
|
-
load: () => import("./skillSearchPanel-
|
|
205605
|
+
load: () => import("./skillSearchPanel-DPxjJ6o7.js")
|
|
205610
205606
|
};
|
|
205611
205607
|
}));
|
|
205612
205608
|
//#endregion
|
|
@@ -205672,7 +205668,7 @@ var init_sandbox_toggle = __esmMin((() => {
|
|
|
205672
205668
|
},
|
|
205673
205669
|
immediate: true,
|
|
205674
205670
|
type: "local-jsx",
|
|
205675
|
-
load: () => import("./sandbox-toggle-
|
|
205671
|
+
load: () => import("./sandbox-toggle-lAEd5cPT.js")
|
|
205676
205672
|
};
|
|
205677
205673
|
}));
|
|
205678
205674
|
//#endregion
|
|
@@ -205686,7 +205682,7 @@ var init_chrome = __esmMin((() => {
|
|
|
205686
205682
|
availability: [],
|
|
205687
205683
|
isEnabled: () => !getIsNonInteractiveSession(),
|
|
205688
205684
|
type: "local-jsx",
|
|
205689
|
-
load: () => import("./chrome-
|
|
205685
|
+
load: () => import("./chrome-BqD7QkN-.js")
|
|
205690
205686
|
};
|
|
205691
205687
|
}));
|
|
205692
205688
|
//#endregion
|
|
@@ -205698,7 +205694,7 @@ var init_stickers = __esmMin((() => {
|
|
|
205698
205694
|
name: "stickers",
|
|
205699
205695
|
description: "Order Claude Code stickers",
|
|
205700
205696
|
supportsNonInteractive: false,
|
|
205701
|
-
load: () => import("./stickers-
|
|
205697
|
+
load: () => import("./stickers-CyMqW076.js")
|
|
205702
205698
|
};
|
|
205703
205699
|
}));
|
|
205704
205700
|
//#endregion
|
|
@@ -205792,7 +205788,7 @@ var init_autonomy = __esmMin((() => {
|
|
|
205792
205788
|
name: "autonomy",
|
|
205793
205789
|
description: "Inspect automatic autonomy runs recorded for proactive ticks and scheduled tasks",
|
|
205794
205790
|
argumentHint: "[status [--deep]|runs [limit]|flows [limit]|flow <id>|flow cancel <id>|flow resume <id>]",
|
|
205795
|
-
load: () => import("./autonomyPanel-
|
|
205791
|
+
load: () => import("./autonomyPanel-S7XHeSof.js")
|
|
205796
205792
|
};
|
|
205797
205793
|
}));
|
|
205798
205794
|
//#endregion
|
|
@@ -206361,7 +206357,7 @@ var init_exit = __esmMin((() => {
|
|
|
206361
206357
|
aliases: ["quit"],
|
|
206362
206358
|
description: "Exit the REPL",
|
|
206363
206359
|
immediate: true,
|
|
206364
|
-
load: () => import("./exit-
|
|
206360
|
+
load: () => import("./exit-ufWUQWOM.js")
|
|
206365
206361
|
};
|
|
206366
206362
|
}));
|
|
206367
206363
|
//#endregion
|
|
@@ -206373,7 +206369,7 @@ var init_export = __esmMin((() => {
|
|
|
206373
206369
|
name: "export",
|
|
206374
206370
|
description: "Export the current conversation to a file or clipboard",
|
|
206375
206371
|
argumentHint: "[filename]",
|
|
206376
|
-
load: () => import("./export-
|
|
206372
|
+
load: () => import("./export-UvKmz536.js")
|
|
206377
206373
|
};
|
|
206378
206374
|
}));
|
|
206379
206375
|
//#endregion
|
|
@@ -206392,7 +206388,7 @@ var init_model = __esmMin((() => {
|
|
|
206392
206388
|
get immediate() {
|
|
206393
206389
|
return shouldInferenceConfigCommandBeImmediate();
|
|
206394
206390
|
},
|
|
206395
|
-
load: () => import("./model-
|
|
206391
|
+
load: () => import("./model-cbhA7UxF.js")
|
|
206396
206392
|
};
|
|
206397
206393
|
}));
|
|
206398
206394
|
//#endregion
|
|
@@ -206405,7 +206401,7 @@ var init_tag = __esmMin((() => {
|
|
|
206405
206401
|
description: "Toggle a searchable tag on the current session",
|
|
206406
206402
|
isEnabled: () => process.env.USER_TYPE === "ant",
|
|
206407
206403
|
argumentHint: "<tag-name>",
|
|
206408
|
-
load: () => import("./tag-
|
|
206404
|
+
load: () => import("./tag-Dy6IPbTJ.js")
|
|
206409
206405
|
};
|
|
206410
206406
|
}));
|
|
206411
206407
|
//#endregion
|
|
@@ -206417,7 +206413,7 @@ var init_output_style = __esmMin((() => {
|
|
|
206417
206413
|
name: "output-style",
|
|
206418
206414
|
description: "Deprecated: use /config to change output style",
|
|
206419
206415
|
isHidden: true,
|
|
206420
|
-
load: () => import("./output-style-
|
|
206416
|
+
load: () => import("./output-style-y-rFGrYN.js")
|
|
206421
206417
|
};
|
|
206422
206418
|
}));
|
|
206423
206419
|
//#endregion
|
|
@@ -206434,7 +206430,7 @@ var init_remote_env = __esmMin((() => {
|
|
|
206434
206430
|
get isHidden() {
|
|
206435
206431
|
return !isClaudeAISubscriber() || !isPolicyAllowed("allow_remote_sessions");
|
|
206436
206432
|
},
|
|
206437
|
-
load: () => import("./remote-env-
|
|
206433
|
+
load: () => import("./remote-env-DkJeCQL8.js")
|
|
206438
206434
|
};
|
|
206439
206435
|
}));
|
|
206440
206436
|
//#endregion
|
|
@@ -206449,7 +206445,7 @@ var init_upgrade = __esmMin((() => {
|
|
|
206449
206445
|
description: "Upgrade to Max for higher rate limits and more Opus",
|
|
206450
206446
|
availability: ["claude-ai"],
|
|
206451
206447
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_UPGRADE_COMMAND) && getSubscriptionType() !== "enterprise",
|
|
206452
|
-
load: () => import("./upgrade-
|
|
206448
|
+
load: () => import("./upgrade-B0kA1aXO.js")
|
|
206453
206449
|
};
|
|
206454
206450
|
}));
|
|
206455
206451
|
//#endregion
|
|
@@ -206466,7 +206462,7 @@ var init_rate_limit_options = __esmMin((() => {
|
|
|
206466
206462
|
return true;
|
|
206467
206463
|
},
|
|
206468
206464
|
isHidden: true,
|
|
206469
|
-
load: () => import("./rate-limit-options-
|
|
206465
|
+
load: () => import("./rate-limit-options-B_FSTFKa.js")
|
|
206470
206466
|
};
|
|
206471
206467
|
}));
|
|
206472
206468
|
//#endregion
|
|
@@ -206509,7 +206505,7 @@ var init_effort = __esmMin((() => {
|
|
|
206509
206505
|
get immediate() {
|
|
206510
206506
|
return shouldInferenceConfigCommandBeImmediate();
|
|
206511
206507
|
},
|
|
206512
|
-
load: () => import("./effort-
|
|
206508
|
+
load: () => import("./effort-523cKDCF.js")
|
|
206513
206509
|
};
|
|
206514
206510
|
}));
|
|
206515
206511
|
//#endregion
|
|
@@ -206520,7 +206516,7 @@ var init_stats = __esmMin((() => {
|
|
|
206520
206516
|
type: "local-jsx",
|
|
206521
206517
|
name: "stats",
|
|
206522
206518
|
description: "Show your Claude Code usage statistics and activity",
|
|
206523
|
-
load: () => import("./stats-
|
|
206519
|
+
load: () => import("./stats-Co5SO5h_.js")
|
|
206524
206520
|
};
|
|
206525
206521
|
}));
|
|
206526
206522
|
//#endregion
|
|
@@ -206688,7 +206684,7 @@ var init_assistant = __esmMin((() => {
|
|
|
206688
206684
|
return !isAssistantEnabled();
|
|
206689
206685
|
},
|
|
206690
206686
|
immediate: true,
|
|
206691
|
-
load: () => import("./assistant-
|
|
206687
|
+
load: () => import("./assistant-CbS28snZ.js")
|
|
206692
206688
|
};
|
|
206693
206689
|
}));
|
|
206694
206690
|
//#endregion
|
|
@@ -206711,7 +206707,7 @@ var init_bridge = __esmMin((() => {
|
|
|
206711
206707
|
return !isEnabled$1();
|
|
206712
206708
|
},
|
|
206713
206709
|
immediate: true,
|
|
206714
|
-
load: () => import("./bridge-
|
|
206710
|
+
load: () => import("./bridge-BEVOcq6b.js")
|
|
206715
206711
|
};
|
|
206716
206712
|
}));
|
|
206717
206713
|
//#endregion
|
|
@@ -206733,7 +206729,7 @@ var init_remoteControlServer = __esmMin((() => {
|
|
|
206733
206729
|
return !isEnabled();
|
|
206734
206730
|
},
|
|
206735
206731
|
immediate: true,
|
|
206736
|
-
load: () => import("./remoteControlServer-
|
|
206732
|
+
load: () => import("./remoteControlServer-C-McEpFh.js")
|
|
206737
206733
|
};
|
|
206738
206734
|
}));
|
|
206739
206735
|
//#endregion
|
|
@@ -206751,7 +206747,7 @@ var init_voice = __esmMin((() => {
|
|
|
206751
206747
|
return !isVoiceAvailable();
|
|
206752
206748
|
},
|
|
206753
206749
|
supportsNonInteractive: false,
|
|
206754
|
-
load: () => import("./voice-
|
|
206750
|
+
load: () => import("./voice-ma4rPlFs.js")
|
|
206755
206751
|
};
|
|
206756
206752
|
}));
|
|
206757
206753
|
//#endregion
|
|
@@ -207502,7 +207498,7 @@ var init_daemon = __esmMin((() => {
|
|
|
207502
207498
|
isEnabled: () => {
|
|
207503
207499
|
return true;
|
|
207504
207500
|
},
|
|
207505
|
-
load: () => import("./daemon-
|
|
207501
|
+
load: () => import("./daemon-BNju3-MN.js")
|
|
207506
207502
|
};
|
|
207507
207503
|
}));
|
|
207508
207504
|
//#endregion
|
|
@@ -207518,7 +207514,7 @@ var init_job = __esmMin((() => {
|
|
|
207518
207514
|
isEnabled: () => {
|
|
207519
207515
|
return true;
|
|
207520
207516
|
},
|
|
207521
|
-
load: () => import("./job-
|
|
207517
|
+
load: () => import("./job-Bt4HmD4d.js")
|
|
207522
207518
|
};
|
|
207523
207519
|
}));
|
|
207524
207520
|
//#endregion
|
|
@@ -207586,7 +207582,7 @@ var init_buddy = __esmMin((() => {
|
|
|
207586
207582
|
get isHidden() {
|
|
207587
207583
|
return !isBuddyLive();
|
|
207588
207584
|
},
|
|
207589
|
-
load: () => import("./buddy-
|
|
207585
|
+
load: () => import("./buddy-EwSaWqf5.js")
|
|
207590
207586
|
};
|
|
207591
207587
|
}));
|
|
207592
207588
|
//#endregion
|
|
@@ -207599,7 +207595,7 @@ var init_poor = __esmMin((() => {
|
|
|
207599
207595
|
name: "poor",
|
|
207600
207596
|
description: "Toggle poor mode — disable extract_memories and prompt_suggestion to save tokens",
|
|
207601
207597
|
supportsNonInteractive: false,
|
|
207602
|
-
load: () => import("./poor-
|
|
207598
|
+
load: () => import("./poor-D35T98zO.js")
|
|
207603
207599
|
};
|
|
207604
207600
|
}));
|
|
207605
207601
|
//#endregion
|
|
@@ -207904,7 +207900,7 @@ var init_commands$1 = __esmMin((() => {
|
|
|
207904
207900
|
progressMessage: "analyzing your sessions",
|
|
207905
207901
|
source: "builtin",
|
|
207906
207902
|
async getPromptForCommand(args, context) {
|
|
207907
|
-
const real = (await import("./insights-
|
|
207903
|
+
const real = (await import("./insights-DxgLK8pZ.js")).default;
|
|
207908
207904
|
if (real.type !== "prompt") throw new Error("unreachable");
|
|
207909
207905
|
return real.getPromptForCommand(args, context);
|
|
207910
207906
|
}
|
|
@@ -213913,7 +213909,7 @@ var init_ssrfGuard = __esmMin((() => {}));
|
|
|
213913
213909
|
* (sandbox-adapter -> settings -> ... -> hooks -> execHttpHook).
|
|
213914
213910
|
*/
|
|
213915
213911
|
async function getSandboxProxyConfig() {
|
|
213916
|
-
const { SandboxManager } = await import("./sandbox-adapter-
|
|
213912
|
+
const { SandboxManager } = await import("./sandbox-adapter-COVCYISQ.js");
|
|
213917
213913
|
if (!SandboxManager.isSandboxingEnabled()) return;
|
|
213918
213914
|
await SandboxManager.waitForNetworkInitialization();
|
|
213919
213915
|
const proxyPort = SandboxManager.getProxyPort();
|
|
@@ -217099,7 +217095,7 @@ async function performPostCreationSetup(repoRoot, worktreePath) {
|
|
|
217099
217095
|
await copyWorktreeIncludeFiles(repoRoot, worktreePath);
|
|
217100
217096
|
{
|
|
217101
217097
|
const worktreeHooksDir = hooksPath === huskyPath ? join(worktreePath, ".husky") : void 0;
|
|
217102
|
-
import("./postCommitAttribution-
|
|
217098
|
+
import("./postCommitAttribution-CXGU0xtF.js").then((m) => m.installPrepareCommitMsgHook(worktreePath, worktreeHooksDir).catch((error) => {
|
|
217103
217099
|
logForDebugging$1(`Failed to install attribution hook in worktree: ${error}`);
|
|
217104
217100
|
})).catch((error) => {
|
|
217105
217101
|
logForDebugging$1(`Failed to load postCommitAttribution module: ${error}`);
|
|
@@ -218807,7 +218803,7 @@ function getAnthropicEnvMetadata() {
|
|
|
218807
218803
|
};
|
|
218808
218804
|
}
|
|
218809
218805
|
function getBuildAgeMinutes() {
|
|
218810
|
-
const buildTime = (/* @__PURE__ */ new Date("2026-05-
|
|
218806
|
+
const buildTime = (/* @__PURE__ */ new Date("2026-05-02T12:39:50.766Z")).getTime();
|
|
218811
218807
|
if (isNaN(buildTime)) return void 0;
|
|
218812
218808
|
return Math.floor((Date.now() - buildTime) / 6e4);
|
|
218813
218809
|
}
|
|
@@ -219559,17 +219555,17 @@ async function* queryModel(messages, systemPrompt, thinkingConfig, tools, signal
|
|
|
219559
219555
|
if (!betas.includes("advisor-tool-2026-03-01")) messagesForAPI = stripAdvisorBlocks(messagesForAPI);
|
|
219560
219556
|
messagesForAPI = stripExcessMediaItems(messagesForAPI, 100);
|
|
219561
219557
|
if (getAPIProvider() === "openai") {
|
|
219562
|
-
const { queryModelOpenAI } = await import("./openai-
|
|
219558
|
+
const { queryModelOpenAI } = await import("./openai-lAn9QAwi.js");
|
|
219563
219559
|
yield* queryModelOpenAI(messagesForAPI, systemPrompt, tools, signal, options);
|
|
219564
219560
|
return;
|
|
219565
219561
|
}
|
|
219566
219562
|
if (getAPIProvider() === "gemini") {
|
|
219567
|
-
const { queryModelGemini } = await import("./gemini-
|
|
219563
|
+
const { queryModelGemini } = await import("./gemini-BNQNzLJt.js");
|
|
219568
219564
|
yield* queryModelGemini(messagesForAPI, systemPrompt, filteredTools, signal, options, thinkingConfig);
|
|
219569
219565
|
return;
|
|
219570
219566
|
}
|
|
219571
219567
|
if (getAPIProvider() === "grok") {
|
|
219572
|
-
const { queryModelGrok } = await import("./grok-
|
|
219568
|
+
const { queryModelGrok } = await import("./grok-Bnjem3t-.js");
|
|
219573
219569
|
yield* queryModelGrok(messagesForAPI, systemPrompt, filteredTools, signal, options);
|
|
219574
219570
|
return;
|
|
219575
219571
|
}
|
|
@@ -224050,4 +224046,4 @@ var init_loadAgentsDir = __esmMin((() => {
|
|
|
224050
224046
|
});
|
|
224051
224047
|
}));
|
|
224052
224048
|
//#endregion
|
|
224053
|
-
export { accumulateUsage as $, getPluginErrorMessage as $A, deletePluginOptions as $C, finalizeAutonomyRunFailed as $D, logSuggestionOutcome as $E, getSessionMemoryConfig as $O, saveMcpClientSecret as $S, oneShotJitteredNextCronRunMs as $T, clearPluginHookCache as $_, REJECT_MESSAGE as $a, reconnectMcpServerImpl as $b, isToolSearchEnabledOptimistic as $c, init_MonitorTool as $d, getURLMarkdownContent as $f, addSessionHook as $g, init_UserPlanMessage as $h, init_useBuddyNotification as $i, POWERSHELL_TOOL_NAME as $k, queryCheckpoint as $l, init_snipCompact as $m, clearAgentTranscriptSubdir as $n, textForResubmit as $o, init_PowerShellTool as $p, recordContentReplacement as $r, createPluginId as $s, executeStopHooks as $t, getReplBridgeHandle as $u, getRunningTeammatesSorted as $v, clearAuthRelatedCaches as $w, useSettings as $x, buildMemoryDiagnostics as $y, prepareContextForPlanMode as A, init_prompt$32 as AA, doesEnterpriseMcpConfigExist as AC, init_abortController as AD, init_speculation as AE, subscribeToCommandQueue as AO, getImageFromClipboard as AS, getRemoteSessionUrl as AT, archiveRemoteSession as A_, init_bridgeApi as Aa, isSupportedJetBrainsTerminal as Ab, resetSentSkillNames as Ac, registerLeaderSetToolPermissionContext as Ad, TASK_MAX_OUTPUT_UPPER_LIMIT as Af, isValidAdvisorModel as Ag, sendShutdownRequestToMailbox as Ah, writeRemoteAgentMetadata as Ai, getInitialEffortSetting as Aj, hasExternalClaudeMdIncludes as Ak, createCacheSafeParams as Al, clearPendingHint as Am, initTaskOutputAsSymlink as An, getProgressMessagesFromLookup as Ao, preserveQuoteStyle as Ap, isChainParticipant as Ar, isPluginInstalled as As, validateWorktreeSlug as At, getToolUseIdsFromCollapsedGroup as Au, init_sessionIngress as Av, getCachedKeybindingWarnings as Aw, pushToKillRing as Ax, FAILED_FOOTER_TEXT as Ay, deletePermissionRule as B, init_gitAvailability as BA, parseMcpConfigFromFilePath as BC, init_headlessProfiler as BD, init_tracing as BE, getUsingOverageText as BO, init_toolResultStorage as BS, DEFAULT_MAX_AGE_DAYS as BT, validateSessionRepository as B_, initializePolicyLimitsLoadingPromise as Ba, init_jetbrains as Bb, FileReadTool as Bc, registerPermissionCallback as Bd, DreamTask as Bf, getDefaultExternalAutoModeRules as Bg, ModelInfoSchema as Bh, findCommand as Bi, findThinkingTriggerPositions as Bj, init_compactWarningState as Bk, init_tokenBudget$1 as Bl, init_manager as Bm, pathInAllowedWorkingPath as Bn, isEmptyMessageText as Bo, formatTotalCost as Bp, loadAllProjectsMessageLogsProgressive as Br, getPluginById as Bs, executeNotificationHooks as Bt, getAllBaseTools as Bu, BriefIdleStatus as Bv, DEFAULT_BINDINGS as Bw, getHistory as Bx, init_notifier as By, init_permissionSetup as C, resolvePathPatternForSandbox as CA, getScopeLabel as CC, isClassifierPermissionsEnabled as CD, isSyntheticOutputToolEnabled as CE, hasCommandsInQueue as CO, init_ConfigurableShortcutHint as CS, createDefaultCloudEnvironment as CT, RemoteAgentTask as C_, clearBridgeDebugHandle as Ca, getSortedIdeLockfiles as Cb, init_loadPluginCommands as Cc, resetBackendDetection as Cd, WebSearchTool as Cf, checkSonnet1mAccess as Cg, isSandboxPermissionRequest as Ch, sessionStorage_exports as Ci, EFFORT_LEVELS as Cj, init_context$1 as Ck, buildPostCompactMessages as Cl, init_CircularBuffer as Cm, init_combinedAbortSignal as Cn, extractTag as Co, init_colorDiff as Cp, getSessionIdFromLog as Cr, init_pluginVersioning as Cs, init_worktree as Ct, isPanelAgentTask as Cu, fileHistoryGetDiffStats as Cv, useMessageActions as Cw, maybeGetTmuxMouseHint as Cx, getAgentColor as Cy, isBypassPermissionsModeDisabled as D, init_ripgrep as DA, addMcpConfig as DC, getLanguageName as DD, updateTaskState$1 as DE, peek as DO, init_imageStore as DS, init_TodoWriteTool as DT, init_RemoteAgentTask as D_, wrapApiForFaultInjection as Da, initializeIdeIntegration as Db, getAttachmentMessages as Dc, teammatePromptAddendum_exports as Dd, init_UI$13 as Df, init_advisor$1 as Dg, isTeamPermissionUpdate as Dh, setRemoteIngressUrlForTesting as Di, getEffortEnvOverride as Dj, getExternalClaudeMdIncludes as Dk, partialCompactConversation as Dl, resolvePluginHint as Dm, isTerminalTaskStatus as Dn, getContentText as Do, getEditsForPatch as Dp, hydrateFromCCRv2InternalEvents as Dr, initializeVersionedPlugins as Ds, parsePRReference as Dt, collapseReadSearchGroups as Du, fileHistoryRewind as Dv, getShortcutDisplay as Dw, isVimPunctuation as Dx, isInProcessTeammateTask as Dy, isAutoModeGateEnabled as E, countFilesRoundedRg as EA, parseHeaders as EC, getCliHighlightPromise as ED, init_framework as EE, isQueuedCommandVisible as EO, clearStoredImagePaths as ES, TodoWriteTool as ET, getRemoteTaskSessionUrl as E_, registerBridgeDebugHandle as Ea, init_ide$1 as Eb, createAttachmentMessage as Ec, init_teammatePromptAddendum as Ed, init_TaskOutputTool as Ef, getInitialAdvisorSetting as Eg, isShutdownRequest as Eh, setInternalEventWriter as Ei, getDisplayedEffortLevel as Ej, clearMemoryFileCaches as Ek, mergeHookInstructions as El, markHintPluginShown as Em, init_Task as En, getAssistantMessageText as Eo, findActualString as Ep, getUserType as Er, init_installedPluginsManager as Es, killTmuxSession as Et, queuePendingMessage as Eu, fileHistoryRestoreStateFromLog as Ev, init_KeybindingContext as Ew, init_Cursor as Ex, init_types$4 as Ey, transitionPlanAutoMode as F, resetForTesting as FA, getMcpConfigsByScope as FC, registerPostSamplingHook as FD, isResultSuccessful as FE, currentLimits as FO, runElicitationResultHooks as FS, init_constants$3 as FT, teleportFromSessionsAPI as F_, review as Fa, toIDEDisplayName as Fb, init_hookEvents as Fc, hasPermissionCallback as Fd, init_TaskStopTool as Ff, init_MonitorMcpTask as Fg, FastModeStateSchema as Fh, REMOTE_SAFE_COMMANDS as Fi, modelSupportsMaxEffort as Fj, init_marked_esm as Fk, prepareForkedCommandContext as Fl, generateProgressiveArgumentHint as Fm, getSessionMemoryDir as Fn, handleMessageFromStream as Fo, getPatchForDisplay as Fp, isTranscriptMessage as Fr, addMarketplaceSource as Fs, executeElicitationHooks as Ft, isAutoManagedMemoryFile as Fu, init_CustomSelect as Fv, MACOS_RESERVED as Fw, yankPop as Fx, buildIdleFooterText as Fy, init_permissions as G, OFFICIAL_MARKETPLACE_NAME as GA, hasClaudeAiMcpEverConnected as GC, cancelQueuedAutonomyCommands as GD, fromArray as GE, maybeResizeAndDownsampleImageBlock as GO, ClaudeAuthProvider as GS, findMissedTasks as GT, parseFileSpecs as G_, startBackgroundPolling as Ga, connectToServer as Gb, extractDiscoveredToolNames as Gc, isSwarmWorker as Gd, init_listSessionsImpl as Gf, convertOutputToLangfuse as Gg, SDKStreamlinedTextMessageSchema as Gh, getMcpSkillCommands as Gi, shouldEnableThinkingByDefault as Gj, notifyCompaction as Gk, init_consolidationPrompt as Gl, loadPluginLspServers as Gm, init_memdir as Gn, normalizeContentFromAPI as Go, clearDynamicSkills as Gp, loadSameRepoMessageLogsProgressive as Gr, refreshMarketplace as Gs, executePostToolUseFailureHooks as Gt, contextCollapse_exports as Gu, useElapsedTime as Gv, getGcsDistTags as Gw, removeLastFromHistory as Gx, init_auth as Gy, getAskRules as H, classifyFetchError as HA, setMcpServerEnabled as HC, init_commandLifecycle as HD, initLangfuse as HE, createImageMetadataText as HO, provisionContentReplacementState as HS, isKairosCronEnabled as HT, init_tempfile as H_, isPolicyLimitsEligible as Ha, areMcpConfigsEqual as Hb, registerFileReadListener as Hc, createPermissionRequest as Hd, init_consolidationLock as Hf, init_sideQuery as Hg, PermissionUpdateSchema as Hh, getBridgeCommandSafety as Hi, init_thinking as Hj, createStore as Hk, initAutoDream as Hl, reinitializeLspServerManager as Hm, getMemoryScopeDisplay as Hn, isSyntheticMessage as Ho, init_cost_tracker as Hp, loadFullLog as Hr, loadKnownMarketplacesConfig as Hs, executePermissionRequestHooks as Ht, init_tools as Hu, SpinnerWithVerb as Hv, getCurrentInstallationType as Hw, init_history as Hx, authLogin as Hy, verifyAutoModeGateAccess as I, settingsChangeDetector as IA, getMcpServerSignature as IC, SLEEP_TOOL_NAME as ID, normalizeMessage as IE, getRawUtilization as IO, ReadMcpResourceTool as IS, init_tools$1 as IT, teleportResumeCodeSession as I_, init_ultrareviewEnabled as Ia, IdeOnboardingDialog as Ib, registerHookEventHandler as Ic, hasSandboxPermissionCallback as Id, init_stopTask as If, filterToolsForAgent as Ig, HookEventSchema as Ih, builtInCommandNames as Ii, parseEffortValue as Ij, init_microCompact as Ik, runForkedAgent as Il, init_argumentSubstitution as Im, getSessionMemoryPath as In, hasToolCallsInLastAssistantTurn as Io, getPatchFromContents as Ip, linkSessionToPR as Ir, clearMarketplacesCache as Is, executeElicitationResultHooks as It, getHardcodedTeammateModelFallback as Iu, SelectMulti as Iv, NON_REBINDABLE as Iw, addToHistory as Ix, getBridgeStatus as Iy, shouldUseSandbox as J, findReverseDependents as JA, isRestrictedToPluginOnly as JC, init_autonomyQueueLifecycle as JD, IDLE_SPECULATION_STATE as JE, init_ToolSearchTool as JO, getMcpClientConfig as JS, init_cronTasks as JT, loadConversationForResume as J_, init_withRetry as Ja, fetchToolsForClient as Jb, getToolSearchMode as Jc, sendSandboxPermissionRequestViaMailbox as Jd, init_WebFetchTool as Jf, getAgentModelDisplay as Jg, SlashCommandSchema as Jh, hasCommand as Ji, diffLines as Jk, init_readFileInRange as Jl, SkillTool as Jm, adoptResumedSessionFile as Jn, prepareUserContent as Jo, getSkillsPath as Jp, loadTranscriptFromFile as Jr, saveKnownMarketplacesConfig as Js, executeSessionEndHooks as Jt, resumeAgentBackground as Ju, init_selectors as Jv, getShellType as Jw, getModeFromInput as Jx, buildAccountProperties as Jy, permissionRuleSourceDisplayString as K, OFFICIAL_MARKETPLACE_SOURCE as KA, init_claudeai as KC, claimConsumableQueuedAutonomyCommands as KD, init_generators as KE, ToolSearchTool as KO, clearMcpClientConfig as KS, getCronFilePath as KT, deserializeMessages as K_, stopBackgroundPolling as Ka, fetchCommandsForClient as Kb, getAutoToolSearchCharThreshold as Kc, sendPermissionRequestViaMailbox as Kd, listSessionsImpl as Kf, convertToolsToLangfuse as Kg, SDKStreamlinedToolUseSummaryMessageSchema as Kh, getSkillToolCommands as Ki, resetPromptCacheBreakDetection as Kk, extractMemories_exports as Kl, init_LSPDiagnosticRegistry as Km, loadMemoryPrompt as Kn, normalizeMessages as Ko, clearSkillCaches as Kp, loadSubagentTranscripts as Kr, registerSeedMarketplaces as Ks, executePreCompactHooks as Kt, init_contextCollapse as Ku, getActiveAgentForInput as Kv, getNpmDistTags as Kw, cleanupOldPastes as Kx, installOAuthTokens as Ky, addDirHelpMessage as L, subscribe$1 as LA, init_config$4 as LC, init_prompt$29 as LD, init_langfuse as LE, init_claudeAiLimits as LO, init_ReadMcpResourceTool as LS, CRON_CREATE_TOOL_NAME as LT, teleportToRemote as L_, isUltrareviewEnabled as La, init_IdeOnboardingDialog as Lb, setAllHookEventsEnabled as Lc, init_useSwarmPermissionPoller as Ld, stopTask as Lf, init_agentToolUtils as Lg, HookInputSchema as Lh, clearCommandMemoizationCaches as Li, resolveAppliedEffort as Lj, microcompactMessages as Lk, init_query as Ll, parseArguments as Lm, init_filesystem as Ln, hasUnresolvedHooksFromLookup as Lo, init_diff$1 as Lp, listRemoteAgentMetadata as Lr, getDeclaredMarketplaces as Ls, executeFileChangedHooks as Lt, init_teammateModel as Lu, init_SelectMulti as Lv, TERMINAL_RESERVED as Lw, expandPastedTextRefs as Lx, init_bridgeStatusUtil as Ly, restoreDangerousPermissions as M, init_changeDetector as MA, getAllMcpConfigs as MC, getDumpPromptsPath as MD, extractReadFilesFromMessages as ME, init_errors$3 as MO, init_elicitationHandler as MS, init_coordinatorMode as MT, init_teleport$1 as M_, isSuppressible403 as Ma, isSupportedVSCodeTerminal as Mb, isHumanTurn as Mc, unregisterLeaderSetToolPermissionContext as Md, BriefTool_exports as Mf, init_runAgent as Mg, AccountInfoSchema as Mh, init_getWorktreePaths as Mi, init_effort$1 as Mj, resetGetMemoryFilesCache as Mk, extractResultText as Ml, init_claudeCodeHints as Mm, ensureScratchpadDir as Mn, getToolUseID as Mo, fetchGitDiffHunks as Mp, isEphemeralToolProgress as Mr, loadInstalledPluginsV2 as Ms, createBaseHookInput as Mt, init_collapseReadSearch as Mu, init_KeybindingProviderSetup as Mv, init_loadUserBindings as Mw, resetKillAccumulation as Mx, buildActiveFooterText as My, stripDangerousPermissionsForAutoMode as N, initialize$1 as NA, getClaudeCodeMcpConfigs as NC, init_dumpPrompts as ND, handleOrphanedPermission as NE, startsWithApiErrorPrefix as NO, registerElicitationHandler as NS, isCoordinatorMode as NT, pollRemoteSessionEvents as N_, validateBridgeId as Na, isVSCodeInstalled as Nb, finalizePendingAsyncHooks as Nc, unregisterLeaderToolUseConfirmQueue as Nd, init_BriefTool as Nf, runAgent as Ng, AgentDefinitionSchema as Nh, BRIDGE_SAFE_COMMANDS as Ni, isEffortLevel as Nj, shouldShowClaudeMdExternalIncludesWarning as Nk, getLastCacheSafeParams as Nl, markShownThisSession as Nm, generateSuggestions as Nn, getToolUseIDs as No, init_gitDiff as Np, isLiteLog as Nr, removePluginInstallation as Ns, executeConfigChangeHooks as Nt, summarizeRecentActivities as Nu, TeleportError as Nv, isKeybindingCustomizationEnabled as Nw, resetYankState as Nx, buildBridgeConnectUrl as Ny, isDefaultPermissionModeAuto as O, ripGrep as OA, areMcpConfigsAllowedWithEnterpriseMcpConfig as OC, init_cliHighlight as OD, abortSpeculation as OE, popAllEditable as OO, storeImage as OS, TodoListSchema as OT, registerRemoteAgentTask as O_, BridgeFatalError as Oa, isCursorInstalled as Ob, getQueuedCommandAttachments as Oc, getLeaderToolUseConfirmQueue as Od, renderToolUseProgressMessage$1 as Of, isAdvisorBlock as Og, markMessagesAsRead as Oh, setSessionFileForTesting as Oi, getEffortSuffix as Oj, getLargeMemoryFiles as Ok, init_internalLogging as Ol, init_pluginPolicy as Om, evictTaskOutput as On, getLastAssistantMessage as Oo, getPatchForEdits as Op, hydrateRemoteSession as Or, isInstallationRelevantToCurrentProject as Os, removeAgentWorktree as Ot, getDisplayMessageFromCollapsed as Ou, init_fileHistory as Ov, init_shortcutFormat as Ow, isVimWhitespace as Ox, activityManager as Oy, transitionPermissionMode as P, notifyChange as PA, getMcpConfigByName as PC, init_postSamplingHooks as PD, init_queryHelpers as PE, checkQuotaStatus as PO, runElicitationHooks as PS, TEAM_CREATE_TOOL_NAME as PT, processMessagesForTeleportResume as P_, init_review as Pa, isWindsurfInstalled as Pb, init_AsyncHookRegistry as Pc, clearAllPendingCallbacks as Pd, TaskStopTool as Pf, MonitorMcpTask_exports as Pg, AgentInfoSchema as Ph, INTERNAL_ONLY_COMMANDS as Pi, modelSupportsEffort as Pj, g as Pk, init_forkedAgent as Pl, subscribeToPendingHint as Pm, getScratchpadDir as Pn, getUserMessageText as Po, adjustHunkLineNumbers as Pp, isLoggableMessage as Pr, updateInstallationPathOnDisk as Ps, executeCwdChangedHooks as Pt, init_memoryFileDetection as Pu, init_TeleportError as Pv, loadKeybindingsSyncWithWarnings as Pw, updateYankLength as Px, buildBridgeSessionUrl as Py, splitCommand_DEPRECATED as Q, init_addDirPluginSettings as QA, loadPluginMcpServers as QC, finalizeAutonomyRunCompleted as QD, init_promptSuggestion as QE, getLastSummarizedMessageId as QO, revokeServerTokens as QS, nextCronRunMs as QT, takeInitialUserMessage as Q_, INTERRUPT_MESSAGE_FOR_TOOL_USE as Qa, prefetchAllMcpResources as Qb, isToolSearchEnabled as Qc, MonitorTool_exports as Qd, clearWebFetchCache as Qf, addFunctionHook as Qg, UserPlanMessage as Qh, findBuddyTriggerPositions as Qi, isPowerShellToolEnabled as Qk, logQueryProfileReport as Ql, init_Message as Qm, cleanMessagesForLogging as Qn, stripSignatureBlocks as Qo, PowerShellTool_exports as Qp, recordAttributionSnapshot as Qr, init_officialMarketplaceGcs as Qs, executeStopFailureHooks as Qt, startBackgroundSession as Qu, getAllInProcessTeammateTasks as Qv, call$8 as Qw, init_useSettings as Qx, buildMcpProperties as Qy, init_validation as R, SandboxViolationStore as RA, isMcpServerDisabled as RC, headlessProfilerCheckpoint as RD, createTrace as RE, statusListeners as RO, TOOL_RESULTS_SUBDIR as RS, CRON_DELETE_TOOL_NAME as RT, teleportToRemoteWithErrorHandling as R_, clearPolicyLimitsCache as Ra, WindowsToWSLConverter as Rb, init_textInputTypes as Rc, processMailboxPermissionResponse as Rd, LocalWorkflowTask_exports as Rf, resolveAgentTools as Rg, McpServerConfigForProcessTransportSchema as Rh, clearCommandsCache as Ri, resolvePickerEffortPersistence as Rj, resetMicrocompactState as Rk, query as Rl, getInitializationStatus as Rm, isScratchpadEnabled as Rn, init_messages as Ro, addToTotalSessionCost as Rp, loadAllLogsFromSessionFile as Rr, getMarketplace as Rs, executeFileSuggestionCommand as Rt, assembleToolPool as Ru, ConsoleOAuthFlow as Rv, init_reservedShortcuts as Rw, formatImageRef as Rx, timestamp as Ry, hasAutoModeOptInAnySource as S, init_sandbox_adapter as SA, getProjectMcpServerStatus as SC, init_bashClassifier as SD, init_SyntheticOutputTool as SE, getCommandsByMaxPriority as SO, ConfigurableShortcutHint as SS, init_preconditions as ST, logPluginsEnabledForSession as S_, isSkillSearchEnabled as Sa, getConnectedIdeName as Sb, getPluginCommands as Sc, registerWindowsTerminalBackend as Sd, init_inProcessTeammateHelpers as Sf, checkOpus1mAccess as Sg, isPlanApprovalResponse as Sh, sessionIdExists as Si, parseYaml as Sj, getUserContext as Sk, ERROR_MESSAGE_USER_ABORT as Sl, CircularBuffer as Sm, createCombinedAbortSignal as Sn, deriveUUID as So, getSyntaxTheme as Sp, getSessionFilesWithMtime as Sr, calculatePluginVersion as Ss, hasWorktreeChanges as St, isLocalAgentTask as Su, fileHistoryEnabled as Sv, toolCallOf as Sw, isMouseTrackingEnabled as Sx, AGENT_COLOR_TO_THEME_COLOR as Sy, initializeToolPermissionContext as T, shouldAllowManagedSandboxDomainsOnly as TA, isMcpTool as TC, logPermissionDecision as TD, getRunningTasks as TE, isQueuedCommandEditable as TO, cleanupOldImageCaches as TS, init_environments as TT, formatPreconditionError as T_, injectBridgeFault as Ta, hasAccessToIDEExtensionDiffFeature as Tb, loadPluginAgents as Tc, init_teammateLayoutManager as Td, TaskOutputTool as Tf, canUserConfigureAdvisor as Tg, isShutdownApproved as Th, setInternalEventReader as Ti, getDefaultEffortForModel as Tj, MAX_MEMORY_CHARACTER_COUNT as Tk, init_compact$1 as Tl, init_hintRecommendation as Tm, init_hooks$1 as Tn, formatCommandInputTags as To, init_FileEditTool as Tp, getTranscriptPathForSession as Tr, init_managedPlugins as Ts, keepWorktree as Tt, markAgentsNotified as Tu, fileHistoryMakeSnapshot as Tv, useShortcutDisplay as Tw, getLastKill as Tx, setAgentColor as Ty, getDenyRules as U, init_fetchTelemetry as UA, clearClaudeAIMcpConfigsCache as UC, notifyCommandLifecycle as UD, isLangfuseEnabled as UE, detectImageFormatFromBase64 as UO, reconstructContentReplacementState as US, prompt_exports$2 as UT, downloadSessionFiles as U_, loadPolicyLimits as Ua, callIdeRpc as Ub, init_tokenEstimation as Uc, generateSandboxRequestId as Ud, readLastConsolidatedAt as Uf, sideQuery as Ug, SDKMessageSchema as Uh, getCommand as Ui, isUltrathinkEnabled as Uj, init_store as Uk, init_autoDream as Ul, shutdownLspServerManager as Um, init_agentMemory as Un, isSystemLocalCommandMessage as Uo, restoreCostStateForSession as Up, loadMessageLogs as Ur, loadKnownMarketplacesConfigSafe as Us, executePostCompactHooks as Ut, WorkflowTool_exports as Uu, init_Spinner as Uv, getDoctorDiagnostic as Uw, makeHistoryReader as Ux, authLogout as Uy, getAllowRules as V, markGitUnavailable as VA, removeMcpConfig as VC, logHeadlessProfilerTurn as VD, recordLLMObservation as VE, init_systemPromptType as VO, processToolResultBlock as VS, init_prompt$27 as VT, generateTempFilePath as V_, isPolicyAllowed as Va, isJetBrainsPluginInstalledCachedSync as Vb, init_FileReadTool as Vc, registerSandboxPermissionCallback as Vd, init_DreamTask as Vf, init_yoloClassifier as Vg, PermissionModeSchema as Vh, formatDescriptionWithSource as Vi, getRainbowColor as Vj, suppressCompactWarning as Vk, parseTokenBudget as Vl, initializeLspServerManager as Vm, getAgentMemoryDir as Vn, isNotEmptyMessage as Vo, getStoredSessionCosts as Vp, loadAllSubagentTranscriptsFromDisk as Vr, init_marketplaceManager as Vs, executePermissionDeniedHooks as Vt, getTools as Vu, Spinner as Vv, init_defaultBindings as Vw, getPastedTextRefNumLines as Vx, sendNotification as Vy, hasPermissionsToUseTool as W, logPluginFetch as WA, fetchClaudeAIMcpConfigsIfEligible as WC, setCommandLifecycleListener as WD, shutdownLangfuse as WE, init_imageResizer as WO, AuthenticationCancelledError as WS, DEFAULT_CRON_JITTER_CONFIG as WT, init_filesApi as W_, refreshPolicyLimits as Wa, clearServerCache as Wb, roughTokenCountEstimation as Wc, init_permissionSync as Wd, recordConsolidation as Wf, convertMessagesToLangfuse as Wg, SDKPostTurnSummaryMessageSchema as Wh, getCommands as Wi, modelSupportsAdaptiveThinking as Wj, init_promptCacheBreakDetection as Wk, buildConsolidationPrompt as Wl, init_lspPluginIntegration as Wm, loadAgentMemoryPrompt as Wn, isToolUseResultMessage as Wo, saveCurrentSessionCosts as Wp, loadSameRepoMessageLogs as Wr, refreshAllMarketplaces as Ws, executePostToolHooks as Wt, init_WorkflowTool as Wu, init_useElapsedTime as Wv, init_doctorDiagnostic as Ww, parseReferences as Wx, authStatus as Wy, extractOutputRedirections as X, init_dependencyResolver as XA, getUnconfiguredChannels as XC, createAutonomyQueuedPromptIfNoActiveSource as XD, init_AppStateStore as XE, outputSchema$35 as XO, performMCPOAuthFlow as XS, listAllCronTasks as XT, processSessionStartHooks as X_, EMPTY_STRING_SET as Xa, getMcpToolsCommandsAndResources as Xb, isDeferredToolsDeltaEnabled as Xc, init_PermissionUpdateSchema as Xd, applyPromptToMarkdown as Xf, getDefaultSubagentModel as Xg, QueuedMessageProvider as Xh, isBridgeSafeCommand as Xi, SHELL_TOOL_NAMES as Xk, isAutoDreamEnabled as Xl, Message as Xm, cacheSessionTitle as Xn, shouldShowUserMessage as Xo, onDynamicSkillsLoaded as Xp, readAgentMetadata as Xr, setMarketplaceAutoUpdate as Xs, executeSetupHooks as Xt, init_systemPrompt as Xu, InProcessTeammateTask_exports as Xv, OAuthService as Xw, init_inputModes as Xx, buildInstallationDiagnostics as Xy, clearCommandPrefixCaches as Y, formatReverseDependentsSuffix as YA, isSourceAdminTrusted as YC, createAutonomyQueuedPrompt as YD, getDefaultAppState as YE, inputSchema$50 as YO, init_auth$1 as YS, jitteredNextCronRunMs as YT, init_sessionStart as Y_, EMPTY_LOOKUPS as Ya, getMcpServerConnectionBatchSize as Yb, init_toolSearch as Yc, sendSandboxPermissionResponseViaMailbox as Yd, MAX_MARKDOWN_LENGTH as Yf, getAgentModelOptions as Yg, init_coreSchemas as Yh, init_commands$1 as Yi, diffWordsWithSpace as Yk, init_config$2 as Yl, init_SkillTool as Ym, buildConversationChain as Yn, reorderMessagesInUI as Yo, init_loadSkillsDir as Yp, reAppendSessionMetadata as Yr, saveMarketplaceToSettings as Ys, executeSessionStartHooks as Yt, buildEffectiveSystemPrompt as Yu, InProcessTeammateTask as Yv, init_localInstaller as Yw, getValueFromInput as Yx, buildIDEProperties as Yy, init_commands as Z, getAddDirEnabledPlugins as ZA, init_mcpPluginIntegration as ZC, createProactiveAutonomyCommands as ZD, abortPromptSuggestion as ZE, DEFAULT_SESSION_MEMORY_CONFIG as ZO, readClientSecret as ZS, markCronTasksFired as ZT, processSetupHooks as Z_, INTERRUPT_MESSAGE as Za, init_client as Zb, isToolReferenceBlock as Zc, permissionUpdateSchema as Zd, checkDomainBlocklist as Zf, init_agent as Zg, init_QueuedMessageContext as Zh, meetsAvailabilityRequirement as Zi, init_shellToolUtils as Zk, init_queryProfiler as Zl, hasThinkingContent as Zm, checkResumeConsistency as Zn, stripPromptXMLTags as Zo, PowerShellTool as Zp, readRemoteAgentMetadata as Zr, fetchOfficialMarketplaceFromGcs as Zs, executeStatusLineCommand as Zt, init_LocalMainSessionTask as Zu, findTeammateTaskByAgentId as Zv, init_oauth as Zw, prependModeCharacterToInput as Zx, buildInstallationHealthDiagnostics as Zy, loadMarkdownFilesForSubdir as _, init_pluginDirectories as _A, excludeStalePluginClients as _C, shouldShowAlwaysAllowOptions as _D, asAgentId as _E, enqueue as _O, useMailbox as _S, gracefulShutdownSync as _T, buildPluginCommandTelemetryFields as __, applySafeConfigEnvironmentVariables as _a, closeOpenDiffs as _b, getZipCacheMarketplacesDir as _c, init_registry as _d, init_ExitPlanModeV2Tool as _f, init_Markdown as _g, init_teammateMailbox as _h, saveMode as _i, toolMatchesName as _j, init_tokens as _k, init_postCompactCleanup as _l, BASH_MAX_OUTPUT_DEFAULT as _m, hasWorktreeCreateHook as _n, createSyntheticUserCaveatMessage as _o, init_FileWriteTool as _p, getLogByIndex as _r, formatResolutionError as _s, createWorktreeForSession as _t, hasForegroundTasks as _u, generateShortWordSlug as _v, MessageActionsBar as _w, init_useTextInput as _x, useTasksV2WithCollapseEffect as _y, hasRequiredMcpServers as a, SKILL_BUDGET_CONTEXT_PERCENT as aA, getXaaIdpSettings as aC, init_shellRuleMatching as aD, init_constants$12 as aE, markAutonomyRunFailed as aO, init_AppState as aS, loadRemoteManagedSettings as aT, hookSourceHeaderDisplayString as a_, getDialogConfig as aa, init_allErrors as ab, init_marketplaceHelpers as ac, registerSession as ad, init_validateModel as af, init_SentryErrorBoundary as ag, getPillLabel as ah, recordTranscript as ai, init_prompt$36 as aj, isSessionMemoryInitialized as ak, countMcpToolTokens as al, init_parser as am, executeWorktreeCreateHook as an, buildMessageLookups as ao, NotebookEditTool as ap, extractAgentIdsFromMessages as ar, getAllOutputStyles as as, verifyApiKey as at, clearSpeculativeChecks as au, init_fileChangedWatcher as av, isMcpbSource as aw, useIsOverlayActive as ax, isBackgroundTask as ay, getAutoModeUnavailableNotification as b, addToExcludedCommands as bA, filterMcpPromptsByServer as bC, generateGenericDescription as bD, SYNTHETIC_OUTPUT_TOOL_NAME as bE, getCommandQueueLength as bO, useSetVoiceState as bS, setupGracefulShutdown as bT, init_pluginTelemetry as b_, init_managedEnvConstants as ba, detectRunningIDEsCached as bb, isMarketplaceSourceSupportedByZipCache as bc, registerITermBackend as bd, findInProcessTeammateTaskId as bf, getUpgradeMessage as bg, isPermissionResponse as bh, saveWorktreeState as bi, parseFrontmatter as bj, getGitStatus as bk, ERROR_MESSAGE_INCOMPLETE_RESPONSE as bl, init_envValidation as bm, init_hookHelpers as bn, createUserInterruptionMessage as bo, expectColorDiff as bp, getProjectsDir as br, installResolvedPlugin as bs, getCurrentWorktreeSession as bt, appendMessageToLocalAgent as bu, copyFileHistoryForResume as bv, isNavigableMessage as bw, isFullscreenActive as bx, init_ThemedText as by, isCustomAgent as c, getCharBudget as cA, issuerKey as cC, applyPermissionUpdates as cD, ASK_USER_QUESTION_TOOL_NAME$1 as cE, formatAutonomyFlowsList as cO, useSetAppState as cS, calculateShouldShowGrove as cT, sortMatchersByPriority as c_, getCommandName as ca, cleanupNpmInstallations as cb, cleanupOrphanedPluginVersionsInBackground as cc, updateSessionName as cd, init_modelOptions as cf, setYoloClassifierApproval as cg, PrBadge as ch, resetProjectFlushStateForTesting as ci, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN as cj, markSessionMemoryInitialized as ck, getEffectiveContextWindowSize as cl, init_sedEditParser as cm, getPreToolHookBlockingMessage as cn, createApiMetricsMessage as co, parseCellId as cp, findUnresolvedToolUse as cr, clearPluginCache as cs, prependUserContext as ct, init_bashPermissions as cu, clearAllPlanSlugs as cv, saveMcpServerUserConfig as cw, init_TextInput as cx, init_useShimmerAnimation as cy, parseAgentFromMarkdown as d, getSkillToolInfo as dA, commandBelongsToServer as dC, init_PermissionUpdate as dD, init_constants$14 as dE, init_autonomyFlows as dO, captureHooksConfigSnapshot as dS, getGroveSettings as dT, createAgentId as d_, upgrade as da, installLatest as db, markPluginVersionOrphaned as dc, getBackendByType as dd, getPewterLedgerVariant as df, init_claudeAiLimitsHook as dg, init_diagnosticTracking as dh, restoreSessionMetadata as di, init_prompt$37 as dj, setSessionMemoryConfig as dk, init_sessionMemoryCompact as dl, init_ShellProgressMessage as dm, getTaskCompletedHookMessage as dn, createAwaySummaryMessage as do, GrepTool as dp, getAgentTranscriptPath as dr, getVersionedZipCachePath as ds, init_prompts as dt, init_sessionFileAccessHooks as du, getPlan as dv, init_useTerminalSize as dw, interpolateColor as dx, init_SpinnerGlyph as dy, init_toolName as eA, acquireIdpIdToken as eC, logSuggestionSuppressed as eD, readCronTasks as eE, formatAutonomyRunsList as eO, init_useClipboardImageHint as eS, init_logout$1 as eT, init_sessionHooks as e_, useBuddyNotification as ea, buildSandboxProperties as eb, detectEmptyMarketplaceReason as ec, init_replBridgeHandle as ed, REMOTE_TRIGGER_TOOL_NAME as ef, UserBashInputMessage as eg, snipCompact_exports as eh, recordContextCollapseCommit as ei, init_plugin$1 as ej, getSessionMemoryContent as ek, isToolSearchToolAvailable as el, NEVER_SUGGEST as em, executeSubagentStartHooks as en, REJECT_MESSAGE_WITH_REASON_PREFIX as eo, getWithPermittedRedirects as ep, clearSessionMessagesCache as er, withMemoryCorrectionHint as es, init_claude as et, startQueryProfile as eu, getPluginAffectingSettingsSnapshot as ev, getUnconfiguredOptions as ew, setupSdkMcpClients as ex, init_InProcessTeammateTask as ey, parseAgentsFromJson as f, init_prompt$31 as fA, describeMcpConfigFilePath as fC, persistPermissionUpdate as fD, EXIT_PLAN_MODE_TOOL_NAME as fE, listAutonomyFlows as fO, init_hooksConfigSnapshot as fS, init_grove as fT, init_uuid as f_, exit as fa, lockCurrentVersion as fb, atomicWriteToZipCache as fc, getCachedBackend as fd, init_planModeV2 as ff, useClaudeAiLimits as fg, UserTextMessage as fh, saveAgentColor as fi, BASH_TOOL_NAME as fj, waitForSessionMemoryExtraction as fk, shouldUseSessionMemoryCompaction as fl, exec$2 as fm, getTaskCreatedHookMessage as fn, createBridgeStatusMessage as fo, init_GrepTool as fp, getCurrentSessionAgentColor as fr, init_pluginLoader as fs, cleanupStaleAgentWorktrees as ft, isMemoryFileAccess as fu, getPlanFilePath as fv, MessageResponse as fw, toRGBColor as fx, getTheme as fy, init_markdownConfigLoader as g, getPluginsDirectory as gA, excludeResourcesByServer as gC, init_permissionsLoader as gD, init_promptCategory as gE, dequeueAllMatching as gO, init_mailbox as gS, gracefulShutdown as gT, recordSkillUsage as g_, applyConfigEnvironmentVariables as ga, isPidBasedLockingEnabled as gb, getZipCacheKnownMarketplacesPath as gc, getTeammateExecutor as gd, ExitPlanModeV2Tool as gf, StreamingMarkdown as gg, getLastPeerDmSummary as gh, saveCustomTitle as gi, init_Tool as gj, getTokenUsage as gk, loadSessionMemoryTemplate as gl, init_sessionEnvVars as gm, hasInstructionsLoadedHook as gn, createScheduledTaskFireMessage as go, FileWriteTool as gp, getLastSessionLog as gr, cacheAndRegisterPlugin as gs, createTmuxSessionForWorktree as gt, backgroundAll as gu, setPlanSlug as gv, InVirtualListContext as gw, init_ShimmerChar as gx, useTasksV2 as gy, getProjectDirsUpToHome as h, getPluginSeedDirs as hA, excludeCommandsByServer as hC, getPermissionRulesForSource as hD, getQuerySourceForREPL as hE, dequeue as hO, useSettingsChange as hS, updateGroveSettings as hT, init_skillUsageTracking as h_, registerBundledSkill as ha, init_pidLock as hb, getPluginZipCachePath as hc, getResolvedTeammateMode as hd, init_AskUserQuestionTool as hf, Markdown as hg, createModeSetRequestMessage as hh, saveAiGeneratedTitle as hi, getEmptyToolPermissionContext as hj, getCurrentUsage as hk, init_prompts$1 as hl, clearSessionEnvVars as hm, hasBlockingResult as hn, createPermissionRetryMessage as ho, init_orphanedPluginFilter as hp, getFirstMeaningfulUserMessageTextContent as hr, loadPluginManifest as hs, createAgentWorktree as ht, LocalShellTask as hu, init_plans as hv, sliceAnsi as hw, ShimmerChar as hx, init_useTasksV2 as hy, getAgentDefinitionsWithOverrides as i, DEFAULT_CHAR_BUDGET as iA, getIdpClientSecret as iC, setupVscodeSdkMcp as iD, SKILL_TOOL_NAME as iE, markAutonomyRunCancelled as iO, AppStateProvider as iS, isEligibleForRemoteManagedSettings as iT, hookSourceDescriptionDisplayString as i_, stopUltraplan as ia, getSettingsWithAllErrors as ib, getPluginTrustMessage as ic, isBgSession as id, listRemoteTriggerAuditRecords as if, SentryErrorBoundary as ig, init_OffscreenFreeze as ih, recordSidechainTranscript as ii, FILE_READ_TOOL_NAME as ij, init_sessionMemoryUtils as ik, analyzeContextUsage as il, getAllCommands as im, executeUserPromptSubmitHooks as in, SYNTHETIC_MODEL as io, validateURL as ip, enrichLogs as ir, OUTPUT_STYLE_CONFIG as is, updateUsage as it, init_stream as iu, setupPluginHookHotReload as iv, init_mcpbHandler as iw, useIsModalOverlayActive as ix, init_types$3 as iy, removeDangerousPermissions as j, dispose$1 as jA, filterMcpServersByPolicy as jC, clearAllDumpState as jD, extractBashToolsFromMessages as jE, categorizeRetryableAPIError as jO, init_imagePaste as jS, init_product as jT, checkOutTeleportedSessionBranch as j_, isExpiredErrorType as ja, isSupportedTerminal as jb, init_messagePredicates as jc, registerLeaderToolUseConfirmQueue as jd, init_outputFormatting as jf, modelSupportsAdvisor as jg, writeToMailbox as jh, getWorktreePaths as ji, getOpusDefaultEffortConfig as jj, init_claudemd as jk, createSubagentContext as jl, getPendingHintSnapshot as jm, init_diskOutput as jn, getSiblingToolUseIDsFromLookup as jo, fetchGitDiff as jp, isCustomTitleEnabled as jr, loadInstalledPluginsFromDisk as js, worktreeBranchName as jt, hasAnyToolInProgress as ju, KeybindingSetup as jv, getKeybindingsPath as jw, recordYank as jx, TOOL_DISPLAY_EXPIRY_MS as jy, parseToolListFromCLI as k, WEB_FETCH_TOOL_NAME as kA, dedupClaudeAiMcpServers as kC, createAbortController as kD, handleSpeculationAccept as kE, removeByFilter as kO, storeImages as kS, init_types$7 as kT, restoreRemoteAgentTasks as k_, createBridgeApiClient as ka, isJetBrainsIde as kb, init_attachments as kc, init_leaderPermissionBridge as kd, TASK_MAX_OUTPUT_DEFAULT as kf, isAdvisorEnabled as kg, readUnreadMessages as kh, writeAgentMetadata as ki, getEffortValueDescription as kj, getMemoryFiles as kk, logPermissionContextForAnts as kl, isPluginBlockedByPolicy as km, getTaskOutputPath as kn, getMessagesAfterCompactBoundary as ko, init_utils$1 as kp, init_sessionStorage as kr, isPluginGloballyInstalled as ks, restoreWorktreeSession as kt, getToolSearchOrReadInfo as ku, clearAllSessions as kv, init_resolver as kw, isVimWordChar as kx, init_activityManager as ky, isPluginAgent as l, getLimitedSkillToolCommands as lA, saveIdpClientSecret as lC, extractRules as lD, init_prompt$28 as lE, formatAutonomyFlowsStatus as lO, applySettingsChange as lS, checkGroveForNonInteractive as lT, init_guards as l_, isCommandEnabled as la, cleanupOldVersions as lb, clearAllCaches as lc, detectAndGetBackend as ld, EnterPlanModeTool as lf, AssistantThinkingMessage as lg, init_PrBadge as lh, resetProjectForTesting as li, init_constants$18 as lj, recordExtractionTokenCount as lk, init_autoCompact as ll, parseSedEditCommand as lm, getSessionEndHookTimeoutMs as ln, createAssistantAPIErrorMessage as lo, GlobTool as lp, flushSessionStorage as lr, copyPluginToVersionedCache as ls, toolToAPISchema as lt, BashTool as lu, copyPlanForFork as lv, ListMcpResourcesTool as lw, hueToRgb as lx, useShimmerAnimation as ly, extractDescriptionFromMarkdown as m, getPluginDataDirSize as mA, ensureTransport as mC, supportsPersistence as mD, init_constants$15 as mE, clearCommandQueue as mO, init_useSettingsChange as mS, markGroveNoticeViewed as mT, getSkillUsageScore as m_, init_bundledSkills as ma, getAllLockInfo as mb, getMarketplaceJsonRelativePath as mc, getInProcessBackend as md, AskUserQuestionTool as mf, init_extra_usage as mg, createIdleNotification as mh, saveAgentSetting as mi, findToolByName as mj, getAssistantMessageContentLength as mk, buildSessionMemoryUpdatePrompt as ml, setCwd as mm, getUserPromptSubmitHookBlockingMessage as mn, createModelSwitchBreadcrumbs as mo, getGlobExclusionsForPluginCache as mp, getCurrentSessionTitle as mr, loadAllPluginsCacheOnly as ms, copyWorktreeIncludeFiles as mt, BACKGROUND_BASH_SUMMARY_PREFIX as mu, getPlansDirectory as mv, init_sliceAnsi as mw, init_BaseTextInput as mx, themeColorToAnsi as my, filterAgentsByMcpRequirements as n, getSessionStartDate as nA, clearIdpIdToken as nC, tryGenerateSuggestion as nD, cronToHuman as nE, init_autonomyRuns as nO, init_notifications as nS, init_remoteManagedSettings as nT, getAllHooks as n_, init_ultraplan as na, getModelDisplayLabel as nb, formatMarketplaceLoadingErrors as nc, countConcurrentSessions as nd, formatRemoteTriggerAuditStatus as nf, FilePathLink as ng, snipProjection_exports as nh, recordFileHistorySnapshot as ni, init_messages$1 as nj, hasMetInitializationThreshold as nk, init_zodToJsonSchema as nl, init_readOnlyValidation as nm, executeTaskCreatedHooks as nn, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX as no, isPermittedRedirect as np, deleteRemoteAgentMetadata as nr, init_claudeCodeGuideAgent as ns, queryModelWithoutStreaming as nt, init_toolErrors as nu, loadPluginHooks$1 as nv, loadPluginOptions as nw, init_select as nx, formatAgentId as ny, init_loadAgentsDir as o, clearPromptCache as oA, init_xaaIdpLogin as oC, permissionRuleExtractPrefix$1 as oD, TODO_WRITE_TOOL_NAME as oE, resumeManagedAutonomyFlowPrompt as oO, useAppState as oS, refreshRemoteManagedSettings as oT, hookSourceInlineDisplayString as o_, getPromptIdentifier as oa, init_nativeInstaller as ob, isSourceAllowedByPolicy as oc, updateSessionActivity as od, validateModel as of, clearClassifierChecking as og, init_pillLabel as oh, removeExtraFields as oi, CLAUDE_FOLDER_PERMISSION_PATTERN as oj, markExtractionCompleted as ok, init_analyzeContext as ol, parsePowerShellCommandCached as om, executeWorktreeRemoveHook as on, countToolCalls as oo, init_NotebookEditTool as op, extractTeammateTranscriptsFromTasks as or, init_outputStyles as os, init_api as ot, getFirstWordPrefix as ou, initializeFileChangedWatcher as ov, loadMcpServerUserConfig as ow, useRegisterOverlay as ox, init_ink as oy, CLAUDE_CONFIG_DIRECTORIES as p, deletePluginDataDir as pA, ensureConfigScope as pC, persistPermissionUpdates as pD, EXIT_PLAN_MODE_V2_TOOL_NAME as pE, requestManagedAutonomyFlowCancel as pO, updateHooksConfigSnapshot as pS, isQualifiedForGrove as pT, validateUuid as p_, init_exit as pa, cleanupStaleLocks as pb, cleanupSessionPluginCache as pc, getCachedDetectionResult as pd, isPlanModeInterviewPhaseEnabled as pf, extraUsage as pg, init_UserTextMessage as ph, saveAgentName as pi, init_toolName$1 as pj, doesMostRecentAssistantMessageExceed200k as pk, trySessionMemoryCompaction as pl, init_Shell as pm, getTeammateIdleHookMessage as pn, createCommandInputMessage as po, clearPluginCacheExclusions as pp, getCurrentSessionTag as pr, loadAllPlugins as ps, cleanupWorktree as pt, registerSessionFileAccessHooks as pu, getPlanSlug as pv, init_MessageResponse as pw, BaseTextInput as px, init_theme$1 as py, init_shouldUseSandbox as q, init_officialMarketplace as qA, init_pluginOnlyPolicy as qC, finalizeAutonomyCommandsForTurn as qD, toArray as qE, clearToolSearchDescriptionCache as qO, clearServerTokensFromLocalStorage as qS, hasCronTasksSync as qT, init_conversationRecovery as q_, waitForPolicyLimitsToLoad as qa, fetchResourcesForClient as qb, getDeferredToolsDelta as qc, sendPermissionResponseViaMailbox as qd, WebFetchTool as qf, init_convert as qg, SDKUserMessageSchema as qh, getSlashCommandToolSkills as qi, init_libesm as qk, init_extractMemories as ql, resetAllLSPDiagnosticState as qm, MAX_TRANSCRIPT_READ_BYTES as qn, normalizeMessagesForAPI as qo, estimateSkillFrontmatterTokens as qp, loadTranscriptFile as qr, removeMarketplaceSource as qs, executePreToolHooks as qt, init_resumeAgent as qu, getViewedTeammateTask as qv, init_autoUpdater as qw, init_pasteStore as qx, buildAPIProviderProperties as qy, getActiveAgentsFromList as r, init_common as rA, getCachedIdpIdToken as rC, init_vscodeSdkMcp as rD, init_cron as rE, listAutonomyRuns as rO, useNotifications as rS, initializeRemoteManagedSettingsLoadingPromise as rT, getHookDisplayText as r_, launchUltraplan as ra, init_status$1 as rb, getMarketplaceSourceDisplay as rc, init_concurrentSessions as rd, init_remoteTriggerAudit as rf, init_FilePathLink as rg, OffscreenFreeze as rh, recordQueueOperation as ri, init_prompt$35 as rj, hasMetUpdateThreshold as rk, zodToJsonSchema as rl, isAllowlistedCommand as rm, executeTeammateIdleHooks as rn, SYNTHETIC_MESSAGES as ro, isPreapprovedUrl as rp, doesMessageExistInSession as rr, DEFAULT_OUTPUT_STYLE_NAME as rs, queryWithModel as rt, Stream as ru, pruneRemovedPluginHooks as rv, savePluginOptions as rw, init_overlayContext as rx, init_agentId as ry, isBuiltInAgent as s, formatCommandsWithinBudget as sA, isXaaEnabled as sC, applyPermissionUpdate as sD, init_constants$13 as sE, formatAutonomyFlowDetail as sO, useAppStateStore as sS, waitForRemoteManagedSettingsToLoad as sT, init_hooksSettings as s_, init_prompt$1 as sa, checkInstall as sb, loadMarketplacesWithGracefulDegradation as sc, updateSessionBridgeId as sd, getModelOptions as sf, init_classifierApprovals as sg, pillNeedsCta as sh, removeTranscriptMessage as si, FILE_EDIT_TOOL_NAME as sj, markExtractionStarted as sk, calculateTokenWarningState as sl, applySedSubstitution as sm, getMatchingHooks as sn, createAgentsKilledMessage as so, init_notebook as sp, fetchLogs as sr, cachePlugin as ss, logContextMetrics as st, getSimpleCommandPrefix as su, setEnvHookNotifier as sv, loadMcpbFile as sw, TextInput as sx, toInkColor as sy, clearAgentDefinitionsCache as t, init_prompt$30 as tA, clearIdpClientSecret as tC, shouldEnablePromptSuggestion as tD, removeCronTasks as tE, formatAutonomyRunsStatus as tO, useClipboardImageHint as tS, performLogout as tT, removeSessionHook as t_, CCR_TERMS_URL as ta, buildSettingSourcesProperties as tb, formatFailureDetails as tc, setReplBridgeHandle as td, init_prompt$9 as tf, init_UserBashInputMessage as tg, init_snipProjection as th, recordContextCollapseSnapshot as ti, NO_CONTENT_MESSAGE as tj, getToolCallsBetweenUpdates as tk, modelSupportsToolReference as tl, init_dangerousCmdlets as tm, executeTaskCompletedHooks as tn, SUBAGENT_REJECT_MESSAGE as to, init_utils as tp, clearSessionMetadata as tr, CLAUDE_CODE_GUIDE_AGENT_TYPE as ts, queryHaiku as tt, getErrorParts as tu, init_loadPluginHooks as tv, init_pluginOptionsStorage as tw, Select as tx, injectUserMessageToTeammate as ty, parseAgentFromJson as u, getPrompt$7 as uA, saveIdpIdTokenFromJwt as uC, hasRules as uD, ENTER_PLAN_MODE_TOOL_NAME as uE, getAutonomyFlowById as uO, init_applySettingsChange as uS, getGroveNoticeConfig as uT, isLocalShellTask as u_, init_upgrade as ua, cleanupShellAliases as ub, init_cacheUtils as uc, ensureBackendsRegistered as ud, init_EnterPlanModeTool as uf, init_AssistantThinkingMessage as ug, diagnosticTracker as uh, resetSessionFilePointer as ui, GREP_TOOL_NAME as uj, setLastSummarizedMessageId as uk, isAutoCompactEnabled as ul, ShellProgressMessage as um, getStopHookMessage as un, createAssistantMessage as uo, init_GlobTool as up, getAgentTranscript as ur, getVersionedCachePath as us, getSystemPrompt as ut, init_BashTool as uu, copyPlanForResume as uv, init_ListMcpResourcesTool as uw, init_utils$5 as ux, SpinnerGlyph as uy, getAutoModeEnabledState as v, pluginDataDirPath as vA, excludeToolsByServer as vC, PROMPT_PREFIX as vD, asSessionId as vE, enqueuePendingNotification as vO, init_voice$1 as vS, init_gracefulShutdown as vT, buildPluginTelemetryFields as v_, init_managedEnv as va, detectIDEs as vb, getZipCachePluginsDir as vc, isInProcessEnabled as vd, autoModeState_exports as vf, applyMarkdown as vg, isModeSetRequest as vh, saveTag as vi, FRONTMATTER_REGEX as vj, tokenCountFromLastAPIResponse as vk, registerCompactCleanup as vl, BASH_MAX_OUTPUT_UPPER_LIMIT as vm, init_hooks as vn, createSystemMessage as vo, HighlightedCode as vp, getNodeEnv as vr, init_pluginInstallationHelpers as vs, execIntoTmuxWorktree as vt, init_LocalShellTask as vu, init_words as vv, MessageActionsSelectedContext as vw, useTextInput as vx, TaskListV2 as vy, initialPermissionModeFromCLI as w, resolveSandboxFilesystemPath as wA, init_utils$6 as wC, init_permissionLogging as wD, evictTerminalTask as wE, init_messageQueueManager as wO, cacheImagePath as wS, fetchEnvironments as wT, checkRemoteAgentEligibility as w_, init_bridgeDebug as wa, getTerminalIdeType as wb, init_loadPluginAgents as wc, assignTeammateColor as wd, init_WebSearchTool as wf, init_check1mAccess as wg, isSandboxPermissionResponse as wh, setAgentTranscriptSubdir as wi, convertEffortValueToLevel as wj, setSystemPromptInjection as wk, compactConversation as wl, disableHintRecommendations as wm, hookJSONOutputSchema as wn, extractTextContent as wo, FileEditTool as wp, getTranscriptPath as wr, getManagedPluginNames as ws, isTmuxAvailable as wt, killAllRunningAgentTasks as wu, fileHistoryHasAnyChanges as wv, init_useShortcutDisplay as ww, Cursor as wx, init_agentColorManager as wy, getAutoModeUnavailableReason as x, convertToSandboxRuntimeConfig as xA, filterToolsByServer as xC, getBashPromptAllowDescriptions as xD, createSyntheticOutputTool as xE, getCommandQueueSnapshot as xO, useVoiceState as xS, checkRepoForRemoteAccess as xT, logPluginLoadErrors as x_, init_featureCheck as xa, getConnectedIdeClient as xb, isPluginZipCacheEnabled as xc, registerTmuxBackend as xd, handlePlanApprovalResponse as xf, init_contextWindowUpgradeCheck as xg, isPlanApprovalRequest as xh, searchSessionsByCustomTitle as xi, init_yaml as xj, getSystemContext as xk, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES as xl, validateBoundedIntEnvVar as xm, registerStructuredOutputEnforcement as xn, createUserMessage as xo, getColorModuleUnavailableReason as xp, getSessionFilesLite as xr, registerPluginInstallation as xs, getTmuxInstallInstructions as xt, init_LocalAgentTask as xu, fileHistoryCanRestore as xv, stripSystemReminders as xw, isFullscreenEnvEnabled as xx, AGENT_COLORS as xy, getAutoModeEnabledStateIfCached as y, SandboxManager as yA, extractAgentMcpServers as yC, createPromptRuleContent as yD, init_ids as yE, getCommandQueue as yO, useGetVoiceState as yS, isShuttingDown as yT, classifyPluginCommandError as y_, SAFE_ENV_VARS as ya, detectRunningIDEs as yb, init_zipCache as yc, markInProcessFallback as yd, init_autoModeState as yf, init_markdown as yg, isPermissionRequest as yh, saveTaskSummary as yi, init_frontmatterParser as yj, tokenCountWithEstimation as yk, runPostCompactCleanup as yl, init_outputLimits as ym, shouldSkipHookDueToTrust as yn, createTurnDurationMessage as yo, init_HighlightedCode as yp, getProjectDir as yr, installPluginFromMarketplace as ys, generateTmuxSessionName as yt, LocalAgentTask as yu, init_outputsScanner as yv, init_messageActions as yw, init_fullscreen as yx, init_TaskListV2 as yy, validateDirectoryForWorkspace as z, checkGitAvailable as zA, parseMcpConfig as zC, headlessProfilerStartTurn as zD, endTrace as zE, getRateLimitWarning as zO, createContentReplacementState as zS, CRON_LIST_TOOL_NAME as zT, validateGitState as z_, init_policyLimits as za, init_idePathConversion as zb, isValidImagePaste as zc, processSandboxPermissionResponse as zd, init_LocalWorkflowTask as zf, buildDefaultExternalSystemPrompt as zg, McpServerStatusSchema as zh, filterCommandsForRemoteMode as zi, toPersistableEffort as zj, compactWarningStore as zk, findTokenBudgetPositions as zl, getLspServerManager as zm, normalizeCaseForComparison as zn, isCompactBoundaryMessage as zo, formatCost as zp, loadAllProjectsMessageLogs as zr, getMarketplacesCacheDir as zs, executeInstructionsLoadedHooks as zt, filterToolsByDenyRules as zu, init_ConsoleOAuthFlow as zv, normalizeKeyForComparison as zw, formatPastedTextRef as zx, wrapWithOsc8Link as zy };
|
|
224049
|
+
export { accumulateUsage as $, init_plugin$1 as $A, getUnconfiguredOptions as $C, formatAutonomyRunsList as $D, logSuggestionSuppressed as $E, getSessionMemoryContent as $O, acquireIdpIdToken as $S, readCronTasks as $T, getPluginAffectingSettingsSnapshot as $_, REJECT_MESSAGE as $a, setupSdkMcpClients as $b, isToolReferenceBlock as $c, REMOTE_TRIGGER_TOOL_NAME as $d, getWithPermittedRedirects as $f, init_sessionHooks as $g, UserBashInputMessage as $h, init_useBuddyNotification as $i, init_toolName as $k, logQueryProfileReport as $l, snipCompact_exports as $m, clearAgentTranscriptSubdir as $n, stripSignatureBlocks as $o, NEVER_SUGGEST as $p, recordContentReplacement as $r, fetchOfficialMarketplaceFromGcs as $s, executeStopHooks as $t, init_replBridgeHandle as $u, init_InProcessTeammateTask as $v, init_logout$1 as $w, init_useClipboardImageHint as $x, buildSandboxProperties as $y, prepareContextForPlanMode as A, dispose$1 as AA, filterMcpServersByPolicy as AC, clearAllDumpState as AD, extractBashToolsFromMessages as AE, categorizeRetryableAPIError as AO, init_imagePaste as AS, init_product as AT, checkOutTeleportedSessionBranch as A_, init_bridgeApi as Aa, isSupportedTerminal as Ab, getQueuedCommandAttachments as Ac, registerLeaderToolUseConfirmQueue as Ad, init_outputFormatting as Af, modelSupportsAdvisor as Ag, writeToMailbox as Ah, writeRemoteAgentMetadata as Ai, getOpusDefaultEffortConfig as Aj, init_claudemd as Ak, logPermissionContextForAnts as Al, getPendingHintSnapshot as Am, initTaskOutputAsSymlink as An, getMessagesAfterCompactBoundary as Ao, fetchGitDiff as Ap, isChainParticipant as Ar, isInstallationRelevantToCurrentProject as As, validateWorktreeSlug as At, getToolSearchOrReadInfo as Au, KeybindingSetup as Av, getKeybindingsPath as Aw, recordYank as Ax, TOOL_DISPLAY_EXPIRY_MS as Ay, deletePermissionRule as B, markGitUnavailable as BA, removeMcpConfig as BC, logHeadlessProfilerTurn as BD, recordLLMObservation as BE, init_systemPromptType as BO, processToolResultBlock as BS, init_prompt$27 as BT, generateTempFilePath as B_, initializePolicyLimitsLoadingPromise as Ba, isJetBrainsPluginInstalledCachedSync as Bb, init_textInputTypes as Bc, registerSandboxPermissionCallback as Bd, init_DreamTask as Bf, init_yoloClassifier as Bg, PermissionModeSchema as Bh, findCommand as Bi, getRainbowColor as Bj, suppressCompactWarning as Bk, findTokenBudgetPositions as Bl, initializeLspServerManager as Bm, pathInAllowedWorkingPath as Bn, isCompactBoundaryMessage as Bo, getStoredSessionCosts as Bp, loadAllProjectsMessageLogsProgressive as Br, getMarketplace as Bs, executeNotificationHooks as Bt, filterToolsByDenyRules as Bu, Spinner as Bv, init_defaultBindings as Bw, getPastedTextRefNumLines as Bx, sendNotification as By, init_permissionSetup as C, resolveSandboxFilesystemPath as CA, init_utils$6 as CC, init_permissionLogging as CD, evictTerminalTask as CE, init_messageQueueManager as CO, cacheImagePath as CS, fetchEnvironments as CT, checkRemoteAgentEligibility as C_, clearBridgeDebugHandle as Ca, getTerminalIdeType as Cb, isPluginZipCacheEnabled as Cc, assignTeammateColor as Cd, init_WebSearchTool as Cf, init_check1mAccess as Cg, isSandboxPermissionResponse as Ch, sessionStorage_exports as Ci, convertEffortValueToLevel as Cj, setSystemPromptInjection as Ck, ERROR_MESSAGE_USER_ABORT as Cl, disableHintRecommendations as Cm, init_combinedAbortSignal as Cn, deriveUUID as Co, FileEditTool as Cp, getSessionIdFromLog as Cr, registerPluginInstallation as Cs, init_worktree as Ct, isLocalAgentTask as Cu, fileHistoryHasAnyChanges as Cv, init_useShortcutDisplay as Cw, Cursor as Cx, init_agentColorManager as Cy, isBypassPermissionsModeDisabled as D, ripGrep as DA, areMcpConfigsAllowedWithEnterpriseMcpConfig as DC, init_cliHighlight as DD, abortSpeculation as DE, popAllEditable as DO, storeImage as DS, TodoListSchema as DT, registerRemoteAgentTask as D_, wrapApiForFaultInjection as Da, isCursorInstalled as Db, loadPluginAgents as Dc, getLeaderToolUseConfirmQueue as Dd, renderToolUseProgressMessage$1 as Df, isAdvisorBlock as Dg, markMessagesAsRead as Dh, setRemoteIngressUrlForTesting as Di, getEffortSuffix as Dj, getLargeMemoryFiles as Dk, mergeHookInstructions as Dl, init_pluginPolicy as Dm, isTerminalTaskStatus as Dn, getAssistantMessageText as Do, getPatchForEdits as Dp, hydrateFromCCRv2InternalEvents as Dr, init_managedPlugins as Ds, parsePRReference as Dt, queuePendingMessage as Du, init_fileHistory as Dv, init_shortcutFormat as Dw, isVimWhitespace as Dx, activityManager as Dy, isAutoModeGateEnabled as E, init_ripgrep as EA, addMcpConfig as EC, getLanguageName as ED, updateTaskState$1 as EE, peek as EO, init_imageStore as ES, init_TodoWriteTool as ET, init_RemoteAgentTask as E_, registerBridgeDebugHandle as Ea, initializeIdeIntegration as Eb, init_loadPluginAgents as Ec, teammatePromptAddendum_exports as Ed, init_UI$13 as Ef, init_advisor$1 as Eg, isTeamPermissionUpdate as Eh, setInternalEventWriter as Ei, getEffortEnvOverride as Ej, getExternalClaudeMdIncludes as Ek, init_compact$1 as El, resolvePluginHint as Em, init_Task as En, formatCommandInputTags as Eo, getEditsForPatch as Ep, getUserType as Er, getManagedPluginNames as Es, killTmuxSession as Et, markAgentsNotified as Eu, fileHistoryRewind as Ev, getShortcutDisplay as Ew, isVimPunctuation as Ex, isInProcessTeammateTask as Ey, transitionPlanAutoMode as F, settingsChangeDetector as FA, getMcpServerSignature as FC, SLEEP_TOOL_NAME as FD, normalizeMessage as FE, getRawUtilization as FO, ReadMcpResourceTool as FS, init_tools$1 as FT, teleportResumeCodeSession as F_, review as Fa, IdeOnboardingDialog as Fb, finalizePendingAsyncHooks as Fc, hasSandboxPermissionCallback as Fd, init_stopTask as Ff, filterToolsForAgent as Fg, HookEventSchema as Fh, REMOTE_SAFE_COMMANDS as Fi, parseEffortValue as Fj, init_microCompact as Fk, init_forkedAgent as Fl, init_argumentSubstitution as Fm, getSessionMemoryDir as Fn, getUserMessageText as Fo, getPatchFromContents as Fp, isTranscriptMessage as Fr, removePluginInstallation as Fs, executeElicitationHooks as Ft, init_memoryFileDetection as Fu, SelectMulti as Fv, NON_REBINDABLE as Fw, addToHistory as Fx, getBridgeStatus as Fy, init_permissions as G, OFFICIAL_MARKETPLACE_SOURCE as GA, init_claudeai as GC, claimConsumableQueuedAutonomyCommands as GD, init_generators as GE, ToolSearchTool as GO, clearMcpClientConfig as GS, getCronFilePath as GT, deserializeMessages as G_, startBackgroundPolling as Ga, fetchCommandsForClient as Gb, init_tokenEstimation as Gc, sendPermissionRequestViaMailbox as Gd, listSessionsImpl as Gf, convertToolsToLangfuse as Gg, SDKStreamlinedToolUseSummaryMessageSchema as Gh, getMcpSkillCommands as Gi, resetPromptCacheBreakDetection as Gk, buildConsolidationPrompt as Gl, init_LSPDiagnosticRegistry as Gm, init_memdir as Gn, isToolUseResultMessage as Go, clearSkillCaches as Gp, loadSameRepoMessageLogsProgressive as Gr, loadKnownMarketplacesConfigSafe as Gs, executePostToolUseFailureHooks as Gt, init_WorkflowTool as Gu, getActiveAgentForInput as Gv, getNpmDistTags as Gw, cleanupOldPastes as Gx, installOAuthTokens as Gy, getAskRules as H, init_fetchTelemetry as HA, clearClaudeAIMcpConfigsCache as HC, notifyCommandLifecycle as HD, isLangfuseEnabled as HE, detectImageFormatFromBase64 as HO, reconstructContentReplacementState as HS, prompt_exports$2 as HT, downloadSessionFiles as H_, isPolicyLimitsEligible as Ha, callIdeRpc as Hb, FileReadTool as Hc, generateSandboxRequestId as Hd, readLastConsolidatedAt as Hf, sideQuery as Hg, SDKMessageSchema as Hh, getBridgeCommandSafety as Hi, isUltrathinkEnabled as Hj, init_store as Hk, parseTokenBudget as Hl, shutdownLspServerManager as Hm, getMemoryScopeDisplay as Hn, isNotEmptyMessage as Ho, restoreCostStateForSession as Hp, loadFullLog as Hr, getPluginById as Hs, executePermissionRequestHooks as Ht, getTools as Hu, init_Spinner as Hv, getDoctorDiagnostic as Hw, makeHistoryReader as Hx, authLogout as Hy, verifyAutoModeGateAccess as I, subscribe as IA, init_config$4 as IC, init_prompt$29 as ID, init_langfuse as IE, init_claudeAiLimits as IO, init_ReadMcpResourceTool as IS, CRON_CREATE_TOOL_NAME as IT, teleportToRemote as I_, init_ultrareviewEnabled as Ia, init_IdeOnboardingDialog as Ib, init_AsyncHookRegistry as Ic, init_useSwarmPermissionPoller as Id, stopTask as If, init_agentToolUtils as Ig, HookInputSchema as Ih, builtInCommandNames as Ii, resolveAppliedEffort as Ij, microcompactMessages as Ik, prepareForkedCommandContext as Il, parseArguments as Im, getSessionMemoryPath as In, handleMessageFromStream as Io, init_diff$1 as Ip, linkSessionToPR as Ir, updateInstallationPathOnDisk as Is, executeElicitationResultHooks as It, isAutoManagedMemoryFile as Iu, init_SelectMulti as Iv, TERMINAL_RESERVED as Iw, expandPastedTextRefs as Ix, init_bridgeStatusUtil as Iy, shouldUseSandbox as J, formatReverseDependentsSuffix as JA, isSourceAdminTrusted as JC, createAutonomyQueuedPrompt as JD, getDefaultAppState as JE, inputSchema$49 as JO, init_auth$1 as JS, jitteredNextCronRunMs as JT, init_sessionStart as J_, init_withRetry as Ja, getMcpServerConnectionBatchSize as Jb, getAutoToolSearchCharThreshold as Jc, sendSandboxPermissionResponseViaMailbox as Jd, MAX_MARKDOWN_LENGTH as Jf, getAgentModelOptions as Jg, init_coreSchemas as Jh, hasCommand as Ji, diffWordsWithSpace as Jk, init_extractMemories as Jl, init_SkillTool as Jm, adoptResumedSessionFile as Jn, normalizeMessagesForAPI as Jo, init_loadSkillsDir as Jp, loadTranscriptFromFile as Jr, registerSeedMarketplaces as Js, executeSessionEndHooks as Jt, buildEffectiveSystemPrompt as Ju, InProcessTeammateTask as Jv, init_localInstaller as Jw, getValueFromInput as Jx, buildIDEProperties as Jy, permissionRuleSourceDisplayString as K, init_officialMarketplace as KA, init_pluginOnlyPolicy as KC, finalizeAutonomyCommandsForTurn as KD, toArray as KE, clearToolSearchDescriptionCache as KO, clearServerTokensFromLocalStorage as KS, hasCronTasksSync as KT, init_conversationRecovery as K_, stopBackgroundPolling as Ka, fetchResourcesForClient as Kb, roughTokenCountEstimation as Kc, sendPermissionResponseViaMailbox as Kd, WebFetchTool as Kf, init_convert as Kg, SDKUserMessageSchema as Kh, getSkillToolCommands as Ki, init_libesm as Kk, init_consolidationPrompt as Kl, resetAllLSPDiagnosticState as Km, loadMemoryPrompt as Kn, normalizeContentFromAPI as Ko, estimateSkillFrontmatterTokens as Kp, loadSubagentTranscripts as Kr, refreshAllMarketplaces as Ks, executePreCompactHooks as Kt, init_resumeAgent as Ku, getViewedTeammateTask as Kv, init_autoUpdater as Kw, init_pasteStore as Kx, buildAPIProviderProperties as Ky, addDirHelpMessage as L, SandboxViolationStore as LA, isMcpServerDisabled as LC, headlessProfilerCheckpoint as LD, createTrace as LE, statusListeners as LO, TOOL_RESULTS_SUBDIR as LS, CRON_DELETE_TOOL_NAME as LT, teleportToRemoteWithErrorHandling as L_, isUltrareviewEnabled as La, WindowsToWSLConverter as Lb, init_hookEvents as Lc, processMailboxPermissionResponse as Ld, LocalWorkflowTask_exports as Lf, resolveAgentTools as Lg, McpServerConfigForProcessTransportSchema as Lh, clearCommandMemoizationCaches as Li, resolvePickerEffortPersistence as Lj, resetMicrocompactState as Lk, runForkedAgent as Ll, getInitializationStatus as Lm, init_filesystem as Ln, hasToolCallsInLastAssistantTurn as Lo, addToTotalSessionCost as Lp, listRemoteAgentMetadata as Lr, addMarketplaceSource as Ls, executeFileChangedHooks as Lt, getHardcodedTeammateModelFallback as Lu, ConsoleOAuthFlow as Lv, init_reservedShortcuts as Lw, formatImageRef as Lx, timestamp as Ly, restoreDangerousPermissions as M, initialize$1 as MA, getClaudeCodeMcpConfigs as MC, init_dumpPrompts as MD, handleOrphanedPermission as ME, startsWithApiErrorPrefix as MO, registerElicitationHandler as MS, isCoordinatorMode as MT, pollRemoteSessionEvents as M_, isSuppressible403 as Ma, isVSCodeInstalled as Mb, resetSentSkillNames as Mc, unregisterLeaderToolUseConfirmQueue as Md, init_BriefTool as Mf, runAgent as Mg, AgentDefinitionSchema as Mh, init_getWorktreePaths as Mi, isEffortLevel as Mj, shouldShowClaudeMdExternalIncludesWarning as Mk, createSubagentContext as Ml, markShownThisSession as Mm, ensureScratchpadDir as Mn, getSiblingToolUseIDsFromLookup as Mo, init_gitDiff as Mp, isEphemeralToolProgress as Mr, isPluginInstalled as Ms, createBaseHookInput as Mt, hasAnyToolInProgress as Mu, TeleportError as Mv, isKeybindingCustomizationEnabled as Mw, resetYankState as Mx, buildBridgeConnectUrl as My, stripDangerousPermissionsForAutoMode as N, notifyChange as NA, getMcpConfigByName as NC, init_postSamplingHooks as ND, init_queryHelpers as NE, checkQuotaStatus as NO, runElicitationHooks as NS, TEAM_CREATE_TOOL_NAME as NT, processMessagesForTeleportResume as N_, validateBridgeId as Na, isWindsurfInstalled as Nb, init_messagePredicates as Nc, clearAllPendingCallbacks as Nd, TaskStopTool as Nf, MonitorMcpTask_exports as Ng, AgentInfoSchema as Nh, BRIDGE_SAFE_COMMANDS as Ni, modelSupportsEffort as Nj, g as Nk, extractResultText as Nl, subscribeToPendingHint as Nm, generateSuggestions as Nn, getToolUseID as No, adjustHunkLineNumbers as Np, isLiteLog as Nr, loadInstalledPluginsFromDisk as Ns, executeConfigChangeHooks as Nt, init_collapseReadSearch as Nu, init_TeleportError as Nv, loadKeybindingsSyncWithWarnings as Nw, updateYankLength as Nx, buildBridgeSessionUrl as Ny, isDefaultPermissionModeAuto as O, WEB_FETCH_TOOL_NAME as OA, dedupClaudeAiMcpServers as OC, createAbortController as OD, handleSpeculationAccept as OE, removeByFilter as OO, storeImages as OS, init_types$7 as OT, restoreRemoteAgentTasks as O_, BridgeFatalError as Oa, isJetBrainsIde as Ob, createAttachmentMessage as Oc, init_leaderPermissionBridge as Od, TASK_MAX_OUTPUT_DEFAULT as Of, isAdvisorEnabled as Og, readUnreadMessages as Oh, setSessionFileForTesting as Oi, getEffortValueDescription as Oj, getMemoryFiles as Ok, partialCompactConversation as Ol, isPluginBlockedByPolicy as Om, evictTaskOutput as On, getContentText as Oo, init_utils$1 as Op, hydrateRemoteSession as Or, init_installedPluginsManager as Os, removeAgentWorktree as Ot, collapseReadSearchGroups as Ou, clearAllSessions as Ov, init_resolver as Ow, isVimWordChar as Ox, init_activityManager as Oy, transitionPermissionMode as P, resetForTesting as PA, getMcpConfigsByScope as PC, registerPostSamplingHook as PD, isResultSuccessful as PE, currentLimits as PO, runElicitationResultHooks as PS, init_constants$3 as PT, teleportFromSessionsAPI as P_, init_review as Pa, toIDEDisplayName as Pb, isHumanTurn as Pc, hasPermissionCallback as Pd, init_TaskStopTool as Pf, init_MonitorMcpTask as Pg, FastModeStateSchema as Ph, INTERNAL_ONLY_COMMANDS as Pi, modelSupportsMaxEffort as Pj, init_marked_esm as Pk, getLastCacheSafeParams as Pl, generateProgressiveArgumentHint as Pm, getScratchpadDir as Pn, getToolUseIDs as Po, getPatchForDisplay as Pp, isLoggableMessage as Pr, loadInstalledPluginsV2 as Ps, executeCwdChangedHooks as Pt, summarizeRecentActivities as Pu, init_CustomSelect as Pv, MACOS_RESERVED as Pw, yankPop as Px, buildIdleFooterText as Py, splitCommand_DEPRECATED as Q, getPluginErrorMessage as QA, deletePluginOptions as QC, finalizeAutonomyRunFailed as QD, logSuggestionOutcome as QE, getSessionMemoryConfig as QO, saveMcpClientSecret as QS, oneShotJitteredNextCronRunMs as QT, clearPluginHookCache as Q_, INTERRUPT_MESSAGE_FOR_TOOL_USE as Qa, reconnectMcpServerImpl as Qb, isDeferredToolsDeltaEnabled as Qc, init_MonitorTool as Qd, getURLMarkdownContent as Qf, addSessionHook as Qg, init_UserPlanMessage as Qh, findBuddyTriggerPositions as Qi, POWERSHELL_TOOL_NAME as Qk, init_queryProfiler as Ql, init_snipCompact as Qm, cleanMessagesForLogging as Qn, stripPromptXMLTags as Qo, init_PowerShellTool as Qp, recordAttributionSnapshot as Qr, setMarketplaceAutoUpdate as Qs, executeStopFailureHooks as Qt, getReplBridgeHandle as Qu, getRunningTeammatesSorted as Qv, clearAuthRelatedCaches as Qw, useSettings as Qx, buildMemoryDiagnostics as Qy, init_validation as R, checkGitAvailable as RA, parseMcpConfig as RC, headlessProfilerStartTurn as RD, endTrace as RE, getRateLimitWarning as RO, createContentReplacementState as RS, CRON_LIST_TOOL_NAME as RT, validateGitState as R_, clearPolicyLimitsCache as Ra, init_idePathConversion as Rb, registerHookEventHandler as Rc, processSandboxPermissionResponse as Rd, init_LocalWorkflowTask as Rf, buildDefaultExternalSystemPrompt as Rg, McpServerStatusSchema as Rh, clearCommandsCache as Ri, toPersistableEffort as Rj, compactWarningStore as Rk, init_query as Rl, getLspServerManager as Rm, isScratchpadEnabled as Rn, hasUnresolvedHooksFromLookup as Ro, formatCost as Rp, loadAllLogsFromSessionFile as Rr, clearMarketplacesCache as Rs, executeFileSuggestionCommand as Rt, init_teammateModel as Ru, init_ConsoleOAuthFlow as Rv, normalizeKeyForComparison as Rw, formatPastedTextRef as Rx, wrapWithOsc8Link as Ry, hasAutoModeOptInAnySource as S, resolvePathPatternForSandbox as SA, getScopeLabel as SC, isClassifierPermissionsEnabled as SD, isSyntheticOutputToolEnabled as SE, hasCommandsInQueue as SO, init_ConfigurableShortcutHint as SS, createDefaultCloudEnvironment as ST, RemoteAgentTask as S_, isSkillSearchEnabled as Sa, getSortedIdeLockfiles as Sb, isMarketplaceSourceSupportedByZipCache as Sc, resetBackendDetection as Sd, WebSearchTool as Sf, checkSonnet1mAccess as Sg, isSandboxPermissionRequest as Sh, sessionIdExists as Si, EFFORT_LEVELS as Sj, init_context$1 as Sk, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES as Sl, init_CircularBuffer as Sm, createCombinedAbortSignal as Sn, createUserMessage as So, init_colorDiff as Sp, getSessionFilesWithMtime as Sr, installResolvedPlugin as Ss, hasWorktreeChanges as St, init_LocalAgentTask as Su, fileHistoryGetDiffStats as Sv, useMessageActions as Sw, maybeGetTmuxMouseHint as Sx, getAgentColor as Sy, initializeToolPermissionContext as T, countFilesRoundedRg as TA, parseHeaders as TC, getCliHighlightPromise as TD, init_framework as TE, isQueuedCommandVisible as TO, clearStoredImagePaths as TS, TodoWriteTool as TT, getRemoteTaskSessionUrl as T_, injectBridgeFault as Ta, init_ide$1 as Tb, init_loadPluginCommands as Tc, init_teammatePromptAddendum as Td, init_TaskOutputTool as Tf, getInitialAdvisorSetting as Tg, isShutdownRequest as Th, setInternalEventReader as Ti, getDisplayedEffortLevel as Tj, clearMemoryFileCaches as Tk, compactConversation as Tl, markHintPluginShown as Tm, init_hooks$1 as Tn, extractTextContent as To, findActualString as Tp, getTranscriptPathForSession as Tr, init_pluginVersioning as Ts, keepWorktree as Tt, killAllRunningAgentTasks as Tu, fileHistoryRestoreStateFromLog as Tv, init_KeybindingContext as Tw, init_Cursor as Tx, init_types$4 as Ty, getDenyRules as U, logPluginFetch as UA, fetchClaudeAIMcpConfigsIfEligible as UC, setCommandLifecycleListener as UD, shutdownLangfuse as UE, init_imageResizer as UO, AuthenticationCancelledError as US, DEFAULT_CRON_JITTER_CONFIG as UT, init_filesApi as U_, loadPolicyLimits as Ua, clearServerCache as Ub, init_FileReadTool as Uc, init_permissionSync as Ud, recordConsolidation as Uf, convertMessagesToLangfuse as Ug, SDKPostTurnSummaryMessageSchema as Uh, getCommand as Ui, modelSupportsAdaptiveThinking as Uj, init_promptCacheBreakDetection as Uk, initAutoDream as Ul, init_lspPluginIntegration as Um, init_agentMemory as Un, isSyntheticMessage as Uo, saveCurrentSessionCosts as Up, loadMessageLogs as Ur, init_marketplaceManager as Us, executePostCompactHooks as Ut, init_tools as Uu, init_useElapsedTime as Uv, init_doctorDiagnostic as Uw, parseReferences as Ux, authStatus as Uy, getAllowRules as V, classifyFetchError as VA, setMcpServerEnabled as VC, init_commandLifecycle as VD, initLangfuse as VE, createImageMetadataText as VO, provisionContentReplacementState as VS, isKairosCronEnabled as VT, init_tempfile as V_, isPolicyAllowed as Va, areMcpConfigsEqual as Vb, isValidImagePaste as Vc, createPermissionRequest as Vd, init_consolidationLock as Vf, init_sideQuery as Vg, PermissionUpdateSchema as Vh, formatDescriptionWithSource as Vi, init_thinking as Vj, createStore as Vk, init_tokenBudget$1 as Vl, reinitializeLspServerManager as Vm, getAgentMemoryDir as Vn, isEmptyMessageText as Vo, init_cost_tracker as Vp, loadAllSubagentTranscriptsFromDisk as Vr, getMarketplacesCacheDir as Vs, executePermissionDeniedHooks as Vt, getAllBaseTools as Vu, SpinnerWithVerb as Vv, getCurrentInstallationType as Vw, init_history as Vx, authLogin as Vy, hasPermissionsToUseTool as W, OFFICIAL_MARKETPLACE_NAME as WA, hasClaudeAiMcpEverConnected as WC, cancelQueuedAutonomyCommands as WD, fromArray as WE, maybeResizeAndDownsampleImageBlock as WO, ClaudeAuthProvider as WS, findMissedTasks as WT, parseFileSpecs as W_, refreshPolicyLimits as Wa, connectToServer as Wb, registerFileReadListener as Wc, isSwarmWorker as Wd, init_listSessionsImpl as Wf, convertOutputToLangfuse as Wg, SDKStreamlinedTextMessageSchema as Wh, getCommands as Wi, shouldEnableThinkingByDefault as Wj, notifyCompaction as Wk, init_autoDream as Wl, loadPluginLspServers as Wm, loadAgentMemoryPrompt as Wn, isSystemLocalCommandMessage as Wo, clearDynamicSkills as Wp, loadSameRepoMessageLogs as Wr, loadKnownMarketplacesConfig as Ws, executePostToolHooks as Wt, WorkflowTool_exports as Wu, useElapsedTime as Wv, getGcsDistTags as Ww, removeLastFromHistory as Wx, init_auth as Wy, extractOutputRedirections as X, getAddDirEnabledPlugins as XA, init_mcpPluginIntegration as XC, createProactiveAutonomyCommands as XD, abortPromptSuggestion as XE, DEFAULT_SESSION_MEMORY_CONFIG as XO, readClientSecret as XS, markCronTasksFired as XT, processSetupHooks as X_, EMPTY_STRING_SET as Xa, init_client as Xb, getToolSearchMode as Xc, permissionUpdateSchema as Xd, checkDomainBlocklist as Xf, init_agent as Xg, init_QueuedMessageContext as Xh, isBridgeSafeCommand as Xi, init_shellToolUtils as Xk, init_config$2 as Xl, hasThinkingContent as Xm, cacheSessionTitle as Xn, reorderMessagesInUI as Xo, PowerShellTool as Xp, readAgentMetadata as Xr, saveKnownMarketplacesConfig as Xs, executeSetupHooks as Xt, init_LocalMainSessionTask as Xu, findTeammateTaskByAgentId as Xv, init_oauth as Xw, prependModeCharacterToInput as Xx, buildInstallationHealthDiagnostics as Xy, clearCommandPrefixCaches as Y, init_dependencyResolver as YA, getUnconfiguredChannels as YC, createAutonomyQueuedPromptIfNoActiveSource as YD, init_AppStateStore as YE, outputSchema$35 as YO, performMCPOAuthFlow as YS, listAllCronTasks as YT, processSessionStartHooks as Y_, EMPTY_LOOKUPS as Ya, getMcpToolsCommandsAndResources as Yb, getDeferredToolsDelta as Yc, init_PermissionUpdateSchema as Yd, applyPromptToMarkdown as Yf, getDefaultSubagentModel as Yg, QueuedMessageProvider as Yh, init_commands$1 as Yi, SHELL_TOOL_NAMES as Yk, init_readFileInRange as Yl, Message as Ym, buildConversationChain as Yn, prepareUserContent as Yo, onDynamicSkillsLoaded as Yp, reAppendSessionMetadata as Yr, removeMarketplaceSource as Ys, executeSessionStartHooks as Yt, init_systemPrompt as Yu, InProcessTeammateTask_exports as Yv, OAuthService as Yw, init_inputModes as Yx, buildInstallationDiagnostics as Yy, init_commands as Z, init_addDirPluginSettings as ZA, loadPluginMcpServers as ZC, finalizeAutonomyRunCompleted as ZD, init_promptSuggestion as ZE, getLastSummarizedMessageId as ZO, revokeServerTokens as ZS, nextCronRunMs as ZT, takeInitialUserMessage as Z_, INTERRUPT_MESSAGE as Za, prefetchAllMcpResources as Zb, init_toolSearch as Zc, MonitorTool_exports as Zd, clearWebFetchCache as Zf, addFunctionHook as Zg, UserPlanMessage as Zh, meetsAvailabilityRequirement as Zi, isPowerShellToolEnabled as Zk, isAutoDreamEnabled as Zl, init_Message as Zm, checkResumeConsistency as Zn, shouldShowUserMessage as Zo, PowerShellTool_exports as Zp, readRemoteAgentMetadata as Zr, saveMarketplaceToSettings as Zs, executeStatusLineCommand as Zt, startBackgroundSession as Zu, getAllInProcessTeammateTasks as Zv, call$8 as Zw, init_useSettings as Zx, buildMcpProperties as Zy, loadMarkdownFilesForSubdir as _, pluginDataDirPath as _A, excludeToolsByServer as _C, PROMPT_PREFIX as _D, asSessionId as _E, enqueuePendingNotification as _O, init_voice$1 as _S, init_gracefulShutdown as _T, buildPluginTelemetryFields as __, applySafeConfigEnvironmentVariables as _a, detectIDEs as _b, getPluginZipCachePath as _c, isInProcessEnabled as _d, autoModeState_exports as _f, applyMarkdown as _g, isModeSetRequest as _h, saveMode as _i, FRONTMATTER_REGEX as _j, tokenCountFromLastAPIResponse as _k, loadSessionMemoryTemplate as _l, BASH_MAX_OUTPUT_UPPER_LIMIT as _m, hasWorktreeCreateHook as _n, createScheduledTaskFireMessage as _o, HighlightedCode as _p, getLogByIndex as _r, loadPluginManifest as _s, createWorktreeForSession as _t, backgroundAll as _u, init_words as _v, MessageActionsSelectedContext as _w, useTextInput as _x, TaskListV2 as _y, hasRequiredMcpServers as a, clearPromptCache as aA, init_xaaIdpLogin as aC, permissionRuleExtractPrefix$1 as aD, TODO_WRITE_TOOL_NAME as aE, resumeManagedAutonomyFlowPrompt as aO, useAppState as aS, refreshRemoteManagedSettings as aT, hookSourceInlineDisplayString as a_, getDialogConfig as aa, init_nativeInstaller as ab, getMarketplaceSourceDisplay as ac, updateSessionActivity as ad, validateModel as af, clearClassifierChecking as ag, init_pillLabel as ah, recordTranscript as ai, CLAUDE_FOLDER_PERMISSION_PATTERN as aj, markExtractionCompleted as ak, zodToJsonSchema as al, parsePowerShellCommandCached as am, executeWorktreeCreateHook as an, buildMessageLookups as ao, init_NotebookEditTool as ap, extractAgentIdsFromMessages as ar, DEFAULT_OUTPUT_STYLE_NAME as as, verifyApiKey as at, init_stream as au, initializeFileChangedWatcher as av, loadMcpServerUserConfig as aw, useRegisterOverlay as ax, init_ink as ay, getAutoModeUnavailableNotification as b, convertToSandboxRuntimeConfig as bA, filterToolsByServer as bC, getBashPromptAllowDescriptions as bD, createSyntheticOutputTool as bE, getCommandQueueSnapshot as bO, useVoiceState as bS, checkRepoForRemoteAccess as bT, logPluginLoadErrors as b_, init_managedEnvConstants as ba, getConnectedIdeClient as bb, getZipCachePluginsDir as bc, registerTmuxBackend as bd, handlePlanApprovalResponse as bf, init_contextWindowUpgradeCheck as bg, isPlanApprovalRequest as bh, saveWorktreeState as bi, init_yaml as bj, getSystemContext as bk, runPostCompactCleanup as bl, validateBoundedIntEnvVar as bm, init_hookHelpers as bn, createTurnDurationMessage as bo, getColorModuleUnavailableReason as bp, getProjectsDir as br, init_pluginInstallationHelpers as bs, getCurrentWorktreeSession as bt, LocalAgentTask as bu, fileHistoryCanRestore as bv, stripSystemReminders as bw, isFullscreenEnvEnabled as bx, AGENT_COLORS as by, isCustomAgent as c, getLimitedSkillToolCommands as cA, saveIdpClientSecret as cC, extractRules as cD, init_prompt$28 as cE, formatAutonomyFlowsStatus as cO, applySettingsChange as cS, checkGroveForNonInteractive as cT, init_guards as c_, getCommandName as ca, cleanupOldVersions as cb, isSourceAllowedByPolicy as cc, detectAndGetBackend as cd, EnterPlanModeTool as cf, AssistantThinkingMessage as cg, init_PrBadge as ch, resetProjectFlushStateForTesting as ci, init_constants$18 as cj, recordExtractionTokenCount as ck, init_analyzeContext as cl, parseSedEditCommand as cm, getPreToolHookBlockingMessage as cn, createAgentsKilledMessage as co, GlobTool as cp, findUnresolvedToolUse as cr, init_outputStyles as cs, prependUserContext as ct, getSimpleCommandPrefix as cu, copyPlanForFork as cv, ListMcpResourcesTool as cw, hueToRgb as cx, useShimmerAnimation as cy, parseAgentFromMarkdown as d, init_prompt$31 as dA, describeMcpConfigFilePath as dC, persistPermissionUpdate as dD, EXIT_PLAN_MODE_TOOL_NAME as dE, listAutonomyFlows as dO, init_hooksConfigSnapshot as dS, init_grove as dT, init_uuid as d_, upgrade as da, lockCurrentVersion as db, clearAllCaches as dc, getCachedBackend as dd, init_planModeV2 as df, useClaudeAiLimits as dg, UserTextMessage as dh, restoreSessionMetadata as di, BASH_TOOL_NAME as dj, waitForSessionMemoryExtraction as dk, isAutoCompactEnabled as dl, exec$2 as dm, getTaskCompletedHookMessage as dn, createAssistantMessage as do, init_GrepTool as dp, getAgentTranscriptPath as dr, copyPluginToVersionedCache as ds, init_prompts as dt, init_BashTool as du, getPlanFilePath as dv, MessageResponse as dw, toRGBColor as dx, getTheme as dy, init_prompt$30 as eA, clearIdpClientSecret as eC, shouldEnablePromptSuggestion as eD, removeCronTasks as eE, formatAutonomyRunsStatus as eO, useClipboardImageHint as eS, performLogout as eT, removeSessionHook as e_, useBuddyNotification as ea, buildSettingSourcesProperties as eb, init_officialMarketplaceGcs as ec, setReplBridgeHandle as ed, init_prompt$9 as ef, init_UserBashInputMessage as eg, init_snipProjection as eh, recordContextCollapseCommit as ei, NO_CONTENT_MESSAGE as ej, getToolCallsBetweenUpdates as ek, isToolSearchEnabled as el, init_dangerousCmdlets as em, executeSubagentStartHooks as en, REJECT_MESSAGE_WITH_REASON_PREFIX as eo, init_utils as ep, clearSessionMessagesCache as er, textForResubmit as es, init_claude as et, queryCheckpoint as eu, init_loadPluginHooks as ev, init_pluginOptionsStorage as ew, Select as ex, injectUserMessageToTeammate as ey, parseAgentsFromJson as f, deletePluginDataDir as fA, ensureConfigScope as fC, persistPermissionUpdates as fD, EXIT_PLAN_MODE_V2_TOOL_NAME as fE, requestManagedAutonomyFlowCancel as fO, updateHooksConfigSnapshot as fS, isQualifiedForGrove as fT, validateUuid as f_, exit as fa, cleanupStaleLocks as fb, init_cacheUtils as fc, getCachedDetectionResult as fd, isPlanModeInterviewPhaseEnabled as ff, extraUsage as fg, init_UserTextMessage as fh, saveAgentColor as fi, init_toolName$1 as fj, doesMostRecentAssistantMessageExceed200k as fk, init_sessionMemoryCompact as fl, init_Shell as fm, getTaskCreatedHookMessage as fn, createAwaySummaryMessage as fo, clearPluginCacheExclusions as fp, getCurrentSessionAgentColor as fr, getVersionedCachePath as fs, cleanupStaleAgentWorktrees as ft, init_sessionFileAccessHooks as fu, getPlanSlug as fv, init_MessageResponse as fw, BaseTextInput as fx, init_theme$1 as fy, init_markdownConfigLoader as g, init_pluginDirectories as gA, excludeStalePluginClients as gC, shouldShowAlwaysAllowOptions as gD, asAgentId as gE, enqueue as gO, useMailbox as gS, gracefulShutdownSync as gT, buildPluginCommandTelemetryFields as g_, applyConfigEnvironmentVariables as ga, closeOpenDiffs as gb, getMarketplaceJsonRelativePath as gc, init_registry as gd, init_ExitPlanModeV2Tool as gf, init_Markdown as gg, init_teammateMailbox as gh, saveCustomTitle as gi, toolMatchesName as gj, init_tokens as gk, init_prompts$1 as gl, BASH_MAX_OUTPUT_DEFAULT as gm, hasInstructionsLoadedHook as gn, createPermissionRetryMessage as go, init_FileWriteTool as gp, getLastSessionLog as gr, loadAllPluginsCacheOnly as gs, createTmuxSessionForWorktree as gt, LocalShellTask as gu, generateShortWordSlug as gv, MessageActionsBar as gw, init_useTextInput as gx, useTasksV2WithCollapseEffect as gy, getProjectDirsUpToHome as h, getPluginsDirectory as hA, excludeResourcesByServer as hC, init_permissionsLoader as hD, init_promptCategory as hE, dequeueAllMatching as hO, init_mailbox as hS, gracefulShutdown as hT, recordSkillUsage as h_, registerBundledSkill as ha, isPidBasedLockingEnabled as hb, cleanupSessionPluginCache as hc, getTeammateExecutor as hd, ExitPlanModeV2Tool as hf, StreamingMarkdown as hg, getLastPeerDmSummary as hh, saveAiGeneratedTitle as hi, init_Tool as hj, getTokenUsage as hk, buildSessionMemoryUpdatePrompt as hl, init_sessionEnvVars as hm, hasBlockingResult as hn, createModelSwitchBreadcrumbs as ho, FileWriteTool as hp, getFirstMeaningfulUserMessageTextContent as hr, loadAllPlugins as hs, createAgentWorktree as ht, BACKGROUND_BASH_SUMMARY_PREFIX as hu, setPlanSlug as hv, InVirtualListContext as hw, init_ShimmerChar as hx, useTasksV2 as hy, getAgentDefinitionsWithOverrides as i, SKILL_BUDGET_CONTEXT_PERCENT as iA, getXaaIdpSettings as iC, init_shellRuleMatching as iD, init_constants$12 as iE, markAutonomyRunFailed as iO, init_AppState as iS, loadRemoteManagedSettings as iT, hookSourceHeaderDisplayString as i_, stopUltraplan as ia, init_allErrors as ib, formatMarketplaceLoadingErrors as ic, registerSession as id, init_validateModel as if, init_SentryErrorBoundary as ig, getPillLabel as ih, recordSidechainTranscript as ii, init_prompt$36 as ij, isSessionMemoryInitialized as ik, init_zodToJsonSchema as il, init_parser as im, executeUserPromptSubmitHooks as in, SYNTHETIC_MODEL as io, NotebookEditTool as ip, enrichLogs as ir, init_claudeCodeGuideAgent as is, updateUsage as it, Stream as iu, init_fileChangedWatcher as iv, isMcpbSource as iw, useIsOverlayActive as ix, isBackgroundTask as iy, removeDangerousPermissions as j, init_changeDetector as jA, getAllMcpConfigs as jC, getDumpPromptsPath as jD, extractReadFilesFromMessages as jE, init_errors$3 as jO, init_elicitationHandler as jS, init_coordinatorMode as jT, init_teleport$1 as j_, isExpiredErrorType as ja, isSupportedVSCodeTerminal as jb, init_attachments as jc, unregisterLeaderSetToolPermissionContext as jd, BriefTool_exports as jf, init_runAgent as jg, AccountInfoSchema as jh, getWorktreePaths as ji, init_effort$1 as jj, resetGetMemoryFilesCache as jk, createCacheSafeParams as jl, init_claudeCodeHints as jm, init_diskOutput as jn, getProgressMessagesFromLookup as jo, fetchGitDiffHunks as jp, isCustomTitleEnabled as jr, isPluginGloballyInstalled as js, worktreeBranchName as jt, getToolUseIdsFromCollapsedGroup as ju, init_KeybindingProviderSetup as jv, init_loadUserBindings as jw, resetKillAccumulation as jx, buildActiveFooterText as jy, parseToolListFromCLI as k, init_prompt$32 as kA, doesEnterpriseMcpConfigExist as kC, init_abortController as kD, init_speculation as kE, subscribeToCommandQueue as kO, getImageFromClipboard as kS, getRemoteSessionUrl as kT, archiveRemoteSession as k_, createBridgeApiClient as ka, isSupportedJetBrainsTerminal as kb, getAttachmentMessages as kc, registerLeaderSetToolPermissionContext as kd, TASK_MAX_OUTPUT_UPPER_LIMIT as kf, isValidAdvisorModel as kg, sendShutdownRequestToMailbox as kh, writeAgentMetadata as ki, getInitialEffortSetting as kj, hasExternalClaudeMdIncludes as kk, init_internalLogging as kl, clearPendingHint as km, getTaskOutputPath as kn, getLastAssistantMessage as ko, preserveQuoteStyle as kp, init_sessionStorage as kr, initializeVersionedPlugins as ks, restoreWorktreeSession as kt, getDisplayMessageFromCollapsed as ku, init_sessionIngress as kv, getCachedKeybindingWarnings as kw, pushToKillRing as kx, FAILED_FOOTER_TEXT as ky, isPluginAgent as l, getPrompt$7 as lA, saveIdpIdTokenFromJwt as lC, hasRules as lD, ENTER_PLAN_MODE_TOOL_NAME as lE, getAutonomyFlowById as lO, init_applySettingsChange as lS, getGroveNoticeConfig as lT, isLocalShellTask as l_, isCommandEnabled as la, cleanupShellAliases as lb, loadMarketplacesWithGracefulDegradation as lc, ensureBackendsRegistered as ld, init_EnterPlanModeTool as lf, init_AssistantThinkingMessage as lg, diagnosticTracker as lh, resetProjectForTesting as li, GREP_TOOL_NAME as lj, setLastSummarizedMessageId as lk, calculateTokenWarningState as ll, ShellProgressMessage as lm, getSessionEndHookTimeoutMs as ln, createApiMetricsMessage as lo, init_GlobTool as lp, flushSessionStorage as lr, cachePlugin as ls, toolToAPISchema as lt, init_bashPermissions as lu, copyPlanForResume as lv, init_ListMcpResourcesTool as lw, init_utils$5 as lx, SpinnerGlyph as ly, extractDescriptionFromMarkdown as m, getPluginSeedDirs as mA, excludeCommandsByServer as mC, getPermissionRulesForSource as mD, getQuerySourceForREPL as mE, dequeue as mO, useSettingsChange as mS, updateGroveSettings as mT, init_skillUsageTracking as m_, init_bundledSkills as ma, init_pidLock as mb, atomicWriteToZipCache as mc, getResolvedTeammateMode as md, init_AskUserQuestionTool as mf, Markdown as mg, createModeSetRequestMessage as mh, saveAgentSetting as mi, getEmptyToolPermissionContext as mj, getCurrentUsage as mk, trySessionMemoryCompaction as ml, clearSessionEnvVars as mm, getUserPromptSubmitHookBlockingMessage as mn, createCommandInputMessage as mo, init_orphanedPluginFilter as mp, getCurrentSessionTitle as mr, init_pluginLoader as ms, copyWorktreeIncludeFiles as mt, registerSessionFileAccessHooks as mu, init_plans as mv, sliceAnsi as mw, ShimmerChar as mx, init_useTasksV2 as my, filterAgentsByMcpRequirements as n, init_common as nA, getCachedIdpIdToken as nC, init_vscodeSdkMcp as nD, init_cron as nE, listAutonomyRuns as nO, useNotifications as nS, initializeRemoteManagedSettingsLoadingPromise as nT, getHookDisplayText as n_, init_ultraplan as na, init_status$1 as nb, detectEmptyMarketplaceReason as nc, init_concurrentSessions as nd, init_remoteTriggerAudit as nf, init_FilePathLink as ng, OffscreenFreeze as nh, recordFileHistorySnapshot as ni, init_prompt$35 as nj, hasMetUpdateThreshold as nk, isToolSearchToolAvailable as nl, isAllowlistedCommand as nm, executeTaskCreatedHooks as nn, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX as no, isPreapprovedUrl as np, deleteRemoteAgentMetadata as nr, withMemoryCorrectionHint as ns, queryModelWithoutStreaming as nt, getErrorParts as nu, pruneRemovedPluginHooks as nv, savePluginOptions as nw, init_overlayContext as nx, init_agentId as ny, init_loadAgentsDir as o, formatCommandsWithinBudget as oA, isXaaEnabled as oC, applyPermissionUpdate as oD, init_constants$13 as oE, formatAutonomyFlowDetail as oO, useAppStateStore as oS, waitForRemoteManagedSettingsToLoad as oT, init_hooksSettings as o_, getPromptIdentifier as oa, checkInstall as ob, getPluginTrustMessage as oc, updateSessionBridgeId as od, getModelOptions as of, init_classifierApprovals as og, pillNeedsCta as oh, removeExtraFields as oi, FILE_EDIT_TOOL_NAME as oj, markExtractionStarted as ok, analyzeContextUsage as ol, applySedSubstitution as om, executeWorktreeRemoveHook as on, computeMessageStructureKey as oo, init_notebook as op, extractTeammateTranscriptsFromTasks as or, OUTPUT_STYLE_CONFIG as os, init_api as ot, clearSpeculativeChecks as ou, setEnvHookNotifier as ov, loadMcpbFile as ow, TextInput as ox, toInkColor as oy, CLAUDE_CONFIG_DIRECTORIES as p, getPluginDataDirSize as pA, ensureTransport as pC, supportsPersistence as pD, init_constants$15 as pE, clearCommandQueue as pO, init_useSettingsChange as pS, markGroveNoticeViewed as pT, getSkillUsageScore as p_, init_exit as pa, getAllLockInfo as pb, markPluginVersionOrphaned as pc, getInProcessBackend as pd, AskUserQuestionTool as pf, init_extra_usage as pg, createIdleNotification as ph, saveAgentName as pi, findToolByName as pj, getAssistantMessageContentLength as pk, shouldUseSessionMemoryCompaction as pl, setCwd as pm, getTeammateIdleHookMessage as pn, createBridgeStatusMessage as po, getGlobExclusionsForPluginCache as pp, getCurrentSessionTag as pr, getVersionedZipCachePath as ps, cleanupWorktree as pt, isMemoryFileAccess as pu, getPlansDirectory as pv, init_sliceAnsi as pw, init_BaseTextInput as px, themeColorToAnsi as py, init_shouldUseSandbox as q, findReverseDependents as qA, isRestrictedToPluginOnly as qC, init_autonomyQueueLifecycle as qD, IDLE_SPECULATION_STATE as qE, init_ToolSearchTool as qO, getMcpClientConfig as qS, init_cronTasks as qT, loadConversationForResume as q_, waitForPolicyLimitsToLoad as qa, fetchToolsForClient as qb, extractDiscoveredToolNames as qc, sendSandboxPermissionRequestViaMailbox as qd, init_WebFetchTool as qf, getAgentModelDisplay as qg, SlashCommandSchema as qh, getSlashCommandToolSkills as qi, diffLines as qk, extractMemories_exports as ql, SkillTool as qm, MAX_TRANSCRIPT_READ_BYTES as qn, normalizeMessages as qo, getSkillsPath as qp, loadTranscriptFile as qr, refreshMarketplace as qs, executePreToolHooks as qt, resumeAgentBackground as qu, init_selectors as qv, getShellType as qw, getModeFromInput as qx, buildAccountProperties as qy, getActiveAgentsFromList as r, DEFAULT_CHAR_BUDGET as rA, getIdpClientSecret as rC, setupVscodeSdkMcp as rD, SKILL_TOOL_NAME as rE, markAutonomyRunCancelled as rO, AppStateProvider as rS, isEligibleForRemoteManagedSettings as rT, hookSourceDescriptionDisplayString as r_, launchUltraplan as ra, getSettingsWithAllErrors as rb, formatFailureDetails as rc, isBgSession as rd, listRemoteTriggerAuditRecords as rf, SentryErrorBoundary as rg, init_OffscreenFreeze as rh, recordQueueOperation as ri, FILE_READ_TOOL_NAME as rj, init_sessionMemoryUtils as rk, modelSupportsToolReference as rl, getAllCommands as rm, executeTeammateIdleHooks as rn, SYNTHETIC_MESSAGES as ro, validateURL as rp, doesMessageExistInSession as rr, CLAUDE_CODE_GUIDE_AGENT_TYPE as rs, queryWithModel as rt, init_toolErrors as ru, setupPluginHookHotReload as rv, init_mcpbHandler as rw, useIsModalOverlayActive as rx, init_types$3 as ry, isBuiltInAgent as s, getCharBudget as sA, issuerKey as sC, applyPermissionUpdates as sD, ASK_USER_QUESTION_TOOL_NAME$1 as sE, formatAutonomyFlowsList as sO, useSetAppState as sS, calculateShouldShowGrove as sT, sortMatchersByPriority as s_, init_prompt$1 as sa, cleanupNpmInstallations as sb, init_marketplaceHelpers as sc, updateSessionName as sd, init_modelOptions as sf, setYoloClassifierApproval as sg, PrBadge as sh, removeTranscriptMessage as si, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN as sj, markSessionMemoryInitialized as sk, countMcpToolTokens as sl, init_sedEditParser as sm, getMatchingHooks as sn, countToolCalls as so, parseCellId as sp, fetchLogs as sr, getAllOutputStyles as ss, logContextMetrics as st, getFirstWordPrefix as su, clearAllPlanSlugs as sv, saveMcpServerUserConfig as sw, init_TextInput as sx, init_useShimmerAnimation as sy, clearAgentDefinitionsCache as t, getSessionStartDate as tA, clearIdpIdToken as tC, tryGenerateSuggestion as tD, cronToHuman as tE, init_autonomyRuns as tO, init_notifications as tS, init_remoteManagedSettings as tT, getAllHooks as t_, CCR_TERMS_URL as ta, getModelDisplayLabel as tb, createPluginId as tc, countConcurrentSessions as td, formatRemoteTriggerAuditStatus as tf, FilePathLink as tg, snipProjection_exports as th, recordContextCollapseSnapshot as ti, init_messages$1 as tj, hasMetInitializationThreshold as tk, isToolSearchEnabledOptimistic as tl, init_readOnlyValidation as tm, executeTaskCompletedHooks as tn, SUBAGENT_REJECT_MESSAGE as to, isPermittedRedirect as tp, clearSessionMetadata as tr, updateMessageLookupsIncremental as ts, queryHaiku as tt, startQueryProfile as tu, loadPluginHooks$1 as tv, loadPluginOptions as tw, init_select as tx, formatAgentId as ty, parseAgentFromJson as u, getSkillToolInfo as uA, commandBelongsToServer as uC, init_PermissionUpdate as uD, init_constants$14 as uE, init_autonomyFlows as uO, captureHooksConfigSnapshot as uS, getGroveSettings as uT, createAgentId as u_, init_upgrade as ua, installLatest as ub, cleanupOrphanedPluginVersionsInBackground as uc, getBackendByType as ud, getPewterLedgerVariant as uf, init_claudeAiLimitsHook as ug, init_diagnosticTracking as uh, resetSessionFilePointer as ui, init_prompt$37 as uj, setSessionMemoryConfig as uk, init_autoCompact as ul, init_ShellProgressMessage as um, getStopHookMessage as un, createAssistantAPIErrorMessage as uo, GrepTool as up, getAgentTranscript as ur, clearPluginCache as us, getSystemPrompt as ut, BashTool as uu, getPlan as uv, init_useTerminalSize as uw, interpolateColor as ux, init_SpinnerGlyph as uy, getAutoModeEnabledState as v, SandboxManager as vA, extractAgentMcpServers as vC, createPromptRuleContent as vD, init_ids as vE, getCommandQueue as vO, useGetVoiceState as vS, isShuttingDown as vT, classifyPluginCommandError as v_, init_managedEnv as va, detectRunningIDEs as vb, getZipCacheKnownMarketplacesPath as vc, markInProcessFallback as vd, init_autoModeState as vf, init_markdown as vg, isPermissionRequest as vh, saveTag as vi, init_frontmatterParser as vj, tokenCountWithEstimation as vk, init_postCompactCleanup as vl, init_outputLimits as vm, init_hooks as vn, createSyntheticUserCaveatMessage as vo, init_HighlightedCode as vp, getNodeEnv as vr, cacheAndRegisterPlugin as vs, execIntoTmuxWorktree as vt, hasForegroundTasks as vu, init_outputsScanner as vv, init_messageActions as vw, init_fullscreen as vx, init_TaskListV2 as vy, initialPermissionModeFromCLI as w, shouldAllowManagedSandboxDomainsOnly as wA, isMcpTool as wC, logPermissionDecision as wD, getRunningTasks as wE, isQueuedCommandEditable as wO, cleanupOldImageCaches as wS, init_environments as wT, formatPreconditionError as w_, init_bridgeDebug as wa, hasAccessToIDEExtensionDiffFeature as wb, getPluginCommands as wc, init_teammateLayoutManager as wd, TaskOutputTool as wf, canUserConfigureAdvisor as wg, isShutdownApproved as wh, setAgentTranscriptSubdir as wi, getDefaultEffortForModel as wj, MAX_MEMORY_CHARACTER_COUNT as wk, buildPostCompactMessages as wl, init_hintRecommendation as wm, hookJSONOutputSchema as wn, extractTag as wo, init_FileEditTool as wp, getTranscriptPath as wr, calculatePluginVersion as ws, isTmuxAvailable as wt, isPanelAgentTask as wu, fileHistoryMakeSnapshot as wv, useShortcutDisplay as ww, getLastKill as wx, setAgentColor as wy, getAutoModeUnavailableReason as x, init_sandbox_adapter as xA, getProjectMcpServerStatus as xC, init_bashClassifier as xD, init_SyntheticOutputTool as xE, getCommandsByMaxPriority as xO, ConfigurableShortcutHint as xS, init_preconditions as xT, logPluginsEnabledForSession as x_, init_featureCheck as xa, getConnectedIdeName as xb, init_zipCache as xc, registerWindowsTerminalBackend as xd, init_inProcessTeammateHelpers as xf, checkOpus1mAccess as xg, isPlanApprovalResponse as xh, searchSessionsByCustomTitle as xi, parseYaml as xj, getUserContext as xk, ERROR_MESSAGE_INCOMPLETE_RESPONSE as xl, CircularBuffer as xm, registerStructuredOutputEnforcement as xn, createUserInterruptionMessage as xo, getSyntaxTheme as xp, getSessionFilesLite as xr, installPluginFromMarketplace as xs, getTmuxInstallInstructions as xt, appendMessageToLocalAgent as xu, fileHistoryEnabled as xv, toolCallOf as xw, isMouseTrackingEnabled as xx, AGENT_COLOR_TO_THEME_COLOR as xy, getAutoModeEnabledStateIfCached as y, addToExcludedCommands as yA, filterMcpPromptsByServer as yC, generateGenericDescription as yD, SYNTHETIC_OUTPUT_TOOL_NAME as yE, getCommandQueueLength as yO, useSetVoiceState as yS, setupGracefulShutdown as yT, init_pluginTelemetry as y_, SAFE_ENV_VARS as ya, detectRunningIDEsCached as yb, getZipCacheMarketplacesDir as yc, registerITermBackend as yd, findInProcessTeammateTaskId as yf, getUpgradeMessage as yg, isPermissionResponse as yh, saveTaskSummary as yi, parseFrontmatter as yj, getGitStatus as yk, registerCompactCleanup as yl, init_envValidation as ym, shouldSkipHookDueToTrust as yn, createSystemMessage as yo, expectColorDiff as yp, getProjectDir as yr, formatResolutionError as ys, generateTmuxSessionName as yt, init_LocalShellTask as yu, copyFileHistoryForResume as yv, isNavigableMessage as yw, isFullscreenActive as yx, init_ThemedText as yy, validateDirectoryForWorkspace as z, init_gitAvailability as zA, parseMcpConfigFromFilePath as zC, init_headlessProfiler as zD, init_tracing as zE, getUsingOverageText as zO, init_toolResultStorage as zS, DEFAULT_MAX_AGE_DAYS as zT, validateSessionRepository as z_, init_policyLimits as za, init_jetbrains as zb, setAllHookEventsEnabled as zc, registerPermissionCallback as zd, DreamTask as zf, getDefaultExternalAutoModeRules as zg, ModelInfoSchema as zh, filterCommandsForRemoteMode as zi, findThinkingTriggerPositions as zj, init_compactWarningState as zk, query as zl, init_manager as zm, normalizeCaseForComparison as zn, init_messages as zo, formatTotalCost as zp, loadAllProjectsMessageLogs as zr, getDeclaredMarketplaces as zs, executeInstructionsLoadedHooks as zt, assembleToolPool as zu, BriefIdleStatus as zv, DEFAULT_BINDINGS as zw, getHistory as zx, init_notifier as zy };
|