Architecture Overview
glib is a BentoTUI shell with four first-class modes and one repo-scoped PI process.
High-level flow
Section titled “High-level flow”glib shell (Bubble Tea + BentoTUI) |- PROJECTS mode |- DIFF mode |- GIT mode |- PI mode | +-- pi --mode rpc --cwd <repo> stdin/stdout JSONL transport- Go
- Bubble Tea v2
- Lipgloss v2
- BentoTUI v0.6+
- bento-diffs
Philosophy
Section titled “Philosophy”- glib owns everything the user sees and navigates.
- pi owns execution and assistant reasoning work.
- shell composition is built around
rooms.Focus(...)with an anchored footer.