Releases: charcoal-dev/cli
Releases · charcoal-dev/cli
Console 0.2.16
Release Notes: Modular Process Orchestration
This release shifts to a modular, event-driven architecture for more robust child process management and system stability.
🚀 Enhanced Process Orchestration
- New Hooks: Introduced
prepareChildProcess()for resource isolation andchildProcessExitedHook()for reactive exit handling. - Flexible Scaling:
SupervisorConfignow defaults to unlimited children (maxChildren = 0).
🛡️ Unified State & Events
- Single Source of Truth: Replaced
RuntimeStatuswith a consolidatedExecutionState(Initializing to Finished). - Observability: The
changeState()helper ensures all transitions automatically dispatchRuntimeStatusChangeevents with full context.
🛠️ Structural Refinement
- Enforced Patterns:
exec()is now protected, requiring the state-awareburn()pattern for execution. - Plugin Architecture: Features like
CrashRecoverableTraitare now decoupled and strictly opt-in. - Loop Tracking:
AbstractCliProcessnow maintainscurrentTickNumfor easy interval-based logic.
📟 IPC & Protocol
- Hardened IPC: Improved binary framing and configurable socket blocking modes.
- Message Reliability:
MessageFrameprotocol now supports robust encoding and clear sender identification.