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
Web UI: New Session creates in wrong project, /project/init returns HTML, Settings missing Projects tab, Auto-accept toggle broken #31272
Four issues in the Web UI when OpenCode is accessed via browser (not desktop app):
"New Session" button creates session in wrong project — clicking New Session from homepage defaults to the first non-global registered project instead of the project the user is working in. Workaround: navigate to specific project's session URL first, then click New Session.
POST /project/init returns HTML instead of JSON — API endpoint that should register a new project returns the SPA HTML page, making programmatic project registration impossible.
Settings page missing Projects tab — Web UI Settings has no way to add/manage projects. Only desktop TUI can do this.
Auto-accept permissions toggle broken — The toggle in Web UI Settings > Agent cannot be enabled; clicking has no effect (desktop TUI works fine).
OpenCode version
Latest from npm (opencode-ai), version 1.16.2
Steps to reproduce
Start server: opencode web --port 4096 --hostname 0.0.0.0
This issue does not use one of the required issue templates (Bug Report, Feature Request, or Question). Please re-submit using the appropriate template so all required fields are captured consistently.
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:
Thank you for updating the issue! It now follows the contributing guidelines and includes all the necessary information. The needs:compliance label has been removed.
Activity
github-actions commentedon Jun 7, 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 Jun 7, 2026
Thank you for updating the issue! It now follows the contributing guidelines and includes all the necessary information. The
needs:compliancelabel has been removed.github-actions commentedon Aug 7, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.