SessionVisibility
Defined in the protocols module.AI Agent How widely a Gateway session may be observed by other clients. A session’s visibility gates whether a second authorised client may attach to watch (or co-drive) the same live turn stream, on top of the orthogonal :class:
OperatorScope authorisation. The vocabulary lives in
core so every client/impl agrees; enforcement happens in the wrapper.
Values:
PRIVATE: Owner only. Today’s behaviour and the default — a session
stays bound 1:1 to its owning client.
SHARED: Members may co-drive; additional authorised clients may
attach with WRITE-capable roles.
READ_ONLY: Additional clients may attach as viewers to observe the
transcript, but not send.
Source
View on GitHub
praisonaiagents/gateway/protocols.py at line 271
