applyDone closes one LLM round: harvest the live context window, accumulate turn/session tokens, append the assistant message, flush streaming. A turn with tool calls fires one EventDone per round; counters accumulate so the banner reflects the whole turn. Tokens==0 means the backend skipped include
(e llm.Event)
source not stored for this graph (policy: none)