🎉🔨 Copilot SDK v2.0.0 released!
350 features & enhancements in this release
Top features: • Added PAC-aware system proxy routing support in the runtime for better proxy auto-configuration handling 🌐 • SDK handles tokenizer warmup and process telemetry internally to improve startup and monitoring • Remote session export refuses disabled or unresolved organization storage policies with export-start state and refusal warnings • Deferred allocator reclamation until disposed session data is released on opted-in Linux/glibc hosts, preserving requests during trim cooldown • SDK sessions honor the host's COPILOT_MODEL_FAMILY setting for accurate model family selection • Runtime loads .agents, .claude skills, and .claude agents from added directories to enhance plugin support • Preserved provider metadata in SDK model catalogs to retain provider info when listing models • Session.fusion_resolved event payload now includes ruleIndex for better event tracing • SDK clients receive warnings related to live Marketplace plugins to improve integration clarity • Azure OpenAI BYOK sessions on GPT-5.6/GPT-6 restored cross-turn prompt cache reuse by no longer sending prompt_cache_breakpoint
Enhancements: • Improved MCP OAuth compatibility by respecting advertised account-selection and retrying rejected selections • Built-in browser activation respects user preferences and managed policy including after extension reconciliation • Runtime applies enabledPlugins from trusted non-repository folders improving plugin activation consistency • Preserved ACP context tier when switching models to maintain consistent context behavior • Improved runtime reliability by retrying config key writes initially refused to reduce configuration loss • Local-model adoption and cleanup no longer open console windows on Windows OS 💻 • Sandbox deny rules now support glob patterns including hidden files and home-relative patterns • Normalized Responses MCP namespace names by trimming separators for better session history compatibility • Host tools sharing names with built-in tools now run their handler instead of failing to improve usability • Extended external tool call timeout removing automatic 30-minute cutoffs to support long-running workflows
Bug fixes: • Fixed runtime bug adding IPv6 unspecified address to outbound request blocklist for security 🛑 • Fixed incomplete custom-agent list and reload issues during overlapping reloads or provider hydration • Fixed stale catalogs after credential invalidation to ensure fresh data • Corrected prompt alteration issues involving the Unicode character U+0130 in /after or /every text • Fixed isAbortError runtime bug that could throw when error message was not a string • Fixed session metadata and log summaries reuse to recover gracefully from transient log-read failures • Fixed session.mcp.startServer to honor caller-provided configuration consistently • Fixed runtime bug allowing grep flags without a leading dash for more robust CLI behavior • Fixed MCP OAuth URL validation rejecting backslash-obfuscated dot segments for security • Fixed missing skill instructions when approving tool permissions after runtime restart • INFO-level runtime logs no longer include MCP server peer information • Fixed attachment drops when requests retried after rate limiting • Fixed intermittent custom-agent discovery failures after authentication during first agent scan • Fixed LSP rootUri acceptance outside Git root to prevent invalid workspace roots • Fixed race conditions in credential refresh and custom-agent list reloads • Fixed race conditions during session queue waits to prevent unwanted session drops • Fixed retry counts to reset properly on session queue start to improve session lifecycle • Fixed diagnostics leaks from stub language servers to improve resource cleanup
Misc: • Clarified Copilot SDK documentation on pending permission recovery • Removed unsupported prePRDescription and postResult variants from generated HookType contracts • Bugfix: INFO runtime log cleanup to reduce unnecessary details • Session metadata listing improved for log summary reuse • SDK now warns about live Marketplace plugins usage • Added support for glob patterns in sandbox deny rules for better file matching • Improved MCP OAuth retry logic for smoother authentication • Runtime plugin activation optimized with trusted folder plugin loading • Documentation updated for OAuth and permission recovery scenarios • Minor tooling and logging polish to support diagnostics and session lifecycle tracking
#GitHubCopilotSDK
