IDK if this answers the question, but a Turkish source (and CNN covered this too in a video) claims that Iran told Turkey somewhat explicitly what they planned to do. And so the theory goes that Turkey surely told the US. So, US coordination with Iran is probably overinterpreting it, but if these claims (not yet confirmed by the US, I think) are true, that suggests the defense team had some info more or less deliberately disclosed by the attacker.
Iran informed Turkey in advance of its planned operation against Israel, a Turkish diplomatic source told Reuters on Sunday, adding that Washington had conveyed to Tehran via Ankara that any action it took had to be "within certain limits".
The Turkish source, speaking on condition of anonymity, said Turkish Foreign Minister Hakan Fidan had spoken to both his U.S. and Iranian counterparts in the past week to discuss the planned Iranian operation, adding Ankara had been made aware of possible developments.
"Iran informed us in advance of what would happen. Possible developments also came up during the meeting with Blinken, and they (the U.S.) conveyed to Iran through us that this reaction must be within certain limits," the source said.
There's not much more detail in there on what information Turkey claims to have received though.
Your Israeli source doesn't mention Turkey at all though, so I'm unsure if they mean something else when writing things like
Iran was required to pay lip service for its public [...] So of course there was a behind-the-scenes agreement with the US.
The machine translation may miss some nuances, but that seem to be a bit devoid of any suggestion of how any agreement was reached. It does make a similar claim about the Iranian attack during the Trump presidency--"The Americans had accurate intelligence because Iran had informed them." But again suggest not how that was communicated, and in that instance I don't recall the press discussing any such details. So that article appears rather speculative--deducing purely from the lack of further escalation that some intel was passed beforehand. That's more a guess [or two] than facts.
FWTW, Iranian officials said various somewhat contradictory things on this
Iranian Foreign Minister Hossein Amir-Abdollahian said Tehran had informed the United States that the attack on Israel would be limited and for self-defence, and that regional neighbours had been informed of the planned strikes 72 hours in advance.
However, Iranian Foreign Ministry spokesperson Nasser Kanaani said that no pre-arranged agreement was made with any country prior to the weekend attack.
And the US appears to be denying that they received [any] such info
Turkish, Jordanian and Iraqi officials said that Iran gave wide notice days before its drone and missile attack on Israel, but US officials said Tehran did not warn Washington and that it was aiming to cause significant damage. [...]
One senior official in US President Joe Biden's administration denied Mr Amir-Abdollahian's statement, saying Washington did have contact with Iran through Swiss intermediaries but did not get notice 72 hours in advance.
"That is absolutely not true," the official said. "They did not give a notification, nor did they give any sense of ...'these will be the targets, so evacuate them.'"
OTOH Iraqi officials say they received good info from Iran on the timing of the attack. (Same source.) ...aaand this rather confusing bit:
Asked if Iran had also given details about the targets and kind of weapons to be used, the Jordanian source did not respond directly but indicated that that was the case.
And another Reuters headline kinda summarizes the controversy:
Iran says it gave warning before attacking Israel. US says that's not true.