Skip to content

fix: add post-install hint for Copilot agent path verification#224

Open
kienbui1995 wants to merge 1 commit intomsitarzewski:mainfrom
kienbui1995:fix/copilot-agent-path-hint
Open

fix: add post-install hint for Copilot agent path verification#224
kienbui1995 wants to merge 1 commit intomsitarzewski:mainfrom
kienbui1995:fix/copilot-agent-path-hint

Conversation

@kienbui1995
Copy link

What does this PR do?

Adds a post-install warning after Copilot agent installation, reminding users to verify their VS Code chat.agentFilesLocations setting includes the install path.

Motivation

VS Code's default chat.agentFilesLocations may not include ~/.github/agents or ~/.copilot/agents, so agents installed by install.sh --tool copilot may not be detected. This is a minimal, non-invasive fix that guides users to the right setting.

Fixes #218
Relates to #185, Discussion #200

Changes

  • scripts/install.sh: add warn + dim hint after install_copilot() completes

Output after install

[OK]  Copilot: 155 agents -> ~/.github/agents
[OK]  Copilot: 155 agents -> ~/.copilot/agents
[!!]  Copilot: Verify VS Code setting 'chat.agentFilesLocations' includes your install path.
         Open Settings (Ctrl/Cmd+,) -> search 'chat.agentFilesLocations'

Checklist

  • Minimal change (2 lines added)
  • Tested locally
  • Follows existing warn/dim pattern used elsewhere in the script

After installing Copilot agents, warn users to verify their VS Code
'chat.agentFilesLocations' setting includes the install path. VS Code
may not include ~/.github/agents or ~/.copilot/agents by default.

Fixes msitarzewski#218
Relates to msitarzewski#185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] install.sh uses incorrect VS Code Copilot agent path - installs to ~/.github/agents but VS Code expects ~/.copilot/agents

2 participants