site-agent-pro 1.0.5 → 1.0.6

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.
Files changed (2) hide show
  1. package/dist/cli/run.js +14 -0
  2. package/package.json +1 -1
package/dist/cli/run.js CHANGED
@@ -63,6 +63,20 @@ function openUrl(url) {
63
63
  program
64
64
  .name("site-agent-pro")
65
65
  .description("AI-powered browser agent for website auditing and side-by-side development");
66
+ program
67
+ .command("install-browsers")
68
+ .description("Download the necessary browser binaries (Playwright Chromium)")
69
+ .action(async () => {
70
+ const { execSync } = await import("node:child_process");
71
+ console.log("Downloading browsers... this may take a minute.");
72
+ try {
73
+ execSync("npx playwright install chromium", { stdio: "inherit" });
74
+ console.log("✅ Browsers installed successfully!");
75
+ }
76
+ catch (err) {
77
+ console.error(`❌ Failed to install browsers: ${err.message}`);
78
+ }
79
+ });
66
80
  program
67
81
  .command("init")
68
82
  .description("Initialize global configuration at ~/.site-agent-pro/.env")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "site-agent-pro",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "type": "module",
5
5
  "description": "AI-powered browser agent that tests websites like a real user and produces evidence-based, scored reports.",
6
6
  "bin": {