- Updated markdown rendering logic to use more concise methods for obtaining vector lengths. - Changed review status display to use the correct flag from settings. - Cleaned up sidebar rendering code for better formatting and readability. - Enhanced status bar rendering with improved string formatting and consistent style application. - Refined workflow panel rendering, ensuring consistent style usage and improved readability. - Added architecture overview and detailed documentation for backend, data, dependencies, and frontend structures.
12 lines
421 B
Rust
12 lines
421 B
Rust
//! MCP mode: overlay for connecting to a configured MCP server.
|
|
use crate::app::state::rest::AppStateRest;
|
|
|
|
/// Placeholder entry point for connecting to an MCP server by name.
|
|
///
|
|
/// Why: not yet wired to `McpManager::connect_stdio` — currently just
|
|
/// marks state dirty so the overlay re-renders.
|
|
pub fn connect_mcp(state: &mut AppStateRest, server_name: &str) {
|
|
let _ = server_name;
|
|
state.dirty = true;
|
|
}
|