Files
gemini-cli/packages
Sri Pasumarthi aa1bcd5b23 feat(acp): allow ask_user tool in ACP mode for Xcode users
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.
2026-05-07 14:08:29 -07:00
..