feat: make playwright optional
CI / verify (pull_request) Successful in 8s

This commit is contained in:
2026-09-15 10:18:43 +02:00
parent 1bc5c329a8
commit f6cae21bfa
8 changed files with 93 additions and 14 deletions
+4 -2
View File
@@ -114,10 +114,12 @@ export default Plugin.define({
const assignments = selected.mode === "gpt" ? gptAgents : selected.agents;
let workers: (typeof workerNames)[number][] = [];
const active = new Set<string>();
const playwrightCommand = await playwrightMcpCommand(context.location.directory);
const playwrightCommand = selected.playwright
? await playwrightMcpCommand(context.location.directory)
: undefined;
await context.mcp.transform((editor) => {
if (!editor.get("playwright"))
if (playwrightCommand && !editor.get("playwright"))
editor.set("playwright", {
type: "local",
command: playwrightCommand,