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.

328 B
Raw Blame
// Why a shape, not Claude's level list: a level a newer Claude adds must still round-trip into argv.
export const AGENT_EFFORT_LEVEL = /^[a-z][a-z0-9-]{0,31}$/

export function readAgentEffortLevel(value: unknown): string | undefined {
  return typeof value === 'string' && AGENT_EFFORT_LEVEL.test(value) ? value : undefined
}