buildcrew 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/setup.js +10 -0
- package/package.json +1 -1
package/bin/setup.js
CHANGED
|
@@ -404,6 +404,16 @@ async function runInstall(force) {
|
|
|
404
404
|
log(` ${CYAN}Next:${RESET} ${BOLD}npx buildcrew init${RESET} — auto-generates project harness from your codebase.\n`);
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
+
// Check Playwright MCP
|
|
408
|
+
try {
|
|
409
|
+
const { execSync } = await import("child_process");
|
|
410
|
+
const mcpList = execSync("claude mcp list 2>/dev/null", { encoding: "utf8" });
|
|
411
|
+
if (!mcpList.includes("playwright")) {
|
|
412
|
+
log(` ${YELLOW}Optional:${RESET} Enable real browser testing (browser-qa, designer, canary-monitor):`);
|
|
413
|
+
log(` ${DIM}claude mcp add playwright -- npx @anthropic-ai/mcp-server-playwright${RESET}\n`);
|
|
414
|
+
}
|
|
415
|
+
} catch { /* claude CLI not available, skip */ }
|
|
416
|
+
|
|
407
417
|
log(` ${BOLD}Start:${RESET} @buildcrew [your request]\n`);
|
|
408
418
|
}
|
|
409
419
|
|
package/package.json
CHANGED