Skip to content

[SSR Agent] Issue Fix (339): Connect pre-installed companion extension without reinstallation - #340

Open
joneba-google wants to merge 1 commit into
mainfrom
ssr-agent-339
Open

joneba-google wants to merge 1 commit into
mainfrom
ssr-agent-339

Conversation

@joneba-google

@joneba-google joneba-google commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

fixes #339

Context & Problem

The Gemini CLI unconditionally attempts to run /ide install when connection
prompts are accepted, even if the IDE companion extension is already
pre-configured or running. This results in installation errors when the
integration is already available. This is caused by handleIdePromptComplete in
packages/cli/src/ui/AppContainer.tsx ignoring isExtensionPreInstalled from
the nudge completion results.

Detailed Changes

  • Updated handleIdePromptComplete in packages/cli/src/ui/AppContainer.tsx to
    branch based on result.isExtensionPreInstalled. If true, /ide enable is
    run; otherwise, /ide install is executed.
  • Added a new unit test in packages/cli/src/ui/IdeIntegrationNudge.test.tsx to
    verify isExtensionPreInstalled is set correctly on dismiss selections when
    pre-installed environments are set.

Verification

  • Verified lint results in linter_output.txt showed that the checks succeeded.

@github-actions github-actions Bot added the size/S S: 10-49 lines changed label Aug 17, 2026
@github-actions

Copy link
Copy Markdown

📊 PR Size: size/S

  • Lines changed: 36
  • Additions: +35
  • Deletions: -1
  • Files changed: 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S S: 10-49 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gemini CLI not able to detect that the companion extension is installed in VS-code

1 participant