An End To Terminal ANSI Codes

What would a new terminal protocol without ANSI codes look like? There are many ways to think about how the inner workings of modern terminal protocols could be improved. But just for the sake of argument and to keep things simple, let's imagine doing nothing more than deprecating ANSI all codes and letting CLI applications manipulate rendering details via an entirely new channel.