# 06. Type the session event protocol Status: completed Define a shared discriminated union for session UI events and use it across server event publishing, sockets, and transcript handling.