Lightweight coding agent that runs in your terminal
Rust
tui: link docs when no MCP servers configured (#2516)
ae250ae37c8492
diff --git a/codex-rs/tui/src/history_cell.rs b/codex-rs/tui/src/history_cell.rsindex 3583aaa397..4062393517 100644--- a/codex-rs/tui/src/history_cell.rs+++ b/codex-rs/tui/src/history_cell.rs@@ -642,6 +642,15 @@ pub(crate) fn empty_mcp_output() -> PlainHistoryCell {Line::from(vec!["🔌 ".into(), "MCP Tools".bold()]),Line::from(""),Line::from(" • No MCP servers configured.".italic()),+ Line::from(vec![+ " See the ".into(),+ Span::styled(+ "\u{1b}]8;;https://github.com/openai/codex/blob/main/codex-rs/config.md#mcp_servers\u{7}MCP docs\u{1b}]8;;\u{7}",+ Style::default().add_modifier(Modifier::UNDERLINED),+ ),+ " to configure them.".into(),+ ])+ .style(Style::default().add_modifier(Modifier::DIM)),Line::from(""),];