//! Shared wire types for upstream Beszel realtime payloads and the local Unix socket stream.
use PathBuf;
/// Local NDJSON protocol version spoken between `beszel-relay` and clients.
pub const LOCAL_PROTOCOL_VERSION: u32 = 1;
/// Default filename for the user-only Unix domain socket.
pub const DEFAULT_SOCKET_NAME: &str = "beszel-relay.sock";
/// Resolve the default Unix socket path under `$XDG_RUNTIME_DIR`.