This directory contains a first-party TUI runtime for Bare OS guest scripts. Algorithms for visible-cell width, line-diff rendering, and The Elm Architecture (init / update / view / Cmd) follow the approach used by Holepunch `bare-tui` (Apache-2.0) and Charm Bubble Tea. Those packages are not imported; this tree is raw JavaScript with no `import` / `require`. Holepunch `bare-tui` license: Apache-2.0 https://github.com/holepunchto/bare-tui