Metadata-Version: 2.5
Name: ouro-tui-themes
Version: 0.4.0
Summary: Optional OURO welcome styles and shared dot-matrix rendering engine.
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.14
Requires-Dist: numpy<3,>=2.3.3
Requires-Dist: ouro-agent>=0.4.0
Description-Content-Type: text/markdown

# OURO TUI themes

Install the complete optional welcome extension in the OURO environment:

```sh
pip install "ouro-agent[themes]"
```

This distribution contains both the shared `ouro_tui_themes.dot_matrix` engine and
the official `ouro_tui_themes.styles` collection. The engine owns numerical fields,
terminal rasterization and widget scheduling; styles own artwork and page composition.
The engine does not depend on style implementations or welcome-page contracts.

## Styles

| Label | ID | Description |
|---|---|---|
| Horizon | `event-horizon` | An ember disk folded around a dark sun. |
| Tide | `interference` | Jade light woven into a breathing caustic. |
| Iris | `clifford-torus` | An iris of folded ultraviolet light. |
| Matrix | `matrix` | Glyph rain falling through layered phosphor green. |

Horizon, Tide and Iris share the `ouro_tui_themes.dot_matrix` engine
and require `numpy>=2.3.3,<3`: `field.py` owns numerical fields, sampling and light
fields, `raster.py` maps numerical frames to Braille and terminal colors, and
`widget.py` owns frame scheduling and widget lifecycle; themes provide samplers via
`prepare` and select a numerical engine through `DotArtwork.engine_factory`. The
`matrix` style is fully self-contained and runs without NumPy.

OURO's core provides the welcome API, persistent input surface, shared information
components and the `basic` fallback page. It runs without this distribution or NumPy.
The application loads style metadata from the installed compatible release and imports
renderers only when selected. Missing extensions or unavailable dependencies preserve
the saved selection while displaying `basic`; restarting after installation restores it.

Core and extension versions are independent. The core's `themes` extra declares a minimum compatible extension
release; the extension declares its supported core range and NumPy requirement. Build both packages
from the OURO workspace with `uv build --all-packages`. Local installation checks use both wheels;
published installations resolve the extension version selected by the core package.
