Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
brunoborges
copilot-sdk-java
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
copilot-sdk-java
src
main
java
com
github
copilot
sdk
CopilotSession.java
on
docs/fix-documentation-coverage-gaps
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 11, 2026
Fix: use correct permission denial kind and send errors back via RPC (ported from #185)
Copilot
committed
e592e47
View commit details
Copy full SHA for e592e47
View code at this point
Browse repository at this point
Commits on Mar 10, 2026
Revert Java 21 bump and pattern-matching switch; restore Java 17 and if/else instanceof
Show description for 563e0c3
Copilot
and
edburns
committed
563e0c3
View commit details
Copy full SHA for 563e0c3
View code at this point
Browse repository at this point
Refactor handleBroadcastEventAsync to use Java 21 pattern matching switch; bump minimum Java to 21
Show description for c67265b
Copilot
and
edburns
committed
c67265b
View commit details
Copy full SHA for c67265b
View code at this point
Browse repository at this point
Port upstream sync: protocol v3, OnListModels, agent, onEvent, new events, register-before-RPC
Show description for 2aea3a0
Copilot
and
brunoborges
committed
2aea3a0
View commit details
Copy full SHA for 2aea3a0
View code at this point
Browse repository at this point
Commits on Mar 6, 2026
docs: clarify session close vs delete semantics (upstream sync #599)
Show description for 1daa346
Copilot
and
brunoborges
committed
1daa346
View commit details
Copy full SHA for 1daa346
View code at this point
Browse repository at this point
Commits on Mar 3, 2026
Port session.setModel() and built-in tool override support from upstream
Show description for b2fbe64
Copilot
and
brunoborges
committed
b2fbe64
View commit details
Copy full SHA for b2fbe64
View code at this point
Browse repository at this point
Commits on Mar 2, 2026
Port upstream sync: require permission handler, new events, agent/compaction APIs
Show description for 9640cbd
Copilot
and
brunoborges
committed
9640cbd
View commit details
Copy full SHA for 9640cbd
View code at this point
Browse repository at this point
Commits on Feb 24, 2026
Fix sendAndWait cancellation propagation and Foundry Local docs
Show description for aebf451
Copilot
and
brunoborges
committed
aebf451
View commit details
Copy full SHA for aebf451
View code at this point
Browse repository at this point
Port upstream sync: GitHubToken rename, sendAndWait cancellation fix, Foundry Local docs
Show description for 991d1e5
Copilot
and
brunoborges
committed
991d1e5
View commit details
Copy full SHA for 991d1e5
View code at this point
Browse repository at this point
Commits on Feb 11, 2026
refactor: update tool handling to use ToolDefinition and simplify SessionRequestBuilder
brunoborges
committed
4f30838
View commit details
Copy full SHA for 4f30838
View code at this point
Browse repository at this point
Commits on Feb 10, 2026
refactor: convert response classes to records and update method references for improved readability
brunoborges
committed
46b38cc
View commit details
Copy full SHA for 46b38cc
View code at this point
Browse repository at this point
Refactor data access methods in tests to use new naming conventions
Show description for f5e9662
brunoborges
committed
f5e9662
View commit details
Copy full SHA for f5e9662
View code at this point
Browse repository at this point
Refactor code structure for improved readability and maintainability.
brunoborges
committed
29d2022
View commit details
Copy full SHA for 29d2022
View code at this point
Browse repository at this point
Commits on Feb 7, 2026
Fix test to handle new IllegalStateException from closed sessions
Show description for 46b8204
Copilot
and
brunoborges
committed
46b8204
View commit details
Copy full SHA for 46b8204
View code at this point
Browse repository at this point
Add closed-session guard implementation
Show description for c57e7a3
Copilot
and
brunoborges
committed
c57e7a3
View commit details
Copy full SHA for c57e7a3
View code at this point
Browse repository at this point
Commits on Feb 6, 2026
Rename enums to PROPAGATE_AND_LOG_ERRORS/SUPPRESS_AND_LOG_ERRORS, default to PROPAGATE, always log errors
Show description for e265cf4
Copilot
and
brunoborges
committed
e265cf4
View commit details
Copy full SHA for e265cf4
View code at this point
Browse repository at this point
Rename EventErrorPolicy values: STOP→PROPAGATE, CONTINUE→SUPPRESS (Spring-style)
Show description for de45c8f
Copilot
and
brunoborges
committed
de45c8f
View commit details
Copy full SHA for de45c8f
View code at this point
Browse repository at this point
Add null check for setEventErrorPolicy and remove unused throws clause
Show description for 45ac4c3
Copilot
and
brunoborges
committed
45ac4c3
View commit details
Copy full SHA for 45ac4c3
View code at this point
Browse repository at this point
Implement EventErrorPolicy enum instead of breaking EventErrorHandler change
Show description for 9b0fe25
Copilot
and
brunoborges
committed
9b0fe25
View commit details
Copy full SHA for 9b0fe25
View code at this point
Browse repository at this point
Revert EventErrorHandler breaking change to implement enum-based approach
Show description for 1ee3b61
Copilot
and
brunoborges
committed
1ee3b61
View commit details
Copy full SHA for 1ee3b61
View code at this point
Browse repository at this point
Address code review feedback
Show description for 8600385
Copilot
and
brunoborges
committed
8600385
View commit details
Copy full SHA for 8600385
View code at this point
Browse repository at this point
Apply spotless formatting
Show description for dec4386
Copilot
and
brunoborges
committed
dec4386
View commit details
Copy full SHA for dec4386
View code at this point
Browse repository at this point
Update EventErrorHandler to return boolean for error propagation control
Show description for 0e58932
Copilot
and
brunoborges
committed
0e58932
View commit details
Copy full SHA for 0e58932
View code at this point
Browse repository at this point
Add EventErrorHandler for custom event handler error handling
Show description for 61b44b9
brunoborges
committed
61b44b9
View commit details
Copy full SHA for 61b44b9
View code at this point
Browse repository at this point
Enhance documentation: add exception isolation details for event handlers
brunoborges
committed
a113688
View commit details
Copy full SHA for a113688
View code at this point
Browse repository at this point
Refactor: promote type-safe on(Class, Consumer) event handlers
Show description for 412c8be
brunoborges
committed
412c8be
View commit details
Copy full SHA for 412c8be
View code at this point
Browse repository at this point
Refactor: use var for local variable type inference
Show description for dcce429
brunoborges
committed
dcce429
View commit details
Copy full SHA for dcce429
View code at this point
Browse repository at this point
Commits on Feb 3, 2026
Refactor hook handlers and improve code formatting for readability
brunoborges
committed
06635f2
View commit details
Copy full SHA for 06635f2
View code at this point
Browse repository at this point
Add session lifecycle and user prompt hooks with corresponding handlers and inputs
brunoborges
committed
ef5b176
View commit details
Copy full SHA for ef5b176
View code at this point
Browse repository at this point
Commits on Feb 1, 2026
Port upstream SDK changes: auth options, reasoning effort, user input handlers, hooks
Show description for e85055a
brunoborges
committed
e85055a
View commit details
Copy full SHA for e85055a
View code at this point
Browse repository at this point
Commits on Jan 29, 2026
feat: add Javadoc verification step in build workflow and update example usage formatting
brunoborges
committed
6dd9f24
View commit details
Copy full SHA for 6dd9f24
View code at this point
Browse repository at this point
feat: add skills configuration and event handling features
brunoborges
committed
8ca33be
View commit details
Copy full SHA for 8ca33be
View code at this point
Browse repository at this point
fix: enhance error handling in permission request processing
brunoborges
committed
917f24f
View commit details
Copy full SHA for 917f24f
View code at this point
Browse repository at this point
Commits on Jan 27, 2026
fix: set up timeout with daemon thread in CopilotSession to prevent JVM exit
brunoborges
committed
ea81206
View commit details
Copy full SHA for ea81206
View code at this point
Browse repository at this point
Commits on Jan 26, 2026
Add @since annotations to all classes.
brunoborges
committed
4d4e892
View commit details
Copy full SHA for 4d4e892
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.