refactor(cli): chat() 855 -> ~240 LOC via _ChatTurn dataclass + 5 phase methods
Per-turn locals (result, TTS pipeline state, voice prefix) move onto a _ChatTurn dataclass shared with the agent worker thread (same-object visibility, so the abandoned-thread late write still lands). Four zero- back-ref regions and the run_agent closure body become _chat_setup_turn_audio / _chat_run_agent / _chat_monitor_agent_thread / _chat_settle_turn / _chat_render_turn. Bodies are ast.dump-identical after the rename; each helper passed the unresolved-free-names check.
This commit is contained in: