From 37905655d22ce2f3843653c417547153fd8a1b63 Mon Sep 17 00:00:00 2001 From: Rex Date: Wed, 27 May 2026 15:11:20 +0800 Subject: [PATCH] fix: use relative path for plugin source to avoid redundant GitHub clone When a user adds the Webwright repo as a local marketplace (`/plugin marketplace add /path/to/Webwright`), the plugin source `{"source":"github","repo":"microsoft/Webwright"}` caused Claude Code to attempt a second git clone from GitHub, which fails when SSH host keys are not configured in the environment. Using `"./"` as the plugin source tells Claude Code to use the already- present marketplace directory as the plugin root, avoiding any network request. This also works correctly for the GitHub marketplace path (where the repo is cloned to cache) since the relative path resolves to the same cached directory. Co-Authored-By: Claude Sonnet 4.6 --- .claude-plugin/marketplace.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 88ba107..50633c8 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -7,10 +7,7 @@ "plugins": [ { "name": "webwright", - "source": { - "source": "github", - "repo": "microsoft/Webwright" - }, + "source": "./", "description": "Turn your coding agent into a SOTA browser agent. Drives a local Playwright workspace via one bash command at a time, saving screenshots and an action log into final_runs/run_/, and visually self-verifies the result.", "version": "0.1.0", "category": "automation",