Repository navigation
v2.0.4-preview.3
Pre-release
Pre-release
·
2 commits
to main
since this release
- Provisional stream events of staged HydraFusion phases now carry the producing turn in
fusion.turnId, matching theturnIdof their completedassistant.messageorassistant.reasoning. - On Linux and macOS, authentication now cleans up child processes of a
GITHUB_ASKPASShelper that is still running when it times out. Background processes started by successful helpers are left alone. - SDK global-state writes now use the runtime's canonical JSONC recovery.
- With alternate providers enabled, an empty
COPILOT_AGENT_MODELis treated as unset, so the requested model or routing option is honored. - Go MCP configuration requests retain configDir and support additive per-request root options.
- MCP add/remove reject another configuration root for ordinary SDK clients; configured roots and trusted CLI hosts remain supported.
- SDK runtimes on Windows and macOS now use OneAuth 12.2.0 for Microsoft Entra authentication. SDK APIs and sign-in flows are unchanged.
- Add experimental permissions.folderTrust.addTrusted for privately admitted CLI-backed hosts, with an explicit local configuration root before session creation.
- Export FolderTrustAddTrustedParams and PermissionsFolderTrustAddTrustedResult from the Node.js package root.
- Configure per-turn or shutdown-scoped session end hooks on local session creation and cold resume.
- Preserve organization-required plugin recovery through cancellation and live-source changes on SDK-owned hosts.
- Configure SDK-owned in-process host defaults and local resume ownership through the Rust SDK.
- Expose JSON-RPC and ACP transports through a Rust SDK-owned runtime host.
- Register foreground and controller-local launch callbacks on a Rust SDK-owned runtime host.
- Rust and TypeScript: Fork provider-backed sessions and resolve filesystem callbacks before a session handle exists.
- Hand off CLI and cloud-task conversations through the runtime host with connection-owned progress and repository confirmation.
- Validate and import version-1 semantic conversation history through sessions.import, with confined attachments and dry runs.
- Fixed an issue where session suspension could stall after an idle agent was canceled if its background notification was rejected.
- Fixed Mission Control task operations and remote listings ignoring cached gateway experiment assignments and rollback.
- All six SDKs now support
onlyOverridesBuiltInTool: a custom tool replaces a same-named built-in for the executing model, or is neither advertised nor callable if no built-in matches. This option takes precedence overoverridesBuiltInTool. Matching happens before tool filters, excludes MCP tools, and is reevaluated when the model changes, Fusion routes to a different model, or the session’s tools are updated. - Required managed plugin readiness (
session.infowithinfoType: "managed_plugins_complete") is now ephemeral, so it no longer replays from session history on resume, and it is no longer reported for a managed policy that requires no plugins. - Add experimental APIs for complete skill definitions, session diagnostics, cache invalidation, and plugin previews.
- Memory requests from telemetry-enabled
cli-serverSDK hosts, including the GitHub Copilot App, now receive runtime correlation IDs when available; configured headers are preserved when no caller correlation map is supplied. - Allow SDK hosts to configure a GitHub OAuth client ID without a secret for EMU token exchange and renewal.
- Clarified that
inputTokensalready includescacheReadTokensandcacheWriteTokensinassistant.usageevents and accumulated per-model usage metrics, so adding them separately would double-count tokens. Token reporting is unchanged. - Fixed git commit, checkout and stash failing in sandboxed linked worktrees inside a write grant.
agents.discoveron the runtime-only host now includes remote org and enterprise custom agents.- SDK sessions now start without active plugins when Copilot's
config.jsoncannot be read or is invalid, including sessions created withfilesystem.trustWorkingDirectory: "session", instead of failingsession.create.trustWorkingDirectory: "user"still fails because Copilot does not rewrite the unreadable file, and plugin reloads still reject it and keep the active plugins. - Allow managed search recovery to retire expired idle-stop operations without losing their original receipts.
- Start independent Python, Go, .NET, and Rust SDK session detaches together within the existing shutdown deadline.
- Preserve the Python tool handler that initiates client shutdown while canceling other pending tools.
- Retire Python sessions when shutdown is canceled before detach starts.
- Preserve pending terminal event acknowledgements through session detach finalization.
- Apply managed Browser Use denial before the initial skill catalog when configuration discovery is disabled.
- Reduced allocations in the .NET SDK's in-process receive path.
- Fixed an approve-for-session or approve-for-location answer for an MCP server named like a built-in permission kind (such as
shellormemory) also approving that kind's requests; the approval now covers only the server's tools, including after a resume. - Rust: Wait for deferred native connection cleanup before Client::stop returns, and report cleanup-thread creation failures.
- Java: permission handlers can answer URL prompts with a domain (
PermissionRequestResult.approveUrlForSession/approveUrlPermanently) and read URL prompt fields throughUrlPermissionPrompt. - Unify account inventory in accounts.list, expose supportsInference, and use accountId for account selection and logout instead of public credential selectors.
- With sandboxing enabled on macOS and Linux, shell commands and agent file edits can read but no longer modify existing Copilot and Claude repository settings files in writable Git worktrees. Explicit read-write grants do not override this protection.
- Fixed
session.sendMessagesdropping per-turn request headers when the message batch is empty. - Record accepted external tool completions before disconnect finishes, withholding results when post-tool hook processing is interrupted by teardown.