Skip to content

v1.0.30-preview.0

Pre-release
Pre-release

Choose a tag to compare

@copilot-cli-release-app copilot-cli-release-app released this 07 Nov 00:42
· 20 commits to main since this release
  • Preserve proxy 407 errors for unsupported authentication challenges without waiting for unused target TLS configuration.
  • Sandbox config: add userPolicy.filesystem.enumeratePaths (Windows only), granting enumerate-only access to the listed paths.
  • Fixed: an empty sendMessages batch after a completed Claude turn no longer fails with "This model does not support assistant message prefill".
  • Node.js: when a tool result cannot be sent to the runtime, the SDK now logs the failure and answers the tool call with the error instead of leaving it unanswered.
  • Telemetry header helpers avoid blocking-pool admission when their executable path requires no filesystem search.
  • Reasoning effort changes made during a tool call now apply to the next model request without waiting for another user message.
  • Session opens that fail during post-construction initialization now await native-registration retirement before reporting the original error.
  • Requests to OpenAI-compatible chat-completions providers no longer include an internal message field on skill and tool messages.
  • Creating or resuming a session, or calling setTools, with two tools of the same name now fails with an error naming the tool, instead of offering the model the first definition while some SDKs ran the last handler.
  • Copilot SDK runtime now advertises MCP Apps only when a renderer is configured.
  • A customAgents entry that a built-in agent shadows now gets the session.custom_agents_updated warning without enableConfigDiscovery, and subagent.started no longer reports its description for the built-in run.
  • Java SDK replaces SpotBugs nullability annotations with JSpecify 1.0.0.
  • Avoid waiting for MCP transport handshakes during managed-policy restoration when matching cached tools are available.
  • Support managed settings assignments that enable plugins by default.
  • Python: with the TCP transport, the SDK now reads the runtime's stderr for as long as the runtime runs, so the runtime can no longer block on a full pipe, and a runtime that exits before announcing its port is reported with its exit code and stderr.
  • .NET: a SessionFs SQLite provider can return SQL NULL as DBNull.Value (what ADO.NET readers return); such cells are now sent as null instead of failing the query.
  • Fixed scheduled and queued SDK-registered slash commands not running their handlers.
  • Java and Python: a system message section transform that returns null or None now leaves the section unchanged, instead of removing it (Java) or replacing it with "None" (Python).
  • Fixed disabledSkills, session.skills.disable and session.skills.enable to match a skill name in any letter case, as invoking the skill does, instead of silently changing nothing when the case differs.
  • Blob attachments with a MIME type the runtime cannot send now reach the model as their display name and an "omitted" note instead of being dropped silently.
  • A refusal from an OpenAI model is now returned as the assistant's reply instead of failing the turn with "No response was returned".
  • Prevent initial managed-policy publication from invalidating repository hook loading during session creation.
  • Adds experimental decisions.ask and models.list decisionModels for Copilot decision models, behind the DECISIONS_API flag.
  • Session event streams no longer include the internal session.memory_changed and instruction.update_delivery events, which the SDKs do not model (.NET reported them as unknown).
  • Add experimental memory.storeMemory callback so apps can store agent memories in their own storage.
  • Fixed view continuation skipping line suffixes at page boundaries and explicitly marked partial output from oversized lines.
  • MAI Code 2 and MAI Code 2 Flash sessions now include model safety guidance in the existing SDK safety section, independently of identity customization; their child agents retain the same model policy.
  • Experimental MCP skills now expose readable server-qualified names, reuse cached discovery metadata, and avoid consent failures caused by catalog-only updates.
  • Session credentials set with accounts.set (setCredentials) or gitHubAuth.login are now refused when the supplied login is not the token's user, and no longer create a second account for a case-only variant of a saved login.
  • Python, .NET, Go, Rust and Java: when a tool result fails to send, the SDK now logs the failure and answers the tool call with the error instead of leaving the turn waiting
  • session.plan.readSqlTodos and readSqlTodosWithDependencies now read a SessionFs SQLite database instead of always answering empty.
  • Rust: the session_fs example now implements every core SessionFsProvider method and creates a session, and the SessionFsProvider docs say to implement all ten core methods instead of only the ones a backing store needs.
  • The Node.js, Python, Go and Rust manual tool resume samples now set a permission handler and stop clients gracefully, so they complete instead of hanging at the permission prompt.
  • Sessions whose client tools returned contents, causalDependencies or remediation values outside the event schema can be resumed again, instead of failing with "Session file is corrupted".
  • Add LSP inventory, warmup, startup probes, enablement, and shutdown APIs.
  • GitHub service calls made while a session's first sign-in is still resolving no longer fail with "The bound session credential source changed".
  • .NET: a tool whose AIFunction returns a string, for example through AIFunctionFactoryOptions.MarshalResult or an AIFunction subclass, now sends that text to the model as-is instead of as a quoted JSON string.
  • Rust, Java, Python: concurrent installs of the bundled CLI no longer replace a copy another process is already running, which could make the first connection fail on Linux.
  • Java: a system message section transform callback that throws or returns null no longer hangs the session; the section keeps its original text, as it does when the callback's future fails.
  • Session setup no longer holds the registry lock while waiting for another operation on that session.
  • Live tool discovery no longer reports a closed session when an LSP client reset publishes its next generation.
  • Fix diagnostic memory sampling prolonging native runtime teardown.
  • Fixed permission requests waiting for host event acknowledgements after a response was already settled.
  • Local-model registry lookup honors nonempty COPILOT_HOME even if HOME and USERPROFILE are unset.
  • Go: a canvas action that returns a ToolResult without ResultType now sends its text and images to the model like a tool result, instead of the whole value as JSON text.
  • Add an optional permissionMode to session create and resume configs so a session starts in Manual, Assisted or Allow all mode before its first turn or resumed work; the applied result is available on the session.
  • Replaced the experimental kerberosAuth client option with an experimental network option whose resolveProxy and authenticateNegotiate callbacks let the SDK host decide the runtime's proxies, or leave a request to the runtime's own proxy resolution, and supply its Kerberos tokens.
  • Python: a tool, slash command, elicitation, skill provider or memory store handler that raises a BaseException that is not an Exception, such as pytest.fail(), now fails its request instead of leaving it unanswered.
  • Allocate exclusively owned temporary directories for macOS language-server startup probes.
  • Java: a storeMemory callback that throws a non-fatal Error, such as AssertionError, now fails the store_memory call promptly instead of leaving it unanswered until the 60-second timeout.
  • Fix .NET client shutdown racing in-flight JSON-RPC sends and preserve terminal error stack traces.
  • Java: a slash command or elicitation handler that throws an Error, such as an AssertionError, now fails or cancels its request instead of leaving it unanswered.
  • Python: Pending RPC requests now fail when the client is stopped instead of waiting indefinitely.
  • MCP deny rules now match the tool name the MCP server advertises as well as the sanitized name exposed to the model.
  • .NET: Fix native resource leaks when in-process client startup fails before connection setup completes.
  • Fixed cold session create and resume failing with "Custom agent not found" when the requested agent comes from a plugin enabled by enterprise managed settings.
  • Preserve SDK correlation IDs in telemetry emitted during native session creation and cold resume.
  • A turn that ends while the session event log cannot be written now still emits session.idle, so sendAndWait no longer times out on a completed turn.
  • Added Auto mode recovery for failed explicit-model requests in the Copilot SDK.
  • The SDK now rejects HTTPS runtime URLs.
  • Correct large-tool-output documentation to match the runtime's default threshold of 20480 bytes.
  • Retry failed local MCP connections when their effective sandbox launch policy changes.
  • In-workspace reads are approved without a judge call.
  • Assisted Autopilot no longer asks a human for permission.
  • Assisted Autopilot denials return feedback to the agent.
  • Required denied work ends with outcome blocked.
  • session.task_complete adds blockedActions.
  • Task blockers add reason permission_recovery_run_limit.
  • Hosts should render blocker and blockedActions.
  • Owning hosts can call internal session.ui.handleHuman*.
  • handleHuman* covers ask_user, user input, plan exit.
  • handleHuman* answers count as human input for the judge.
  • Generic handlePending* answers stay non-authoritative.
  • Permission requests carry assistedApprovalAssessment.
  • The assessment shows judge outcome, exclusion or failure.
  • permission.completed stays the authoritative result.
  • Add assistedApprovalContext to permissions.configure.
  • Judge host context is bounded, per-source and advisory.
  • Shell command analysis always runs for SDK sessions.
  • Read-only shell commands no longer ask for permission.
  • enableScriptSafety is deprecated and ignored.
  • Sandbox-bypass requests never offer session approval.
  • PermissionDecisionContext adds optional userFeedback.
  • userFeedback reaches only restricted telemetry.
  • PermissionAssistedApproval adds judge evaluationId.
  • extension-permission-access requests skip the judge.
  • Extension capability requests need explicit user consent.
  • Approval reasonCode adds extension-permission-access.
  • Assisted judge calls no longer count as premium requests.
  • On Linux, language servers are no longer told that the files in a directory were deleted when the directory is renamed away and straight back.
  • release note from following text with a blank line.`). Another tag, a heading, a list, a fence or a comment may still follow directly. Otherwise descriptions parse as before, one note per line. This came from the deep review's finding.
  • MCP tools/call requests now carry the runtime tool call ID in _meta["com.github.copilot/toolCallId"].
  • user.message events carry the clientTurnId of the send that delivered the message, when one was supplied.
  • send and sendAndWait accept an optional clientTurnId, which the runtime adds to MCP tools/call requests in that turn as _meta["com.github.copilot/turnId"].
  • Add session.model.startupAdmission to read startup model state and claim model enablement.
  • Attaching an empty PDF or Office file no longer fails the turn on models that read documents natively; it is passed as a file reference instead.
  • Rust: a tool handler that panics now fails its tool call with the error "tool handler panicked" instead of leaving the call unanswered until the turn is aborted.
  • Add allowMultipleToolCalls to session creation and resume to request single-call model responses while preserving existing parallel defaults.
  • Rust: the continue_pending_work docs now say to hand off a session with Client::stop, because Client::force_stop can lose pending work when it terminates a runtime the client started.
  • Fixed team customizations and feedback uploads ignoring SDK client and OS proxy settings.
  • Java: a user input, exit plan mode or auto mode switch handler that throws an Error (such as an AssertionError) is now answered with an error instead of leaving the turn waiting.
  • On Linux, language servers are now told when a directory is renamed while other directories in the workspace are being created and removed, such as during a package install.