Good, Pakistan had stopped it after General Zia's era ended. It was completely stopped during Musharraf tenure. Pakistan cannot stop ALL Non-state actors or local IOK outfits. But most terror attacks in Pakistan are all planned & sponsored by the indian state (RAW) especially in last 10-15 yrs.
I believe Pakistan must go back to 80's strategy. Modi / BJP extremism cannot be reasoned with. They never wanted peace, they wanted to destroy Pakistan and implement their hinudtva agenda from day 1. Pakistan was foolish to think of better relations and peace with india. This region will burn and destroy because of BJP's exreme Hindutva mindset. Keep this in mind, that Pakisatn will avenge every terror attack sponsored by india. This is endless madness now.