Expand description
Editor-thread handle onto the AI supervisor task (AI-1b).
AiClientHandle is the only thing the editor thread touches: it sends
AiCmds into the supervisor’s channel and reads an ArcSwap<AiState>
snapshot. Both are non-blocking – no protocol I/O, no locks held across
.await, ever runs on the editor thread. The supervisor itself (owning
the provider child, Connection, and SessionId) lives in
supervisor.rs.
Structs§
- AiClient
Handle - Clone-able handle onto a running (or idle) AI supervisor task.
- AiState
- Editor-visible snapshot of the active AI session, if any. Cheap to clone
and compare; read via
AiClientHandle::snapshot.