mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-10 15:32:31 +02:00
Windows terminals emit control sequences (cursor movement, screen clearing) that leaked into session.tmp files and were injected verbatim into Claude's context on the next session start. Add a comprehensive stripAnsi() to utils.js that handles CSI, OSC, charset selection, and bare ESC sequences. Apply it in session-end.js (when extracting user messages from the transcript) and in session-start.js (safety net before injecting session content). |
||
|---|---|---|
| .. | ||
| ci | ||
| hooks | ||
| integration | ||
| lib | ||
| scripts | ||
| codex-config.test.js | ||
| opencode-config.test.js | ||
| run-all.js | ||