fix(opencode): adopt handed-over provider thread identity

The create path in ensureThread minted a fresh session-keyed row even
when the caller handed over the run's provider thread, leaving the same
two-live-rows hazard the Pi adapter just fixed. Bind the new native
session to the caller's row instead, mirroring the Pi adopt branch.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
18c3349c78Wout Stiens committed on 9/1/2026, 5:43:05 AMparent5792645
1 file changedLine totals unavailable