Bug Description
The install script installs VS Code Copilot agents to ~/.github/agents but VS Code's default settings do not include this path in chat.agentFilesLocations.
Steps to Reproduce
- Run:
./scripts/install.sh --tool copilot
- Open VS Code
- Press
Ctrl+, (Windows) or Cmd+, (macOS)
- Search for
chat.agentFilesLocations setting
- Observe that
~/.github/agents is NOT in the list
Expected Behavior
- The install script should either install to the correct path that VS Code recognizes by default
- OR the script should prompt users to manually add the path to VS Code settings
Actual Behavior
- Agents are installed to
~/.github/agents
- VS Code does not detect them because the default
chat.agentFilesLocations setting points to ~/.copilot/agents, not ~/.github/agents
Root Cause Analysis
Code Location: scripts/install.sh:291
The script hardcodes the installation path:
However, VS Code's default chat.agentFilesLocations setting expects:
Environment
- OS: Windows/macOS/Linux
- VS Code: Latest
- Agency-agents: Latest
Proposed Fix
Option 1: Change install path to ~/.copilot/agents
Option 2: Add a post-install message instructing users to add the path to VS Code settings
Example post-install message:
Labels
bug