Skip to content

feat: Add ASYNC_CORRECTION support for dictate-ws (API-431)#45

Merged
hilnius merged 1 commit into
mainfrom
robinnicollet/api-431-sample-app-add-async_correction-support-for-dictate-ws
Jul 16, 2026
Merged

feat: Add ASYNC_CORRECTION support for dictate-ws (API-431)#45
hilnius merged 1 commit into
mainfrom
robinnicollet/api-431-sample-app-add-async_correction-support-for-dictate-ws

Conversation

@hilnius

@hilnius hilnius commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Opt into enable_async_corrections on the dictate-ws CONFIG frame and add the AsyncCorrection server message type.
  • Handle ASYNC_CORRECTION in the dictate page by replacing the trailing suffix of the note with replacement.
  • Bump API_VERSION to 2026-07-01 in both frontend and backend.

Closes API-431.

Test plan

  • Open the Dictate page and start a session — confirm CONFIG includes "enable_async_corrections": true in the WS log.
  • Dictate a phrase that triggers a correction — DICTATED_TEXT segments append, then ASYNC_CORRECTION updates the trailing note text in place.
  • Pause, clear, and resume dictation — existing flows still work.
  • CI passes (tsc + vite build).

Made with Cursor

Opt into async corrections on dictate CONFIG, handle server refinements in the note UI, and bump API version to 2026-07-01.

Co-authored-by: Cursor <cursoragent@cursor.com>
@hilnius hilnius self-assigned this Jul 15, 2026
@hilnius hilnius added the enhancement New feature or request label Jul 15, 2026
@hilnius hilnius changed the title Add ASYNC_CORRECTION support for dictate-ws (API-431) feat: Add ASYNC_CORRECTION support for dictate-ws (API-431) Jul 15, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a397768. Configure here.

Comment thread frontend/src/pages/in-depth/dictate/dictate.render.ts
@hilnius
hilnius merged commit 8d7f261 into main Jul 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants