You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDK sessions skip automatic LSP configuration discovery when tool filters hide lsp and all agent-management tools. A tool metadata read picks up newly enabled tools when idle and returns the last published catalog during initialization. Explicit LSP requests remain available while the tools are hidden.
Prevent a closed child input pipe from terminating Unix in-process SDK hosts.
user.settings.diagnoseProblems accepts optional allowLocalhostHooks and allowHttpAuthHooks flags that can only narrow the server's hook relaxations.
user.settings.diagnoseProblems now omits rawKey instead of returning null when a problem has no associated settings key, such as a malformed settings file.
Session usage no longer counts the same committed Fusion compaction receipt twice.
Fixed “session not found” errors during SDK disconnect or client shutdown by keeping completed subagent sessions available until their last attachment is released.
Session detach retains final completion events until finalization finishes and then releases the session ID.
Fix disconnecting from completed subagents without disrupting parent sessions.
Logging out without specifying an account now keeps the SDK session signed out instead of silently signing it back in with available credentials. Explicit login and account switching still work, and logout for a specific account can still rediscover credentials.
Session event polling is faster in long sessions with duplicate event IDs when the cursor points to a unique event ID. Cursors still resume from the same position.
Fixed remote custom agent prompt loading to use the GitHub token supplied by the SDK for the session.
Extensions joining their owning session are no longer treated as unstarted while waiting for runtime admission.
Honor a single model preference already supplied by an organization custom agent, using existing model availability checks.
Allow indexed-search collection to release storage for queued repositories during incomplete recovery.
Avoid native trust initialization for empty telemetry queues in embedded hosts.
With the stable prompt prefix experiment enabled, SDK model requests place state notes before first-turn memories, retain the latest note of each kind, unchanged and in order, before the compaction summary, and place a prompt-cache breakpoint after those leading notes on Anthropic and Responses requests. Sessions outside the experiment keep their existing ordering and breakpoints.
assistant.usage omits cacheReadTokens for a Responses or Chat Completions model call whose provider did not report cache reads, instead of reporting 0.
With the stable prompt prefix experiment enabled, specialized subagents keep their initial working-directory listing across follow-ups, so new files don’t invalidate the cached prompt prefix. Subagents can still use their file tools to see current contents.
Python: Prevent a duplicate custom-tool request from running its handler again while the first reply is in flight.
Git remote discovery now preserves URLs containing spaces and recognizes fetch URLs in partial clones.
Marketplace Git authentication no longer opens a console window on Windows.
Skill discovery now disables Git terminal prompts and applies stricter Git security settings when checking symlinks.
Sandboxed commands and file tools now enforce read-only protection for the working directory’s Git configuration and hooks when covered by readwritePaths, even if addCurrentWorkingDirectory is disabled.
Session events: user.message and system.notification can carry an optional responsesTextFormat recording the output format in effect before that message, so a schema change on a Responses model replays correctly after resume.
Session resume can now continue if the session is removed from memory while the SDK waits to check its plugin inventory.
Fixed an issue where an outdated notification could make the SDK report Auto mode recovery as disabled after a successful resume with recovery enabled. Later changes to recovery availability are still reported.
With OpenTelemetry tool definition capture enabled, read gen_ai.tool.definitions on per-request chat spans, including subagent calls, instead of invoke_agent spans. The attribute no longer falls back to the session tool catalog: it records [] for observed requests with no tools and is omitted when request tools are unknown.
Fixed OpenAI Responses requests failing when MCP tool input or output schemas set anyOf, oneOf, or allOf to null. These entries are ignored without changing the schemas shown in the SDK tool catalog.
Fixed concurrent MCP server enable and disable calls so successful updates to different servers no longer overwrite one another in shared settings.
Organization policy follows the actual inference route; agent reload retains identity and renamed selections; Python, Go, .NET, and Rust overlap independent session detaches within the shutdown deadline.
Python shutdown preserves callback joins through TaskGroup and asyncio.wait after a gather sibling fails.
A successful authoritative policy refresh releases a removed organization pin; exclusions and failed refreshes retain provider restrictions.
Spawned TCP runtimes use IPv4 loopback by default and same-family loopback for wildcard binds. Explicit external hosts stay unchanged.
Shell tool results now explain when access is denied because content exclusion cannot evaluate a UNC path, rather than incorrectly reporting an organization policy match. Blocking behavior is unchanged.
Required plugin-agent selection waits for complete plugin activation.
session.limitPrediction.predict no longer treats a sub-agent model change as the session leaving Auto.
Preserve accepted tool results when a session disconnects during resume preparation.
Add experimental session.remote.getFrontendUrl to read the runtime-registered task URL.
With GPT-6 Luna or Claude Haiku 5.5 as the judge, Assisted Permissions can automatically approve deleting verified unchanged, Git-tracked files in the session’s working tree and non-force pushes to eligible non-default branches in the session’s own repository. Default-branch pushes and explicit user restrictions remain subject to existing rules.
Existing changeboarding telemetry events also emit their OpenTelemetry counter.
Concurrent MCP skill discovery preserves newer bindings and rejects stale admissions.
Fixed a CLI stdio hang when a large session history reply cannot be written in one operation.
Runtime: Restored the remote steering declaration when an SDK host transfers control back to a stopped session.
Avoid false transport drain timeouts during shutdown after the connection writer exits.
Reduced idle memory use in Windows in-process SDK hosts and per-message allocations in the .NET in-process transport. Standalone process logs no longer mask session IDs; credentials are still redacted.
Fixed agents.createFile and agents.generateFileContent so custom agents load with the exact names and descriptions you supply, including values like @reviewer and true that YAML previously rejected or misinterpreted.
Fixed an issue where resumed sessions could leave a tool call stuck after receiving a permission decision or external tool result while another parallel tool call was still waiting for a response.
Honor MCP server file-change watcher selections while preserving existing sharing controls.
Improved repository lookup performance for memory-enabled prompts and repository-scoped search in resumed SDK sessions with long histories, without changing which repository is selected.
Fix session resume after a host policy pre-check approves a permission request in Assisted mode.
When loading organization or enterprise custom agents fails before GitHub responds, the error message reports the underlying network failure without an internal error marker.
Fixed Markdown and HTML exports and the rewind picker for resumed SDK sessions with unnamed image attachments. Unnamed images appear as [Image] without hiding other image labels.
Fix inflated live session usage from staged Fusion background compaction and preserve corrected totals on clean resume.
Fixed SDK client startup and relay session attachment failures when settings.json contains integers outside JavaScript’s safe integer range.
Reduced overhead for in-process communication and session lifecycle event delivery in the .NET SDK, with no public API or protocol changes.
Resuming a session no longer emits a false managed plugin warning or delays plugin preparation when authentication or managed settings change during the inventory check.
When a policy change interrupts a managed plugin retry, session.plugins.retryManaged returns deferred instead of failed. Inventory errors under an unchanged policy still return failed.
Reindexing local session history now preserves checkpoint titles from conversation compaction and workspaces.addSummary, including titles with pipes or non-ASCII characters.
Assisted Permissions no longer assumes which branch a Git push with a shorthand destination like heads/main will update. These pushes may now prompt for approval.
Fixed repository model selection for .github/allowed_models.txt files saved with a UTF-8 byte-order mark: a fallback directive or model pattern on the first line now applies as written.
The Rust SDK allocates less memory when decoding typed session events and tool arguments, with no API changes.
Fixed a race where refreshing an unchanged organization policy during managed plugin preparation could trigger a false session warning and delay required plugins. In this case, session.plugins.retryManaged now returns deferred instead of failed.
Fixed built-in grep searches so grouped results keep matches under the correct files when filenames contain dates or version numbers, with or without line numbers, and with surrounding context when line numbers are shown.
Fix MCP skill commands that overlap background discovery without expanding another reload's catalog work.
SDK hosts can set COPILOT_ALLOW_PROCESS_SPAWN=0 in the runtime environment before startup to block new child processes, including shell commands, Git, and sandboxed commands. Launches remain allowed by default, and the setting does not restrict processes the host starts independently.
The SDK runtime now logs successful, failed, and blocked process launches without recording command arguments, environment values, or working directories.
Fix cross-model custom agents losing built-in edit tools explicitly listed in the session allowlist.
Fixed an issue where completing a cancelled MCP OAuth sign-in in an old browser tab could interrupt a retry using the same callback address.
On Linux, sandbox.getUnsupportedMessage now explains when COPILOT_ALLOW_PROCESS_SPAWN disables process launching, rather than only suggesting that you install or upgrade bubblewrap.
Add SDK transport cancellation cleanup and keep CLI host integration behind internal contracts.
Rust: Drain received lifecycle notifications before closing subscriptions after connection loss.
Python, Go, and .NET: Resolve client filesystem providers for unopened fork and import destinations.
All SDKs: Observe runtime extension-state changes through supported observer and notification methods.
.NET: Preserve the unopened-session filesystem resolver when client options are cloned.
Custom-agent catalog reload preserves the selected agent when multiple agent files share a display name.
Fixed an issue where finishing an MCP OAuth sign-in tab cancelled in an earlier session could interrupt a later session's sign-in that uses the same callback address.
SDK sessions use less CPU when subagents are waiting only for background shell commands to finish. Notification delivery and ordering are unchanged.
subagent.completed and subagent.failed no longer include nested sub-agents' tokens and tool calls, and nested sub-agents no longer overwrite an agent's model or workflow agent model.resolved.
Command hooks defined in files now use the hook file’s directory for COPILOT_HOOK_DIR even when the global env setting defines it. The hook’s own env block can still override it.
Changing the working directory in a session backed by a filesystem provider no longer probes the host filesystem to preload model policy. Model-policy enforcement is unchanged.
Fixed a Windows Go SDK issue where ForceStop or a timed-out Stop could leave the npm-installed Copilot runtime listening when launched with SpawnedTCPConnection. Shutdown now closes the runtime’s TCP listener without stopping intentionally detached processes.
Fix stale extension catalogs and transfer retiring canvases only after resident resume acceptance.
Pathless blob attachments the model can't receive natively are now saved to the session files directory and referenced by path instead of being omitted.
Expose structured field association and display filename metadata for built-in ask_user image results.
Fixed Windows Go SDK cleanup for Copilot runtimes started through a .bat launcher: ForceStop and a timed-out Stop now close the owned runtime's TCP listener.
Binary attachments sent as blob without a path are no longer saved as session files. Supported attachments can still be sent inline, but there is no automatic file fallback for unsupported or oversized attachments, or when a provider rejects an inline document.
For documents attached by path, the filename sent to the model comes from the file path rather than displayName.
MCP connector discovery preserves structured recovery errors in server status and no longer offers stale tools after a terminal connector discovery error.
Prompts reach the model sooner in long sessions where the main conversation’s context has never been cleared.
With COPILOT_OFFLINE=true, plugins.marketplaces.browse serves a previously fetched marketplace catalog from its cached checkout instead of checking a network remote, even when the cache is stale; a local mirror, explicit refreshes, plugin installs and first-time clones still read the remote.
Fixed a race where reopening a canvas with the same instance ID while its previous onClose callback is still running could dismiss the reopened canvas. It now stays open, its actions remain usable, and SDK hosts no longer receive a spurious session.canvas.removed event.
Catalogue selection requests no longer wait for handle expiry if the SDK host aborts while selection is still pending.
Named workflow agents now inherit or pair against the concrete model when spawned between Copilot Fusion turns.
Fixed git.moveWorktreeChanges to return movedChanges: false when Git worktree overrides, such as those used by vcsh or yadm, leave uncommitted changes in the original worktree.
Managed MCP deny patterns now match the full tool name advertised by the server when its tool ID is truncated, including when SDK permission handlers check for managed denials. Allow and ask rules are unchanged.
Fix MCP OAuth sign-in when the authorization server and issuer differ only by a root trailing slash.
The edit and str_replace tools now preserve the original line endings of unchanged lines when an edit uses only LF in a file that mixes LF and CRLF, avoiding spurious diff changes.
Fixed HTTPS requests through the credential proxy from SDK-launched Linux sandboxes so Python 3.13 clients can connect with default strict TLS verification when they trust the proxy’s CA.
Catalogue selections waiting on an interrupted main turn now return cancelled rather than waiting for the selection reference to expire.
Docs: the convenience model-list methods now point to the server-level models.list call for Auto and Copilot Fusion tier metadata, and the Auto tier docs show how to list the Fusion tiers the provider advertises as enabled.
Disabling host Git operations now also covers runtime repository lookups and commands previously missed by the session option.
Java SDK: Removed legacy positional compatibility constructors on generated records; use .builder() instead.
Local SDK sessions that opt into configuration discovery now respect saved disables for personal skills from the selected profile.
Fixed file edits in SDK sessions so that when the original and replacement text both end with a newline and the match skips blank lines, the edit no longer joins the next line, drops the file’s final newline, or removes an untouched blank line.
In SDK sessions, apply_patch, edit and str_replace_editor now keep a file’s UTF-8 byte order mark (BOM) at the start of the file, and its first-line indentation, when they change, delete or insert before the first line.
Adds experimental ephemeral session.feedback_nudge event, emitted (capped per user) when online signals indicate a clearly bad session.
Add extensionSources.session to let SDK hosts exclude session-owned extensions.
SDK sessions first published through an AHP host now include their Git repository identity in session listings and the first Mission Control event, without requiring a history export first.
HTTPS requests with no usable TLS trust roots now report a TLS trust store error instead of a proxy configuration error, whether or not a proxy is configured.
Fix the Go SDK's spawned stdio connection dropping final replies and events when the runtime exits.
Skills reload no longer skips an accepted MCP server when another discovery operation re-admits the same connection.
Add hooks.enableHostHooks session option to stop user and plugin hooks while keeping policy hooks, callbacks, explicit hook directories and repository hooks.