WEFT_OS/crates/weft-appd
Marco Allegretti 5061310d63 feat(appd): session persistence across clean restarts
On clean shutdown (SIGINT/SIGTERM), save the list of running app IDs to
/weft/last-session.json before calling shutdown_all().

On the next startup, load_session() reads and immediately deletes that
file, then dispatches a LaunchApp for each saved app ID. This restores
the previous session after a system restart or orderly service stop.

If the file does not exist (crash, first boot, or deliberate reset) no
auto-launch occurs. Duplicate detection relies on the existing fact that
the saved processes are gone before appd starts again.
2026-03-11 18:12:38 +01:00
..
src feat(appd): session persistence across clean restarts 2026-03-11 18:12:38 +01:00
Cargo.toml feat(appd): add compositor IPC client; send AppSurfaceCreated/Destroyed on session lifecycle 2026-03-11 14:40:55 +01:00