Skip to content

Move agents window extension list to product.json#315683

Merged
benibenj merged 2 commits into
mainfrom
benibenj/unemployed-emu
May 11, 2026
Merged

Move agents window extension list to product.json#315683
benibenj merged 2 commits into
mainfrom
benibenj/unemployed-emu

Conversation

@benibenj
Copy link
Copy Markdown
Contributor

Copilot Generated Description: Move the list of allowed extensions for the sessions window to the product.json configuration file and update the related TypeScript interfaces and services accordingly.

Copilot AI review requested due to automatic review settings May 11, 2026 14:11
@benibenj benibenj enabled auto-merge May 11, 2026 14:11
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

Moves the sessions window extension allow-list from a hardcoded TS constant into product.json, so it can be configured as part of product configuration and consumed via IProductService.

Changes:

  • Add sessionsWindowAllowedExtensions to the product configuration interface (IProductConfiguration).
  • Update ExtensionEnablementService to read the allow-list from IProductService (and normalize to lowercase).
  • Populate the allow-list in product.json.
Show a summary per file
File Description
src/vs/workbench/services/extensionManagement/browser/extensionEnablementService.ts Switch sessions-window allow-list source from a local constant to productService.sessionsWindowAllowedExtensions.
src/vs/base/common/product.ts Extend IProductConfiguration with sessionsWindowAllowedExtensions?: readonly string[].
product.json Define the sessions window allow-list values in product configuration.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 1

@benibenj benibenj merged commit fc7b941 into main May 11, 2026
25 checks passed
@benibenj benibenj deleted the benibenj/unemployed-emu branch May 11, 2026 15:12
@vs-code-engineering vs-code-engineering Bot added this to the 1.121.0 milestone May 11, 2026
@benibenj benibenj added the ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch label May 12, 2026
@vs-code-engineering vs-code-engineering Bot added release-cherry-pick Automated cherry-pick between release and main branches and removed ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch labels May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-cherry-pick Automated cherry-pick between release and main branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants