A project to keep an eye on, to replicate 'autotype' support offered by many password managers, is wlrctl¹. A popular alternative is ydotool², but brings some additional risks the operator might not be comfortable with.
re:ydotool. More than risks, I would say the author constantly changing things without testing and breaking the tool is what made me stop using it. I wrote my own version using evdev and never looked back.
Could you post a link to it? Ive been using ydotool for a while, its not working 100% reliably though.
It's not public. I don't really open source most of the tools I write for myself because there's basically no incentive to do so.