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
export type RuntimeBrowserServerPlacement = Readonly<{ kind: 'server' }>
export type RuntimeBrowserClientPlacement = Readonly<{
kind: 'client'
browserHostClientId: string
browserHostGeneration: number
pageHostGeneration: number
}>
export type RuntimeBrowserPlacement = RuntimeBrowserServerPlacement | RuntimeBrowserClientPlacement
export function sameRuntimeBrowserPlacement(
left: RuntimeBrowserPlacement,
right: RuntimeBrowserPlacement
): boolean {
return (
left.kind === right.kind &&
(left.kind === 'server' ||
(right.kind === 'client' &&
left.browserHostClientId === right.browserHostClientId &&
left.browserHostGeneration === right.browserHostGeneration &&
left.pageHostGeneration === right.pageHostGeneration))
)
}