agentSdkNodeMissingReason function

String agentSdkNodeMissingReason(
  1. LlmNodeResolution node
)

The sentence for a search that found no Node at or above the floor: where it looked and what it found, then the remedy.

"No Node.js runtime" was true of the Finder-launched app on a machine with nine Nodes, and sent its user to install a tenth. The account of the search is what makes the sentence answerable: "/usr/local/bin/node is v16.17.0, below 20" says to upgrade or to point the setting at the one that is new enough.

Implementation

String agentSdkNodeMissingReason(LlmNodeResolution node) =>
    'no Node.js ${node.floor} or newer was found — ${node.report}. Install '
    'Node.js ${node.floor} or newer, or point the setting (Settings › AI › '
    'Node.js) at an existing installation';