Skip to content

Add keybinding to mute/unmute Voice Mode - #336342

Merged
Megan Rogge (meganrogge) merged 5 commits into
mainfrom
copilot/easier-mute-unmute-voice-mode
Sep 16, 2026
Merged

Megan Rogge (meganrogge) merged 5 commits into
mainfrom
copilot/easier-mute-unmute-voice-mode

Conversation

Copilot AI commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Description

Voice Mode listens continuously while connected, so it can act on conversations not meant for it. The only way to mute was the UI button; there was no keyboard shortcut. This adds a keybindable toggle command.

  • New agentsVoiceMuted context key (common/agentsVoice.ts), bound to the controller's isMuted observable in the existing connection-state autorun.
  • agentsVoice.toggleMute command (browser/agentsVoice.contribution.ts):
    • Command palette entry "Voice Mode: Toggle Mute Microphone" (f1), so users can assign their own binding.
    • Default Ctrl/Cmd+Shift+M, scoped via when to Voice Mode enabled + connected + active on surface, so it doesn't shadow the global shortcut otherwise.
    • toggled state flips the label to "Unmute Microphone" while muted.
    • Delegates to the existing IVoiceSessionController.setMuted, keeping the session connected for instant resume — same plumbing as the UI mute button, so both stay in sync.

Copilot AI balanced review requested due to automatic review settings September 15, 2026 22:53

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.

Copilot wasn't able to review any files in this pull request.

Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
Copilot AI changed the title [WIP] Add keyboard shortcut and voice command for mute/unmute Add keybinding to mute/unmute Voice Mode Sep 15, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@meganrogge
Megan Rogge (meganrogge) marked this pull request as ready for review September 15, 2026 23:56
@github-actions

github-actions Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Base: 5c676a96 Current: d47b556c

No screenshot changes.

roblourens
roblourens previously approved these changes Sep 16, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6634f44b-98ed-4183-b012-093cee87cfa3
@meganrogge
Megan Rogge (meganrogge) merged commit 07cc7ac into main Sep 16, 2026
33 checks passed
@meganrogge
Megan Rogge (meganrogge) deleted the copilot/easier-mute-unmute-voice-mode branch September 16, 2026 18:16
@vs-code-engineering vs-code-engineering Bot added this to the 1.139.0 milestone Sep 16, 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.

Easier mute/unmute for GitHub Copilot Voice Mode

6 participants