winx-code-agent 0.2.351

Remote-first Rust MCP runtime with Streamable HTTP, durable PTYs, and guarded agent tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::path::PathBuf;

use clap::Parser;
use winx_code_agent::daemon::DaemonServer;

#[derive(Parser)]
#[command(name = "winx-guardian", version, about = "Stable owner of one Winx shell session")]
struct Cli {
    #[arg(long)]
    socket: PathBuf,
}

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let cli = Cli::parse();
    DaemonServer::bind(cli.socket).await?.serve().await?;
    Ok(())
}