WEFT_OS/crates/weft-appd/src
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
..
compositor_client.rs feat(appd): add compositor IPC client; send AppSurfaceCreated/Destroyed on session lifecycle 2026-03-11 14:40:55 +01:00
ipc.rs feat(appd): add version field to AppInfo; surface it in launcher tile tooltip 2026-03-11 13:15:09 +01:00
main.rs feat(appd): add compositor IPC client; send AppSurfaceCreated/Destroyed on session lifecycle 2026-03-11 14:40:55 +01:00
runtime.rs feat(appd): add compositor IPC client; send AppSurfaceCreated/Destroyed on session lifecycle 2026-03-11 14:40:55 +01:00
ws.rs feat(appd): add WebSocket UI endpoint for Servo shell integration 2026-03-11 09:01:54 +01:00