mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
The context event handler documentation promised a deep copy but the implementation passed the original array reference. This could cause hooks to accidentally mutate session messages. Uses structuredClone() for fast native deep copying.