Deprecate github-proxy.com with automatic migration to native resources #3007
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
github-proxy.com is being shut down. This PR provides a graceful migration path for existing Blueprints that reference github-proxy.com URLs.
When a Blueprint contains a URL resource pointing to github-proxy.com, it is now automatically rewritten to native Blueprint resources with a console warning prompting users to update their Blueprints.
Migration mapping
?repo=owner/namezipwrappinggit:directoryat HEAD?repo=...&branch=trunkzipwrappinggit:directorywith branch ref?repo=...&pr=123zipwrappinggit:directorywithrefs/pull/123/head?repo=...&commit=abczipwrappinggit:directorywith commit ref?repo=...&release=v1.0zipwrappinggit:directorywith tag ref?repo=...&directory=subdirzipwrappinggit:directorywith path?repo=...&release=v1.0&asset=file.zipurlto GitHub releases download?repo=...&release=latest&asset=file.zipurlto GitHub/releases/latest/download/https://github-proxy.com/https://...urlwith the inner GitHub URLNew
zipresource typeA new resource type that wraps file or directory resources and outputs them as ZIP files. This maintains semantic compatibility with github-proxy.com which always returned ZIP files.
{ "resource": "zip", "inner": { "resource": "git:directory", "url": "https://github.com/owner/repo", "ref": "main" } }Other changes
git:directoryinstead of github-proxy.com examples/proxyredirect now points to the resources documentation/cors-proxy/requests through Vite to avoid Chrome's Private Network Access restrictionsTest plan
zipresource type works withinstallPluginandinstallThemestepsgit:directoryresources still work as expected🤖 Generated with Claude Code