{q.question}
+Requested permissions:
+Plan approved — executing
+ )} + {pendingPermission?.toolName === 'ExitPlanMode' && permissionResolved === 'deny' && ( +Plan rejected
+ )} + + {/* AskUserQuestion */} + {pendingPermission?.toolName === 'AskUserQuestion' && !permissionResolved && ( +Answer submitted
+ )} + + {/* Generic confirmation for other tools */} + {pendingPermission?.toolName !== 'AskUserQuestion' && pendingPermission?.toolName !== 'ExitPlanMode' && (pendingPermission || permissionResolved) && ( +{t('streaming.allowed')}
+{t('streaming.denied')}
+{q.question}
-Requested permissions:
-Plan approved — executing
- )} - {pendingPermission?.toolName === 'ExitPlanMode' && permissionResolved === 'deny' && ( -Plan rejected
- )} - - {/* Permission approval — generic confirmation for other tools */} - {(pendingPermission || permissionResolved) && pendingPermission?.toolName !== 'AskUserQuestion' && pendingPermission?.toolName !== 'ExitPlanMode' && ( -{t('streaming.allowed')}
-{t('streaming.denied')}
-Answer submitted
- )} - {/* Loading indicator when no content yet */} - {isStreaming && !content && toolUses.length === 0 && !pendingPermission && ( + {isStreaming && !content && toolUses.length === 0 && (