Update @github/copilot to 1.0.53-2#1408
Conversation
- Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code
There was a problem hiding this comment.
Pull request overview
Automated dependency bump of @github/copilot to 1.0.53-2 and regeneration of the SDK’s schema-derived types/RPC surfaces across languages to match the updated wire schema.
Changes:
- Updated
@github/copilotdependency versions in Node.js packages (SDK, samples) and the test harness. - Regenerated and formatted schema-derived RPC + session event types for Rust, Python, Node.js/TS, Go, and .NET.
- Introduced new schema surfaces related to
session.canvas.*RPCs andsession.canvas.*session events in generated outputs.
Show a summary per file
| File | Description |
|---|---|
| test/harness/package.json | Bumps @github/copilot dev dependency to ^1.0.53-2 for the test harness. |
| test/harness/package-lock.json | Lockfile update reflecting @github/copilot@1.0.53-2 and platform optional deps. |
| nodejs/package.json | Bumps Node.js SDK dependency on @github/copilot to ^1.0.53-2. |
| nodejs/package-lock.json | Lockfile update reflecting @github/copilot@1.0.53-2 and platform optional deps. |
| nodejs/samples/package-lock.json | Updates sample lockfile dependency to @github/copilot@^1.0.53-2. |
| nodejs/src/generated/session-events.ts | Regenerated session event typings; adds new canvas-related events/types. |
| nodejs/src/generated/rpc.ts | Regenerated RPC typings; adds session.canvas.* RPC group and related types. |
| python/copilot/generated/session_events.py | Regenerated session event models; adds new canvas-related events/types. |
| python/copilot/generated/rpc.py | Regenerated RPC client/types; adds CanvasApi and canvas-related DTOs. |
| go/zsession_events.go | Regenerated Go re-exports for new canvas session event symbols. |
| go/rpc/zsession_events.go | Regenerated Go session-event data types/constants for canvas events. |
| go/rpc/zsession_encoding.go | Updates event decoding to handle new canvas event types. |
| go/rpc/zrpc.go | Regenerated Go RPC surface; adds CanvasApi and canvas-related request/response types. |
| rust/src/generated/session_events.rs | Regenerated Rust session event enums/data; adds canvas event variants and payload structs. |
| rust/src/generated/api_types.rs | Regenerated Rust API types and RPC method constants; adds canvas RPC constants/types. |
| rust/src/generated/rpc.rs | Regenerated Rust RPC client; adds session.canvas.* sub-namespace and methods. |
| dotnet/src/Generated/SessionEvents.cs | Regenerated .NET session event models; adds canvas event types and availability enum. |
| dotnet/src/Generated/Rpc.cs | Regenerated .NET RPC surface; adds CanvasApi and canvas-related DTOs. |
Copilot's findings
Files not reviewed (7)
- go/rpc/zrpc.go: Language not supported
- go/rpc/zsession_encoding.go: Language not supported
- go/rpc/zsession_events.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: 0
quicktype emits the freeform 'canvas_json_schema' field as 'Any', and the post-processor was adding '= None' to every bare ': Any' annotation. That turned the synthesized root RPC dataclass field into a defaulted argument followed by required fields (canvas_list, ...), which made Python raise 'non-default argument follows default argument' at import time and broke every Python SDK test plus the scenario import checks. Scope the post-processor so RPC definition fields keep their required Any annotation, matching the rest of the registry. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
SDK Consistency ReviewSummaryThis PR updates
|
Automated update of
@github/copilotto version1.0.53-2.Changes
@github/copilotinnodejs/package.jsonandtest/harness/package.jsonscripts/codegen)Next steps
When ready, click Ready for review to trigger CI checks.