Skip to content

Update @github/copilot to 1.0.81-7 - #2375

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
update-copilot-1.0.81-7
Open

Update @github/copilot to 1.0.81-7#2375
github-actions[bot] wants to merge 1 commit into
mainfrom
update-copilot-1.0.81-7

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

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

Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review ✅

This PR is an automated @github/copilot dependency update (→ 1.0.81-7) that re-runs all code generators across all six SDK implementations. All changed files are auto-generated.

Changes are consistent across SDKs

The key additions — ConnectClientInfo (client identity for telemetry), ModelMessage (info/warning notices on models), and new fields on ConnectRequest/Model — are present in all generated files:

SDK Files updated New types present
Node.js/TS nodejs/src/generated/rpc.ts
Python python/copilot/generated/rpc.py
Go go/rpc/zrpc.go
.NET dotnet/src/Generated/Rpc.cs
Java java/sdk/src/generated/java/...
Rust rust/src/generated/api_types.rs

No cross-SDK consistency issues found. The removal of DisableBypassPermissionsMode as a standalone Java enum (it becomes a plain String in other SDKs) is consistent with existing patterns.

Generated by SDK Consistency Review Agent for #2375 · sonnet46 28.6 AIC · ⌖ 5.4 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.

Pull request overview

Updates the Copilot CLI dependency to 1.0.81-7 and regenerates SDK protocol types.

Changes:

  • Updates npm dependencies and lockfiles.
  • Regenerates cross-language RPC types for model notices, queue metadata, client identity, and managed permissions.
  • Updates Java codegen dependencies and generated records.
Show a summary per file
File Description
test/harness/package.json Bumps the harness dependency.
test/harness/package-lock.json Locks updated platform packages.
rust/src/generated/api_types.rs Regenerates Rust RPC types.
python/copilot/generated/rpc.py Regenerates Python RPC types.
nodejs/src/generated/rpc.ts Regenerates TypeScript RPC types.
nodejs/samples/package-lock.json Updates the samples dependency lock.
nodejs/package.json Bumps the Node.js runtime dependency.
nodejs/package-lock.json Locks updated runtime packages.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionQueuePendingItemsResult.java Adds steering-state metadata.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionManagedPermissions.java Widens the managed permission mode.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SandboxConfig.java Refreshes generated documentation.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ModelMessage.java Adds model notice records.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/Model.java Adds model notices.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/DisableBypassPermissionsMode.java Removes the obsolete generated enum.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ConnectParams.java Adds client identity information.
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ConnectClientInfo.java Defines client identity metadata.
java/scripts/codegen/package.json Bumps the Java codegen dependency.
java/scripts/codegen/package-lock.json Locks updated codegen packages.
java/pom.xml Updates the reference implementation version.
go/rpc/zrpc.go Regenerates Go RPC types.
dotnet/src/Generated/Rpc.cs Regenerates .NET RPC types and methods.

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 (4)
  • 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/21 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread go/rpc/zrpc.go
Comment on lines +11525 to +11529
// blocks full allow-all but permits advisory auto-approval. Any other value is accepted
// rather than failing the session, but is enforced as `disable`: the key is only present to
// restrict something, so a mode this runtime cannot interpret fails closed to the most
// restrictive one it knows. Omit the key entirely to impose no restriction.
DisableBypassPermissionsMode *string `json:"disableBypassPermissionsMode,omitempty"`
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.

1 participant