Skip to content

chat: add Configure Tools action to permissions picker - #332776

Closed
sukumarp2022 wants to merge 24 commits into
microsoft:mainfrom
im-sandbox-sukumarp:main
Closed

chat: add Configure Tools action to permissions picker#332776
sukumarp2022 wants to merge 24 commits into
microsoft:mainfrom
im-sandbox-sukumarp:main

Conversation

@sukumarp2022

@sukumarp2022 sukumarp2022 commented Aug 26, 2026

Copy link
Copy Markdown

Fixes #332775

Summary

Adds a Configure tools gear button to the Default permissions row in the Chat permissions picker.

Clicking it opens Settings directly to chat.tools.terminal.autoApprove.

The change also includes:

  • Accessibility help text
  • Component fixture coverage
  • Focused permission-picker tests
  • Agent Host constructor dependency wiring

Testing

  • 11 focused action-item tests passed
  • 9 accessibility-help tests passed
  • Per-test V8 coverage passed for all 4 permission-picker tests
  • Targeted ESLint passed
  • Full client compile passed
  • Layer validation passed
  • Manual UI verification completed

Copilot AI balanced review requested due to automatic review settings August 26, 2026 15:59

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

Adds a Configure tools action to the chat permissions picker for direct access to terminal auto-approval settings.

Changes:

  • Adds the gear action to built-in Default permissions.
  • Adds accessibility help and focused tests.
  • Updates fixtures and Agent Host dependency wiring.
Show a summary per file
File Description
permissionPickerList.fixture.ts Displays the new action in fixtures.
sessionTargetPickerActionItem.test.ts Tests permission-picker behavior.
chatAccessibilityHelp.test.ts Tests accessibility help text.
permissionPickerActionItem.ts Implements the Configure tools action.
chatAccessibilityHelp.ts Documents the action.
agentHostPermissionPickerActionItem.ts Wires the preferences service.

Review details

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

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

Comment thread src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.ts Outdated
@justschen

Copy link
Copy Markdown
Collaborator

closing in favor of #334972

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Configure Tools action to the Chat permissions picker

5 participants