fix(opencode): show inline HTML visualizations #25827
Closedjoaomendoncaa(GitHub profile, opens in a new tab)wants to merge 1 commit into
main fromrefs/pull/25827/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes
Sign in to join this conversation.
Verification#
vp test run packages/provider-opencode/src/server/adapter.test.ts— 34/34vp test run apps/server/src/orchestration-v2/Adapters/OpenCode2AdapterV2.test.ts— 85/85vp test run packages/shared/src/htmlRender.test.ts— 13/13executecall wrapping twohtml_renderresults produced twohtml_renderturn items with the correct attachment IDs; both frames rendered in the client.No UI changes. This is a focused fix for an obvious bug: the same feature already works for ACP/Antigravity, and OpenCode is the only adapter that does not reattach the reference. No prior issue. I did not manually drive a non-Code-Mode OpenCode session, but that path is covered by the adapter test.