Files
orca/src/shared/orcad-agent-browser-name.ts
T
OrcaWin 6fc3cdcad6 Bundle Bun for headless Orca and profile persistence (#22635)
Bundle a pinned, verified Bun runtime for headless Orca so existing Node launch commands can hand off before opening a profile. Keep desktop execution on Electron.

Add the Bun SQLite adapter and terminal backend, bounded shutdown, process inspection and cross-platform artifact qualification. Keep future managed SSH deployment separate from current production launch paths.
2026-09-25 22:49:06 -07:00

11 lines
380 B
TypeScript

export function orcadAgentBrowserNativeName(
platformName: NodeJS.Platform,
architecture: string,
linuxLibc: 'glibc' | 'musl' = 'glibc'
): string {
const ext = platformName === 'win32' ? '.exe' : ''
const platformToken =
platformName === 'linux' && linuxLibc === 'musl' ? 'linux-musl' : platformName
return `agent-browser-${platformToken}-${architecture}${ext}`
}