theres this feature in the game where if you swapped from the 1st item to the 2nd item in 1 game tick it uses the base damage of the 1st item and the abilities/enchants of the 2nd item, for example if you switch from a non enchanted netherite sword(8 attack damage), to a fire aspect 1 wooden sword(4 attack damage) in 1 tick, it will combine the netherite sword's damage(8) with the fire aspect enchantement of the wooden sword.
it can give any tool/weapon(sword, axe, pickaxe, shovel) infinite durability if swapped with hand in 1 tick.
so im suggesting adding a module which automates this feature so you dont have to switch manually. and would work with triggerbot/killaura.
it would have options for:
switch back to the previoius item true/false
only when hitting an entity true/false
switch to hotbar: number(1-9)
only swap when using item: (sword, axe, trident, all)