Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import type { Repo } from './repo-types'
import {
getRepoExecutionHostId,
parseExecutionHostId,
type ParsedExecutionHost
} from './execution-host'
import { isWslUncPath } from './wsl-paths'
/** SSH relays and Orca servers put plain `orca` on PATH; the Linux `orca-ide` rename is for local desktops and WSL. */
export function launchHostIsRemote(
hostKind: ParsedExecutionHost['kind'],
workspacePath: string | null | undefined
): boolean {
return hostKind !== 'local' && !(workspacePath && isWslUncPath(workspacePath))
}
export function repoIsRemote(
repo: Pick<Repo, 'connectionId' | 'executionHostId'> & { path?: string | null }
): boolean {
const hostKind = parseExecutionHostId(getRepoExecutionHostId(repo))?.kind ?? 'local'
return launchHostIsRemote(hostKind, repo.path)
}