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 { parseExecutionHostId, type ExecutionHostId } from './execution-host'
/** Bounded listing evidence applies only to covered hosts; absent scopes on old hosts prove no coverage
* (docs/reference/ssh-execution-boundary.md). */
export type RuntimeListingHostScope = {
hostIds: ExecutionHostId[]
omittedHostIds: ExecutionHostId[]
}
/** omittedHostIds discloses even retired peers, not coverage owed. Paired runtime peers own their control planes
* and are never this runtime’s enumeration duty; counting them as gaps latched remote panes (#18595). */
export function hostScopeCensusIsComplete(scope: RuntimeListingHostScope | undefined): boolean {
// A host too old to publish a scope cannot claim one; absence is never completeness.
if (scope === undefined) {
return false
}
// Require a legible covered ID: validators only prove an array. Requiring all IDs legible would reject future host kinds forever.
if (!scope.hostIds.some((hostId) => parseExecutionHostId(hostId))) {
return false
}
return scope.omittedHostIds.every((hostId) => parseExecutionHostId(hostId)?.kind === 'runtime')
}