Files
OmniRoute/open-sse/utils
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-06-29 08:40:06 -03:00
2026-06-17 19:26:32 -03:00
2026-06-27 09:07:12 -03:00
2026-06-27 09:07:12 -03:00
2026-07-02 10:47:13 -03:00
2026-06-29 08:40:06 -03:00
2026-07-02 10:47:13 -03:00
2026-06-26 02:51:06 -03:00
2026-06-28 06:58:29 -03:00
2026-06-26 02:51:06 -03:00
2026-05-29 12:44:29 -03:00
2026-06-20 14:55:24 -03:00
2026-06-28 06:58:29 -03:00
2026-06-26 02:51:06 -03:00
2026-06-23 03:08:29 -03:00
2026-05-26 23:51:47 -03:00
2026-06-09 15:56:24 -03:00
2026-07-02 10:47:13 -03:00
2026-07-02 10:47:13 -03:00
2026-06-28 06:58:29 -03:00
2026-06-29 08:40:06 -03:00
2026-06-13 17:27:40 -03:00
2026-06-13 17:27:40 -03:00
2026-07-02 10:47:13 -03:00
2026-06-29 08:40:06 -03:00
2026-06-27 09:07:12 -03:00
2026-07-02 10:47:13 -03:00
2026-05-29 12:44:29 -03:00
2026-06-30 06:54:29 -03:00
2026-07-02 10:47:13 -03:00
2026-07-02 10:47:13 -03:00
2026-06-30 06:54:29 -03:00
2026-06-29 16:51:03 -03:00
2026-06-07 07:20:02 -03:00
2026-06-13 17:27:40 -03:00
2026-06-26 02:51:06 -03:00
2026-07-02 10:47:13 -03:00
2026-06-29 08:40:06 -03:00