LLM Context Compressor

Clean logs, terminal output, and stack traces before feeding them to an LLM: strip ANSI codes and timestamps, collapse whitespace, and merge repeated lines.
Input
Output