Architecture

The public library separates four concerns:

  • Manifest value types serialize the version 1 semantic contract.

  • The editor model owns file lifecycle, dirty state, diagnostics, preview selection, and DUI snapshot history.

  • Protocol messages describe JSON/JSONL without knowing how a process starts.

  • The adapter starts @dev-centr/themed-svg, validates response identity and version, and returns typed diagnostics.

The GUI is built on DUI, which supplies application state and undo helpers over the Dew retained-mode renderer. TGC is selected as the D runtime collector. Dew’s software backend keeps model and composition tests available where window or GPU hosting is unavailable.