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 CommandSpec = {
path: string[]
aliases?: string[][]
argumentMode?: 'parsed' | 'passthrough'
// Prevent typo recovery from suggesting destructive actions for unrelated commands.
destructive?: boolean
hidden?: boolean
summary: string
usage: string
allowedFlags: string[]
// Flag repeatability varies by command, even for the same flag name.
repeatableFlags?: string[]
positionalArgs?: string[]
variadicPositional?: boolean
examples?: string[]
notes?: string[]
// Takes `--page <browserPageId>`; only the browser spec modules set it.
browserPageTarget?: boolean
// Caller flags must match the acting agent session; target flags may name another session.
identityFlagRoles?: Partial<Record<IdentityFlag, 'caller' | 'target'>>
}
export type IdentityFlag = 'from' | 'terminal'
export function specPaths(spec: CommandSpec): string[][] {
return spec.aliases ? [spec.path, ...spec.aliases] : [spec.path]
}