vtcode 0.142.0

A Rust-based terminal coding agent with modular architecture supporting multiple LLM providers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use vtcode_agent_plugins::{FileSystemPluginInstaller, PluginInstaller};

pub(super) async fn handle_add(source: String, name: Option<String>) -> anyhow::Result<()> {
    let installer = FileSystemPluginInstaller::new();
    let installed = installer.install(&source, name).map_err(|e| anyhow::anyhow!("{}", e))?;

    println!("Installed plugin {} to {}", installed.name, installed.path.display());
    println!(
        "Validated: {} skill(s), {} MCP server(s)",
        installed.loaded.skills.len(),
        installed.loaded.mcp.as_ref().map(|m| m.servers.len()).unwrap_or(0)
    );
    Ok(())
}