sessions: enable Claude agent sessions by default and rename setting#312248
Merged
TylerLeonhardt merged 1 commit intomainfrom Apr 23, 2026
Merged
sessions: enable Claude agent sessions by default and rename setting#312248TylerLeonhardt merged 1 commit intomainfrom
TylerLeonhardt merged 1 commit intomainfrom
Conversation
Renames `sessions.chatSessions.claude.enabled` to `sessions.chat.claudeAgent.enabled` to align with the `github.copilot.chat.claudeAgent.enabled` convention. Enables the setting by default and removes the experimental tag and warning text from the description. Updates tests to reflect the new default.
zhichli
approved these changes
Apr 23, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Enables Claude agent sessions by default in the Sessions (Agents) window and aligns the controlling setting name with the Copilot extension’s ...claudeAgent.enabled convention.
Changes:
- Renames the Claude enablement setting to
sessions.chat.claudeAgent.enabledand updates references/docs. - Switches the setting default to
trueand updates provider/test expectations accordingly. - Removes redundant
?? falsefallbacks when reading the Claude setting value.
Show a summary per file
| File | Description |
|---|---|
| src/vs/sessions/contrib/copilotChatSessions/browser/copilotChatSessionsProvider.ts | Renames the Claude setting key and relies on the configuration default for enablement. |
| src/vs/sessions/contrib/copilotChatSessions/browser/copilotChatSessions.contribution.ts | Updates configuration schema: new key, default true, revised description. |
| src/vs/sessions/contrib/copilotChatSessions/test/browser/copilotChatSessionsProvider.test.ts | Updates tests to reflect Claude being enabled by default and toggling behavior. |
| src/vs/sessions/contrib/copilotChatSessions/COPILOT_CHAT_SESSIONS_PROVIDER.md | Updates documentation to reflect the new setting key and default. |
Copilot's findings
- Files reviewed: 4/4 changed files
- Comments generated: 2
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.
Summary
sessions.chatSessions.claude.enabledtosessions.chat.claudeAgent.enabledto align with thegithub.copilot.chat.claudeAgent.enabledconventiontrue) and removes theexperimentaltag?? falsefallbacks fromgetValuecalls (config registry provides the default)Test plan
copilotChatSessionsProvider.test.ts)