Dashboard › cli › Distillation
788ffb01-bdcd-4534-9fa2-2c250bb46648["lore_tm_v1_1J9w6cQkFFkNGdVoF-zfVLOP-DFlSfyciZsCu7TbQU4"]
packages/cli/src/commands/cli/upgrade.ts adds imports for isNightlyVersion and UpgradeSource from ../../lib/binary.js.validateMethod() in packages/cli/src/commands/cli/upgrade.ts no longer accepts channel: ReleaseChannel; it derives pinnedVersion by excluding CHANNEL_VERSIONS and stripping VERSION_PREFIX_REGEX, then rejects Homebrew only when the requested pin is not a nightly version.packages/cli/src/commands/cli/upgrade.ts now returns { kind: "target", target: resolvedTarget, source } instead of { kind: "target", target }; the former direct versionExists(lookupMethod, target) block was removed.migrateToStandaloneForNightly() in packages/cli/src/commands/cli/upgrade.ts now accepts source?: UpgradeSource and channel: ReleaseChannel, and destructures both for source-aware nightly migration.determineInstallDir(); 3. run setup on the new binary to update completions, PATH, and metadata; 4. return warnings that the old package-manager installation may remain in PATH.