feat(daemon): resident session, auth-gated control socket, and event fan-out

The daemon drains the library's destructive take_* accessors once and fans
events out per connection, which is what lets more than one client share a
session. A Unix socket at 0600 is the local transport and its permissions
are the authentication; TCP is opt-in and needs the generated token. Rooms,
transfers, and the conversation are daemon-owned and restored on restart.
This commit is contained in:
Michel de Graaf
2026-07-27 10:05:25 +02:00
parent df089fbab3
commit f54f8f9b82
9 changed files with 1917 additions and 2 deletions
+4
View File
@@ -3,7 +3,11 @@
pub mod api;
pub mod cli;
pub mod commands;
pub mod daemon;
pub mod directories;
pub mod models;
pub mod output;
pub mod persist;
pub mod port_mapping;
pub mod remote;