Skip to main content
High-level single-session monitor over the low-level Rust monitor feed.

Constructor

Signature

Properties

MonitorScope
tuple[str, int] | None

Methods

close()

Signature

get_session()

Signature

list_graph_nodes()

Signature

list_parties()

Signature

recent_errors()

Signature

recent_trace_refs()

Signature

serve_ws()

Signature
Start a background websocket broadcaster for MonitorSnapshot JSON. port=0 asks the OS for a free port; the actual bound port is returned so callers can tell viewers where to connect. Idempotent in the sense that a second call while the server is running raises. The snapshot includes full session/party/trace topology with no authentication, so binding a non-loopback host requires the caller to opt in with allow_remote=True.

session_parties()

Signature

snapshot()

Signature

stop()

Signature

stop_ws()

Signature