Skip to content

Update @github/copilot to 1.0.82 - #2442

Merged
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.82
Aug 30, 2026
Merged

Update @github/copilot to 1.0.82#2442
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.82

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.82.

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 30, 2026 02:58
Copilot AI balanced review requested due to automatic review settings August 30, 2026 02:58
@stephentoub
stephentoub requested a review from a team as a code owner August 30, 2026 02:58
Comment thread python/copilot/generated/rpc.py Fixed
@github-actions

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review ✅

This PR updates @github/copilot to v1.0.82 and re-runs all code generators. All changes are in auto-generated files — no handwritten SDK code is modified.

New features introduced and their cross-SDK status:

Feature Node.js Python Go .NET Java Rust
AutoTier enum
SandboxEnforcementStatus type
session.sandbox.getEnforcementStatus RPC
AssistantMessageToolRequestCaller type
displayText on EnqueueCommandParams

All new APIs follow consistent language-idiomatic naming (e.g., getEnforcementStatus in Node.js/Java, get_enforcement_status in Python/Rust, GetEnforcementStatus in Go/.NET) and are marked @experimental where appropriate across all SDKs.

No consistency issues found.

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

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

Auto-tier is missing from the high-level SDK APIs, and the new Rust queue field leaves existing integration-test literals uncompilable.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the Copilot CLI dependency from prerelease 1.0.82-0 to stable 1.0.82 and regenerates protocol bindings across all SDKs.

Changes:

  • Updates dependency manifests and lockfiles.
  • Adds generated auto-tier, tool-caller, queue display-text, and sandbox-enforcement APIs.
  • Refreshes Java, Node.js, Python, Go, Rust, and .NET bindings.
File summaries
File Description
test/harness/package.json Updates the harness dependency.
test/harness/package-lock.json Locks stable CLI platform packages.
rust/src/generated/session_events.rs Adds new event fields and types.
rust/src/generated/rpc.rs Adds the sandbox RPC namespace.
rust/src/generated/api_types.rs Adds new RPC options and results.
python/copilot/generated/session_events.py Regenerates Python event models.
python/copilot/generated/rpc.py Adds Python RPC types and sandbox API.
nodejs/src/generated/session-events.ts Regenerates TypeScript event types.
nodejs/src/generated/rpc.ts Adds TypeScript RPC fields and sandbox API.
nodejs/samples/package-lock.json Refreshes the linked SDK dependency metadata.
nodejs/package.json Updates the runtime dependency.
nodejs/package-lock.json Locks stable runtime binaries.
java/sdk/src/generated/java/com/github/copilot/generated/SessionStartEvent.java Adds start-event auto tier.
java/sdk/src/generated/java/com/github/copilot/generated/SessionResumeEvent.java Adds resume-event auto tier.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionSandboxGetEnforcementStatusResult.java Adds sandbox status result.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionSandboxGetEnforcementStatusParams.java Adds sandbox status parameters.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionSandboxApi.java Adds the Java sandbox API.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionRpc.java Exposes the sandbox namespace.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionCommandsEnqueueParams.java Adds queue display text.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/CapiSessionOptions.java Adds the generated auto-tier option.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AutoTier.java Adds the RPC auto-tier enum.
java/sdk/src/generated/java/com/github/copilot/generated/AutoTier.java Adds the event auto-tier enum.
java/sdk/src/generated/java/com/github/copilot/generated/AssistantMessageToolRequestCallerType.java Adds the caller-type enum.
java/sdk/src/generated/java/com/github/copilot/generated/AssistantMessageToolRequestCaller.java Adds caller metadata.
java/sdk/src/generated/java/com/github/copilot/generated/AssistantMessageToolRequest.java Attaches caller metadata to requests.
java/scripts/codegen/package.json Updates the Java codegen dependency.
java/scripts/codegen/package-lock.json Locks stable codegen packages.
java/pom.xml Updates the reference implementation version.
go/zsession_events.go Re-exports new Go event types.
go/rpc/zsession_events.go Regenerates Go event models.
go/rpc/zrpc.go Adds Go RPC options and sandbox API.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET event models.
dotnet/src/Generated/Rpc.cs Adds .NET RPC options and sandbox API.
Review details

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/33 changed files
  • Comments generated: 2
  • 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.go
Comment thread dotnet/src/Generated/Rpc.cs
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot mentioned this pull request Aug 30, 2026
@stephentoub
stephentoub added this pull request to the merge queue Aug 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 30, 2026
@stephentoub
stephentoub added this pull request to the merge queue Aug 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 30, 2026
@stephentoub
stephentoub added this pull request to the merge queue Aug 30, 2026
Merged via the queue into main with commit 53efb35 Aug 30, 2026
131 of 133 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.82 branch August 30, 2026 04:20
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.

3 participants