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.

316 B
Raw Blame
/**
 * The desktop's OS (`process.platform` values), read from the preload bridge. Capability UIs use
 * this instead of `window.pibot`, whose full type belongs to the desktop app.
 */
export function hostPlatform(): string | undefined {
  return (globalThis as { pibot?: { platform?: string } }).pibot?.platform;
}