Upstream sync: port 23 new commits (2026-04-13)#72
Draft
Conversation
…g types, and setModel overload Agent-Logs-Url: https://github.com/github/copilot-sdk-java/sessions/6440ac65-a609-41e9-8afc-718bccbef08a Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
…istration Agent-Logs-Url: https://github.com/github/copilot-sdk-java/sessions/6440ac65-a609-41e9-8afc-718bccbef08a Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Sync upstream with 23 new commits
Upstream sync: port 23 new commits (2026-04-13)
Apr 13, 2026
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.
Ports 23 upstream commits from
github/copilot-sdk(up to16f0ba2) into the Java SDK. Minimum CLI version bumped to 1.0.22.Before the change?
Map<String, Object>— no compile-time safety, no HTTP server supportenableConfigDiscoveryoption (auto-discovery of.mcp.json, skill dirs)ModelCapabilitiesOverride— couldn't override vision/token limits per sessionAfter the change?
Typed MCP server configs —
McpServerConfigbase with two concrete subtypes:enableConfigDiscoveryonSessionConfig/ResumeSessionConfig— whentrue, runtime auto-discovers.mcp.jsonand skill directories fromworkingDirectory, merged with explicit values.ModelCapabilitiesOverride— overrides vision/reasoning/token-limit capabilities per session or on model switch:Session FS — custom filesystem backend for session-scoped file I/O:
SessionFsHandlerinterface covers 13 file operations:readFile,writeFile,appendFile,exists,stat,mkdir,readdir,readdirWithTypes,rm,rename,cp,copyDir,glob..lastmergeupdated to16f0ba278ebb25e2cd6326f932d60517ea926431.Pull request checklist
mvn spotless:applyhas been run to format the codemvn clean verifypasses locallyDoes this introduce a breaking change?