feat: implement all 15 fxt CLI commands with real gRPC calls
- 13 commands with full gRPC implementations: service, train, tune, model, trade, broker, agent, data, risk, config, cluster, auth, backtest - Streaming support: train logs --follow, broker executions --follow - --json output on every command via OutputFormat/HumanReadable - Fix web-gateway monitoring URL default (50057 → 50051, API Gateway) - Rewire 7 remaining build.rs to consolidated proto/ root (web-gateway, backtesting_service, training_uploader, 3 test crates, e2e) - Fix web-gateway ml_training.proto new fields (mode, max_epochs, resume) - 75 fxt tests + 139 web-gateway tests, 0 clippy warnings, workspace clean Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
// Compile TLI proto files for client testing (Tonic 0.14+)
|
||||
// Compile proto files for client testing (Tonic 0.14+)
|
||||
tonic_prost_build::configure()
|
||||
.build_server(false)
|
||||
.build_client(true)
|
||||
.compile_protos(
|
||||
&[
|
||||
"../../bin/fxt/proto/trading.proto",
|
||||
"../../bin/fxt/proto/ml.proto",
|
||||
"../../bin/fxt/proto/config.proto",
|
||||
"../../bin/fxt/proto/health.proto",
|
||||
"../../proto/trading.proto",
|
||||
"../../proto/ml.proto",
|
||||
"../../proto/config.proto",
|
||||
"../../proto/health.proto",
|
||||
],
|
||||
&["../../bin/fxt/proto"],
|
||||
&["../../proto"],
|
||||
)?;
|
||||
|
||||
// Tell cargo to recompile if proto files change
|
||||
println!("cargo:rerun-if-changed=../../bin/fxt/proto/trading.proto");
|
||||
println!("cargo:rerun-if-changed=../../bin/fxt/proto/ml.proto");
|
||||
println!("cargo:rerun-if-changed=../../bin/fxt/proto/config.proto");
|
||||
println!("cargo:rerun-if-changed=../../bin/fxt/proto/health.proto");
|
||||
println!("cargo:rerun-if-changed=../../proto/trading.proto");
|
||||
println!("cargo:rerun-if-changed=../../proto/ml.proto");
|
||||
println!("cargo:rerun-if-changed=../../proto/config.proto");
|
||||
println!("cargo:rerun-if-changed=../../proto/health.proto");
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user