Repository navigation
v2.0.2-preview.3
Pre-release
Pre-release
·
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.sendacceptsagentAuthored: truefor 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 generatedsession.sendrequest, or withSendRequest::with_agent_authoredin 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 beforeresume_sessionare 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,
xhighreasoning effort is determined by the configuredmodelId, notwireModel. If the configured model is unknown or doesn’t supportxhigh, the request useshighinstead. - 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.