[PR #9186] fix(app): load ghostty wasm via asset url #13020

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

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

State: open
Merged: No


Fixes #7578

Problem: Ghostty WASM loads via a data: URL, which is blocked by strict CSP (connect-src 'self') in Safari/Firefox/Cloudflare Access, leaving the web terminal blank.

Change: Load ghostty-vt.wasm via Vite asset URL (ghostty-web/ghostty-vt.wasm?url).

Verification: not run here; reproduced in a CSP-restricted environment.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9186 **State:** open **Merged:** No --- Fixes #7578 Problem: Ghostty WASM loads via a data: URL, which is blocked by strict CSP (connect-src 'self') in Safari/Firefox/Cloudflare Access, leaving the web terminal blank. Change: Load ghostty-vt.wasm via Vite asset URL (ghostty-web/ghostty-vt.wasm?url). Verification: not run here; reproduced in a CSP-restricted environment.
yindo added the pull-request label 2026-02-16 18:17:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13020