Skip to content

v2.0.7

Latest

Choose a tag to compare

@copilot-sdk-bot copilot-sdk-bot released this 03 Dec 18:31
· 3 commits to main since this release
  • Fixed an intermittent Windows issue where a headless SDK host could announce its endpoint but omit the startup message and selected workspace from its main process log.
  • Plugin and MCP discovery warnings shown by SDK hosts now identify each repository settings file that could not be loaded and explain why it could not be read or parsed.
  • SDK sessions now honor saved launch approvals for user-installed extensions across all repositories and folders or within an approved folder and its descendants. Folder trust is still required, and explicit denials take precedence.
  • Extension launch permission prompts now include an experimental rememberedConsent: true when the session is in Autopilot and a remembered consent covers the extension's current installation and requested capabilities. Hosts can use it to decide whether that consent may stand in for a person; prompts are otherwise unchanged.
  • In Assisted Autopilot, a permission.completed event for a permission-recovery block now reports decisionSource: "unattended_fallback" instead of "host_policy", because no person or host policy decided it.
  • Fixed an Assisted Autopilot issue where denying a tool call before it started could prevent unrelated later calls from being reviewed for approval.
  • SDK hosts now receive a valid permission decision context with surface: "sdk" for automatic Assisted Autopilot approvals.
  • Sandbox reset requests can preserve newer explicit session choices with an optional runtime choice fence.
  • Rust clients can retain sandbox choice revisions in complete typed events with SandboxChoiceEvent and its read-only accessors.
  • Fixed git.moveWorktreeChanges so private files and directories left behind by a partially failed move no longer gain broader permissions.
  • When the user LSP configuration cannot be parsed, lsp.list and session.lsp.list now report the JSON syntax error and its line and column in warnings instead of lspServers must be an object. The server list is unchanged.
  • Fixed an intermittent SDK client shutdown error that could occur when the runtime exited before indexing cleanup finished. The 10-second shutdown deadline is unchanged.
  • Fixed plugins.update so plugins installed directly from a directory, repository, or URL stay disabled after an update. If the source is unchanged, the update now correctly returns changed: false.
  • AHP clients can now pass an optional string-to-string map in createTerminal’s _meta["copilot.env"] to set or override environment variables for that terminal only. Host shell and integration settings take precedence, invalid maps are rejected, and the map is redacted from protocol traces.
  • user.settings.edit and user.settings.update now preserve effective values for settings you don’t change in footer, tabs, sidebar, subagents, workflows, ide, voice, and builtInAgents. Canonical keys take precedence over aliases, and aliases ignored on load no longer block saves.
  • Conditional user.settings.update calls now check effective values in these groups. user.settings.edit reports unchanged when the requested value is already in effect, even if saving removes a conflicting alias.
  • Fix incorrect MCP server disables when On-Device Registry discovery overlaps.
  • Fixed /env to report no custom instructions loaded for local SDK sessions created with skipCustomInstructions enabled.
  • On Windows, sandboxed Python and pip commands can now read the machine-wide %PROGRAMDATA%\pip\pip.ini and use its configured package indexes when allowDevToolAccess is enabled and sandbox policy permits it.
  • Update .NET, Java, and Rust SDK dependencies while retaining downlevel .NET compatibility.
  • Tool execution complete events now carry an optional experimental sensitivityLabel on result when the tool reports a sensitivity label.
  • SDK sessions now use absolute paths for scoped instruction files so the agent can open the correct file when the working directory differs from the repository root.
  • Fixed autopilot background-completion runs splitting an open request's response across turns in AHP sessions; completions after the request ends open their own turn.
  • Fixed session resume failures when continuation is disabled or history contains stale errors or delayed turn-end events and the runtime cannot report its mode.
  • Session resume now fails rather than guessing turn grouping when background completions require a mode unavailable from both history and the runtime.
  • Chat truncation now includes background notifications belonging to removed turns and rejects cuts that would also remove events from retained turns.
  • Copilot Fusion review and follow-up phases now receive the latest long ask_user answer whole when the 8 KiB budget for recorded interactions has room for it, instead of only its first 2 KiB.
  • MCP reloads no longer mistake GitHub API rate limits for policy denials. During rate limiting, reloads continue to enforce the last valid registry policy if it’s no more than 24 hours old. Non-default MCP servers remain blocked if no recent policy is available or GitHub denies access to the policy.
  • Remove the experimental session.tools.getBuiltinAgentFlagOverrides method and the built-in task agent. Use general-purpose for delegation.
  • When a background shell command finishes after an SDK Autopilot run stops, the next message includes its result and the agent can read its exit status, even if the command produced no output.
  • Canvases from session-scoped extensions are now reported under their full discovery ID (session:SESSION_ID:NAME), matching extensions.list, instead of session:NAME. A canvas scaffolded with extensions_manage now includes an extension.json so it loads on demand.
  • On Windows, SDK hosts running without a console no longer open console windows when starting a local model server or stopping a Codespaces tunnel. Local model output still reaches an attached terminal.
  • sessions.importSemantic and memories.importSemantic accept a version written as 1.0 (or another JSON spelling of 1) again, as through 1.0.114.
  • SDK sessions now automatically retry model requests and model listings once at the updated Copilot endpoint if a plan change causes the old endpoint to return 401 Unauthorized. Invalid credentials still surface the original authorization error.
  • instructions.discover now lists an instruction file whose excludeAgent is one string holding a comma list or padding, as sessions load it.
  • Add includeUtilityModels to rpc.models.list to list the utility models the runtime recognizes (marked utility: true); sessions on them send every request as background work.