diff --git a/src/cli/components/ApprovalDialogRich.tsx b/src/cli/components/ApprovalDialogRich.tsx index b74ffe2..4e1ac53 100644 --- a/src/cli/components/ApprovalDialogRich.tsx +++ b/src/cli/components/ApprovalDialogRich.tsx @@ -343,12 +343,8 @@ const DynamicPreview: React.FC = ({ const model = typeof parsedArgs?.model === "string" ? parsedArgs.model : undefined; - // Truncate long prompts for preview (show first ~200 chars) - const maxPromptLength = 200; - const promptPreview = - prompt.length > maxPromptLength - ? `${prompt.slice(0, maxPromptLength)}...` - : prompt; + // Show full prompt - users need to see what the task will do + const promptPreview = prompt; return ( diff --git a/src/cli/components/InlineTaskApproval.tsx b/src/cli/components/InlineTaskApproval.tsx index 6d5d57b..4753d51 100644 --- a/src/cli/components/InlineTaskApproval.tsx +++ b/src/cli/components/InlineTaskApproval.tsx @@ -129,8 +129,8 @@ export const InlineTaskApproval = memo( const memoizedTaskContent = useMemo(() => { const { subagentType, description, prompt, model } = taskInfo; - // Truncate prompt if too long (show first ~200 chars) - const truncatedPrompt = truncate(prompt, 300); + // Show full prompt - users need to see what the task will do + const truncatedPrompt = prompt; return ( <>