llm_kernel/install/mod.rs
1//! AI tool installation wizard.
2//!
3//! Generates MCP configuration snippets for popular AI coding tools.
4//! Each tool has its own config file format, env var syntax, and binary path.
5//!
6//! ```
7//! use llm_kernel::install::{AgentKind, McpConfig, generate_mcp_config};
8//!
9//! let config = McpConfig {
10//! server_name: "my-server".into(),
11//! command: "my-server".into(),
12//! args: vec!["serve".into()],
13//! env: vec![("MY_API_KEY".into(), "${MY_API_KEY}".into())],
14//! };
15//!
16//! let json = generate_mcp_config(&AgentKind::ClaudeDesktop, &config);
17//! assert!(json.contains("my-server"));
18//! ```
19
20pub mod wizard;
21
22pub use wizard::{AgentKind, McpConfig, generate_mcp_config};