From 05bddac137607102f12c1c464db34a1e10707af6 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 6 Apr 2026 10:16:14 +0300 Subject: refactor: decompose Processor god object into focused files (SRP) Extract audio coordination (voice selection, config assembly, attribution writing) into audio_coordinator.go, card directory management into card_store.go, and image downloading/searcher construction into image_downloader.go. processor.go shrinks from ~1119 to ~575 lines, each file now has a single clear responsibility. Also apply go fmt to all touched files. Co-Authored-By: Claude Sonnet 4.6 --- internal/image/search.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/image') diff --git a/internal/image/search.go b/internal/image/search.go index 80d5e33..7e405da 100644 --- a/internal/image/search.go +++ b/internal/image/search.go @@ -27,8 +27,8 @@ type SearchOptions struct { Page int // Page number (1-based) ImageType string // Type: "photo", "illustration", "vector", "all" Orientation string // Orientation: "horizontal", "vertical", "all" - CustomPrompt string // Custom prompt for AI image generation - AspectRatio string // Override aspect ratio (e.g. "9:16"); empty = provider default + CustomPrompt string // Custom prompt for AI image generation + AspectRatio string // Override aspect ratio (e.g. "9:16"); empty = provider default // ReferenceImages holds raw PNG bytes of previously generated images. // When non-empty, the NanoBanana client sends them as multimodal content // alongside the text prompt so the model can match character appearance -- cgit v1.2.3