v1.0.9-preview.3
Pre-releaseFeature: configure the built-in GitHub MCP server per session
All SDKs now accept a githubMcpToolConfig option on session create/resume, exposing settings the runtime already supports. The most useful new control is disableFormDeferral, which makes MCP write tools (like creating issues or PRs) execute directly instead of opening an interactive form — essential for autonomous workflows. (#2112)
const session = await client.createSession({
githubMcpToolConfig: { disableFormDeferral: true }
});var session = await client.CreateSessionAsync(new SessionConfig {
GitHubMcpToolConfig = new GitHubMcpToolConfig { DisableFormDeferral = true }
});Feature: opt in or out of experimental mode per session
A new enableExperimentalMode option lets SDK consumers control whether a session activates experimental runtime features. In empty mode the SDK defaults to false; in copilot-cli mode the runtime decides unless you set it explicitly. (#1600)
const session = await client.createSession({ enableExperimentalMode: true });var session = await client.CreateSessionAsync(new SessionConfig { EnableExperimentalMode = true });Feature: additional directories in session configuration
Sessions can now be created with an additionalDirectories field that exposes extra working directories to the session alongside the primary workspace. (#2180)
const session = await client.createSession({
additionalDirectories: ["/path/to/other/project"]
});Feature: distinguish enterprise-managed permission approvals
permission.requested events and permission handler callbacks now carry an optional managedApprovalRequired flag. When set, the permission must be approved by a person — built-in approve-all handlers refuse it loudly rather than silently approving, and custom handlers can inspect the flag to surface a proper UI prompt. (#2080)
Other changes
- bugfix: [Python] serialize Pydantic models with
mode='json'in tool results to avoid serialization errors (#2225)
New contributors
@joshspicermade their first contribution in #2080@connor4312made their first contribution in #2112@DonJayamannemade their first contribution in #2180
Generated by Release Changelog Generator · sonnet46 18.7 AIC · ⌖ 4.92 AIC · ⊞ 8.6K