You can't effectively use the tools if you can't understand and direct what they should do.
What means to learn to code will shift, it will be a shallower knowledge. But a little bit of coding skill goes a long long way when controlling coding agents.
Learning to read code, and ask important algorithmic and architectural questions about the systems one is building will be key. Instead of raw production, the role will shift to curation and editorializing.