WEFT_OS/crates/weft-servo-shell/src
Marco Allegretti d6ede23183 feat(servo-shell): wire appd WebSocket port discovery at startup
appd_ws_port() -> u16:
- Checks WEFT_APPD_WS_PORT env var first.
- Falls back to reading XDG_RUNTIME_DIR/weft/appd.wsport.
- Falls back to hardcoded default 7410.

run() now calls appd_ws_port() and passes the result to embed_servo.
embed_servo signature updated to accept ws_port: u16.
When the Servo embedder is implemented, it injects the port as
window.WEFT_APPD_WS_PORT before loading the system UI HTML.
2026-03-11 10:31:33 +01:00
..
protocols feat(servo-shell): add weft-shell-protocol client-side binding 2026-03-11 08:05:03 +01:00
main.rs feat(servo-shell): wire appd WebSocket port discovery at startup 2026-03-11 10:31:33 +01:00