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 { isRemoteRuntimePtyId } from './remote-runtime/remote-runtime-pty-id'
import { parseAppSshPtyId } from './ssh-pty-id'
/** Malformed/unknown remote: IDs remain foreign; inability to parse ownership means unverifiable, never local
* (docs/reference/ssh-execution-boundary.md). */
export function isRemoteExecutionHostPtyId(ptyId: string | null | undefined): boolean {
if (typeof ptyId !== 'string') {
return false
}
return isRemoteRuntimePtyId(ptyId) || parseAppSshPtyId(ptyId) !== null
}