"""OR1 Monitor package. Provides simulation backend and command/result protocol for monitoring and controlling OR1 dataflow computations in real-time. Core exports: - SimulationBackend: Threaded simulation controller - Command types: LoadCmd, StepTickCmd, StepEventCmd, RunUntilCmd, InjectCmd, SendCmd, ResetCmd, StopCmd - Result types: GraphLoaded, StepResult, ErrorResult - State capture: StateSnapshot, capture() The backend manages a SimPy environment in a dedicated thread, processes commands via queue.Queue, and returns results with full state snapshots and event lists. """ from monitor.backend import SimulationBackend from monitor.commands import ( ErrorResult, GraphLoaded, InjectCmd, LoadCmd, ResetCmd, RunUntilCmd, SendCmd, SimCommand, StepEventCmd, StepResult, StepTickCmd, StopCmd, ) from monitor.snapshot import StateSnapshot, capture __all__ = [ "SimulationBackend", "LoadCmd", "StepTickCmd", "StepEventCmd", "RunUntilCmd", "InjectCmd", "SendCmd", "ResetCmd", "StopCmd", "SimCommand", "GraphLoaded", "StepResult", "ErrorResult", "StateSnapshot", "capture", ]