Commit bb543bd
committed
chore: bump @github/copilot to ^1.0.75 and regenerate all SDKs
Moves the runtime dependency from ^1.0.73 to ^1.0.75 and regenerates the
wire types for every language. No hand-written API changes beyond what the
new schemas force.
Generated surface
- Regenerates rpc/session-event types for Node.js, Python, Go, .NET, and
Rust from the 1.0.75 schemas.
Codegen: narrow the opaque-JSON conversion
- `x-opaque-json` was being applied to every annotated definition, but only
one of the fourteen (`CanvasJsonSchema`) is genuinely unconstrained; the
rest carry `anyOf` or `type` + `properties`. Blanket-converting them threw
away the structure of `McpServerConfig`, `ExternalToolResult`,
`EventLogTypes`, and `UIElicitationSchemaProperty`. The conversion now
requires the absence of any structural keyword.
- Genuinely opaque nodes emit `JsonValue` instead of `unknown`, which is a
global tightening; `ToolTelemetry` is realigned to match.
Fallout the new schemas force
- `sessionFs` gained `sqliteTransaction`, so every hand-written provider
adapter has to implement it. Node forwards to an optional provider hook
and classifies failures; Python, Go, and .NET have no transaction hook in
their provider interfaces, so they refuse the batch with a classified
`fatal` error rather than applying it non-atomically.
- `UIExitPlanModeResponse` gained `deferImplementation`, so the Rust e2e
struct literal has to name it.
- `lsp.initialize` and `telemetry.setFeatureOverrides` are declared
`Promise<void>` and now resolve with `{}` rather than `null`, so two e2e
assertions no longer pin the resolved value.
- The `JsonValue` tightening reaches `data.arguments`, which is no longer
optional-chained in the session-event type test.1 parent aa4e707 commit bb543bd
27 files changed
Lines changed: 12162 additions & 1364 deletions
File tree
- dotnet/src
- Generated
- go
- rpc
- nodejs
- src
- generated
- test
- e2e
- python/copilot
- generated
- rust
- src/generated
- tests/e2e
- scripts/codegen
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
312 | 330 | | |
313 | 331 | | |
314 | 332 | | |
| |||
0 commit comments