Skip to content

Add Orca terminal support#9

Open
nwparker wants to merge 1 commit into
chalk:mainfrom
nwparker:add-orca-terminal
Open

Add Orca terminal support#9
nwparker wants to merge 1 commit into
chalk:mainfrom
nwparker:add-orca-terminal

Conversation

@nwparker
Copy link
Copy Markdown

@nwparker nwparker commented Apr 26, 2026

Orca is an Electron-based terminal for AI coding agents that embeds xterm.js plus a custom OSC 8 linkHandler. It advertises itself via `TERM_PROGRAM=Orca` and `TERM_PROGRAM_VERSION=` in the PTY env.

  • Repo: https://github.com/stablyai/orca
  • xterm.js + WebLinksAddon parse OSC 8 natively; Orca routes clicks through a custom linkHandler that opens URLs in the embedded browser (or system browser with shift+click).

Without this change, tools like the Claude Code CLI that gate OSC 8 emission on this package print bare text (e.g. `owner/repo#123` instead of a clickable link). Orca is currently working around it by forcing `FORCE_HYPERLINK=1` in the PTY env; adding `Orca` to the allowlist removes the need for that workaround.

Tests added mirror the existing `ghostty` / `zed` cases.

Made with Orca 🐋

Orca is an Electron-based terminal that embeds xterm.js plus a custom OSC 8 linkHandler. It sets TERM_PROGRAM=Orca; add it to the allowlist so tools that use this package (Claude Code CLI, terminal-link, chalk) emit hyperlinks without users needing FORCE_HYPERLINK=1.

Co-authored-by: Orca <help@stably.ai>
Signed-off-by: Neil <4138956+nwparker@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant