Skip to content

v2.0.2-preview.3

Pre-release
Pre-release

Choose a tag to compare

@copilot-sdk-bot copilot-sdk-bot released this 21 Nov 02:10
· 26 commits to main since this release
  • Reduced telemetry and managed plugin overhead in SDK sessions, including sessions that use bring-your-own-key providers.
  • SDK session events published while OpenTelemetry export is disabled are no longer exported if a later settings update enables export.
  • Fixed a race during plugin initialization that could cause SDK session creation or resume to fail.
  • session.send accepts agentAuthored: true for a message an agent wrote that the host delivers in the user role, such as an agent-created session's kickoff; automatic permission decisions then treat it as another agent's message, not the user's. Set it on the generated session.send request, or with SendRequest::with_agent_authored in Rust.
  • The Copilot App can use the native Gemini Interactions API for supported Gemini models when the experiment is enabled.
  • Cloud-task deletion supports an optional credential check before HTTP.
  • Session teardown retires plugin work before its credential service closes.
  • Session shutdown preserves the compaction start, cancellation result, and dispatched model.
  • Session disposal rejects new background compaction, and lifecycle diagnostics omit rejected attempts.
  • Background compaction cancellation preserves start-before-completion order.
  • Session resume uses a new host after a failed telemetry close.
  • Rust: after Session::disconnect, requests received before resume_session are preserved; successful deletion by full session ID discards obsolete held events, including when its awaiter is dropped.
  • When experimental topic-based cloud memory is enabled, sessions can load memories on demand from topic files instead of including full memories in the prompt, with an optional index-only pointer mode and a configurable number of memories read. Sessions retain ordinary memory context when topic files are unavailable or inaccessible.
  • Clearing reasoning effort mid-turn in Gemini Interactions now restores the session’s sampling settings, including any custom temperature.
  • For Gemini Interactions BYOK deployments, xhigh reasoning effort is determined by the configured modelId, not wireModel. If the configured model is unknown or doesn’t support xhigh, the request uses high instead.
  • Improved Windows subprocess cleanup in SDK sessions. Language server probes, Git commands, and command hooks are less likely to leave child processes running, even if the parent process has already exited.
  • Add shared agent-file validation, tool categories, preview, and creation operations.