Update @github/copilot to 1.0.81-10 - #2401
Conversation
- Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e2ffce58-35b6-4bb8-a5f3-0bb4e5b5ada4
Update handwritten constructor calls for the new sandbox, skill, and reasoning fields. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use the regenerated MCP OAuth discriminator, settable auth inputs, and public Rust option construction pattern. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e98a14a6-7ad4-4cb6-b808-e56547701c19
This comment has been minimized.
This comment has been minimized.
Use an open string property with well-known constants and cover unknown future modes on the wire. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e98a14a6-7ad4-4cb6-b808-e56547701c19
This comment has been minimized.
This comment has been minimized.
Expose well-known mode constants while accepting and forwarding future fail-closed runtime values. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e98a14a6-7ad4-6587-b885-95ed912cb84b
This comment has been minimized.
This comment has been minimized.
Broaden the Node API to forward future fail-closed values and add Rust support for the allow-auto-only policy. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e98a14a6-7ad4-4cb6-b808-e56547701c19
This comment has been minimized.
This comment has been minimized.
Replace the closed enum with an open string field and retain well-known policies as public constants. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e98a14a6-7ad4-4cb6-b808-e56547701c19
Match the repository's reorder_impl_items formatting configuration used by Linux CI. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e98a14a6-7ad4-4cb6-b808-e56547701c19
Cross-SDK Consistency Review ✅This PR maintains excellent cross-language consistency across all six SDK implementations (Node.js, Python, Go, .NET, Java, Rust). Changes reviewed1. All six SDKs uniformly:
2. Added to all SDKs as an internal/experimental type, passed via 3. Added to all SDKs; No consistency gaps found. 🎉
|
Handoff summaryThis update required more than regenerating types for Manual changes
CI investigationWe fixed deterministic schema and compile failures across Python, Rust, Java, Go, and .NET. Several other failures were transient infrastructure or timeout issues, including a Python macOS in-process E2E timeout. The final Rust failure was caused by CI's pinned nightly rustfmt configuration reordering associated constants; the committed ordering now matches that exact check. Current state
|
There was a problem hiding this comment.
Pull request overview
Updates @github/copilot to 1.0.81-10 and synchronizes generated protocol surfaces across all SDKs.
Changes:
- Updates dependency manifests and lockfiles.
- Regenerates RPC and session-event models with new authentication, telemetry, model, plugin, skill, and sandbox fields.
- Adapts managed bypass-permission APIs and affected tests.
Show a summary per file
| File | Description |
|---|---|
test/harness/package.json |
Updates harness dependency. |
test/harness/package-lock.json |
Locks updated runtime packages. |
rust/tests/session_test.rs |
Tests open bypass-policy strings. |
rust/tests/e2e/rpc_session_state.rs |
Adapts generated RPC types. |
rust/src/types.rs |
Opens managed policy values. |
rust/src/lib.rs |
Initializes new connect field. |
rust/src/generated/session_events.rs |
Regenerates event models. |
rust/src/generated/rpc.rs |
Updates generated RPC documentation. |
rust/src/generated/api_types.rs |
Regenerates RPC data types. |
python/test_client.py |
Tests managed-policy serialization. |
python/e2e/test_mcp_oauth_e2e.py |
Adapts OAuth discriminator. |
python/copilot/session.py |
Uses regenerated OAuth kind. |
python/copilot/generated/session_events.py |
Regenerates event models. |
python/copilot/generated/rpc.py |
Regenerates RPC models. |
python/copilot/client.py |
Opens managed policy values. |
python/copilot/__init__.py |
Exports policy constants. |
nodejs/test/client.test.ts |
Tests known and future policies. |
nodejs/src/types.ts |
Opens managed policy values. |
nodejs/src/index.ts |
Exports policy constants. |
nodejs/src/generated/session-events.ts |
Regenerates event types. |
nodejs/src/generated/rpc.ts |
Regenerates RPC types and handlers. |
nodejs/samples/package-lock.json |
Updates sample dependency lock. |
nodejs/package.json |
Updates runtime dependency. |
nodejs/package-lock.json |
Locks updated runtime binaries. |
java/sdk/src/test/java/com/github/copilot/SessionEventHandlingTest.java |
Adapts generated constructor. |
java/sdk/src/test/java/com/github/copilot/ManagedSettingsTest.java |
Tests open policy strings. |
java/sdk/src/test/java/com/github/copilot/generated/rpc/GeneratedRpcRecordsCoverageTest.java |
Adapts model constructor. |
java/sdk/src/main/java/com/github/copilot/rpc/ManagedSettingsPermissions.java |
Stores policy as a string. |
java/sdk/src/main/java/com/github/copilot/rpc/DisableBypassPermissionsModes.java |
Adds known policy constants. |
java/sdk/src/main/java/com/github/copilot/CopilotClient.java |
Adapts session-update constructor. |
java/sdk/src/generated/java/com/github/copilot/generated/SubagentFailedEvent.java |
Adds model-selection metadata. |
java/sdk/src/generated/java/com/github/copilot/generated/SubagentCompletedEvent.java |
Adds model-selection metadata. |
java/sdk/src/generated/java/com/github/copilot/generated/SessionManagedSettingsResolvedEvent.java |
Adds sandbox provenance. |
java/sdk/src/generated/java/com/github/copilot/generated/SessionEvent.java |
Registers the new event. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/TokenProviderAuthInfo.java |
Adds callback-backed auth. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/TokenAuthInfo.java |
Adds registration metadata. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionQueuePendingItemsResult.java |
Adds steering state. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionPermissionsPathsAddParams.java |
Documents configuration discovery. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionOptionsUpdateParams.java |
Adds skill and sandbox fields. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionOpenOptions.java |
Adds skill and sandbox fields. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionManagedPermissions.java |
Opens managed policy values. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SessionInstalledPlugin.java |
Adds plugin provenance. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/SandboxConfigSource.java |
Adds sandbox-source enum. |
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/PermissionPathsConfig.java |
Documents trusted discovery roots. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ModelWarningText.java |
Adds model warning text. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ModelMessage.java |
Adds model notices. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/Model.java |
Adds warning and notice fields. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/InstalledPluginInfo.java |
Adds live-plugin provenance. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/InstalledPlugin.java |
Adds live-plugin provenance. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/GitHubTokenAcquireResultToken.java |
Adds token result variant. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/GitHubTokenAcquireResultCancelled.java |
Adds cancellation variant. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/GitHubTokenAcquireResult.java |
Adds token result hierarchy. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/GitHubTokenAcquireRequest.java |
Adds token callback request. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/GitHubTokenAcquireReason.java |
Adds acquisition reasons. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ConnectParams.java |
Adds client identity. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/ConnectClientInfo.java |
Defines client identity. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AuthInfoType.java |
Adds token-provider auth kind. |
java/sdk/src/generated/java/com/github/copilot/generated/rpc/AuthInfo.java |
Registers token-provider auth. |
java/sdk/src/generated/java/com/github/copilot/generated/ModelCallFinishedOutcome.java |
Defines model-call outcomes. |
java/sdk/src/generated/java/com/github/copilot/generated/ModelCallFinishedEvent.java |
Adds model-call completion event. |
java/sdk/src/generated/java/com/github/copilot/generated/ManagedSettingsEnforcedEscalation.java |
Adds MCP escalation kind. |
java/sdk/src/generated/java/com/github/copilot/generated/AssistantUsageEvent.java |
Adds output TTFT. |
java/sdk/src/generated/java/com/github/copilot/generated/AssistantMessageReasoningBlocks.java |
Adds opaque reasoning blocks. |
java/sdk/src/generated/java/com/github/copilot/generated/AssistantMessageEvent.java |
Carries reasoning blocks. |
java/scripts/codegen/package.json |
Updates Java codegen dependency. |
java/scripts/codegen/package-lock.json |
Locks Java codegen runtime. |
java/pom.xml |
Updates reference implementation version. |
go/zsession_events.go |
Re-exports new event types. |
go/types.go |
Opens managed policy values. |
go/rpc/zsession_events.go |
Regenerates event models. |
go/rpc/zsession_encoding.go |
Dispatches the new event. |
go/rpc/zrpc.go |
Regenerates RPC models and handlers. |
go/rpc/zrpc_encoding.go |
Adds union encoding support. |
go/internal/e2e/rpc_tasks_and_handlers_e2e_test.go |
Restores per-test configuration. |
go/client_test.go |
Tests future policy values. |
dotnet/test/Unit/ClientSessionLifetimeTests.cs |
Tests open policy strings. |
dotnet/test/E2E/RpcSessionStateE2ETests.cs |
Adapts set-credentials type. |
dotnet/src/Types.cs |
Opens managed policy values. |
dotnet/src/Generated/SessionEvents.cs |
Regenerates event models. |
dotnet/src/Generated/Rpc.cs |
Regenerates typed RPC models. |
Review details
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Files not reviewed (8)
- 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
- 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: 28/81 changed files
- Comments generated: 3
- Review effort level: Balanced
| // DisableBypassPermissionsModeAllowAutoOnly permits only automatic bypass. | ||
| DisableBypassPermissionsModeAllowAutoOnly DisableBypassPermissionsMode = "allow-auto-only" |
| * @return this policy | ||
| */ | ||
| public ManagedSettingsPermissions setDisableBypassPermissionsMode(DisableBypassPermissionsMode value) { | ||
| public ManagedSettingsPermissions setDisableBypassPermissionsMode(String value) { |
| /// Restricts bypass-permissions mode for the session regardless of other | ||
| /// layers. See <see cref="DisableBypassPermissionsModes"/> for well-known | ||
| /// values. Unknown values are forwarded so newer runtime policies fail closed. | ||
| /// Serialized as <c>disableBypassPermissionsMode</c>. |
Automated update of
@github/copilotto version1.0.81-10.Changes
@github/copilotinnodejs/package.jsonandtest/harness/package.jsonscripts/codegen)Java Handwritten Code Adaptation Plan
If
java-sdk-testsCI fails on this PR, follow these steps:mvn clean,mvn verifyfromjava/locally or check thejava-sdk-testsworkflow run logs.java/sdk/src/main/java/com/github/copilot/sdk/):nullfor optional new fields).CopilotSession.javaif applicable.java/sdk/src/test/java/com/github/copilot/sdk/):cd java && mvn clean test-compile jar:jar && mvn verify -Dskip.test.harness=truecd java && mvn spotless:applyNext steps
When ready, click Ready for review to trigger CI checks.