Agenterm REPL Color Reference

Generated from color_tokens.py + tui/theme.py — run uv run docs/generate_repl_reference.py to regenerate

Transcript Text Roles

transcript.user: User input text (bold key)
transcript.assistant: Agent response text (surface_fg)
transcript.system: System messages (dim)
-- transcript.separator: run 1 ------------------------------------------------------------

Reasoning Blocks

[reasoning]
**Summary text with literal markdown** (transcript.meta = dim)
Multi-line reasoning content appears here.
The **bold markers** are NOT rendered, shown as literal text.

Tool Call Blocks

[tool call] tool_name
arg1: value1
arg2: value2

Tool Output Blocks

[tool output] bat (ok)
path: src/app.py
lines: 200
[tool output] shell (fail)
error: Command failed with exit code 1
stderr: Permission denied

Artifact Blocks

[artifact] image abc123
saved: /tmp/artifacts/abc123.png
meta: image/png (45678 bytes)
open: /artifacts open abc123

Approval Blocks

[approval] shell: rm -rf /tmp/test
command: rm -rf /tmp/test
reason: Dangerous command requires approval
[approval] shell: rm -rf /tmp/test (ok)
[approval] shell: rm -rf /tmp/test (fail)

Activity Indicators

indicator.idle: ⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶⠶
indicator.active: ████████████████████████████████████████████████████████████████████████

Prompt Area States

> placeholder: Enter sends. Ctrl+J inserts newline. Ctrl+C clears input.
> placeholder (running): Run running - ESC/Ctrl+C cancels.
> placeholder.warn: Approval pending - review modal or /approvals list.

Toolbar Variations

agent: default[openai/gpt-4o] | effort: medium | tools: safe | context: 42%
agent: coding[anthropic/claude-sonnet] | running | ready | warning
AUTO

Completion Menu

Modal Overlay

Search & Selection

Normal text with search highlight in context
Normal text with text selection highlighted
cursor-line: Current line highlighting
Code with (matching) brackets

Scrollbar

scrollbar.background + scrollbar.button

Dark Theme Tokens

good
#6cb878
status ok, toolbar.good
warn
#dca048
placeholder.warn, toolbar.warn
error
#d45858
status fail, toolbar.auto
primary
#f6ece0
semantic: primary text
secondary
#c4b8a8
semantic: secondary text
muted
#847870
semantic: muted text
accent
#dca048
semantic: accent
surface
#080606
semantic: surface
surface_alt
#1a1610
semantic: surface alt
toolbar_bg
#1c1610
bottom-toolbar bg
toolbar_fg
#d4c4a8
bottom-toolbar fg
dim
#786048
transcript.meta, .separator, .system, placeholder
brand
#e4a840
prompt.chevron, modal.title
phase
#d89820
indicator.active, toolbar.phase
model
#f0e0c0
toolbar.model
key
#d49818
transcript.user, transcript.label, toolbar.key
value
#e8dcc4
toolbar.value, toolbar.agent
sep
#443420
toolbar.sep
surface_bg
#080604
transcript bg, indicator bg
surface_fg
#f0e4d0
transcript.assistant
surface_alt_bg
#2c2014
selected/hover bg
surface_alt_fg
#f8f0dc
selected/hover fg
surface_meta_bg
#181410
modal bg
surface_meta_fg
#a89070
modal fg
input_bg
#1a1410
input-area bg
input_fg
#f0e4d0
input-area fg
menu_bg
#282014
completion-menu bg
menu_fg
#f0e4d0
completion-menu fg
menu_alt_bg
#3c2c18
completion-menu.current bg
menu_alt_fg
#fcf4e4
completion-menu.current fg
menu_meta_fg
#a89070
completion-menu.meta
scrollbar_bg
#1c1810
scrollbar.background
scrollbar_button
#604828
scrollbar.button
search_bg
#402c18
search highlight bg
search_fg
#f8f0dc
search highlight fg
selection_bg
#382818
text selection bg
selection_fg
#f8f0dc
text selection fg
cursor_line_bg
#0c0a06
cursor-line bg
bracket_bg
#402c18
matching-bracket bg
bracket_fg
#f8f0dc
matching-bracket fg

Light Theme Tokens

good
#247840
status ok, toolbar.good
warn
#a85808
placeholder.warn, toolbar.warn
error
#b82828
status fail, toolbar.auto
primary
#14100a
semantic: primary text
secondary
#3c3428
semantic: secondary text
muted
#585048
semantic: muted text
accent
#a85808
semantic: accent
surface
#fcfaf6
semantic: surface
surface_alt
#e6ded0
semantic: surface alt
toolbar_bg
#e8dcc8
bottom-toolbar bg
toolbar_fg
#2c2014
bottom-toolbar fg
dim
#907860
transcript.meta, .separator, .system, placeholder
brand
#b45c08
prompt.chevron, modal.title
phase
#944c08
indicator.active, toolbar.phase
model
#1c1408
toolbar.model
key
#a45010
transcript.user, transcript.label, toolbar.key
value
#2c2014
toolbar.value, toolbar.agent
sep
#c8b8a4
toolbar.sep
surface_bg
#fcfaf4
transcript bg, indicator bg
surface_fg
#181008
transcript.assistant
surface_alt_bg
#dcccc0
selected/hover bg
surface_alt_fg
#140c04
selected/hover fg
surface_meta_bg
#f4ecd8
modal bg
surface_meta_fg
#584838
modal fg
input_bg
#ffffff
input-area bg
input_fg
#181008
input-area fg
menu_bg
#f0e4d4
completion-menu bg
menu_fg
#181008
completion-menu fg
menu_alt_bg
#dcc8b8
completion-menu.current bg
menu_alt_fg
#100804
completion-menu.current fg
menu_meta_fg
#685848
completion-menu.meta
scrollbar_bg
#e4d4c4
scrollbar.background
scrollbar_button
#685848
scrollbar.button
search_bg
#e0ccc0
search highlight bg
search_fg
#181008
search highlight fg
selection_bg
#d0c0b0
text selection bg
selection_fg
#140c04
text selection fg
cursor_line_bg
#fefcf8
cursor-line bg
bracket_bg
#e0ccc0
matching-bracket bg
bracket_fg
#181008
matching-bracket fg