From 03f2ca528a34a7e099f1db8d5a931136af2a4652 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 4 Apr 2026 11:25:11 +0300 Subject: feat: random ultra-realistic/comic style, --no-ultra-realistic flag, updated README - Random 50/50 rendering mode per run (ultra-realistic or standard comic style) - --no-ultra-realistic flag forces standard comic style when set - renderingRequirement const centralised and applied to all image prompts via DRY renderReq() method - Log rendering mode chosen at generation time - Update README: correct page count (10), output filenames, all --story flags documented - Bump version to 0.13.0 Co-Authored-By: Claude Sonnet 4.6 --- cmd/totalrecall/main.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'cmd') diff --git a/cmd/totalrecall/main.go b/cmd/totalrecall/main.go index d6abcf5..f3a84f9 100644 --- a/cmd/totalrecall/main.go +++ b/cmd/totalrecall/main.go @@ -69,6 +69,7 @@ func runCommand(cmd *cobra.Command, args []string, flags *cli.Flags) error { OutputDir: ".", Style: flags.StoryStyle, Theme: flags.StoryTheme, + UltraRealistic: storyUltraRealistic(flags.StoryNoUltraRealistic), NarratorVoice: flags.NarratorVoice, }) return runner.Run(flags.StoryFile) @@ -139,3 +140,15 @@ func runGUIMode(proc *processor.Processor, flags *cli.Flags) error { return nil } + +// storyUltraRealistic converts the --no-ultra-realistic bool flag into a *bool +// for RunnerConfig. When noUltraRealistic is true, returns a pointer to false +// (forcing standard comic style). When false (flag not set), returns nil so +// the runner picks randomly 50/50 each run. +func storyUltraRealistic(noUltraRealistic bool) *bool { + if noUltraRealistic { + v := false + return &v + } + return nil // nil → random pick in NewRunner +} -- cgit v1.2.3