Skip to main content
Version: 0.24.0

ui

The terminal palette: one function per theme role, drawing text in the current theme.

Functions​

FunctionDescription
accentThe accent (the approval panels' border).
actionThe plain console's [action] lines (action role).
agentThe agent's label and texts (agent role).
boldBold, whatever the theme.
codeInline code and code blocks.
dimSecondary text (dim role).
errorErrors (error role).
headingTitles (heading role, bold by default).
italicItalics, whatever the theme.
strikeStrikethrough, whatever the theme.
successGood outcomes (success role).
toolBulletThe ● before a tool call (toolBullet role).
toolLabelA tool call's label.
toolResultThe one-line result under a tool call.
userThe person's prompt label (user role).
userBarThe background of the human's lines.
warnWarnings and notices (warn role).
workingThe spinner and what the agent is doing.