Skip to content

v2.0.0-preview.1

Pre-release
Pre-release

Choose a tag to compare

@copilot-sdk-mirror-writer copilot-sdk-mirror-writer released this 17 Nov 01:30
· 1 commit to main since this release
  • 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.