pip install -U trio-retina
The state layer of the world-model stack — now with shipped latent producers and a front-to-back demo, a CLI, a typed package, and a pre-launch hardening pass.
Added
- Latent producers ship —
DinoV2Embedder(per-objectentity.vec) andVJepa2Embedder(scene-levelws.scene): bring any encoder, out comes one standardizedWorldState.pip install 'trio-retina[dino]'/[vjepa]. - The world-model stack, end to end — swap the encoder (YOLO · DINOv2 · V-JEPA 2 → same schema), a small transformer imagines the future off that state, front+back compose through one standard (
examples/world_model/,BENCHMARK.md). Flagship soccer demo: real footage → WorldState → predicted player runs. retinaCLI —retina demo/run/validate/bench(stdlib-only).- Typed package (
py.typed) + concise__repr__s; sample assets (retina.sample_events()/sample_video()); deeper docs (concepts · cookbook · cli · extend · faq).
Fixed (pre-launch hardening)
WorldState.from_frameno longer crashes on extravec/scenekeys;LineRulepending-state leak + debounce/direction edge cases;schema.validaterejectsbool-as-number / badbox/ non-object input;Detection.from_supervisionshort-class_nameIndexError;WebhookSinkrejects non-http(s)schemes.
Changed
[all]now includesmatplotlib; honesty/wording fixes across docs.
Full notes: CHANGELOG.md