Bug Description
Clicking 'create workspace' fails with a TypeScript type error.
Environment
- OpenCode Desktop (Beta) on Windows
- Version: latest
Steps to Reproduce
- Open OpenCode Desktop
- Click create workspace button
- Error appears instead of creation dialog
Error Message
\
Expected WorktreeCreateInput | null, got undefined
\\
Expected Behavior
Should show the workspace creation dialog.
Additional Context
Appears to be a type mismatch — a function expects
ull\ but receives \undefined\ at runtime, suggesting a missing undefined check in the code path.
Bug Description
Clicking 'create workspace' fails with a TypeScript type error.
Environment
Steps to Reproduce
Error Message
\
Expected WorktreeCreateInput | null, got undefined
\\
Expected Behavior
Should show the workspace creation dialog.
Additional Context
Appears to be a type mismatch — a function expects
ull\ but receives \undefined\ at runtime, suggesting a missing undefined check in the code path.