Skip to content

change default to manual - #330554

Draft
Justin Chen (justschen) wants to merge 1 commit into
mainfrom
justin/kleavor
Draft

change default to manual#330554
Justin Chen (justschen) wants to merge 1 commit into
mainfrom
justin/kleavor

Conversation

@justschen

Copy link
Copy Markdown
Collaborator

changes name from default permissions to manual permissions to align with app and cli

Copilot AI balanced review requested due to automatic review settings August 12, 2026 21:44

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

Renames Agent Host’s baseline approval mode from “Default” to “Manual,” including configuration migration and compatibility handling.

Changes:

  • Introduces the manual default-configuration value.
  • Migrates legacy default and autoApprove values.
  • Updates Agent Host labels, documentation, and tests.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/test/common/constants.test.ts Tests permission-value mappings.
src/vs/workbench/contrib/chat/test/browser/agentSessions/agentHostChatInputPicker.test.ts Updates picker expectations.
src/vs/workbench/contrib/chat/common/constants.ts Defines and maps manual.
src/vs/workbench/contrib/chat/browser/chat.shared.contribution.ts Updates schema, defaults, copy, and migration.
src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.ts Renames the sandboxed label.
src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputPicker.contribution.ts Updates action documentation.
src/vs/sessions/SESSIONS.md Documents revised permission terminology.
src/vs/sessions/contrib/providers/agentHost/test/browser/localAgentHostSessionsProvider.test.ts Updates configuration fixtures.
src/vs/sessions/contrib/providers/agentHost/test/browser/agentHost/agentHostPermissionPickerDelegate.test.ts Updates picker metadata expectations.
src/vs/sessions/contrib/providers/agentHost/browser/agentHostPermissionPickerDelegate.ts Overrides the Agent Host label.
src/vs/platform/agentHost/test/common/agentHostSchema.test.ts Updates schema expectations.
src/vs/platform/agentHost/common/agentHostSchema.ts Renames the protocol-facing picker label.

Review details

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

return { ...meta, detail: localize('agentHostPermissionPicker.askWhenNeeded.detail', "Asks when approval settings don't apply") };
return {
...meta,
label: localize('agentHostPermissionPicker.manual.label', "Manual permissions"),
enum: ['default', 'assisted', 'autoApprove'],
enumLabels: [
localize('agentHost.sessionConfig.autoApprove.default', "Default permissions"),
localize('agentHost.sessionConfig.autoApprove.default', "Manual permissions"),
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.

2 participants