WEFT_OS/crates/weft-appd
Marco Allegretti 6b428e5a47 feat(appd): add compositor IPC client; send AppSurfaceCreated/Destroyed on session lifecycle
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.
2026-03-11 14:40:55 +01:00
..
src feat(appd): add compositor IPC client; send AppSurfaceCreated/Destroyed on session lifecycle 2026-03-11 14:40:55 +01:00
Cargo.toml feat(appd): add compositor IPC client; send AppSurfaceCreated/Destroyed on session lifecycle 2026-03-11 14:40:55 +01:00