chore(deps): Bump GitHub.Copilot.SDK from 1.0.2 to 1.0.11 - #876
chore(deps): Bump GitHub.Copilot.SDK from 1.0.2 to 1.0.11#876dependabot[bot] wants to merge 21 commits into
Conversation
--- 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>
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11 # Conflicts: # packages/Agentweaver.AgentRuntime/packages.lock.json
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 11857092-1327-41bd-8708-b2ca85e674dd
|
Regenerated \packages.lock.json\ (locked-mode restore now succeeds, submit-nuget passes) but CI's .NET build now fails with a genuine compile error unrelated to the lock file: \ Root cause: \Microsoft.Agents.AI.GitHub.Copilot\ 1.11.1-rc1 was built against \GitHub.Copilot.SDK\ assembly version 1.0.0.0, but bumping the direct \GitHub.Copilot.SDK\ reference to 1.0.11 changes the resolved assembly's version identity, so the compiler can no longer resolve \CopilotClient\ through the transitive reference. This is a genuine incompatibility introduced by this specific bump, not a lock-file consistency issue — regenerating the lock file does not fix it. Per the runbook, skipping this PR rather than merging with a broken build. Will likely need either: (a) a corresponding \Microsoft.Agents.AI.GitHub.Copilot\ update that targets \GitHub.Copilot.SDK\ 1.0.11, or (b) holding this bump until that's available. |
…ntime/GitHub.Copilot.SDK-1.0.11
…ntime/GitHub.Copilot.SDK-1.0.11
|
Superseded by #898. Why this PR alone cannot be merged Bumping Root cause (verified by bisection, not inferred):
So the failure is not a version-number mismatch that a lock refresh can fix - the adapter has to be rebuilt against the signed SDK. The fix (in #898)
|
|
Closing as superseded by #898. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
|
Closing per Seraph's deep analysis: the build failure is caused by GitHub.Copilot.SDK becoming strong-named at v1.0.4 (PKT=cc7b13ffcd2ddd51). MAG 1.11.1-rc1 was compiled against the unsigned SDK (PKT=null) and .NET will never bind a null-PKT AssemblyRef to a strong-named definition — retrying would fail identically. The correct fix (MAG 1.19.0 + SDK 1.0.11, coordinated bump) is tracked in #906. A Dependabot ignore has been added to prevent this from regenerating. |
Updated GitHub.Copilot.SDK from 1.0.2 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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)