Update @github/copilot to 1.0.55-1#1431
Closed
github-actions[bot] wants to merge 1 commit into
Closed
Conversation
- Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code
stephentoub
approved these changes
May 26, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the monorepo’s pinned @github/copilot dependency to 1.0.55-1 and regenerates the SDKs’ JSON-RPC type/handler bindings accordingly (Node/TS, Python, Go, .NET, Rust), picking up new/updated schema surfaces (notably canvas provider callbacks and MCP server config fields like oidc / auth).
Changes:
- Bumped
@github/copilotto^1.0.55-1across Node packages (SDK, harness, samples) and updated lockfiles. - Regenerated RPC types/clients/handler registration code across languages (new canvas provider request/result types; MCP config
oidc/auth). - Updated generated docs/comments/experimental annotations (e.g., session metadata enrich docs; sessionFs experimental markers).
Show a summary per file
| File | Description |
|---|---|
| test/harness/package.json | Bumps @github/copilot devDependency to ^1.0.55-1. |
| test/harness/package-lock.json | Updates lockfile resolution/integrity for @github/copilot@1.0.55-1 and platform packages. |
| nodejs/package.json | Bumps @github/copilot dependency to ^1.0.55-1. |
| nodejs/package-lock.json | Updates lockfile resolution/integrity for @github/copilot@1.0.55-1 and platform packages. |
| nodejs/samples/package-lock.json | Updates sample lockfile to @github/copilot@^1.0.55-1. |
| nodejs/src/generated/rpc.ts | Regenerated TS RPC types and client-session handler registration (adds canvas provider + MCP oidc/auth types). |
| python/copilot/generated/rpc.py | Regenerated Python RPC types and client-session handler registration (adds canvas provider + MCP oidc/auth; updates typing). |
| go/rpc/zrpc.go | Regenerated Go RPC types and handler registration (adds canvas provider + MCP oidc/auth types). |
| go/rpc/zrpc_encoding.go | Adds JSON union unmarshal support for MCP oidc / auth variants. |
| dotnet/src/Generated/Rpc.cs | Regenerated C# RPC types and handler registration (adds canvas provider types; adds experimental annotations to several sessionFs types/enums). |
| rust/src/generated/rpc.rs | Updates generated Rust RPC doc comments (session enrich metadata wording). |
| rust/src/generated/api_types.rs | Adds new generated Rust RPC method constants/types (canvas methods, MCP fields, experimental annotations). |
Copilot's findings
Files not reviewed (5)
- go/rpc/zrpc.go: Language not supported
- go/rpc/zrpc_encoding.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/12 changed files
- Comments generated: 3
Comment on lines
+7807
to
+7811
| /// <summary>Canvas open parameters sent to the provider.</summary> | ||
| public sealed class CanvasProviderOpenRequest | ||
| { | ||
| /// <summary>Provider-local canvas identifier.</summary> | ||
| [JsonPropertyName("canvasId")] |
Comment on lines
+14788
to
+14805
| rpc.SetLocalRpcMethod("canvas.open", (Func<CanvasProviderOpenRequest, CancellationToken, ValueTask<CanvasProviderOpenResult>>)(async (request, cancellationToken) => | ||
| { | ||
| var handler = getHandlers(request.SessionId).Canvas; | ||
| if (handler is null) throw new InvalidOperationException($"No canvas handler registered for session: {request.SessionId}"); | ||
| return await handler.OpenAsync(request, cancellationToken); | ||
| }), singleObjectParam: true); | ||
| rpc.SetLocalRpcMethod("canvas.close", (Func<CanvasProviderCloseRequest, CancellationToken, ValueTask>)(async (request, cancellationToken) => | ||
| { | ||
| var handler = getHandlers(request.SessionId).Canvas; | ||
| if (handler is null) throw new InvalidOperationException($"No canvas handler registered for session: {request.SessionId}"); | ||
| await handler.CloseAsync(request, cancellationToken); | ||
| }), singleObjectParam: true); | ||
| rpc.SetLocalRpcMethod("canvas.invokeAction", (Func<CanvasProviderInvokeActionRequest, CancellationToken, ValueTask<CanvasInvokeActionResult>>)(async (request, cancellationToken) => | ||
| { | ||
| var handler = getHandlers(request.SessionId).Canvas; | ||
| if (handler is null) throw new InvalidOperationException($"No canvas handler registered for session: {request.SessionId}"); | ||
| return await handler.InvokeActionAsync(request, cancellationToken); | ||
| }), singleObjectParam: true); |
Comment on lines
+12095
to
+12113
| client.SetRequestHandler("canvas.close", func(params json.RawMessage) (json.RawMessage, *jsonrpc2.Error) { | ||
| var request CanvasProviderCloseRequest | ||
| if err := json.Unmarshal(params, &request); err != nil { | ||
| return nil, &jsonrpc2.Error{Code: -32602, Message: fmt.Sprintf("Invalid params: %v", err)} | ||
| } | ||
| handlers := getHandlers(request.SessionID) | ||
| if handlers == nil || handlers.Canvas == nil { | ||
| return nil, &jsonrpc2.Error{Code: -32603, Message: fmt.Sprintf("No canvas handler registered for session: %s", request.SessionID)} | ||
| } | ||
| result, err := handlers.Canvas.Close(&request) | ||
| if err != nil { | ||
| return nil, clientSessionHandlerError(err) | ||
| } | ||
| raw, err := json.Marshal(result) | ||
| if err != nil { | ||
| return nil, &jsonrpc2.Error{Code: -32603, Message: fmt.Sprintf("Failed to marshal response: %v", err)} | ||
| } | ||
| return raw, nil | ||
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated update of
@github/copilotto version1.0.55-1.Changes
@github/copilotinnodejs/package.jsonandtest/harness/package.jsonscripts/codegen)Next steps
When ready, click Ready for review to trigger CI checks.