Track thread terminal running state across UI and store

- add `terminalRunning` to thread state and hydration defaults
- apply terminal events in reducer to sync running/open state (close drawer on exit)
- wire drawer running-state callbacks and show a Terminal status pill in sidebar
- extend store and persistence tests for terminal running/exited behavior
485747b892Julius Marminge committed on 2/13/2026, 6:20:01 AM· committed by Julius Marmingeparent15380f2
7 files changedLine totals unavailable