Skip to content

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

Merged
msitarzewski merged 1 commit intomsitarzewski:mainfrom
kienbui1995:fix/copilot-agent-path-hint
Apr 12, 2026
Merged

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

Conversation

@kienbui1995
Copy link
Copy Markdown
Contributor

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
@mhc222
Copy link
Copy Markdown

mhc222 commented Mar 30, 2026

Code Review

LGTM — Minimal, accurate post-install hint

PR #224 adds 2 lines to install_copilot() — a warn message and a dim hint — reminding users to verify their VS Code chat.agentFilesLocations setting after installation.

The change is correct:

  • Uses the established warn / dim helpers consistently with the rest of the script
  • The setting name chat.agentFilesLocations is accurate
  • The hint is placed immediately after the two ok lines, so it appears in the right position in the output
  • The Ctrl/Cmd+, shortcut note is helpful for users unfamiliar with VS Code settings

No issues at or above 80 confidence.

@msitarzewski msitarzewski merged commit a4ec4a0 into msitarzewski:main Apr 12, 2026
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

4 participants