China has a large interest particularly in killing the Uyghur terrorists who train there. If this is why the US took out a Uyghur leader in Pakistan, and it ends up bringing in China on our terms, then bully for us and hooray. China has a lot to offer, in terms of money and men.
However, if China instead seeks a completely free hand, it should not be accepted. Chinese counterinsurgency tends to be "kill, kill, kill" without any subtlety, and in fact has likely made the Uyghur insurgency far worse than it would have been on its own.
We should keep them out of Afghanistan until the leaders have read "Accidental Guerrilla."