You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After using the plugin, an error occurred when I entered the image: Schema validation failed #517
Thanks for the report and the bundle. 0.42.6 has several known problems on OpenCode 2 that the next release fixes, and we're now reproducing the image case on a real OpenCode 2 host to see whether it's one of them or something new.
Two details would help:
How did you attach the image: pasted into the prompt, dragged in, or referenced as a file path?
Does the same error happen with Magic Context removed from your plugins list? That tells us whether the rejected request is one we changed.
On OpenCode 2 our log is under %TEMP%\opencode2\magic-context\magic-context.log (the bundle picked up the OpenCode 1 log, which doesn't cover this session). The few lines from the moment you attached the image would show exactly which part was rejected.
Shipped in 0.43.0: attached images on OpenCode 2.0.15 and later keep the typed shape OpenCode expects, so "Schema validation failed" no longer happens, and images in recent messages survive a history fold. Closing; reopen if you still see it on 0.43.0.
Activity
magic-alfonso commentedon Sep 24, 2026
Thanks for the report and the bundle. 0.42.6 has several known problems on OpenCode 2 that the next release fixes, and we're now reproducing the image case on a real OpenCode 2 host to see whether it's one of them or something new.
Two details would help:
pluginslist? That tells us whether the rejected request is one we changed.On OpenCode 2 our log is under
%TEMP%\opencode2\magic-context\magic-context.log(the bundle picked up the OpenCode 1 log, which doesn't cover this session). The few lines from the moment you attached the image would show exactly which part was rejected.ualtinok commentedon Sep 24, 2026
Shipped in 0.43.0: attached images on OpenCode 2.0.15 and later keep the typed shape OpenCode expects, so "Schema validation failed" no longer happens, and images in recent messages survive a history fold. Closing; reopen if you still see it on 0.43.0.
fix(entrypoint): drop the pinned "@latest" plugin cache each boot