• Stefy Lanza (nextime / spora )'s avatar
    township: "Regenerate whole match" button (end-to-end match redo) · 94a5f1ac
    Stefy Lanza (nextime / spora ) authored
    Adds a `full` scope to the per-match action handler that rebuilds one
    match in order: re-plan all fight-clip + outcome prompts (text model) →
    regenerate every keyframe (image model) → re-render all clips + outcomes
    and reassemble finals (video model), with live per-phase progress. Other
    matches are untouched. Wires the confirm dialog, the match-detail button,
    and the /matches/render scope allowlist.
    
    Fix: the `full` confirm label used an apostrophe (match's) inside the
    single-quoted JS string of the plain triple-quoted _match_js block, which
    collapsed to a real quote and broke the whole script (reMatch undefined).
    Reworded to avoid it; verified the rendered JS parses with node --check.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    94a5f1ac
gen_township_fighters.py 391 KB