[PR #10903] fix(desktop): open external links in default browser #13599

Open
opened 2026-02-16 18:18:26 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10903

State: open
Merged: No


Fixes #10901

What does this PR do?

Prevents external http(s) links in AI responses from navigating the app webview. External links now open in the OS default browser so OpenCode’s main UI is never replaced.

How did you verify your code works?

  • Ran the desktop app locally (bun run --cwd packages/desktop tauri dev)
  • Clicked external https links in an assistant message and confirmed they open in the system browser while OpenCode stays on the current view
  • Confirmed same-origin links are not intercepted
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10903 **State:** open **Merged:** No --- Fixes #10901 ### What does this PR do? Prevents external http(s) links in AI responses from navigating the app webview. External links now open in the OS default browser so OpenCode’s main UI is never replaced. ### How did you verify your code works? - Ran the desktop app locally (`bun run --cwd packages/desktop tauri dev`) - Clicked external https links in an assistant message and confirmed they open in the system browser while OpenCode stays on the current view - Confirmed same-origin links are not intercepted
yindo added the pull-request label 2026-02-16 18:18:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13599