-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Describe the bug
I wasn't able to install the awesome-copilot plugin via copilot plugin install awesome-copilot@awesome-copilot. The awesome-copilot marketplace was already added before attempting to install the plugin. I've asked sonnet 4.6 for help installing the plugin and here's what it did:
● Try workaround install via repo path
$ copilot plugin install github/awesome-copilot:plugins/awesome-copilot 2>&1
└ 2 lines...● That worked. ✅
Root cause: marketplace.json in the github/awesome-copilot repo has "pluginRoot": "./plugins" in metadata, but each plugin's source field also includes ./plugins/ in the path (e.g., "./plugins/awesome-copilot"). The CLI
double-applies the plugins/ prefix, resulting in a path that doesn't exist.Fix options:
- Your workaround (works now): copilot plugin install github/awesome-copilot:plugins/awesome-copilot
- Upstream fix needed: Either the source values in marketplace.json should be relative to pluginRoot (e.g., ./awesome-copilot), or the CLI should not prepend pluginRoot when source is already a rooted path.
Affected version
GitHub Copilot CLI 0.0.414
Steps to reproduce the behavior
- Execute
copilot plugin marketplace add github/awesome-copilot - Install the plugin
copilot plugin install awesome-copilot@awesome-copilot - See error output.
Expected behavior
Should be able to install the plugin via copilot plugin install
Additional context
- tahoe
- zsh
- installed copilot via brew