Update @github/copilot to 1.0.66#1859
Merged
Merged
Conversation
- Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code
stephentoub
approved these changes
Jun 30, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the monorepo’s pinned @github/copilot dependency to 1.0.66 and regenerates the SDKs’ schema-derived types/RPC surfaces so all language SDKs stay in sync with the updated wire protocol.
Changes:
- Bumped
@github/copilotfrom^1.0.66-2→^1.0.66in Node packages (SDK + harness + Java codegen) and updated lockfiles. - Regenerated session event + RPC bindings across Rust, Python, Node/TS, Go, .NET, and Java to reflect new/renamed schema surfaces (e.g., session limits, completions APIs, new events).
- Updated Java POM property used to mirror the reference implementation version.
Show a summary per file
| File | Description |
|---|---|
| test/harness/package.json | Updates harness devDependency to @github/copilot@^1.0.66. |
| test/harness/package-lock.json | Locks harness dependency graph to @github/copilot@1.0.66 and platform packages. |
| nodejs/package.json | Updates Node SDK dependency to @github/copilot@^1.0.66. |
| nodejs/package-lock.json | Locks Node SDK dependency graph to @github/copilot@1.0.66 and platform packages. |
| nodejs/samples/package-lock.json | Updates sample lockfile to the new @github/copilot version. |
| nodejs/src/generated/session-events.ts | Regenerates Node session-event types (session limits rename/new events/fields). |
| nodejs/src/generated/rpc.ts | Regenerates Node RPC types + adds session.completions.* and new UI handler wiring. |
| python/copilot/generated/session_events.py | Regenerates Python session-event models (session limits rename/new events/fields). |
| rust/src/generated/session_events.rs | Regenerates Rust session-event models (session limits rename/new events/fields). |
| rust/src/generated/api_types.rs | Updates Rust API types to reference new generated session-event types and new RPC method constants. |
| rust/src/generated/rpc.rs | Adds Rust session-scoped completions RPC namespace + new UI handler method. |
| go/zsession_events.go | Updates Go top-level type/const re-exports for regenerated rpc session-event types. |
| go/rpc/zsession_events.go | Regenerates Go rpc session-event constants/types (limits + new events/fields). |
| go/rpc/zsession_encoding.go | Updates Go session-event JSON decoding to handle new event variants and removals. |
| go/rpc/zrpc.go | Regenerates Go RPC surface (adds completions APIs, session limits, adaptive thinking). |
| go/rpc/zrpc_encoding.go | Updates Go RPC JSON decoding for updated option fields and new properties. |
| dotnet/src/Generated/SessionEvents.cs | Regenerates .NET session-event types (limits rename/new events/fields). |
| dotnet/src/Generated/Rpc.cs | Regenerates .NET RPC surface (completions APIs, session limits, adaptive thinking, UI handler). |
| java/pom.xml | Updates Java reference-impl version property to ^1.0.66. |
| java/scripts/codegen/package.json | Updates Java codegen dependency to @github/copilot@^1.0.66. |
| java/scripts/codegen/package-lock.json | Locks Java codegen dependency graph to @github/copilot@1.0.66 and platform packages. |
| java/src/generated/java/com/github/copilot/generated/AssistantMessageEvent.java | Adds reasoningWireField to generated Java session event payload. |
| java/src/generated/java/com/github/copilot/generated/SessionEvent.java | Registers new/renamed generated Java session event subtypes. |
| java/src/generated/java/com/github/copilot/generated/SessionLimitsConfig.java | Renames/updates generated Java limits config from response→session limits. |
| java/src/generated/java/com/github/copilot/generated/SessionLimitsExhaustedCompletedEvent.java | Adds generated Java event for session-limits exhaustion completion. |
| java/src/generated/java/com/github/copilot/generated/SessionLimitsExhaustedRequestedEvent.java | Adds generated Java event for session-limits exhaustion prompt. |
| java/src/generated/java/com/github/copilot/generated/SessionLimitsExhaustedResponse.java | Adds generated Java response payload for limits-exhausted UI flow. |
| java/src/generated/java/com/github/copilot/generated/SessionLimitsExhaustedResponseAction.java | Adds generated Java enum for limits-exhausted action values. |
| java/src/generated/java/com/github/copilot/generated/SessionResumeEvent.java | Switches generated Java resume payload from responseLimits→sessionLimits. |
| java/src/generated/java/com/github/copilot/generated/SessionSessionLimitsChangedEvent.java | Renames generated Java event type to session.session_limits_changed. |
| java/src/generated/java/com/github/copilot/generated/SessionStartEvent.java | Switches generated Java start payload from responseLimits→sessionLimits. |
| java/src/generated/java/com/github/copilot/generated/SessionUsageCheckpointEvent.java | Adds generated Java durable usage checkpoint event type. |
| java/src/generated/java/com/github/copilot/generated/rpc/AdaptiveThinkingSupport.java | Adds generated Java RPC enum for adaptive-thinking support. |
| java/src/generated/java/com/github/copilot/generated/rpc/ModelCapabilitiesOverrideSupports.java | Adds adaptive_thinking field in generated Java RPC model capability overrides. |
| java/src/generated/java/com/github/copilot/generated/rpc/ModelCapabilitiesSupports.java | Adds adaptive_thinking field in generated Java RPC model capabilities. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionCompletionItem.java | Adds generated Java RPC type for host-driven completion items. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionCompletionsApi.java | Adds generated Java session.completions.* RPC API wrapper. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionCompletionsGetTriggerCharactersParams.java | Adds generated Java RPC params type for completions trigger-character query. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionCompletionsGetTriggerCharactersResult.java | Adds generated Java RPC result type for completions trigger-character query. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionCompletionsRequestParams.java | Adds generated Java RPC params type for requesting completions. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionCompletionsRequestResult.java | Adds generated Java RPC result type for requesting completions. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionEventLogRegisterInterestParams.java | Updates generated Java docs to include new gating event type. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionLimitsConfig.java | Renames/updates generated Java RPC limits config from response→session limits. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionMetadataSnapshotResult.java | Switches generated Java RPC snapshot from responseLimits→sessionLimits. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionOptionsUpdateParams.java | Adds excludedBuiltinAgents + switches from response→session limits in options update. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionRpc.java | Adds generated Java completions namespace to session-scoped RPC root. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionUiApi.java | Adds generated Java UI RPC method for handling session-limits exhaustion prompts. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionUiHandlePendingSessionLimitsExhaustedParams.java | Adds generated Java params type for the new UI handler RPC. |
| java/src/generated/java/com/github/copilot/generated/rpc/SessionUiHandlePendingSessionLimitsExhaustedResult.java | Adds generated Java result type for the new UI handler RPC. |
| java/src/generated/java/com/github/copilot/generated/rpc/UISessionLimitsExhaustedResponse.java | Adds generated Java UI response payload for limits-exhausted flow. |
| java/src/generated/java/com/github/copilot/generated/rpc/UISessionLimitsExhaustedResponseAction.java | Adds generated Java UI enum for limits-exhausted actions. |
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/52 changed files
- Comments generated: 0
- Review effort level: Low
This comment has been minimized.
This comment has been minimized.
Update handwritten Java constructor calls for generated 1.0.66 RPC type shape changes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Adapt test constructor calls to generated 1.0.66 schema additions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
Author
Cross-SDK Consistency Review ✅This PR updates Changes verified across all SDKs
Java handwritten code adaptationsThe Java handwritten code in
No consistency issues found. All SDK implementations are aligned with the updated schema.
|
MackinnonBuck
added a commit
that referenced
this pull request
Jun 30, 2026
Brings in the @github/copilot 1.0.66 bump (#1859), which re-ran the code generators and added new RPC/session types (SessionLimits*, SessionCompletions, AdaptiveThinkingSupport, etc.). Conflicts were limited to generated files (dotnet Rpc.cs, python rpc.py). Resolved by installing 1.0.66 and re-running `scripts/codegen` with the telemetry schema overlay, so every generated file is a consistent product of the 1.0.66 schema plus the experimental GitHub telemetry additions rather than a hand-merged blend. Verified 1.0.66 still does not ship the telemetry types, so the overlay remains required. Codegen is idempotent (re-running produces no diff) and the hand-written telemetry glue (including the Node conditional-spread opt-in) is unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
edburns
pushed a commit
that referenced
this pull request
Jul 1, 2026
* Update @github/copilot to 1.0.66 (#1859) * Update @github/copilot to 1.0.66 - Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code * Adapt Java handwritten code to generated schema Update handwritten Java constructor calls for generated 1.0.66 RPC type shape changes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Update Java tests for generated type arity Adapt test constructor calls to generated 1.0.66 schema additions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Initial plan --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
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.66.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.