Update @github/copilot to 1.0.70-0#1954
Merged
Merged
Conversation
- Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the monorepo’s pinned @github/copilot reference implementation to 1.0.70-0 and regenerates all language SDK wire types/RPC surfaces to match the updated schema, including new experimental events and RPCs.
Changes:
- Bumped
@github/copilotto^1.0.70-0across Node SDK + harness + samples, and Java codegen inputs. - Regenerated cross-SDK schema outputs (events, RPC types/methods), adding support for
session.auto_mode_resolved,clientRequestId,commands.list, andsession.sendMessages. - Updated MCP server start/restart request shapes across SDKs (restart
configbecomes optional; start/restart become publicly available in several SDKs).
Show a summary per file
| File | Description |
|---|---|
| test/harness/package.json | Bumps harness devDependency on @github/copilot to 1.0.70-0. |
| test/harness/package-lock.json | Locks harness transitive resolution to @github/copilot@1.0.70-0 and platform packages. |
| nodejs/package.json | Bumps Node SDK dependency on @github/copilot to 1.0.70-0. |
| nodejs/package-lock.json | Locks Node SDK transitive resolution to @github/copilot@1.0.70-0 and platform packages. |
| nodejs/samples/package-lock.json | Updates samples lockfile to @github/copilot@^1.0.70-0. |
| nodejs/src/generated/session-events.ts | Adds session.auto_mode_resolved event/types + clientRequestId on assistant messages + reasoning bucket type. |
| nodejs/src/generated/rpc.ts | Adds commands.list, session.sendMessages, and updates MCP start/restart request types + session MCP APIs. |
| python/copilot/generated/session_events.py | Adds SESSION_AUTO_MODE_RESOLVED event + data type + assistant client_request_id + reasoning bucket enum. |
| python/copilot/generated/rpc.py | Adds commands.list API, session.send_messages, and MCP start/restart/public API adjustments + sendMessages types. |
| rust/src/generated/session_events.rs | Adds SessionAutoModeResolved event/data + assistant client_request_id + reasoning bucket enum. |
| rust/src/generated/api_types.rs | Adds RPC constants/types for commands.list + session.sendMessages and makes MCP start/restart request types public/optional config. |
| rust/src/generated/rpc.rs | Adds ClientRpc.commands().list(), SessionRpc.send_messages(), and makes MCP start/restart methods public with updated docs. |
| go/zsession_events.go | Re-exports newly generated session event/data types and reasoning bucket symbols. |
| go/rpc/zsession_events.go | Adds session.auto_mode_resolved event type + assistant clientRequestId + new data/bucket types. |
| go/rpc/zsession_encoding.go | Adds JSON decoding support for session.auto_mode_resolved event payload. |
| go/rpc/zrpc.go | Adds commands.list API, session.sendMessages request/result/item types, and updates MCP start/restart request shapes + APIs. |
| go/rpc/zrpc_encoding.go | Adds custom unmarshalling for MCP start/restart config shapes and SendMessageItem attachments. |
| dotnet/src/Generated/SessionEvents.cs | Adds SessionAutoModeResolvedEvent/Data, assistant ClientRequestId, and reasoning bucket enum struct. |
| dotnet/src/Generated/Rpc.cs | Adds Commands server API, SendMessagesAsync, and promotes MCP start/restart to public session MCP APIs with optional restart config. |
| java/pom.xml | Updates Java-side property tracking the reference implementation version to ^1.0.70-0. |
| java/scripts/codegen/package.json | Bumps Java codegen dependency on @github/copilot to 1.0.70-0. |
| java/scripts/codegen/package-lock.json | Locks Java codegen transitive resolution to @github/copilot@1.0.70-0 and platform packages. |
| java/src/generated/java/com/github/copilot/generated/SessionEvent.java | Registers the new session.auto_mode_resolved subtype in the sealed event hierarchy. |
| java/src/generated/java/com/github/copilot/generated/SessionAutoModeResolvedEvent.java | Adds the new generated event class/record for session.auto_mode_resolved. |
| java/src/generated/java/com/github/copilot/generated/AutoModeResolvedReasoningBucket.java | Adds new generated enum for reasoning bucket values. |
| java/src/generated/java/com/github/copilot/generated/AssistantMessageEvent.java | Adds clientRequestId to assistant message event data. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionSendMessagesParams.java | Adds generated params record for session.sendMessages. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionSendMessagesResult.java | Adds generated result record for session.sendMessages. |
| java/src/generated/java/com/github/copilot/generated/rpc/SendMessageItem.java | Adds generated message item record used by session.sendMessages. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionRpc.java | Adds sendMessages(...) RPC method wrapper. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionMcpStartServerParams.java | Updates docs for MCP start server params to “configuration” wording. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionMcpRestartServerParams.java | Updates docs for MCP restart params to reflect optional replacement config. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionMcpApi.java | Updates MCP start/restart method docs to match new semantics. |
| java/src/generated/java/com/github/copilot/generated/rpc/ServerRpc.java | Adds commands namespace API group exposure. |
| java/src/generated/java/com/github/copilot/generated/rpc/ServerCommandsApi.java | Adds generated server-scoped commands.list API wrapper. |
| java/src/generated/java/com/github/copilot/generated/rpc/CommandsListResult.java | Adds generated result type for commands.list. |
Review details
Files not reviewed (9)
- go/rpc/zrpc.go: Generated file
- go/rpc/zrpc_encoding.go: Generated file
- go/rpc/zsession_encoding.go: Generated file
- go/rpc/zsession_events.go: Generated file
- go/zsession_events.go: Generated file
- java/scripts/codegen/package-lock.json: Generated file
- nodejs/package-lock.json: Generated file
- nodejs/samples/package-lock.json: Generated file
- test/harness/package-lock.json: Generated file
- Files reviewed: 4/36 changed files
- Comments generated: 0
- Review effort level: Low
This comment has been minimized.
This comment has been minimized.
The 1.0.70-0 update added a 'citations' component to the generated AssistantMessageEvent.AssistantMessageEventData record, so the positional constructor call in SessionEventHandlingTest needed an extra argument. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 75461183-93f3-4513-a504-4f755211178a
Contributor
Author
Cross-SDK Consistency Review ✅This PR updates New features introduced
Notes
No consistency issues found. All new protocol features are represented uniformly across all six language SDKs with idiomatic naming conventions.
|
smarthomespropertieske-pixel
left a comment
There was a problem hiding this comment.
update-copilot-1.0.70-0
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.70-0.Changes
@github/copilotinnodejs/package.jsonandtest/harness/package.jsonscripts/codegen)Java Handwritten Code Adaptation Plan
If
java-sdk-testsCI fails on this PR, follow these steps:mvn clean,mvn verifyfromjava/locally or check thejava-sdk-testsworkflow run logs.java/src/main/java/com/github/copilot/sdk/):nullfor optional new fields).CopilotSession.javaif applicable.java/src/test/java/com/github/copilot/sdk/):cd java && mvn clean test-compile jar:jar && mvn verify -Dskip.test.harness=truecd java && mvn spotless:applyNext steps
When ready, click Ready for review to trigger CI checks.