Bump GitHub.Copilot.SDK from 0.1.26 to 0.2.0#3
Open
dependabot[bot] wants to merge 1 commit intomainfrom
Open
Conversation
--- updated-dependencies: - dependency-name: GitHub.Copilot.SDK dependency-version: 0.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
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.
Updated GitHub.Copilot.SDK from 0.1.26 to 0.2.0.
Release notes
Sourced from GitHub.Copilot.SDK's releases.
0.2.0
This is a big update with a broad round of API refinements, new capabilities, and cross-SDK consistency improvements that have shipped incrementally through preview releases since v0.1.32.
Highlights
Fine-grained system prompt customization
A new
"customize"mode forsystemMessagelets you surgically edit individual sections of the Copilot system prompt — without replacing the entire thing. Ten sections are configurable:identity,tone,tool_efficiency,environment_context,code_change_rules,guidelines,safety,tool_instructions,custom_instructions, andlast_instructions.Each section supports four static actions (
replace,remove,append,prepend) and atransformcallback that receives the current rendered content and returns modified text — useful for regex mutations, conditional edits, or logging what the prompt contains. (#816)OpenTelemetry support across all SDKs
All four SDK languages now support distributed tracing with the Copilot CLI. Set
telemetryin your client options to configure an OTLP exporter; W3C trace context is automatically propagated onsession.create,session.resume, andsession.send, and restored in tool handlers so tool execution is linked to the originating trace. (#785)0.1.33-preview.3
Feature: OpenTelemetry support across all SDKs
All four SDK languages now support distributed tracing with the Copilot CLI. Set
telemetryin your client options to configure an OTLP exporter; W3C trace context is then propagated onsession.create,session.resume, andsession.send, and restored in tool handlers so tool execution is linked to the originating trace. (#785)Feature: blob attachment type for inline base64 data
A new
blobattachment type lets you send images or other binary content directly to a session without writing to disk first — useful when data is already in memory (screenshots, API responses, generated images). (#731)Feature: Node.js CommonJS (CJS) compatibility
The Node.js SDK now ships both ESM and CJS builds, fixing crashes in VS Code extensions and other tools bundled with esbuild's
format: "cjs". No changes needed in consumer code — Node automatically selects the right format. (#546)Feature:
reasoningEffortwhen switching modelsAll SDKs now accept an optional
reasoningEffortparameter insetModel()for models that support it. (#712)... (truncated)
0.1.33-preview.0
Feature: pre-select a custom agent at session creation
You can now specify which custom agent should be active when a session starts, without needing a separate
session.rpc.agent.select()call. (#722)Feature: custom model listing for BYOK
Applications using bring-your-own-key providers can now supply
onListModelsin client options to overrideclient.listModels()with their own model list, instead of forwarding the call to the CLI. (#730)on_list_models=lambda: my_provider_modelsOnListModels: func(ctx context.Context) ([]copilot.ModelInfo, error) { return myModels, nil }Feature: new events and APIs (system notifications, session log, extension support)
Updated to match the latest CLI runtime, adding:
system.notificationevents, a session log RPC API,reasoningEffortchanges after model switch,alreadyInUseflag on sessions, and the groundwork for extension-based integrations. (#737)Other changes
no-resultpermission outcome so extensions can attach to sessions without actively answering permission requests (#802)session.start) could be dropped; also addsOnEventcatch-all handler toSessionConfig(#664)... (truncated)
0.1.32
Feature: backward compatibility with v2 CLI servers
SDK applications written against the v3 API now also work when connected to a v2 CLI server, with no code changes required.
0.1.31
Feature: strongly-typed
PermissionRequestResultKindfor .NET and GoRather than comparing
result.Kindagainst undiscoverable magic strings like"approved"or"denied-interactively-by-user", .NET and Go now provide typed constants. Node and Python already had typed unions for this; this brings full parity. (#631)Other changes
get_last_session_id()/GetLastSessionID()for SDK-wide parity (was already available in Node and .NET) (#671)timeoutparameter to generated RPC methods, allowing callers to override the default 30s timeout for long-running operations (#681)PermissionRequestfields are now properly typed (ToolName,Diff,Path, etc.) instead of a genericExtra map[string]anycatch-all (#685)0.1.30
Feature: support overriding built-in tools
Applications can now override built-in tools such as
grep,edit_file, orread_file. To do this, register a custom tool with the same name and set the override flag. Without the flag, the runtime will return an error if the name clashes with a built-in. (#636)Feature: simpler API for changing model mid-session
While
session.rpc.model.switchTo()already worked, there is now a convenience method directly on the session object. (#621)await session.setModel("gpt-4.1")await session.SetModelAsync("gpt-4.1")await session.set_model("gpt-4.1")err := session.SetModel(ctx, "gpt-4.1")Other changes
OnDisposeCalland improve implementation (#626)SemaphoreSlimlocks for handler fields (#625)PermissionHandler.approve_alltype annotations (#618)New contributors
@giulio-leonemade their first contribution in #618... (truncated)
0.1.29
v0.1.29 (2026-02-27)
Changes
CopilotClient.stop()now raises anExceptionGroupinstead of silently returning a list of exceptions (#603)0.1.28
What's Changed
New Contributors
Full Changelog: github/copilot-sdk@v0.1.25...v0.1.28
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)