Skip to main content

Crate winx_code_agent

Crate winx_code_agent 

Source
Expand description

§Winx - High Performance MCP Server

A high-performance Rust implementation of the Model Context Protocol (MCP). It provides core tools for shell execution and file management with extreme efficiency.

Re-exports§

pub use errors::Result;
pub use errors::WinxError;
pub use server::start_winx_server;
pub use server::start_winx_server_with_runtime;
pub use server::SharedBashState;
pub use server::WinxService;

Modules§

build_info
Compile-time build identity exposed consistently by logs, MCP, and doctor.
config
Typed configuration and secret-loading helpers.
daemon
Long-lived shell daemon and its JSON-RPC Unix-socket client.
diagnostics
Read-only runtime diagnostics shared by the CLI and future health endpoints.
errors
http_server
Optional remote MCP transport over Streamable HTTP.
logging
report
Offline aggregation for privacy-safe winx::usage JSONL logs.
runtime
Shell execution boundary shared by embedded and daemon-backed runtimes.
sandbox
Opt-in Landlock filesystem sandbox (Linux only, EXPERIMENTAL).
server
Winx MCP server facade.
state
tool_policy
Per-principal MCP tool catalog policies.
tool_registry
Typed source of truth for MCP tool identity and cross-cutting behavior.
tools
Tools module for the Winx application.
types
utils
Utility modules for the Winx application.