Skip to content

Cannot create workspace — Expected WorktreeCreateInput | null, got undefined #27558

@Likewisetoo

Description

@Likewisetoo

Bug Description

Clicking 'create workspace' fails with a TypeScript type error.

Environment

  • OpenCode Desktop (Beta) on Windows
  • Version: latest

Steps to Reproduce

  1. Open OpenCode Desktop
  2. Click create workspace button
  3. 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions