ModeEvent

A mode or permission-mode change marker.

Usage

Source

ModeEvent(
    session_id,
    channel,
    value,
)

These entries carry only a session id on disk — no uuid, timestamp, or other envelope fields — so they hold a session_id directly rather than an EntryMeta.

Parameter Attributes

session_id: SessionId
channel: Literal["mode", "permission-mode"]
value: str

Attributes

session_id: SessionId

The session whose mode changed.

channel: Literal["mode", "permission-mode"]

Which mode channel changed.

value: str
The new mode value.