I am a bit worried since the tool I designed is what I used to do at my job everyday, I am pretty useless now, the tool does it very perfectly. My boss knows about it and is pressuring me to share this tool with the company. I am thinking in designing it to break in a point in time if I don't write a code X. That way if I get fired for being useless they won't take advantage of my invention so no win for them nor not win for me. But also I though about offering it as a subscription service and they pay me every month for it, but maybe they take it as offensive and this burn bridges between us. Also I though about just giving them it for free and don't have any problem.
I am not sure what to do really, what do you recommend me to do?