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 { z } from 'zod'
import { requiredString, OptionalString } from './rpc-param-primitives'
export const ReferenceList = z.object({
worktree: requiredString('Missing worktree selector'),
cwd: OptionalString
})
export const ReferenceFind = z
.object({
query: requiredString('Missing reference URL or issue key'),
worktree: OptionalString,
cwd: OptionalString,
repo: OptionalString,
includeArchived: z.boolean().optional(),
limit: z.number().int().positive().optional()
})
.refine((params) => !(params.worktree && params.repo), {
message: '--repo and --worktree cannot be combined'
})