Create a GitHub issue explaining that the package is bound to the original \Illuminate\Database\Eloquent\Builder and therefore if other packages that modify the original Query Builder are used, Compoships cannot be used together. Consequently, it is necessary to figure out how to find a solution.
I had created a fork to cooperate, for example, with staudenmeir/laravel-cte package.
Take a look at https://github.com/esperoweb/compoships