opencode
opencode copied to clipboard
fix: pass image parts to custom commands
Summary
Custom commands were not receiving image attachments, causing images to be ignored when running slash commands with attached files.
Changes
- Updated args regex to handle
[Image N]tokens in command templates - Added
partsparameter to command API to pass file attachments - App and TUI now forward image parts when executing custom commands