-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Closed
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
When a SKILL.md, command, or agent file contains error in frontmatter YAML portion of markdown file, the TUI crashes with a fullscreen ConfigFrontmatterError that covers the entire interface. In the desktop/web version no error message is being shown.
Example of problematic frontmatter (unquoted : in the description field):
---
name: test-skill
description: Use this skill for testing stuff. Reference: https://example.com
---
Plugins
No response
OpenCode version
latest dev branch
Steps to reproduce
- Create a skill file at .opencode/skill/test/SKILL.md:
---
name: test-skill
description: Use this skill for testing stuff. Reference: https://example.com
---
- Run opencode
- Send any message to see TUI crash with fullscreen ConfigFrontmatterError
Screenshot and/or share link
Notice the error message covering bottom part of TUI:
Operating System
macOS Tahoe
Terminal
Any
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui