Skip to content

Update @github/copilot to 1.0.47#1286

Merged
stephentoub merged 10 commits into
mainfrom
update-copilot-1.0.47
May 14, 2026
Merged

Update @github/copilot to 1.0.47#1286
stephentoub merged 10 commits into
mainfrom
update-copilot-1.0.47

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.47.

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 13, 2026 19:10
@stephentoub stephentoub requested a review from a team as a code owner May 13, 2026 19:10
Copilot AI review requested due to automatic review settings May 13, 2026 19:10
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

This PR updates the bundled @github/copilot dependency to 1.0.47 and refreshes generated SDK protocol/types across Node.js, Python, Go, Rust, and .NET.

Changes:

  • Bumped @github/copilot package references and lockfiles.
  • Regenerated RPC/session-event types for new slash command, billing, fork-name, skills diagnostics, and telemetry fields.
  • Updated generated RPC helpers for new command and skills reload behavior.
Show a summary per file
File Description
test/harness/package.json Updates harness Copilot CLI dependency.
test/harness/package-lock.json Locks harness dependency and platform packages to 1.0.47.
rust/src/generated/session_events.rs Adds new session event telemetry fields/types.
rust/src/generated/rpc.rs Adds command RPC methods and skills reload diagnostics return.
rust/src/generated/api_types.rs Adds generated RPC models and enums.
python/copilot/generated/session_events.py Adds generated session event telemetry fields/types.
python/copilot/generated/rpc.py Adds generated RPC models and methods.
nodejs/src/generated/session-events.ts Adds generated session event telemetry fields/types.
nodejs/src/generated/rpc.ts Adds generated RPC models and methods.
nodejs/samples/package-lock.json Updates sample lockfile dependency range.
nodejs/package.json Updates Node SDK Copilot CLI dependency.
nodejs/package-lock.json Locks Node dependency and platform packages to 1.0.47.
go/zsession_events.go Adds generated session event telemetry fields/types.
go/zsession_encoding.go Updates generated event unmarshalling.
go/rpc/zrpc.go Adds generated RPC models and methods.
go/rpc/zrpc_encoding.go Adds generated slash-command result encoding helpers.
dotnet/src/Generated/SessionEvents.cs Adds generated session event telemetry fields/types.
dotnet/src/Generated/Rpc.cs Adds generated RPC models and methods.

Copilot's findings

Files not reviewed (7)
  • go/rpc/zrpc.go: Language not supported
  • go/rpc/zrpc_encoding.go: Language not supported
  • go/zsession_encoding.go: Language not supported
  • go/zsession_events.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/18 changed files
  • Comments generated: 2

Comment thread go/rpc/zrpc.go Outdated
Comment thread dotnet/src/Generated/Rpc.cs Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

This comment has been minimized.

stephentoub and others added 2 commits May 13, 2026 15:54
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use generated union decoders for RPC method results so non-empty interface results are returned as concrete variants instead of being unmarshaled directly.

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

This comment has been minimized.

@github-actions

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Copy Markdown
Contributor Author

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generated by SDK Consistency Review Agent for issue #1286 · ● 2.6M

Comment thread python/copilot/generated/rpc.py Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

This comment has been minimized.

Keep generated base discriminator properties serializable so permission responses include their required kind/type fields. Also include the Python test formatting change required by ruff.

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

This comment has been minimized.

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 (@github/copilot → 1.0.47) that regenerates all SDK implementations simultaneously. Cross-SDK consistency is maintained by design.

New schema types — present in all 5 SDKs ✅

Type / Field Node.js Python Go .NET Rust
ModelBillingTokenPrices ✅ (api_types.rs)
ModelBilling.tokenPrices
SessionsForkRequest.name
SessionsForkResult.name
UserMessageData.isAutopilotContinuation
AssistantUsageData.apiEndpoint + enum
New RPC types (CommandsInvokeRequest, etc.)

Manual Rust fix — brings Rust into alignment ✅

rust/src/session.rs: PermissionResult::NoResult on the notification path now suppresses the response (returns None), matching the pre-existing behavior in all other SDKs:

  • Node.js (session.ts:519): no-resultreturn (no response)
  • .NET (Session.cs:700): no-resultreturn (no response)
  • Go (session.go:1127): no-resultreturn (no response)

This is a correctness fix, not a new feature.

No consistency issues found.

Generated by SDK Consistency Review Agent for issue #1286 · ● 1.3M ·

@stephentoub stephentoub added this pull request to the merge queue May 14, 2026
Merged via the queue into main with commit f4121e3 May 14, 2026
44 checks passed
@stephentoub stephentoub deleted the update-copilot-1.0.47 branch May 14, 2026 01:10
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