Build and deployment improvements: Makefile: - Native library build targets with ASan support - Cross-platform compilation helpers - Performance benchmark targets - Security scan integration Docker: - secure-prod.Dockerfile: Hardened production image (non-root, minimal surface) - simple.Dockerfile: Lightweight development image Scripts: - build/: Go and native library build scripts, cross-platform builds - ci/: checks.sh, test.sh, verify-paths.sh for validation - benchmarks/: Local performance testing and regression tracking - dev/: Monitoring setup Dependencies: Update to latest stable with security patches Commands: - api-server/main.go: Server initialization updates - data_manager/data_sync.go: Data sync with visibility - errors/main.go: Error handling improvements - tui/: TUI improvements for group management |
||
|---|---|---|
| .. | ||
| main.go | ||
| README.md | ||
API Server
WebSocket API server for the ML CLI tool...
Usage
./bin/api-server --config configs/api/dev.yaml
Endpoints
GET /health- Health checkWS /ws- WebSocket endpoint for CLI communication
Binary Protocol
See CLI README for protocol details.
Configuration
Uses the same configuration file as the worker. Experiment base path is read from base_path configuration key.
Example
# Start API server
./bin/api-server --listen :9100
# In another terminal, test with CLI
./cli/zig-out/bin/ml status