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

Function agentGateway

bin/cli.js:818–828  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

816}
817
818async function agentGateway() {
819 header("Agent Browser Gateway");
820
821 const gatewayPath = join(PACKAGE_ROOT, "bin", "agent-gateway.cjs");
822 success(`Starting gateway: ${gatewayPath}`);
823
824 await new Promise((resolve) => {
825 const child = spawn(process.execPath, [gatewayPath], { stdio: "inherit" });
826 child.on("exit", resolve);
827 });
828}
829
830async function uninstall() {
831 header("Uninstall");

Callers 1

mainFunction · 0.85

Calls 2

headerFunction · 0.85
successFunction · 0.85

Tested by

no test coverage detected