Checklist
Description
When in plan mode and asking a normal question that doesn't update the plan, the full plan is still rendered in the output. This makes the response noisy, The entire plan block gets displayed even though nothing in it changed.
Expected behavior
If the plan entries haven't changed between notifications, the plan block should not be re-displayed in the output.
Actual behavior
Every "plan" sessionUpdate notification unconditionally calls agent-shell--update-fragment and renders the full plan, regardless of whether the plan content is identical to what was already shown.
Checklist
Description
When in plan mode and asking a normal question that doesn't update the plan, the full plan is still rendered in the output. This makes the response noisy, The entire plan block gets displayed even though nothing in it changed.
Expected behavior
If the plan entries haven't changed between notifications, the plan block should not be re-displayed in the output.
Actual behavior
Every
"plan"sessionUpdate notification unconditionally callsagent-shell--update-fragmentand renders the full plan, regardless of whether the plan content is identical to what was already shown.