fix(opencode): clone part data in Bus event to preserve token values (#15780)

This commit is contained in:
Ryan Skidmore 2026-03-02 21:52:43 -06:00 • committed by GitHub
commit fd6f7133c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -761,7 +761,7 @@ export namespace Session {
.run()
Database.effect(() =>
Bus.publish(MessageV2.Event.PartUpdated, {
part,
part: structuredClone(part),
}),
)
})