"Discussed Manhattan (it is a success). Decided to tell Stalin about it. Stalin had told P.M. of telegram from Jap Emperor [actually from the Foreign Secretary] asking for peace. Stalin also read his answer to me. It was satisfactory. Believe Japs will fold up before Russia comes in. I am sure they will when Manhattan [A-bomb] appears over their homeland. I shall inform Stalin about it at an opportune time."
And on top of this, the Japanese had been negotiating their surrender with the ostensibly neutral USSR hoping to get more favorable conditions with their assistance. And the US had been secretly intercepting these cables and knew all about it. [2] And on top of this the US had also already created another secret agreement with the USSR such that they would declare war on Japan on August 8th, which would be essentially the end of Japan. We nuked them on August 6th, and then again on the 9th.
It was completely unnecessary.
[1] - https://nsarchive.gwu.edu/document/28466-document-47-trumans...
[2] - https://nsarchive.gwu.edu/document/28458-document-39b-magic-...
The problem is that he did not, independently, have the authority to make such an offer. And in the mainland things were also confused. The Emperor was treated as a borderline divine figure, but that also meant he was mostly hands off except as a lost resort. He was pushing for surrender behind the scenes, but the war council was the one making the decisions of what would be offered, and they were completely divided. Half wanted to fight, and half wanted peace.
This division continued even after the nukes and Soviet invasion. What changed is they chose to allow the Emperor to make the final call, and he chose to surrender as he had been angling for for quite some time already. The nukes played little role in this decision. The pro-war Japanese correctly believed that we couldn't have many such weapons and were, in any case, prepared to fight to the last Japanese because they thought it'd be glorious.
The thing that did change their mind was the Soviets entering the war meaning they not only no longer had any intermediary with with which to hope for more favorable terms, but also were now facing a massive invasion from the north as well.
You can certainly choose to believe that the decision makers were eager to use nukes and didn’t consider other paths, but you have to acknowledge that opinion is coming entirely from your own intuition and intentionally excludes all contrary evidence.