You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! I think this is a duplicate of #60369: on OpenCode Desktop 2.2.2 the built-in browser's code fails to load (SyntaxError: Identifier 'n' has already been declared), so the browser never connects and the browser tools disappear from the catalog. The list above is ordered by likelihood. A fix is open as PR #60388. The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
The desktop main-process bundle declared require twice, which broke the in-app browser and its browser.* tools.
Please update to 2.2.3. In the desktop app, use Check for Updates, or install it from the release page. If the browser pane still doesn't appear afterwards, please reopen this issue with your main.log from the logs folder.
We waited a day to hear whether your problem differs from #60369. There was no reply, so this issue is now closed as a duplicate of #60369, where the built-in browser fails to load in Desktop 2.2.2 and its browser tools disappear from the catalog. Please follow #60369 for updates; the fix in PR #60388 is still open. If your problem is actually different, please reply here and explain how.
Activity
opencodejr commentedon Oct 30, 2026
感谢反馈!
我认为这个问题与 #60369 重复。#60369 报告的同样是 Windows 上的 OpenCode Desktop 2.2.2,升级后内置浏览器无法使用。有人从
v2.2.2源码构建桌面端后发现,内置浏览器的代码块无法加载(main.log中报错SyntaxError: Identifier 'n' has already been declared),浏览器因此无法连接。这很可能也是你看到工具目录里browser命名空间消失(items: [])、AI 说没有内置浏览器的原因。可能重复或相关的 issue,按可能性从高到低排列:
目前有一个尚未合并的修复 PR #60388。
除非你在这里回复说明你的问题有什么不同,机器人会在 1 天后将本 issue 作为重复关闭。
Thanks for the report! I think this is a duplicate of #60369: on OpenCode Desktop 2.2.2 the built-in browser's code fails to load (
SyntaxError: Identifier 'n' has already been declared), so the browser never connects and thebrowsertools disappear from the catalog. The list above is ordered by likelihood. A fix is open as PR #60388. The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.Hona commentedon Oct 30, 2026
Fixed in 2.2.3 by #60430.
The desktop main-process bundle declared
requiretwice, which broke the in-app browser and itsbrowser.*tools.Please update to 2.2.3. In the desktop app, use Check for Updates, or install it from the release page. If the browser pane still doesn't appear afterwards, please reopen this issue with your
main.logfrom the logs folder.opencodejr commentedon Oct 31, 2026
我们等了一天,看看你的问题是否与 #60369 不同。目前没有收到回复,现在将本 issue 作为 #60369 的重复关闭。#60369 是 Desktop 2.2.2 中内置浏览器加载失败的问题,会导致
browser工具从目录中消失。请在 #60369 关注后续进展。修复 PR #60388 目前尚未合并。如果你的问题确实不同,欢迎在这里回复说明。We waited a day to hear whether your problem differs from #60369. There was no reply, so this issue is now closed as a duplicate of #60369, where the built-in browser fails to load in Desktop 2.2.2 and its
browsertools disappear from the catalog. Please follow #60369 for updates; the fix in PR #60388 is still open. If your problem is actually different, please reply here and explain how.