Module snapshot

Source
Expand description

Bounded, serializable terminal snapshots and replayable event logs.

Snapshot creation is read-only. It copies selected terminal state into owned values, applies the configured text policy to selected fields, and limits collection sizes. A snapshot is an observation format, not a lossless state serialization: cell limits, line limits, event sanitization, and omitted parser state prevent reconstructing the original terminal from one.

Structs§

CommandSummary
Redacted command lifecycle and diagnostic counts for a snapshot.
TerminalEventLog
Bounded, insertion-ordered log of sanitized terminal events.
TerminalEventRecord
One sanitized event-log entry.
TerminalRedactionPolicy
Policy for byte limiting, literal rules, and secret-like key redaction.
TerminalRedactionRule
One named, literal text replacement rule.
TerminalReplayResult
Result of replaying supported event-log records.
TerminalSnapshot
Owned, bounded observation of a TerminalState.
TerminalSnapshotCell
One retained, renderable cell in a snapshot line.
TerminalSnapshotConfig
Collection limits and redaction policy used to build terminal snapshots.
TerminalSnapshotCursor
Snapshot cursor position and presentation.
TerminalSnapshotLine
One captured terminal line.

Enums§

TerminalEventKind
Event payload accepted by TerminalEventLog.