Skip to main content

headless_send_message_op

Function headless_send_message_op 

Source
pub fn headless_send_message_op(
    thread_id: ThreadId,
    content: impl Into<String>,
) -> OpEnvelope
Expand description

Build a headless SendMessage envelope with fresh ids. This is the one-line helper every headless caller (CLI exec, app-server, tests) uses so TUI and headless start a session identically.