Skip to content

Update @github/copilot to 1.0.40-3#1182

Merged
stephentoub merged 2 commits intomainfrom
update-copilot-1.0.40-3
May 1, 2026
Merged

Update @github/copilot to 1.0.40-3#1182
stephentoub merged 2 commits intomainfrom
update-copilot-1.0.40-3

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.40-3.

Changes

  • Updated @github/copilot in nodejs/package.json and test/harness/package.json
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output

Next steps

When ready, click Ready for review to trigger CI checks.

Created by the Update @github/copilot Dependency workflow.

- Updated nodejs and test harness dependencies
- Re-ran code generators
- Formatted generated code
@stephentoub stephentoub marked this pull request as ready for review May 1, 2026 00:30
Copilot AI review requested due to automatic review settings May 1, 2026 00:30
@stephentoub stephentoub requested a review from a team as a code owner May 1, 2026 00:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo’s pinned Copilot CLI/runtime dependency (@github/copilot) and regenerates the SDK protocol types so Node/Python/Go/.NET stay aligned with the updated schema (notably adding OAuth grant-type fields for MCP HTTP + OAuth-required events).

Changes:

  • Bump @github/copilot to ^1.0.40-3 in Node packages + update lockfiles.
  • Regenerate RPC/session-event types across Node/Python/Go/.NET to reflect new schema fields (e.g., oauthGrantType / grantType).
  • Update generated language bindings for MCP server OAuth grant type enum/fields.
Show a summary per file
File Description
test/harness/package.json Bumps harness devDependency @github/copilot to ^1.0.40-3.
test/harness/package-lock.json Lockfile updates for @github/copilot@1.0.40-3 and platform packages.
python/copilot/generated/session_events.py Adds grantType support in McpOauthRequiredStaticClientConfig.
python/copilot/generated/rpc.py Adds MCPServerConfigHTTPOauthGrantType + oauthGrantType fields in MCP HTTP configs.
nodejs/src/generated/session-events.ts Adds grantType?: "client_credentials" to OAuth-required static client config.
nodejs/src/generated/rpc.ts Adds McpServerConfigHttpOauthGrantType and optional oauthGrantType on HTTP config.
nodejs/samples/package-lock.json Updates transitive lockfile resolution to @github/copilot@1.0.40-3.
nodejs/package.json Bumps @github/copilot dependency to ^1.0.40-3.
nodejs/package-lock.json Lockfile updates for @github/copilot@1.0.40-3 and platform packages.
go/rpc/generated_rpc.go Adds OAuth grant type enum + OauthGrantType in MCP HTTP config structs.
go/generated_session_events.go Adds GrantType to MCP OAuth-required static client config event payload.
dotnet/src/Generated/SessionEvents.cs Adds GrantType to McpOauthRequiredStaticClientConfig.

Copilot's findings

Files not reviewed (3)
  • nodejs/package-lock.json: Language not supported
  • nodejs/samples/package-lock.json: Language not supported
  • test/harness/package-lock.json: Language not supported
  • Files reviewed: 4/12 changed files
  • Comments generated: 0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 1, 2026

Cross-SDK Consistency Review ✅

This is an automated dependency update PR that re-runs all code generators for all four SDK implementations. The changes are consistent across all SDKs:

New additions in all SDKs

Feature Node.js Python Go .NET
OAuth grant type enum McpServerConfigHttpOauthGrantType (union) MCPServerConfigHTTPOauthGrantType (Enum) MCPServerConfigHTTPOauthGrantType (string type) McpHttpServerConfigOauthGrantType (enum)
oauthGrantType on HTTP server config McpServerConfigHttp MCPServerConfig + MCPServerConfigHTTP MCPServerConfig + MCPServer McpHttpServerConfig
grantType on McpOauthRequiredStaticClientConfig ✅ literal "client_credentials" str | None *string string?

No consistency gaps found — all four SDK implementations are in sync.

Generated by SDK Consistency Review Agent for issue #1182 · ● 628.3K ·

@stephentoub stephentoub merged commit ffe4f01 into main May 1, 2026
36 checks passed
@stephentoub stephentoub deleted the update-copilot-1.0.40-3 branch May 1, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants