Skip to content

chore: upgrade @github/copilot-sdk to 0.2.2#534

Merged
idofrizler merged 1 commit intomainfrom
copilot/upgrade-cooper-to-sdk-0-2-2
Apr 11, 2026
Merged

chore: upgrade @github/copilot-sdk to 0.2.2#534
idofrizler merged 1 commit intomainfrom
copilot/upgrade-cooper-to-sdk-0-2-2

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 11, 2026

Bumps @github/copilot-sdk from 0.2.10.2.2. All changes in 0.2.2 are additive and backward-compatible — no Cooper source changes required.

What's new in 0.2.2

  • ModelCapabilities extracted as a proper named interface (was inline in ModelInfo.capabilities); also exports ModelCapabilitiesSupports, ModelCapabilitiesLimits, and ModelCapabilitiesOverride (DeepPartial<ModelCapabilities>)
  • SessionConfig.modelCapabilities — new optional field for per-property capability overrides passed at session creation
  • SessionConfig.enableConfigDiscovery — new optional flag to auto-discover .mcp.json / skill directories from the session working dir
  • setModel(model, options?) — second arg now accepts { reasoningEffort?, modelCapabilities? }
  • Both modelCapabilities and enableConfigDiscovery are also picked into ResumeSessionConfig

enableConfigDiscovery — not adopted

This was the most relevant new feature: SDK-level auto-discovery of .mcp.json / .vscode/mcp.json from the session working directory. Not enabled because Cooper already implements its own multi-layer MCP discovery (mcpDiscovery.ts) with session/agent/user/repo/default priority merging — enabling SDK-level discovery on top would duplicate and potentially conflict with that system.

Agent-Logs-Url: https://github.com/CooperAgent/cooper/sessions/ecbbda5b-8442-47ec-99f2-2d67249422a7

Co-authored-by: idofrizler <4775098+idofrizler@users.noreply.github.com>
@idofrizler idofrizler marked this pull request as ready for review April 11, 2026 13:54
@idofrizler idofrizler merged commit 0339169 into main Apr 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants