Repository navigation
v1.0.33-preview.0
Pre-release
Pre-release
·
3 commits
to main
since this release
- Fixed a CLI issue where the
/usageactivity 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, sostop()no longer leaves the old runtime running. session.workflow.runno longer fails when a SessionFs SQLite provider commits the run but reportspostCommitAmbiguous; the committed run starts.- .NET:
ListSessionsAsyncnow appliesSessionListFilter.WorkingDirectoryinstead of returning sessions from every directory. - Improved quota accuracy by refreshing plan quota from the Copilot user in
/usageandaccount.getQuota. - Fixed a runtime stability issue where the SDK host could abort if its standard error stream was closed.
- Marketplace browse results include
managedDesiredEnabledfor plugins controlled by managed settings; installing a plugin blocked by managed settings is refused with error data codemanaged_policy_blocked. - Go:
Ping,GetStatus,GetAuthStatus,ListModelsandRuntimePortno longer data-race a concurrentStart,StoporForceStop; duringStartthe first four wait for it to finish. - Managed
Shell(...),Bash(...), andPowerShell(...)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/flagsis now a regular expression, except a command path such asShell(/usr/bin/id)or an invalid regular expression, which are read as literal text and get amanagedSettings.validatewarning. - Add source skill install and removal APIs across all SDK languages.
- .NET: A call that waits for another caller's
StartAsyncto finish now stops when its ownCancellationTokenis cancelled. - Plugin list entries now include
team: truewhen 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:
ResumeSessionandDeleteSessionno longer race a concurrentStartunder 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.Startcalled after the runtime exited now starts a new runtime even when the old connection has not finished closing, instead of returningniland 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.rewindnow works on sessions stored through a session filesystem provider, and on sessions created withconfigDirectory; it used to fail withtruncation-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()andforceStop()called whilestart()is still connecting over TCP now end that connect right away, sostart()rejects andstop()returns at once instead of waiting up to 10 seconds for the connect timeout. - .NET:
CopilotClient.RuntimePortreturnsnullafterStopAsync,ForceStopAsyncor a failedStartAsyncof 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,getAuthStatusandlistModelscalled whilestart()is running now wait for it and then use the new connection, or fail with the start's error, instead of failing withClient not connectedor 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,RestartServerAsyncandConfig.AddAsync/UpdateAsyncacceptMcpStdioServerConfigandMcpHttpServerConfigwith unset optional fields again, instead of failing withtimeout: Expected integer. - Go:
Client.RuntimePortreturns 0 after aStartthat fails and stops the runtime the client started, instead of that runtime's port. AURIConnectionclient 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-toolrule 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_PATHis set to an empty value, instead of failing with "Cannot start process because a file name has not been provided". - Fixed
session.mcp.oauth.probeto reportneeds-authinstead offailedwhen a Streamable HTTP MCP server returns 401 with empty or whitespace-onlyWWW-Authenticateheaders. - 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.diffreturning 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 another model continues the turn on that model instead of failing.
- When ASYNC_SUBAGENTS is enabled, the task tool takes a wait timeout instead of a sync/background mode, and task agents stay reusable for follow-up messages.
- plugins.enable, plugins.disable, plugins.update and plugins.uninstall now fail with the file path when config.json cannot be parsed, instead of reporting no change or that the plugin is not installed.
- Deleting a session while one of its client tool handlers is running now publishes
external_tool.completedfor the outstanding request, so the handler's cancellation signal fires, as it does for abort. - Fixed an issue where a failed skills reload removed all SDK-provided skills.
- Fixed OAuth sign-in for remote MCP servers through proxies that require Kerberos (Negotiate) authentication.
- Protected local sessions can create, read and edit eligible extension sources while enforcing filesystem restrictions; provider and LSP permissions remain unchanged.
- Rewind points, rewind previews and conversation-and-files rewinds no longer count or report a file that the rewound turns left unchanged.