Skip to content

ADR-0006: Shell Independent of Tesserae UI

Note

Tesserae Shell is its own project, built on tre. It does not depend on tesserae-ui and asks Tesserae for nothing. Tesserae stays an application framework; shell rendering is not added to it.

Note

Update 2026-10-29 The shell's view format is now TDL, not YAML (ADR-0014 Shell File Language), so the "second YAML dialect" below is a second file language. The remark about keeping <Name>_View.yaml names was superseded by ADR-0007 Shell UI Layer > File Naming (2026-10-25) before this update. The decision stands.

Context

ADR-0002 Relationship to Tesserae UI chose to depend on tesserae-ui and found that Tesserae opens only plain windows, so it needed a request to open layer and popup windows (TRE-REQ-004 Tesserae Layer and Popup Windows). The maintainer then decided Tesserae is a large project of its own and should not take on shell rendering on top of its current scope (2026-10-25, in chat).

Options

Option A — Separate Project on Tre (Chosen)

The shell depends on tesserae-engine (tre) only. It owns its view layer, theme and widgets (ADR-0007 Shell UI Layer).

  • For: Tesserae keeps its scope. The shell is free to shape its API around surfaces and monitors. No Tesserae release gates the shell, and no tre or Tesserae pin has to move together.
  • Against: the shell must build what Tesserae already has: a view language, reactivity, theme and widgets. This is more work for one maintainer who owns both projects, and it is the second YAML dialect that ADR-0002 Relationship to Tesserae UI avoided.

Option B — Depend on tesserae-ui, Extended for the Shell

The choice of ADR-0002 Relationship to Tesserae UI. Superseded by this ADR.

Decision

Accepted 2026-10-25 by the maintainer in chat: Option A. Tesserae Shell is a separate project that builds directly on tre. It does not import tesserae-ui and does not change it.

Consequences

Caution

Scope risk The shell now includes a UI toolkit layer. Without a decision on its size, it can grow without limit. ADR-0007 Shell UI Layer keeps it to what bars, popups, OSDs and widgets need.