Skip to content

Update @github/copilot to 1.0.51#1353

Merged
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.51
May 21, 2026
Merged

Update @github/copilot to 1.0.51#1353
stephentoub merged 2 commits into
mainfrom
update-copilot-1.0.51

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.51.

Changes

  • Updated @github/copilot in nodejs/package.json and test/harness/package.json
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output

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 May 21, 2026 01:52
@stephentoub stephentoub requested a review from a team as a code owner May 21, 2026 01:52
Copilot AI review requested due to automatic review settings May 21, 2026 01:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 monorepo’s @github/copilot dependency to 1.0.51 and refreshes generated RPC bindings/types across SDKs to stay aligned with the updated wire protocol used by the Copilot CLI bridge.

Changes:

  • Bumped @github/copilot from ^1.0.51-3 to ^1.0.51 in the Node SDK, test harness, and samples (plus corresponding lockfiles).
  • Regenerated Node/Rust RPC client/type surfaces with expanded @experimental annotations and new/updated permission/task-related schema shapes.
  • Updated Go JSON (un)marshalling helpers to match the regenerated union/discriminator shapes introduced by the updated schema.
Show a summary per file
File Description
test/harness/package.json Updates test harness dependency on @github/copilot to ^1.0.51.
test/harness/package-lock.json Locks @github/copilot and platform subpackages to 1.0.51.
nodejs/package.json Updates Node SDK dependency on @github/copilot to ^1.0.51.
nodejs/package-lock.json Locks Node SDK @github/copilot and platform subpackages to 1.0.51.
nodejs/samples/package-lock.json Updates sample lockfile to use @github/copilot ^1.0.51.
nodejs/src/generated/rpc.ts Regenerated TS RPC schema/types (adds experimental markers, new permission/location/task-related types).
rust/src/generated/rpc.rs Regenerated Rust RPC surface docs and adds new permissions sub-namespaces (e.g., folder trust/locations).
go/rpc/zrpc_encoding.go Regenerated Go encoding helpers for new unions/discriminators (permissions tool approvals, task info/progress).

Copilot's findings

Files not reviewed (4)
  • go/rpc/zrpc_encoding.go: Language not supported
  • nodejs/package-lock.json: Language not supported
  • nodejs/samples/package-lock.json: Language not supported
  • test/harness/package-lock.json: Language not supported
  • Files reviewed: 2/12 changed files
  • Comments generated: 0

- dotnet: Workspace.Id changed from Guid to string; use Assert.NotEmpty
- go: TaskProgress is now an interface; use unmarshalTaskProgress and
  type-assert to concrete types

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review ✅

This PR is an automated codegen update from @github/copilot v1.0.51 that regenerates all SDK implementations simultaneously. The changes are consistent across all five SDK languages.

New APIs added consistently across all SDKs

Feature Node.js Python Go .NET Rust
SessionListFilter
PermissionsLocationsApi (resolve/apply/addToolApproval)
PermissionsFolderTrustApi (isTrusted/addTrusted)
TaskProgress / TaskAgentProgress / TaskShellProgress
PermissionsLocationsAddToolApprovalDetails variants

Naming convention note

Python's codegen renders the MCP acronym in all-caps (PermissionsLocationsAddToolApprovalDetailsMCP) while other SDKs use title-case (PermissionsLocationsAddToolApprovalDetailsMcp). This is a language-convention artifact of the respective code generators and is not a consistency issue.

No cross-SDK consistency issues found. This PR maintains full feature parity across all language SDKs.

Generated by SDK Consistency Review Agent for issue #1353 · ● 586.1K ·

@stephentoub stephentoub merged commit ebac759 into main May 21, 2026
44 checks passed
@stephentoub stephentoub deleted the update-copilot-1.0.51 branch May 21, 2026 02:55
SteveSandersonMS added a commit that referenced this pull request May 21, 2026
Picks up @github/copilot 1.0.51 schema changes (#1351, #1353) and
MCPStdioServerConfig.args optional (#1347).

Co-authored-by: Copilot <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