Refactor ClaudeCodeAdapter session flow and stream handling

- Replace manual prompt async iterator with `Stream.fromQueue(...).toAsyncIterable`
- Use `Ref` for shared session context in tool approval callbacks
- Simplify timestamp/ID generation and close sessions via queue shutdown
f087c61980Julius Marminge committed on 3/6/2026, 2:13:19 AMparent94116da
1 file changedLine totals unavailable