wayray/crates/wayray-protocol/Cargo.toml
Till Wegmueller f6b9ea56ba Add session launcher, greeter, admin CLI, and session config
Session infrastructure for the launcher/greeter architecture (Phase 3):

- Launcher protocol: JSON-over-Unix-socket messages (LauncherRequest/
  LauncherResponse) for session_requested, session_authenticated,
  session_logout, plus admin queries (list_sessions, kill_session)

- Session config: ~/.config/wayray/session.toml with wm, panel,
  launcher, notifications, and autostart fields. Serde TOML parsing
  with sensible defaults (wr-wm-floating). 5 unit tests.

- wrsessd: Session launcher daemon listening on Unix socket. Manages
  per-token sessions, launches greeter on session_requested, starts
  desktop components from session.toml on session_authenticated,
  cleans up child processes on logout. Admin query support.

- wrlogin: Reference CLI greeter. Reads credentials from stdin,
  sends session_authenticated to wrsessd, exits on success.
  Token passed via WAYRAY_SESSION_TOKEN env var.

- wradm: Session management commands (list, kill) communicating
  with wrsessd via launcher protocol. Tabular output format.
2026-04-09 21:22:46 +02:00

14 lines
279 B
TOML

[package]
name = "wayray-protocol"
edition.workspace = true
version.workspace = true
license.workspace = true
[dependencies]
serde.workspace = true
postcard.workspace = true
thiserror.workspace = true
tracing.workspace = true
zstd.workspace = true
toml = "0.8"
serde_json = "1"