claude-code-best 1.10.9 → 1.10.11
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-BAz_OE49.js → AddWorkspaceDirectory-C6rqijRY.js} +2 -2
- package/dist/chunks/{App-DjqoKdzZ.js → App-Ct9uQHIA.js} +4 -4
- package/dist/chunks/{ApproveApiKey-Bd-GuWGQ.js → ApproveApiKey-C7xe_ujH.js} +2 -2
- package/dist/chunks/{AssistantSessionChooser-cDCVWbRu.js → AssistantSessionChooser-B0JyDDDZ.js} +1 -1
- package/dist/chunks/{BackgroundTasksDialog-A-bXtbQz.js → BackgroundTasksDialog-B5KsOVIe.js} +3 -3
- package/dist/chunks/{BypassPermissionsModeDialog-CeqXDtAk.js → BypassPermissionsModeDialog-DaeQ4xED.js} +2 -2
- package/dist/chunks/{ClaudeInChromeOnboarding-CVMVH-uW.js → ClaudeInChromeOnboarding-B2GXIglO.js} +2 -2
- package/dist/chunks/{ClaudeMdExternalIncludesDialog-CW8FUIVN.js → ClaudeMdExternalIncludesDialog-D74yYI1i.js} +1 -1
- package/dist/chunks/{ClaudeMdExternalIncludesDialog-CKFjbncl.js → ClaudeMdExternalIncludesDialog-DWmdSx58.js} +2 -2
- package/dist/chunks/ConsoleOAuthFlow-CS4jOcte.js +3 -0
- package/dist/chunks/{DesktopHandoff-BNLQPXUF.js → DesktopHandoff-B9U9U9Tu.js} +2 -2
- package/dist/chunks/{DevChannelsDialog-5l9CKzbU.js → DevChannelsDialog-CzRbeBpk.js} +1 -1
- package/dist/chunks/{DiffDialog-BRbh1v9n.js → DiffDialog-6AsqISNj.js} +3 -2
- package/dist/chunks/{Doctor-BKPcK-MS.js → Doctor-BxWkLXEe.js} +9 -9
- package/dist/chunks/{ExitFlow-BNlryoxG.js → ExitFlow-BfsgW10m.js} +2 -2
- package/dist/chunks/{Feedback-DgiWyIFi.js → Feedback-B_bPT-tv.js} +3 -3
- package/dist/chunks/{Grove-Ci6HVvhm.js → Grove-C4feZVOi.js} +1 -1
- package/dist/chunks/{HybridTransport-DImnn3KV.js → HybridTransport-PhjrDPRB.js} +3 -3
- package/dist/chunks/{ITermBackend-B5UV37ee.js → ITermBackend-D9qkvBdK.js} +1 -1
- package/dist/chunks/{InvalidConfigDialog-V1dZt-dr.js → InvalidConfigDialog-B5iw4BUB.js} +2 -2
- package/dist/chunks/{InvalidSettingsDialog-B5HKSbaV.js → InvalidSettingsDialog-BxXjuoag.js} +2 -2
- package/dist/chunks/{MCPConnectionManager-LEKsUSr7.js → MCPConnectionManager-CEbFWjqj.js} +4 -4
- package/dist/chunks/{McpParsingWarnings-PXbJmU4y.js → McpParsingWarnings-CSMkQZXu.js} +1 -1
- package/dist/chunks/{MessageSelector-CfB_icn6.js → MessageSelector-Dw8yVgHn.js} +7 -7
- package/dist/chunks/{Messages-SI98vKCn.js → Messages-DATTswTy.js} +13 -13
- package/dist/chunks/{Onboarding-55_xhADf.js → Onboarding-DgmcqDHa.js} +7 -7
- package/dist/chunks/{OverageCreditUpsell-BcCQjrn2.js → OverageCreditUpsell-D7WHyk87.js} +2 -2
- package/dist/chunks/{PluginSettings-xXk03JTg.js → PluginSettings-BRylpBE_.js} +12 -12
- package/dist/chunks/{PromptInputFooterSuggestions-ChU0dwxp.js → PromptInputFooterSuggestions-Xy2gYy25.js} +1 -1
- package/dist/chunks/{PromptInputHelpMenu-Bu4DVlsf.js → PromptInputHelpMenu-AgXLpTa-.js} +3 -3
- package/dist/chunks/{QueryEngine-D-I5zLOq.js → QueryEngine-CNS-KhzZ.js} +5 -5
- package/dist/chunks/{REPL-3gzD29Jx.js → REPL-Cnd4B1po.js} +234 -72
- package/dist/chunks/{RemoteCallout-DZa1GMN3.js → RemoteCallout-CO-koWt4.js} +3 -3
- package/dist/chunks/{RemoteSessionManager-Dl3oP-RW.js → RemoteSessionManager-Cc5O4Iz6.js} +9 -9
- package/dist/chunks/{ResumeConversation-DoG_8p6R.js → ResumeConversation-M4GjMvYr.js} +4 -4
- package/dist/chunks/{SSETransport-BrAtv7Uv.js → SSETransport-D8gYdijq.js} +2 -2
- package/dist/chunks/{Settings-DaWxTRL7.js → Settings-Cr-cVWIp.js} +13 -13
- package/dist/chunks/StructuredDiff-B6ZCMWS1.js +347 -0
- package/dist/chunks/{TeleportProgress-DbQXwC6f.js → TeleportProgress-4ecw6CPX.js} +1 -1
- package/dist/chunks/{TeleportRepoMismatchDialog-Bqh7GtzH.js → TeleportRepoMismatchDialog-BSqD_ki7.js} +3 -3
- package/dist/chunks/{TeleportResumeWrapper-DFozOXmi.js → TeleportResumeWrapper-3HksGDoJ.js} +2 -2
- package/dist/chunks/{ThemePicker-B2A3Q2PJ.js → ThemePicker-ChTKqsLP.js} +4 -3
- package/dist/chunks/{TmuxBackend-BHVSdxI0.js → TmuxBackend-DfizVpWU.js} +1 -1
- package/dist/chunks/ToolSearchTool-DPT0W6W_.js +3 -0
- package/dist/chunks/{TrustDialog-Cd1jrJjA.js → TrustDialog-txz8AgUy.js} +3 -3
- package/dist/chunks/{ValidationErrorsList-BVT83Ain.js → ValidationErrorsList-7hrGjTbU.js} +1 -1
- package/dist/chunks/{WindowsTerminalBackend-Buqgk5o3.js → WindowsTerminalBackend-DrBBYUeT.js} +1 -1
- package/dist/chunks/{add-dir-DZDlrqv0.js → add-dir-1oTL8NCa.js} +2 -2
- package/dist/chunks/{agentDisplay-uyubCgl8.js → agentDisplay-DdfH-rjM.js} +2 -2
- package/dist/chunks/{agents-CXGQlk_G.js → agents-CxqqgRQ4.js} +8 -8
- package/dist/chunks/{agents-D0VMvYy6.js → agents-itch4Ogn.js} +2 -2
- package/dist/chunks/{ant-Vv3urgrx.js → ant-sNs2IQ4h.js} +2 -2
- package/dist/chunks/{api-BAka7RGb.js → api-B9EiITN3.js} +1 -1
- package/dist/chunks/{api-q0v0qC6U.js → api-vMRVXAIW.js} +1 -1
- package/dist/chunks/{assistant-BvK7La-m.js → assistant-C2gseEKC.js} +1 -1
- package/dist/chunks/{assistant-_rU-HBfo.js → assistant-SUHURrLf.js} +2 -2
- package/dist/chunks/auth-BtsDqF5X.js +3 -0
- package/dist/chunks/{auth-BYIRq4FR.js → auth-CrKy_xfm.js} +1 -1
- package/dist/chunks/{autoMode-D-Vu_d5G.js → autoMode-DDehnswW.js} +3 -3
- package/dist/chunks/{autonomy-Cpzq6lOY.js → autonomy-xTW_cDaU.js} +25 -17
- package/dist/chunks/{autonomyPanel-DRlPhdsS.js → autonomyPanel-BA8yF42J.js} +2 -2
- package/dist/chunks/{backgroundHousekeeping-B0XOYGPA.js → backgroundHousekeeping-D0GmJKrV.js} +6 -6
- package/dist/chunks/{backgroundHousekeeping-mtEIEw6l.js → backgroundHousekeeping-Db_Petsq.js} +1 -1
- package/dist/chunks/{branch-BbzfF7EC.js → branch-B9GxhFg0.js} +2 -2
- package/dist/chunks/{bridge-1LlgPjAx.js → bridge-Bq6FyAgG.js} +7 -7
- package/dist/chunks/{bridgeConfig-CLWrVvio.js → bridgeConfig-CZGaWsq7.js} +1 -1
- package/dist/chunks/{bridgeConfig-B88funD-.js → bridgeConfig-Dht9PC-Q.js} +1 -1
- package/dist/chunks/{bridgeEnabled-5qQEn2Oy.js → bridgeEnabled-CkmoqwG5.js} +1 -1
- package/dist/chunks/{bridgeEnabled-CCY6kXcK.js → bridgeEnabled-Cu0GsgQC.js} +2 -2
- package/dist/chunks/{bridgeMain-Dn6ZZ7En.js → bridgeMain-COD0BaPa.js} +22 -22
- package/dist/chunks/{bridgeMessaging-CwzNeRb-.js → bridgeMessaging-CMCuOWPg.js} +1 -1
- package/dist/chunks/{btw-DWVVSHYd.js → btw-B0p-2vLR.js} +4 -4
- package/dist/chunks/{buddy-HTgZuWva.js → buddy-BPDwW1oK.js} +3 -3
- package/dist/chunks/{bypassPermissionsKillswitch-DfqbYrGg.js → bypassPermissionsKillswitch-MrXUBqLu.js} +1 -1
- package/dist/chunks/{caches-BkDAiZ40.js → caches-B46ynuvK.js} +1 -1
- package/dist/chunks/{caches-BZ70MTke.js → caches-Dga-SWBx.js} +8 -8
- package/dist/chunks/{ccrClient-Bu0_3uS9.js → ccrClient-CErUgaOa.js} +2 -2
- package/dist/chunks/changeDetector-ChRE8fAI.js +3 -0
- package/dist/chunks/{channelNotification-LQalwcBX.js → channelNotification-CAbX7jUR.js} +2 -2
- package/dist/chunks/{channelNotification-Do1-GDXI.js → channelNotification-kgISVp-m.js} +1 -1
- package/dist/chunks/{chrome-BDB0n9I0.js → chrome-BIHJ7Tiv.js} +3 -3
- package/dist/chunks/{clear-CN5Grsjj.js → clear-e0qXtR3o.js} +1 -1
- package/dist/chunks/{client-D7jFd9Op.js → client-jhgOiTrR.js} +1 -1
- package/dist/chunks/{color-CLJdYFQw.js → color-DpOfQ6Pe.js} +1 -1
- package/dist/chunks/{commands-CJwQylUG.js → commands-CriEIXca.js} +1 -1
- package/dist/chunks/{commitAttribution-B8-sImCH.js → commitAttribution-Bnu7jx7-.js} +1 -1
- package/dist/chunks/{commitAttribution-BoQuda3v.js → commitAttribution-DpIpJU2o.js} +1 -1
- package/dist/chunks/{compact-CYBTrlSH.js → compact-Bi5Vwnbj.js} +1 -1
- package/dist/chunks/{companion-DqsAgrdS.js → companion-B8Dlllnk.js} +1 -1
- package/dist/chunks/{config-D-FSn46F.js → config-D5JMhZBX.js} +1 -1
- package/dist/chunks/{config-DPO9MwXv.js → config-Ddbt4ajH.js} +1 -1
- package/dist/chunks/{context-CYwihLLB.js → context-B3uI7IwH.js} +3 -3
- package/dist/chunks/{context-noninteractive-BvtukkBa.js → context-noninteractive-DuE_GTL9.js} +2 -2
- package/dist/chunks/{conversation-CGmbYM2l.js → conversation-DvzAWiiJ.js} +1 -1
- package/dist/chunks/{conversation-DtMeaxev.js → conversation-gnmmmJnB.js} +4 -4
- package/dist/chunks/{copy-BJ59zBCu.js → copy-DAG6O8Dh.js} +2 -2
- package/dist/chunks/{cost-BRIrApbW.js → cost-DShLvWcl.js} +2 -2
- package/dist/chunks/{createSSHSession-BHbaIF4j.js → createSSHSession-D8Sigb7_.js} +1 -1
- package/dist/chunks/{createSession-D91-Um52.js → createSession-BjIarSCO.js} +17 -17
- package/dist/chunks/{cronJitterConfig-BsfJPbuz.js → cronJitterConfig-CGula0w8.js} +3 -3
- package/dist/chunks/{crossProjectResume-CKAEJ3Ed.js → crossProjectResume-CSxe0Rfb.js} +7 -7
- package/dist/chunks/{daemon-DFpVgMMR.js → daemon-DLqxYYIA.js} +1 -1
- package/dist/chunks/{datadog-C1pKO0Rj.js → datadog-CZbjl3Mk.js} +1 -1
- package/dist/chunks/{datadog-Dt0ofiPv.js → datadog-GQGGjkVH.js} +1 -1
- package/dist/chunks/{desktop-OpnZstWS.js → desktop-CL8H-5XY.js} +1 -1
- package/dist/chunks/{diff-5vk56ZmO.js → diff-CQ9EqGNw.js} +1 -1
- package/dist/chunks/{doctor-BbBB7rBY.js → doctor-DXJAY0op.js} +1 -1
- package/dist/chunks/earlyInput-Dnqlqb0h.js +2 -0
- package/dist/chunks/{effort-DdkdyEx7.js → effort-Bq5WcivT.js} +3 -3
- package/dist/chunks/{entry-kV49Yn7y.js → entry-DUC38qNm.js} +3 -3
- package/dist/chunks/{envLessBridgeConfig-uFAq9sG_.js → envLessBridgeConfig-zdUL4H6-.js} +2 -2
- package/dist/chunks/{exit-CqhqNnNJ.js → exit-DueO_n8-.js} +3 -3
- package/dist/chunks/{export-D1vsCF4u.js → export-BVu_Gpf-.js} +2 -2
- package/dist/chunks/{exportRenderer-CHypbYP2.js → exportRenderer-CaHsMpAb.js} +3 -3
- package/dist/chunks/{extra-usage-CK_NVQMH.js → extra-usage-DVgITuJR.js} +2 -2
- package/dist/chunks/{extra-usage-core-BKhblo3u.js → extra-usage-core-DUTbGs8v.js} +4 -4
- package/dist/chunks/{extra-usage-noninteractive-BDjVnr2R.js → extra-usage-noninteractive-BZ_BfWOY.js} +1 -1
- package/dist/chunks/{extraUsage-BQyrSxb4.js → extraUsage-Mc4ASNJv.js} +3 -3
- package/dist/chunks/{fast-CDeuQdf_.js → fast-BaLftgz2.js} +1 -1
- package/dist/chunks/{fast-LyVMIlcZ.js → fast-k6ZhmOIi.js} +2 -2
- package/dist/chunks/{feedback-CUVHgQrH.js → feedback-5-IPbRVC.js} +1 -1
- package/dist/chunks/{firstPartyEventLogger-BnFkAOZX.js → firstPartyEventLogger-Bzn8yHDw.js} +1 -1
- package/dist/chunks/{flushGate-BfNEpn9l.js → flushGate-rpeO-ivG.js} +3 -3
- package/dist/chunks/{fork-CbsSVzCt.js → fork-Byn4vS0q.js} +1 -1
- package/dist/chunks/{gates-B8dRzViH.js → gates-BjSnAoph.js} +1 -1
- package/dist/chunks/{gates-C9pi8g5k.js → gates-UOfj_txz.js} +1 -1
- package/dist/chunks/{gemini-BQ_BKiUg.js → gemini-BWsCIecw.js} +3 -3
- package/dist/chunks/{generateSessionName-Bd9Yb-QJ.js → generateSessionName-L0_s6vCa.js} +3 -3
- package/dist/chunks/{githubRepoPathMapping-BmCak8dj.js → githubRepoPathMapping-CGEOENtp.js} +1 -1
- package/dist/chunks/{grok-D8GQ5fXf.js → grok-p1yEaHVd.js} +4 -4
- package/dist/chunks/{growthbook-Cu2helMF.js → growthbook-uhd4CUKp.js} +1 -1
- package/dist/chunks/{heapdump-CIWjb1r7.js → heapdump-D5zORJKA.js} +1 -1
- package/dist/chunks/{help-SjIHwRhX.js → help-BOoThuUb.js} +3 -3
- package/dist/chunks/{hooks-CYkjVXEa.js → hooks-Dlb--DQI.js} +1 -1
- package/dist/chunks/{hooks-BuNmkNsh.js → hooks-UQ_JSIfy.js} +2 -2
- package/dist/chunks/{hostAdapter-qIUeLA8_.js → hostAdapter-B5yLlQDm.js} +1 -1
- package/dist/chunks/{ide-2O2Fvgdo.js → ide-EFY4x5hm.js} +2 -2
- package/dist/chunks/{inboundAttachments-BAViYbsv.js → inboundAttachments-0DCFrfnN.js} +1 -1
- package/dist/chunks/{initReplBridge-DutMkxA9.js → initReplBridge-DvZC3LMj.js} +16 -16
- package/dist/chunks/{insights-D2PDhPi5.js → insights-9RJ5Khc8.js} +4 -4
- package/dist/chunks/{install-D8hhx_bQ.js → install-C96be5DE.js} +2 -2
- package/dist/chunks/{install-github-app-7KGa1Uf9.js → install-github-app-BzeeFaVG.js} +3 -3
- package/dist/chunks/{install-slack-app-g6C3x4Wt.js → install-slack-app-CqDmNYlF.js} +1 -1
- package/dist/chunks/{instrumentation-BzAwzrC5.js → instrumentation-Bnub8hEj.js} +2 -2
- package/dist/chunks/{job-cGeOoFve.js → job-DVJCanuD.js} +1 -1
- package/dist/chunks/{keybindings-BqIvN3aw.js → keybindings-BswJ-Uw7.js} +2 -2
- package/dist/chunks/{lang-6sw0pbHf.js → lang-CBJJqxqL.js} +2 -2
- package/dist/chunks/{language-zlcSWbrw.js → language-jmtIakwT.js} +1 -1
- package/dist/chunks/{loadAgentsDir-C4LTbpHE.js → loadAgentsDir-C4NKNvrs.js} +1 -1
- package/dist/chunks/{loadAgentsDir-Vb46sydQ.js → loadAgentsDir-C72eo76O.js} +11207 -4115
- package/dist/chunks/loadPluginHooks-BalGe00r.js +3 -0
- package/dist/chunks/{localSearch-46sF2Qcf.js → localSearch-C7kQiXKp.js} +1 -1
- package/dist/chunks/{localSearch-CGCwbEph.js → localSearch-CHAR3yF3.js} +1 -1
- package/dist/chunks/{login-B3ad2q29.js → login-DKHI8tdJ.js} +1 -1
- package/dist/chunks/{login-DlxkwUp6.js → login-cPF2s2Ip.js} +5 -5
- package/dist/chunks/{logoV2Utils-DCR2mp3C.js → logoV2Utils-i9vbvaH-.js} +3 -3
- package/dist/chunks/logout-ZcPro6_H.js +3 -0
- package/dist/chunks/{magicDocs-v7lt_LMd.js → magicDocs-oftze6-m.js} +2 -2
- package/dist/chunks/{main-DtLB8Txx.js → main-YzWw6Vi0.js} +124 -124
- package/dist/chunks/{mappers-Cgwoit82.js → mappers-Bx-2sRzn.js} +1 -1
- package/dist/chunks/{mcp-DuHDARTT.js → mcp-C2cIgONA.js} +6 -6
- package/dist/chunks/{mcp-sy97T05v.js → mcp-CxTUyH2v.js} +5 -5
- package/dist/chunks/{mcp-DyEdsEhr.js → mcp-DMV-30LS.js} +2 -2
- package/dist/chunks/{mcpServer-D9ETKGwP.js → mcpServer-DvtC6Pl3.js} +4 -4
- package/dist/chunks/{mcpServer-BRM-HTmU.js → mcpServer-bGIO5UqI.js} +5 -5
- package/dist/chunks/{memory-0b_NDPYu.js → memory-2CKXpK42.js} +4 -4
- package/dist/chunks/{model-B6k4KgMg.js → model-18ea6LMg.js} +1 -1
- package/dist/chunks/{model-BY6YlTaA.js → model-QMjDXcud.js} +3 -3
- package/dist/chunks/{onChangeAppState-Iv6JwzpI.js → onChangeAppState-DGOxmmCK.js} +3 -3
- package/dist/chunks/{openai-Chg9Em00.js → openai-DWUh0wBx.js} +4 -4
- package/dist/chunks/{overageCreditGrant-C7V_bAas.js → overageCreditGrant-C4YTj6TG.js} +2 -2
- package/dist/chunks/{passes-CDGIOxpP.js → passes-BGaHP3jn.js} +2 -2
- package/dist/chunks/{paths-CzeRf5XR.js → paths-DvTLULIf.js} +2 -2
- package/dist/chunks/{permissions-aQYTB4zs.js → permissions-kdn0iNwR.js} +8 -8
- package/dist/chunks/{pipeTransport-C3DGjgm4.js → pipeTransport-B2LrKe0N.js} +1 -1
- package/dist/chunks/{plan-D3lV7RZr.js → plan-tiJVm4x_.js} +3 -3
- package/dist/chunks/{plugin-BujIe7M9.js → plugin-D1c5Ko5y.js} +1 -1
- package/dist/chunks/{pluginAutoupdate-BYYgDJAE.js → pluginAutoupdate-Dpz5qa0X.js} +4 -4
- package/dist/chunks/{pluginBlocklist-C2_ZBtKH.js → pluginBlocklist-BgclgWu5.js} +3 -3
- package/dist/chunks/{pluginCliCommands-CCu6cJv0.js → pluginCliCommands-ClnvND-z.js} +3 -3
- package/dist/chunks/{pluginFlagging-BDG_ES7A.js → pluginFlagging-DoQhFkzp.js} +1 -1
- package/dist/chunks/{pluginOperations-C19agFr2.js → pluginOperations-D-PDcILj.js} +4 -4
- package/dist/chunks/{pluginStartupCheck-HHCKFPAx.js → pluginStartupCheck-CXt2hPkU.js} +3 -3
- package/dist/chunks/{pluginStartupCheck-DLvmjvBS.js → pluginStartupCheck-n-skAjJV.js} +1 -1
- package/dist/chunks/{plugins-B6kYfqAL.js → plugins-ERB62mGT.js} +7 -7
- package/dist/chunks/{policyLimits-DJBAjQzZ.js → policyLimits-DG0yzIIZ.js} +1 -1
- package/dist/chunks/{pollConfig-BxiW2T58.js → pollConfig-Cc-mH8wU.js} +1 -1
- package/dist/chunks/{poor-DJkHzRYc.js → poor-BXZpqueY.js} +1 -1
- package/dist/chunks/{poorMode-Dp5JmJCp.js → poorMode-6i7DZvWQ.js} +1 -1
- package/dist/chunks/{poorMode-CBfpLe_7.js → poorMode-KlsKA4Dw.js} +1 -1
- package/dist/chunks/{print-xsTQDxt8.js → print-BdfIoC9c.js} +27 -27
- package/dist/chunks/{privacy-settings-Dn8DDGjf.js → privacy-settings-DFtE--Du.js} +2 -2
- package/dist/chunks/{processBashCommand-d0gIhdpP.js → processBashCommand-CR-bUr4z.js} +3 -3
- package/dist/chunks/{processSlashCommand-BThMxma6.js → processSlashCommand-Cqb-Wbv-.js} +4 -4
- package/dist/chunks/{projectContext-BHRSqJly.js → projectContext-DM5-VTsm.js} +1 -1
- package/dist/chunks/prompt-BamUvYWM.js +3 -0
- package/dist/chunks/prompt-Ny2N2zhC.js +3 -0
- package/dist/chunks/{promptEditor-B63MUoD4.js → promptEditor-NuKIAbMA.js} +1 -1
- package/dist/chunks/{protocolHandler-DSOXS9US.js → protocolHandler-CLqJicyP.js} +4 -4
- package/dist/chunks/{rate-limit-options-D3SHxrp1.js → rate-limit-options-dW_WTcCr.js} +4 -4
- package/dist/chunks/{rcDebugLog-C52yKf5j.js → rcDebugLog-4yU5VWxa.js} +1 -1
- package/dist/chunks/{referral-3sPYi3kw.js → referral-D46sEC3u.js} +2 -2
- package/dist/chunks/{refresh-CczxgU5S.js → refresh-B354z_gb.js} +1 -1
- package/dist/chunks/{registerProtocol-D_wzRlb_.js → registerProtocol-Crk-V31l.js} +2 -2
- package/dist/chunks/{registry-CN5d1qhB.js → registry-D1PTOuro.js} +1 -1
- package/dist/chunks/{release-notes-ClbOTBtN.js → release-notes-_Luv2jq3.js} +1 -1
- package/dist/chunks/{releaseNotes-CLGhcfvJ.js → releaseNotes-DTsjgjRS.js} +1 -1
- package/dist/chunks/{reload-plugins-CQ38fDmx.js → reload-plugins-CIC8uesK.js} +4 -4
- package/dist/chunks/{remote-env-C67RQfRF.js → remote-env-BLZg34hJ.js} +2 -2
- package/dist/chunks/{remoteBridgeCore-oZLy6yW1.js → remoteBridgeCore-3nL9TR6N.js} +6 -6
- package/dist/chunks/{remoteControlServer-hjCgemAR.js → remoteControlServer-Dz74gQxU.js} +3 -3
- package/dist/chunks/{rename-551tfxnb.js → rename-C3phFdf9.js} +4 -4
- package/dist/chunks/{resume-DRWJ6RUq.js → resume-DKjCe4Re.js} +2 -2
- package/dist/chunks/{runtimeObserver-CfL2iGeV.js → runtimeObserver-2OqaSKnL.js} +7 -7
- package/dist/chunks/{runtimeObserver-D8qpgN-q.js → runtimeObserver-x4IajJ5I.js} +1 -1
- package/dist/chunks/sandbox-adapter-C86MhZid.js +3 -0
- package/dist/chunks/{sandbox-toggle-CzfcFtm7.js → sandbox-toggle-DGTGln_2.js} +2 -2
- package/dist/chunks/{session-BSnldGog.js → session-UIhHe6mk.js} +1 -1
- package/dist/chunks/{sessionDiscovery-BsY3Y2nr.js → sessionDiscovery-DH7yOz-4.js} +1 -1
- package/dist/chunks/{sessionFileAccessHooks-Nfow0nDz.js → sessionFileAccessHooks-C8xNLlGI.js} +1 -1
- package/dist/chunks/{sessionMemory-Bwc46d49.js → sessionMemory-BKbAkl2d.js} +4 -4
- package/dist/chunks/sessionMemoryUtils-BpiV8qzn.js +3 -0
- package/dist/chunks/{sessionObserver-D-5BlE5D.js → sessionObserver-BOmJcunJ.js} +4 -4
- package/dist/chunks/{sessionObserver-BOIgycUZ.js → sessionObserver-DKWmLlNk.js} +1 -1
- package/dist/chunks/{sessionStorage-Bpwv3avO.js → sessionStorage-LOj57lSg.js} +1 -1
- package/dist/chunks/{sessionTitle-DEd2kVLh.js → sessionTitle-BiJqks0Y.js} +2 -2
- package/dist/chunks/{sessionTracing-CwLzqV9t.js → sessionTracing-BsNTXXLM.js} +1 -1
- package/dist/chunks/{settingsSync-DCvZYaMQ.js → settingsSync-CrBZf0Vo.js} +2 -2
- package/dist/chunks/{setup-DKoxrmuZ.js → setup-Cyn4xPeS.js} +13 -13
- package/dist/chunks/{setup-DhTITJbQ.js → setup-DIpNQXq3.js} +2 -2
- package/dist/chunks/{setup-CJHEsMBO.js → setup-r_wH3t2q.js} +1 -1
- package/dist/chunks/{shadowedRuleDetection-DzaIH3F1.js → shadowedRuleDetection-BWDwVkdP.js} +1 -1
- package/dist/chunks/{sideQuestion-5sgrvNO3.js → sideQuestion-BxdxvzE5.js} +2 -2
- package/dist/chunks/{sink-DIF5ULot.js → sink-C0qjGZQ7.js} +2 -2
- package/dist/chunks/{sink-C0MK82-B.js → sink-CwmSKi-f.js} +1 -1
- package/dist/chunks/{sinks-Bpyxmob4.js → sinks-DP4TXrIf.js} +1 -1
- package/dist/chunks/{skill-learning-xvtysH_2.js → skill-learning-BIDUFqPF.js} +7 -7
- package/dist/chunks/{skillChangeDetector-BRETBhcB.js → skillChangeDetector-CHSWOerw.js} +4 -4
- package/dist/chunks/{skillGapStore-HioNOSWE.js → skillGapStore-Qh9JLx3Y.js} +4 -4
- package/dist/chunks/{skillGapStore-oaBH0p2g.js → skillGapStore-hl0-S_zE.js} +1 -1
- package/dist/chunks/{skillGenerator-6xXp8l8O.js → skillGenerator-DcUjuneC.js} +3 -3
- package/dist/chunks/{skillLearning-sw3FL3pS.js → skillLearning-DplYUMQo.js} +8 -8
- package/dist/chunks/{skillPanel-DZHcGCQx.js → skillPanel-DdQKt1IP.js} +4 -4
- package/dist/chunks/{skillSearchPanel-Cp8XX0o6.js → skillSearchPanel-BWLFqREg.js} +2 -2
- package/dist/chunks/{skills-BtLy81vb.js → skills-C-7Qfe0X.js} +2 -2
- package/dist/chunks/{sprites-DVVIfKBQ.js → sprites-CKFItufM.js} +1 -1
- package/dist/chunks/{stats-CI8Ocv6R.js → stats-BGscCMCG.js} +2 -2
- package/dist/chunks/{stats-kwjQqb1p.js → stats-CwApMedu.js} +1 -1
- package/dist/chunks/{status-CxEzelDy.js → status-DZaq2GnB.js} +1 -1
- package/dist/chunks/{statusNoticeHelpers-j4DlZKCG.js → statusNoticeHelpers-DMp-bdUR.js} +1 -1
- package/dist/chunks/{tag-ChsmL3mw.js → tag-D0uIhfwI.js} +2 -2
- package/dist/chunks/{tasks-CfpDSYIO.js → tasks-Dntdj_he.js} +1 -1
- package/dist/chunks/{teamHelpers-BvAnovSv.js → teamHelpers-CS6BiyXo.js} +1 -1
- package/dist/chunks/{teamHelpers-D6fwXj1v.js → teamHelpers-DZPEdPcj.js} +1 -1
- package/dist/chunks/{teammateModeSnapshot-BUQkCay6.js → teammateModeSnapshot-DwwGZmxV.js} +1 -1
- package/dist/chunks/{teammateModeSnapshot-BVFzdZ_x.js → teammateModeSnapshot-wSzHvqXU.js} +1 -1
- package/dist/chunks/teleport-BgO5XUTS.js +3 -0
- package/dist/chunks/{templateJobs-Br2aKYrv.js → templateJobs-By_fIrvy.js} +1 -1
- package/dist/chunks/{terminalSetup-BmDg3jRD.js → terminalSetup-BK7LahH5.js} +1 -1
- package/dist/chunks/{terminalSetup-BYIyMuN2.js → terminalSetup-BQDyPgSq.js} +1 -1
- package/dist/chunks/{theme-BVjt_puz.js → theme-a6ztF_07.js} +1 -1
- package/dist/chunks/{thinkback-B8oA4ceZ.js → thinkback-a57hw1Dz.js} +4 -4
- package/dist/chunks/{thinkback-play-Baap-i_Z.js → thinkback-play-guqTStmo.js} +2 -2
- package/dist/chunks/{toolEventObserver-DD-7StWm.js → toolEventObserver-BIoe2MAs.js} +1 -1
- package/dist/chunks/{toolEventObserver-BbfGYsgT.js → toolEventObserver-D45tPv3F.js} +3 -3
- package/dist/chunks/{toolPool-CYdrUR-v.js → toolPool-DdxWg47z.js} +2 -2
- package/dist/chunks/{toolSearch-C8-En_Ip.js → toolSearch-Di3gpeC0.js} +1 -1
- package/dist/chunks/{trustedDevice-BHdQWw6x.js → trustedDevice-CgG7rtkW.js} +1 -1
- package/dist/chunks/{trustedDevice-Du09NlP4.js → trustedDevice-DEjXAOcz.js} +1 -1
- package/dist/chunks/{ultrareviewCommand-QSDpc-6Z.js → ultrareviewCommand-BmmGo2kq.js} +4 -4
- package/dist/chunks/{undercover-mT9rbX3i.js → undercover-BVICZnNj.js} +2 -2
- package/dist/chunks/{undercover--_4tGPsw.js → undercover-DQvQQ6yo.js} +1 -1
- package/dist/chunks/{updateCCB-D72yVofL.js → updateCCB-CTg-iLDL.js} +1 -1
- package/dist/chunks/{upgrade-CxYm5cDy.js → upgrade-DD8Sw-Am.js} +2 -2
- package/dist/chunks/{upload-CF9Sdacj.js → upload-BONHB_o1.js} +1 -1
- package/dist/chunks/{usage-DgFudEa4.js → usage-Bpx-BQ_s.js} +1 -1
- package/dist/chunks/{usage-By35aKmd.js → usage-kee9LG0z.js} +1 -1
- package/dist/chunks/{useMainLoopModel-Bmf7oPQm.js → useMainLoopModel-Bq3koPFq.js} +2 -2
- package/dist/chunks/{useManagePlugins-4akAhKD1.js → useManagePlugins-DT4FB9u2.js} +3 -3
- package/dist/chunks/{useMergedTools-UzYVztPW.js → useMergedTools-ycEaiRuO.js} +2 -2
- package/dist/chunks/{useSearchInput-DG2qZ1oP.js → useSearchInput-BQwt8lhC.js} +1 -1
- package/dist/chunks/{useSettingsErrors-BurMq1G8.js → useSettingsErrors-GLYWCTHJ.js} +1 -1
- package/dist/chunks/{useVoice-DPofdCLT.js → useVoice-BqV1DBt-.js} +5 -5
- package/dist/chunks/{util-w1BKHUpk.js → util-DZxIhLjH.js} +9 -9
- package/dist/chunks/{utils-BvK7ZSrK.js → utils-CMcoQXdj.js} +1 -1
- package/dist/chunks/{validatePlugin-COZqtea-.js → validatePlugin-C3RXMbeg.js} +2 -2
- package/dist/chunks/{vim-CfLafzBg.js → vim-C_NuIV2X.js} +1 -1
- package/dist/chunks/{voice-DJnMHbx5.js → voice-7aWPe3mC.js} +7 -7
- package/dist/chunks/{voiceModeEnabled-WL1Uaazp.js → voiceModeEnabled-C8WAlYqm.js} +1 -1
- package/dist/chunks/{voiceModeEnabled-ENVjUcB1.js → voiceModeEnabled-Cbo5eLWV.js} +1 -1
- package/dist/chunks/{voiceStreamSTT-DpfyZRVm.js → voiceStreamSTT-BtsMvGHm.js} +1 -1
- package/dist/chunks/{voiceStreamSTT-BJPa3rVi.js → voiceStreamSTT-DmNYqjnW.js} +1 -1
- package/dist/chunks/{workerRegistry-D1_6FrX-.js → workerRegistry-fMzqsXVQ.js} +2 -2
- package/dist/chunks/{worktree-CU08W3ws.js → worktree-C5Z0ICmn.js} +1 -1
- package/dist/chunks/{xml-DZjpkPob.js → xml-DbZZp8Zy.js} +1 -1
- package/dist/cli.js +29 -29
- package/package.json +1 -1
- package/dist/chunks/ConsoleOAuthFlow-mEIkCzbi.js +0 -3
- package/dist/chunks/ToolSearchTool-CTr76adP.js +0 -3
- package/dist/chunks/auth-QiRSNaR0.js +0 -3
- package/dist/chunks/changeDetector-DWNPUIOB.js +0 -3
- package/dist/chunks/earlyInput-otsfyHlr.js +0 -2
- package/dist/chunks/loadPluginHooks-CDSnlJOL.js +0 -3
- package/dist/chunks/logout-D9QOjDYp.js +0 -3
- package/dist/chunks/prompt-CSir0tim.js +0 -3
- package/dist/chunks/prompt-UiKjRIt9.js +0 -3
- package/dist/chunks/sandbox-adapter-oHvzMbb7.js +0 -3
- package/dist/chunks/sessionMemoryUtils-BrEGcIf3.js +0 -3
- package/dist/chunks/teleport-Bp89My5r.js +0 -3
- /package/dist/chunks/{InProcessTransport-IHW2RJx8.js → InProcessTransport-BDjSp8Wo.js} +0 -0
- /package/dist/chunks/{PressEnterToContinue-CluRNOCt.js → PressEnterToContinue-D6AN11Tb.js} +0 -0
- /package/dist/chunks/{SearchBox-BoTCRPmh.js → SearchBox-EHswnASB.js} +0 -0
- /package/dist/chunks/{attributionHooks-DW8sjooz.js → attributionHooks-BNo0gNh0.js} +0 -0
- /package/dist/chunks/{attributionTrailer-D8ipr7az.js → attributionTrailer-CP4i-6R-.js} +0 -0
- /package/dist/chunks/{autoModeDenials-Ckzi8DmX.js → autoModeDenials-DR83Ic7k.js} +0 -0
- /package/dist/chunks/{banner-trVEKeoE.js → banner-C_aWUibC.js} +0 -0
- /package/dist/chunks/{bedrockClient-CPTpGv94.js → bedrockClient-BCB39ib8.js} +0 -0
- /package/dist/chunks/{ccshareResume-pWbhmETG.js → ccshareResume-BEQIzaku.js} +0 -0
- /package/dist/chunks/{chromeNativeHost-nORMSo3F.js → chromeNativeHost-PnkUYqVg.js} +0 -0
- /package/dist/chunks/{claudeDesktop-C8GpUuqs.js → claudeDesktop-OsHcw1WR.js} +0 -0
- /package/dist/chunks/{cleanup-DK3NXHb1.js → cleanup-BJtntvv2.js} +0 -0
- /package/dist/chunks/{connectHeadless-CcD9v90v.js → connectHeadless-DOzENfOw.js} +0 -0
- /package/dist/chunks/{dangerousBackend-BWGrtZgg.js → dangerousBackend-BlamCaXf.js} +0 -0
- /package/dist/chunks/{earlyInput-DZrfQ2am.js → earlyInput-CATfkVKA.js} +0 -0
- /package/dist/chunks/{eventLoopStallDetector-DVrhwzc2.js → eventLoopStallDetector-PpqOz7LN.js} +0 -0
- /package/dist/chunks/{files-Cj4oj1So.js → files-CZIxcl4l.js} +0 -0
- /package/dist/chunks/{fpsMetrics-Ck4DjRL5.js → fpsMetrics-Cl8mZ9J8.js} +0 -0
- /package/dist/chunks/{fuse-thkBXtB1.js → fuse-BhjvaeDO.js} +0 -0
- /package/dist/chunks/{instinctParser-BFHgE5A4.js → instinctParser-DCTNGiAi.js} +0 -0
- /package/dist/chunks/{lockfile-BTwNnc6d.js → lockfile-CcfaKXD7.js} +0 -0
- /package/dist/chunks/{main-CM-7Ag0d.js → main-BkjRiKwX.js} +0 -0
- /package/dist/chunks/{mobile-Cpzi4v6k.js → mobile-DPxJSzS7.js} +0 -0
- /package/dist/chunks/{observationStore-BW0N7kqX.js → observationStore-BBBlD6y4.js} +0 -0
- /package/dist/chunks/{openai-HuE31rEG.js → openai-DlVQAfwt.js} +0 -0
- /package/dist/chunks/{output-style-BdMzAlhq.js → output-style-R8UZLOIE.js} +0 -0
- /package/dist/chunks/{parseConnectUrl-bPMCRn4n.js → parseConnectUrl-B7utf1Ba.js} +0 -0
- /package/dist/chunks/{poller-BBFvAlJc.js → poller-BuKApY06.js} +0 -0
- /package/dist/chunks/{postCommitAttribution-Dv_316Jg.js → postCommitAttribution-DbNo_b3T.js} +0 -0
- /package/dist/chunks/{projectContext-ComAiFhS.js → projectContext-CWwagotk.js} +0 -0
- /package/dist/chunks/{renderOptions-Ckbomiec.js → renderOptions-DwPtvyyC.js} +0 -0
- /package/dist/chunks/{rewind-vw2ne4Xr.js → rewind-tscYe98H.js} +0 -0
- /package/dist/chunks/{sanitization-DTHqxW87.js → sanitization-DECVPK2r.js} +0 -0
- /package/dist/chunks/{sdkHeapDumpMonitor-DPgYcat0.js → sdkHeapDumpMonitor-D2snXOzY.js} +0 -0
- /package/dist/chunks/{server-CVTxPXiN.js → server-ig2-DfTA.js} +0 -0
- /package/dist/chunks/{serverBanner-DwGxohre.js → serverBanner-BHbp5t4w.js} +0 -0
- /package/dist/chunks/{serverLog-B4k8TPNh.js → serverLog-zxAMuJ_O.js} +0 -0
- /package/dist/chunks/{sessionDataUploader-CTyFNa9x.js → sessionDataUploader-FV9CZw0s.js} +0 -0
- /package/dist/chunks/{sessionManager-BMihleFs.js → sessionManager-CuHQQSdR.js} +0 -0
- /package/dist/chunks/{staticRender-CAZ_Cg43.js → staticRender-BSHQcTCI.js} +0 -0
- /package/dist/chunks/{stickers-DeHxjhdM.js → stickers-C_Uob58C.js} +0 -0
- /package/dist/chunks/{udsClient-uE-r0N-F.js → udsClient-C0L2vH6O.js} +0 -0
- /package/dist/chunks/{upstreamproxy-B_wN4My6.js → upstreamproxy-CYkpYjQW.js} +0 -0
- /package/dist/chunks/{voice-D2hV1CU6.js → voice-CESv02rP.js} +0 -0
|
@@ -9,7 +9,7 @@ import { i as number$1, r as boolean, t as init_v4 } from "./v4-pqEJ8Dq2.js";
|
|
|
9
9
|
import { $t as getClipboardPath, Cn as init_strip_ansi, Ct as useDebounceCallback, D as useSearchHighlight, F as useHasSelection, Fn as chalk, G as NoSelect, Gt as subscribeTerminalFocus, H as AlternateScreen, Ht as useTerminalFocus, I as useSelection, In as init_source, It as instances, Jt as isXtermJs, Kt as hasCursorUpViewportYankBug, O as useTerminalTitle, P as useTerminalSize, Pt as useTerminalNotification, R as useInterval$1, Rt as KeyboardEvent, Sn as stringWidth, St as init_dist, Ut as getTerminalFocusState, X as Ansi, Z as Link, at as useRegisterKeybindingContext, b as ThemedText, bt as useInput, en as setClipboard, et as useKeybinding, f as Dialog, g as KeyboardShortcutHint, h as Byline, hn as wrapText, it as useOptionalKeybindingContext, j as useDoublePress, k as useTabStatus, m as Divider, p as Pane, st as keystrokesEqual, t as init_src, tt as useKeybindings, v as color, w as useTheme, wn as stripAnsi, wt as useInterval, x as ThemedBox, xt as useStdin, z as useAnimationFrame } from "./src-D-Y8UkL2.js";
|
|
10
10
|
import { n as require_react, t as require_jsx_runtime } from "./jsx-runtime-U0-f0qxU.js";
|
|
11
11
|
import { A as getCurrentTurnTokenBudget, Ar as snapshotOutputTokensForTurn, Bn as setHasExitedPlanMode, Bt as getTotalLinesAdded, Cn as resetTurnToolDuration, Ct as getSessionId, Dt as getSlowOperations, Fr as init_signal, G as getIsScrollDraining, Ht as getTotalOutputTokens, Jt as getTurnHookCount, K as getKairosActive, Kt as getTurnClassifierCount, Lt as getTotalCostUSD, Mn as setCostStateForRestore, Mr as updateLastInteractionTime, Nt as getTotalAPIDuration, Pr as createSignal, Qt as getTurnToolDurationMs, Rt as getTotalDuration, S as getBudgetContinuationCount, Sn as resetTurnHookDuration, U as getIsNonInteractiveSession, Vt as getTotalLinesRemoved, W as getIsRemoteMode, X as getLastInteractionTime, Xt as getTurnOutputTokens, Yt as getTurnHookDurationMs, Zt as getTurnToolCount, an as hasShownLspRecommendationThisSession, bn as resetCostState, cn as init_state, cr as setNeedsPlanModeExitAttachment, jr as switchSession, nr as setMainLoopModelOverride, ot as getOriginalCwd, qt as getTurnClassifierDurationMs, rn as handlePlanModeTransition, sr as setNeedsAutoModeExitAttachment, tr as setLspRecommendationShownThisSession, tt as getMainThreadAgentType, un as isSessionPersistenceDisabled, ut as getProjectRoot, vt as getSdkBetas, xn as resetTurnClassifierDuration, y as getAllowedChannels, zt as getTotalInputTokens } from "./state-Cpd6bxSt.js";
|
|
12
|
-
import { $a as getSettings_DEPRECATED, $s as init_constants, Aa as getAPIProvider, Ao as normalizeFullWidthSpace, As as init_PermissionMode, Br as modelDisplayString, Bs as BRIDGE_READY_INDICATOR, Ci as onOrgFastModeChanged, Dc as init_config, Do as firstLineOf, Ea as init_billing, Et as WORKLOAD_CRON, Fo as init_permissionRuleParser, Hr as parseUserSpecifiedModel, Hs as init_figures$1, Ht as getAnthropicApiKeyWithSource, Ir as init_model, Is as permissionModeSymbol, J as init_metadata, Jc as getDisplayPath, Kr as resolveSkillModelOverride, Kt as getApiKeyHelperElapsedMs, Ls as permissionModeTitle, Ma as init_providers, No as truncateToLines, Nr as getRuntimeMainLoopModel, Ns as permissionModeFromString, Oo as init_stringUtils, Or as getMainLoopModel, Ot as init_workloadContext, Pr as getSmallFastModel, Pt as checkAndRefreshOAuthTokenIfNeeded, Ro as permissionRuleValueToString, Rs as toExternalPermissionMode, S as init_growthbook, Si as onFastModeOverageRejection, St as getUserAgent, Ta as hasConsoleBillingAccess, To as countCharInString, Ua as getInitialSettings, Ui as AwsAuthStatusManager, Ut as getApiKeyFromApiKeyHelper, Wi as init_awsAuthStatusManager, Wr as renderModelName, Xs as getSettingSourceDisplayNameLowercase, Xt as getConfiguredApiKeyHelper, Ya as getSettingsForSource, Z as sanitizeToolNameForAnalytics, Zc as init_file, _ as getFeatureValue_CACHED_MAY_BE_STALE, _i as isFastModeCooldown, _l as uniqBy, a as init_paths, bc as getGlobalConfigWriteCount, bi as onCooldownExpired, bt as getAuthHeaders, cn as isAnthropicAuthEnabled, cs as ALLOWED_OFFICIAL_MARKETPLACE_NAMES, ct as init_config$1, d as checkStatsigFeatureGate_CACHED_MAY_BE_STALE, di as getFastModeUnavailableReason, dl as readFileSync$1, dn as isClaudeAISubscriber, fr as init_context, ga as init_getOauthProfile, gi as isFastModeAvailable, gl as init_uniqBy, gn as isMaxSubscriber, h as getDynamicConfig_BLOCKS_ON_INIT, hi as init_fastMode, it as isAgentSwarmsEnabled, jc as saveGlobalConfig, jo as plural, js as isDefaultMode, ko as normalizeFullWidthDigits, ks as getModeColor, kt as runWithWorkload, ll as detectEncodingForResolvedPath, ma as getOauthProfileFromApiKey, on as init_auth, oo as updateSettingsForSource, or as calculateContextPercentages, pc as checkHasTrustDialogAccepted, ro as init_settings, rt as init_agentSwarmsEnabled, s as isAutoMemoryEnabled, sr as getContextWindowForModel, tn as getSubscriptionType, ul as init_fileRead, ut as isFeedbackSurveyDisabled, vi as isFastModeEnabled, vs as init_schemas, w as onGrowthBookRefresh, wa as hasClaudeAiBillingAccess, wt as init_http, xi as onCooldownTriggered, xn as isTeamSubscriber, yc as getGlobalConfig, yi as isFastModeSupportedByModel, yn as isProSubscriber, zr as isOpus1mMergeEnabled, zs as BLACK_CIRCLE } from "./paths-
|
|
12
|
+
import { $a as getSettings_DEPRECATED, $s as init_constants, Aa as getAPIProvider, Ao as normalizeFullWidthSpace, As as init_PermissionMode, Br as modelDisplayString, Bs as BRIDGE_READY_INDICATOR, Ci as onOrgFastModeChanged, Dc as init_config, Do as firstLineOf, Ea as init_billing, Et as WORKLOAD_CRON, Fo as init_permissionRuleParser, Hr as parseUserSpecifiedModel, Hs as init_figures$1, Ht as getAnthropicApiKeyWithSource, Ir as init_model, Is as permissionModeSymbol, J as init_metadata, Jc as getDisplayPath, Kr as resolveSkillModelOverride, Kt as getApiKeyHelperElapsedMs, Ls as permissionModeTitle, Ma as init_providers, No as truncateToLines, Nr as getRuntimeMainLoopModel, Ns as permissionModeFromString, Oo as init_stringUtils, Or as getMainLoopModel, Ot as init_workloadContext, Pr as getSmallFastModel, Pt as checkAndRefreshOAuthTokenIfNeeded, Ro as permissionRuleValueToString, Rs as toExternalPermissionMode, S as init_growthbook, Si as onFastModeOverageRejection, St as getUserAgent, Ta as hasConsoleBillingAccess, To as countCharInString, Ua as getInitialSettings, Ui as AwsAuthStatusManager, Ut as getApiKeyFromApiKeyHelper, Wi as init_awsAuthStatusManager, Wr as renderModelName, Xs as getSettingSourceDisplayNameLowercase, Xt as getConfiguredApiKeyHelper, Ya as getSettingsForSource, Z as sanitizeToolNameForAnalytics, Zc as init_file, _ as getFeatureValue_CACHED_MAY_BE_STALE, _i as isFastModeCooldown, _l as uniqBy, a as init_paths, bc as getGlobalConfigWriteCount, bi as onCooldownExpired, bt as getAuthHeaders, cn as isAnthropicAuthEnabled, cs as ALLOWED_OFFICIAL_MARKETPLACE_NAMES, ct as init_config$1, d as checkStatsigFeatureGate_CACHED_MAY_BE_STALE, di as getFastModeUnavailableReason, dl as readFileSync$1, dn as isClaudeAISubscriber, fr as init_context, ga as init_getOauthProfile, gi as isFastModeAvailable, gl as init_uniqBy, gn as isMaxSubscriber, h as getDynamicConfig_BLOCKS_ON_INIT, hi as init_fastMode, it as isAgentSwarmsEnabled, jc as saveGlobalConfig, jo as plural, js as isDefaultMode, ko as normalizeFullWidthDigits, ks as getModeColor, kt as runWithWorkload, ll as detectEncodingForResolvedPath, ma as getOauthProfileFromApiKey, on as init_auth, oo as updateSettingsForSource, or as calculateContextPercentages, pc as checkHasTrustDialogAccepted, ro as init_settings, rt as init_agentSwarmsEnabled, s as isAutoMemoryEnabled, sr as getContextWindowForModel, tn as getSubscriptionType, ul as init_fileRead, ut as isFeedbackSurveyDisabled, vi as isFastModeEnabled, vs as init_schemas, w as onGrowthBookRefresh, wa as hasClaudeAiBillingAccess, wt as init_http, xi as onCooldownTriggered, xn as isTeamSubscriber, yc as getGlobalConfig, yi as isFastModeSupportedByModel, yn as isProSubscriber, zr as isOpus1mMergeEnabled, zs as BLACK_CIRCLE } from "./paths-DvTLULIf.js";
|
|
13
13
|
import { E as jsonStringify, G as toError, J as init_cleanupRegistry, L as errorMessage, T as jsonParse, U as isENOENT, V as init_errors, Y as registerCleanup, d as logForDebugging, h as init_fsOperations, k as AbortError, p as getFsImplementation, s as init_debug, w as init_slowOperations, y as safeResolvePath } from "./debug-CWVskDes.js";
|
|
14
14
|
import { n as init_analytics, r as logEvent } from "./analytics-BUe7uXWv.js";
|
|
15
15
|
import { n as init_cwd, t as getCwd } from "./cwd-CAzX7YI3.js";
|
|
@@ -29,82 +29,83 @@ import { S as intersperse, _ as init_teammateContext, a as getTeamName, b as cou
|
|
|
29
29
|
import { c as lastGrapheme, n as getGraphemeSegmenter, s as init_intl, t as firstGrapheme } from "./intl-BpafYVJA.js";
|
|
30
30
|
import { E as truncateToWidth, b as formatTokens, d as formatDuration, f as formatFileSize, m as formatNumber, p as formatLogMetadata, x as init_format } from "./startupProfiler-CazxVJNo.js";
|
|
31
31
|
import { n as lazySchema, t as init_lazySchema } from "./lazySchema-DCmLE9e3.js";
|
|
32
|
-
import { $E as hasRules, $S as ConfigurableShortcutHint, $a as SUBAGENT_REJECT_MESSAGE, $b as getConnectedIdeName, $i as init_useBuddyNotification, $u as init_replBridgeHandle, $w as useMessageActions, $x as isMouseTrackingEnabled, $y as AGENT_COLOR_TO_THEME_COLOR, AS as useSettings, Ac as isHumanTurn, Ad as registerLeaderToolUseConfirmQueue, Ag as init_contextWindowUpgradeCheck, Ah as isPlanApprovalRequest, Aj as getEmptyToolPermissionContext, Ak as init_prompt$2, Ap as init_StructuredDiffList, Ar as isChainParticipant, BA as shouldAllowManagedSandboxDomainsOnly, BD as getCommandQueueLength, BE as abortPromptSuggestion, Bd as registerSandboxPermissionCallback, Bh as writeToMailbox, Bj as getDefaultEffortForModel, Bm as markShownThisSession, Bn as pathInAllowedWorkingPath, Bs as loadKnownMarketplacesConfig, Bu as getTools, Bv as KeybindingSetup, By as useShimmerAnimation, C as init_permissionSetup, CE as init_queryHelpers, C_ as getSkillUsageScore, Ch as createIdleNotification, Cj as GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, Ck as TEAM_CREATE_TOOL_NAME, Co as formatCommandInputTags, Cp as preserveQuoteStyle, Cr as getSessionIdFromLog, Ct as init_worktree, Cu as queuePendingMessage, Cy as markAutonomyRunFailed, D as isBypassPermissionsModeDisabled, DE as createTrace, DS as init_inputModes, Dc as init_attachments, Dd as getLeaderToolUseConfirmQueue, Dg as applyMarkdown, Dh as isModeSetRequest, Dj as BASH_TOOL_NAME, Dn as isTerminalTaskStatus, Do as getMessagesAfterCompactBoundary, Dp as readCapped, E as isAutoModeGateEnabled, ED as init_prompt$4, EE as init_langfuse, ES as getValueFromInput, Ec as getQueuedCommandAttachments, Eg as init_Markdown, Eh as init_teammateMailbox, En as init_Task, Eo as getLastAssistantMessage, Ep as openForScan, FD as dequeue, FO as getCurrentUsage, Fa as isUltrareviewEnabled, Fd as hasSandboxPermissionCallback, Fh as isShutdownRequest, Fi as REMOTE_SAFE_COMMANDS, Fl as query, Fs as getDeclaredMarketplaces, Fv as fileHistoryRestoreStateFromLog, Fx as useIsModalOverlayActive, Fy as init_types, G as init_permissions, GA as init_prompt$3, GD as isQueuedCommandEditable, Gd as sendPermissionRequestViaMailbox, Gl as init_readFileInRange, Gm as getInitializationStatus, Go as normalizeMessagesForAPI, Gu as init_contextCollapse, Gv as SelectMulti, Gw as sliceAnsi, Gx as init_BaseTextInput, HA as init_ripgrep, HO as getUserContext, Hd as generateSandboxRequestId, Hm as generateProgressiveArgumentHint, Hp as getPatchForDisplay, Ht as executePermissionRequestHooks, Hu as WorkflowTool_exports, Hx as interpolateColor, ID as dequeueAllMatching, IS as init_AppState, I_ as init_RemoteAgentTask, Ic as init_textInputTypes, Id as init_useSwarmPermissionPoller, Ih as isTeamPermissionUpdate, Il as findTokenBudgetPositions, Io as init_messages, Is as getMarketplace, Iv as fileHistoryRewind, Ix as useIsOverlayActive, Iy as isBackgroundTask, J as shouldUseSandbox, JD as popAllEditable, JE as init_shellRuleMatching, JS as useMailbox, JT as init_gracefulShutdown, Jb as closeOpenDiffs, Jd as sendSandboxPermissionResponseViaMailbox, Ji as hasCommand, Jl as init_queryProfiler, Jn as adoptResumedSessionFile, Jp as getStoredSessionCosts, Jt as executeSessionEndHooks, Ju as buildEffectiveSystemPrompt, Jx as init_useTextInput, Jy as useTasksV2WithCollapseEffect, KD as isQueuedCommandVisible, KT as gracefulShutdown, Kd as sendPermissionResponseViaMailbox, Kf as WebFetchTool, Kg as init_agentToolUtils, Kj as getOpusDefaultEffortConfig, Km as getLspServerManager, Kr as loadSubagentTranscripts, Ks as saveKnownMarketplacesConfig, Ku as init_resumeAgent, Kx as ShimmerChar, Ky as init_useTasksV2, LA as init_sandbox_adapter, LD as enqueue, LO as init_tokens, LS as useAppState, La as init_policyLimits, Lb as init_nativeInstaller, Lc as isValidImagePaste, Ld as processMailboxPermissionResponse, Lh as markMessagesAsRead, Li as clearCommandMemoizationCaches, Lk as init_cronTasks, Ll as init_tokenBudget, Lm as clearPendingHint, Ln as init_filesystem, Lo as isCompactBoundaryMessage, Ls as getMarketplacesCacheDir, Lu as assembleToolPool, Lv as init_fileHistory, Lx as useRegisterOverlay, Ly as init_ink, M as restoreDangerousPermissions, ME as isLangfuseEnabled, MS as useClipboardImageHint, Md as unregisterLeaderToolUseConfirmQueue, Mf as init_BriefTool, Mh as isSandboxPermissionRequest, Mm as init_hintRecommendation, Mo as getUserMessageText, Mp as init_StructuredDiff, Mr as isEphemeralToolProgress, Mt as createBaseHookInput, Mu as isAutoManagedMemoryFile, Mx as Select, N as stripDangerousPermissionsForAutoMode, NO as doesMostRecentAssistantMessageExceed200k, NS as init_notifications, Nh as isSandboxPermissionResponse, Nm as markHintPluginShown, Nn as generateSuggestions, No as handleMessageFromStream, Np as HighlightedCode, Ns as addMarketplaceSource, Nv as fileHistoryHasAnyChanges, Nx as init_select, OE as endTrace, OS as prependModeCharacterToInput, Od as init_leaderPermissionBridge, Og as init_markdown, Oh as isPermissionRequest, Oj as init_toolName, Op as scanForContext, Os as isPluginInstalled, Ox as init_client, P as transitionPermissionMode, PA as SandboxManager, PD as clearCommandQueue, PS as useNotifications, Pa as init_ultrareviewEnabled, Pd as hasPermissionCallback, Ph as isShutdownApproved, Pl as init_query, Pm as resolvePluginHint, Pn as getScratchpadDir, Pp as init_HighlightedCode, Pr as isLoggableMessage, Ps as clearMarketplacesCache, Pv as fileHistoryMakeSnapshot, Px as init_overlayContext, Q as splitCommand_DEPRECATED, QE as extractRules, QS as useVoiceState, Qa as REJECT_MESSAGE_WITH_REASON_PREFIX, Qb as getConnectedIdeClient, Qd as init_MonitorTool, Qg as sideQuery, Qi as findBuddyTriggerPositions, Qk as init_constants$4, Qn as cleanMessagesForLogging, Qo as withMemoryCorrectionHint, Qr as recordAttributionSnapshot, Qv as init_Spinner, Qx as isFullscreenEnvEnabled, Qy as AGENT_COLORS, RD as enqueuePendingNotification, RO as tokenCountFromLastAPIResponse, RS as useAppStateStore, R_ as restoreRemoteAgentTasks, Rb as checkInstall, Rc as FileReadTool, Rd as processSandboxPermissionResponse, Rh as readUnreadMessages, Ri as clearCommandsCache, Rl as parseTokenBudget, Rm as getPendingHintSnapshot, Rn as isScratchpadEnabled, Rs as getPluginById, Rx as TextInput, Ry as toInkColor, SS as removeLastFromHistory, Sh as init_UserTextMessage, Sj as FILE_EDIT_TOOL_NAME, Sl as init_compact, So as extractTextContent, Sp as init_utils, Su as markAgentsNotified, Sv as getPlanSlug, Sw as init_claudeai, TS as getModeFromInput, TT as init_localInstaller, Th as getLastPeerDmSummary, To as getContentText, Tp as init_readEditContext, Tv as setPlanSlug, UD as hasCommandsInQueue, UE as logSuggestionSuppressed, UO as init_context$1, Ud as init_permissionSync, Ui as getCommand, Um as init_argumentSubstitution, Up as getPatchFromContents, Uu as init_WorkflowTool, Ux as toRGBColor, Uy as getTheme, VD as getCommandQueueSnapshot, VE as init_promptSuggestion, VO as getSystemContext, V_ as init_teleport, Vd as createPermissionRequest, Vi as formatDescriptionWithSource, Vm as subscribeToPendingHint, Vp as adjustHunkLineNumbers, Vu as init_tools, Vv as init_KeybindingProviderSetup, Vw as init_useTerminalSize, Vx as init_utils$1, W as hasPermissionsToUseTool, WD as init_messageQueueManager, Wd as isSwarmWorker, Wi as getCommands, Wk as removeCronTasks, Wm as parseArguments, Wo as normalizeMessages, Wp as init_diff, Ws as registerSeedMarketplaces, Wu as contextCollapse_exports, Wv as init_CustomSelect, Ww as init_sliceAnsi, Wx as BaseTextInput, Wy as init_theme, X as extractOutputRedirections, XD as subscribeToCommandQueue, XE as applyPermissionUpdate, XS as useGetVoiceState, Xi as isBridgeSafeCommand, Xl as queryCheckpoint, Xs as init_officialMarketplaceGcs, Xu as init_LocalMainSessionTask, Xv as Spinner, Xx as init_fullscreen, Xy as init_TaskListV2, YD as removeByFilter, YE as permissionRuleExtractPrefix, YO as getMemoryFiles, YS as init_voice, Yb as detectIDEs, Yi as init_commands, Yl as logQueryProfileReport, Yp as init_cost_tracker, Ys as fetchOfficialMarketplaceFromGcs, Yu as init_systemPrompt, Yv as BriefIdleStatus, Yw as init_messageActions, Yx as useTextInput, Yy as TaskListV2, Z as init_commands$1, ZE as applyPermissionUpdates, ZO as init_claudemd, ZS as useSetVoiceState, Za as REJECT_MESSAGE, Zd as MonitorTool_exports, Zg as init_sideQuery, Zk as SKILL_TOOL_NAME, Zl as startQueryProfile, Zo as textForResubmit, Zp as saveCurrentSessionCosts, Zt as executeStatusLineCommand, Zu as startBackgroundSession, Zv as SpinnerWithVerb, Zx as isFullscreenActive, Zy as init_ThemedText, _D as init_cliHighlight, _E as abortSpeculation, _S as getHistory, _b as init_notifier, _d as isInProcessEnabled, _f as autoModeState_exports, _g as setYoloClassifierApproval, _h as PrBadge, _o as createTurnDurationMessage, _p as FileEditTool, _s as installPluginFromMarketplace, _u as appendMessageToLocalAgent, _y as finalizeAutonomyRunFailed, aC as storeImage, aD as init_permissionsLoader, aO as getRateLimitWarning, aS as isVimWhitespace, aT as init_resolver, aa as getDialogConfig, ab as activityManager, ad as updateSessionActivity, ag as QueuedMessageProvider, ah as Message, ai as recordTranscript, ak as compactWarningStore, al as calculateTokenWarningState, ao as createAgentsKilledMessage, ap as init_NotebookEditTool, ar as extractAgentIdsFromMessages, at as verifyApiKey, au as init_bashPermissions, av as processSessionStartHooks, ay as InProcessTeammateTask_exports, b as getAutoModeUnavailableNotification, bE as extractBashToolsFromMessages, bO as getSessionMemoryContent, bS as makeHistoryReader, bT as init_doctorDiagnostic, bf as handlePlanApprovalResponse, bg as init_claudeAiLimitsHook, bh as init_diagnosticTracking, bi as saveWorktreeState, bj as init_prompt, bm as init_Shell, bp as getEditsForPatch, bt as getCurrentWorktreeSession, bu as isPanelAgentTask, bv as getPlan, bx as callIdeRpc, by as init_autonomyRuns, cC as init_imagePaste, cD as createPromptRuleContent, cE as getQuerySourceForREPL, ca as getCommandName, cf as EnterPlanModeTool, cj as init_officialMarketplace, cl as isAutoCompactEnabled, cm as init_dangerousCmdlets, co as createAssistantMessage, cp as GlobTool, cx as isSupportedTerminal, cy as getRunningTeammatesSorted, dD as init_bashClassifier, dE as asSessionId, dO as maybeResizeAndDownsampleImageBlock, dd as getCachedBackend, df as init_planModeV2, dg as FilePathLink, di as restoreSessionMetadata, dm as getAllCommands, do as createCommandInputMessage, dp as init_GrepTool, dt as init_prompts, eC as init_ConfigurableShortcutHint, eD as init_PermissionUpdate, eM as toPersistableEffort, eS as maybeGetTmuxMouseHint, eT as init_useShortcutDisplay, ea as useBuddyNotification, eb as getAgentColor, ed as setReplBridgeHandle, ej as checkGitAvailable, eo as SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, et as init_claude, fD as isClassifierPermissionsEnabled, fE as init_ids, fa as exit$1, fb as buildIdleFooterText, fd as getCachedDetectionResult, ff as isPlanModeInterviewPhaseEnabled, fg as init_FilePathLink, fh as OffscreenFreeze, fm as init_parser, fx as toIDEDisplayName, gC as init_toolResultStorage, gD as getLanguageName, gE as updateTaskState, gS as formatPastedTextRef, gd as init_registry, gf as init_ExitPlanModeV2Tool, gg as init_classifierApprovals, gh as pillNeedsCta, gi as saveCustomTitle, gl as runPostCompactCleanup, gm as parseSedEditCommand, go as createSystemMessage, gp as init_FileWriteTool, gs as init_pluginInstallationHelpers, gv as setEnvHookNotifier, gx as init_idePathConversion, gy as finalizeAutonomyRunCompleted, hA as init_constants$2, hD as getCliHighlightPromise, hE as init_framework, hS as formatImageRef, hf as ExitPlanModeV2Tool, hg as clearClassifierChecking, hh as init_pillLabel, hl as init_postCompactCleanup, hm as init_sedEditParser, hp as FileWriteTool, hu as init_LocalShellTask, hx as WindowsToWSLConverter, hy as createProactiveAutonomyCommands, iC as init_imageStore, iM as isUltrathinkEnabled, iS as isVimPunctuation, iT as init_shortcutFormat, ib as isInProcessTeammateTask, ic as isSourceAllowedByPolicy, ik as resetMicrocompactState, im as PowerShellTool, ip as NotebookEditTool, is as init_outputStyles, iu as getSimpleCommandPrefix, iv as init_sessionStart, ix as initializeIdeIntegration, iy as InProcessTeammateTask, jS as init_useClipboardImageHint, jd as unregisterLeaderSetToolPermissionContext, jf as BriefTool_exports, jh as isPlanApprovalResponse, jj as init_Tool, jk as isKairosCronEnabled, jm as disableHintRecommendations, jp as StructuredDiff, ju as init_memoryFileDetection, jv as fileHistoryEnabled, kS as init_useSettings, kc as init_messagePredicates, kd as registerLeaderSetToolPermissionContext, kg as getUpgradeMessage, kh as isPermissionResponse, kj as findToolByName, kp as StructuredDiffList, kr as init_sessionStorage, kv as copyFileHistoryForResume, lD as generateGenericDescription, lE as init_promptCategory, l_ as init_sessionHooks, la as isCommandEnabled, lb as buildActiveFooterText, ld as ensureBackendsRegistered, lf as init_EnterPlanModeTool, ll as init_sessionMemoryCompact, lm as init_readOnlyValidation, ln as getSessionEndHookTimeoutMs, lo as createAwaySummaryMessage, lp as init_GlobTool, lx as isSupportedVSCodeTerminal, ly as init_InProcessTeammateTask, mA as EXIT_PLAN_MODE_V2_TOOL_NAME, mD as logPermissionDecision, mS as expandPastedTextRefs, mb as init_bridgeStatusUtil, mf as init_AskUserQuestionTool, mg as init_SentryErrorBoundary, mh as getPillLabel, mm as applySedSubstitution, mo as createScheduledTaskFireMessage, mr as getCurrentSessionTitle, ms as cacheAndRegisterPlugin, mu as hasForegroundTasks, mv as init_fileChangedWatcher, mx as init_IdeOnboardingDialog, my as createAutonomyQueuedPrompt, nA as POWERSHELL_TOOL_NAME, nD as persistPermissionUpdates, nM as getRainbowColor, nO as getRawUtilization, nT as init_KeybindingContext, na as init_ultraplan, nd as init_concurrentSessions, nh as init_SkillTool, nj as markGitUnavailable, nk as init_microCompact, nt as queryModelWithoutStreaming, nu as clearSpeculativeChecks, nv as init_conversationRecovery, nx as hasAccessToIDEExtensionDiffFeature, ny as getViewedTeammateTask, oD as shouldShowAlwaysAllowOptions, oE as getRemoteSessionUrl, oO as getUsingOverageText, oS as isVimWordChar, oa as getPromptIdentifier, ob as init_activityManager, og as init_QueuedMessageContext, oj as OFFICIAL_MARKETPLACE_NAME, ok as init_compactWarningState, ol as getEffectiveContextWindowSize, om as init_PowerShellTool, oo as createApiMetricsMessage, op as init_notebook, os as clearPluginCache, ou as BashTool, ox as isJetBrainsIde, oy as findTeammateTaskByAgentId, pD as init_permissionLogging, pE as evictTerminalTask, pS as addToHistory, pa as init_exit, pb as getBridgeStatus, pf as AskUserQuestionTool, pg as SentryErrorBoundary, ph as init_OffscreenFreeze, pi as saveAgentName, pm as parsePowerShellCommandCached, pu as backgroundAll, px as IdeOnboardingDialog, q as init_shouldUseSandbox, qD as peek, qS as init_mailbox, qT as gracefulShutdownSync, qa as EMPTY_LOOKUPS, qd as sendSandboxPermissionRequestViaMailbox, qf as init_WebFetchTool, qg as resolveAgentTools, qi as getSlashCommandToolSkills, qj as init_effort, qm as init_manager, qp as formatTotalCost, qu as resumeAgentBackground, qw as MessageActionsBar, qx as init_ShimmerChar, qy as useTasksV2, rA as init_toolName$1, rD as supportsPersistence, rM as init_thinking, rO as init_claudeAiLimits, rS as init_Cursor, rT as getShortcutDisplay, ra as launchUltraplan, rb as init_types$1, rc as init_marketplaceHelpers, rd as isBgSession, ru as getFirstWordPrefix, rx as init_ide, ry as init_selectors, sC as getImageFromClipboard, sE as init_product, sO as init_systemPromptType, s_ as addFunctionHook, sa as init_prompt$1, sb as FAILED_FOOTER_TEXT, sd as updateSessionName, sh as init_Message, si as removeTranscriptMessage, sj as OFFICIAL_MARKETPLACE_SOURCE, sl as init_autoCompact, sm as NEVER_SUGGEST, sp as parseCellId, su as init_BashTool, sy as getAllInProcessTeammateTasks, tC as cacheImagePath, tD as persistPermissionUpdate, tM as findThinkingTriggerPositions, tS as Cursor, tT as useShortcutDisplay, ta as CCR_TERMS_URL, tb as init_agentColorManager, th as SkillTool, tj as init_gitAvailability, tr as clearSessionMetadata, tt as queryHaiku, tv as deserializeMessages, ty as getActiveAgentForInput, uD as getBashPromptAllowDescriptions, uE as asAgentId, uO as init_imageResizer, ub as buildBridgeConnectUrl, ud as getBackendByType, uf as getPewterLedgerVariant, ui as resetSessionFilePointer, ul as shouldUseSessionMemoryCompaction, um as isAllowlistedCommand, uo as createBridgeStatusMessage, up as GrepTool, ur as getAgentTranscript, us as init_pluginLoader, ut as getSystemPrompt, uy as injectUserMessageToTeammate, vC as provisionContentReplacementState, vD as createAbortController, vE as handleSpeculationAccept, vS as getPastedTextRefNumLines, vT as getCurrentInstallationType, vb as sendNotification, vf as init_autoModeState, vh as init_PrBadge, vn as init_hooks, vp as init_FileEditTool, vu as init_LocalAgentTask, vv as copyPlanForFork, wO as init_sessionMemoryUtils, wT as getShellType, w_ as init_skillUsageTracking, wc as createAttachmentMessage, wg as Markdown, wh as createModeSetRequestMessage, wj as init_constants$1, wk as init_constants$3, wl as partialCompactConversation, wo as getAssistantMessageText, wr as getTranscriptPath, ws as init_installedPluginsManager, wv as init_plans, wy as markAutonomyRunRunning, x as getAutoModeUnavailableReason, xE as extractReadFilesFromMessages, xS as parseReferences, xf as init_inProcessTeammateHelpers, xg as useClaudeAiLimits, xh as UserTextMessage, xi as searchSessionsByCustomTitle, xj as CLAUDE_FOLDER_PERMISSION_PATTERN, xp as getPatchForEdits, xu as killAllRunningAgentTasks, xv as getPlanFilePath, xw as hasClaudeAiMcpEverConnected, yC as reconstructContentReplacementState, yD as init_abortController, yE as init_speculation, yS as init_history, yf as findInProcessTeammateTaskId, yh as diagnosticTracker, ym as exec$1, yo as createUserMessage, yp as findActualString, yu as isLocalAgentTask, yv as copyPlanForResume, zD as getCommandQueue, zS as useSetAppState, z_ as archiveRemoteSession, za as isPolicyAllowed, zc as init_FileReadTool, zd as registerPermissionCallback, zh as sendShutdownRequestToMailbox, zj as convertEffortValueToLevel, zm as init_claudeCodeHints, zn as normalizeCaseForComparison, zs as init_marketplaceManager, zu as getAllBaseTools, zx as init_TextInput, zy as init_useShimmerAnimation } from "./loadAgentsDir-Vb46sydQ.js";
|
|
33
|
-
import { a as RARITY_COLORS, n as getCompanion, r as init_companion, v as init_types$2 } from "./companion-
|
|
34
|
-
import { r as init_xml$1, t as escapeXml } from "./xml-
|
|
32
|
+
import { $A as OFFICIAL_MARKETPLACE_NAME, $D as init_systemPromptType, $S as getImageFromClipboard, $T as init_product, $a as SUBAGENT_REJECT_MESSAGE, $g as addFunctionHook, $i as init_useBuddyNotification, $m as init_Message, $p as NEVER_SUGGEST, $u as init_replBridgeHandle, $v as getAllInProcessTeammateTasks, $y as FAILED_FOOTER_TEXT, AA as init_sandbox_adapter, AD as enqueuePendingNotification, AO as tokenCountFromLastAPIResponse, AS as useAppStateStore, A_ as restoreRemoteAgentTasks, Ab as checkInstall, Ac as isHumanTurn, Ad as registerLeaderToolUseConfirmQueue, Ah as readUnreadMessages, Ak as init_cronTasks, Am as getPendingHintSnapshot, Ar as isChainParticipant, Ax as TextInput, Ay as toInkColor, BD as popAllEditable, BE as init_shellRuleMatching, BS as useMailbox, BT as init_gracefulShutdown, Bb as closeOpenDiffs, Bd as registerSandboxPermissionCallback, Bj as init_effort, Bn as pathInAllowedWorkingPath, Bp as getStoredSessionCosts, Bs as loadKnownMarketplacesConfig, Bu as getTools, Bx as init_useTextInput, By as useTasksV2WithCollapseEffect, C as init_permissionSetup, CS as init_useClipboardImageHint, Ch as isPlanApprovalResponse, Cj as getEmptyToolPermissionContext, Ck as init_prompt$2, Cm as disableHintRecommendations, Co as formatCommandInputTags, Cp as FileEditTool, Cr as getSessionIdFromLog, Ct as init_worktree, Cu as queuePendingMessage, Cv as fileHistoryEnabled, D as isBypassPermissionsModeDisabled, DA as SandboxManager, DD as dequeue, DO as getCurrentUsage, Dc as init_attachments, Dd as getLeaderToolUseConfirmQueue, Dh as isShutdownRequest, Dn as isTerminalTaskStatus, Do as getMessagesAfterCompactBoundary, Dp as getPatchForEdits, Dv as fileHistoryRestoreStateFromLog, Dx as useIsModalOverlayActive, Dy as init_types, E as isAutoModeGateEnabled, ED as clearCommandQueue, ES as useNotifications, Ec as getQueuedCommandAttachments, Eh as isShutdownApproved, Em as resolvePluginHint, En as init_Task, Eo as getLastAssistantMessage, Ep as getEditsForPatch, Ev as fileHistoryMakeSnapshot, Ex as init_overlayContext, FA as init_ripgrep, FD as hasCommandsInQueue, FE as logSuggestionSuppressed, FO as init_context$1, Fa as isUltrareviewEnabled, Fd as hasSandboxPermissionCallback, Fi as REMOTE_SAFE_COMMANDS, Fl as query, Fm as init_argumentSubstitution, Fp as getPatchFromContents, Fs as getDeclaredMarketplaces, Fx as toRGBColor, Fy as getTheme, G as init_permissions, GE as hasRules, GS as ConfigurableShortcutHint, Gb as getConnectedIdeName, Gd as sendPermissionRequestViaMailbox, Gk as init_constants$4, Gl as init_readFileInRange, Go as normalizeMessagesForAPI, Gu as init_contextCollapse, Gw as useMessageActions, Gx as isMouseTrackingEnabled, Gy as AGENT_COLOR_TO_THEME_COLOR, HD as subscribeToCommandQueue, HE as applyPermissionUpdate, HS as useGetVoiceState, Hd as generateSandboxRequestId, Ht as executePermissionRequestHooks, Hu as WorkflowTool_exports, Hv as Spinner, Hx as init_fullscreen, Hy as init_TaskListV2, ID as init_messageQueueManager, Ic as init_textInputTypes, Id as init_useSwarmPermissionPoller, Il as findTokenBudgetPositions, Im as parseArguments, Io as init_messages, Ip as init_diff, Is as getMarketplace, Iv as init_CustomSelect, Iw as init_sliceAnsi, Ix as BaseTextInput, Iy as init_theme, J as shouldUseSandbox, JA as init_gitAvailability, JD as getRawUtilization, JE as persistPermissionUpdates, JO as init_microCompact, J_ as init_conversationRecovery, Jb as hasAccessToIDEExtensionDiffFeature, Jd as sendSandboxPermissionResponseViaMailbox, Ji as hasCommand, Jj as findThinkingTriggerPositions, Jl as init_queryProfiler, Jm as init_SkillTool, Jn as adoptResumedSessionFile, Jt as executeSessionEndHooks, Ju as buildEffectiveSystemPrompt, Jv as getViewedTeammateTask, Jw as init_KeybindingContext, KE as init_PermissionUpdate, KS as init_ConfigurableShortcutHint, Kd as sendPermissionResponseViaMailbox, Kf as WebFetchTool, Kr as loadSubagentTranscripts, Ks as saveKnownMarketplacesConfig, Ku as init_resumeAgent, Kw as init_useShortcutDisplay, Kx as maybeGetTmuxMouseHint, Ky as getAgentColor, LD as isQueuedCommandEditable, La as init_policyLimits, Lc as isValidImagePaste, Ld as processMailboxPermissionResponse, Li as clearCommandMemoizationCaches, Lk as removeCronTasks, Ll as init_tokenBudget, Lm as getInitializationStatus, Ln as init_filesystem, Lo as isCompactBoundaryMessage, Ls as getMarketplacesCacheDir, Lu as assembleToolPool, Lv as SelectMulti, Lw as sliceAnsi, Lx as init_BaseTextInput, M as restoreDangerousPermissions, MD as getCommandQueueLength, ME as abortPromptSuggestion, Md as unregisterLeaderToolUseConfirmQueue, Mf as init_BriefTool, Mh as writeToMailbox, Mj as convertEffortValueToLevel, Mm as markShownThisSession, Mo as getUserMessageText, Mr as isEphemeralToolProgress, Mt as createBaseHookInput, Mu as isAutoManagedMemoryFile, Mv as KeybindingSetup, My as useShimmerAnimation, N as stripDangerousPermissionsForAutoMode, NA as shouldAllowManagedSandboxDomainsOnly, ND as getCommandQueueSnapshot, NE as init_promptSuggestion, NO as getSystemContext, N_ as init_teleport, Nj as getDefaultEffortForModel, Nm as subscribeToPendingHint, Nn as generateSuggestions, No as handleMessageFromStream, Np as adjustHunkLineNumbers, Ns as addMarketplaceSource, Nv as init_KeybindingProviderSetup, Nw as init_useTerminalSize, Nx as init_utils$1, OD as dequeueAllMatching, OS as init_AppState, O_ as init_RemoteAgentTask, Od as init_leaderPermissionBridge, Oh as isTeamPermissionUpdate, Op as init_utils, Os as isPluginInstalled, Ov as fileHistoryRewind, Ox as useIsOverlayActive, Oy as isBackgroundTask, P as transitionPermissionMode, PO as getUserContext, Pa as init_ultrareviewEnabled, Pd as hasPermissionCallback, Pl as init_query, Pm as generateProgressiveArgumentHint, Pn as getScratchpadDir, Pp as getPatchForDisplay, Pr as isLoggableMessage, Ps as clearMarketplacesCache, Px as interpolateColor, Q as splitCommand_DEPRECATED, QD as getUsingOverageText, QE as shouldShowAlwaysAllowOptions, QO as init_compactWarningState, QT as getRemoteSessionUrl, Qa as REJECT_MESSAGE_WITH_REASON_PREFIX, Qb as isJetBrainsIde, Qd as init_MonitorTool, Qh as init_QueuedMessageContext, Qi as findBuddyTriggerPositions, Qn as cleanMessagesForLogging, Qo as withMemoryCorrectionHint, Qp as init_PowerShellTool, Qr as recordAttributionSnapshot, Qv as findTeammateTaskByAgentId, Qx as isVimWordChar, Qy as init_activityManager, RA as init_prompt$3, RD as isQueuedCommandVisible, RT as gracefulShutdown, Rc as FileReadTool, Rd as processSandboxPermissionResponse, Rg as init_agentToolUtils, Ri as clearCommandsCache, Rl as parseTokenBudget, Rm as getLspServerManager, Rn as isScratchpadEnabled, Rs as getPluginById, Rx as ShimmerChar, Ry as init_useTasksV2, SS as useSettings, Sg as init_contextWindowUpgradeCheck, Sh as isPlanApprovalRequest, Sj as findToolByName, Sl as init_compact, So as extractTextContent, Su as markAgentsNotified, TO as doesMostRecentAssistantMessageExceed200k, TS as init_notifications, Th as isSandboxPermissionResponse, Tm as markHintPluginShown, To as getContentText, Tp as findActualString, Tv as fileHistoryHasAnyChanges, Tx as init_select, UE as applyPermissionUpdates, UO as init_claudemd, US as useSetVoiceState, Ud as init_permissionSync, Ug as init_sideQuery, Ui as getCommand, Up as saveCurrentSessionCosts, Uu as init_WorkflowTool, Uv as SpinnerWithVerb, Ux as isFullscreenActive, Uy as init_ThemedText, VD as removeByFilter, VE as permissionRuleExtractPrefix, VO as getMemoryFiles, VS as init_voice, Vb as detectIDEs, Vd as createPermissionRequest, Vi as formatDescriptionWithSource, Vp as init_cost_tracker, Vu as init_tools, Vv as BriefIdleStatus, Vw as init_messageActions, Vx as useTextInput, Vy as TaskListV2, W as hasPermissionsToUseTool, WE as extractRules, WS as useVoiceState, Wb as getConnectedIdeClient, Wd as isSwarmWorker, Wg as sideQuery, Wi as getCommands, Wk as SKILL_TOOL_NAME, Wo as normalizeMessages, Ws as registerSeedMarketplaces, Wu as contextCollapse_exports, Wv as init_Spinner, Wx as isFullscreenEnvEnabled, Wy as AGENT_COLORS, X as extractOutputRedirections, XO as resetMicrocompactState, XS as init_imageStore, X_ as init_sessionStart, Xb as initializeIdeIntegration, Xi as isBridgeSafeCommand, Xj as init_thinking, Xk as init_toolName$1, Xl as queryCheckpoint, Xp as PowerShellTool, Xs as init_officialMarketplaceGcs, Xu as init_LocalMainSessionTask, Xv as InProcessTeammateTask, Xw as init_shortcutFormat, Xx as isVimPunctuation, Xy as isInProcessTeammateTask, YA as markGitUnavailable, YD as init_claudeAiLimits, YE as supportsPersistence, Yb as init_ide, Yi as init_commands, Yj as getRainbowColor, Yk as POWERSHELL_TOOL_NAME, Yl as logQueryProfileReport, Ys as fetchOfficialMarketplaceFromGcs, Yu as init_systemPrompt, Yv as init_selectors, Yw as getShortcutDisplay, Yx as init_Cursor, Yy as init_types$1, Z as init_commands$1, ZD as getRateLimitWarning, ZE as init_permissionsLoader, ZO as compactWarningStore, ZS as storeImage, Z_ as processSessionStartHooks, Za as REJECT_MESSAGE, Zd as MonitorTool_exports, Zh as QueuedMessageProvider, Zj as isUltrathinkEnabled, Zl as startQueryProfile, Zm as Message, Zo as textForResubmit, Zt as executeStatusLineCommand, Zu as startBackgroundSession, Zv as InProcessTeammateTask_exports, Zw as init_resolver, Zx as isVimWhitespace, Zy as activityManager, _S as getModeFromInput, _T as init_localInstaller, _d as isInProcessEnabled, _f as autoModeState_exports, _h as getLastPeerDmSummary, _j as init_constants$1, _k as init_constants$3, _o as createTurnDurationMessage, _p as HighlightedCode, _s as installPluginFromMarketplace, _u as appendMessageToLocalAgent, _v as setPlanSlug, aD as init_permissionLogging, aE as evictTerminalTask, aS as addToHistory, aa as getDialogConfig, ab as getBridgeStatus, ad as updateSessionActivity, ag as SentryErrorBoundary, ah as init_OffscreenFreeze, ai as recordTranscript, al as calculateTokenWarningState, am as parsePowerShellCommandCached, ao as createAgentsKilledMessage, ap as init_NotebookEditTool, ar as extractAgentIdsFromMessages, at as verifyApiKey, au as init_bashPermissions, ax as IdeOnboardingDialog, b as getAutoModeUnavailableNotification, bE as endTrace, bS as prependModeCharacterToInput, bf as handlePlanApprovalResponse, bg as init_markdown, bh as isPermissionRequest, bi as saveWorktreeState, bj as BASH_TOOL_NAME, bt as getCurrentWorktreeSession, bu as isPanelAgentTask, bx as init_client, cA as init_constants$2, cC as init_toolResultStorage, cD as getLanguageName, cE as updateTaskState, cS as formatPastedTextRef, ca as getCommandName, cf as EnterPlanModeTool, cg as init_classifierApprovals, ch as pillNeedsCta, cl as isAutoCompactEnabled, cm as parseSedEditCommand, co as createAssistantMessage, cp as GlobTool, cv as setEnvHookNotifier, cx as init_idePathConversion, cy as finalizeAutonomyRunCompleted, dC as reconstructContentReplacementState, dD as init_abortController, dE as init_speculation, dS as init_history, dd as getCachedBackend, df as init_planModeV2, dh as diagnosticTracker, di as restoreSessionMetadata, dm as exec$1, do as createCommandInputMessage, dp as init_GrepTool, dt as init_prompts, dv as copyPlanForResume, eC as init_imagePaste, eD as createPromptRuleContent, eE as getQuerySourceForREPL, ea as useBuddyNotification, ed as setReplBridgeHandle, ej as OFFICIAL_MARKETPLACE_SOURCE, em as init_dangerousCmdlets, eo as SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, et as init_claude, ex as isSupportedTerminal, ey as getRunningTeammatesSorted, fE as extractBashToolsFromMessages, fO as getSessionMemoryContent, fS as makeHistoryReader, fT as init_doctorDiagnostic, fa as exit$1, fd as getCachedDetectionResult, ff as isPlanModeInterviewPhaseEnabled, fg as init_claudeAiLimitsHook, fh as init_diagnosticTracking, fm as init_Shell, fv as getPlan, fx as callIdeRpc, fy as init_autonomyRuns, gO as init_sessionMemoryUtils, gT as getShellType, g_ as init_skillUsageTracking, gd as init_registry, gf as init_ExitPlanModeV2Tool, gg as Markdown, gh as createModeSetRequestMessage, gi as saveCustomTitle, gj as GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, gk as TEAM_CREATE_TOOL_NAME, gl as runPostCompactCleanup, go as createSystemMessage, gp as init_FileWriteTool, gs as init_pluginInstallationHelpers, gv as init_plans, gy as markAutonomyRunRunning, hE as init_queryHelpers, h_ as getSkillUsageScore, hf as ExitPlanModeV2Tool, hh as createIdleNotification, hj as FILE_EDIT_TOOL_NAME, hl as init_postCompactCleanup, hp as FileWriteTool, hu as init_LocalShellTask, hy as markAutonomyRunFailed, iD as isClassifierPermissionsEnabled, iE as init_ids, ib as buildIdleFooterText, ic as isSourceAllowedByPolicy, ig as init_FilePathLink, ih as OffscreenFreeze, im as init_parser, ip as NotebookEditTool, is as init_outputStyles, iu as getSimpleCommandPrefix, ix as toIDEDisplayName, jD as getCommandQueue, jS as useSetAppState, j_ as archiveRemoteSession, jd as unregisterLeaderSetToolPermissionContext, jf as BriefTool_exports, jh as sendShutdownRequestToMailbox, jm as init_claudeCodeHints, ju as init_memoryFileDetection, jx as init_TextInput, jy as init_useShimmerAnimation, kD as enqueue, kO as init_tokens, kS as useAppState, kb as init_nativeInstaller, kc as init_messagePredicates, kd as registerLeaderSetToolPermissionContext, kh as markMessagesAsRead, km as clearPendingHint, kp as preserveQuoteStyle, kr as init_sessionStorage, kv as init_fileHistory, kx as useRegisterOverlay, ky as init_ink, lD as init_cliHighlight, lE as abortSpeculation, lS as getHistory, la as isCommandEnabled, lb as init_notifier, ld as ensureBackendsRegistered, lf as init_EnterPlanModeTool, lg as setYoloClassifierApproval, lh as PrBadge, ll as init_sessionMemoryCompact, ln as getSessionEndHookTimeoutMs, lo as createAwaySummaryMessage, lp as init_GlobTool, ly as finalizeAutonomyRunFailed, mS as removeLastFromHistory, mf as init_AskUserQuestionTool, mh as init_UserTextMessage, mj as CLAUDE_FOLDER_PERMISSION_PATTERN, mo as createScheduledTaskFireMessage, mr as getCurrentSessionTitle, ms as cacheAndRegisterPlugin, mu as hasForegroundTasks, mv as getPlanSlug, mw as init_claudeai, nD as getBashPromptAllowDescriptions, nE as asAgentId, nO as init_imageResizer, na as init_ultraplan, nb as buildBridgeConnectUrl, nd as init_concurrentSessions, nm as isAllowlistedCommand, nt as queryModelWithoutStreaming, nu as clearSpeculativeChecks, ny as injectUserMessageToTeammate, oD as logPermissionDecision, oS as expandPastedTextRefs, oa as getPromptIdentifier, ob as init_bridgeStatusUtil, og as init_SentryErrorBoundary, oh as getPillLabel, ol as getEffectiveContextWindowSize, om as applySedSubstitution, oo as createApiMetricsMessage, op as init_notebook, os as clearPluginCache, ou as BashTool, ov as init_fileChangedWatcher, ox as init_IdeOnboardingDialog, oy as createAutonomyQueuedPrompt, pE as extractReadFilesFromMessages, pS as parseReferences, pa as init_exit, pf as AskUserQuestionTool, pg as useClaudeAiLimits, ph as UserTextMessage, pi as saveAgentName, pj as init_prompt, pu as backgroundAll, pv as getPlanFilePath, pw as hasClaudeAiMcpEverConnected, q as init_shouldUseSandbox, qA as checkGitAvailable, qE as persistPermissionUpdate, qS as cacheImagePath, q_ as deserializeMessages, qa as EMPTY_LOOKUPS, qd as sendSandboxPermissionRequestViaMailbox, qf as init_WebFetchTool, qi as getSlashCommandToolSkills, qj as toPersistableEffort, qm as SkillTool, qu as resumeAgentBackground, qv as getActiveAgentForInput, qw as useShortcutDisplay, qx as Cursor, qy as init_agentColorManager, rD as init_bashClassifier, rE as asSessionId, rO as maybeResizeAndDownsampleImageBlock, ra as launchUltraplan, rc as init_marketplaceHelpers, rd as isBgSession, rg as FilePathLink, rm as getAllCommands, ru as getFirstWordPrefix, sA as EXIT_PLAN_MODE_V2_TOOL_NAME, sD as getCliHighlightPromise, sE as init_framework, sS as formatImageRef, sa as init_prompt$1, sd as updateSessionName, sg as clearClassifierChecking, sh as init_pillLabel, si as removeTranscriptMessage, sl as init_autoCompact, sm as init_sedEditParser, sp as parseCellId, su as init_BashTool, sx as WindowsToWSLConverter, sy as createProactiveAutonomyCommands, tD as generateGenericDescription, tE as init_promptCategory, t_ as init_sessionHooks, ta as CCR_TERMS_URL, tb as buildActiveFooterText, tj as init_officialMarketplace, tm as init_readOnlyValidation, tr as clearSessionMetadata, tt as queryHaiku, tx as isSupportedVSCodeTerminal, ty as init_InProcessTeammateTask, uC as provisionContentReplacementState, uD as createAbortController, uE as handleSpeculationAccept, uS as getPastedTextRefNumLines, uT as getCurrentInstallationType, ub as sendNotification, ud as getBackendByType, uf as getPewterLedgerVariant, uh as init_PrBadge, ui as resetSessionFilePointer, ul as shouldUseSessionMemoryCompaction, uo as createBridgeStatusMessage, up as GrepTool, ur as getAgentTranscript, us as init_pluginLoader, ut as getSystemPrompt, uv as copyPlanForFork, vD as init_prompt$4, vE as init_langfuse, vS as getValueFromInput, vf as init_autoModeState, vg as init_Markdown, vh as init_teammateMailbox, vn as init_hooks, vp as init_HighlightedCode, vu as init_LocalAgentTask, wE as isLangfuseEnabled, wS as useClipboardImageHint, wc as createAttachmentMessage, wh as isSandboxPermissionRequest, wj as init_Tool, wk as isKairosCronEnabled, wl as partialCompactConversation, wm as init_hintRecommendation, wo as getAssistantMessageText, wp as init_FileEditTool, wr as getTranscriptPath, ws as init_installedPluginsManager, wx as Select, x as getAutoModeUnavailableReason, xS as init_useSettings, xf as init_inProcessTeammateHelpers, xg as getUpgradeMessage, xh as isPermissionResponse, xi as searchSessionsByCustomTitle, xj as init_toolName, xu as killAllRunningAgentTasks, xv as copyFileHistoryForResume, yE as createTrace, yS as init_inputModes, yf as findInProcessTeammateTaskId, yg as applyMarkdown, yh as isModeSetRequest, yo as createUserMessage, yu as isLocalAgentTask, zD as peek, zS as init_mailbox, zT as gracefulShutdownSync, za as isPolicyAllowed, zc as init_FileReadTool, zd as registerPermissionCallback, zg as resolveAgentTools, zj as getOpusDefaultEffortConfig, zm as init_manager, zn as normalizeCaseForComparison, zp as formatTotalCost, zs as init_marketplaceManager, zu as getAllBaseTools, zw as MessageActionsBar, zx as init_ShimmerChar, zy as useTasksV2 } from "./loadAgentsDir-C72eo76O.js";
|
|
33
|
+
import { a as RARITY_COLORS, n as getCompanion, r as init_companion, v as init_types$2 } from "./companion-B8Dlllnk.js";
|
|
34
|
+
import { r as init_xml$1, t as escapeXml } from "./xml-DbZZp8Zy.js";
|
|
35
35
|
import { a as tryParseShellCommand, i as quote, r as init_shellQuote } from "./shellQuote-BZo04Haf.js";
|
|
36
36
|
import { a as createFileStateCacheWithSizeLimit, o as init_fileStateCache, s as mergeFileStateCaches } from "./fileStateCache-CXKS8lcD.js";
|
|
37
|
-
import { C as proactive_exports, N as init_sdkEventQueue, S as isProactivePaused, T as shouldTick, X as asSystemPrompt, b as isContextBlocked, d as init_sessionState, f as notifyAutomationStateChanged, j as emitTaskTerminatedSdk, w as setNextTickAt, x as isProactiveActive, y as init_proactive } from "./rcDebugLog-
|
|
38
|
-
import { T as logOTelEvent, c as init_sessionTracing, r as endInteractionSpan, w as init_events } from "./sessionTracing-
|
|
37
|
+
import { C as proactive_exports, N as init_sdkEventQueue, S as isProactivePaused, T as shouldTick, X as asSystemPrompt, b as isContextBlocked, d as init_sessionState, f as notifyAutomationStateChanged, j as emitTaskTerminatedSdk, w as setNextTickAt, x as isProactiveActive, y as init_proactive } from "./rcDebugLog-4yU5VWxa.js";
|
|
38
|
+
import { T as logOTelEvent, c as init_sessionTracing, r as endInteractionSpan, w as init_events } from "./sessionTracing-BsNTXXLM.js";
|
|
39
39
|
import { i as parseCommand, n as extractCommandArguments, r as init_parser$1 } from "./parser-B7lrIiVi.js";
|
|
40
|
-
import { c as incrementPromptCount, l as init_commitAttribution } from "./commitAttribution-
|
|
41
|
-
import { n as isPoorModeActive, t as init_poorMode } from "./poorMode-
|
|
42
|
-
import { A as ensureTasksDir, E as claimTask, H as updateTask, I as listTasks, L as onTasksUpdated, M as getTaskListId, N as getTasksDir, P as init_tasks, V as unassignTeammateTasks, _ as syncTeammateMode, a as init_teamHelpers, b as init_types$3, d as removeTeammateFromTeamFile, g as setMultipleMemberModes, h as setMemberMode, m as setMemberActive, o as readTeamFile, u as removeMemberFromTeam, x as isPaneBackend } from "./teamHelpers-
|
|
43
|
-
import { a as getOAuthHeaders, c as prepareApiRequest, o as init_api, u as updateSessionTitle } from "./api-
|
|
40
|
+
import { c as incrementPromptCount, l as init_commitAttribution } from "./commitAttribution-DpIpJU2o.js";
|
|
41
|
+
import { n as isPoorModeActive, t as init_poorMode } from "./poorMode-KlsKA4Dw.js";
|
|
42
|
+
import { A as ensureTasksDir, E as claimTask, H as updateTask, I as listTasks, L as onTasksUpdated, M as getTaskListId, N as getTasksDir, P as init_tasks, V as unassignTeammateTasks, _ as syncTeammateMode, a as init_teamHelpers, b as init_types$3, d as removeTeammateFromTeamFile, g as setMultipleMemberModes, h as setMemberMode, m as setMemberActive, o as readTeamFile, u as removeMemberFromTeam, x as isPaneBackend } from "./teamHelpers-CS6BiyXo.js";
|
|
43
|
+
import { a as getOAuthHeaders, c as prepareApiRequest, o as init_api, u as updateSessionTitle } from "./api-B9EiITN3.js";
|
|
44
44
|
import { n as openBrowser, t as init_browser } from "./browser-JbnSg475.js";
|
|
45
45
|
import { t as init_useKeybinding } from "./useKeybinding-BnzwmphY.js";
|
|
46
46
|
import { c as init_common, u as isTrackedClaudeInChromeTabId } from "./common-DL26eBsR.js";
|
|
47
|
-
import { i as init_terminalSetup, m as maybeMarkProjectOnboardingComplete, n as getNativeCSIuTerminalDisplayName, p as init_projectOnboardingState } from "./terminalSetup-
|
|
48
|
-
import { d as init_useDoublePress, l as init_useExitOnCtrlCDWithKeybindings, u as useExitOnCtrlCDWithKeybindings } from "./referral-
|
|
47
|
+
import { i as init_terminalSetup, m as maybeMarkProjectOnboardingComplete, n as getNativeCSIuTerminalDisplayName, p as init_projectOnboardingState } from "./terminalSetup-BK7LahH5.js";
|
|
48
|
+
import { d as init_useDoublePress, l as init_useExitOnCtrlCDWithKeybindings, u as useExitOnCtrlCDWithKeybindings } from "./referral-D46sEC3u.js";
|
|
49
49
|
import { a as TEAM_LEAD_NAME, c as init_constants$5, o as TMUX_COMMAND, s as getSwarmSocketName } from "./constants-Ccyu17fk.js";
|
|
50
|
-
import { i as isVoiceGrowthBookEnabled, n as init_voiceModeEnabled, t as hasVoiceAuth } from "./voiceModeEnabled-
|
|
50
|
+
import { i as isVoiceGrowthBookEnabled, n as init_voiceModeEnabled, t as hasVoiceAuth } from "./voiceModeEnabled-C8WAlYqm.js";
|
|
51
51
|
import { o as isInsideTmux, r as init_detection, s as isInsideTmuxSync } from "./detection-B7UH3_g7.js";
|
|
52
|
-
import { n as init_undercover, r as isUndercover } from "./undercover-
|
|
53
|
-
import { i as isBridgeEnabled, r as init_bridgeEnabled } from "./bridgeEnabled-
|
|
52
|
+
import { n as init_undercover, r as isUndercover } from "./undercover-BVICZnNj.js";
|
|
53
|
+
import { i as isBridgeEnabled, r as init_bridgeEnabled } from "./bridgeEnabled-Cu0GsgQC.js";
|
|
54
54
|
import { t as require_lib } from "./lib-CnkuCi7e.js";
|
|
55
55
|
import { t as init_Dialog } from "./Dialog-Bl_rTts3.js";
|
|
56
|
-
import { n as init_mappers, t as fromSDKCompactMetadata } from "./mappers-
|
|
57
|
-
import { n as generateSessionTitle, r as init_sessionTitle } from "./sessionTitle-
|
|
58
|
-
import { t as BoundedUUIDSet } from "./bridgeMessaging-
|
|
59
|
-
import { a as init_teamDiscovery, i as getTeammateStatuses, r as init_pipeTransport, t as getPipeIpc } from "./pipeTransport-
|
|
60
|
-
import { t as useManagePlugins } from "./useManagePlugins-
|
|
61
|
-
import { c as init_channelNotification, n as CHANNEL_PERMISSION_REQUEST_METHOD, o as findChannelEntry } from "./channelNotification-
|
|
62
|
-
import { a as filterPermissionRelayClients, c as truncateForPreview, n as init_MCPConnectionManager, o as init_channelPermissions, s as shortRequestId, t as MCPConnectionManager } from "./MCPConnectionManager-
|
|
63
|
-
import { c as reconcileMarketplaces, i as createCronScheduler, l as extractInboundMessageFields, n as getCronJitterConfig, o as init_cronScheduler, r as init_cronJitterConfig, s as diffMarketplaces, u as SANDBOX_NETWORK_ACCESS_TOOL_NAME } from "./cronJitterConfig-
|
|
64
|
-
import { n as mergeAndFilterTools, t as init_toolPool } from "./toolPool-
|
|
65
|
-
import { a as selectableUserMessagesFilter, c as processUserInput, i as messagesAfterAreOnlySynthetic, l as findUltraplanTriggerPositions, o as buildSystemInitMessage, r as init_MessageSelector, t as MessageSelector, u as findUltrareviewTriggerPositions } from "./MessageSelector-
|
|
66
|
-
import { n as init_sideQuestion, t as findBtwTriggerPositions } from "./sideQuestion-
|
|
67
|
-
import { a as restoreAgentFromSession, n as computeStandaloneAgentContext, o as restoreSessionStateFromLog, r as exitRestoredWorktree, s as restoreWorktreeForResume, t as skillChangeDetector } from "./skillChangeDetector-
|
|
68
|
-
import { n as refreshActivePlugins, t as init_refresh } from "./refresh-
|
|
56
|
+
import { n as init_mappers, t as fromSDKCompactMetadata } from "./mappers-Bx-2sRzn.js";
|
|
57
|
+
import { n as generateSessionTitle, r as init_sessionTitle } from "./sessionTitle-BiJqks0Y.js";
|
|
58
|
+
import { t as BoundedUUIDSet } from "./bridgeMessaging-CMCuOWPg.js";
|
|
59
|
+
import { a as init_teamDiscovery, i as getTeammateStatuses, r as init_pipeTransport, t as getPipeIpc } from "./pipeTransport-B2LrKe0N.js";
|
|
60
|
+
import { t as useManagePlugins } from "./useManagePlugins-DT4FB9u2.js";
|
|
61
|
+
import { c as init_channelNotification, n as CHANNEL_PERMISSION_REQUEST_METHOD, o as findChannelEntry } from "./channelNotification-CAbX7jUR.js";
|
|
62
|
+
import { a as filterPermissionRelayClients, c as truncateForPreview, n as init_MCPConnectionManager, o as init_channelPermissions, s as shortRequestId, t as MCPConnectionManager } from "./MCPConnectionManager-CEbFWjqj.js";
|
|
63
|
+
import { c as reconcileMarketplaces, i as createCronScheduler, l as extractInboundMessageFields, n as getCronJitterConfig, o as init_cronScheduler, r as init_cronJitterConfig, s as diffMarketplaces, u as SANDBOX_NETWORK_ACCESS_TOOL_NAME } from "./cronJitterConfig-CGula0w8.js";
|
|
64
|
+
import { n as mergeAndFilterTools, t as init_toolPool } from "./toolPool-DdxWg47z.js";
|
|
65
|
+
import { a as selectableUserMessagesFilter, c as processUserInput, i as messagesAfterAreOnlySynthetic, l as findUltraplanTriggerPositions, o as buildSystemInitMessage, r as init_MessageSelector, t as MessageSelector, u as findUltrareviewTriggerPositions } from "./MessageSelector-Dw8yVgHn.js";
|
|
66
|
+
import { n as init_sideQuestion, t as findBtwTriggerPositions } from "./sideQuestion-BxdxvzE5.js";
|
|
67
|
+
import { a as restoreAgentFromSession, n as computeStandaloneAgentContext, o as restoreSessionStateFromLog, r as exitRestoredWorktree, s as restoreWorktreeForResume, t as skillChangeDetector } from "./skillChangeDetector-CHSWOerw.js";
|
|
68
|
+
import { n as refreshActivePlugins, t as init_refresh } from "./refresh-B354z_gb.js";
|
|
69
69
|
import { i as isPathLikeToken, n as getPathCompletions, r as init_directoryCompletion, t as getDirectoryCompletions } from "./directoryCompletion-BU0Dlg1v.js";
|
|
70
|
-
import { r as init_PromptInputFooterSuggestions, t as PromptInputFooterSuggestions } from "./PromptInputFooterSuggestions-
|
|
71
|
-
import { n as useMergedTools, t as init_useMergedTools } from "./useMergedTools-
|
|
72
|
-
import { a as init_editor, i as getExternalEditor, n as editPromptInEditor, o as openFileInExternalEditor, r as init_promptEditor, t as editFileInEditor } from "./promptEditor-
|
|
73
|
-
import { n as useMainLoopModel, t as init_useMainLoopModel } from "./useMainLoopModel-
|
|
70
|
+
import { r as init_PromptInputFooterSuggestions, t as PromptInputFooterSuggestions } from "./PromptInputFooterSuggestions-Xy2gYy25.js";
|
|
71
|
+
import { n as useMergedTools, t as init_useMergedTools } from "./useMergedTools-ycEaiRuO.js";
|
|
72
|
+
import { a as init_editor, i as getExternalEditor, n as editPromptInEditor, o as openFileInExternalEditor, r as init_promptEditor, t as editFileInEditor } from "./promptEditor-NuKIAbMA.js";
|
|
73
|
+
import { n as useMainLoopModel, t as init_useMainLoopModel } from "./useMainLoopModel-Bq3koPFq.js";
|
|
74
74
|
import { i as init_PermissionRequestTitle, n as init_PermissionDialog, r as PermissionRequestTitle, t as PermissionDialog } from "./PermissionDialog-D7UNIOtc.js";
|
|
75
|
-
import { n as init_RemoteCallout, t as RemoteCallout } from "./RemoteCallout-
|
|
76
|
-
import { i as spriteFrameCount, n as renderFace, r as renderSprite, t as init_sprites } from "./sprites-
|
|
77
|
-
import { a as shouldEnableClaudeInChrome, n as isChromeExtensionInstalled, t as init_setup } from "./setup-
|
|
78
|
-
import { a as generateFileSuggestions, c as startBackgroundCacheRefresh, i as findLongestCommonPrefix, o as init_fileSuggestions, r as applyFileSuggestion, s as onIndexBuildComplete } from "./caches-
|
|
79
|
-
import { n as init_conversation, t as clearConversation } from "./conversation-
|
|
80
|
-
import {
|
|
81
|
-
import { n as
|
|
82
|
-
import { n as
|
|
83
|
-
import { n as
|
|
84
|
-
import { n as
|
|
85
|
-
import {
|
|
86
|
-
import { n as
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import { n as
|
|
92
|
-
import { n as
|
|
93
|
-
import { n as
|
|
94
|
-
import { n as
|
|
95
|
-
import { n as
|
|
96
|
-
import {
|
|
97
|
-
import { r as
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
75
|
+
import { n as init_RemoteCallout, t as RemoteCallout } from "./RemoteCallout-CO-koWt4.js";
|
|
76
|
+
import { i as spriteFrameCount, n as renderFace, r as renderSprite, t as init_sprites } from "./sprites-CKFItufM.js";
|
|
77
|
+
import { a as shouldEnableClaudeInChrome, n as isChromeExtensionInstalled, t as init_setup } from "./setup-r_wH3t2q.js";
|
|
78
|
+
import { a as generateFileSuggestions, c as startBackgroundCacheRefresh, i as findLongestCommonPrefix, o as init_fileSuggestions, r as applyFileSuggestion, s as onIndexBuildComplete } from "./caches-Dga-SWBx.js";
|
|
79
|
+
import { n as init_conversation, t as clearConversation } from "./conversation-gnmmmJnB.js";
|
|
80
|
+
import { n as init_StructuredDiff, t as StructuredDiff } from "./StructuredDiff-B6ZCMWS1.js";
|
|
81
|
+
import { a as effortLevelToSymbol, i as init_ModelPicker, n as isBilledAsExtraUsage, o as getEffortNotificationText, r as ModelPicker, s as init_EffortIndicator, t as init_extraUsage } from "./extraUsage-Mc4ASNJv.js";
|
|
82
|
+
import { n as useSearchInput, t as init_useSearchInput } from "./useSearchInput-BQwt8lhC.js";
|
|
83
|
+
import { n as useSettingsErrors, t as init_useSettingsErrors } from "./useSettingsErrors-GLYWCTHJ.js";
|
|
84
|
+
import { n as init_shadowedRuleDetection, t as detectUnreachableRules } from "./shadowedRuleDetection-BWDwVkdP.js";
|
|
85
|
+
import { n as init_ExitFlow, t as ExitFlow } from "./ExitFlow-BfsgW10m.js";
|
|
86
|
+
import { a as init_FullscreenLayout, c as useSetPromptOverlay, i as computeUnseenDivider, l as useSetPromptOverlayDialog, n as init_Messages, o as useUnseenDivider, r as FullscreenLayout, s as init_promptOverlayContext, t as Messages } from "./Messages-DATTswTy.js";
|
|
87
|
+
import { n as renderMessagesToPlainText, t as init_exportRenderer } from "./exportRenderer-CaHsMpAb.js";
|
|
88
|
+
import { i as useKickOffCheckAndDisableAutoModeIfNeeded, n as init_bypassPermissionsKillswitch, t as checkAndDisableAutoModeIfNeeded } from "./bypassPermissionsKillswitch-MrXUBqLu.js";
|
|
89
|
+
import { a as init_FastIcon, i as getFastIconString, r as init_fast, t as FastModePicker } from "./fast-k6ZhmOIi.js";
|
|
90
|
+
import { n as init_Feedback, r as redactSensitiveInfo } from "./Feedback-B_bPT-tv.js";
|
|
91
|
+
import { a as isVimModeEnabled, i as isNonSpacePrintable, n as init_PromptInputHelpMenu, r as init_utils$2, t as PromptInputHelpMenu } from "./PromptInputHelpMenu-AgXLpTa-.js";
|
|
92
|
+
import { n as getResolvedLanguage, r as init_language } from "./language-jmtIakwT.js";
|
|
93
|
+
import { n as init_pluginAutoupdate, r as onPluginsAutoUpdated } from "./pluginAutoupdate-Dpz5qa0X.js";
|
|
94
|
+
import { n as init_autoModeDenials, r as recordAutoModeDenial } from "./autoModeDenials-DR83Ic7k.js";
|
|
95
|
+
import { n as init_generateSessionName, t as generateSessionName } from "./generateSessionName-L0_s6vCa.js";
|
|
96
|
+
import { n as init_fuse, t as Fuse } from "./fuse-BhjvaeDO.js";
|
|
97
|
+
import { a as shouldHideTasksFooter, c as init_teammateViewHelpers, i as isTerminalStatus, l as stopOrDismissAgent, n as init_BackgroundTasksDialog, o as enterTeammateView, r as init_taskStatusUtils, s as exitTeammateView, t as BackgroundTasksDialog } from "./BackgroundTasksDialog-B5KsOVIe.js";
|
|
98
|
+
import { r as useVoice_exports, t as init_useVoice } from "./useVoice-BqV1DBt-.js";
|
|
99
|
+
import { n as useFpsMetrics } from "./fpsMetrics-Cl8mZ9J8.js";
|
|
100
|
+
import { t as consumeEarlyInput } from "./earlyInput-CATfkVKA.js";
|
|
101
|
+
import { a as recordTipShown, c as getModelDeprecationWarning, f as initializeTeammateContextFromSession, i as getSessionsSinceLastShown, l as getExampleCommandFromCache, o as DesktopUpsellStartup, r as getRelevantTips, s as shouldShowDesktopUpsellStartup, t as RemoteSessionManager } from "./RemoteSessionManager-Cc5O4Iz6.js";
|
|
102
|
+
import { n as applySkillImprovement, t as startBackgroundHousekeeping } from "./backgroundHousekeeping-D0GmJKrV.js";
|
|
102
103
|
import { homedir, tmpdir } from "os";
|
|
103
104
|
import * as path$1 from "path";
|
|
104
105
|
import { basename, dirname, extname, join, relative, sep } from "path";
|
|
105
106
|
import { watch } from "fs";
|
|
106
107
|
import { randomUUID } from "crypto";
|
|
107
|
-
import { readFile, stat, writeFile } from "fs/promises";
|
|
108
|
+
import { open, readFile, stat, writeFile } from "fs/promises";
|
|
108
109
|
import { spawn, spawnSync } from "child_process";
|
|
109
110
|
//#region src/components/CostThresholdDialog.tsx
|
|
110
111
|
init_envUtils();
|
|
@@ -921,6 +922,7 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
921
922
|
return;
|
|
922
923
|
}
|
|
923
924
|
let cancelled = false;
|
|
925
|
+
const pendingPermissionHandlers = /* @__PURE__ */ new Map();
|
|
924
926
|
const initialMessageCount = messages.length;
|
|
925
927
|
(async () => {
|
|
926
928
|
try {
|
|
@@ -931,11 +933,11 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
931
933
|
logForDebugging("[bridge:repl] Hook: previous teardown complete, proceeding with re-init");
|
|
932
934
|
}
|
|
933
935
|
if (cancelled) return;
|
|
934
|
-
const { initReplBridge } = await import("./initReplBridge-
|
|
935
|
-
const { shouldShowAppUpgradeMessage } = await import("./envLessBridgeConfig-
|
|
936
|
+
const { initReplBridge } = await import("./initReplBridge-DvZC3LMj.js");
|
|
937
|
+
const { shouldShowAppUpgradeMessage } = await import("./envLessBridgeConfig-zdUL4H6-.js");
|
|
936
938
|
let perpetual = false;
|
|
937
939
|
{
|
|
938
|
-
const { isAssistantMode } = await import("./assistant-
|
|
940
|
+
const { isAssistantMode } = await import("./assistant-SUHURrLf.js");
|
|
939
941
|
perpetual = isAssistantMode();
|
|
940
942
|
}
|
|
941
943
|
async function handleInboundMessage(msg) {
|
|
@@ -943,7 +945,7 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
943
945
|
const fields = extractInboundMessageFields(msg);
|
|
944
946
|
if (!fields) return;
|
|
945
947
|
const { uuid } = fields;
|
|
946
|
-
const { resolveAndPrepend } = await import("./inboundAttachments-
|
|
948
|
+
const { resolveAndPrepend } = await import("./inboundAttachments-0DCFrfnN.js");
|
|
947
949
|
const rawContent = fields.content;
|
|
948
950
|
const content = await resolveAndPrepend(msg, typeof rawContent === "string" ? rawContent : rawContent);
|
|
949
951
|
logForDebugging(`[bridge:repl] Injecting inbound user message: ${typeof content === "string" ? content.slice(0, 80) : `[${content.length} content blocks]`}${uuid ? ` uuid=${uuid}` : ""}`);
|
|
@@ -1067,7 +1069,6 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
1067
1069
|
break;
|
|
1068
1070
|
}
|
|
1069
1071
|
}
|
|
1070
|
-
const pendingPermissionHandlers = /* @__PURE__ */ new Map();
|
|
1071
1072
|
function handlePermissionResponse(msg) {
|
|
1072
1073
|
const requestId = msg.response?.request_id;
|
|
1073
1074
|
if (!requestId) return;
|
|
@@ -1301,6 +1302,7 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
1301
1302
|
})();
|
|
1302
1303
|
return () => {
|
|
1303
1304
|
cancelled = true;
|
|
1305
|
+
pendingPermissionHandlers.clear();
|
|
1304
1306
|
clearTimeout(failureTimeoutRef.current);
|
|
1305
1307
|
failureTimeoutRef.current = void 0;
|
|
1306
1308
|
if (handleRef.current) {
|
|
@@ -4061,12 +4063,171 @@ function PermissionExplainerContent({ visible, promise }) {
|
|
|
4061
4063
|
});
|
|
4062
4064
|
}
|
|
4063
4065
|
//#endregion
|
|
4066
|
+
//#region src/utils/readEditContext.ts
|
|
4067
|
+
init_errors();
|
|
4068
|
+
var CHUNK_SIZE = 8 * 1024;
|
|
4069
|
+
var MAX_SCAN_BYTES = 10 * 1024 * 1024;
|
|
4070
|
+
var NL = 10;
|
|
4071
|
+
/**
|
|
4072
|
+
* Opens `path` for reading. Returns null on ENOENT. Caller owns close().
|
|
4073
|
+
*/
|
|
4074
|
+
async function openForScan(path) {
|
|
4075
|
+
try {
|
|
4076
|
+
return await open(path, "r");
|
|
4077
|
+
} catch (e) {
|
|
4078
|
+
if (isENOENT(e)) return null;
|
|
4079
|
+
throw e;
|
|
4080
|
+
}
|
|
4081
|
+
}
|
|
4082
|
+
/**
|
|
4083
|
+
* Handle-accepting core of readEditContext. Caller owns open/close.
|
|
4084
|
+
*/
|
|
4085
|
+
async function scanForContext(handle, needle, contextLines) {
|
|
4086
|
+
if (needle === "") return {
|
|
4087
|
+
content: "",
|
|
4088
|
+
lineOffset: 1,
|
|
4089
|
+
truncated: false
|
|
4090
|
+
};
|
|
4091
|
+
const needleLF = Buffer.from(needle, "utf8");
|
|
4092
|
+
let nlCount = 0;
|
|
4093
|
+
for (let i = 0; i < needleLF.length; i++) if (needleLF[i] === NL) nlCount++;
|
|
4094
|
+
let needleCRLF;
|
|
4095
|
+
const overlap = needleLF.length + nlCount - 1;
|
|
4096
|
+
const buf = Buffer.allocUnsafe(CHUNK_SIZE + overlap);
|
|
4097
|
+
let pos = 0;
|
|
4098
|
+
let linesBeforePos = 0;
|
|
4099
|
+
let prevTail = 0;
|
|
4100
|
+
while (pos < MAX_SCAN_BYTES) {
|
|
4101
|
+
const { bytesRead } = await handle.read(buf, prevTail, CHUNK_SIZE, pos);
|
|
4102
|
+
if (bytesRead === 0) break;
|
|
4103
|
+
const viewLen = prevTail + bytesRead;
|
|
4104
|
+
let matchAt = indexOfWithin(buf, needleLF, viewLen);
|
|
4105
|
+
let matchLen = needleLF.length;
|
|
4106
|
+
if (matchAt === -1 && nlCount > 0) {
|
|
4107
|
+
needleCRLF ?? (needleCRLF = Buffer.from(needle.replaceAll("\n", "\r\n"), "utf8"));
|
|
4108
|
+
matchAt = indexOfWithin(buf, needleCRLF, viewLen);
|
|
4109
|
+
matchLen = needleCRLF.length;
|
|
4110
|
+
}
|
|
4111
|
+
if (matchAt !== -1) return await sliceContext(handle, buf, pos - prevTail + matchAt, matchLen, contextLines, linesBeforePos + countNewlines(buf, 0, matchAt));
|
|
4112
|
+
pos += bytesRead;
|
|
4113
|
+
const nextTail = Math.min(overlap, viewLen);
|
|
4114
|
+
linesBeforePos += countNewlines(buf, 0, viewLen - nextTail);
|
|
4115
|
+
prevTail = nextTail;
|
|
4116
|
+
buf.copyWithin(0, viewLen - prevTail, viewLen);
|
|
4117
|
+
}
|
|
4118
|
+
return {
|
|
4119
|
+
content: "",
|
|
4120
|
+
lineOffset: 1,
|
|
4121
|
+
truncated: pos >= MAX_SCAN_BYTES
|
|
4122
|
+
};
|
|
4123
|
+
}
|
|
4124
|
+
/**
|
|
4125
|
+
* Reads the entire file via `handle` up to MAX_SCAN_BYTES. Returns null if the
|
|
4126
|
+
* file exceeds the cap. For the multi-edit path in FileEditToolDiff where
|
|
4127
|
+
* sequential replacements need the full string.
|
|
4128
|
+
*
|
|
4129
|
+
* Single buffer, doubles on fill — ~log2(size/8KB) allocs instead of O(n)
|
|
4130
|
+
* chunks + concat. Reads directly into the right offset; no intermediate copies.
|
|
4131
|
+
*/
|
|
4132
|
+
async function readCapped(handle) {
|
|
4133
|
+
let buf = Buffer.allocUnsafe(CHUNK_SIZE);
|
|
4134
|
+
let total = 0;
|
|
4135
|
+
for (;;) {
|
|
4136
|
+
if (total === buf.length) {
|
|
4137
|
+
const grown = Buffer.allocUnsafe(Math.min(buf.length * 2, MAX_SCAN_BYTES + CHUNK_SIZE));
|
|
4138
|
+
buf.copy(grown, 0, 0, total);
|
|
4139
|
+
buf = grown;
|
|
4140
|
+
}
|
|
4141
|
+
const { bytesRead } = await handle.read(buf, total, buf.length - total, total);
|
|
4142
|
+
if (bytesRead === 0) break;
|
|
4143
|
+
total += bytesRead;
|
|
4144
|
+
if (total > 10485760) return null;
|
|
4145
|
+
}
|
|
4146
|
+
return normalizeCRLF(buf, total);
|
|
4147
|
+
}
|
|
4148
|
+
/** buf.indexOf bounded to [0, end) without allocating a view. */
|
|
4149
|
+
function indexOfWithin(buf, needle, end) {
|
|
4150
|
+
const at = buf.indexOf(needle);
|
|
4151
|
+
return at === -1 || at + needle.length > end ? -1 : at;
|
|
4152
|
+
}
|
|
4153
|
+
function countNewlines(buf, start, end) {
|
|
4154
|
+
let n = 0;
|
|
4155
|
+
for (let i = start; i < end; i++) if (buf[i] === NL) n++;
|
|
4156
|
+
return n;
|
|
4157
|
+
}
|
|
4158
|
+
/** Decode buf[0..len) to utf8, normalizing CRLF only if CR is present. */
|
|
4159
|
+
function normalizeCRLF(buf, len) {
|
|
4160
|
+
const s = buf.toString("utf8", 0, len);
|
|
4161
|
+
return s.includes("\r") ? s.replaceAll("\r\n", "\n") : s;
|
|
4162
|
+
}
|
|
4163
|
+
/**
|
|
4164
|
+
* Given an absolute match offset, read ±contextLines around it and return
|
|
4165
|
+
* the decoded slice with its starting line number. Reuses `scratch` (the
|
|
4166
|
+
* caller's scan buffer) for back/forward/output reads — zero new allocs
|
|
4167
|
+
* when the context fits, one alloc otherwise.
|
|
4168
|
+
*/
|
|
4169
|
+
async function sliceContext(handle, scratch, matchStart, matchLen, contextLines, linesBeforeMatch) {
|
|
4170
|
+
const backChunk = Math.min(matchStart, CHUNK_SIZE);
|
|
4171
|
+
const { bytesRead: backRead } = await handle.read(scratch, 0, backChunk, matchStart - backChunk);
|
|
4172
|
+
let ctxStart = matchStart;
|
|
4173
|
+
let nlSeen = 0;
|
|
4174
|
+
for (let i = backRead - 1; i >= 0 && nlSeen <= contextLines; i--) {
|
|
4175
|
+
if (scratch[i] === NL) {
|
|
4176
|
+
nlSeen++;
|
|
4177
|
+
if (nlSeen > contextLines) break;
|
|
4178
|
+
}
|
|
4179
|
+
ctxStart--;
|
|
4180
|
+
}
|
|
4181
|
+
const lineOffset = linesBeforeMatch - countNewlines(scratch, backRead - (matchStart - ctxStart), backRead) + 1;
|
|
4182
|
+
const matchEnd = matchStart + matchLen;
|
|
4183
|
+
const { bytesRead: fwdRead } = await handle.read(scratch, 0, CHUNK_SIZE, matchEnd);
|
|
4184
|
+
let ctxEnd = matchEnd;
|
|
4185
|
+
nlSeen = 0;
|
|
4186
|
+
for (let i = 0; i < fwdRead; i++) {
|
|
4187
|
+
ctxEnd++;
|
|
4188
|
+
if (scratch[i] === NL) {
|
|
4189
|
+
nlSeen++;
|
|
4190
|
+
if (nlSeen >= contextLines + 1) break;
|
|
4191
|
+
}
|
|
4192
|
+
}
|
|
4193
|
+
const len = ctxEnd - ctxStart;
|
|
4194
|
+
const out = len <= scratch.length ? scratch : Buffer.allocUnsafe(len);
|
|
4195
|
+
const { bytesRead: outRead } = await handle.read(out, 0, len, ctxStart);
|
|
4196
|
+
return {
|
|
4197
|
+
content: normalizeCRLF(out, outRead),
|
|
4198
|
+
lineOffset,
|
|
4199
|
+
truncated: false
|
|
4200
|
+
};
|
|
4201
|
+
}
|
|
4202
|
+
//#endregion
|
|
4203
|
+
//#region src/components/StructuredDiffList.tsx
|
|
4204
|
+
init_src();
|
|
4205
|
+
init_StructuredDiff();
|
|
4206
|
+
/** Renders a list of diff hunks with ellipsis separators between them. */
|
|
4207
|
+
function StructuredDiffList({ hunks, dim, width, filePath, firstLine, fileContent }) {
|
|
4208
|
+
return intersperse(hunks.map((hunk) => /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(ThemedBox, {
|
|
4209
|
+
flexDirection: "column",
|
|
4210
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(StructuredDiff, {
|
|
4211
|
+
patch: hunk,
|
|
4212
|
+
dim,
|
|
4213
|
+
width,
|
|
4214
|
+
filePath,
|
|
4215
|
+
firstLine,
|
|
4216
|
+
fileContent
|
|
4217
|
+
})
|
|
4218
|
+
}, hunk.newStart)), (i) => /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(NoSelect, {
|
|
4219
|
+
fromLeftEdge: true,
|
|
4220
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(ThemedText, {
|
|
4221
|
+
dimColor: true,
|
|
4222
|
+
children: "..."
|
|
4223
|
+
})
|
|
4224
|
+
}, `ellipsis-${i}`));
|
|
4225
|
+
}
|
|
4226
|
+
//#endregion
|
|
4064
4227
|
//#region src/components/FileEditToolDiff.tsx
|
|
4065
4228
|
init_useTerminalSize();
|
|
4066
4229
|
init_src();
|
|
4067
4230
|
init_log();
|
|
4068
|
-
init_readEditContext();
|
|
4069
|
-
init_StructuredDiffList();
|
|
4070
4231
|
function FileEditToolDiff(props) {
|
|
4071
4232
|
const [dataPromise] = (0, import_react$11.useState)(() => loadDiffData(props.file_path, props.edits));
|
|
4072
4233
|
return /* @__PURE__ */ (0, import_jsx_runtime$5.jsx)(import_react$11.Suspense, {
|
|
@@ -4168,7 +4329,6 @@ function normalizeEdit(fileContent, edit) {
|
|
|
4168
4329
|
}
|
|
4169
4330
|
//#endregion
|
|
4170
4331
|
//#region src/hooks/useDiffInIDE.ts
|
|
4171
|
-
init_StructuredDiff();
|
|
4172
4332
|
init_analytics();
|
|
4173
4333
|
init_utils();
|
|
4174
4334
|
init_config();
|
|
@@ -6830,8 +6990,10 @@ function FilesystemPermissionRequest({ toolUseConfirm, onDone, onReject, verbose
|
|
|
6830
6990
|
//#region src/components/permissions/FileWritePermissionRequest/FileWriteToolDiff.tsx
|
|
6831
6991
|
init_useTerminalSize();
|
|
6832
6992
|
init_src();
|
|
6993
|
+
init_array();
|
|
6833
6994
|
init_diff();
|
|
6834
6995
|
init_HighlightedCode();
|
|
6996
|
+
init_StructuredDiff();
|
|
6835
6997
|
function FileWriteToolDiff({ file_path, content, fileExists, oldContent }) {
|
|
6836
6998
|
const { columns } = useTerminalSize();
|
|
6837
6999
|
const hunks = (0, import_react$11.useMemo)(() => {
|
|
@@ -27606,9 +27768,9 @@ function REPL({ commands: initialCommands, debug, initialTools, initialMessages,
|
|
|
27606
27768
|
const [showUndercoverCallout, setShowUndercoverCallout] = (0, import_react$11.useState)(false);
|
|
27607
27769
|
(0, import_react$11.useEffect)(() => {
|
|
27608
27770
|
if (process.env.USER_TYPE === "ant") (async () => {
|
|
27609
|
-
const { isInternalModelRepo } = await import("./commitAttribution-
|
|
27771
|
+
const { isInternalModelRepo } = await import("./commitAttribution-Bnu7jx7-.js");
|
|
27610
27772
|
await isInternalModelRepo();
|
|
27611
|
-
const { shouldShowUndercoverAutoNotice } = await import("./undercover
|
|
27773
|
+
const { shouldShowUndercoverAutoNotice } = await import("./undercover-DQvQQ6yo.js");
|
|
27612
27774
|
if (shouldShowUndercoverAutoNotice()) setShowUndercoverCallout(true);
|
|
27613
27775
|
})();
|
|
27614
27776
|
}, []);
|
|
@@ -28784,7 +28946,7 @@ function REPL({ commands: initialCommands, debug, initialTools, initialMessages,
|
|
|
28784
28946
|
async function processInitialMessage(initialMsg) {
|
|
28785
28947
|
if (initialMsg.clearContext) {
|
|
28786
28948
|
const oldPlanSlug = initialMsg.message.planContent ? getPlanSlug() : void 0;
|
|
28787
|
-
const { clearConversation } = await import("./conversation-
|
|
28949
|
+
const { clearConversation } = await import("./conversation-DvzAWiiJ.js");
|
|
28788
28950
|
await clearConversation({
|
|
28789
28951
|
setMessages,
|
|
28790
28952
|
readFileState: readFileState.current,
|
|
@@ -30223,7 +30385,7 @@ function REPL({ commands: initialCommands, debug, initialTools, initialMessages,
|
|
|
30223
30385
|
};
|
|
30224
30386
|
});
|
|
30225
30387
|
if (action === "clear") {
|
|
30226
|
-
const { clearConversation } = await import("./conversation-
|
|
30388
|
+
const { clearConversation } = await import("./conversation-DvzAWiiJ.js");
|
|
30227
30389
|
await clearConversation({
|
|
30228
30390
|
setMessages,
|
|
30229
30391
|
readFileState: readFileState.current,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __esmMin, o as __toESM } from "./chunk-CyLJMB0t.js";
|
|
2
2
|
import { b as ThemedText, t as init_src, x as ThemedBox } from "./src-D-Y8UkL2.js";
|
|
3
3
|
import { n as require_react, t as require_jsx_runtime } from "./jsx-runtime-U0-f0qxU.js";
|
|
4
|
-
import { Dc as init_config, Jt as getClaudeAIOAuthTokens, jc as saveGlobalConfig, on as init_auth, yc as getGlobalConfig } from "./paths-
|
|
5
|
-
import {
|
|
6
|
-
import { i as isBridgeEnabled, r as init_bridgeEnabled } from "./bridgeEnabled-
|
|
4
|
+
import { Dc as init_config, Jt as getClaudeAIOAuthTokens, jc as saveGlobalConfig, on as init_auth, yc as getGlobalConfig } from "./paths-DvTLULIf.js";
|
|
5
|
+
import { Tx as init_select, wx as Select } from "./loadAgentsDir-C72eo76O.js";
|
|
6
|
+
import { i as isBridgeEnabled, r as init_bridgeEnabled } from "./bridgeEnabled-Cu0GsgQC.js";
|
|
7
7
|
import { n as init_PermissionDialog, t as PermissionDialog } from "./PermissionDialog-D7UNIOtc.js";
|
|
8
8
|
//#region src/components/RemoteCallout.tsx
|
|
9
9
|
function RemoteCallout({ onDone }) {
|
|
@@ -3,7 +3,7 @@ import { n as memoize, t as init_memoize } from "./memoize-BGqZOpAP.js";
|
|
|
3
3
|
import { n as init_defineProperty, t as _defineProperty } from "./defineProperty-Cq4c5J8x.js";
|
|
4
4
|
import { Fn as chalk, In as init_source, b as ThemedText, t as init_src, v as color, x as ThemedBox } from "./src-D-Y8UkL2.js";
|
|
5
5
|
import { n as require_react, t as require_jsx_runtime } from "./jsx-runtime-U0-f0qxU.js";
|
|
6
|
-
import { $a as getSettings_DEPRECATED, Aa as getAPIProvider, Ac as saveCurrentProjectConfig, Dc as init_config, Fr as getUserSpecifiedModelSetting, Ir as init_model, Ma as init_providers, Or as getMainLoopModel, S as init_growthbook, Ua as getInitialSettings, Ya as getSettingsForSource, _ as getFeatureValue_CACHED_MAY_BE_STALE, _c as getCurrentProjectConfig, bl as init_sample, g as getDynamicConfig_CACHED_MAY_BE_STALE, gt as getGitEmail, jc as saveGlobalConfig, on as init_auth, ro as init_settings, sn as is1PApiCustomer, vt as init_user, xl as sample, yc as getGlobalConfig } from "./paths-
|
|
6
|
+
import { $a as getSettings_DEPRECATED, Aa as getAPIProvider, Ac as saveCurrentProjectConfig, Dc as init_config, Fr as getUserSpecifiedModelSetting, Ir as init_model, Ma as init_providers, Or as getMainLoopModel, S as init_growthbook, Ua as getInitialSettings, Ya as getSettingsForSource, _ as getFeatureValue_CACHED_MAY_BE_STALE, _c as getCurrentProjectConfig, bl as init_sample, g as getDynamicConfig_CACHED_MAY_BE_STALE, gt as getGitEmail, jc as saveGlobalConfig, on as init_auth, ro as init_settings, sn as is1PApiCustomer, vt as init_user, xl as sample, yc as getGlobalConfig } from "./paths-DvTLULIf.js";
|
|
7
7
|
import { E as jsonStringify, L as errorMessage, T as jsonParse, V as init_errors, d as logForDebugging, s as init_debug, w as init_slowOperations } from "./debug-CWVskDes.js";
|
|
8
8
|
import { n as init_analytics, r as logEvent } from "./analytics-BUe7uXWv.js";
|
|
9
9
|
import { n as init_cwd, t as getCwd } from "./cwd-CAzX7YI3.js";
|
|
@@ -15,16 +15,16 @@ import { i as getPlatform, o as init_platform } from "./platform-DUYaJx6S.js";
|
|
|
15
15
|
import { n as execFileNoThrowWithCwd, r as init_execFileNoThrow } from "./execFileNoThrow-DslIaQ3v.js";
|
|
16
16
|
import { l as init_teammate, r as getDynamicTeamContext } from "./teammate-D63rsuYf.js";
|
|
17
17
|
import { c as getWebSocketProxyAgent, g as init_mtls, h as getWebSocketTLSOptions, l as getWebSocketProxyUrl, u as init_proxy } from "./proxy-DxNh-NX8.js";
|
|
18
|
-
import {
|
|
18
|
+
import { $A as OFFICIAL_MARKETPLACE_NAME, Bj as init_effort, Ck as init_prompt, Cv as fileHistoryEnabled, Fj as getEffortEnvOverride, Hj as modelSupportsEffort, Kb as getSortedIdeLockfiles, Os as isPluginInstalled, Tx as init_select, Ub as detectRunningIDEsCached, Vs as loadKnownMarketplacesConfigSafe, Xw as init_shortcutFormat, Yb as init_ide, Yw as getShortcutDisplay, Zb as isCursorInstalled, ex as isSupportedTerminal, fr as getCurrentSessionAgentColor, jr as isCustomTitleEnabled, kr as init_sessionStorage, kv as init_fileHistory, nd as init_concurrentSessions, nx as isVSCodeInstalled, rx as isWindsurfInstalled, td as countConcurrentSessions, tj as init_officialMarketplace, tx as isSupportedVSCodeTerminal, wk as isKairosCronEnabled, ws as init_installedPluginsManager, wx as Select, zs as init_marketplaceManager } from "./loadAgentsDir-C72eo76O.js";
|
|
19
19
|
import { n as cacheKeys, o as init_fileStateCache } from "./fileStateCache-CXKS8lcD.js";
|
|
20
|
-
import { a as init_teamHelpers, i as getTeamFilePath, o as readTeamFile } from "./teamHelpers-
|
|
21
|
-
import { l as sendEventToRemoteSession, o as init_api } from "./api-
|
|
22
|
-
import { c as shouldOfferTerminalSetup, i as init_terminalSetup } from "./terminalSetup-
|
|
23
|
-
import { a as getCachedReferrerReward, r as formatCreditAmount, s as init_referral, t as checkCachedPassesEligibility } from "./referral-
|
|
20
|
+
import { a as init_teamHelpers, i as getTeamFilePath, o as readTeamFile } from "./teamHelpers-CS6BiyXo.js";
|
|
21
|
+
import { l as sendEventToRemoteSession, o as init_api } from "./api-B9EiITN3.js";
|
|
22
|
+
import { c as shouldOfferTerminalSetup, i as init_terminalSetup } from "./terminalSetup-BK7LahH5.js";
|
|
23
|
+
import { a as getCachedReferrerReward, r as formatCreditAmount, s as init_referral, t as checkCachedPassesEligibility } from "./referral-D46sEC3u.js";
|
|
24
24
|
import { n as init_PermissionDialog, t as PermissionDialog } from "./PermissionDialog-D7UNIOtc.js";
|
|
25
|
-
import { n as getCachedOverageCreditGrant, r as init_overageCreditGrant, t as formatGrantAmount } from "./overageCreditGrant-
|
|
26
|
-
import { i as init_OverageCreditUpsell, o as shouldShowOverageCreditUpsell } from "./OverageCreditUpsell-
|
|
27
|
-
import { n as init_DesktopHandoff, t as DesktopHandoff } from "./DesktopHandoff-
|
|
25
|
+
import { n as getCachedOverageCreditGrant, r as init_overageCreditGrant, t as formatGrantAmount } from "./overageCreditGrant-C4YTj6TG.js";
|
|
26
|
+
import { i as init_OverageCreditUpsell, o as shouldShowOverageCreditUpsell } from "./OverageCreditUpsell-D7WHyk87.js";
|
|
27
|
+
import { n as init_DesktopHandoff, t as DesktopHandoff } from "./DesktopHandoff-B9U9U9Tu.js";
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
29
29
|
//#region src/utils/swarm/reconnection.ts
|
|
30
30
|
init_debug();
|
|
@@ -4,12 +4,12 @@ import { n as require_react, t as require_jsx_runtime } from "./jsx-runtime-U0-f
|
|
|
4
4
|
import { cn as init_state, jr as switchSession } from "./state-Cpd6bxSt.js";
|
|
5
5
|
import { n as init_analytics, r as logEvent } from "./analytics-BUe7uXWv.js";
|
|
6
6
|
import { o as init_log, s as logError } from "./log-BtGcZqeW.js";
|
|
7
|
-
import { $r as recordContentReplacement, Br as loadAllProjectsMessageLogsProgressive, Gr as loadSameRepoMessageLogsProgressive,
|
|
7
|
+
import { $r as recordContentReplacement, Br as loadAllProjectsMessageLogsProgressive, Gr as loadSameRepoMessageLogsProgressive, Hp as restoreCostStateForSession, Hv as Spinner, Io as init_messages, J_ as init_conversationRecovery, Jn as adoptResumedSessionFile, Nw as init_useTerminalSize, OS as init_AppState, Vp as init_cost_tracker, Wv as init_Spinner, Y_ as loadConversationForResume, di as restoreSessionMetadata, iE as init_ids, ir as enrichLogs, jS as useSetAppState, jr as isCustomTitleEnabled, kS as useAppState, kr as init_sessionStorage, nd as init_concurrentSessions, rE as asSessionId, sd as updateSessionName, ui as resetSessionFilePointer } from "./loadAgentsDir-C72eo76O.js";
|
|
8
8
|
import { t as init_useKeybinding } from "./useKeybinding-BnzwmphY.js";
|
|
9
9
|
import { r as renameRecordingForSession } from "./asciicast-DOtXvlJV.js";
|
|
10
|
-
import { a as restoreAgentFromSession, c as init_persist, l as persist_exports, n as computeStandaloneAgentContext, s as restoreWorktreeForResume } from "./skillChangeDetector-
|
|
11
|
-
import { a as LogSelector, i as init_agenticSessionSearch, n as init_crossProjectResume, o as init_LogSelector, r as agenticSessionSearch, t as checkCrossProjectResume } from "./crossProjectResume-
|
|
12
|
-
import { REPL } from "./REPL-
|
|
10
|
+
import { a as restoreAgentFromSession, c as init_persist, l as persist_exports, n as computeStandaloneAgentContext, s as restoreWorktreeForResume } from "./skillChangeDetector-CHSWOerw.js";
|
|
11
|
+
import { a as LogSelector, i as init_agenticSessionSearch, n as init_crossProjectResume, o as init_LogSelector, r as agenticSessionSearch, t as checkCrossProjectResume } from "./crossProjectResume-CSxe0Rfb.js";
|
|
12
|
+
import { REPL } from "./REPL-Cnd4B1po.js";
|
|
13
13
|
import { dirname } from "path";
|
|
14
14
|
//#region src/screens/ResumeConversation.tsx
|
|
15
15
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|