Skip to content

bug: Gemini CLI adapter missing --experimental-acp flag, causes ACP initialization hang #44

@kckylechen1

Description

@kckylechen1

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

  1. Configure acpx to use the Gemini CLI adapter
  2. Initialize ACP protocol
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions