Patch Changes
- 363a522: Wire shared sandbox Code Mode once in SessionHandle from main toolSets before building threads.
- 5b981ab: Cancel a session even when the owning executor is gone (restart) or Redis cannot confirm abort. Freeze the running turn in the store so a new turn can start.
freezeAndGetTurnnow takes the cancellation reason (barge-in stayscancelled-for-next-turn; explicit cancel staysclient-cancelled). Redis timeout and transport failures still freeze, with a warning that the cancel is not clean.