Skip to content

Add session-scoped transcription hints#5916

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/session-transcription-hints
Jul 5, 2026
Merged

Add session-scoped transcription hints#5916
ComputelessComputer merged 1 commit into
mainfrom
fix/session-transcription-hints

Conversation

@ComputelessComputer

@ComputelessComputer ComputelessComputer commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

Build dynamic transcription hints from session participants, event attendees, dictionary terms, and session metadata with dedupe and caps.


Note

Low Risk
Local Tinybase reads only; behavior is bounded by tests and a 50-hint cap with no auth or network changes.

Overview
Session transcription hints are expanded so STT gets names and terms in a fixed priority order instead of only dictionary plus note-derived keywords.

useKeywords and getSessionKeywords now pull mapped session participants (mapping_session_participanthumans, skipping source: "excluded") and attendees from the attached calendar event (match event_json tracking_id / calendar_id to events, parse participants_json, omit is_current_user). Those lists are merged ahead of personalization dictionary terms and markdown/hashtag extraction in buildKeywords, then normalized and capped at 50 (MAX_TRANSCRIPTION_HINTS).

KeywordStore gains optional forEachRow for the non-React store path; getSessionTranscriptionHints is the shared implementation. Tests cover ordering, cross-session exclusion, dedupe of case variants, and the cap.

Reviewed by Cursor Bugbot for commit 76a99ac. Bugbot is set up for automated code reviews on this repo. Configure here.

@netlify

netlify Bot commented Jul 5, 2026

Copy link
Copy Markdown

Deploy Preview for old-char canceled.

Name Link
🔨 Latest commit 76a99ac
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a4a00ace5f8c90008ffa96a

Comment thread apps/desktop/src/stt/useKeywords.ts
@ComputelessComputer ComputelessComputer force-pushed the fix/session-transcription-hints branch from 3446645 to 2621461 Compare July 5, 2026 06:53

@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 using default effort and found 1 potential issue.

Fix All in Cursor

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

Reviewed by Cursor Bugbot for commit 2621461. Configure here.

Comment thread apps/desktop/src/stt/useKeywords.ts
Build dynamic transcription hints from session participants, event attendees, existing dictionary terms, and metadata keywords with dedupe and caps.
@ComputelessComputer ComputelessComputer force-pushed the fix/session-transcription-hints branch from 2621461 to 76a99ac Compare July 5, 2026 06:58
@ComputelessComputer ComputelessComputer merged commit ca4c503 into main Jul 5, 2026
12 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/session-transcription-hints branch July 5, 2026 07:19
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.

1 participant