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.

464 B
Raw Blame
import type { GlobalSettings } from './global-settings-types'
import type { TuiAgent } from './tui-agent'

type DefaultAgentSettings = Pick<GlobalSettings, 'defaultTuiAgent' | 'newWorkspaceSetupOnly'>

export function buildDefaultAgentSettingsUpdate(
  next: TuiAgent | 'blank' | null
): DefaultAgentSettings {
  // Clear the retired flag so older peers also see a regular agent or shell default.
  return { defaultTuiAgent: next, newWorkspaceSetupOnly: false }
}