fix(agent): read step data for summarization check
Amolith
created
StopWhen was reading token counts from currentSession, which is fetched
once at Run() start and never updated. OnStepFinish updates a separate
updatedSession variable, leaving currentSession stale.
It now reads directly from the steps parameter that fantasy passes to
StopWhen, which contains fresh usage data from completed steps.
Fixes: charmbracelet/crush#1750
Assisted-by: Claude Opus 4.5 via Crush