Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,6 @@ src/renderer/src/i18n/locales/.es-catalog-cache.json

# Bench result JSONs are working artifacts
tests/tools/benchmarks/results/terminal-pipeline-*.json

# Local contribution logs (working notes; not part of the upstream contribution)
/logs/
3 changes: 2 additions & 1 deletion src/renderer/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@
"fc80296033": "Devin",
"da41abbdd4": "Ante",
"060d152fb5": "Trae",
"mimo_code_label": "MiMo Code"
"mimo_code_label": "MiMo Code",
"reasonix": "Reasonix"
},
"skill": {
"cli": {
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@
"fc80296033": "Devin",
"da41abbdd4": "Ante",
"060d152fb5": "Trae",
"mimo_code_label": "MiMo Code"
"mimo_code_label": "MiMo Code",
"reasonix": "Reasonix"
},
"skill": {
"cli": {
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@
"fc80296033": "Devin",
"da41abbdd4": "Ante",
"060d152fb5": "Trae",
"mimo_code_label": "MiMo Code"
"mimo_code_label": "MiMo Code",
"reasonix": "Reasonix"
},
"skill": {
"cli": {
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/i18n/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@
"fc80296033": "Devin",
"da41abbdd4": "Ante",
"060d152fb5": "Trae",
"mimo_code_label": "MiMo Code"
"mimo_code_label": "MiMo Code",
"reasonix": "Reasonix"
},
"skill": {
"cli": {
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@
"fc80296033": "Devin",
"da41abbdd4": "Ante",
"060d152fb5": "Trae",
"mimo_code_label": "MiMo Code"
"mimo_code_label": "MiMo Code",
"reasonix": "Reasonix"
},
"skill": {
"cli": {
Expand Down
6 changes: 6 additions & 0 deletions src/renderer/src/lib/agent-catalog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ export const getAgentCatalog = createLocalizedCatalog((): AgentCatalogEntry[] =>
faviconDomain: 'www.trae.cn',
homepageUrl: 'https://docs.trae.cn/cli_get-started-with-trae-cli'
},
{
id: 'reasonix',
label: translate('auto.lib.agent.catalog.reasonix', 'Reasonix'),
cmd: 'reasonix',
homepageUrl: 'https://github.com/esengine/DeepSeek-Reasonix'
},
{
id: 'pi',
label: translate('auto.lib.agent.catalog.302934c5d9', 'Pi'),
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/lib/agent-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ const ICONABLE_AGENT_TYPES: Record<TuiAgent, true> = {
grok: true,
devin: true,
ante: true,
trae: true
trae: true,
reasonix: true
}

// Why: return null (not a 'claude' fallback) for unknown so Codex panes don't flash the Claude icon before the hook fires.
Expand Down
3 changes: 2 additions & 1 deletion src/shared/agent-kind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ const TUI_AGENT_KIND_BY_AGENT = {
grok: 'grok',
devin: 'devin',
ante: 'ante',
trae: 'trae'
trae: 'trae',
reasonix: 'reasonix'
} satisfies Record<TuiAgent, ConcreteAgentKind>

// Why: `satisfies Record<TuiAgent, …>` makes the lookup exhaustive at compile
Expand Down
1 change: 1 addition & 0 deletions src/shared/agent-status-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export type WellKnownAgentType =
| 'devin'
| 'ante'
| 'trae'
| 'reasonix'
| 'unknown'
export type AgentType = WellKnownAgentType | (string & {})

Expand Down
1 change: 1 addition & 0 deletions src/shared/agent-type-label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const WELL_KNOWN_LABELS: Record<string, string> = {
devin: 'Devin',
ante: 'Ante',
trae: 'Trae',
reasonix: 'Reasonix',
kimi: 'Kimi'
}

Expand Down
4 changes: 3 additions & 1 deletion src/shared/skills-cli-agent-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ export const SKILLS_CLI_AGENT_KEY_BY_TUI_AGENT = {
devin: 'devin',
ante: null,
// Why: Orca detects trae by `traecli`, an alias only TRAE CN ships.
trae: 'trae-cn'
trae: 'trae-cn',
// Why: the skills CLI has no reasonix key; drop to the universal target.
reasonix: null
} satisfies Record<TuiAgent, string | null>

/**
Expand Down
1 change: 1 addition & 0 deletions src/shared/telemetry-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export const AGENT_KIND_VALUES = [
'devin',
'ante',
'trae',
'reasonix',
'other'
] as const
export const agentKindSchema = z.enum(AGENT_KIND_VALUES)
Expand Down
7 changes: 7 additions & 0 deletions src/shared/tui-agent-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,13 @@ export const TUI_AGENT_CONFIG: Record<TuiAgent, TuiAgentConfig> = {
expectedProcess: 'devin',
// Why: `devin -- <prompt>` auto-submits immediately (docs.devin.ai/cli), so start the REPL with no argv prompt.
promptInjectionMode: 'stdin-after-start'
},
reasonix: {
detectCmd: 'reasonix',
launchCmd: 'reasonix',
expectedProcess: 'reasonix',
// Why: reasonix's prompt contract is unverified; start bare and inject after startup, like aider/goose.
promptInjectionMode: 'stdin-after-start'
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/shared/tui-agent-display-names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export const TUI_AGENT_DISPLAY_NAMES: Record<TuiAgent, string> = {
hermes: 'Hermes',
openclaw: 'OpenClaw',
copilot: 'GitHub Copilot',
grok: 'Grok'
grok: 'Grok',
reasonix: 'Reasonix'
}

/** Canonical agent id list derived from the exhaustive display-name record,
Expand Down
3 changes: 2 additions & 1 deletion src/shared/tui-agent-selection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export const TUI_AGENT_AUTO_PICK_ORDER = [
'rovo',
'hermes',
'devin',
'openclaw'
'openclaw',
'reasonix'
] as const satisfies readonly TuiAgent[]

// Why: fresh installs should expose Claude Agent Teams in agent pickers; the
Expand Down
1 change: 1 addition & 0 deletions src/shared/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2608,6 +2608,7 @@ export type TuiAgent =
| 'devin' // Devin CLI
| 'ante' // Ante (Antigma Labs)
| 'trae' // Trae CLI
| 'reasonix' // Reasonix (npm CLI)

export type TaskViewPresetId = 'all' | 'issues' | 'review' | 'my-issues' | 'my-prs' | 'prs'

Expand Down
Loading