Skip to content

Command palette and sidebar ​

The command palette is the TUI's navigation hub. Its hierarchical menu provides session management, model switching, MCP configuration, permissions, and preferences without requiring you to memorize commands. The sidebar summarizes context usage, MCP status, and task progress while you work.

Command palette ​

Press Ctrl+P to open the menu. Boolean settings display an On/Off submenu, with ✓ marking the current value.

Command panel opened by pressing Ctrl+P

Use ↑ and ↓ to move through items, Enter to select, → to open a submenu, ← to return to the parent menu, and Esc to close the palette.

The top-level menu contains six sections:

bash
Sessions    → New / Session list / Export
Models      → Model list (current model marked ✓) / Model info
MCP         → Global servers / Project servers / Enable or disable
Permissions → read / workspace / auto / yolo
Settings    → Language / Diagnostics / Experimental features
Layout      → Panel layout controls

Use Sessions to create, switch, or export sessions. Use Permissions to change the tool-call permission policy.

Configurable settings ​

SettingsOptionsDescription
LanguageChinese / EnglishSwitch the interface language, it will take effect after restarting
DiagnosticsOn / OffRecord ACP and CRP protocol traces
SubagentsOn / OffEnable subagents; off by default
TOON encodingOn / OffEncode tool results in TOON format; off by default

Press Ctrl+B to show or hide the sidebar. It updates in real time and groups information into the following sections:

Information blockDisplay content
Session informationTitle, summary (automatically generated), session ID
Working directoryCurrent session directory and the base path for file operations
Resource usageContext-window utilization and prompt-cache hit rate; turns red near the limit
Run statisticsElapsed time for the current and previous turns
MCP statusServer connection status and number of tools
Model informationCurrent model and provider