diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b1ba317f..369c599be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,27 @@ All notable changes to the Copilot SDK are documented in this file. This changelog is automatically generated by an AI agent when stable releases are published. See [GitHub Releases](https://github.com/github/copilot-sdk/releases) for the full list. +## [v0.2.2](https://github.com/github/copilot-sdk/releases/tag/v0.2.2) (2026-04-10) + +### Feature: `enableConfigDiscovery` for automatic MCP and skill config loading + +Set `enableConfigDiscovery: true` when creating a session to let the runtime automatically discover MCP server configurations (`.mcp.json`, `.vscode/mcp.json`) and skill directories from the working directory. Discovered settings are merged with any explicitly provided values; explicit values take precedence on name collision. ([#1044](https://github.com/github/copilot-sdk/pull/1044)) + +```ts +const session = await client.createSession({ + enableConfigDiscovery: true, +}); +``` + +```cs +var session = await client.CreateSessionAsync(new SessionConfig { + EnableConfigDiscovery = true, +}); +``` + +- Python: `await client.create_session(enable_config_discovery=True)` +- Go: `client.CreateSession(ctx, &copilot.SessionConfig{EnableConfigDiscovery: ptr(true)})` + ## [v0.2.1](https://github.com/github/copilot-sdk/releases/tag/v0.2.1) (2026-04-03) ### Feature: commands and UI elicitation across all four SDKs