There is no doubt that as the United States winds down the Afghan war — the longest in American history, and one that has cost half a trillion dollars and more than 150,000 lives on all sides — regional adversaries are muscling in. Saudi Arabia and Pakistan remain the dominant players. But Iran is also making a bold gambit to shape Afghanistan in its favor.