ui/

directory
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package app is the root Bubble Tea model: a Screen router (a stack, not nullable dialog pointers - build spec section 4.5) plus the global keymap.
Package app is the root Bubble Tea model: a Screen router (a stack, not nullable dialog pointers - build spec section 4.5) plus the global keymap.
component
approval
Package approval renders one pending tool-approval request inline and turns keypresses into a ports.Decision.
Package approval renders one pending tool-approval request inline and turns keypresses into a ports.Decision.
blackboard
Package blackboard renders the interactive run blackboard and inter-agent messaging center in the Terminal UI.
Package blackboard renders the interactive run blackboard and inter-agent messaging center in the Terminal UI.
composer
Package composer is the multi-line message input plus a slash-command completion list and an @-mention file picker.
Package composer is the multi-line message input plus a slash-command completion list and an @-mention file picker.
field
Package field is one editable settings row: a label plus either free text (KindText, wrapping bubbles/textinput) or a cycled value from a closed set (KindChoice, no textinput at all - so an invalid value is unreachable, not merely rejected).
Package field is one editable settings row: a label plus either free text (KindText, wrapping bubbles/textinput) or a cycled value from a closed set (KindChoice, no textinput at all - so an invalid value is unreachable, not merely rejected).
history
Package history renders the message history overlay above the composer and lets the user navigate and select previous prompt messages.
Package history renders the message history overlay above the composer and lets the user navigate and select previous prompt messages.
picker
Package picker is a generic, minimal list picker.
Package picker is a generic, minimal list picker.
queue
Package queue renders the queued messages overlay above the composer and lets the user inspect, navigate, and remove queued messages.
Package queue renders the queued messages overlay above the composer and lets the user inspect, navigate, and remove queued messages.
statusline
Package statusline renders the permanent status row above the composer: the brand mark in the turn's state, the activity label, and the elapsed time while a turn is in flight, and the row is reserved (and shows the keymap hint) when it is not.
Package statusline renders the permanent status row above the composer: the brand mark in the turn's state, the activity label, and the elapsed time while a turn is in flight, and the row is reserved (and shows the keymap hint) when it is not.
topbar
Package topbar is the cockpit's fixed top row: the brand mark and wordmark on the left, the session's model and context usage on the right.
Package topbar is the cockpit's fixed top row: the brand mark and wordmark on the left, the session's model and context usage on the right.
transcript
Package transcript renders the conversation for the inline-first UI.
Package transcript renders the conversation for the inline-first UI.
welcome
Package welcome renders the start screen splash banner for a clean CLI session.
Package welcome renders the start screen splash banner for a clean CLI session.
Package jsonout is the --output json renderer: newline-delimited JSON, one uievent.Event per line, in the same wire form testdata/ fixtures use.
Package jsonout is the --output json renderer: newline-delimited JSON, one uievent.Event per line, in the same wire form testdata/ fixtures use.
Package render turns theme roles into concrete lipgloss styles and renders structured event bodies (diffs, markdown, dialogs, headers) into styled text.
Package render turns theme roles into concrete lipgloss styles and renders structured event bodies (diffs, markdown, dialogs, headers) into styled text.
screen
conversation
agent_stall.go holds the "stalled" display derivation for the files panel's subagent rows.
agent_stall.go holds the "stalled" display derivation for the files panel's subagent rows.
settings
Package settings is the full-screen /settings modal: a left nav sidebar (General, Models, MCP, Agents, Automations) beside a detail pane, keeping the top bar and a status row.
Package settings is the full-screen /settings modal: a left nav sidebar (General, Models, MCP, Agents, Automations) beside a detail pane, keeping the top bar and a status row.
themepicker
Package themepicker is the alt-screen modal (build spec section 3.4) that live-previews and selects an app-wide theme.
Package themepicker is the alt-screen modal (build spec section 3.4) that live-previews and selects an app-wide theme.
transcript
Package transcript is the full-screen pager over the conversation (cockpit-research.md rule 6.2).
Package transcript is the full-screen pager over the conversation (cockpit-research.md rule 6.2).
Package sel holds the value types for component-owned mouse text selection.
Package sel holds the value types for component-owned mouse text selection.
Package stream is the non-TTY plain renderer: readable text with no ANSI escapes, no theme dependency, safe to pipe.
Package stream is the non-TTY plain renderer: readable text with no ANSI escapes, no theme dependency, safe to pipe.
Package theme is the single source of style for internal/ui: semantic roles, never raw colours at call sites.
Package theme is the single source of style for internal/ui: semantic roles, never raw colours at call sites.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL