Update @github/copilot to 1.0.52-4#1393
Conversation
- Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code
There was a problem hiding this comment.
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/copilotto^1.0.52-4in 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_completeevent 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>
Cross-SDK Consistency ReviewThis PR updates generated code for Node.js, Python, Go, .NET, and Rust to The Java SDK has its own codegen at
To bring Java into alignment, the Java codegen would need to be run: cd java && mvn generate-sources -Pcodegenafter updating This may be intentional if the Java SDK has a separate update process, but flagging for awareness to ensure feature parity is maintained.
|
Automated update of
@github/copilotto version1.0.52-4.Changes
@github/copilotinnodejs/package.jsonandtest/harness/package.jsonscripts/codegen)Next steps
When ready, click Ready for review to trigger CI checks.