Goal
anyr update (stable and --channel beta) and curl -fsSL https://anyrouter.dev/setup.sh | bash must install/upgrade on linux x86_64 without a GitHub Releases API 403 or a 404 on the download URL.
Context
Repro from the box (2026-08-28):
anyr update
# GitHub Releases API HTTP 403
anyr update --channel beta
# GitHub Releases API HTTP 403
curl -fsSL https://anyrouter.dev/setup.sh | bash
# channel=stable os=linux arch=x86_64
# Downloading https://github.com/anyrouter-dev/cli/releases/latest/download/anyr-linux-x86_64
# curl: (22) The requested URL returned error: 404
Live notes (do not treat as root cause):
Suggested
Investigate both the CLI update client (User-Agent / unauth API 403 / prerelease-only catalog) and the install script / release asset names so stable and beta channels resolve a real binary. Prefer a durable client+release fix over a one-off published tag unless a missing stable latest is actually required.
Validation
anyr update and anyr update --channel beta no longer print GitHub Releases API HTTP 403 (success or a clear actionable error).
curl -fsSL https://anyrouter.dev/setup.sh | bash downloads a real anyr-linux-x86_64 (or the correct current asset name) instead of 404.
- Tests for the 403/404 paths. Open a PR. Do not merge release-please.
Goal
anyr update(stable and--channel beta) andcurl -fsSL https://anyrouter.dev/setup.sh | bashmust install/upgrade on linux x86_64 without a GitHub Releases API 403 or a 404 on the download URL.Context
Repro from the box (2026-08-28):
Live notes (do not treat as root cause):
v0.1.12-beta.*)./releases/latestHTML 302s; unauthenticatedGET https://api.github.com/repos/anyrouter-dev/cli/releases/latestreturns 403 from this environment.setup.shdefaults tochannel=stableand hits/releases/latest/download/anyr-linux-x86_64.Suggested
Investigate both the CLI update client (User-Agent / unauth API 403 / prerelease-only catalog) and the install script / release asset names so stable and beta channels resolve a real binary. Prefer a durable client+release fix over a one-off published tag unless a missing stable latest is actually required.
Validation
anyr updateandanyr update --channel betano longer printGitHub Releases API HTTP 403(success or a clear actionable error).curl -fsSL https://anyrouter.dev/setup.sh | bashdownloads a realanyr-linux-x86_64(or the correct current asset name) instead of 404.