DeepSeek-Reasonix
DeepSeek-Reasonix copied to clipboard
fix(desktop): OpenCode Go mimo vision + Windows DPI repaint / 会话切模型读图与 Windows 缩放修复
Summary
Addresses two high-signal items from the 48h bug triage:
- #7798 — mid-session switch to
mimo-v2.5did not attach vision image payloads when the model is selected under OpenCode Go. - #7794 / #7799 — Windows UI scale/blur after minimise-restore (and related restart scale oddities).
Vision (#7798)
opencode-golistedmimo-v2.5as a chat model but not inVisionModels(onlykimi-k3).- Mid-session switch stayed on
opencode-go/mimo-v2.5→imageInputEnabledfalse → path text only. - New sessions with bare
mimo-v2.5default often hit the official MiMo provider (vision OK), which made the gap look session-scoped.
Fix: add mimo-v2.5 to the OpenCode Go vision catalog; migrate stock vision_models = ["kimi-k3"] lists on load (preserve explicit empty/custom lists).
Windows DPI (#7794 / #7799)
- Monitor-scale detection was already enabled (#6472).
- Still force a one-frame compositor repaint on
visibilitychange → visiblefor Windows to clear stale scale layers after minimise/restore.
Test plan
- [x]
go test ./internal/config/ ./internal/control/ - [x]
tsx desktop/frontend/src/__tests__/dpi-repaint.test.tsx - [ ] Manual: default
opencode-go/deepseek-v4-flash, switch toopencode-go/mimo-v2.5, paste image → model describes image - [ ] Manual (Windows): minimise → restore; UI scale and text sharpness match system DPI
Related
- #7798, #7794, #7799
- Stacks with updater self-heal PR #7820 (separate branch)
中文摘要
修复 OpenCode Go 下会话内切到 mimo-v2.5 读图失效,并在 Windows 最小化恢复时强制重绘以缓解缩放/模糊。