mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 06:12:50 -07:00
aa1bcd5b23
In ACP (Agent Client Protocol) mode, the `ask_user` tool is generally
excluded because most IDE clients intercept tool executions, which can
disrupt conversational flows. However, Xcode integrations rely on this
tool being available for interactive human-in-the-loop prompts.
This change:
- Evaluates the host IDE using `detectIdeFromEnv().name`.
- Exempts Xcode ('xcode') from the `ask_user` exclusion block during
configuration loading.
- Adds a unit test to `config.test.ts` to verify that the tool is
not excluded when the editor is detected as Xcode.