Skip to content

Rename Voice Mode voices to approved names - #329576

Merged
Megan Rogge (meganrogge) merged 1 commit into
microsoft:mainfrom
accnops:voice-mode-approved-voice-names
Aug 7, 2026
Merged

Rename Voice Mode voices to approved names#329576
Megan Rogge (meganrogge) merged 1 commit into
microsoft:mainfrom
accnops:voice-mode-approved-voice-names

Conversation

@accnops

Copy link
Copy Markdown
Contributor

Summary

  • rename the Voice Mode choices to Harper, Birch, Junho, and Oak
  • migrate persisted talent-derived identifiers to canonical product IDs while preserving Birch as the existing frontend default
  • retain legacy preview asset names and normalize all wire values before sending them to the backend
  • make application-scoped configuration migration explicitly opt-in

Depends on https://github.com/infinity-microsoft/yolo/pull/65877 for backend canonical-ID support.

Testing

  • npm run transpile-client -- --outputDir out
  • ./scripts/test.sh --run src/vs/workbench/test/common/configuration.test.ts --run src/vs/workbench/contrib/agentsVoice/test/browser/voiceModeOnboarding.test.ts --run src/vs/workbench/contrib/chat/test/browser/voiceClient/voiceClientService.test.ts --timeout 30000 (50 passing)
  • npm run valid-layers-check
  • Fallow audit (pass; no introduced findings)
Copilot AI balanced review requested due to automatic review settings August 7, 2026 11:40

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 Voice Mode voices to approved product names and migrates legacy identifiers while retaining existing preview assets.

Changes:

  • Adds canonical voice-ID normalization and persistence migration.
  • Updates settings, onboarding labels, previews, and tests.
  • Makes application-scope configuration migration opt-in.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/vs/workbench/test/common/configuration.test.ts Tests application migration opt-in.
src/vs/workbench/common/configuration.ts Adds application-target migration support.
src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.ts Renames settings and registers migration.
src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.ts Uses canonical IDs with legacy preview assets.
src/vs/workbench/contrib/agentsVoice/test/browser/voiceModeOnboarding.test.ts Updates onboarding expectations.
src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.ts Adds voice-ID normalization.
src/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService.ts Normalizes backend wire values.
src/vs/workbench/contrib/chat/test/browser/voiceClient/voiceClientService.test.ts Tests legacy-ID normalization.
Comment on lines +15 to +26
switch (voiceId) {
case 'victoria_neutral':
return 'harper_neutral';
case 'maya_neutral':
return 'birch_neutral';
case 'daniel_neutral':
return 'junho_neutral';
case 'kevin_neutral':
return 'oak_neutral';
default:
return voiceId || 'birch_neutral';
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch, fixed. normalizeAgentsVoiceId now explicitly allow-lists the four canonical IDs before the legacy-alias cases, and any other value (including manually-edited/unknown strings) falls back to birch_neutral instead of passing through unchanged. This matters most for the new migration path, which persists the result; an unrecognized value should not get baked into the closed four-value enum. Added an unknown_voice case to the parameterized test.

@accnops
Arthur Cnops (accnops) force-pushed the voice-mode-approved-voice-names branch 2 times, most recently from 54f97b5 to c949dfb Compare August 7, 2026 12:01
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b00ba5be-f710-4520-a5f4-3684b0facaf5
@meganrogge Megan Rogge (meganrogge) added this to the 1.133.0 milestone Aug 7, 2026
@meganrogge
Megan Rogge (meganrogge) enabled auto-merge (squash) August 7, 2026 15:01
@meganrogge
Megan Rogge (meganrogge) merged commit 1b8f4bb into microsoft:main Aug 7, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants