feat: inject voice commands, punctuation, and clause text into focused app #4735
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/voxlen/pull/66
Summary
All three paths now call
inject_textso the output lands in the focused application.What changed
src/hooks/useTauriEvents.ts:autoInjectis now computed once at the top of the transcription handler (before voice command processing). Voice commandremainingTextandoutputare queued and injected together. Clause and template text inject immediately after the segment is added.__LOG_TIMEmarkers are excluded since they're billable-time signals, not text.Test plan
.should appear in the focused appinjectionMode: bufferstill skips all injection (user reviews first)🤖 Generated with Claude Code
https://claude.ai/code/session_01Ggw2m7nwT2HDNaQJqSX6Sp
Generated by Claude Code