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.

810 B
Raw Blame
import { AGENT_LAUNCH_RUNTIME_CAPABILITIES } from '../shared/agent-launch-runtime-capability'
import { okFixture } from './test-fixtures'

export function agentLaunchHostFixture() {
  return okFixture('req_status', { capabilities: [...AGENT_LAUNCH_RUNTIME_CAPABILITIES] })
}

export function agentLaunchFixture(worktreeId: string, warning?: string) {
  return okFixture('req_launch', {
    outcome: { kind: 'structured', sessionId: 'codex_1', handle: 'agent_1' },
    worktreeId,
    receipt: {
      mode: 'structured',
      preferred: 'structured',
      reason: 'user_default',
      detail: 'Started a structured chat session, the default for new agent tabs in your settings.'
    },
    prompt: { delivery: 'submit', outcome: 'journaled', messageId: 'msg_1' },
    ...(warning ? { warning } : {})
  })
}