Add Copilot Chat dictation - #326228
Closed
Mir (mirimadahmed) wants to merge 3 commits into
Closed
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds hosted Copilot Chat dictation with shared microphone ownership, editable transcripts, accessibility feedback, Agents window support, and tests.
Changes:
- Adds remote transcription, audio capture, endpoint, and session-control services.
- Integrates dictation actions, state, notifications, accessibility help, and Agents UI.
- Adds coverage for protocol, lifecycle, editing, endpoint, and lease behavior.
Reviewed changes
Copilot reviewed 27 out of 27 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
voiceClientService.test.ts |
Tests terminal WebSocket failures. |
voiceEndpoint.test.ts |
Tests endpoint derivation and authentication. |
voiceCodeTranscriptionClient.test.ts |
Tests transcription protocol handling. |
remoteChatSpeechToTextService.test.ts |
Tests remote dictation lifecycle. |
dictationSession.test.ts |
Tests transcript editor behavior. |
audioCaptureLeaseService.test.ts |
Tests encoding and lease exclusivity. |
chatDictationNotification.test.ts |
Tests first-use notification persistence. |
common/voiceClientService.ts |
Adds terminal-connection event API. |
common/constants.ts |
Adds dictation configuration key. |
chatContextKeys.ts |
Adds starting and finalizing states. |
voiceSessionController.ts |
Coordinates microphone leases and termination. |
voiceEndpoint.ts |
Builds voice and transcription URLs. |
browser/voiceClientService.ts |
Handles terminal WebSocket failures. |
audioCaptureLeaseService.ts |
Enforces exclusive microphone ownership. |
voiceCodeTranscriptionClient.ts |
Implements hosted transcription protocol. |
remoteChatSpeechToTextService.ts |
Orchestrates remote dictation. |
dictationSession.ts |
Manages editable transcript insertion. |
dictationAudioCapture.ts |
Captures and encodes microphone audio. |
chatSpeechToTextService.ts |
Selects local or remote transcription. |
chatDictationNotification.ts |
Adds first-use guidance. |
chat.shared.contribution.ts |
Registers settings, services, and contribution. |
chatSpeechToTextActions.ts |
Adds dictation actions and states. |
chatAccessibilityHelp.ts |
Documents dictation accessibility workflow. |
sessions/LAYOUT.md |
Documents Agents dictation integration. |
newChatInput.ts |
Adds shared dictation controls to Agents. |
package.nls.json |
Adds localized walkthrough copy. |
package.json |
Registers the dictation walkthrough. |
|
|
||
| await assert.rejects(service.connect(createTestWindow()), /WebSocket unavailable/); | ||
| assert.strictEqual(terminated, 1); | ||
| assert.strictEqual(terminated, 1); |
| this._speechToTextService.cancel(); | ||
| } | ||
| this._clearSession(); | ||
| status(localize('chatDictation.cancelled', "Dictation cancelled.")); |
added 2 commits
July 20, 2026 13:11
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 004e4272-d5c9-4687-a9e8-c0debb97ca7e
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 004e4272-d5c9-4687-a9e8-c0debb97ca7e
Mir (mirimadahmed)
force-pushed
the
mirimadahmed-microsoft-copilot-chat-dictation
branch
from
July 20, 2026 13:31
5e6bc8e to
dfb4dcc
Compare
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 004e4272-d5c9-4687-a9e8-c0debb97ca7e
Megan Rogge (meganrogge)
marked this pull request as draft
July 20, 2026 15:19
Collaborator
|
We will consider this after seeing usage of dictation and continue to think about the who would pay part. |
Collaborator
|
Handling myself due to merge conflicts and all the changes that have occurred. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.