Skip to content

armgit / orca

Public Imported from GitHub
0

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.

629 B
Raw Blame
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'
  })