load README.md and use git diff since commit 36e1817057ce472ec854f807ccdbd84f824b1754 for paths packages/ai-adapters/codex-mcp/* and packages/ai-adapters-core/src/* to understand my recent refactoring. Note that we currently have 3 agent adapters (including the Codex Agent) with one more to come - just keep in mind during analysis.
(CC does git diff and loads relevant files)
⏺ Refactoring Analysis
Core Architectural Shift
You've moved from simple queue-based message handling to a sophisticated state machine with multi-queue lifecycle management. The driver appears to be the new chat.inTurnMessages capability.