MCPcopy Create free account
hub / github.com/different-ai/opencode-browser / agentInstall

Function agentInstall

bin/cli.js:805–816  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

803}
804
805async 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
818async function agentGateway() {
819 header("Agent Browser Gateway");

Callers 1

mainFunction · 0.85

Calls 3

headerFunction · 0.85
successFunction · 0.85
errorFunction · 0.85

Tested by

no test coverage detected