()
| 803 | } |
| 804 | |
| 805 | async function agentInstall() { |
| 806 | header("Agent Browser Install"); |
| 807 | |
| 808 | const extraArgs = process.argv.slice(3).join(" "); |
| 809 | const command = `npx agent-browser install ${extraArgs}`.trim(); |
| 810 | try { |
| 811 | execSync(command, { stdio: "inherit" }); |
| 812 | success("agent-browser install completed."); |
| 813 | } catch (err) { |
| 814 | error(`agent-browser install failed: ${err?.message || err}`); |
| 815 | } |
| 816 | } |
| 817 | |
| 818 | async function agentGateway() { |
| 819 | header("Agent Browser Gateway"); |