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
{{ message }}
Repository navigation
Regression: Web terminal broken in v1.14.38 - CSP blocks Ghostty WASM (data: URIs) #25893
Description:
The web UI terminal is broken in v1.14.38 due to overly strict Content Security Policy headers. This is a regression of previously fixed issue #9420 (PR #9700). Environment:
Version: v1.14.38 (CLI is on v1.14.39, web still broken)
OS: Windows 11
Browser: Chrome/Edge (latest)
Error Logs (Browser Console):
Executing inline script violates the following Content Security Policy directive 'script-src 'self' 'wasm-unsafe-eval''
Connecting to 'data:application/wasm;base64,...' violates the following Content Security Policy directive: "connect-src ". Note that '' matches only URLs with network schemes ('http', 'https', 'ws', 'wss'), or URLs whose scheme matches self's scheme. The scheme 'data:' must be added explicitly.
Plugins
No response
OpenCode version
Version: v1.14.38 (CLI is on v1.14.39, web still broken)
Steps to reproduce
run 'opencode serve'
Open the web interface in a browser
Open web terminal
Terminal fails to load with CSP errors
Screenshot and/or share link
Operating System
Windows 11 23H2
Terminal
No response
Reacted by Heliopause0916, mq00fc, Wolfie, blumlaut, Miguel Valentin and damjankakak3
Activity
devanshtakkar commentedon May 5, 2026
I having the same issue in Ubuntu 24.04.4. Leaving the comment for visibility.
damjankakak3 commentedon May 5, 2026
Same after updating from 1.3.10 to latest :(