Skip to content

feat(core): port GitHub Copilot OAuth#36336

Merged
thdxr merged 2 commits into
v2from
copilot-oauth
Jul 11, 2026
Merged

feat(core): port GitHub Copilot OAuth#36336
thdxr merged 2 commits into
v2from
copilot-oauth

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • port GitHub.com and Enterprise Copilot device OAuth to the V2 integration registry
  • add credential-aware Copilot request headers for chat, responses, and messages endpoints
  • port defensive remote model syncing while preserving local metadata and advertised endpoint selection
  • cover OAuth registration, request headers, malformed/stale model handling, variants, and zero billing batch sizes

Closes #36335

Validation

  • bun test test/github-copilot/models.test.ts test/plugin/provider-github-copilot.test.ts (12 passed)
  • narrowed Core typecheck covering all changed source and tests
  • scoped oxlint (no errors in changed source files)

@thdxr
thdxr marked this pull request as ready for review July 11, 2026 01:06
@thdxr
thdxr merged commit d1550cb into v2 Jul 11, 2026
10 checks passed
@thdxr
thdxr deleted the copilot-oauth branch July 11, 2026 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant