Skip to content

Cannot install awesome-copilot plugin. #1597

@rexendz

Description

@rexendz

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:

  1. Your workaround (works now): copilot plugin install github/awesome-copilot:plugins/awesome-copilot
  2. 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

  1. Execute copilot plugin marketplace add github/awesome-copilot
  2. Install the plugin copilot plugin install awesome-copilot@awesome-copilot
  3. See error output.

Expected behavior

Should be able to install the plugin via copilot plugin install

Additional context

  • tahoe
  • zsh
  • installed copilot via brew

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions