Dashboard › cli › Distillation
606f7a31-5d52-4422-ab11-f917227ea941["lore_tm_v1_dTzB-Af8MLAzM2nDvZWPwjY9rgZt5vGdEr7jywHzTGQ","lore_tm_v1_lu2S6qCMpS_BoM_G1sN5KGF-kVyLOXajnEDuCP3zmJg"]
UpgradeSource in packages/cli/src/lib/binary.ts with readonly fields githubRepo, ghcrRepo, and tagPrefix.UPGRADE_SOURCES: 1. Toolkit source { githubRepo: "getsentry/toolkit", ghcrRepo: "getsentry/toolkit", tagPrefix: "cli@" }; 2. legacy CLI source { githubRepo: "getsentry/cli", ghcrRepo: "getsentry/cli", tagPrefix: "" }. The resolver falls through only on HTTP 404.PRIMARY_UPGRADE_SOURCE = UPGRADE_SOURCES[0], making Toolkit the default for direct helper calls that have not resolved a source.getBinaryDownloadUrl(version, source = PRIMARY_UPGRADE_SOURCE) builds https://github.com/${source.githubRepo}/releases/download/${source.tagPrefix}${version}/${getPlatformBinaryName()}.getGitHubReleasesUrl(source = PRIMARY_UPGRADE_SOURCE), returning https://api.github.com/repos/${source.githubRepo}/releases.getGitHubReleaseByTagUrl(version, source = PRIMARY_UPGRADE_SOURCE) and URL-encodes the source-specific ${source.tagPrefix}${version} tag.getGitHubLatestReleaseUrl(source = PRIMARY_UPGRADE_SOURCE): prefixed repositories use ${getGitHubReleasesUrl(source)}?per_page=100, while unprefixed repositories use ${getGitHubReleasesUrl(source)}/latest.getAnonymousToken(sourceOrSignal: UpgradeSource | AbortSignal = PRIMARY_UPGRADE_SOURCE, signal?: AbortSignal) preserves the prior signal-only call form while supporting source-specific GHCR token scope repository:${source.ghcrRepo}:pull.feat(cli): add toolkit upgrade bridge, closes issue #1244, and has base ref OID ec83887a16f780f32fba4b7d710bad262dba3a22.04867eaf9b412a62d4b1ea1c59c2b382c557bd0b β feat(cli): add toolkit upgrade bridge; 2. 9c874298e3b57515ba36d35140627a668a46dc7b β fix(cli): address toolkit bridge review; 3. 723375b6ce4e37884e760fa0f848e7e7e3effcc9 β fix(cli): address upgrade review findings; 4. dbee7e9f2a4555e044f74dfebad002cccfa43a1f β test(cli): update toolkit upgrade fixtures. All are authored by Burak Yigit Kaya (BYK, byk@sentry.io). (meaning Sep 9, 2026)pnpm run lint, pnpm run typecheck, pnpm run check:deps, pnpm run check:errors, pnpm run check:patches, pnpm run check:stale-refs, pnpm run check:upgrade-sources, and shellcheck packages/cli/install.packages/cli/src/commands/cli/upgrade.ts with 80 additions and 34 deletions, packages/cli/src/lib/binary.ts with 148 additions and 6 deletions, and modifications to packages/cli/src/lib/delta-upgrade.ts.Build Binary (linux-x64), Build Binary (darwin-arm64), Build npm Package (smoke Node 20), E2E Tests, Build Docs, Seer Code Review, Socket Security: Project Report, Socket Security: Pull Request Alerts, Vercel β cli, Vercel β sentry-local, and semgrep-cloud-platform/scan; Publish Nightly to GHCR was skipped. (meaning Sep 9-10, 2026)