You
should just handle your situation. Though, not necessarily like I did, but handle it none the less. I
am enlightened on this particular topic - one of the few in the world I'm qualified to viscerally understand. This is the second time I'm living it, and this time is far more fun because I'm less invested in the identity of "programmer" but it is still daunting.
Selfish? Maybe. What I see from a lot of people I talk to about this stuff is anger and frustration. So they lash out at the guy who says, "hey you can be mad, but you're still going to have to figure out your stuff." I can give advice, you're free to take it or not, but this is not a situation where there is a rule book. You're going to have to forge a new path - things are changing, and you will have to adapt or suffer the consequences of not adapting. There is no one person to blame for this problem (except for maybe yourselves if you were too invested in "dev" as an identity), there is no way to un-invent these tools. It's not going away.
"Just handle your situation" is the right answer here. That's what you're going to have to do anyway. When you get done blubbering about what could have been (and believe me, I did quite a bit of blubbering too), you'll eventually need to get up off your ass and do something in this changed world. I know that sucks, and I know it's not what you want to hear. But these are the facts on the ground right now.
I'm sorry this is happening to you guys (and I guess me twice), but I've been here before, I know what it is like. You can take the advice of a guy who's already been hiking a similar mountain for a few years, or you can say, "screw you man!" That's up to you, but I promise you that being angry will not halt AI coding agents or AI progress in general. You're going to have to adapt to the new world, and if you cannot adapt you are going to suffer more. How do I know? Because I fucking lived this already once.
Once you're done grieving, you can start to say, "oh, what are the new found opportunities in this world where I can't do $old_career?" If you need help along the way, I'm here, but you shouldn't expect me to abandon my lived experience with this stuff. It sucks to lose a career, but the faster you can let go of the old identity and forge a better one, the better you'll be for it.