Webwright
Webwright copied to clipboard
fix: use relative path for plugin source to avoid redundant GitHub clone
Summary
- Change plugin
sourcein.claude-plugin/marketplace.jsonfrom{"source":"github"}to the relative path"./" - Avoids a redundant git clone when the repo is already present as a local marketplace
- Fixes install failures in environments without GitHub SSH host keys (e.g. fresh WSL installs)
Problem
When a user adds the repo as a local marketplace and runs /plugin install webwright@webwright, Claude Code reads marketplace.json, sees source: github, and attempts to clone from GitHub again — even though the files are already present. This fails without SSH host keys.
Solution
Using "./" as the plugin source tells Claude Code to use the already-present marketplace directory as the plugin root. Works for both local and GitHub marketplace paths.
Test plan
- [ ] Clone locally:
git clone https://github.com/microsoft/Webwright /tmp/Webwright - [ ]
/plugin marketplace add /tmp/Webwright - [ ]
/plugin install webwright@webwright— should succeed without network calls - [ ] Verify
/webwright:runis available in a new session
Generated with Claude Code