Documentation
¶
Overview ¶
Command chat-cli is a realistic agent-style chat REPL composed from thirteen glyph components. It is intentionally not a tabbed showcase — every component on screen earns its place by serving the chat surface.
What runs on screen at once:
- status-bar at the top: model name, message count, mode badge
- chat-thread (chat-bubble) in the middle, scrollable
- chat-input at the bottom, focused by default
- key-hints below the input, advertising current bindings
- notification-toast tray floating in the top-right
- spinner inline next to the assistant label while a reply is in flight
Surfaces that overlay the chat on demand:
- command-palette (Ctrl-P, /): slash commands
- modal + text-input: "Save conversation" filename prompt
- modal + confirmation: "Clear all messages?" prompt
- select: model picker
All thirteen components are real, untouched copies of the registry versions. There is no glyph-specific glue in this file — only Bubble Tea composition. That's the demo: how the pieces fit together.
Run it:
go run ./examples/chat-cli/
Quit at any time with Ctrl-C.
Click to show internal directories.
Click to hide internal directories.