/** * FNXC:ReleaseScript 2026-06-14-23:08: * Dry-run releases must be non-interactive by default because FN-6469 showed non-TTY agent shells can hang on unsettled top-level await and exit 13 when the version prompt reads stdin. * `--interactive` is the explicit dry-run opt-in for maintainers who intentionally want to exercise the version prompt. * * FNXC:ReleaseScript 2026-08-03-02:57: * `--yes` / autoYes is removed. Real releases always prompt for version/channel overrides and for the final proceed confirmation. * * @param {{ dryRun: boolean, interactive: boolean }} options * @returns {boolean} true when the release script should prompt for a version override. */ export function shouldPromptForVersion({ dryRun, interactive }) { if (dryRun) return interactive; return true; }