Skip to content

fix: correct Copilot agent path and opencode directory handling#323

Open
toukanno wants to merge 1 commit intomsitarzewski:mainfrom
toukanno:fix/install-paths
Open

fix: correct Copilot agent path and opencode directory handling#323
toukanno wants to merge 1 commit intomsitarzewski:mainfrom
toukanno:fix/install-paths

Conversation

@toukanno
Copy link

Summary

Closes #218, closes #228, closes #185, closes #245

Test plan

  • Run bash -n scripts/install.sh to verify syntax (passed)
  • Run ./scripts/install.sh --tool copilot --no-interactive and verify files appear in ~/.copilot/agents/
  • Run ./scripts/install.sh --tool opencode --no-interactive and verify graceful warning when no agent .md files exist
  • Verify interactive selector shows correct label (~/.github + ~/.copilot) for Copilot

🤖 Generated with Claude Code

- Copilot now installs to both ~/.github/agents and ~/.copilot/agents
  (VS Code expects ~/.copilot/agents, fixes msitarzewski#218, msitarzewski#185, msitarzewski#228)
- Fix display label to show both destination paths
- Fix opencode installer to handle missing agents/ subdirectory gracefully
  by searching the parent integrations/opencode/ dir (fixes msitarzewski#245)
- Fix header comment typo: .opencode/agent/ -> .opencode/agents/

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment