Skip to main content

winx_code_agent/
lib.rs

1// Library code - some functions are part of public API but may not be used internally
2#![allow(dead_code)]
3// Allow unused items - library code may export items not used internally
4#![allow(unused)]
5// Clippy lints for library flexibility
6#![allow(clippy::too_many_arguments)]
7#![allow(clippy::module_name_repetitions)]
8#![allow(clippy::must_use_candidate)]
9#![allow(clippy::missing_errors_doc)]
10#![allow(clippy::missing_panics_doc)]
11#![allow(clippy::cast_precision_loss)]
12#![allow(clippy::cast_possible_truncation)]
13#![allow(clippy::cast_sign_loss)]
14#![allow(clippy::cast_possible_wrap)]
15// Internal modules don't need full documentation
16#![allow(missing_docs)]
17
18//! # Winx - High Performance MCP Server
19//!
20//! A high-performance Rust implementation of the Model Context Protocol (MCP).
21//! It provides core tools for shell execution and file management with extreme efficiency.
22
23#[cfg(unix)]
24pub mod daemon;
25pub mod errors;
26pub mod http_server;
27pub mod runtime;
28pub mod sandbox;
29pub mod server;
30pub mod state;
31pub mod tools;
32pub mod types;
33pub mod utils;
34
35pub use errors::{Result, WinxError};
36pub use server::{start_winx_server, start_winx_server_with_runtime, SharedBashState, WinxService};