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.

478 B
Raw Blame
import { dirname, join } from "node:path";
import { isSea } from "node:sea";

/** The outer entry owns the installed layout; execution stays usable by desktop and plain Node. */
export function runnerResources() {
  return isSea()
    ? {
        resourcesDir: join(dirname(process.execPath), "resources"),
        helperArgs: {
          sandbox: ["--pibot-internal", "sandbox-host"],
          violations: ["--pibot-internal", "violation-log"],
        },
      }
    : {};
}