Repository navigation
v0.9.1
Highlights: a Settings page in the browser app (keys, publishing), the animated explainer mode --mode ANIMATE, a recipe template, research papers and PDFs read properly, and a local-model fallback when the cloud text model is rate-limited.
-
Browser app: a Settings section. Add, replace or remove API keys (stored in
.env, only the last four characters shown, switched off when the app is open to other devices); choose upload platforms (through Upload-Post); publish a finished case video or clip set now, with a preview that sends nothing; optional automatic publishing after a run (off by default, never twice to the same platform). Newshortsflow/settings.py. -
Case explainer: new
recipetemplate (the dish, the steps, the numbers, the tips). Counters keep a unit with its number (130°C,20 g,3 cm) and show a range whole (5–7); at most four counters and three checklist rows per section, so they clear the caption bar; four counters in landscape are drawn smaller, in one row. A PDF link without.pdf(arXiv) is read as a PDF; a decimal a PDF splits (2 .14) is joined;3 x 10^9in a label reads3 billion; results sections ask for outcomes, not setup; the prompt bans author lists. Manim: the overlap check also finds a line, arrow or dot drawn through a text; retries after known crashes are told the fix; colour aliases in the kit. -
Case and animate: when the cloud text model is rate-limited or down (Gemini 429), the script and the animation code are asked of the local Ollama model (
LOCAL_LLM_MODEL) with a long timeout, and the cloud is skipped for five minutes;--case llm=auto|local|cloud(local keeps everything on this PC). Newengine/case_llm.py. -
New mode
--mode ANIMATE: a topic (and optional--sources) in, ONE continuous Manim animation under the whole narration out, in 16:9 and 9:16, for equations, processes and diagrams. It is the case pipeline with the newanimationtemplate (one section, a 10 to 14 sentence narration, the animation fills the frame with no heading), so the narrator, captions, music, nine looks,--caseoptions, plan_only, resume and draft all work;--mode EXPLAINERis unchanged. The animation is built from the Manim kit and checked for overlaps before it is rendered. -
Animations: each failed try is logged with its reason; a scene that fails only the picture checks (overlap, cut off) on the last try is rendered anyway with a warning, a crash never is; a run whose animation section ends with no animation stops with a clear message (the script and narration are kept:
--case resume=FOLDER) instead of making a title card; the kit helpers also work as scene methods (self.play_chain(group)); the kit refuses a Manim object as a label; the prompt for a whole-frame animation asks for real Manim shapes for geometric or numeric ideas; the script step asks the model once more when its answer is not a usable script. -
Browser app: a Layouts control (auto or template) and the
animationchoice in the Case tab. -
A test keeps
AGENTS.mdtrue: every file it names exists, its Python version matchespyproject.toml, its LLM fallback order matches the code, and a new CLI mode cannot ship undocumented (24 older modes are pinned as known documentation debt that can only shrink). -
--mode CASElayouts: two new scenes, compare (two columns,left | rightrows under a heading row) and chart (bars drawn to scale fromName: numberlabels, numbers counting up), and the model now picks each section's layout itself (--case layouts=auto, the default;layouts=templatekeeps the template's). It chooses from timeline, flow, counters, checklist, compare, chart and quote and never repeats one back to back; terminal and formula stay with templates that ask for them. The SOURCE chip no longer sits on the title in portrait.