diff --git a/src/cli/App.tsx b/src/cli/App.tsx index 2f4194d..6b64a88 100644 --- a/src/cli/App.tsx +++ b/src/cli/App.tsx @@ -5071,12 +5071,9 @@ Plan file path: ${planFilePath}`; {/* Subagent group display - shows running/completed subagents */} - {/* Ensure 1 blank line above input when there are no live items */} - {liveItems.length === 0 && } - {/* Exit stats - shown when exiting via double Ctrl+C */} {showExitStats && ( - + {formatUsageStats({ stats: sessionStatsRef.current.getSnapshot(), @@ -5088,34 +5085,36 @@ Plan file path: ${planFilePath}`; )} {/* Input row - always mounted to preserve state */} - + 0 ? 0 : 1}> + + {/* Model Selector - conditionally mounted as overlay */} {activeOverlay === "model" && ( @@ -5360,68 +5359,54 @@ Plan file path: ${planFilePath}`; {/* Plan Mode Dialog - for ExitPlanMode tool */} {currentApproval?.toolName === "ExitPlanMode" && ( - <> - - handlePlanApprove(false)} - onApproveAndAcceptEdits={() => handlePlanApprove(true)} - onKeepPlanning={handlePlanKeepPlanning} - /> - + handlePlanApprove(false)} + onApproveAndAcceptEdits={() => handlePlanApprove(true)} + onKeepPlanning={handlePlanKeepPlanning} + /> )} {/* Question Dialog - for AskUserQuestion tool */} {currentApproval?.toolName === "AskUserQuestion" && ( - <> - - - + )} {/* Enter Plan Mode Dialog - for EnterPlanMode tool */} {currentApproval?.toolName === "EnterPlanMode" && ( - <> - - - + )} {/* Approval Dialog - for standard tools (not fancy UI tools) */} {currentApproval && !isFancyUITool(currentApproval.toolName) && ( - <> - - - + )} )}