Skip to content

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

@Financier-Nuri

Description

@Financier-Nuri

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

  1. Run: ./scripts/install.sh --tool copilot
  2. Open VS Code
  3. Press Ctrl+, (Windows) or Cmd+, (macOS)
  4. Search for chat.agentFilesLocations setting
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions