fix: copilot CLI plugin install uses wrong URL and command#143
Merged
Conversation
The copilot CLI `plugin install <url>` command expects plugin.json at the repo root, but our repo is a marketplace (marketplace.json at root, plugins nested under plugins/archgate/). This caused "No plugin.json found" errors. Fix both the auto-install path and manual fallback to: 1. Use archgate-vscode.git URL (.github/plugin/ format copilot expects) 2. Run two-step marketplace add + install (matching the Claude Code pattern) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying archgate-cli with
|
| Latest commit: |
3bf61fe
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://cdbd10cb.archgate-cli.pages.dev |
| Branch Preview URL: | https://fix-copilot-plugin-install.archgate-cli.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
installCopilotPlugin()was usingarchgate.git(Claude Code.claude-plugin/format) instead ofarchgate-vscode.git(.github/plugin/format that copilot CLI expects)copilot plugin install <url>(which fails because the repo is a marketplace, not a flat plugin) to two-stepcopilot plugin marketplace add+copilot plugin install archgate@archgate(matching the working Claude Code pattern)Test plan
archgate plugin install --editor copilotwith copilot CLI available — verify it runsmarketplace addtheninstall archgate@archgatearchgate plugin install --editor copilotwithout copilot CLI — verify fallback prints correctcopilot plugin marketplace add+copilot plugin install archgate@archgatecommandsarchgate plugin install --editor claudestill works unchanged🤖 Generated with Claude Code