omniterm 0.2.3

Web-based tmux terminal manager — one browser tab to watch and drive your AI coding agents
1
2
3
4
5
6
7
8
9
10
11
use agent_client_protocol::schema::v1::SessionNotification;
use tokio::sync::broadcast;

/// Broadcast a session/update notification to all WebSocket subscribers.
pub fn handle_session_update(
    tx: &broadcast::Sender<SessionNotification>,
    notification: SessionNotification,
) -> Result<(), agent_client_protocol::Error> {
    let _ = tx.send(notification);
    Ok(())
}