ShellCommand
🛈 DocStrings¶
One command the user ran, with its output and (once finished) exit code.
Source code in src/acptui/shell.py
display_output
property
¶
The output with colors, without other control sequences (for display).
exit_code
class-attribute
instance-attribute
¶
None while running; -1 if the shell went away.
append
¶
Add output, keeping at most :data:MAX_OUTPUT_BYTES.
context_text
¶
The command and its output as plain text for the agent (long output cut).