Private repos return 404 on archive/refs/heads/<branch>.tar.gz without Authorization. Use api.github.com/.../tarball/<ref> when GITHUB_TOKEN/GH_TOKEN is set; tolerate the SHA-suffixed top dir. Co-authored-by: Cursor <cursoragent@cursor.com>
Private repos return 404 on archive/refs/heads/<branch>.tar.gz without Authorization. Use api.github.com/.../tarball/<ref> when GITHUB_TOKEN/GH_TOKEN is set; tolerate the SHA-suffixed top dir. Co-authored-by: Cursor <cursoragent@cursor.com>