Skip to content

align chat settings to picker name + migrate autoApprove to allowAll - #326288

Merged
justschen merged 1 commit into
mainfrom
justin/rolycoly
Jul 17, 2026
Merged

align chat settings to picker name + migrate autoApprove to allowAll#326288
justschen merged 1 commit into
mainfrom
justin/rolycoly

Conversation

@justschen

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings July 17, 2026 05:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Aligns chat permission settings with picker terminology while translating user-facing allowAll values to Agent Host’s internal autoApprove.

Changes:

  • Renames the Assisted permissions feature setting and migrates its value.
  • Migrates default approval configuration from autoApprove to allowAll.
  • Updates providers, pickers, tests, and documentation.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/test/common/constants.test.ts Tests permission-value translation.
src/vs/workbench/contrib/chat/test/browser/agentSessions/agentHostChatInputPicker.test.ts Updates picker visibility tests.
src/vs/workbench/contrib/chat/common/constants.ts Defines and maps default permission values.
src/vs/workbench/contrib/chat/common/agentHostConfigPolicy.ts Renames Assisted permissions helpers.
src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts Registers settings and migrations.
src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.ts Maps defaults for provisional sessions.
src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.ts Uses renamed visibility configuration.
src/vs/sessions/SESSIONS.md Documents default permission values.
src/vs/sessions/contrib/providers/agentHost/test/browser/localAgentHostSessionsProvider.test.ts Updates provider configuration tests.
src/vs/sessions/contrib/providers/agentHost/test/browser/agentHost/agentHostPermissionPickerDelegate.test.ts Updates delegate setting tests.
src/vs/sessions/contrib/providers/agentHost/browser/baseAgentHostSessionsProvider.ts Normalizes user-facing permission defaults.
src/vs/sessions/contrib/providers/agentHost/browser/agentHostPermissionPickerDelegate.ts Uses renamed Assisted permissions helpers.

Review details

  • Files reviewed: 12/12 changed files
  • Comments generated: 2
  • Review effort level: Medium

Comment thread src/vs/workbench/contrib/chat/common/constants.ts
Comment thread src/vs/sessions/SESSIONS.md
@justschen
justschen marked this pull request as ready for review July 17, 2026 06:22
@justschen
justschen enabled auto-merge (squash) July 17, 2026 06:22
@justschen
justschen merged commit d497fa2 into main Jul 17, 2026
30 checks passed
@justschen
justschen deleted the justin/rolycoly branch July 17, 2026 06:35
@vs-code-engineering vs-code-engineering Bot added this to the 1.130.0 milestone Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants