Skip to content

Add VS Code clientName to Copilot SDK session#3449

Merged
DonJayamanne merged 1 commit intomicrosoft:mainfrom
devm33:cli-client-name
Feb 4, 2026
Merged

Add VS Code clientName to Copilot SDK session#3449
DonJayamanne merged 1 commit intomicrosoft:mainfrom
devm33:cli-client-name

Conversation

@devm33
Copy link
Copy Markdown
Contributor

@devm33 devm33 commented Feb 4, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 4, 2026 20:24
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 4, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the clientName: 'vscode' parameter to the Copilot SDK session options, enabling the SDK to identify that sessions are being created from VS Code.

Changes:

  • Added clientName: 'vscode' to session options in CopilotCLISessionOptions.toSessionOptions()
  • Added test coverage to verify the clientName parameter is passed correctly

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/extension/agents/copilotcli/node/copilotCli.ts Added clientName: 'vscode' to the session options object
src/extension/agents/copilotcli/node/test/copilotCliSessionService.spec.ts Added test case to verify clientName: 'vscode' is passed to session manager
@DonJayamanne DonJayamanne added this pull request to the merge queue Feb 4, 2026
Merged via the queue into microsoft:main with commit 5a67a6a Feb 4, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants