How bombshell-dev/ui works
This workspace centers on @clack/ui, a web-based TUI engine whose DOM implementation, layout, and rendering are coordinated by its UI layer. The README describes framework-facing web bindings and an underlying terminal renderer, but the sampled source does not show those external integrations, so they are not drawn as runtime edges. The separate Web Platform Tests package is compatibility-test infrastructure rather than a documented product capability and is omitted. Relationships shown below are supported by the source index; unsampled behavior is not inferred.
Main entry points: dom.ts DOM Model · ui.ts UI Coordinator · named-node-map.ts Named Attributes · layout.ts Layout
Components 8
UI Engine
- UI Coordinator
packages/ui/src/ui.ts - Layout
packages/ui/src/layout.ts - Terminal Rendering
packages/ui/src/render.ts
DOM Runtime
- DOM Model
packages/ui/src/dom.ts - Named Attributes
packages/ui/src/named-node-map.ts
DOM Support
- Name Validation
packages/ui/src/validation.ts - ASCII Case
packages/ui/src/ascii.ts
Other components
- Application
Connections 10
- Application → UI Coordinator: uses
- UI Coordinator → DOM Model: coordinates
packages/ui/src/ui.ts - UI Coordinator → Layout: requests layout
packages/ui/src/ui.ts - UI Coordinator → Terminal Rendering: requests rendering
packages/ui/src/ui.ts - Layout → DOM Model: reads DOM
packages/ui/src/layout.ts - DOM Model → Named Attributes: creates map
packages/ui/src/dom.ts - DOM Model → ASCII Case: normalizes case
packages/ui/src/dom.ts - DOM Model → Name Validation: validates names
packages/ui/src/dom.ts - Named Attributes → Name Validation: validates attributes
packages/ui/src/named-node-map.ts - Named Attributes → ASCII Case: normalizes case
packages/ui/src/named-node-map.ts