Commit Graph

4 Commits

Author SHA1 Message Date
6d15626e05 add per-pane display ownership 2026-05-27 14:30:47 +01:00
63cb8a4388 add tcp daemon listener with token auth 2026-05-27 14:19:14 +01:00
95b1967e9b Fix daemon shutdown hang and concurrent-send race
- daemon_net: close the client transport on context cancellation so the
  per-connection Recv loop unblocks; otherwise wg.Wait() in the accept loop
  hung on a still-connected client and the daemon never stopped.
- protocol: guard ConnTransport.Send with a mutex so the subscriber pump and
  command handlers can push frames concurrently without racing the bufio.Writer.

Fixes TestDaemonDetachReattachPreservesProcess (now passes under -race).
2026-05-27 13:59:47 +01:00
d07a09d64f add local daemon socket protocol 2026-05-27 13:55:38 +01:00