Support the Orca integrated terminal (#63013)

## What changed

Recognize Orca from `TERM_PROGRAM=Orca` and report it in `codex doctor`.

Render Markdown links as clickable labels in Orca and keep destinations
visible under terminal multiplexers. Enable Kitty graphics for pet images
only when Orca advertises `ORCA_IMAGE_PROTOCOL=kitty` and the session
passes the direct-terminal checks.

## Testing

Cover Orca detection, Markdown link rendering and multiplexer fallback,
and pet image capability checks.

GitOrigin-RevId: 978a9cd99a8090bfe9198611e9ae7e0dd2709c3b
This commit is contained in:
Eric Traut
2026-11-21 17:25:41 +00:00
committed by copyberry
parent a0436d69ff
commit 586bd4b891
9 changed files with 99 additions and 5 deletions
+1
View File
@@ -1909,6 +1909,7 @@ fn terminal_name(info: &TerminalInfo) -> &'static str {
TerminalName::AppleTerminal => "Apple Terminal",
TerminalName::Ghostty => "Ghostty",
TerminalName::Rex => "Rex",
TerminalName::Orca => "Orca",
TerminalName::Iterm2 => "iTerm2",
TerminalName::WarpTerminal => "Warp",
TerminalName::VsCode => "VS Code",