pub struct SessionTitleChangedMessage {
pub title: String,
pub uuid: String,
pub session_id: String,
}Expand description
system/session_title_changed — the session’s name, for a host that
shows it (an IDE editor tab, say). A headless session sends it at startup
when the session already has a name, and again after each change to the
name (not an AI-generated title), including a rename the host itself sent
with rename_session. A cleared name is not sent. The same name can
arrive more than once, so treat a repeated name as no change. The frame
can arrive before the system/init that first names its session_id
(at startup or after /clear); a host that learns the session id from
init can hold the name until then (CLI 2.1.285+).
Fields§
§title: StringThe session’s current name: control, bidirectional and zero-width characters replaced with single spaces, ends trimmed, at most 200 Unicode code points. A suffix can make it unique when another session already has the name.
uuid: String§session_id: String