fix: show fetch parameters in content area instead of duplicating URL

hems and Claude created

Instead of completely removing the generateFetchContent function,
restore it to show useful fetch parameters (format, timeout) in
the content area rather than duplicating the URL that's already
shown in the header.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Change summary

internal/tui/components/dialogs/permissions/permissions.go | 14 ++++++++
1 file changed, 14 insertions(+)

Detailed changes

internal/tui/components/dialogs/permissions/permissions.go 🔗

@@ -405,6 +405,20 @@ func (p *permissionDialogCmp) generateWriteContent() string {
 }
 
 func (p *permissionDialogCmp) generateFetchContent() string {
+	t := styles.CurrentTheme()
+	baseStyle := t.S().Base.Background(t.BgSubtle)
+	if pr, ok := p.permission.Params.(tools.FetchPermissionsParams); ok {
+		// Show format info instead of duplicating URL
+		content := fmt.Sprintf("Format: %s", pr.Format)
+		if pr.Timeout > 0 {
+			content += fmt.Sprintf("\nTimeout: %d seconds", pr.Timeout)
+		}
+		finalContent := baseStyle.
+			Padding(1, 2).
+			Width(p.contentViewPort.Width()).
+			Render(content)
+		return finalContent
+	}
 	return ""
 }