You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 435b998
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(source-control): PullRequestService reads GitHub capabilities, not its kind
PullRequestService checked `kind === "github"` for routing identity,
verified credentials, and merge-message cleanup, and imported GitHub's
AllowGitHubReserve to mark interactive requests.
- AllowGitHubReserve becomes core's SourceControlRateLimit.Interactive:
the same reference (default false), named for what callers mean.
GitHub's API reads it to decide whether a request may spend the
GraphQL reserve, so the server no longer imports from a host package.
- Routing identity and verified credentials go to whichever provider
implements getRoutingIdentity / withVerifiedCredential. Only GitHub
does, so behavior is unchanged.
- removesAgentCreditsOnMerge is a PullRequestProviderApi capability
GitHub sets; the rate-limit wrapper passes it through.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments