fix(cli): restore file path display in edit and write tool confirmations (#24974)

This commit is contained in:
Jarrod Whelan
2026-04-08 15:19:25 -07:00
committed by GitHub
parent 1023c5b7a6
commit 14b2f35677
7 changed files with 70 additions and 8 deletions

View File

@@ -98,9 +98,9 @@ export const ToolConfirmationQueue: React.FC<ToolConfirmationQueueProps> = ({
<Box flexDirection="row" flexShrink={1} overflow="hidden">
<Text color={theme.status.warning} bold>
? {toolLabel}
{!isEdit && !!tool.description && ' '}
{!!tool.description && ' '}
</Text>
{!isEdit && !!tool.description && (
{!!tool.description && (
<Box flexShrink={1} overflow="hidden">
<Text color={theme.text.primary} wrap="truncate-end">
{tool.description}