deps: Bump the microsoft-packages group with 1 update - #147
deps: Bump the microsoft-packages group with 1 update#147dependabot[bot] wants to merge 1 commit into
Conversation
Bumps GitHub.Copilot.SDK from 1.0.5 to 1.0.13 --- updated-dependencies: - dependency-name: GitHub.Copilot.SDK dependency-version: 1.0.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: microsoft-packages ... Signed-off-by: dependabot[bot] <support@github.com>
|
Looks like GitHub.Copilot.SDK is no longer updatable, so this is no longer needed. |
|
Superseded — left open for Dependabot to close. Head SHA: This PR's diff is byte-identical to #148 ( The duplication is expected rather than a fault: No action taken here — this agent does not close Dependabot PRs. Dependabot should close it automatically on its next run; if it lingers, it can be closed by hand. Generated by Claude Code |
Updated GitHub.Copilot.SDK from 1.0.5 to 1.0.13.
Release notes
Sourced from GitHub.Copilot.SDK's releases.
1.0.13
Feature: cancellation for host-owned external tools
Host-owned external tool callbacks are now cancelled when their runtime request completes or their SDK session terminates. The cancellation primitive is idiomatic per SDK: .NET passes a request token to
AIFunction, Node.js exposesToolInvocation.signal, Go cancelsToolInvocation.TraceContext, Java cancels the returnedCompletableFuture, Python cancels the handler task, and Rust drops the handler future. Go handlers that retainTraceContextfor background work must derive a separate lifetime because the invocation context is cancelled when the request ends.Feature: declare application identity with client info
Client options now accept optional client info (application name and version, integration name and version) across all six SDKs, exposed idiomatically per language (
clientInfoin Node.js,client_infoin Python and Rust,ClientInfoin Go and .NET,setClientInfoin Java). When set, the SDK forwards it on theserver.connecthandshake so the telemetry the runtime emits on the connection is attributed to the application and its Copilot integration instead of the runtime's own build. All fields are optional, and leaving client info unset keeps the runtime's default attribution. See Client info.Feature: Node Agent Factories pagination and run notifications
The experimental Node.js Agent Factories convenience API now supports paginated run history. Existing
session.factory.listRuns()calls still return the runs array, while calls withafterSeq,beforeSeq, orlimitreturn the full page with cursor and truncation metadata.Factory
runandresumeoptions now acceptnotifyOnCompleteandlogPhaseNames. The SDK forwards these options to the Copilot CLI for new and resumed runs.Feature: selectable
ask_usersession behaviorSession create and cold resume now accept a language-specific
askUserVariantoption withlegacyandelicitationvalues. SDK sessions retain the legacy question-and-answer tool by default. Selectelicitationand provide an elicitation handler to expose the structured form-basedask_usertool.Feature: rotating session-scoped GitHub credentials
All six SDKs can now acquire short-lived GitHub credentials through a session-scoped callback. The SDK registers the callback before session create or resume, maps
initialandrefreshrequests to the owning session, and removes registrations on rollback, replacement, session close, and client close. Static per-sessiongitHubTokencredentials remain supported and are mutually exclusive with the callback.Token responses use the shared tagged token/cancelled shape and require
expiresIn, expressed as the positive number of seconds remaining when the callback completes. See github/copilot-agent-runtime#16381 for the runtime credential-authority implementation.Initial acquisition occurs during create or resume; cancellation, callback errors, and invalid credentials reject that operation instead of falling back to ambient authentication. Idle sessions refresh only before their next credential-consuming operation.
Feature: extensions can request sensitive environment variables
Copilot CLI extensions can now ask for named sensitive environment variables when they join a session.
joinSession()accepts arequestedEnvironmentVariablesoption listing the variable names the extension needs. The CLI shows a permission prompt naming the extension and the exact variables requested. On approval, only those variables reach that extension and their values are written into the extension process'sprocess.envbeforejoinSession()resolves. On denial,joinSession()rejects, the extension does not load, and its tools never reach the model.An approval is remembered against the exact set of names the user saw, so an extension that later asks for one more variable prompts again. Names that are unset, or that the CLI does not filter from extensions, are not prompted for. This is the client half of the feature; it requires a Copilot CLI that supports extension environment access, and older CLIs ignore the request and grant nothing.
Feature: early session-event subscription (Rust)
The Rust SDK can now observe every event routed to a session, starting with that session's very first routed event.
Client::prepare_sessionandClient::prepare_resume_sessionreturn an inertPreparedSessionthat owns the session's event channel, so a subscription can be installed before any protocol activity begins:Feature: session-scoped GitHub token providers
Sessions now support expiry-aware GitHub token callbacks in addition to static tokens. The SDK handles refresh requests from the runtime, so extensions always receive fresh credentials. (#2412)
Feature: Java in-process native runtime on all platforms
... (truncated)
1.0.13-preview.3
Feature: rewind support across all SDKs
Sessions can now opt into file-change tracking and conversation rewind. When
enableFileChangeTrackingis enabled, the session records which files were changed during a conversation turn. You can then list pending rewind points, preview changes, and rewind the conversation history together with any tracked file modifications. (#2321)Feature: session-scoped GitHub token providers
Sessions now support a dynamic, expiry-aware GitHub token callback as an alternative to a static
gitHubToken. The SDK maps each host request (with host, session, and reason context) to your callback, handling concurrent-session isolation automatically. (#2412)Feature: built-in plugin directory support
... (truncated)
1.0.13-preview.2
Feature: rewind support across all SDKs
Sessions can now opt in to file-change tracking so that rewinding restores both conversation history and the files that were modified. Enable it with the new
enableFileChangeTrackingsession option. (#2321)Feature: session-scoped GitHub token providers
Applications can now supply a dynamic GitHub token callback instead of a static
gitHubTokenstring. The runtime calls the callback before each token use, so short-lived tokens stay fresh across long-running sessions. (#2412)1.0.13-preview.0
Feature: rewind support across all SDKs
Sessions can now opt into file-change tracking and rewind conversation history along with tracked file changes. Enable the new
enableFileChangeTrackingsession option to allow calling rewind later. (#2321)Feature: Java in-process runtime (experimental)
The Java SDK now ships platform-native classifier JARs that load the Copilot runtime directly in-process via JNA — no separate CLI child process required. Currently available for linux-x64, Windows x64, and Apple Silicon macOS. (#2301, #2393, #2402)
Feature: permission decision context forwarding
Permission handlers can now attach
decisionContextso the runtime can attribute whether a decision came from a person, host policy, or an automated recommendation. This is additive for Node, Python, Go, .NET, and Java. Rust clients that construct or matchPermissionResult::Decisiondirectly must migrate to the new struct variant. (#2294)createAttributedPermissionResult(result, context)copilot.create_attributed_permission_result(result, context)copilot.NewAttributedPermissionResult(result, context)DecisionContexton the permission decisionPermissionRequestResult.approveOnce().setDecisionContext(context)PermissionResult::approve_once().with_context(context)Feature: built-in plugin directory support
Applications can now register a set of host-bundled plugin directories that are trusted unconditionally and loaded before any user session begins. (#2330)
Feature: extensions can request sensitive environment variables (Node)
... (truncated)
1.0.12-preview.0
Feature: rewind support across all SDKs
Sessions now support rewinding conversation history and tracked file changes. Enable file-change tracking when creating a session, then rewind to a previous checkpoint to discard later turns and restore file state. (#2321)
Feature: Java in-process Copilot CLI (linux-x64)
The Java SDK now supports an in-process connection mode on linux-x64 that loads the Copilot runtime as a native library via JNA — no separate CLI child process required. Add the
copilot-sdk-java-runtimeclassifier JAR for your platform alongside the core SDK JAR. (#2301)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
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 <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions