Skip to content

Update Copilot CLI to 1.0.84-5 - #2634

Merged
stephentoub merged 8 commits into
mainfrom
update-copilot-1.0.84-5
Sep 12, 2026
Merged

Update Copilot CLI to 1.0.84-5#2634
stephentoub merged 8 commits into
mainfrom
update-copilot-1.0.84-5

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of the Copilot CLI release to version 1.0.84-5.

Changes

  • Updated the shared release pin in nodejs/package.json
  • Validated the release assets listed in SHA256SUMS.txt
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output
  • Regenerated Java types from the pinned CLI release schemas

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 Copilot CLI Version workflow.

- Updated the shared CLI release pin
- Re-ran code generators
- Formatted generated code
@stephentoub
stephentoub marked this pull request as ready for review September 12, 2026 01:10
@stephentoub
stephentoub requested a review from a team as a code owner September 12, 2026 01:10
Copilot AI balanced review requested due to automatic review settings September 12, 2026 01:10
@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.

🟡 Changes recommended

Generated Go code does not compile, Java tests use stale constructor arities, and public Python and Rust APIs introduce compatibility breaks.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates the bundled Copilot CLI to 1.0.84-5 and regenerates cross-language protocol models.

Changes:

  • Updates the CLI version pin.
  • Adds permission authorization events and metadata.
  • Expands catalog trust, fleet, mode, and persisted-event APIs.
File summaries
File Description
rust/src/generated/session_events.rs Regenerates Rust event models.
rust/src/generated/rpc.rs Updates Rust RPC documentation.
python/copilot/generated/session_events.py Regenerates Python event models.
nodejs/src/generated/session-events.ts Regenerates TypeScript event types.
nodejs/src/generated/rpc.ts Expands TypeScript RPC types.
nodejs/src/cliVersion.ts Updates the runtime version.
nodejs/package.json Updates the shared CLI pin.
java/sdk/src/generated/java/com/github/copilot/generated/ToolExecutionStartEvent.java Adds MCP transport metadata.
java/sdk/src/generated/java/com/github/copilot/generated/SessionEvent.java Registers new permission events.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionsReadPersistedEventsResult.java Documents pagination semantics.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionsReadPersistedEventsParams.java Documents cursor constraints.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionOpenOptions.java Adds instruction-cache refresh.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionModeSetResult.java Reports whether mode applied.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionModeSetParams.java Adds expected-mode precondition.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionModelApplyStartupOverlayParams.java Adds repository auto tier.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFleetStartParams.java Adds fleet send options.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionFleetApi.java Updates fleet API documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionEventLogReadResult.java Clarifies event-log pagination.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/PermissionDecisionSource.java Adds carry-forward source.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/EventsCursorStatus.java Clarifies cursor expiry.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CopilotUserResponse.java Documents organization IDs.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustTier.java Adds trust-tier enum.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustSource.java Adds trust-source enum.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustSnapshotUnsupported.java Adds unsupported snapshot variant.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustSnapshotStale.java Adds stale snapshot variant.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustSnapshotSchemaVersion.java Adds snapshot schema version.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustSnapshotRevoked.java Adds revoked snapshot variant.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustSnapshotMalformed.java Adds malformed snapshot variant.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustSnapshotDowngraded.java Adds downgraded snapshot variant.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustSnapshotCurrent.java Adds current snapshot variant.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustSnapshotAbsent.java Adds absent snapshot variant.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustSnapshot.java Defines trust snapshot hierarchy.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustProvenance.java Adds trust provenance.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogTrustEligibility.java Adds trust eligibility.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogNegotiationRefusedError.java Makes capabilities extensible.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogMcpServerCandidate.java Adds candidate trust metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogCapability.java Adds trust capability.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CatalogAiSkillCandidate.java Adds candidate trust metadata.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionMessageAuthorizationReadEvent.java Adds authorization-read event.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionMessageAuthorizationPolarity.java Adds authorization polarity.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionMessageAuthorizationEvent.java Adds authorization event.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionMessageAuthorizationDegradedEvent.java Adds degraded event.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionDecisionSource.java Adds event decision sources.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionCompletedEvent.java Adds decision-source metadata.
java/sdk/src/generated/java/com/github/copilot/generated/PermissionCarriedForwardEvent.java Adds carry-forward event.
go/zsession_events.go Re-exports new Go event types.
go/rpc/zsession_events.go Regenerates Go event models.
go/rpc/zsession_encoding.go Decodes new permission events.
go/rpc/zrpc.go Expands Go RPC models.
go/rpc/zrpc_encoding.go Adds generated union encoding.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET event models.
Review details

Files not reviewed (4)

  • 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
  • Files reviewed: 3/54 changed files
  • Comments generated: 1
  • Review effort level: Balanced

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

Comment thread go/rpc/zrpc_encoding.go Outdated
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

stephentoub and others added 3 commits September 11, 2026 22:38
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review

Reviewed the full authoritative diff for PR #2634 (all changed files via get_files/get_diff).

Summary: This PR is a routine CLI/schema version bump (1.0.84-41.0.84-5) plus regenerated code across all six SDKs, and it maintains cross-SDK consistency.

Checked items:

  • New session events PermissionCarriedForwardEvent, PermissionMessageAuthorizationEvent, PermissionMessageAuthorizationDegradedEvent, PermissionMessageAuthorizationReadEvent are present in all six generated SDKs (.NET, Go, Java, Node.js, Python, Rust) with parallel naming per language convention.
  • PermissionDecisionSource gained a new authorization_carry_forward variant and was relocated from rpc to session_events/session-events module consistently in Node.js and Python (with re-exports preserved for backward compatibility), and updated in .NET/Go/Java/Rust generated files as well.
  • FleetStartRequest/SessionFleetStartParams gained attachments, billable, and wait fields uniformly across .NET, Go, Java, Node.js, Python, and Rust.
  • Handwritten changes are limited to scripts/codegen/go.ts and scripts/codegen/python.ts (codegen infrastructure that affects generation for all languages) and doc-comment/description text improvements in generated files — no single-language-only functional additions were found.
  • test/snapshots/*.yaml updates reflect updated CLI response text tied to the version bump, not SDK behavior changes.
  • Minor test-only tweaks in rust/tests/api_types_test.rs and rust/tests/e2e/abort.rs are internal test robustness fixes, not API surface changes.

Conclusion: No cross-SDK inconsistencies detected. All new API surface is reflected in every language SDK. No review comments needed.

Generated by SDK Consistency Review Agent for #2634 · copilot · sonnet50 · 34.7 AIC · ⌖ 12.1 AIC · ⊞ 8.3K ·

@stephentoub
stephentoub merged commit a6f2e56 into main Sep 12, 2026
274 of 278 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.84-5 branch September 12, 2026 03:55
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