Make repository identity host-aware across all GitHub surfaces

Generalize the auth-gated enterprise resolver to any remote and build a
cached hosted-identity family (origin/issue/candidates/source) on top of
it, then migrate every github.com-only consumer: Tasks listing/counting,
branch-to-PR discovery, push targets, fork upstream, issue operations,
Projects, web links, avatars, and PR-link facts. Scope the rate-limit
breaker probe per runtime:host and classify WSL UNC cwds correctly.

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinjing
2026-07-19 18:03:49 -07:00
co-authored by Orca
parent bcb895bf43
commit 9a2af96ccc
39 changed files with 1663 additions and 568 deletions
+5 -2
View File
@@ -603,6 +603,7 @@ import {
import type {
ClearProjectItemFieldArgs,
GetProjectViewTableArgs,
ListAccessibleProjectsArgs,
ListAssignableUsersBySlugArgs,
ListIssueTypesBySlugArgs,
ListLabelsBySlugArgs,
@@ -14831,8 +14832,10 @@ export class OrcaRuntimeService {
)
}
async listGitHubProjects(): Promise<Awaited<ReturnType<typeof listAccessibleProjects>>> {
return listAccessibleProjects()
async listGitHubProjects(
args?: ListAccessibleProjectsArgs
): Promise<Awaited<ReturnType<typeof listAccessibleProjects>>> {
return listAccessibleProjects(args)
}
async listGitHubLabelsBySlug(