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.

551 B
Raw Blame
import type { AgentJournalTurnLifecycleState } from './agent-session-journal-types'

/** Legacy raw status text must not call an unobserved end completed. */
export function agentTurnLifecycleText(
  agent: string,
  state: AgentJournalTurnLifecycleState
): string {
  switch (state) {
    case 'running':
      return `${agent} is working…`
    case 'completed':
      return `${agent} turn completed`
    case 'interrupted':
      return `${agent} turn interrupted`
    case 'unverifiable':
      return `${agent} turn outcome unverifiable`
  }
}