Slides Rendering Flow
Two main paths.
#CLI / terminal
src/run/flows/url/slides-output.tsslides-output-state.tsslides-output-render.tsslides-output-stream.ts
Public construction + orchestration only.
Slide timeline state. Waiters. Finalization.
Terminal rendering. Inline-image policy. Debug path.
Summary-stream parsing glue.
Rule: keep terminal I/O in render helpers; keep state mutations in the state store.
#Chrome extension
apps/chrome-extension/src/entrypoints/sidepanel/stream-controller.tsstream-controller-policy.tsapps/chrome-extension/src/lib/extension-logs.tsextension-log-format.ts
Transport lifecycle.
Chunk/status terminal state rules.
Storage queue + flush only.
Pure log serialization/truncation.
Rule: push pure status/log logic out of adapters first.
#When debugging
- Check state transitions before DOM issues.
- Check stream policy before transport retry logic.
- Check cache/hydration helpers before blaming rendering.