Skip to content

Commit bb543bd

Browse files
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

dotnet/src/Generated/Rpc.cs

Lines changed: 2301 additions & 181 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dotnet/src/Generated/SessionEvents.cs

Lines changed: 137 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dotnet/src/SessionFsProvider.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,24 @@ async Task<SessionFsSqliteQueryResult> ISessionFsHandler.SqliteQueryAsync(Sessio
309309
}
310310
}
311311

312+
Task<SessionFsSqliteTransactionResult> ISessionFsHandler.SqliteTransactionAsync(SessionFsSqliteTransactionRequest request, CancellationToken cancellationToken)
313+
{
314+
// This SDK's provider interface exposes no atomic-transaction hook, so
315+
// the batch is refused outright rather than applied non-atomically.
316+
var message = this is ISessionFsSqliteProvider
317+
? "Atomic SQLite transactions are not supported by this SessionFs provider"
318+
: "SQLite is not supported by this SessionFs provider";
319+
320+
return Task.FromResult(new SessionFsSqliteTransactionResult
321+
{
322+
Error = new SessionFsSqliteTransactionError
323+
{
324+
ErrorClass = SessionFsSqliteTransactionErrorClass.Fatal,
325+
Message = message,
326+
},
327+
});
328+
}
329+
312330
async Task<SessionFsSqliteExistsResult> ISessionFsHandler.SqliteExistsAsync(SessionFsSqliteExistsRequest request, CancellationToken cancellationToken)
313331
{
314332
if (this is not ISessionFsSqliteProvider sqliteProvider)

0 commit comments

Comments
 (0)