Expand description
Pure command/output text predicates shared by the shell executor, the
compression engine and ctx_shell. Moved down from tools/ctx_shell.rs.
Functionsยง
- contains_
auth_ flow - Detects OAuth device code flow output that must not be compressed. Uses a two-tier approach: strong signals match alone (very specific to device code flows), weak signals require a URL/domain in the same output.
- normalize_
command_ for_ shell - On Windows cmd.exe,
;is not a valid command separator. Convertcmd1; cmd2tocmd1 && cmd2when running under cmd.exe.