Update @github/copilot to 1.0.51-1#1340
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/schema refresh for @github/copilot 1.0.51-1, updating package locks and regenerated SDK bindings across languages.
Changes:
- Bumped
@github/copilotdependency metadata in Node.js packages and harness locks. - Regenerated session-event types across Node.js, Python, Go, Rust, and .NET.
- Added/relocated generated Go JSON union encoding helpers for new/updated RPC schema shapes.
Show a summary per file
| File | Description |
|---|---|
test/harness/package.json |
Updates harness @github/copilot dev dependency. |
test/harness/package-lock.json |
Locks harness Copilot packages to 1.0.51-1. |
rust/src/generated/session_events.rs |
Regenerates Rust session-event data types and docs. |
python/copilot/generated/session_events.py |
Regenerates Python session-event dataclasses and serializers. |
nodejs/src/generated/session-events.ts |
Updates generated TypeScript session-event comments. |
nodejs/samples/package-lock.json |
Updates sample lockfile dependency resolution. |
nodejs/package.json |
Updates Node SDK @github/copilot dependency. |
nodejs/package-lock.json |
Locks Node SDK Copilot packages to 1.0.51-1. |
go/zsession_events.go |
Updates top-level Go aliases for generated session events. |
go/rpc/zsession_events.go |
Regenerates Go RPC session-event types. |
go/rpc/zsession_encoding.go |
Removes relocated session-event JSON encoding helpers. |
go/rpc/zrpc_encoding.go |
Adds generated Go RPC union JSON encoding helpers. |
dotnet/src/Generated/SessionEvents.cs |
Regenerates .NET session-event types, validation attributes, and docs. |
Copilot's findings
Files not reviewed (7)
- go/rpc/zrpc_encoding.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/19 changed files
- Comments generated: 2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Cross-SDK Consistency ReviewThis is an automated dependency update PR that re-generates code for all 5 SDK implementations (Node.js, Python, Go, .NET, Rust) from an updated I did notice one cross-SDK inconsistency worth flagging in the manual (non-generated) changes:
|
| SDK | New timestamp type |
|---|---|
| Python | datetime ✅ (parsed) |
| Go | time.Time ✅ (parsed) |
| .NET | DateTimeOffset ✅ (parsed) |
| Rust | String |
| Node.js | string |
Suggestion: For consistency, consider whether:
- Node.js (
nodejs/src/client.ts) should returnDateinstead ofstring— or at minimum provide a helper/note in JSDoc that it's an ISO 8601 string. TypeScript/JavaScript hasDateand widely-used ISO 8601 string conventions. - Rust (
rust/src/types.rs) should use a datetime crate type (e.g.,chrono::DateTime<Utc>ortime::OffsetDateTime). That said, adding a new transitive dependency just forPingResponse(a diagnostic-only method) may not be worth it — so aStringhere is understandable.
This is a minor inconsistency in a diagnostic API (ping), so it's not blocking. Just worth aligning intentionally either way.
All other changes look consistent across SDKs:
- The SQLite
last_insert_rowidfloat→int fix is applied in all relevant SDKs (Python, Go, Rust; Node.js didn't have the issue) - The duration/seconds property handling is consistently updated in the codegen scripts
- The session
logAPI change in .NET is a defensive named-argument refactor with no public API impact
Generated by SDK Consistency Review Agent for issue #1340 · ● 732.3K · ◷
Automated update of
@github/copilotto version1.0.51-1.Changes
@github/copilotinnodejs/package.jsonandtest/harness/package.jsonscripts/codegen)Next steps
When ready, click Ready for review to trigger CI checks.