mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 09:37:33 +00:00
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.
11 lines
380 B
TypeScript
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}`
|
|
}
|