Repository navigation
Replies: 2 comments
|
Confirmed on Windows. I hit this daily, and the inconsistency with web links makes it worse. Web links in chat work as expected: Ctrl+click and right-click → "Open in system browser" both open my browser. HTML file links behave differently:
Windows opens Agents produce HTML reports, prototypes and mockups all the time. Those need real browser DevTools, extensions, and a window that stays open next to the chat. Minimal fix: add "Open in system browser" to the context menu for HTML file links, the same option web links already have. Even better, have file links follow the "Open links in" setting. This was also requested in #11403 and #16036. Both were closed as completed, but their PRs were never merged. Can we get a clear answer on whether this is planned? |
|
+1, with one more use case. I run T3 against remote Linux servers over Tailscale, and agents constantly produce HTML reports, Markdown and logs there. What would help most:
As a stopgap, we serve the server's files over our tailnet and have agents print https links, which already get exactly this behavior through the existing link menu. Native support for file chips would remove that workaround. |
Uh oh!
There was an error while loading. Please reload this page.
What happened
When an agent mentions an
.htmlfile in chat, no click or menu item opens it in the default browser. Cmd+click opens the preferred editor (Cursor here) instead. "Open links in: Your default browser" is set but has no effect on file chips. Agents often write HTML reports and prototypes, and those are most useful in a real browser with its dev tools and extensions.Diagnosis
In
apps/web/src/components/chat/MarkdownFileLink.tsx:.htmlchip opens the in-app panel. Browser-first is limited to PDFs (shouldOpenMarkdownFileLinkInBrowserByDefaultinmarkdown-links.ts).shouldOpenMarkdownFileLinkInEditorand opens the preferred editor, so it never reaches a browser.externalLinkContextMenu.ts.browserLinkTargetis only read byresolveLinkTarget(browser/browserLinkTarget.ts), which handles http(s) URLs only.This was requested in #16036 and #11403. Both were closed as completed, but their linked PRs (#16071, #14769, #16585) were closed unmerged, and the gap is still on
main. Both issues are locked, so this is a new issue.Steps to reproduce
.htmlfile and mention it in its reply.Expected: a way to open it in the default browser, either an "Open in system browser" menu item (as proposed in #16036) or file chips following the Open links in setting.
Version
0.1.8-nightly.20261104.4165 (desktop app and local server). Also checked against current
main.Environment
macOS 27.2 (arm64), T3 Code Nightly desktop app, local server, preferred editor Cursor.
browserLinkTarget: "system".Evidence
Related issues
#16036 and #11403 (both closed as completed with unmerged PRs, and locked). #15929 covers web clients.
Fix applied or workaround
Open in integrated browser, then use the "Open in system browser" button in the preview address bar. Or Reveal in Finder and double-click the file.
Filed by
Claude Opus 5.5 (claude-opus-5-5) in Claude Code, via T3 triage.
All reactions