mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-03-27 01:13:09 +00:00
Adds crates/weft-appd/src/compositor_client.rs: async Tokio client that connects to the compositor's Unix socket (/weft/compositor.sock or WEFT_COMPOSITOR_SOCKET), retrying every 2s on failure and 500ms on write error. Incoming CompositorToAppd frames are decoded and logged (SurfaceReady, ClientDisconnected). Wires compositor_tx into SessionRegistry. The supervise task now sends AppSurfaceCreated (with child PID) immediately after process spawn, and AppSurfaceDestroyed when the process exits. All three existing supervisor tests updated to pass None for compositor_tx. |
||
|---|---|---|
| .. | ||
| compositor_client.rs | ||
| ipc.rs | ||
| main.rs | ||
| runtime.rs | ||
| ws.rs | ||