feat: add Origin (Cursor) as a connectable git provider - #3168
Draft
Meldiron wants to merge 5 commits into
Draft
Conversation
Adds Origin, Cursor's git hosting, alongside GitHub and Gitea: - IconOrigin.svelte with the Cursor cube mark, currentcolor like the other provider icons - connectOrigin() plus provider URL helpers in the git store, and a Connect to Origin button (second, after GitHub) in the shared connect empty state, gated on _APP_VCS_PROVIDERS containing 'origin' - Provider-aware settings page: Origin icon and cursor.com/codebase links for installations, per-row Configure follows the row's provider instead of always GitHub, unknown providers fall back to a git icon - Repository cards, git-deployment modals and the deployment source popover no longer assume GitHub for icons and repository links Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Console (appwrite/console)Project ID: Tip Custom domains work with both CNAME for subdomains and NS records for apex domains |
Builds on the Origin groundwork with a central provider registry in the git store (icons, labels, provider URLs, installation-settings URLs and enablement gates), the same shape the new console uses. Everything that assumed GitHub now reads from it: - Connect empty states (shared connectGit, settings, both template wizards) render one button per enabled provider - Settings' Add installation becomes a provider chooser when more than one provider is enabled, and each row's Configure follows the row's provider - The repository picker labels installations with their provider icon and offers per-provider 'Add installation' entries - 'Missing a repository?' permission links follow the installation's provider (GitHub installation settings vs Cursor's app settings) - Wizard asides and repository cards show the connected provider's icon - The create-repository modal explains that Origin apps cannot create repositories and points at cursor.com instead Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…anges - Health service was removed from the SDK; it was instantiated but never called, so drop it from the sdk store. - Models.CloudLocale merged into Models.Locale. - createTextEmbeddings moved from VectorsDB to the new Embeddings service. - Migration imports/exports take databaseId + collectionId instead of the composite resourceId string. - Models.App gained required labels, installationScopes and installationRedirectUrl fields. - DatabaseType enum gained mysql/postgresql/mongodb; derive the local terminology union from the SDK enum instead of duplicating it. - UsageProject lost executionsBreakdown, so the per-function executions table on the project usage page is gone with it. - _APP_VCS_PROVIDERS is now part of ConsoleVariables, so the manual casts are no longer needed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The button row in the git empty states spans the full footer width, so it needs its own centering like the MCP card below it. Also drops the now redundant _APP_VCS_PROVIDERS casts in the touched files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…bility Console variables now report which VCS providers support repository creation (_APP_VCS_PROVIDERS_WITH_REPOSITORY_CREATION) and which can host public repositories (_APP_VCS_PROVIDERS_WITH_PUBLIC_REPOSITORIES). - The new-repository form only offers organizations whose provider can create repositories, and hides the public/private toggle (forcing private) when the provider cannot host public repositories. - The connect-repository modal and the function/site template wizards hide the "Create new repository" choice entirely when no installation supports creation, replacing the hardcoded Origin special case. - Servers that predate the new variables keep the historical behavior. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

What does this PR do?
Adds Origin, Cursor's git hosting platform, as a connectable VCS provider, following the Gitea precedent (
843669229) and going a bit further where Gitea shipped incomplete.connectGitempty state used by the create-function/create-site wizards and repository pickers — shown when the server's_APP_VCS_PROVIDERSincludesorigin(no self-hosted gate: Origin is a cloud service)connectOrigin()+ exportedconnectVcsProvider()and provider URL helpers insrc/lib/stores/git.tscursor.com/codebase/{org}links, each row's Configure follows that installation's provider instead of always GitHub, and unknown providers render a generic git icon instead of a blank avatarRequires server-side support from appwrite/appwrite#13259 (which builds on utopia-php/vcs#133). Verified locally against a live Origin installation: connect flow, repository listing, deployments and check runs all round-trip.
bun run check: 0 errors (87 pre-existing warnings, none in touched files).🤖 Generated with Claude Code