Statusline OSC 8 links with custom URI schemes (e.g. vscode://) aren't dispatched on click in `claude agents` / FleetView
Status Fixed / completed
Reported on v2.1.174
Maintainer reply ✓ Yes — bcherny
Activity 3 comments · opened Jun 13, 2026 · closed Aug 19, 2026
💡 Likely answer: A maintainer (bcherny, collaborator)
responded on this thread — see the highlighted reply below.
What happened
A custom statusline emits an OSC 8 hyperlink whose target is a custom URI scheme, e.g. an "Open in VS Code" link pointing at vscode://file/<absolute-path>.
- In the interactive
claudeTUI, clicking the link works — the terminal handsvscode://to the OS and VS Code opens at the folder. - After switching to
claude agents(FleetView), the same statusline link still renders (underlined), but clicking it does nothing.http(s)://links appear to work; custom OS-registered schemes (vscode://,cursor://, etc.) are not dispatched.
The scheme is valid and registered at the OS level (open "vscode://file/<path>" succeeds), and it works from the normal TUI — so this is specific to how FleetView handles clicks on custom-scheme OSC 8 links.
Expected
FleetView dispatches clicks on OSC 8 hyperlinks with custom URI schemes the same way the interactive TUI does (hand the URL to the OS handler), or documents that only http(s):// is supported there.
Repro
- Add a statusline that prints an OSC 8 link to
vscode://file/<absolute-folder-path>(label e.g. "Open in VS Code"). - In the interactive
claudeTUI, click it → VS Code opens. ✅ - Switch to
claude agents/ FleetView, click the same link → nothing happens. ❌
Environment
- Claude Code 2.1.174
- macOS
- VS Code installed;
vscode://registered (confirmed viaopen)
Notes
Possibly related to #23438 (OSC 8 rendering in tmux), but distinct: here the link renders correctly and the issue is click dispatch for non-http(s) schemes in FleetView specifically.
3 Comments
Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Fixed in 2.1.178 — changelog: "Fixed statusline links with custom URI schemes (e.g.
vscode://) not opening when clicked inclaude agents" (https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md). Closing — reply to reopen if it still happens on the latest version.🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.