Repository navigation
v2.0.4-preview.0
Pre-release
Pre-release
·
8 commits
to main
since this release
- Fixed prompt-cache diagnostics that incorrectly reported
history_rewrittenafter a tool call or on the first request after resuming a session when the conversation history sent to the model hadn’t changed. - Keep repaired lazy extensions dormant after an eager startup fails.
- Replace extension-permission-access with extension-launch; require approval before extension execution while preserving applicable reusable legacy grants.
- Keep the selected custom agent after a reload when agent files share a display name.
- Preserve the selected built-in agent during reload when a custom agent has the same file ID.
- Preserve extension permission denial during reconciliation after a startup handshake fails.
- Assisted-mode permission prompts can carry the experimental
assistedApproval.userFeedbackUpload; when it is true, the runtime shares a note given asuserFeedbackin the answer's decision context with GitHub through its feedback upload, after asking the user's consent. - Add an internal cancellable cloud-startup wait while preserving caller-owned session cleanup.
- Allow SDK tools to require exact custom-agent opt-in before model exposure.
- Fix a session event publication deadlock that could fail workflow completion.
- With Assisted Permissions in plan mode, the judge is told when the plan is pending so it can ask before actions that would start implementation, such as creating a branch or installing a package.
- Assisted Permissions now treats shell commands that exit with a non-zero code as failed in both live and resumed SDK sessions, so retries aren’t denied as duplicates solely because the previous attempt ran.
- additionalDirectories inside the same checkout no longer load the checkout root's repository hooks when trustWorkingDirectory trusts only a subdirectory of that checkout.
- SDK reloads now honor
COPILOT_MCP_TOOL_CACHE=falseeven when caching is explicitly requested. Live MCP tools remain available, and existing snapshots are neither used nor modified. - Copilot Fusion staged phases (Cascade and Critique drafts and revisions) no longer stream provisional message, reasoning or tool-call deltas to SDK sessions by default; opt in with the
HYDRAFUSION_STAGED_STREAMINGfeature flag. Fusion Single still streams. - Entra identity callbacks return a stable opaque accountId and required tenantId without an ID token; tenant routing uses saved metadata, and shared callbacks preserve saved accounts across reconnect and disconnect.
- Add
maxToolTurnsto cap logical model turns per local SDK request, with a request error when another turn would exceed the cap. - GitHub CLI credentials are reused across requests for up to 60 seconds instead of starting
gh auth tokenfor each request. - Updated the Node.js SDK’s Koffi runtime dependency from 3.3.7 to 3.3.8.
- In Assisted Permissions with Autopilot, the agent may retry a denied action once after a later user message asks for it; the judge reviews the retry as usual.
- Agent reload preserves the selected custom agent when display names match.
- Extension reconciliation preserves denied consent and drains failed children before launch settlement.
- Bundled CLI runtimes no longer include the CLI voice service and voice assets, which reduces SDK package size.
- SDK hosts can configure their GitHub.com OAuth app for runtime-managed sign-in and Entra-to-GitHub EMU token exchange and renewal.
- Local non-workflow multi-turn background sub-agents now set
resumable: trueonsubagent.started, and after the session is resumed in a new process,tasks.sendMessageand the agent tools can continue them. - Agent discovery now returns the launch-mounted copy of an agent when an installed plugin defines the same ID.
- SDK clients connected to the Copilot CLI over stdio can again pass a per-request
gitHubTokentomodels.list,models.listTokenPriceUnits,decisions.ask,account.getQuota, andmanagedSettings.resolve. Requests without a token still use the CLI's active account, and an explicit token never falls back to that account.