@mecha10/core
Runtime orchestration and node lifecycle management for the Mecha10 framework.
Features
- ✅ Node Lifecycle - Start, stop, restart node processes
- ✅ Health Monitoring - Automatic health checks with configurable intervals
- ✅ Auto-Restart - Restart crashed nodes (up to 3 attempts)
- ✅ Graceful Shutdown - SIGTERM handling with timeout fallback
- ✅ State Tracking - Track node states (Stopped, Starting, Running, Crashed, etc.)
- ✅ Background Tasks - Async health check loop with tokio
Status
✅ Fully Implemented - 467 lines, production-ready
Installation
[]
= { = "../core" }
= { = "1.35", = ["full"] }
= { = "1.0", = ["derive"] }
Quick Start
use ;
use HashMap;
async
API Reference
See full documentation in packages/core/README.md
Examples
See QUICKSTART.md for complete examples.
License
MIT