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.

548 B
Raw Blame
const RETRY_REQUEST_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i

export const RETRY_REQUEST_ID_GUIDANCE =
  '--retry-request must be the UUID Orca reported for the original request; pass it exactly as printed, or omit the flag to start a new request.'

/** The CLI and the SSH relay shim parse argv separately; both gate replay identity on this shape. */
export function isOrchestrationRetryRequestId(value: unknown): value is string {
  return typeof value === 'string' && RETRY_REQUEST_ID_PATTERN.test(value)
}