Surely that's something you just instruct the model to do in your CLAUDE.md / AGENTS.md right? Not really the domain of the IDE.
Also you'll need a wrapper to actually detect when merge conflicts will occur and when rebasing is necessary.
Generally, the less you rely on the AI the better. Make the AI write the code, sure, but don't make the AI be the process.