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
Desktop app terminal blank with "Unexpected server error" on Windows #29089
The terminal panel in OpenCode Desktop on Windows opens completely blank — no shell prompt, no keyboard input, no cursor. Typing, Ctrl+C, and all key combinations do nothing. The terminal is entirely non-interactive.
This affects both PowerShell 5.1 and PowerShell 7.6.2 (pwsh). Setting shell: pwsh or shell: powershell in config has no effect. logLevel: DEBUG also yields no additional details in server logs.
The error in pty.log repeats on every click:
Failed to create terminal Error: Unexpected server error. Check server logs for details.
server.log only shows an unrelated SQLite warning — no terminal-related errors are logged at all, indicating the sidecar server is dropping the real error before it reaches the log.
Plugins
None
OpenCode version
1.15.10
Steps to reproduce
Open OpenCode Desktop on Windows 10 22H2
Click the Terminal panel button (top-right)
Terminal opens blank — no prompt, no input accepted
Create a new terminal tab — same result
Restart OpenCode — no change
Troubleshooting attempted (none resolved)
Set shell: powershell in opencode.json
Set shell: pwsh after installing PowerShell 7.6.2
Set logLevel: DEBUG in both global and project config
Multiple clean restarts
pty.log
Failed to create terminal Error: Unexpected server error. Check server logs for details.
(repeats on every click)
server.log
(node:13220) ExperimentalWarning: SQLite is an experimental feature
(No terminal-related errors logged)
Operating System
Windows 10 22H2 (Build 19045)
Terminal
OpenCode Desktop built-in terminal (also tested with new terminal tabs)
Additional context
VS Code integrated terminal works normally on the same machine with the same shells. May be related to #21498, #21469, #21440.
No issue template was used. Please resubmit using one of the three required templates: Bug Report, Feature Request, or Question. For this report, the Bug Report template is appropriate.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Thanks for updating the issue! It now includes all the required information — a clear description, steps to reproduce, system details, and log output. We appreciate you taking the time to improve it.
Activity
github-actions commentedon May 24, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon May 24, 2026
Thanks for updating the issue! It now includes all the required information — a clear description, steps to reproduce, system details, and log output. We appreciate you taking the time to improve it.
shitist commentedon Jun 2, 2026
Fixed by later updated.