Description
On a fresh opencode web browser profile, no project is stored in the opened-project list. The home empty state omits its New Session action, and the titlebar New Session button silently returns without creating a draft.
The server startup directory is already available from GET /path, but neither path uses it as the final fallback.
Plugins
Reproduces without plugins.
OpenCode version
1.18.2
Steps to reproduce
- Start
opencode web in a working directory.
- Open the URL in a fresh browser profile, or clear the site localStorage.
- Do not add a project.
- Click the titlebar New Session button.
Expected: a draft opens for the server startup directory.
Actual: nothing happens; the home empty state also has no New Session button.
Screenshot and/or share link
Not applicable. Reproduced in an isolated Chrome context with empty localStorage.
Operating System
macOS
Terminal
iTerm2
Description
On a fresh
opencode webbrowser profile, no project is stored in the opened-project list. The home empty state omits its New Session action, and the titlebar New Session button silently returns without creating a draft.The server startup directory is already available from
GET /path, but neither path uses it as the final fallback.Plugins
Reproduces without plugins.
OpenCode version
1.18.2
Steps to reproduce
opencode webin a working directory.Expected: a draft opens for the server startup directory.
Actual: nothing happens; the home empty state also has no New Session button.
Screenshot and/or share link
Not applicable. Reproduced in an isolated Chrome context with empty localStorage.
Operating System
macOS
Terminal
iTerm2