#58217 Investigating P3 comp/agent

[Feature]: Give pre_llm_call a last_turn record — let plugins perceive what the previous turn did

The pre_llm_call plugin hook can only see what a turn is about to do, not what the previous turn actually did, since that state is wiped at the start of the next turn; the issue proposes a last_turn record passed into the hook.