- Replace hardcoded i32 enum matches with ProtoEnum::try_from() in 8 command files (cluster, config, data, model, risk, service, train, tune) - Replace hardcoded i32 literals with enum variants (EmergencyStopType, ExportFormat, TrainingMode) - Add JSON-RPC 2.0 PARSE_ERROR (-32700) for malformed JSON input - Validate jsonrpc:"2.0" version on incoming MCP requests - Change unreachable execute_tool catch-all from Ok to Err - Fix TUI teardown to not mask original event_loop error - Rename config_cmd module to config (commands::config) - 77 tests pass, 0 clippy warnings Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
291 B
Rust
18 lines
291 B
Rust
//! CLI command modules -- one file per top-level subcommand.
|
|
|
|
pub mod agent;
|
|
pub mod auth;
|
|
pub mod backtest;
|
|
pub mod broker;
|
|
pub mod cluster;
|
|
pub mod config;
|
|
pub mod data;
|
|
pub mod mcp;
|
|
pub mod model;
|
|
pub mod risk;
|
|
pub mod service;
|
|
pub mod trade;
|
|
pub mod train;
|
|
pub mod tune;
|
|
pub mod watch;
|