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
parent 98c75be7e1
commit fd6f7133c5
2 changed files with 68 additions and 1 deletions

View File

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