Expand description
Cocoon → registerCommand notification.
Two side effects per call:
- Insert a
Proxiedhandler into the embedder’s command dispatch registry viaVineHost::RegisterCommandInRegistry(synchronous; allowscommands.executeCommandto route back to Cocoon immediately). - Push the command descriptor into a channel-drain coalescer that emits one
sky://command/registerbatch per 16 ms frame, avoiding 1000+ individual renderer events during extension boot.
The coalescer holds a captured Arc<dyn RendererEmitter> so the drain
task never borrows the full host across await points.