ep: Unify code in `parse_output` and `zeta_prompt` (#50958)

This also fixed `ep parse-output` for newer formats

Release Notes:

- N/A
4b3660bc33Oleksiy Syvokon committed on 3/6/2026, 8:07:54 PM· committed by GitHubparente784c92
3 files changedLine totals unavailable