Files
orca/src/main/computer/computer-provider-unavailable-message.ts
T
2026-06-07 17:49:01 -07:00

13 lines
617 B
TypeScript

export function computerProviderUnavailableMessage(platform: NodeJS.Platform): string {
if (platform === 'darwin') {
return [
'computer-use has no native provider for darwin because Orca Computer Use.app was not found or this macOS version is unsupported.',
'For local development, run pnpm build:computer-macos and restart Orca from this worktree.'
].join(' ')
}
if (platform === 'linux' || platform === 'win32') {
return `computer-use has no native provider for ${platform}; the platform runtime file was not found`
}
return `computer-use has no native provider for ${platform}`
}