Skip to content

cayu.sessions.TerminalSessionEvidenceLimits

Part of cayu.sessions.base. Read the Python API overview and install the required extra.

from cayu.sessions import TerminalSessionEvidenceLimits

Caller-selected ceilings for one exact terminal-session snapshot.

Bases: BaseModel.

Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.

Name Type Default
max_events StrictInt Field(default=TERMINAL_SESSION_EVIDENCE_DEFAULT_MAX_EVENTS, ge=1, le=TERMINAL_SESSION_EVIDENCE_HARD_MAX_EVENTS)
max_transcript_records StrictInt Field(default=TERMINAL_SESSION_EVIDENCE_DEFAULT_MAX_TRANSCRIPT_RECORDS, ge=0, le=TERMINAL_SESSION_EVIDENCE_HARD_MAX_TRANSCRIPT_RECORDS)
max_record_bytes StrictInt Field(default=TERMINAL_SESSION_EVIDENCE_DEFAULT_MAX_RECORD_BYTES, ge=1, le=TERMINAL_SESSION_EVIDENCE_HARD_MAX_RECORD_BYTES)
max_total_bytes StrictInt Field(default=TERMINAL_SESSION_EVIDENCE_DEFAULT_MAX_TOTAL_BYTES, ge=1, le=TERMINAL_SESSION_EVIDENCE_HARD_MAX_TOTAL_BYTES)

Release source · Runtime guarantees · Capability guides