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 { ExecutionHostId } from './execution-host'
export type ShellOpenExternalEditorRequest = {
path: string
command?: string
connectionId?: string | null
/** Host that owns `path`; main refuses unless it is `local`, a WSL host (Windows), or, with `connectionId`, that SSH host or a server running on it. */
ownerHostId: ExecutionHostId
}
export type ShellOpenPathFailureReason =
| 'not-absolute'
| 'not-found'
| 'launch-failed'
| 'remote-runtime-unsupported'
| 'ssh-target-not-found'
| 'ssh-target-invalid'
| 'ssh-alias-required'
| 'remote-editor-unsupported'
export type ShellOpenLocalPathFailureReason = Extract<
ShellOpenPathFailureReason,
'not-absolute' | 'not-found' | 'launch-failed' | 'remote-runtime-unsupported'
>
export type ShellOpenLocalPathResult =
| { ok: true }
| { ok: false; reason: ShellOpenLocalPathFailureReason }
export type ShellOpenExternalEditorResult =
| { ok: true }
| { ok: false; reason: Exclude<ShellOpenPathFailureReason, 'ssh-alias-required'> }
| { ok: false; reason: 'ssh-alias-required'; host: string; port: number }