winx-code-agent 0.2.302

High-performance Rust implementation of WCGW for LLM code agents
Documentation
[package]
name = "winx-code-agent"
version = "0.2.302"
edition = "2021"
rust-version = "1.75"
description = "High-performance Rust implementation of WCGW for LLM code agents"
authors = ["Gabriel Maia <gabrielmaialva33@gmail.com>"]
license = "MIT"
repository = "https://github.com/gabrielmaialva33/winx-code-agent"
keywords = ["mcp", "llm", "code-agent", "shell", "wcgw"]
categories = ["command-line-utilities", "development-tools"]

[dependencies]
# MCP SDK - Official Rust SDK for Model Context Protocol
rmcp = { version = "1.6.0", features = ["transport-io", "server"] }

# Schema generation for MCP tools
schemars = "1.2"

# Async runtime - Tokio is the standard
tokio = { version = "1.49", features = ["full"] }

# Serialization - Serde ecosystem
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# Error handling - thiserror for library, anyhow for binary
thiserror = "2.0"
anyhow = "1.0"

# Logging and observability
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# File and system operations
home = "0.5"
sha2 = "0.11.0"
base64 = "0.22"
glob = "0.3"
regex = "1.11"
mime_guess = "2.0"
memmap2 = "0.9"
tempfile = "3.14"
toml = "1.1"

# Performance and concurrency
rayon = "1.10"

# Advanced string matching algorithms
portable-pty = "0.9.0"
lazy_static = "1.5"
libc = "0.2"

# Terminal emulation and text processing
vte = "0.15"
strsim = "0.11"
tiktoken-rs = "0.11.0"
tree-sitter = "0.25"
tree-sitter-bash = "0.25.1"
tree-sitter-json = "0.24.8"
tree-sitter-javascript = "0.25.0"
tree-sitter-rust = "0.24.2"
tree-sitter-typescript = "0.23.2"

# Random number generation
rand = "0.10.1"

# CLI
clap = { version = "4.5", features = ["derive"] }

[dev-dependencies]
tempfile = "3.14"

[features]
default = []

# Clippy lints for quality
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
unwrap_used = "warn"
expect_used = "warn"
panic = "warn"
todo = "warn"
dbg_macro = "warn"
print_stdout = "warn"
print_stderr = "warn"

# Allow some pedantic lints that are too strict
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"

[lints.rust]
# Note: unsafe_code is allowed in specific modules (mmap.rs, bash_state.rs) for I/O operations
# unsafe_code = "deny"  # Re-enable when refactoring complete
# Allow unused code in library - some functions are for public API or future use
dead_code = "allow"
unused = "allow"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true

[profile.dev]
opt-level = 0
debug = true

[profile.test]
opt-level = 0
debug = true