The GitHub Repo for the Durable Task Extension mentions it is under the MIT License which is permissive as long as the license text is included when shipping software.
But do note that IANAL and it would best to work with a lawyer to better understand any potential legal issues you may run into for your specific scenario.