Skip to content

v0.9.1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 06:57
· 32 commits to main since this release

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). New shortsflow/settings.py.

  • Case explainer: new recipe template (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^9 in a label reads 3 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). New engine/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 new animation template (one section, a 10 to 14 sentence narration, the animation fills the frame with no heading), so the narrator, captions, music, nine looks, --case options, plan_only, resume and draft all work; --mode EXPLAINER is 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 animation choice in the Case tab.

  • A test keeps AGENTS.md true: every file it names exists, its Python version matches pyproject.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 CASE layouts: two new scenes, compare (two columns, left | right rows under a heading row) and chart (bars drawn to scale from Name: number labels, numbers counting up), and the model now picks each section's layout itself (--case layouts=auto, the default; layouts=template keeps 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.