deps: Bump GitHub.Copilot.SDK from 1.0.3 to 1.0.11 - #124
Conversation
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
|
👋 Friendly nudge — this PR has had no activity for 7 days. What needs attention:
If this PR is abandoned, please close it. If it's blocked on something external, leave a comment so the team knows. |
1 similar comment
|
👋 Friendly nudge — this PR has had no activity for 7 days. What needs attention:
If this PR is abandoned, please close it. If it's blocked on something external, leave a comment so the team knows. |
|
Not merged — validation failed (head This one is a real incompatibility, not an infrastructure problem.
|
--- updated-dependencies: - dependency-name: GitHub.Copilot.SDK dependency-version: 1.0.11 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
7f1b3d6 to
10a395b
Compare
|
Superseded by #137. |
#136 ignored GitHub.Copilot.SDK outright, on the reasoning that it was not independently upgradable while Microsoft.Agents.AI.GitHub.Copilot sat at 1.11.0-rc1. That comment ended with a condition — "lift this together with MAF, not before: 1.19.0+ declares [1.0.5, )" — and #137 met it about an hour later, moving MAF to 1.20.0 and the SDK to 1.0.5 in one PR, green on both .NET jobs across net8.0, net9.0 and net10.0. Leaving the ignore in place would now freeze the SDK at 1.0.5 indefinitely, including for security releases, behind a comment telling the next reader to remove it because a condition that is already true. So the ignore goes, and the constraint is expressed where it actually belongs: GitHub.Copilot.SDK joins both Microsoft groups. It is not a Microsoft.* package, so without that it is proposed alone — and alone is the shape that breaks, since SquadAgent.cs reaches CopilotClient through MAF's re-export and the two must compile as a pair. This is a nudge rather than a guarantee: grouping bundles whatever updates exist in a run, so a solo SDK bump can still appear. That is an acceptable residual risk because the failure mode is loud rather than silent — #124 turned both .NET jobs red on CS0012, which is exactly what a review gate is for. Trading a permanent freeze for a well-caught failure is the better side of that deal.
Updated GitHub.Copilot.SDK from 1.0.3 to 1.0.11.
Release notes
Sourced from GitHub.Copilot.SDK's releases.
1.0.11
What's Changed
history.clearContextandTool.isTerminalacross all SDKs by @examon in Addhistory.clearContextandTool.isTerminalacross all SDKs github/copilot-sdk#2129New Contributors
Full Changelog: github/copilot-sdk@v1.0.9...v1.0.11
1.0.11-preview.2
Feature: rewind support across all SDKs
The Copilot runtime supports rewinding conversation history and tracked file changes. SDKs can now opt into file-change tracking via a new
enableFileChangeTrackingsession option, and then use rewind to restore the session to an earlier checkpoint. (#2321)Feature: Java in-process runtime for Linux x64
The Java SDK now supports loading the Copilot runtime as a native library (via JNA) directly in-process on Linux x64, eliminating the need for a separate CLI child process. This mirrors the in-process mode already available in .NET and Rust. The feature is marked
@CopilotExperimental. (#2301)... (truncated)
1.0.10-preview.0
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.10-preview.0")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.10-preview.0'Feature: managed permission settings at session startup
Applications can now supply host-managed permission settings at session startup via
SessionConfig.setManagedSettings(). The runtime validates and composes this policy with self-fetched and device policy. Re-supply on resume as it is not persisted. (#2139)Feature:
userPromptTransformedhookA new
onUserPromptTransformedhook onSessionHookslets applications observe (and optionally modify) the prompt text after the runtime transforms it. (#2254)... (truncated)
1.0.9
What's Changed
session.idle.backgroundTasksfield with the currentabortedfield by @examon in docs: replace removedsession.idle.backgroundTasksfield with the currentabortedfield github/copilot-sdk#2232New Contributors
Full Changelog: github/copilot-sdk@rust/v1.0.9-preview.3...rust/v1.0.9
1.0.9-preview.3
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.9-preview.3")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.9-preview.3'Feature: managed approval requirement on permission requests
Permission handlers can now inspect
request.getManagedApprovalRequired()to determine when a human decision is required.PermissionHandler.APPROVE_ALLnow completes exceptionally when managed settings are enabled, preventing auto-approval of requests that require explicit human review. (#2080)Feature: GitHub MCP tool configuration
SessionConfigandResumeSessionConfignow expose aGitHubMcpToolConfigoption to configure the built-in GitHub MCP server, including selectively enabling tools and disabling form deferral. (#2112)Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.9-preview.2")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.9-preview.2'Changes
ModeHandlersexit_plan_mode E2E test assertions (#2032)gpt-5.4for reasoning effort tests (#2181)New contributors
@arimu1made their first contribution in #20321.0.9-preview.1
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.9-preview.1")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.9-preview.1'Other changes
<server-key>-<tool-name>) forsetAvailableTools,setExcludedTools, and agent config in README (#2101)EnableConfigDiscoveryJavadoc to accurately describe agent discovery behavior — it gates.github/agents/discovery, independent ofSkipCustomInstructions(#2019)New contributors
@syedkazmi14made their first contribution in #2101@smz202000made their first contribution in #20191.0.9-preview.0
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.9-preview.0")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.9-preview.0'Feature:
AgentStoplifecycle hookThe
agentStophook lets your application intercept the natural end of an agent turn and optionally request the agent to continue. Return{ decision: "block", reason: "..." }to queue a follow-up prompt; return nothing to let the agent stop normally. (#2054)Feature: custom JSON schema for
@CopilotToolParam... (truncated)
1.0.8
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.8")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.8'Feature: per-agent reasoning effort
CustomAgentConfignow accepts an optionalreasoningEffortfield that controls the reasoning intensity for a specific sub-agent. Omitting it inherits the session-level effort; omitting it at both levels leaves the choice to the backend. (#1981)Other changes
expAssignmentssession-config field withCopilotExpAssignmentResponseto match the runtime wire contract (#2033)1.0.8-preview.0
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.8-preview.0")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.8-preview.0'Feature: per-agent reasoning effort
You can now set a
reasoningEffortoverride on individual custom agents within a session. When omitted, no per-agent override is sent and the backend chooses its default. (#1981)Other changes
expAssignmentssession config field withCopilotExpAssignmentResponse(#2033)1.0.7
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.7")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.7'Feature: opaque metadata passthrough for tool definitions
Hosts can now attach namespaced, opaque metadata to tool definitions and have it forwarded verbatim over the
session.create/resumeSessionwire call. UseToolDefinition.createWithMetadata(...)or the fluent.metadata(Map)builder, or express shallow flag maps via@CopilotTool.MetadataEntryannotations. (#1864)Feature: tool search configuration support
SessionConfigandResumeSessionConfignow accept aToolSearchConfigthat enables server-side tool search and controls the deferral threshold. Tool results can also carry backtoolReferencesindicating which tools were consulted during search. (#1933)Other changes
enableManagedSettingsonSessionConfig/ResumeSessionConfigto opt into enterprise managed-settings enforcement at session bootstrap (#1925)agentId(),parentAgentId(), andinteractionType()onCopilotRequestContextin request-handler callbacks (#1949)... (truncated)
1.0.7-preview.3
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.7-preview.3")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.7-preview.3'Feature: tool search configuration
Sessions can now configure tool search behavior via
ToolSearchConfigonSessionConfig. Tool search keeps the model's active tool set small by deferring MCP and external tools until needed. (#1933)Other changes
New contributors
@rinceyuanmade their first contribution in #1978... (truncated)
1.0.7-preview.2
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.7-preview.2")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.7-preview.2'Changes since java/v1.0.7-preview.1
maven-assembly-plugin(#1966)1.0.7-preview.1
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.7-preview.1")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.7-preview.1'Feature: request handler context now exposes agent metadata
CopilotRequestContextnow includesagentId,parentAgentId, andinteractionTypefields, giving request handlers visibility into which agent is making an LLM inference call and whether it is a subagent. (#1949)1.0.7-preview.0
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.7-preview.0")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.7-preview.0'Feature: opt in to enterprise managed-settings enforcement
SessionConfigandResumeSessionConfignow support anenableManagedSettingsflag. When set totrue, the runtime enforces organizational bypass-permissions policies at session creation using the session's GitHub token. (#1925)1.0.6
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.6")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.6'Feature: inline lambda tool definitions
Developers can now define tools directly at the call site using
ToolDefinition.from(...)with typed lambda handlers andParam.of(...)parameter metadata — no separate annotated class required. Async variants (fromAsync) andToolInvocationcontext injection (fromWithToolInvocation) are also available. (#1895)Other changes
onGitHubTelemetrycallback onCopilotClientOptionsfor receiving forwarded GitHub telemetry events (#1835)1.0.6-preview.1
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.6-preview.1")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.6-preview.1'Feature: experimental GitHub telemetry forwarding
The Java SDK now supports forwarding per-session GitHub telemetry events to your application. Set
onGitHubTelemetryonCopilotClientOptionsto receivegitHubTelemetry.eventnotifications from the runtime; the client automatically opts every session it creates or resumes into telemetry forwarding when the handler is present. (#1835)1.0.6-preview.0
What's Changed
New Contributors
Full Changelog: github/copilot-sdk@rust/v1.0.5-preview.1...rust/v1.0.6-preview.0
1.0.5
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.5")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.5'Feature: annotation-based tool API (
@CopilotTool)The Java SDK now includes a high-level, annotation-driven tool API. Annotate methods with
@CopilotTooland parameters with@CopilotToolParamto define tools — a JSR-269 annotation processor generates metadata at compile time with no runtime reflection. UseToolDefinition.fromObject()to register tools with minimal boilerplate. (#1792)Feature:
ToolInvocationinjection in@CopilotToolmethods... (truncated)
1.0.5-preview.1
What's Changed
ToolInvocationinjection in@CopilotToolmethods by @edburns with @Copilot in [Java] Support hiddenToolInvocationinjection in@CopilotToolmethods github/copilot-sdk#1832Paramannotation toCopilotToolParamin Java SDK by @edburns with @Copilot in RenameParamannotation toCopilotToolParamin Java SDK github/copilot-sdk#1838New Contributors
Full Changelog: github/copilot-sdk@rust/v1.0.5-preview.0...rust/v1.0.5-preview.1
1.0.5-preview.0
What's Changed
@CopilotToolergonomics by @edburns in Java: Implement@CopilotToolergonomics github/copilot-sdk#1792New Contributors
Full Changelog: github/copilot-sdk@rust/v1.0.4...rust/v1.0.5-preview.0
1.0.4
Installation
vMaj.Min.Micro. For example v0.1.32. The corresponding maven version for the release will beMaj.Min.Micro-java.N, whereMaj,MinandMicroare the corresponding numbers for the reference implementation release, andNis a monotonically increasing sequence number starting with 0 for each release. See the corresponding architectural decision record for more information in thedocs/adrdirectory of the source code.📦 [View on Maven Central]((central.sonatype.com/redacted)
📖 [Documentation]((github.github.io/redacted) · [Javadoc]((github.github.io/redacted)
Maven
Gradle (Kotlin DSL)
implementation("com.github:copilot-sdk-java:1.0.4")Gradle (Groovy DSL)
implementation 'com.github:copilot-sdk-java:1.0.4'Feature: HTTP request callback support
Register a
CopilotRequestHandleron the client to intercept every outbound LLM inference HTTP or WebSocket request — for both BYOK and CAPI — and mutate, replace, or fully forward it. Useful for logging, header injection, model substitution, or custom routing. (#1689, #1775, #1784)Feature:
getBearerTokencallback for BYOK providers (Managed Identity)... (truncated)
Commits viewable in compare view.