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.

334 B
Raw Blame
import { isOrcaSessionId, type OrcaSessionId } from './orca-session-address'

/** A literal Orca session id for a test, checked by the same predicate production uses. */
export function testOrcaSessionId(id: string): OrcaSessionId {
  if (!isOrcaSessionId(id)) {
    throw new Error(`Not an Orca session id: ${id}`)
  }
  return id
}