Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

277 B
Raw Blame
import { startSite } from "../site-server.mjs";

const site = await startSite("secret", Number(process.argv[2] ?? 0), process.argv[3]);
console.log(JSON.stringify({ ready: true, url: site.url }));
for (const s of ["SIGTERM", "SIGINT"]) process.once(s, () => void site.stop());