Skip to content

Revert "chat: remove providerApi.enabled setting and legacy code paths (#308341)"#308448

Merged
aeschli merged 1 commit intomainfrom
aeschli/protective-alligator-443
Apr 8, 2026
Merged

Revert "chat: remove providerApi.enabled setting and legacy code paths (#308341)"#308448
aeschli merged 1 commit intomainfrom
aeschli/protective-alligator-443

Conversation

@aeschli
Copy link
Copy Markdown
Contributor

@aeschli aeschli commented Apr 8, 2026

This reverts commit 5dab13f.

The chat customozaion window for local did not show any entries any more.
Can also be seen on the Screenshot Changes section: #308341 (comment)

Copilot AI review requested due to automatic review settings April 8, 2026 07:58
@aeschli aeschli enabled auto-merge (squash) April 8, 2026 07:58
@aeschli aeschli self-assigned this Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Screenshot Changes

Base: 801ef104 Current: 3be5d3bf

Changed (36)

chat/aiCustomizations/aiCustomizationListWidget/InstructionsTabWithItems/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationListWidget/InstructionsTabWithItems/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/WelcomePage/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/WelcomePage/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/LocalHarness/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/LocalHarness/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/CliHarness/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/CliHarness/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/Sessions/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/Sessions/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/SessionsSkillsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/SessionsSkillsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/SkillsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/SkillsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/InstructionsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/InstructionsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/HooksTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/HooksTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTab/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTab/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTabScrolled/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTabScrolled/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabScrolled/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabScrolled/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTabScrolled/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTabScrolled/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabNarrow/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabNarrow/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTabNarrow/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTabNarrow/Light
Before After
before after

Added (2)

chat/aiCustomizations/aiCustomizationManagementEditor/ClaudeHarness/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/ClaudeHarness/Light

current

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

This PR reverts a prior change that removed the customizations provider API setting and associated legacy code paths, restoring a kill-switch and reintroducing built-in harness behavior (including a new Claude harness descriptor) alongside legacy, promptsService-based discovery in the Chat Customizations management UI.

Changes:

  • Re-add chat.customizations.providerApi.enabled configuration and gate provider registrations/harness exposure behind it.
  • Reintroduce the “core” (promptsService-based) discovery path in the customizations management list widget and adjust grouping (incl. Built-in vs Extensions).
  • Add Claude harness descriptor support and update fixtures/docs accordingly.
Show a summary per file
File Description
src/vs/workbench/test/browser/componentFixtures/sessions/aiCustomizationManagementEditor.fixture.ts Adds a Claude harness fixture for screenshot coverage.
src/vs/workbench/contrib/chat/test/common/customizationHarnessService.test.ts Adjusts tests after CustomizationHarnessServiceBase is no longer a Disposable.
src/vs/workbench/contrib/chat/common/customizationHarnessService.ts Adds Claude harness + root helpers; removes Disposable inheritance from base service.
src/vs/workbench/contrib/chat/common/constants.ts Restores the provider API configuration key.
src/vs/workbench/contrib/chat/browser/chat.contribution.ts Re-registers the provider API kill-switch setting + updates harness selector description.
src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.ts Gates static harness registration based on provider API setting.
src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.ts Restores core discovery pipeline; adds built-in grouping and Claude-related filtering behavior.
src/vs/workbench/api/browser/mainThreadChatAgents2.ts Gates provider registration and disposes providers when kill-switch turns off.
src/vs/sessions/contrib/chat/browser/customizationHarnessService.ts Removes sessions-specific built-in itemProvider wrapper (relies on restored core path).
src/vs/sessions/AI_CUSTOMIZATIONS.md Updates documentation to reflect Claude harness + restored harness behavior.

Copilot's findings

  • Files reviewed: 10/10 changed files
  • Comments generated: 4

Comment thread src/vs/workbench/api/browser/mainThreadChatAgents2.ts
Comment thread src/vs/workbench/contrib/chat/browser/chat.contribution.ts
@aeschli aeschli merged commit a5c4fe0 into main Apr 8, 2026
27 checks passed
@aeschli aeschli deleted the aeschli/protective-alligator-443 branch April 8, 2026 08:34
@vs-code-engineering vs-code-engineering bot added this to the 1.116.0 milestone Apr 8, 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