mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 03:09:49 +08:00
Groundwork for a capability that answers with an animated explainer the learner plays in the browser, rather than a server-rendered video. kit.tsx is the component library lessons are written against: a paper page, serif titles, captions, pen marks, plots (curves, point sequences, cobwebs), an honest-scale timeline and a China map, all in DeepTutor's palette. Style comes from the kit, so the model only arranges content. build.mjs compiles Lesson.tsx with esbuild, renders 25 sample frames in Node and bundles the composition into @remotion/player. Lessons may import only react, remotion and ./kit, and the frame check runs under Node's permission model (no file writes, child processes or workers). Errors thrown during rendering are reported through renderToPipeableStream so the model sees the real message. runtime.py installs the pinned npm packages on first use, then wraps a bundle into one self-contained page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 lines
0 B
Python
0 lines
0 B
Python
The file is empty.