Skip to content

v1.0.33-preview.0

Pre-release
Pre-release

Choose a tag to compare

@copilot-cli-release-app copilot-cli-release-app released this 13 Nov 02:30
· 3 commits to main since this release
  • 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 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.completed for 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.