Skip to main content

Module pty_log

Module pty_log 

Source
Expand description

PTY log writer: streams raw PTY bytes to a log file so tmux panes can tail -f the output for display.

Each shim writes to .batty/shim-logs/<agent-id>.pty.log. The log is truncated on shim start and rotated when it exceeds MAX_LOG_BYTES.

Structsยง

PtyLogWriter
A writer that appends raw PTY bytes to a log file with size-based rotation.