Commit 4e24704
feat(PTT): enable otoji polish + TTS for pronunciation feedback
Pass --ptt-polish auto --ptt-tts auto to otoji so:
- Punctuation gets LLM-corrected (e.g. "how are you." → "how are you?")
before CLX types it at cursor.
- The polished text is spoken back via TTS (afplay) after release,
giving auditory feedback for correct pronunciation.
Both features gracefully no-op when the required API keys aren't
configured — the raw ptt_final still arrives as before.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 20bd8b6 commit 4e24704
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
| |||
0 commit comments