I have refactored the pipe building to use the prototype-pipe-connectors to create the pipe ghosts.
This required quite a lot of changes in the code and there are also 1-2 lines I am not to confident in (but I also don't intend to spend more time on it)
You can download a test version with the changes at https://github.com/nicolas-lang/AutoDeconstruct/releases/tag/0.2.2-a
I would appreciate if you tested it with various non-vanilla-drills.
You can use this script to create ore fields for testing:
/c local surface = game.player.surface;for y=-2,2 do for x=-20,20 do surface.create_entity({name="uranium-ore", amount=1, position={game.player.position.x+x, game.player.position.y+y}}) end end