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
OpenCode Desktop 1.18.10 crashes with Attempting to access a stale value from <Show> during cross-project session navigation. This occurs when opening an existing session from a project for the first time after the app started in another project. It also occurs when switching projects while a new-session tab is open.
An instrumented stack points to the prompt input's agent/model/variant controls in packages/session-ui/src/v2/components/prompt-input/index.tsx. A nested control reads the accessor from an outer non-keyed <Show> after project navigation removes that control.
Related to #39766 and #39704, but this has a distinct source from the titlebar session avatar addressed previously.
Plugins
Not provided
OpenCode version
1.18.10
Steps to reproduce
Existing session path:
Launch OpenCode Desktop with project A active.
Select project B, which has not been opened since launch.
Open an already existing session from project B.
The renderer intermittently crashes with Attempting to access a stale value from <Show>.
New-session path:
Open a new-session tab in project A.
Switch that new-session tab to project B.
The renderer intermittently crashes with the same error.
Screenshot and/or share link
Screen.Recording.2026-07-31.at.10.57.32.mov
Instrumented stack:
Error: Attempting to access a stale value from <Show> that could possibly be undefined.
at narrowedError (.../chunk-YMY2YRT3.js:1490:31)
at .../chunk-YMY2YRT3.js:1522:40
at get when (.../packages/session-ui/src/v2/components/prompt-input/index.tsx:301:18)
at Show.createMemo.name [as fn] (.../chunk-YMY2YRT3.js:1509:49)
Description
OpenCode Desktop 1.18.10 crashes with
Attempting to access a stale value from <Show>during cross-project session navigation. This occurs when opening an existing session from a project for the first time after the app started in another project. It also occurs when switching projects while a new-session tab is open.An instrumented stack points to the prompt input's agent/model/variant controls in
packages/session-ui/src/v2/components/prompt-input/index.tsx. A nested control reads the accessor from an outer non-keyed<Show>after project navigation removes that control.Related to #39766 and #39704, but this has a distinct source from the titlebar session avatar addressed previously.
Plugins
Not provided
OpenCode version
1.18.10
Steps to reproduce
Existing session path:
Attempting to access a stale value from <Show>.New-session path:
Screenshot and/or share link
Screen.Recording.2026-07-31.at.10.57.32.mov
Instrumented stack:
Operating System
macOS
Terminal
OpenCode Desktop