Skip to content

Update @github/copilot to 1.0.52-4#1393

Merged
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.52-4
May 23, 2026
Merged

Update @github/copilot to 1.0.52-4#1393
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.52-4

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.52-4.

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 23, 2026 01:37
@stephentoub stephentoub requested a review from a team as a code owner May 23, 2026 01:37
Copilot AI review requested due to automatic review settings May 23, 2026 01:37
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

This PR updates the monorepo’s Node dependency on @github/copilot to 1.0.52-4 and propagates the updated schema/codegen outputs across the SDKs (Node/TS, Python, Go, Rust, .NET). The regenerated types add new session event(s) and extend existing payloads to reflect the newer Copilot wire surface.

Changes:

  • Bumped @github/copilot to ^1.0.52-4 in Node packages (SDK + test harness) and updated lockfiles.
  • Regenerated session-event models across Rust/Python/Go/TypeScript/.NET, including the new mcp_app.tool_call_complete event and additional telemetry fields (e.g., serviceRequestId).
  • Regenerated RPC surface/types to include session.mcp.apps.* methods and related MCP Apps host context/resource types.
Show a summary per file
File Description
test/harness/package.json Updates harness devDependency on @github/copilot to ^1.0.52-4.
test/harness/package-lock.json Lockfile refresh for the harness to @github/copilot@1.0.52-4 and platform packages.
nodejs/package.json Updates Node SDK dependency on @github/copilot to ^1.0.52-4.
nodejs/package-lock.json Lockfile refresh for Node SDK to @github/copilot@1.0.52-4 and platform packages.
nodejs/samples/package-lock.json Updates sample lockfile to reflect the SDK’s updated transitive @github/copilot version.
nodejs/src/generated/session-events.ts Regenerates TS session-event types (adds MCP Apps event + new/extended payload fields).
nodejs/src/generated/rpc.ts Regenerates TS RPC types/surface, including session.mcp.apps.* APIs and updated billing/tool result schemas.
python/copilot/generated/session_events.py Regenerates Python session-event models with new event + added fields/enums.
go/zsession_events.go Updates Go top-level aliases/constants to re-export newly generated RPC/event types.
go/rpc/zsession_events.go Regenerates Go session-event structs/enums (new event, MCP server transport, UI resource/tool metadata, etc.).
go/rpc/zsession_encoding.go Updates Go JSON decoding for the new MCP Apps event and new tool execution result field(s).
go/rpc/zrpc.go Regenerates Go RPC types/APIs including session.mcp.apps.* and updated model billing/token pricing schema.
rust/src/generated/session_events.rs Regenerates Rust session-event enums/structs with MCP Apps event + added fields/types.
rust/src/generated/api_types.rs Regenerates Rust API types/constants for new session.mcp.apps.* methods and updated schemas.
rust/src/generated/rpc.rs Regenerates Rust session RPC surface to expose mcp.apps sub-namespace and its methods.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET session-event types, adding MCP Apps event and updated payload/enums/metadata types.

Copilot's findings

Files not reviewed (7)
  • go/rpc/zrpc.go: Language not supported
  • go/rpc/zsession_encoding.go: Language not supported
  • go/rpc/zsession_events.go: Language not supported
  • go/zsession_events.go: Language not supported
  • 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: 2/18 changed files
  • Comments generated: 0

Emit Rust type aliases for top-level map-shaped schemas so generated RPC methods can return opaque object payloads like session.mcp.apps.callTool.

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

Cross-SDK Consistency Review

This PR updates generated code for Node.js, Python, Go, .NET, and Rust to @github/copilot version 1.0.52-4, but the Java SDK is not included.

The Java SDK has its own codegen at java/scripts/codegen/package.json, which still references @github/copilot: ^1.0.49-1. As a result, several new types added in this update are missing from the Java generated code, including:

  • McpAppsApi and related types (McpAppsResourceContent, McpAppsReadResourceResult, McpAppsListToolsResult, McpAppsSetHostContextDetails, etc.)
  • McpAppToolCallCompleteEvent (added to the SessionEvent union in other SDKs)
  • SkillInvokedTrigger enum
  • McpServerTransport enum
  • ErrorData.serviceRequestId field
  • ModelBillingTokenPricesLongContext class

To bring Java into alignment, the Java codegen would need to be run:

cd java && mvn generate-sources -Pcodegen

after updating java/scripts/codegen/package.json to reference @github/copilot@1.0.52-4.

This may be intentional if the Java SDK has a separate update process, but flagging for awareness to ensure feature parity is maintained.

Generated by SDK Consistency Review Agent for issue #1393 · ● 5.2M ·

@stephentoub stephentoub merged commit e89a891 into main May 23, 2026
47 checks passed
@stephentoub stephentoub deleted the update-copilot-1.0.52-4 branch May 23, 2026 02:12
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