WEFT_OS/crates/weft-app-shell/src/protocols/mod.rs
Marco Allegretti a401510b88 feat(appd): per-app process isolation via weft-app-shell
Add weft-app-shell binary: takes <app_id> <session_id> args, connects to
zweft_shell_manager_v1 as an application window, resolves the app UI URL,
and runs a single Servo WebView in an isolated process. Prints READY to
stdout after the window is initialised so weft-appd can track the session
lifecycle.

weft-appd runtime.rs: after weft-runtime emits READY, spawn weft-app-shell
(WEFT_APP_SHELL_BIN env var) alongside it. The app shell is killed when the
session ends via abort or natural runtime exit.

weft-servo-shell: remove in-process app WebView management. The shell now
manages the system UI WebView only; all app rendering happens in dedicated
weft-app-shell processes.
2026-03-12 10:58:45 +01:00

20 lines
729 B
Rust

#[allow(dead_code, non_camel_case_types, unused_unsafe, unused_variables)]
#[allow(non_upper_case_globals, non_snake_case, unused_imports)]
#[allow(missing_docs, clippy::all)]
pub mod client {
use wayland_client;
use wayland_client::protocol::*;
pub mod __interfaces {
use wayland_client::protocol::__interfaces::*;
wayland_scanner::generate_interfaces!("../../protocol/weft-shell-unstable-v1.xml");
}
use self::__interfaces::*;
wayland_scanner::generate_client_code!("../../protocol/weft-shell-unstable-v1.xml");
}
#[allow(unused_imports)]
pub use client::zweft_shell_manager_v1::ZweftShellManagerV1;
#[allow(unused_imports)]
pub use client::zweft_shell_window_v1::ZweftShellWindowV1;