Skip to content

fix(install): add VS Code setting note after copilot install#193

Closed
voidborne-d wants to merge 1 commit intomsitarzewski:mainfrom
voidborne-d:fix/copilot-install-path-note
Closed

fix(install): add VS Code setting note after copilot install#193
voidborne-d wants to merge 1 commit intomsitarzewski:mainfrom
voidborne-d:fix/copilot-install-path-note

Conversation

@voidborne-d
Copy link

Fixes #185

Problem

After running ./scripts/install.sh --tool copilot, agents are installed to ~/.github/agents and ~/.copilot/agents, but VS Code's chat.agentFilesLocations setting may not include these paths by default. Users then wonder why agents don't appear in Copilot.

Fix

Add two warn() lines after copilot installation:

  1. Remind users to verify their chat.agentFilesLocations setting includes the install paths
  2. Link to the official VS Code documentation for custom agent file locations

This follows the existing pattern used by other installers (e.g. install_qwen prints warn tips after installation).

Changes

  • scripts/install.sh: 2 lines added after copilot install messages

…ewski#185)

After installing agents for VS Code Copilot, warn users to verify
their chat.agentFilesLocations setting includes the install paths.

VS Code does not always include ~/.github/agents or ~/.copilot/agents
in this setting by default, so agents may not be discovered after
installation.
@msitarzewski
Copy link
Owner

Thanks for this @voidborne-d. The warning is a good start, but I think we should figure out the right long-term fix first. Opened a Discussion: #200 — would love your input there.

@msitarzewski
Copy link
Owner

Thanks @voidborne-d — you were first to jump on this and the fix was solid. We're going with #216 which rolls the warning into a broader --path override feature. Closing this one but really appreciate you stepping up!

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.

install script uses wrong location for vscode copilot

2 participants