Bug Description
When using the Gemini CLI adapter with ACP (Agent Context Protocol), the initialization hangs because the adapter does not pass the required --experimental-acp flag to the underlying Gemini CLI process.
Expected Behavior
The Gemini CLI adapter should include the --experimental-acp flag when invoking the Gemini CLI, enabling proper ACP initialization and protocol handshake.
Actual Behavior
ACP initialization hangs indefinitely, as the Gemini CLI waits for the experimental flag to enable ACP support but never receives it.
Steps to Reproduce
- Configure acpx to use the Gemini CLI adapter
- Initialize ACP protocol
- Observe the hang during initialization
Environment
- acpx version: [current]
- Gemini CLI version: [current]
Proposed Fix
Add the --experimental-acp flag to the command arguments when invoking the Gemini CLI from the adapter.