chore: upgrade @github/copilot-sdk to 0.2.2#534
Merged
idofrizler merged 1 commit intomainfrom Apr 11, 2026
Merged
Conversation
Agent-Logs-Url: https://github.com/CooperAgent/cooper/sessions/ecbbda5b-8442-47ec-99f2-2d67249422a7 Co-authored-by: idofrizler <4775098+idofrizler@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
idofrizler
April 11, 2026 13:41
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps
@github/copilot-sdkfrom0.2.1→0.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
ModelCapabilitiesextracted as a proper named interface (was inline inModelInfo.capabilities); also exportsModelCapabilitiesSupports,ModelCapabilitiesLimits, andModelCapabilitiesOverride(DeepPartial<ModelCapabilities>)SessionConfig.modelCapabilities— new optional field for per-property capability overrides passed at session creationSessionConfig.enableConfigDiscovery— new optional flag to auto-discover.mcp.json/ skill directories from the session working dirsetModel(model, options?)— second arg now accepts{ reasoningEffort?, modelCapabilities? }modelCapabilitiesandenableConfigDiscoveryare also picked intoResumeSessionConfigenableConfigDiscovery— not adoptedThis was the most relevant new feature: SDK-level auto-discovery of
.mcp.json/.vscode/mcp.jsonfrom 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.