co-mono/packages/coding-agent/src
waldner b4f9986d23
fix(coding-agent): detect GNU screen TERM values and downgrade to 256color (#1809)
GNU screen does not support truecolor escape sequences. When pi emits
truecolor SGR sequences (e.g. \x1b[38;2;102;102;102m for the dim color
#666666), screen misparses the semicolon-separated parameters as
individual SGR codes. The RGB value 102;102;102 maps directly to
SGR 102 (bright green background), which then bleeds into every
subsequent \x1b[2K line-erase, producing a bright green background
on most info/status messages.

detectColorMode() now returns '256color' for any TERM value that is
'screen', starts with 'screen-' (e.g. screen-256color), or starts
with 'screen.' (e.g. screen.xterm-256color). The existing COLORTERM
check at the top of the function already handles the opt-in case for
users who have configured screen's truecolor passthrough.
2026-03-04 17:50:39 +01:00
..
cli feat(ai,coding-agent): add OpenCode Go provider support closes #1757 2026-03-03 16:02:29 +01:00
core fix(coding-agent): queue messages during branch summarization (#1803) 2026-03-04 08:55:30 +01:00
modes fix(coding-agent): detect GNU screen TERM values and downgrade to 256color (#1809) 2026-03-04 17:50:39 +01:00
utils fix(coding-agent): harden fd/rg bootstrap on windows 2026-02-26 00:19:43 +01:00
cli.ts Set coding agent CLI process title (#742) 2026-01-15 13:14:14 +01:00
config.ts chore(coding-agent): update share viewer url 2026-02-03 22:49:01 +01:00
index.ts refactor(coding-agent): move auth storage to backend abstraction 2026-02-17 19:57:21 +01:00
main.ts fix(coding-agent): add offline startup mode and network timeouts (#1631) 2026-02-25 19:44:49 +01:00
migrations.ts chore: remove deprecation comment from getToolsDir, add changelog entry for #470 2026-01-05 20:26:48 +01:00