feat: follow the ACP agent edit and open files automatically (#2780)

This commit is contained in:
Carlos Gomes
2025-10-18 18:32:08 +02:00
committed by GitHub
parent f0ad738e5a
commit cc7a41262e
4 changed files with 80 additions and 2 deletions

View File

@@ -507,6 +507,9 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
-- auto_approve_tool_permissions = {"bash", "replace_in_file"}, -- Auto-approve specific tools only
---@type "popup" | "inline_buttons"
confirmation_ui_style = "inline_buttons",
--- Whether to automatically open files and navigate to lines when ACP agent makes edits
---@type boolean
acp_follow_agent_locations = true,
},
prompt_logger = { -- logs prompts to disk (timestamped, for replay/debugging)
enabled = true, -- toggle logging entirely