fix(effort): 面板文字改紫色,ULTRACODE_HINT 英文化

- 颜色:theme.claude(橙)→ theme.purple_FOR_SUBAGENTS_ONLY(Purple 600, rgb(147,51,234)),
  覆盖标题、Faster/Smarter、▲、档位名
- ULTRACODE_HINT:中文 → 英文
  "ultracode is not an effort level. Use /ultracode <context> to start a multi-agent workflow."

Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win>
This commit is contained in:
claude-code-best
2026-06-14 14:41:43 +08:00
parent c1aa2180c4
commit b545fc8aff
2 changed files with 6 additions and 6 deletions

View File

@@ -72,13 +72,13 @@ export function EffortPanel({ appStateEffort, onDone }: Props): React.ReactNode
return (
<Box flexDirection="column" paddingX={1} width={PANEL_WIDTH + 2}>
<Text bold color="claude">
<Text bold color="purple_FOR_SUBAGENTS_ONLY">
Effort
</Text>
{envActive && <Text color="warning">{`⚠ CLAUDE_CODE_EFFORT_LEVEL=${envRaw} overrides this session`}</Text>}
<Box marginTop={1} flexDirection="row" justifyContent="space-between">
<Text color="claude">Faster</Text>
<Text color="claude">Smarter</Text>
<Text color="purple_FOR_SUBAGENTS_ONLY">Faster</Text>
<Text color="purple_FOR_SUBAGENTS_ONLY">Smarter</Text>
</Box>
{/* 分隔线 */}
<Text color="subtle">{'─'.repeat(PANEL_WIDTH)}</Text>
@@ -86,7 +86,7 @@ export function EffortPanel({ appStateEffort, onDone }: Props): React.ReactNode
<Box flexDirection="row">
{PANEL_POSITIONS.map(p => (
<Box key={`cursor-${p}`} width={SEGMENT} justifyContent="center">
<Text bold color="claude">
<Text bold color="purple_FOR_SUBAGENTS_ONLY">
{cursor === p ? '▲' : ' '}
</Text>
</Box>
@@ -96,7 +96,7 @@ export function EffortPanel({ appStateEffort, onDone }: Props): React.ReactNode
<Box flexDirection="row">
{PANEL_POSITIONS.map(p => (
<Box key={`label-${p}`} width={SEGMENT} justifyContent="center">
<Text bold={cursor === p} color="claude">
<Text bold={cursor === p} color="purple_FOR_SUBAGENTS_ONLY">
{p}
</Text>
</Box>

View File

@@ -106,7 +106,7 @@ export type ApplyFn = (cursor: PanelPosition) => {
}
export const ULTRACODE_HINT =
'ultracode 不是 effort 档位。请使用 /ultracode <context> 启动多 agent workflow'
'ultracode is not an effort level. Use /ultracode <context> to start a multi-agent workflow.'
export const CANCEL_MESSAGE = 'Effort unchanged.'