Skip to content

Add voice-note transcript handoff for bound threads#64

Open
evgyur wants to merge 1 commit into
pwrdrvr:mainfrom
evgyur:evgyur/voice-notes-transcript-handoff
Open

Add voice-note transcript handoff for bound threads#64
evgyur wants to merge 1 commit into
pwrdrvr:mainfrom
evgyur:evgyur/voice-notes-transcript-handoff

Conversation

@evgyur
Copy link
Copy Markdown

@evgyur evgyur commented Mar 28, 2026

Summary

  • register internal hooks for message:transcribed and message:preprocessed
  • route transcribed voice-note text into the bound Codex thread as normal inbound text
  • add a runtime transcription fallback for preprocessed audio when transcript events do not arrive
  • cover both paths with controller tests

Why

Telegram/voice-note cockpit usage is much smoother when spoken prompts in a bound topic behave like normal user text for Codex. This PR adds that behavior without requiring users to resend the transcript manually.

Tests

  • npm run typecheck
  • npx vitest run src/controller.test.ts

@huntharo
Copy link
Copy Markdown
Contributor

huntharo commented Apr 3, 2026

@evgyur - I'm lost. Does it work? What are the steps on how to use it? Where is the transciption happening?

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.

2 participants