Expand description
Output context detection for RCH.
Determines when rich terminal output is safe to use vs when plain/JSON output is required. This is critical for agent compatibility - hook mode must output pure JSON.
Enums§
- Output
Context - Output context determines what level of rich formatting to use.
Functions§
- force_
color_ enables - Whether a set
FORCE_COLORvalue turns color on.0andfalseturn it off, as in the supports-color convention; any other value (including an empty one) turns it on.