Aside from that electronic glasses or attachments, nothing will handle this.
MTB guys like the mid-tint lenses that block specific wavelengths for going in and out of trees
For the AM PM scenarios, Transition xtractive are the bomb. The off-brand transitions suck, as they don’t have the tint range. Regular transitions don’t get dark enough. The regular non-mirror Xtractive work better than the Xtractive Stylemirror mirrored lenses, but the non-mirror look awful mid-tinted, while the mirrors look good. I’ve got all three varieties of Transitions and the Stylemirrors are the way to fly over Oakley, Rudy Project, and all the others (which are all the same Zeiss lenses BTW) .
Aside from maximum tint, which is maybe 5% less than my full-on tint sunglasses, the other downside of the Transitions mirrored are that they’re hard for the labs to work with on the heavily curved lenses (base 8 wrap around) - I had https://www.lensabl.com/ make my Oakley Mercenary (like Flak sunglasses). They did them, but it took them a few tries/weeks to pass the labs QC.