I guess you did not read the article. The point was India was not crazy about helping Afghanistan, and whatever they were/are doing is within context of how they can hurt Pakistan.
Sorry my friend, but Afghanistan is no one’s “playground”. Afghanistan belongs to Afghans. Pakistan can strive to have good relations with Afghanistan, but Pakistan should not try to be a king-maker. We tried doing just that in 90’s, and this is the reason why Pakistan is now hated by half of Afghans. The only friends we have in Afghanistan is Taliban, who is our enemy in Pakistan. Ironic, to say the least.
If we want good relations with Afghanistan as a country then we need to do what India is doing. HELP them.
India has all the rights to invest in Afghanistan, just like any other country in the world. Nobody stopped Pakistan in doing similar investment in Afghanistan.