From 2d6cd1a4d388b22396827cbf151aa2990ca6cd5a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 4 Apr 2026 15:45:55 +0300 Subject: feat: skip existing pages on re-run, add --story-slug for targeted repair - loadOrGenerate() in artist.go skips API calls for pages already on disk, loading bytes for the reference chain. Re-runs now only generate missing pages instead of regenerating the whole comic. - --story-slug flag forces the output directory slug so a repair run writes to the same directory as the original (e.g. --story-slug ai-jungle-quest). Co-Authored-By: Claude Sonnet 4.6 --- cmd/totalrecall/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd') diff --git a/cmd/totalrecall/main.go b/cmd/totalrecall/main.go index f3a84f9..a3523ce 100644 --- a/cmd/totalrecall/main.go +++ b/cmd/totalrecall/main.go @@ -71,6 +71,7 @@ func runCommand(cmd *cobra.Command, args []string, flags *cli.Flags) error { Theme: flags.StoryTheme, UltraRealistic: storyUltraRealistic(flags.StoryNoUltraRealistic), NarratorVoice: flags.NarratorVoice, + Slug: flags.StorySlug, }) return runner.Run(flags.StoryFile) } -- cgit v1.2.3