Skip to content

[FEATURE]: Option to open chat links in the built-in browser instead of the system browser #52680

Closed as not planned

Description

@michealmachine

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

On desktop, clicking any http(s) link in chat always opens the system browser. The app already ships a built-in browser (the side panel used by the agent's browser tools), but there is no way to send a clicked link there, and Settings → General has no related option.

The behavior is hardcoded in the desktop main process: wireNavigationPolicy() in packages/desktop/src/main/windows.ts routes every non-app URL to shell.openExternal, so there is currently no path for a link to open in-app.

Request: a setting like "Open links in: System browser (default) / Built-in browser". Default stays exactly as it is today, opt-in only.

Use case: on a single monitor it's common to want a link visible next to the conversation. Jumping to an external browser loses that side-by-side context. Since the built-in browser already exists, this feels like a small UX gap rather than a new feature.

Environment: OpenCode Desktop 1.18.33, Windows 11.

Related: #10309 (requested this toggle in the opposite direction, never implemented), #31371 (accidental in-app opening from tool results treated as a bug — hence the default should stay external), #52255 (link-click regression in 1.18.33, same code area).

Activity

  1. github-actions commented on Oct 2, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. michealmachine commented on Oct 2, 2026

    @michealmachine
    Author

    Checked — related but not a duplicate:

    So this request is narrower than it may look: route clicked chat links to that already-existing side panel instead of the system browser, opt-in via a setting, with external browser staying the default (per #31371, accidental in-app opening is treated as a bug, and that's not what's asked here).

    Key difference from #10309: it proposed loading links in the main window back when no in-app browser surface existed; this asks to reuse the dedicated browser surface that now exists. If a maintainer prefers, closing #10309 as superseded by this one would also make sense — but the old issue can't be the duplicate of the new one, since nothing was ever built from it.

  3. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the detailed write-up, @michealmachine!

    This is about OpenCode Desktop 1.18.33, which is OpenCode v1. v1 only gets fixes for critical bugs such as data loss, security problems or crashes with no workaround. New options like this one are unlikely to be added to v1.

    We'd encourage you to upgrade to OpenCode v2 (@opencode/cli and the v2 desktop app), where new work happens. As far as I can tell, v2 desktop also opens http(s) links in the system browser for now. If you'd still like a "Built-in browser" option there, please open a feature request for v2 and maintainers can consider it.

    Related issues you mentioned:

    If you think this is critical, or you see a v2-specific problem, please reply here.

  4. opencodejr commented on Oct 29, 2026

    @opencodejr
    Contributor

    Closing this as not planned. It was reported against OpenCode Desktop 1.18.33 (v1), which only gets fixes for critical bugs, so a new option for opening links in v1 is unlikely to be added. We waited a day in case this was critical or also happened on v2, and there haven't been any updates.

    If you'd like a "Built-in browser" option for links in OpenCode v2, please open a new feature request there. Thanks again for the clear write-up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions