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 { SshConnectionStatus } from '../../../src/shared/ssh-types'
import { hostUnionArms } from '../../../src/shared/zod-salvage'
// hostUnionArms makes additions or removals in the host union fail typecheck here.
export const SSH_CONNECTION_STATUS = hostUnionArms<SshConnectionStatus>({
disconnected: true,
connecting: true,
'auth-failed': true,
'deploying-relay': true,
connected: true,
reconnecting: true,
'reconnection-failed': true,
error: true
})
const KNOWN_SSH_CONNECTION_STATUSES: ReadonlySet<string> = new Set(SSH_CONNECTION_STATUS)
export function isSshConnectionStatus(status: string): status is SshConnectionStatus {
return KNOWN_SSH_CONNECTION_STATUSES.has(status)
}