Recognize Orca terminals as OSC 8 hyperlink-capable
Open 💬 0 comments Opened Jun 19, 2026 by nwparker
Request
Please update Claude Code's terminal hyperlink detection so Orca terminals are recognized as OSC 8 hyperlink-capable.
Concretely, please either:
- update
supports-hyperlinksto the latest available release if/when it includes Orca support, or - add
Orcato Claude Code's additional hyperlink-capable terminal allowlist while upstream support lands.
Why this matters
Orca's terminal is xterm.js-based and supports OSC 8 hyperlinks. Claude Code currently renders PR badges like PR #5800 as plain text in Orca when hyperlink support detection does not recognize the terminal, which makes the PR number non-clickable.
We worked around this in Orca by advertising xterm.js compatibility for PTYs, but Claude Code can avoid requiring terminal emulators to spoof another app by recognizing TERM_PROGRAM=Orca directly.
Relevant links
- Orca PR with the workaround and context: https://github.com/stablyai/orca/pull/5814
supports-hyperlinksnpm package: https://www.npmjs.com/package/supports-hyperlinkssupports-hyperlinksupstream repository: https://github.com/chalk/supports-hyperlinkssupports-hyperlinkssource allowlist: https://github.com/chalk/supports-hyperlinks/blob/main/index.js- OSC 8 hyperlink background: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
- xterm.js OSC 8 support tracking issue: https://github.com/xtermjs/xterm.js/issues/1134
Expected behavior
When Claude Code runs inside Orca with TERM_PROGRAM=Orca, components such as PR badges should emit OSC 8 links so the visible PR #123/#123 text is clickable.