diff --git a/mobile/src/tasks/mobile-tui-agents.ts b/mobile/src/tasks/mobile-tui-agents.ts index d16342bece6..dd1e2785de8 100644 --- a/mobile/src/tasks/mobile-tui-agents.ts +++ b/mobile/src/tasks/mobile-tui-agents.ts @@ -5,6 +5,7 @@ import type { TuiAgent } from '../../../src/shared/types' // mirrored with src/shared/tui-agent-selection.ts and assert parity in tests. export const MOBILE_TUI_AGENT_AUTO_PICK_ORDER = [ 'claude', + 'openclaude', 'codex', 'grok', 'copilot', @@ -37,6 +38,7 @@ export const MOBILE_TUI_AGENT_AUTO_PICK_ORDER = [ export const MOBILE_TUI_AGENT_LABELS: Record = { claude: 'Claude', + openclaude: 'OpenClaude', codex: 'Codex', grok: 'Grok', copilot: 'GitHub Copilot', @@ -97,6 +99,7 @@ export const MOBILE_TUI_AGENT_FAVICON_DOMAINS: Partial> export const MOBILE_TUI_AGENT_LAUNCH_COMMANDS: Record = { claude: 'claude', + openclaude: 'openclaude', codex: 'codex', grok: 'grok', copilot: 'copilot', diff --git a/src/shared/tui-agent-selection.ts b/src/shared/tui-agent-selection.ts index 8383896bbdb..0955dfe53b0 100644 --- a/src/shared/tui-agent-selection.ts +++ b/src/shared/tui-agent-selection.ts @@ -5,6 +5,7 @@ import { isTuiAgent } from './tui-agent-config' // automatic fallback priority when the user has not chosen a default agent. export const TUI_AGENT_AUTO_PICK_ORDER = [ 'claude', + 'openclaude', 'codex', 'grok', 'copilot',