Skip to content

Releases

v2.0.0

Choose a tag to compare

@copilot-sdk-mirror-writer copilot-sdk-mirror-writer released this 17 Nov 16:50
  • Added PAC-aware system proxy routing support in the runtime, improving proxy handling in environments that use proxy auto-configuration.
  • The SDK now handles tokenizer warmup and process telemetry internally.
  • Remote session export refuses disabled or unresolved organization storage policy; SDK results expose export-start state and refusal warnings.
  • Defer allocator reclamation until disposed session data is released on opted-in Linux/glibc hosts, and preserve requests made during trim cooldown.
  • Fixed a runtime bug by adding the IPv6 unspecified address to the outbound request blocklist.
  • When streamer mode is enabled, models.list now masks hidden model names.
  • Fixed custom-agent list and reload returning incomplete catalogs during overlapping reloads or provider hydration, and stale catalogs after credential invalidation.
  • Fixed a bug where prompts could be altered when /after or /every text included the character U+0130.
  • Fixed a runtime bug where isAbortError could throw when an error message was not a string.
  • Session metadata and listing reuse unchanged log summaries and recover after transient log-read failures.
  • Built-in browser activation respects user preferences and managed policy, including after extension reconciliation.
  • Removed the unsupported prePRDescription and postResult variants from generated HookType contracts.
  • Preserve provider metadata in SDK model catalogs so provider information remains available when listing models.
  • Added ruleIndex to the session.fusion_resolved event payload.
  • Improved MCP OAuth compatibility by respecting advertised account-selection support and retrying a specific rejected selection once.
  • Clarified Copilot SDK documentation for pending permission recovery.
  • Sandbox deny rules support glob patterns, including hidden files and home-relative patterns, without changing literal grants.
  • SDK sessions now honor the host's COPILOT_MODEL_FAMILY setting when selecting the model family.
  • SDK clients now receive warnings related to live Marketplace plugins.
  • Runtime now loads .agents, .claude skills, and .claude agents from added directories.
  • Fixed an issue where session.mcp.startServer could ignore the provided configuration; it now honors the config passed by the caller.
  • Runtime now applies enabledPlugins from trusted non-repository folders during load, improving plugin activation consistency in Copilot SDK workflows.
  • Fixed a runtime issue where the grep tool now accepts flag names even when provided without a leading dash.
  • Preserve ACP context tier when switching models to keep context behavior consistent across model changes.
  • Local-model adoption and cleanup no longer open console windows on Windows.
  • Fixed MCP OAuth URL validation to reject backslash-obfuscated dot segments.
  • Improved runtime reliability: config key writes that are initially refused are now retried so updates are less likely to be lost.
  • Fix missing skill instructions when explicitly approving a tool permission after restarting the runtime.
  • Bugfix: INFO-level runtime logs no longer include MCP server peer information.
  • Fixed an issue where attachments could be dropped when a request was retried after rate limiting.
  • Normalized Responses MCP namespace names by trimming leading and trailing separators, keeping names that session history already used.
  • Azure OpenAI BYOK sessions on GPT-5.6/GPT-6 no longer send prompt_cache_breakpoint, restoring cross-turn prompt cache reuse.
  • Host tools that share the name of a built-in tool the session is not currently offering (for example exit_plan_mode outside plan mode) now run their handler instead of failing with "does not exist".
  • External tool calls no longer time out automatically after 30 minutes, allowing long-running human-in-the-loop workflows.
  • Fix intermittent custom-agent discovery failures when initial authentication completes during an SDK session's first agent scan.
  • Fixed a bug where LSP rootUri values resolving outside the repository Git root were accepted; they are now rejected.
  • Fix a race where an SDK connection closing could temporarily prevent another client from acquiring an idle Azure ML model family.
  • assistant.reasoning events now include the turnId, apiCallId and model of the model call that produced them.
  • Model-switch confirmations optionally report longContextLimit when the target model's higher context tier can fit the conversation.
  • Fixed a race that could leave shell or subagent completion notifications queued after an active turn finishes.
  • Fixed session.provider.add to accept whole-number token limits provided as floats (for example, 1000.0).
  • Forked sessions now keep the source session's SQL todo list (todos and todo_deps).
  • Fixed a bug where retried model calls could fail due to missing message IDs in streamed ACP chunks.
  • Runtime now captures image inputs and multimodal tool results in OpenTelemetry telemetry.
  • Fixed a Windows runtime bug in sandboxed child environments by standardizing PATH handling for more reliable command execution.
  • Fixed an issue where MCP OAuth tokens could fail to renew after being rejected during an idle liveness probe.
  • Managed settings: managedSettings.resolve/compose return the organization support URL as typed values.communication.support.url (experimental), so clients can link users to their org's help page.
  • Fix Python model capability token and vision limit serialization and preserve provider context-window configuration.
  • Fix assistant refusal:null replay for strict OpenAI-compatible BYOK providers.
  • Added experimental support for MCP skills in the runtime.
  • Python: Close owned runtime stdin during force_stop() so Windows launcher descendants can exit, without blocking the asyncio event loop.
  • Fix extension lifecycle state after a failed startup recovers through reload
  • Python: keep native runtime callbacks alive until their connection is confirmed closed, including after reader failures.
  • Align SDK OpenTelemetry capture settings with the standard GenAI environment variable while retaining legacy compatibility; usage events now expose the provider-returned response model separately from the requested model.
  • Fixed a client build performance issue by memoizing trust-anchor filtering to avoid re-filtering root certificates.
  • Standalone tool execution can recover after a session abort without starting another model turn.
  • Node.js: sendAndWait now honors timeouts above 2^31-1 ms, including Infinity, instead of timing out after 1 ms.
  • session.agent.list now returns the session's built-in agents when includeBuiltInAgents is true.
  • Fix plugin activation during managed-policy refresh and delivery of late background shell completion notifications.
  • Fixed a runtime bug where an LSP query that received a ContentModified response is now resent automatically.
  • Fixed a runtime OAuth callback issue by automatically retrying with a new MCP callback port if the previously saved port is refused.
  • Fixed Windows managed-sandbox admission probes attempting to launch a shell builtin without a shell.
  • Improved runtime behavior: the built-in GitHub MCP connection is now preserved across reloads when credentials are unchanged.
  • Sampling requests from MCP servers are now cancelled immediately when the host has not registered interest in sampling.requested, instead of waiting indefinitely.
  • Improved prompt-batch handling: if a user rejects one call, sibling prompts in the same batch now settle instead of staying pending.
  • .NET: Export tool callback activities through the github.copilot source so instrumented tool spans have observable parents.
  • On GNU/Linux, the runtime now prefers the operating system’s OpenSSL library.
  • Updated sandbox backends with Linux socket and io_uring restrictions and macOS path and terminal fixes.
  • Expose optional original tool-call IDs on preToolUse, postToolUse, and postToolUseFailure across all six SDKs, plus existing W3C tracing metadata in TypeScript, Python, Go, Rust, and Java.
  • Return an error when sending with an unavailable model instead of silently choosing another model.
  • Autopilot now stops automatically after an accepted plan is completed.
  • On macOS console hosts, OneAuth sign-in dialogs now open in the foreground.
  • Fix cached MCP OAuth renewal incorrectly requiring permissions from the original authorization request when the approved grant is narrower.
  • Fixed a bug where a custom agent with the same name as a built-in agent could be silently shadowed; a warning is now surfaced.
  • Fixed hooks.discover reporting an unsupported-effect error and omitting --plugin-dir hooks on the default runtime.
  • Enabled session telemetry for eligible Bring Your Own Key (BYOK) sessions.
  • Fix sandbox networking so private MCP destinations follow outbound and host rules independently of loopback permission.
  • Add mcpResultMeta to tool.execution_complete results so hosts can restore an MCP App tool result's _meta after resume.
  • Improved error reporting by surfacing structured Policy Helper failures in the runtime.
  • Go: A panic in a slash-command or elicitation handler no longer crashes the process; the command fails with the panic value and the elicitation is cancelled.
  • Source selections now reach the model consistently in immediate steering and batched messages, just as they do when sent while idle.
  • Go: A request no longer blocks forever when the connection to a CLI the SDK started closes while that CLI keeps running; it fails with "connection closed" after up to a second.
  • Plan and autopilot tools now stay in the tool list after the first send in those modes, even with a replace-mode system message, so switching agentMode per send no longer breaks prompt-cache reuse.
  • Fixed a runtime issue so installed plugins continue to work after moving the Copilot home directory.
  • Sandbox denial suggestions recognize Go-style filesystem and Unix-socket errors wh...
Read more

v2.0.0-preview.2

v2.0.0-preview.2 Pre-release
Pre-release

Choose a tag to compare

No SDK-facing changes in this release.

v2.0.0-preview.1

v2.0.0-preview.1 Pre-release
Pre-release

Choose a tag to compare

  • Fix a standalone session startup race between initial managed-policy publication and repository-hook loading.
  • Fixed a bug where LSP rename applied its WorkspaceEdit as a single change.
  • Fixed a runtime bug where abort requests could hang if the host did not respond to tool hook or bearer token callbacks.
  • session.rpc.shell.exec now honours a timeout above 4294967295 ms (capped there) or a fractional one (rounded up) instead of using the 30-second default, and rejects a negative or non-numeric timeout with an invalid-params error.
  • Fixed web_fetch to decode an XML document in the encoding its XML declaration names when the server sends no charset, instead of as UTF-8.
  • createSession and resumeSession now reject a workingDirectory that is relative (including ~) or is not a directory, instead of silently using the runtime's own directory.
  • Fixed empty input hints in session.commands.list for built-in commands that declare only choices.
  • session.options.update now rejects a workingDirectory that does not exist, is not a directory, or cannot be entered, and leaves the session in its current directory.
  • Fixed duplicate session.created and session.deleted events from the CLI SDK server.
  • Fixed: sign-in flows started with session.accounts.login.begin are cancelled when their session is disconnected, so they no longer block other sessions from signing in.
  • session.send, sendAndWait and sendMessages now reject a mode other than "enqueue" or "immediate" with an error, instead of silently queueing the message as "enqueue".
  • Fixed customizations.reload incorrectly reporting unloadable custom agent files as reloaded.
  • Protected sessions can read their selected extension SDK's authoring references without additional sandbox path grants.
  • Coalesce renewable GitHub CLI credential acquisition and retry a transient helper timeout once without switching accounts.
  • Fixed an issue where ACP clients could not leave autopilot in sessions started with --yolo.
  • Improved telemetry privacy by redacting credentials from engine message telemetry.
  • Python: Rename the internal copilot.generated package to copilot._generated; import protocol types through copilot.rpc or copilot.session_events.
  • Renamed public SDK identity branding to "Microsoft Copilot SDK".
  • Breaking: Group client and session options across all six SDKs and create/resume/open/update RPCs, keep configDirectory and enableConfigDiscovery at the session root, retain explicit spawned-versus-attached runtime connection factories with grouped ownership settings, and require SDK protocol 4.
  • Replace singular inference.provider with named provider connections and model rows, adding default-provider alias routing, explicit CAPI disablement, and consistent resume policy across SDKs.
  • Managed settings can make the built-in Browser Use plugin unavailable with features.browserUse: false.

v1.0.34

Choose a tag to compare

@copilot-cli-release-app copilot-cli-release-app released this 14 Nov 00:16
  • Fixed false MCP startup session.error events when quitting or switching sessions cancels in-progress MCP startup; genuine startup failures on live sessions are still reported.
  • Fixed session.plugins.list incorrectly reporting user-installed plugins as disabled when an organization requires managed plugins; enabled states now respect user settings unless explicitly overridden.
  • Fix taskAnalytics.classifyTrajectory retries rejecting an unchanged archive whose JSON object keys were stored in a different order. Results from earlier versions need one fresh analysis.
  • TeamPluginMarketplaceSource in session.plugins.getDefaults includes the Team's ref and path when it sets them.
  • Hardened TCP JSON-RPC servers to reject HTTP requests and disconnect clients sending invalid header names; standard SDK clients are unaffected.
  • ACP TCP servers now require loopback hosts and disconnect clients sending invalid UTF-8 or non-JSON lines; stdio behavior is unchanged.
  • Announced the transition to the Microsoft Copilot SDK.
  • Fixed retained Microsoft Entra metadata refresh and Microsoft 365 account projection consistency.
  • Fixed session.plugins.retryManaged on the standalone host to retry all or selected required plugins without waiting for the automatic retry pause, activate prepared plugins, and return per-plugin results and errors.
  • Add experimental saved-provider inspection, editing, and removal, with explicit session.provider updates for live application.
  • Sessionless discovery and inert plugin inventory now honor authenticated Team plugin defaults without changing saved preferences or activating contributions.
  • SDK sessions now use the model's preferred context tier when no explicit or saved tier is set; models without a preference retain existing behavior. Claude Haiku 5.5 sessions now default to a 936K prompt budget instead of 100K.
  • Defaulting to long context can incur higher token rates without explicit opt-in; billing still depends on actual prompt size.
  • Security-review scan tools disclose captured unchanged supporting context and distinguish changed-only, supporting-only, and mixed evidence blobs.
  • Fixed supported document attachments in GPT sessions using WebSocket Responses being sent as local file references instead of document contents.
  • Reduced peak memory usage and improved performance when forking sessions with large histories through sessions.fork.
  • Simplified sessions.fork write-failure messages from "Persistence error: I/O error: ..." to "I/O error: ...".
  • Windows SDK networking now enforces Windows certificate distrust even with custom CAs, and excludes distrusted certificates from trust bundles supplied to child processes.
  • Windows credential-proxy and affected tunneled HTTPS connections now use native Windows TLS, preserving revocation checks and support for non-exportable system client-certificate keys.
  • The native runtime no longer hangs at startup when another process holds its log directory's lock; it starts with process file logging disabled and a stderr warning.
  • session.rpc.history.setCompactionConfig({ model }) now applies to sessions using a custom (BYOK) provider: compaction summarizes on another model that provider serves, through the same provider.
  • Persisted session.usage_record events no longer store /interactions as the usage apiEndpoint, so runtimes released before that value can resume those sessions, and a usage record whose endpoint the runtime does not know now loads without it instead of failing the resume.
  • Fixed indexed search permanently falling back to scan-based search after temporary memory pressure. Sessions now retry within the indexing operation timeout, using scans until indexed search becomes available.
  • Enable dynamic workflows for Microsoft 365 accounts without requiring GitHub billing or BYOK configuration.
  • Preserve pending external tool requests when an SDK client disconnects during request publication.
  • Fix a race where subagent retirement after an external tool response could prevent the parent response from reaching the SDK.
  • Fixed plugins.install failing with "Marketplace not found" for an owner/repo:path source whose path contains @; it now installs from that repository path.
  • Fix providers.config.updateModel and updateProvider deleting saved capability and Azure settings that providers.config.read does not return.
  • Java: Javadoc now shows schema descriptions that contain a less-than sign as written, instead of an invalid input error or a hidden placeholder such as the token in Authorization: Bearer, and the SystemMessageMode.CUSTOMIZE and ToolResultObject.binaryResultsForLlm() references on SectionOverride, SectionOverrideAction, SystemMessageSections and ToolBinaryResult resolve.
  • A failed compaction reports the provider's error message in the session.history.compact error and in session.compaction_complete.error, without an internal host-rethrow prefix
  • BYOK providers on the WebSockets transport now run apiKeyCommand and bearerTokenProvider once per model request instead of twice.
  • Session AI credit limits now count the credits a session used before it was resumed, so a resumed session can no longer spend its full limit again.
  • Gemini models on the Interactions API stream a blank line between thought summaries in assistant.reasoning_delta, as the reasoning text of the same response has with streaming off
  • Fix in-process hosts ignoring COPILOT_DISABLE_KEYTAR from their isolated environment.
  • Node.js and Python: a relative CLI path (explicit path or COPILOT_CLI_PATH) is now checked in the client's working directory, where the runtime starts, instead of the process's current directory.
  • Python: CopilotClient.force_stop() on a TCP or URI connection no longer logs "Failed to parse incoming JSON-RPC message" with a traceback when a message was arriving as the connection closed.
  • Assisted permissions keep using the judge after a person approves an action too long for the judge to review, instead of falling back to manual prompts for the rest of the session.
  • Improved assisted permission checks in delegated sessions to distinguish agent claims from user authorization and better honor quoted user stop, pause, cancellation, and scope limits.
  • Fixed session listing with an empty filter to return the same sessions as an unfiltered call, including local sessions with no recorded working directory.
  • sessions.enrichMetadata now reports isDetached: true for a detached session that a sessions.list call with metadataLimit returned as not detached.
  • A sub-agent's client-tool call is now recorded as completed in the session history, and its external_tool.completed event carries the sub-agent's agentId like its request.
  • session.create and session.resume now report a model id the model list does not offer as not available when a reasoningEffort is also given, instead of as an unsupported reasoning effort.
  • Fixed an issue where an enabled plugin in a local directory marketplace whose source points to a file prevented all MCP servers from starting. The invalid plugin is now skipped with a warning identifying the plugin and path.
  • Fixed an issue where cancelling a finished sub-agent with session.tasks.cancel could leave the parent's session.idle event missing and sendAndWait pending after its background shells stopped.
  • API docs no longer name the nonexistent methods hooks.loadResources, user.settings.load, user.settings.governanceKeys and user.settings.unknownKeys or the nonexistent event session.context_info_changed; they name hooks.discover, user.settings.loadWithWarning, user.settings.listGovernanceKeys, user.settings.getUnknownKeysWarning and session.usage_info.
  • Fixed intention summaries for structured ask_user calls to show the question message instead of "Waiting for response"; legacy call summaries are unchanged.
  • Session events: session.permission_recovery attempts can carry an optional reviewIncomplete flag for a deferral caused by an automatic permission review that ended without a verdict (timeout, empty or unparseable reply).
  • Rewinding to a message sent with mode "immediate" while the agent was working now restores the files the agent changed in reply to it.
  • Fixed subagents ignoring session-wide usage when enforcing sessionLimits.maxAiCredits. Subagents now block further model calls once the soft cap is reached, make a final tool-free call when 10% or less remains, and skip response tool calls if the cap is exceeded during that response.
  • Fixed a lost queue wakeup when resuming during drain retirement.
  • Improve best-effort compatibility on unsupported macOS 13 systems without expanding official OS support. The bundled CLI requires macOS 13.5 or later; HPKE-dependent authentication now reports an explicit macOS 14 requirement.
  • All: Fixed Team plugin defaults after account changes while preserving explicit session credentials.

v1.0.34-preview.0

v1.0.34-preview.0 Pre-release
Pre-release

Choose a tag to compare

  • Fixed false MCP startup session.error events when quitting or switching sessions cancels in-progress MCP startup; genuine startup failures on live sessions are still reported.
  • Fixed session.plugins.list incorrectly reporting user-installed plugins as disabled when an organization requires managed plugins; enabled states now respect user settings unless explicitly overridden.
  • Fix taskAnalytics.classifyTrajectory retries rejecting an unchanged archive whose JSON object keys were stored in a different order. Results from earlier versions need one fresh analysis.
  • TeamPluginMarketplaceSource in session.plugins.getDefaults includes the Team's ref and path when it sets them.
  • Hardened TCP JSON-RPC servers to reject HTTP requests and disconnect clients sending invalid header names; standard SDK clients are unaffected.
  • ACP TCP servers now require loopback hosts and disconnect clients sending invalid UTF-8 or non-JSON lines; stdio behavior is unchanged.
  • Announced the transition to the Microsoft Copilot SDK.
  • Fixed retained Microsoft Entra metadata refresh and Microsoft 365 account projection consistency.
  • Fixed session.plugins.retryManaged on the standalone host to retry all or selected required plugins without waiting for the automatic retry pause, activate prepared plugins, and return per-plugin results and errors.
  • Add experimental saved-provider inspection, editing, and removal, with explicit session.provider updates for live application.
  • Sessionless discovery and inert plugin inventory now honor authenticated Team plugin defaults without changing saved preferences or activating contributions.
  • SDK sessions now use the model's preferred context tier when no explicit or saved tier is set; models without a preference retain existing behavior. Claude Haiku 5.5 sessions now default to a 936K prompt budget instead of 100K.
  • Defaulting to long context can incur higher token rates without explicit opt-in; billing still depends on actual prompt size.
  • Security-review scan tools disclose captured unchanged supporting context and distinguish changed-only, supporting-only, and mixed evidence blobs.
  • Fixed supported document attachments in GPT sessions using WebSocket Responses being sent as local file references instead of document contents.
  • Reduced peak memory usage and improved performance when forking sessions with large histories through sessions.fork.
  • Simplified sessions.fork write-failure messages from "Persistence error: I/O error: ..." to "I/O error: ...".
  • Windows SDK networking now enforces Windows certificate distrust even with custom CAs, and excludes distrusted certificates from trust bundles supplied to child processes.
  • Windows credential-proxy and affected tunneled HTTPS connections now use native Windows TLS, preserving revocation checks and support for non-exportable system client-certificate keys.
  • The native runtime no longer hangs at startup when another process holds its log directory's lock; it starts with process file logging disabled and a stderr warning.
  • session.rpc.history.setCompactionConfig({ model }) now applies to sessions using a custom (BYOK) provider: compaction summarizes on another model that provider serves, through the same provider.
  • Persisted session.usage_record events no longer store /interactions as the usage apiEndpoint, so runtimes released before that value can resume those sessions, and a usage record whose endpoint the runtime does not know now loads without it instead of failing the resume.
  • Fixed indexed search permanently falling back to scan-based search after temporary memory pressure. Sessions now retry within the indexing operation timeout, using scans until indexed search becomes available.
  • Enable dynamic workflows for Microsoft 365 accounts without requiring GitHub billing or BYOK configuration.
  • Preserve pending external tool requests when an SDK client disconnects during request publication.
  • Fix a race where subagent retirement after an external tool response could prevent the parent response from reaching the SDK.
  • Fixed plugins.install failing with "Marketplace not found" for an owner/repo:path source whose path contains @; it now installs from that repository path.
  • Fix providers.config.updateModel and updateProvider deleting saved capability and Azure settings that providers.config.read does not return.
  • Java: Javadoc now shows schema descriptions that contain a less-than sign as written, instead of an invalid input error or a hidden placeholder such as the token in Authorization: Bearer, and the SystemMessageMode.CUSTOMIZE and ToolResultObject.binaryResultsForLlm() references on SectionOverride, SectionOverrideAction, SystemMessageSections and ToolBinaryResult resolve.
  • A failed compaction reports the provider's error message in the session.history.compact error and in session.compaction_complete.error, without an internal host-rethrow prefix
  • BYOK providers on the WebSockets transport now run apiKeyCommand and bearerTokenProvider once per model request instead of twice.
  • Session AI credit limits now count the credits a session used before it was resumed, so a resumed session can no longer spend its full limit again.
  • Gemini models on the Interactions API stream a blank line between thought summaries in assistant.reasoning_delta, as the reasoning text of the same response has with streaming off
  • Fix in-process hosts ignoring COPILOT_DISABLE_KEYTAR from their isolated environment.
  • Node.js and Python: a relative CLI path (explicit path or COPILOT_CLI_PATH) is now checked in the client's working directory, where the runtime starts, instead of the process's current directory.
  • Python: CopilotClient.force_stop() on a TCP or URI connection no longer logs "Failed to parse incoming JSON-RPC message" with a traceback when a message was arriving as the connection closed.
  • Assisted permissions keep using the judge after a person approves an action too long for the judge to review, instead of falling back to manual prompts for the rest of the session.
  • Improved assisted permission checks in delegated sessions to distinguish agent claims from user authorization and better honor quoted user stop, pause, cancellation, and scope limits.
  • Fixed session listing with an empty filter to return the same sessions as an unfiltered call, including local sessions with no recorded working directory.
  • sessions.enrichMetadata now reports isDetached: true for a detached session that a sessions.list call with metadataLimit returned as not detached.
  • A sub-agent's client-tool call is now recorded as completed in the session history, and its external_tool.completed event carries the sub-agent's agentId like its request.
  • session.create and session.resume now report a model id the model list does not offer as not available when a reasoningEffort is also given, instead of as an unsupported reasoning effort.
  • Fixed an issue where an enabled plugin in a local directory marketplace whose source points to a file prevented all MCP servers from starting. The invalid plugin is now skipped with a warning identifying the plugin and path.
  • Fixed an issue where cancelling a finished sub-agent with session.tasks.cancel could leave the parent's session.idle event missing and sendAndWait pending after its background shells stopped.
  • API docs no longer name the nonexistent methods hooks.loadResources, user.settings.load, user.settings.governanceKeys and user.settings.unknownKeys or the nonexistent event session.context_info_changed; they name hooks.discover, user.settings.loadWithWarning, user.settings.listGovernanceKeys, user.settings.getUnknownKeysWarning and session.usage_info.
  • Fixed intention summaries for structured ask_user calls to show the question message instead of "Waiting for response"; legacy call summaries are unchanged.
  • Session events: session.permission_recovery attempts can carry an optional reviewIncomplete flag for a deferral caused by an automatic permission review that ended without a verdict (timeout, empty or unparseable reply).
  • Rewinding to a message sent with mode "immediate" while the agent was working now restores the files the agent changed in reply to it.
  • Fixed subagents ignoring session-wide usage when enforcing sessionLimits.maxAiCredits. Subagents now block further model calls once the soft cap is reached, make a final tool-free call when 10% or less remains, and skip response tool calls if the cap is exceeded during that response.
  • Fixed a lost queue wakeup when resuming during drain retirement.
  • Improve best-effort compatibility on unsupported macOS 13 systems without expanding official OS support. The bundled CLI requires macOS 13.5 or later; HPKE-dependent authentication now reports an explicit macOS 14 requirement.
  • All: Fixed Team plugin defaults after account changes while preserving explicit session credentials.

v1.0.33

Choose a tag to compare

@copilot-cli-release-app copilot-cli-release-app released this 13 Nov 13:56
  • Fixed a CLI issue where the /usage activity graph wrapped in narrow terminals; it now fits correctly.
  • The permission_prompt notification hook no longer runs for a permission request that Assisted Permissions approves without asking.
  • Fix .NET shell authentication cancellation cleanup callbacks being lost when a request finishes before queued notifications run.
  • Node.js: start() after a lost TCP connection now terminates the runtime process the client spawned before starting a new one, so stop() no longer leaves the old runtime running.
  • session.workflow.run no longer fails when a SessionFs SQLite provider commits the run but reports postCommitAmbiguous; the committed run starts.
  • .NET: ListSessionsAsync now applies SessionListFilter.WorkingDirectory instead of returning sessions from every directory.
  • Improved quota accuracy by refreshing plan quota from the Copilot user in /usage and account.getQuota.
  • Fixed a runtime stability issue where the SDK host could abort if its standard error stream was closed.
  • Marketplace browse results include managedDesiredEnabled for plugins controlled by managed settings; installing a plugin blocked by managed settings is refused with error data code managed_policy_blocked.
  • Go: Ping, GetStatus, GetAuthStatus, ListModels and RuntimePort no longer data-race a concurrent Start, Stop or ForceStop; during Start the first four wait for it to finish.
  • Managed Shell(...), Bash(...), and PowerShell(...) permission rules accept JavaScript regular expressions written as /pattern/flags, including patterns that contain ). A regular expression that runs longer than 1 second, cannot start within 1 second because too many others are running, or ignores case in a way that cannot be matched as JavaScript matches it counts as a match for deny and ask rules and does not approve the command for allow rules.
  • Behavior change: a managed shell rule argument written as /pattern/flags is now a regular expression, except a command path such as Shell(/usr/bin/id) or an invalid regular expression, which are read as literal text and get a managedSettings.validate warning.
  • Add source skill install and removal APIs across all SDK languages.
  • .NET: A call that waits for another caller's StartAsync to finish now stops when its own CancellationToken is cancelled.
  • Plugin list entries now include team: true when the signed-in account's GitHub Team assigns the plugin.
  • Add non-blocking workflow admission, workflow-scoped custom agents, and per-agent deadlines to Dynamic Workflows.
  • Fixed shell tool results and telemetry to report when attached shells were stopped by session.abort(), agent termination, sandbox changes, or provider policy stops instead of incorrectly attributing them to stop_bash. Shell termination behavior is unchanged.
  • Go: ResumeSession and DeleteSession no longer race a concurrent Start under the Go race detector.
  • Sandboxed local MCP initialization errors now identify the refused filesystem operation when a Node server crashes with its default stack trace.
  • Report enterprise MCP policy blocks instead of intentional server stops for MCP App requests.
  • Workspace MCP servers (.mcp.json, .github/mcp.json) with a relative cwd now start in that path under the directory holding the config file, instead of under the process working directory.
  • session.mcp.getToolTokenBreakdown and session.tools.getCurrentMetadata now report tools that generic client tool search left out of the last request as deferred, instead of counting them as sent in full.
  • Fixed Windows sandbox path handling to prevent PATH and tool environment entries with drive-like components from granting unintended read access to drive roots or session-directory ancestors.
  • Steered messages sent with mode immediate now include hasSubmittedTask on their user.message event, like other new user messages.
  • Node.js: start() called after the runtime exited now starts a new runtime right away, even when a process the runtime started still holds its output open, instead of returning while the client stays on the exited runtime.
  • Java, Python, and Rust now honor COPILOT_CLI_PATH without silently substituting another runtime when the selected installation is invalid.
  • Go: Client.Start called after the runtime exited now starts a new runtime even when the old connection has not finished closing, instead of returning nil and leaving the client on the exited runtime.
  • Python: start() called after a request failed because the connection to the runtime was lost now starts a new connection instead of returning while the client is still on the closed one.
  • session.history.rewind now works on sessions stored through a session filesystem provider, and on sessions created with configDirectory; it used to fail with truncation-failed.
  • Model-switch messages and compaction confirmations now display preview and hidden models as “Hidden Model N” when streamer mode is enabled.
  • excludedTools that is not an array of strings is now rejected with an error instead of making every subagent of the session fail.
  • Node.js: stop() and forceStop() called while start() is still connecting over TCP now end that connect right away, so start() rejects and stop() returns at once instead of waiting up to 10 seconds for the connect timeout.
  • .NET: CopilotClient.RuntimePort returns null after StopAsync, ForceStopAsync or a failed StartAsync of a runtime the client started, instead of the stopped runtime's port. A client of an external runtime keeps its configured port.
  • Added experimental sessions.hasEvents and shell.buildInteractiveEnvironment methods across all six SDKs, with Node.js payload types available from the package root.
  • Java RPC diagnostics now redact hostEnvironment and returned environment fields without changing request or response contents.
  • Generated Rust Debug, Python repr, and Java toString omit interactive-shell environment maps without changing wire values.
  • Fixed late cancellation of a completed user-requested shell command incorrectly aborting the next command that reuses its request ID.
  • Fixed excessive memory use in session.workspaces.diff for large untracked files; oversized files remain marked as truncated.
  • Workspace diffs now show untracked symlinks by their target path without opening the target, avoiding hangs and unintended reads outside the repository.
  • Workspace diffs now preserve executable permissions in diff headers for untracked files.
  • Go and Python: Start/start() called after the stdio runtime exited now starts a new runtime, even when a process the runtime started still holds its output open, instead of returning while the client stays on the exited runtime.
  • Node.js, Python: ping, getStatus, getAuthStatus and listModels called while start() is running now wait for it and then use the new connection, or fail with the start's error, instead of failing with Client not connected or sending their request before the connection handshake.
  • .NET and Java: StartAsync()/start() after the runtime process exits now starts a new runtime instead of succeeding on the dead connection.
  • .NET: StartServerAsync, RestartServerAsync and Config.AddAsync/UpdateAsync accept McpStdioServerConfig and McpHttpServerConfig with unset optional fields again, instead of failing with timeout: Expected integer.
  • Go: Client.RuntimePort returns 0 after a Start that fails and stops the runtime the client started, instead of that runtime's port. A URIConnection client keeps its configured port.
  • Fixed userPromptSubmitted hooks so additionalContext from every hook, including extensions that join a session, reaches the model in run order instead of only the last hook's.
  • Built-in CLI documentation now includes --allow-tool rule examples, clarifies that rules apply only to the current run, and points to the full permission syntax.
  • .NET: a client that spawns its runtime now starts the bundled runtime when COPILOT_CLI_PATH is set to an empty value, instead of failing with "Cannot start process because a file name has not been provided".
  • Fixed session.mcp.oauth.probe to report needs-auth instead of failed when a Streamable HTTP MCP server returns 401 with empty or whitespace-only WWW-Authenticate headers.
  • SDK clients can create sessions on AHP hosts launched with --host-allow-session-creation alongside --host-ahp or --host-environment, without changing saved settings.
  • Child system notifications preserve their subagent attribution in session event streams.
  • Hosted programmatic tool calling supports suffixed OpenAI model IDs.
  • Malformed config.json files are now preserved instead of overwritten during startup or state updates. Sessions warn and continue without the saved state until the file is fixed.
  • On macOS, sessions that allow the temp directory now also allow the user's own files under /tmp without a path permission request.
  • Steered messages sent with mode immediate now carry the running turn's parentAgentTaskId on their user.message event, like the turn's first message.
  • Fixed session.workspaces.diff returning garbled added lines for untracked binary files; it now returns a binary-file notice instead.
  • A waiting session.eventLog.read no longer spins until its deadline after compaction or a history rewrite, and no longer skips events emitted after compaction removed earlier events.
  • Fixed session.workspaces.diff to list copied files as added under their new names when Git copy detection is enabled, without duplicating source entries or including source edits in copy patches.
  • Fixed session.workspaces.diff omitting the last listed file when its name ends in a space.
  • Improved runtime behavior so steer requests sent at the end of a turn are processed immediately instead of waiting behind background agent work.
  • An Auto session whose token renewal moves to an...
Read more

v1.0.33-preview.0

v1.0.33-preview.0 Pre-release
Pre-release

Choose a tag to compare

  • Fixed a CLI issue where the /usage activity graph wrapped in narrow terminals; it now fits correctly.
  • The permission_prompt notification hook no longer runs for a permission request that Assisted Permissions approves without asking.
  • Fix .NET shell authentication cancellation cleanup callbacks being lost when a request finishes before queued notifications run.
  • Node.js: start() after a lost TCP connection now terminates the runtime process the client spawned before starting a new one, so stop() no longer leaves the old runtime running.
  • session.workflow.run no longer fails when a SessionFs SQLite provider commits the run but reports postCommitAmbiguous; the committed run starts.
  • .NET: ListSessionsAsync now applies SessionListFilter.WorkingDirectory instead of returning sessions from every directory.
  • Improved quota accuracy by refreshing plan quota from the Copilot user in /usage and account.getQuota.
  • Fixed a runtime stability issue where the SDK host could abort if its standard error stream was closed.
  • Marketplace browse results include managedDesiredEnabled for plugins controlled by managed settings; installing a plugin blocked by managed settings is refused with error data code managed_policy_blocked.
  • Go: Ping, GetStatus, GetAuthStatus, ListModels and RuntimePort no longer data-race a concurrent Start, Stop or ForceStop; during Start the first four wait for it to finish.
  • Managed Shell(...), Bash(...), and PowerShell(...) permission rules accept JavaScript regular expressions written as /pattern/flags, including patterns that contain ). A regular expression that runs longer than 1 second, cannot start within 1 second because too many others are running, or ignores case in a way that cannot be matched as JavaScript matches it counts as a match for deny and ask rules and does not approve the command for allow rules.
  • Behavior change: a managed shell rule argument written as /pattern/flags is now a regular expression, except a command path such as Shell(/usr/bin/id) or an invalid regular expression, which are read as literal text and get a managedSettings.validate warning.
  • Add source skill install and removal APIs across all SDK languages.
  • .NET: A call that waits for another caller's StartAsync to finish now stops when its own CancellationToken is cancelled.
  • Plugin list entries now include team: true when the signed-in account's GitHub Team assigns the plugin.
  • Add non-blocking workflow admission, workflow-scoped custom agents, and per-agent deadlines to Dynamic Workflows.
  • Fixed shell tool results and telemetry to report when attached shells were stopped by session.abort(), agent termination, sandbox changes, or provider policy stops instead of incorrectly attributing them to stop_bash. Shell termination behavior is unchanged.
  • Go: ResumeSession and DeleteSession no longer race a concurrent Start under the Go race detector.
  • Sandboxed local MCP initialization errors now identify the refused filesystem operation when a Node server crashes with its default stack trace.
  • Report enterprise MCP policy blocks instead of intentional server stops for MCP App requests.
  • Workspace MCP servers (.mcp.json, .github/mcp.json) with a relative cwd now start in that path under the directory holding the config file, instead of under the process working directory.
  • session.mcp.getToolTokenBreakdown and session.tools.getCurrentMetadata now report tools that generic client tool search left out of the last request as deferred, instead of counting them as sent in full.
  • Fixed Windows sandbox path handling to prevent PATH and tool environment entries with drive-like components from granting unintended read access to drive roots or session-directory ancestors.
  • Steered messages sent with mode immediate now include hasSubmittedTask on their user.message event, like other new user messages.
  • Node.js: start() called after the runtime exited now starts a new runtime right away, even when a process the runtime started still holds its output open, instead of returning while the client stays on the exited runtime.
  • Java, Python, and Rust now honor COPILOT_CLI_PATH without silently substituting another runtime when the selected installation is invalid.
  • Go: Client.Start called after the runtime exited now starts a new runtime even when the old connection has not finished closing, instead of returning nil and leaving the client on the exited runtime.
  • Python: start() called after a request failed because the connection to the runtime was lost now starts a new connection instead of returning while the client is still on the closed one.
  • session.history.rewind now works on sessions stored through a session filesystem provider, and on sessions created with configDirectory; it used to fail with truncation-failed.
  • Model-switch messages and compaction confirmations now display preview and hidden models as “Hidden Model N” when streamer mode is enabled.
  • excludedTools that is not an array of strings is now rejected with an error instead of making every subagent of the session fail.
  • Node.js: stop() and forceStop() called while start() is still connecting over TCP now end that connect right away, so start() rejects and stop() returns at once instead of waiting up to 10 seconds for the connect timeout.
  • .NET: CopilotClient.RuntimePort returns null after StopAsync, ForceStopAsync or a failed StartAsync of a runtime the client started, instead of the stopped runtime's port. A client of an external runtime keeps its configured port.
  • Added experimental sessions.hasEvents and shell.buildInteractiveEnvironment methods across all six SDKs, with Node.js payload types available from the package root.
  • Java RPC diagnostics now redact hostEnvironment and returned environment fields without changing request or response contents.
  • Generated Rust Debug, Python repr, and Java toString omit interactive-shell environment maps without changing wire values.
  • Fixed late cancellation of a completed user-requested shell command incorrectly aborting the next command that reuses its request ID.
  • Fixed excessive memory use in session.workspaces.diff for large untracked files; oversized files remain marked as truncated.
  • Workspace diffs now show untracked symlinks by their target path without opening the target, avoiding hangs and unintended reads outside the repository.
  • Workspace diffs now preserve executable permissions in diff headers for untracked files.
  • Go and Python: Start/start() called after the stdio runtime exited now starts a new runtime, even when a process the runtime started still holds its output open, instead of returning while the client stays on the exited runtime.
  • Node.js, Python: ping, getStatus, getAuthStatus and listModels called while start() is running now wait for it and then use the new connection, or fail with the start's error, instead of failing with Client not connected or sending their request before the connection handshake.
  • .NET and Java: StartAsync()/start() after the runtime process exits now starts a new runtime instead of succeeding on the dead connection.
  • .NET: StartServerAsync, RestartServerAsync and Config.AddAsync/UpdateAsync accept McpStdioServerConfig and McpHttpServerConfig with unset optional fields again, instead of failing with timeout: Expected integer.
  • Go: Client.RuntimePort returns 0 after a Start that fails and stops the runtime the client started, instead of that runtime's port. A URIConnection client keeps its configured port.
  • Fixed userPromptSubmitted hooks so additionalContext from every hook, including extensions that join a session, reaches the model in run order instead of only the last hook's.
  • Built-in CLI documentation now includes --allow-tool rule examples, clarifies that rules apply only to the current run, and points to the full permission syntax.
  • .NET: a client that spawns its runtime now starts the bundled runtime when COPILOT_CLI_PATH is set to an empty value, instead of failing with "Cannot start process because a file name has not been provided".
  • Fixed session.mcp.oauth.probe to report needs-auth instead of failed when a Streamable HTTP MCP server returns 401 with empty or whitespace-only WWW-Authenticate headers.
  • SDK clients can create sessions on AHP hosts launched with --host-allow-session-creation alongside --host-ahp or --host-environment, without changing saved settings.
  • Child system notifications preserve their subagent attribution in session event streams.
  • Hosted programmatic tool calling supports suffixed OpenAI model IDs.
  • Malformed config.json files are now preserved instead of overwritten during startup or state updates. Sessions warn and continue without the saved state until the file is fixed.
  • On macOS, sessions that allow the temp directory now also allow the user's own files under /tmp without a path permission request.
  • Steered messages sent with mode immediate now carry the running turn's parentAgentTaskId on their user.message event, like the turn's first message.
  • Fixed session.workspaces.diff returning garbled added lines for untracked binary files; it now returns a binary-file notice instead.
  • A waiting session.eventLog.read no longer spins until its deadline after compaction or a history rewrite, and no longer skips events emitted after compaction removed earlier events.
  • Fixed session.workspaces.diff to list copied files as added under their new names when Git copy detection is enabled, without duplicating source entries or including source edits in copy patches.
  • Fixed session.workspaces.diff omitting the last listed file when its name ends in a space.
  • Improved runtime behavior so steer requests sent at the end of a turn are processed immediately instead of waiting behind background agent work.
  • An Auto session whose token renewal moves to an...
Read more

Runtime 1.0.113-0.unstable.r43977958116.g150b9c6

Choose a tag to compare

Public unstable runtime 1.0.113-0.unstable.r43977958116.g150b9c6
Source: 150b9c6656492f7d90a35e7cc85141e8fc71a823
Visibility: public

Runtime 1.0.106-9.unstable.r43755488033.g11df7b2

Choose a tag to compare

Public unstable runtime 1.0.106-9.unstable.r43755488033.g11df7b2
Source: 11df7b2f4261f1febf57351922f4daf3ba33dc3a
Visibility: public

Runtime 1.0.106-8.unstable.r43566476370.g869eef3

Choose a tag to compare

Public unstable runtime 1.0.106-8.unstable.r43566476370.g869eef3
Source: 869eef35cdd43467e00d49e3e203bef13719e015
Visibility: public