refactor: 优化 Dialog 2 工具列表 (问题 5)

- 移除多余的序号,简化视觉元素
- 统一选中状态颜色方案 (与 Dialog 1 一致使用 accent 色)
- 保留工具功能说明 (annotations),提升可读性
This commit is contained in:
LaZzyMan 2026-03-09 11:09:47 +08:00
parent 2b1088682c
commit 4dfaa12e16

View file

@ -105,14 +105,13 @@ export const ToolListStep: React.FC<ToolListStepProps> = ({
return (
<Box key={tool.name}>
{/* 选择器和序号 */}
<Box minWidth={4}>
{/* 选择器 */}
<Box minWidth={2}>
<Text
color={isSelected ? theme.text.accent : theme.text.primary}
>
{isSelected ? '' : ' '}
</Text>
<Text color={theme.text.secondary}>{actualIndex + 1}.</Text>
</Box>
{/* 工具名称 - 固定宽度 */}
<Box width={toolNameWidth}>