Skip to main content

Module widgets

Module widgets 

Source
Expand description

Widget library.

stat is the honesty primitive — every number in the TUI passes through it. statusbar, prompt, conversation, and pane compose the M1 shell; verdict blocks, position-row widgets, calibration bars, and scar cards land later.

Modules§

calibration
Calibration bar — a single-row gauge showing how closely the engine’s stated confidence tracks realized outcome.
conversation
Conversation pane — scrollback of log entries with an explicit offset-from-bottom cursor.
live_stream
Live-stream pane — a compact tail of the engine’s WS push surface. Sourced from crate::app::event_ring::EventRing; rendered as one row per event in chronological order (newest at the bottom so the pane reads like a log).
overlay
Full-screen-ish modal overlays painted on top of the mode pane.
pane
Stub panes for Positions, Decisions, Heat.
picker
Slash-command picker widget — small popup above the prompt listing fuzzy-matched commands with their risk badge and summary.
position_row
Single-position row — the reusable primitive behind the Positions pane and any future verdict overlay that embeds an open-position snapshot.
prompt
Prompt widget — renders the PromptBuffer as N rows.
stat
<Stat> widget — the honesty primitive.
statusbar
Status bar widget — always visible, single row at the bottom of the screen (above the prompt).
verdict
Verdict block — card-style widget that renders a single Evaluation as a compact, scannable decision surface.