Files
OmniRoute/open-sse
Diego Rodrigues de Sa e Souza 2d48247121 fix(sse): strip ANSI/VT100 codes from gemini-cli stream frames
parseSSELine trimmed only leading whitespace before the "data:" check, so
gemini-cli frames prefixed with terminal-redraw escapes (e.g. \x1b[2K\x1b[1A)
failed the check and were silently dropped, stalling the client SSE parser.
Now the SSE parsers and the gemini-to-openai text emit sites sanitize ANSI/
VT100 escapes (preserving \t \n \r) via a ReDoS-safe stripAnsiCodes helper.

Co-authored-by: Rex <177378174+anki1kr@users.noreply.github.com>
Inspired-by: https://github.com/decolua/9router/pull/2299
2026-07-02 14:15:58 -03:00
..
2026-07-02 10:47:13 -03:00
2026-07-02 10:47:13 -03:00
2026-07-02 10:47:13 -03:00
2026-05-26 23:51:47 -03:00
2026-07-02 10:47:13 -03:00
2026-07-02 10:47:13 -03:00
2026-06-29 08:40:06 -03:00
2026-06-12 23:49:22 -03:00
2026-06-29 08:40:06 -03:00