Skip to content

Update @github/copilot to 1.0.81-4 - #2363

Open
github-actions[bot] wants to merge 12 commits into
mainfrom
update-copilot-1.0.81-4
Open

Update @github/copilot to 1.0.81-4#2363
github-actions[bot] wants to merge 12 commits into
mainfrom
update-copilot-1.0.81-4

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

Changes

  • Updated @github/copilot in nodejs/package.json and test/harness/package.json
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output
  • Updated Java codegen dependency, POM property, and regenerated Java types

Java Handwritten Code Adaptation Plan

If java-sdk-tests CI fails on this PR, follow these steps:

  1. Identify failures: Run mvn clean, mvn verify from java/ locally or check the java-sdk-tests workflow run logs.
  2. Categorize errors:
    • Constructor signature changes (new fields added to generated records)
    • Enum value additions/renames in generated types
    • New event types requiring handler registration
    • Removed or renamed generated types
  3. Fix handwritten source (java/sdk/src/main/java/com/github/copilot/sdk/):
    • Update call sites passing positional constructor args to include new fields (typically null for optional new fields).
    • Update switch/if-else over enum values to handle new cases.
    • Register handlers for new event types in CopilotSession.java if applicable.
  4. Fix handwritten tests (java/sdk/src/test/java/com/github/copilot/sdk/):
    • Same constructor/enum fixes as above.
    • Add new test methods for new functionality if the change adds user-facing API surface.
  5. Validate: cd java && mvn clean test-compile jar:jar && mvn verify -Dskip.test.harness=true
  6. Format: cd java && mvn spotless:apply
  7. Push fixes to this PR branch.

To automate this, trigger the java-adapt-handwritten-code-to-accept-upgrade-changes agentic workflow instead.

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 August 19, 2026 20:44
@stephentoub
stephentoub requested a review from a team as a code owner August 19, 2026 20:44
Copilot AI balanced review requested due to automatic review settings August 19, 2026 20:44
@stephentoub stephentoub self-assigned this Aug 19, 2026
@github-actions

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates @github/copilot to 1.0.81-4 and regenerates SDK wire-protocol types across supported languages.

Changes:

  • Updates dependency manifests and lockfiles.
  • Regenerates permission-mode, catalog, and MCP planning APIs.
  • Adds Java catalog/MCP RPC models and session APIs.
Show a summary per file
File Description
test/harness/package.json Updates Copilot dependency.
test/harness/package-lock.json Refreshes harness lockfile.
rust/src/generated/session_events.rs Regenerates session events.
rust/src/generated/rpc.rs Regenerates RPC methods.
python/copilot/generated/session_events.py Regenerates Python events.
python/copilot/generated/rpc.py Regenerates Python RPC APIs.
nodejs/src/generated/session-events.ts Regenerates TypeScript events.
nodejs/src/generated/rpc.ts Regenerates TypeScript RPC APIs.
nodejs/samples/package-lock.json Updates sample dependency lock.
nodejs/package.json Updates Copilot dependency.
nodejs/package-lock.json Refreshes Node lockfile.
rust/src/generated/api_types.rs Regenerates Rust API types.
go/zsession_events.go Updates exported event aliases.
go/rpc/zsession_events.go Regenerates Go event types.
go/rpc/zrpc.go Regenerates Go RPC types.
go/zrpc.go Updates exported RPC aliases.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET events.
dotnet/src/Generated/Rpc.cs Regenerates .NET RPC APIs.
java/pom.xml Updates reference version.
java/scripts/codegen/package.json Updates codegen dependency.
java/scripts/codegen/package-lock.json Refreshes codegen lockfile.
java/sdk/src/generated/java/com/github/copilot/generated/SessionPermissionsChangedEvent.java Updates permission event data.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionMode.java Adds permission modes.
java/sdk/src/generated/java/com/github/copilot/generated/ManagedSettingsEnforcedEscalation.java Updates escalation values.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionPermissionsSetModeResult.java Adds set-mode result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionPermissionsSetModeParams.java Adds set-mode parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionPermissionsGetModeResult.java Adds get-mode result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionPermissionsGetModeParams.java Adds get-mode parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionPermissionsApi.java Exposes permission-mode RPCs.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionMcpMoveLoadingToBackgroundResult.java Adds background-load result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionMcpMoveLoadingToBackgroundParams.java Adds background-load parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionMcpApi.java Exposes background-load RPC.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ServerRpc.java Registers catalog API.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ServerMcpApi.java Adds install planning.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ServerCatalogApi.java Adds catalog search.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PlanSqlTodosRow.java Adds todo creation time.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PermissionModeSource.java Adds mode telemetry source.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PermissionMode.java Adds RPC permission modes.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PermissionDecisionSource.java Updates decision source.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpServerCardMediaType.java Adds card media types.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanTarget.java Adds plan target.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanScope.java Adds plan scope.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanResourceIdentity.java Adds resource identity.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanProvenance.java Adds plan provenance.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanPolicySource.java Adds policy source.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanPolicyResult.java Adds policy result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanPolicyDecision.java Adds policy decisions.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanInstallResult.java Adds planning result union.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanInstallPlanned.java Adds successful plan result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanInstallParams.java Adds planning parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanConfigurationOperation.java Adds configuration operations.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpPlanConfigurationChange.java Adds configuration changes.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/McpInstallPlan.java Adds install plan model.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogUnsupportedKindError.java Adds unsupported-kind result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogUnsafeRetrievalReason.java Adds retrieval reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogUnsafeRetrievalError.java Adds retrieval refusal.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogUnavailableTransportReason.java Adds transport reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogUnavailableTransportError.java Adds transport refusal.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogUnavailableReason.java Adds unavailable reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogUnavailableError.java Adds unavailable result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogSearchSucceeded.java Adds search success model.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogSearchResult.java Adds search result union.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogSearchParams.java Adds search parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogPolicyRejectedError.java Adds policy rejection.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogNotInstallableReason.java Adds installability reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogNotInstallableError.java Adds non-installable result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogNetworkFailureReason.java Adds network reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogNetworkFailureError.java Adds network failure result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogNegotiationRefusedReason.java Adds negotiation reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogNegotiationRefusedError.java Adds negotiation refusal.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogNegotiatedContract.java Adds negotiated contract.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogMediaType.java Adds catalog media types.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogMalformedCardReason.java Adds malformed-card reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogMalformedCardError.java Adds malformed-card result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogInvalidRequestField.java Adds invalid request fields.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogInvalidRequestError.java Adds invalid-request result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogHandleType.java Adds handle types.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogHandleRejectionReason.java Adds handle rejection reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogHandleRejectedError.java Adds handle rejection result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogContractViolationReason.java Adds contract violation reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogContractViolationError.java Adds contract violation result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogClientContract.java Adds client contract.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogCapability.java Adds catalog capabilities.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogCandidateKind.java Adds candidate kinds.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogAuthenticationRequiredReason.java Adds authentication reasons.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogAuthenticationRequiredError.java Adds authentication result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CardDigestAlgorithm.java Adds digest algorithm.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CardDigest.java Adds card digest model.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Files not reviewed (6)
  • 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: 5/88 changed files
  • Comments generated: 0
  • Review effort level: Balanced

stephentoub and others added 4 commits August 19, 2026 17:02
Migrate permission-mode tests, harden Go and Java code generation, and restore ephemeral query coverage.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use the public session-events permission mode and apply repository formatting.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Remove the temporary 1.0.81-2 model-turn exclusion now that the runtime hang is fixed, and finish the Rust permission-mode imports.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot mentioned this pull request Aug 19, 2026
Re-enable the Java model-driven suites and the .NET CAPI matrix cells that were disabled for the CLI 1.0.81-2 active-time hang. The Node suites were restored separately.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

This comment has been minimized.

CLI 1.0.81-4 still fails the recorded session.ui.ephemeralQuery exchange across SDKs, independently of the fixed in-process active-time hang.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f70ec065-c448-4cc3-9372-e5796968f52f
@github-actions

This comment has been minimized.

Poll for persisted session metadata instead of assuming the runtime flushes it within 200 ms.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f70ec065-c448-4cc3-9372-e5796968f52f
@github-actions

This comment has been minimized.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f70ec065-c448-4cc3-9372-e5796968f52f
@github-actions

This comment has been minimized.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f70ec065-c448-4cc3-9372-e5796968f52f
@github-actions

This comment has been minimized.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f70ec065-c448-4cc3-9372-e5796968f52f
@github-actions

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review ✅

This PR is an automated @github/copilot dependency update (1.0.81-4) that regenerates types across all six SDK implementations:

SDK Files Changed
Node.js/TypeScript src/generated/rpc.ts, src/generated/session-events.ts
Python generated/rpc.py, generated/session_events.py
Go rpc/zrpc.go, zsession_events.go, and others
.NET Generated/Rpc.cs, Generated/SessionEvents.cs
Java Multiple generated files in src/generated/java/
Rust src/generated/api_types.rs, src/generated/rpc.rs, src/generated/session_events.rs

No consistency issues found. The regenerated types (e.g., PermissionMode replacing PermissionAllowAllMode, new catalog/MCP types) are applied uniformly across all language SDKs from the same upstream schema, ensuring feature parity is maintained.

Generated by SDK Consistency Review Agent for #2363 · sonnet46 39.6 AIC · ⌖ 5.43 AIC · ⊞ 6.6K ·

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f70ec065-c448-4cc3-9372-e5796968f52f
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