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] <[email protected]>
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.32 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)
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)