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.

553 B
Raw Blame
/** Share name precedence across surfaces: user alias, host-saved name, host row label. */
export function structuredChatDisplayName(
  customLabel: string | null | undefined,
  conversationName: string | null | undefined,
  fallback: string
): string {
  return customLabel?.trim() || conversationName || fallback.trim()
}

/** Unnamed Claude/Codex rows use chat labels; other unnamed agents retain provider titles. */
export function historyRowFallsBackToChatLabel(rowAgent: string): boolean {
  return rowAgent === 'claude' || rowAgent === 'codex'
}