Skip to content

Update @github/copilot to 1.0.79-5 - #2282

Merged
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.79-5
Aug 7, 2026
Merged

Update @github/copilot to 1.0.79-5#2282
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.79-5

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.79-5.

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/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/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
@dmytrostruk
dmytrostruk marked this pull request as ready for review August 7, 2026 00:01
@dmytrostruk
dmytrostruk requested a review from a team as a code owner August 7, 2026 00:01
Copilot AI balanced review requested due to automatic review settings August 7, 2026 00:01

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 the Copilot runtime dependency to 1.0.79-5 and regenerates SDK protocol types across supported languages.

Changes:

  • Updates npm dependencies and lockfiles.
  • Regenerates RPC and session-event models.
  • Adds managed-settings, extension-launch, permission-context, skill-command, and context-attribution protocol surfaces.
Show a summary per file
File Description
test/harness/package.json Updates harness runtime dependency.
test/harness/package-lock.json Locks updated runtime binaries.
rust/src/generated/session_events.rs Regenerates Rust event types.
rust/src/generated/rpc.rs Regenerates Rust RPC clients.
rust/src/generated/api_types.rs Regenerates Rust protocol models.
python/copilot/generated/session_events.py Regenerates Python event types.
python/copilot/generated/rpc.py Regenerates Python RPC models.
nodejs/src/generated/session-events.ts Regenerates TypeScript event types.
nodejs/src/generated/rpc.ts Regenerates TypeScript RPC surface.
nodejs/samples/package-lock.json Updates sample lockfile dependency.
nodejs/package.json Updates Node runtime dependency.
nodejs/package-lock.json Locks updated Node runtime binaries.
java/src/generated/java/com/github/copilot/generated/SkillsLoadedSkill.java Adds skill command metadata.
java/src/generated/java/com/github/copilot/generated/SessionManagedSettingsResolvedEvent.java Updates managed-settings event data.
java/src/generated/java/com/github/copilot/generated/rpc/Skill.java Adds skill command metadata.
java/src/generated/java/com/github/copilot/generated/rpc/SessionPermissionsHandlePendingPermissionRequestParams.java Adds permission-decision context.
java/src/generated/java/com/github/copilot/generated/rpc/SessionOpenOptions.java Adds managed settings and disabled MCP servers.
java/src/generated/java/com/github/copilot/generated/rpc/SessionMetadataGetContextAttributionResult.java Expands context attribution.
java/src/generated/java/com/github/copilot/generated/rpc/SessionManagedSettings.java Adds injected managed-settings model.
java/src/generated/java/com/github/copilot/generated/rpc/SessionManagedPermissions.java Adds managed-permissions model.
java/src/generated/java/com/github/copilot/generated/rpc/ServerSkill.java Adds server skill command metadata.
java/src/generated/java/com/github/copilot/generated/rpc/ServerRpc.java Adds new server RPC entry points.
java/src/generated/java/com/github/copilot/generated/rpc/ServerManagedSettingsApi.java Adds managed-settings RPC API.
java/src/generated/java/com/github/copilot/generated/rpc/SandboxConfig.java Renames developer-tool access option.
java/src/generated/java/com/github/copilot/generated/rpc/PermissionDecisionSurface.java Adds permission surface enum.
java/src/generated/java/com/github/copilot/generated/rpc/PermissionDecisionSource.java Adds permission source enum.
java/src/generated/java/com/github/copilot/generated/rpc/PermissionDecisionOutcome.java Adds permission outcome enum.
java/src/generated/java/com/github/copilot/generated/rpc/PermissionDecisionContext.java Adds permission context model.
java/src/generated/java/com/github/copilot/generated/rpc/ManagedSettingsReadResult.java Adds managed-settings read result.
java/src/generated/java/com/github/copilot/generated/rpc/ExtensionLaunchProviderResolveResult.java Adds extension resolution result.
java/src/generated/java/com/github/copilot/generated/rpc/ExtensionLaunchProviderResolveRequest.java Adds extension resolution request.
java/src/generated/java/com/github/copilot/generated/rpc/ExtensionLaunchProfile.java Adds extension launch profile.
java/src/generated/java/com/github/copilot/generated/rpc/DisableBypassPermissionsMode.java Adds managed permission mode enum.
java/src/generated/java/com/github/copilot/generated/ManagedSettingsResolvedSource.java Adds client and mixed sources.
java/scripts/codegen/package.json Updates Java codegen dependency.
java/scripts/codegen/package-lock.json Locks updated Java codegen runtime.
java/pom.xml Updates Java reference runtime version.
go/zsession_events.go Re-exports new event constants.
go/rpc/zsession_events.go Regenerates Go event models.
go/rpc/zrpc.go Regenerates Go RPC models and handlers.
go/rpc/zrpc_encoding.go Updates Go custom decoding.
dotnet/src/Generated/SessionEvents.cs Regenerates .NET event models.
dotnet/src/Generated/Rpc.cs Regenerates .NET RPC surface.

Review details

Files not reviewed (8)
  • go/rpc/zrpc.go: Generated file
  • go/rpc/zrpc_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/43 changed files
  • Comments generated: 0
  • Review effort level: Balanced

Supply the new optional permission decision context in Java and Rust while preserving legacy behavior. Update Java generated-record coverage for the new skill command name field.

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

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

✅ Cross-SDK Consistency Review

This PR is an automated codegen update across all six SDK implementations. The changes maintain full cross-language parity:

New additions — all SDKs updated consistently

Feature Node.js Python Go .NET Java Rust
commandName field on ServerSkill/Skill
managedSettings.* RPC namespace
registerExtensionLaunchProvider RPC method
session.managed_settings_resolved event

Java handwritten code adaptation

CopilotSession.java correctly updated to pass null for the new 4th parameter in SessionPermissionsHandlePendingPermissionRequestParams — consistent with the generated record's new optional field.

API naming consistency

Language-idiomatic naming is followed throughout:

  • commandName (TypeScript/Java) → command_name (Python/Rust) → CommandName (Go/.NET)

No consistency issues found. All SDKs are in sync.

Generated by SDK Consistency Review Agent for #2282 · sonnet46 60.9 AIC · ⌖ 5.42 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.

Review details

Files not reviewed (8)
  • go/rpc/zrpc.go: Generated file
  • go/rpc/zrpc_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: 7/48 changed files
  • Comments generated: 2
  • Review effort level: Balanced

Comment thread go/rpc/zrpc.go
Comment thread dotnet/src/Generated/Rpc.cs
@stephentoub
stephentoub added this pull request to the merge queue Aug 7, 2026
Merged via the queue into main with commit dece5d3 Aug 7, 2026
68 checks passed
@stephentoub
stephentoub deleted the update-copilot-1.0.79-5 branch August 7, 2026 01:39
edburns pushed a commit that referenced this pull request Aug 7, 2026
* Update @github/copilot to 1.0.79-5

- Updated nodejs and test harness dependencies
- Re-ran code generators
- Formatted generated code

* Fix generated schema call sites

Supply the new optional permission decision context in Java and Rust while preserving legacy behavior. Update Java generated-record coverage for the new skill command name field.

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: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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