It could be the cdi but pretty unlikely. Bike's just not that old.
It screams carb problem doesn't it? So...
Float getting stuck or adjusted wrong? Lets in plenty of fuel for idle but when it needs more there just isn't any there.
Check the carb boots for air leaks. Lean condition would require choke yada yada.
Next, verify the carb rebuild kit was correct. Many times on here rebuild kits cause problems, wrong year or jet size.
The vent tubes aren't clogged are they? Heck new ones might not have them for all I know.
Crank it up, let it warm up 3 or 4 minutes. Can you rev it? How about if you baby it and increase idle slowly? Back off before it dies and try again.
Your coil sounds fine to me. Mine was also out of spec but fully functional.
Before I would buy a new cdi I would swap one out if I had access to see if that clears it up. They're expensive and ya can't really test them to see if they're bad due to the nature of their malfunction.