Repository navigation
v1.0.15-preview.4
Pre-releaseFeature: experimental connection-global installation confirmation
All six SDKs now expose a connection-global handler for the runtime's installations.confirm callback, letting apps present a human review before an MCP or Skill installation proceeds. The handler receives the generated request plus a cancellation signal that fires when the review is retired or the connection closes, and must return an explicit confirm/decline/cancel decision — the SDK never infers approval.
const client = new CopilotClient({
installationConfirmationHandler: async (request, context) => {
return await promptUser(request); // "confirm" | "decline" | "cancel"
},
});var options = new CopilotClientOptions
{
InstallationConfirmationHandler = async (request, context) =>
await PromptUserAsync(request, context.CancellationToken),
};opts := copilot.ClientOptions{
InstallationConfirmationHandler: func(ctx context.Context, req *copilot.InstallationConfirmationRequest) (copilot.InstallationConfirmationDecision, error) {
return promptUser(ctx, req)
},
}Java, Python, and Rust get the equivalent setInstallationConfirmationHandler(...), installation_confirmation_handler, and with_installation_confirmation_handler options. Java additionally converts the previously untyped MCP installation/removal review payloads (InstallationConfirmationRequest.review(), McpInstallPlan.transportChoices(), McpInstallationManagementResultOutcome.getOutcome()) into sealed/typed unions, bringing it into line with the other SDKs.
Other changes
- feature: [Java] experimental
FusionCriticgenerated diagnostics type for execution-phase model/reasoning-effort tracking
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
github.com
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
network:
allowed:
- defaults
- "github.com"See Network Configuration for more information.
Generated by Release Notes Generator · copilot · auto · 169.2 AIC · ⌖ 5.87 AIC · ⊞ 9K