fix: include OpenClaude in mobile agent catalog (#3722)
This commit is contained in:
parent
41b43618b9
commit
c9f0fa92be
|
|
@ -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<TuiAgent, string> = {
|
||||
claude: 'Claude',
|
||||
openclaude: 'OpenClaude',
|
||||
codex: 'Codex',
|
||||
grok: 'Grok',
|
||||
copilot: 'GitHub Copilot',
|
||||
|
|
@ -68,6 +70,7 @@ export const MOBILE_TUI_AGENT_LABELS: Record<TuiAgent, string> = {
|
|||
}
|
||||
|
||||
export const MOBILE_TUI_AGENT_FAVICON_DOMAINS: Partial<Record<TuiAgent, string>> = {
|
||||
openclaude: 'openclaude.gitlawb.com',
|
||||
grok: 'x.ai',
|
||||
copilot: 'github.com',
|
||||
opencode: 'opencode.ai',
|
||||
|
|
@ -97,6 +100,7 @@ export const MOBILE_TUI_AGENT_FAVICON_DOMAINS: Partial<Record<TuiAgent, string>>
|
|||
|
||||
export const MOBILE_TUI_AGENT_LAUNCH_COMMANDS: Record<TuiAgent, string> = {
|
||||
claude: 'claude',
|
||||
openclaude: 'openclaude',
|
||||
codex: 'codex',
|
||||
grok: 'grok',
|
||||
copilot: 'copilot',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue