opencode
opencode copied to clipboard
Custom slash commands not available until ~1 minute after startup
Description
Custom slash commands are not visible in the command list immediately after startup. They appear after approximately 1 minute delay, seemingly after background loading completes.
I have no commands in ~/.config/opencode/command/ - only a command defined in the JSON config (~/.config/opencode/opencode.json).
I was able to replicate this issue with both:
- Commands defined as markdown files in
~/.config/opencode/command/ - Commands defined in the JSON config under the
commandkey
Plugins
No response
OpenCode version
1.0.220
Steps to reproduce
- Have a custom command configured (either as markdown file or in JSON config)
- Close OpenCode completely
- Open OpenCode fresh
- Immediately type
/to see available commands - Notice custom commands are missing from the list (only built-in commands shown)
- Wait ~1 minute
- Type
/again - custom commands now appear
Screenshot and/or share link
No response
Operating System
macOS
Terminal
iTerm2