Skip to content

chore(deps): Bump @github/copilot-sdk from 0.2.1 to 0.2.2#49

Merged
simongdavies merged 1 commit intomainfrom
dependabot/npm_and_yarn/github/copilot-sdk-0.2.2
Apr 16, 2026
Merged

chore(deps): Bump @github/copilot-sdk from 0.2.1 to 0.2.2#49
simongdavies merged 1 commit intomainfrom
dependabot/npm_and_yarn/github/copilot-sdk-0.2.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2026

Bumps @github/copilot-sdk from 0.2.1 to 0.2.2.

Release notes

Sourced from @​github/copilot-sdk's releases.

v0.2.2

Feature: session filesystem support across all four SDKs

The sessionFs feature introduced earlier in Node.js is now available across .NET, Go, and Python too, so you can redirect session-scoped storage (events, checkpoints, temp files, workspace state) to your own backing store instead of the runtime's default local filesystem. This is especially useful for serverless and multi-tenant hosts. (#1036)

// TypeScript
const client = new CopilotClient({
  sessionFs: { initialCwd: "/", sessionStatePath: "/s", conventions: "posix" },
});
const session = await client.createSession({
createSessionFsHandler: () => ({ readFile: async () => "...", writeFile: async () => { /* ... / }, / ... */ })
});

// C#
var client = new CopilotClient(new CopilotClientOptions {
    SessionFs = new()
    {
        InitialCwd = "/",
        SessionStatePath = "/",
        Conventions = SessionFsSetProviderRequestConventions.Posix
    }
});
var session = await client.CreateSessionAsync(new SessionConfig
{
CreateSessionFsHandler = _ => new MySessionFsHandler(/* ... */) // e.g., map to in-memory storage, etc
});

For a full end-to-end sample of a multi-user hosted system using sessionFs, see https://github.com/github/copilot-sdk-server-sample

Feature: override model capabilities when creating a session or switching models

All SDKs can now override individual model capabilities such as vision support without replacing the full capabilities object. This makes BYOK and custom-provider scenarios easier, and lets you change behavior mid-session with setModel/SetModelAsync. (#1029)

const session = await client.createSession({
  modelCapabilities: { supports: { vision: false } },
});
await session.setModel("claude-sonnet-4.5", { modelCapabilities: { supports: { vision: true } } });
await session.SetModelAsync("claude-sonnet-4.5", reasoningEffort: null,
    modelCapabilities: new ModelCapabilitiesOverride { Supports = new ModelCapabilitiesOverrideSupports { Vision = true } });

... (truncated)

Changelog

Sourced from @​github/copilot-sdk's changelog.

v0.2.2 (2026-04-10)

Feature: enableConfigDiscovery for automatic MCP and skill config loading

Set enableConfigDiscovery: true when creating a session to let the runtime automatically discover MCP server configurations (.mcp.json, .vscode/mcp.json) and skill directories from the working directory. Discovered settings are merged with any explicitly provided values; explicit values take precedence on name collision. (#1044)

const session = await client.createSession({
  enableConfigDiscovery: true,
});
var session = await client.CreateSessionAsync(new SessionConfig {
    EnableConfigDiscovery = true,
});
  • Python: await client.create_session(enable_config_discovery=True)
  • Go: client.CreateSession(ctx, &copilot.SessionConfig{EnableConfigDiscovery: ptr(true)})
Commits

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 10, 2026
Copilot AI review requested due to automatic review settings April 10, 2026 21:47
@dependabot dependabot bot added the javascript Pull requests that update javascript code label Apr 10, 2026
@dependabot dependabot bot review requested due to automatic review settings April 10, 2026 21:47
Bumps [@github/copilot-sdk](https://github.com/github/copilot-sdk) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/github/copilot-sdk/releases)
- [Changelog](https://github.com/github/copilot-sdk/blob/main/CHANGELOG.md)
- [Commits](github/copilot-sdk@v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: "@github/copilot-sdk"
  dependency-version: 0.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/github/copilot-sdk-0.2.2 branch from f6dc596 to fbdd498 Compare April 16, 2026 18:47
@dependabot dependabot bot requested review from Copilot and removed request for Copilot April 16, 2026 18:47
@simongdavies simongdavies merged commit 5cb2bcc into main Apr 16, 2026
12 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/github/copilot-sdk-0.2.2 branch April 16, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant