René's URL Explorer Experiment


Title: feat(voice): desktop 🎙 composer button + Tauri voice commands (slice 3) by oratis · Pull Request #175 · oratis/deepcode · GitHub

Open Graph Title: feat(voice): desktop 🎙 composer button + Tauri voice commands (slice 3) by oratis · Pull Request #175 · oratis/deepcode

X Title: feat(voice): desktop 🎙 composer button + Tauri voice commands (slice 3) by oratis · Pull Request #175 · oratis/deepcode

Description: Summary Slice 3 of /voice: voice dictation in the Mac desktop client, mirroring the CLI. Click the 🎙 button in the composer to record, click again to stop → it transcribes locally with whisper.cpp and splices the text into the input. Fully on-device. Stacked on #174 (slice 2), which is stacked on #173 (slice 1). Base is feat/voice-cli-capture. Merge the chain bottom-up. Changes Rust (src-tauri) voice.rs: voice_status — detect whisper binary + model (settings or defaults) + ffmpeg; returns readiness + problems. voice_start / voice_stop / voice_cancel — the in-flight recording Child lives in tauri-managed VoiceState between start and stop. Desktop uses ffmpeg and stops it gracefully by writing q to stdin (flushes a valid WAV trailer), then runs whisper, parses the transcript, and deletes the temp clip. parse_whisper_output ported from core (timestamps + log lines stripped). Registered in lib.rs (+ .manage(VoiceState)). Entitlements.plist: com.apple.security.device.audio-input. Info.plist: NSMicrophoneUsageDescription (Tauri merges it into the bundle) → the OS mic-permission prompt on first use. Renderer lib/voice.ts — typed voice_* wrappers + a pure insertTranscript() helper (splices at the caret with smart spacing). lib/use-voice.ts — idle → recording → transcribing state machine; probes voice_status on mount to disable the button (with a tooltip) when voice isn't set up. Repl.tsx — 🎙 button in the composer toolbar; the transcript is spliced at the cursor. index.css — button styling incl. a recording pulse. preview-app.tsx — mock voice_* so the dev harness can exercise the button. Docs: VOICE_INPUT.md desktop usage; BEHAVIOR_PARITY.md /voice row now covers CLI + desktop. Testing Rust: cargo test — 4 voice cases (parse / expand-home / ffmpeg-args / status-with-missing-paths); cargo build clean (no warnings). Renderer: 6 voice.ts cases (IPC command names + insertTranscript); full desktop suite 60 pass; pnpm typecheck, vite build, pnpm lint (0 errors), pnpm format:check all clean. Preview harness: verified the full idle → record (red ⏹) → stop → transcript spliced into the composer flow with the mock-Tauri preview (screenshots below). ⚠️ The real-microphone round-trip is not verified — there's no audio hardware in CI, CI doesn't compile Rust, and the avfoundation capture + macOS TCC permission flow only exercise on a packaged .app with a mic + a whisper model. The control flow, command wiring, arg-building, and transcript parsing are unit-tested; the actual record→audio→whisper round-trip needs a manual on-device pass. 🤖 Generated with Claude Code

Open Graph Description: Summary Slice 3 of /voice: voice dictation in the Mac desktop client, mirroring the CLI. Click the 🎙 button in the composer to record, click again to stop → it transcribes locally with whisper.cpp ...

X Description: Summary Slice 3 of /voice: voice dictation in the Mac desktop client, mirroring the CLI. Click the 🎙 button in the composer to record, click again to stop → it transcribes locally with whisper.cpp ...

Opengraph URL: https://github.com/oratis/deepcode/pull/175

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ee5f33cb-777d-6755-af97-9f43d316c2f5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD6E2:299DE6:E7CE4A:13D5D6C:6A4D60D5
html-safe-nonce6b3059a7282134546cd78e51c9f60ee17475af2a88f37350184b0664d1d6585b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkUyOjI5OURFNjpFN0NFNEE6MTNENUQ2Qzo2QTRENjBENSIsInZpc2l0b3JfaWQiOiIyNTA2NzAwMTMzMDA2OTI2MDM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac269acf7473264b9dfde5a07307768e2e2ebac98d9b55fc4ddb912689f86ea552
hovercard-subject-tagpull_request:3821384556
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/oratis/deepcode/pull/175/files
twitter:imagehttps://avatars.githubusercontent.com/u/1140143?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1140143?s=400&v=4
og:image:altSummary Slice 3 of /voice: voice dictation in the Mac desktop client, mirroring the CLI. Click the 🎙 button in the composer to record, click again to stop → it transcribes locally with whisper.cpp ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee6658d7c7808aeed776f841e0839b885fce343c9b96244be612c779298e7661e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/oratis/deepcode git https://github.com/oratis/deepcode.git
octolytics-dimension-user_id1140143
octolytics-dimension-user_loginoratis
octolytics-dimension-repository_id1251330559
octolytics-dimension-repository_nwooratis/deepcode
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1251330559
octolytics-dimension-repository_network_root_nwooratis/deepcode
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea438513d3a22ffcd713795ed948c3e5525007665
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/oratis/deepcode/pull/175/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foratis%2Fdeepcode%2Fpull%2F175%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foratis%2Fdeepcode%2Fpull%2F175%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=oratis%2Fdeepcode
Reloadhttps://github.com/oratis/deepcode/pull/175/files
Reloadhttps://github.com/oratis/deepcode/pull/175/files
Reloadhttps://github.com/oratis/deepcode/pull/175/files
oratis https://github.com/oratis
deepcodehttps://github.com/oratis/deepcode
Notifications https://github.com/login?return_to=%2Foratis%2Fdeepcode
Fork 0 https://github.com/login?return_to=%2Foratis%2Fdeepcode
Star 1 https://github.com/login?return_to=%2Foratis%2Fdeepcode
Code https://github.com/oratis/deepcode
Issues 0 https://github.com/oratis/deepcode/issues
Pull requests 9 https://github.com/oratis/deepcode/pulls
Actions https://github.com/oratis/deepcode/actions
Projects https://github.com/oratis/deepcode/projects
Security and quality 0 https://github.com/oratis/deepcode/security
Insights https://github.com/oratis/deepcode/pulse
Code https://github.com/oratis/deepcode
Issues https://github.com/oratis/deepcode/issues
Pull requests https://github.com/oratis/deepcode/pulls
Actions https://github.com/oratis/deepcode/actions
Projects https://github.com/oratis/deepcode/projects
Security and quality https://github.com/oratis/deepcode/security
Insights https://github.com/oratis/deepcode/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Foratis%2Fdeepcode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Foratis%2Fdeepcode%2Fissues%2Fnew%2Fchoose
oratishttps://github.com/oratis
mainhttps://github.com/oratis/deepcode/tree/main
feat/voice-desktophttps://github.com/oratis/deepcode/tree/feat/voice-desktop
Conversation 1 https://github.com/oratis/deepcode/pull/175
Commits 5 https://github.com/oratis/deepcode/pull/175/commits
Checks 3 https://github.com/oratis/deepcode/pull/175/checks
Files changed https://github.com/oratis/deepcode/pull/175/files
Please reload this pagehttps://github.com/oratis/deepcode/pull/175/files
feat(voice): desktop 🎙 composer button + Tauri voice commands (slice 3) https://github.com/oratis/deepcode/pull/175/files#top
Show all changes 5 commits https://github.com/oratis/deepcode/pull/175/files
4a61412 feat(voice): /voice setup check + whisper.cpp detection (slice 1) Jun 8, 2026 https://github.com/oratis/deepcode/pull/175/commits/4a61412cd1e0a6953c424f1da6fb71836335768b
434869d feat(voice): CLI mic capture + transcribe via /voice (slice 2) Jun 8, 2026 https://github.com/oratis/deepcode/pull/175/commits/434869d0c485cbc05bf45e85daa672497dc9aabb
22d709f ci: trigger checks (PR retargeted to main) Jun 8, 2026 https://github.com/oratis/deepcode/pull/175/commits/22d709f4f932bc248c45fa8d4f30dadec5bf21e7
4d52c00 feat(voice): desktop 🎙 composer button + Tauri voice commands (slice 3) Jun 8, 2026 https://github.com/oratis/deepcode/pull/175/commits/4d52c008010c3403d86aaefb862351dd724db355
cabd3a6 ci: trigger checks (PR retargeted to main) Jun 8, 2026 https://github.com/oratis/deepcode/pull/175/commits/cabd3a6175f8e3a193de37d2ba418f434d895049
Clear filters https://github.com/oratis/deepcode/pull/175/files
Please reload this pagehttps://github.com/oratis/deepcode/pull/175/files
Please reload this pagehttps://github.com/oratis/deepcode/pull/175/files
commands.ts https://github.com/oratis/deepcode/pull/175/files#diff-fdaca6f074ecd3059014d4b9211cad78279ba25dc252e68dd1aef95b0aea8182
repl.ts https://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
voice-capture.ts https://github.com/oratis/deepcode/pull/175/files#diff-4d8ef100f780cb43c4de6357da1492e90b311fec6f84e5539103aaf69117ba73
voice-cmd.test.ts https://github.com/oratis/deepcode/pull/175/files#diff-e8e27ab698a66d1ecac832ce83b79b0217f4fef2d507c8c64c76a92162e22020
Entitlements.plist https://github.com/oratis/deepcode/pull/175/files#diff-d343838bab9fc47e3371fb6776f15e8401da4cb7ee212078975762c6a9b5ea9c
Info.plist https://github.com/oratis/deepcode/pull/175/files#diff-b73b01b51a878d5b3d59ccf50ee89046e1ae6142a29ddd7c28e5e33a705f263c
lib.rs https://github.com/oratis/deepcode/pull/175/files#diff-42caba993099471d674b8f4ea3d38f9856ae719d8aa0c68e5bf73837316eebd8
voice.rs https://github.com/oratis/deepcode/pull/175/files#diff-a3c9eaa74b42e8959cb062a3821bff5dbed3f4fda45e434d12cd915d1e98ec4d
index.css https://github.com/oratis/deepcode/pull/175/files#diff-6daa4e6390bdb94bc912b7f6aebfb8fdb01986ced53c340dc34c6ff9a988f6ff
use-voice.ts https://github.com/oratis/deepcode/pull/175/files#diff-074c866a6ecc6aae767c37ef9ca2c0febc1e3db363c76bb1bf29feeac865a187
voice.test.ts https://github.com/oratis/deepcode/pull/175/files#diff-caaa69b42c2dd23a634437fd9a98988fbde730528d0a8433c14b46beea1fc4bc
voice.ts https://github.com/oratis/deepcode/pull/175/files#diff-36b64d0b22d5054466760cbd2d26d7a70d7cdb3f3a671d8c9998972ad45af900
preview-app.tsx https://github.com/oratis/deepcode/pull/175/files#diff-c76730b468a10648138208f8943d82e7b5b78390fdcb633d5c3fe385bd89721d
Repl.tsx https://github.com/oratis/deepcode/pull/175/files#diff-56b93edce83a6ea2297077a3c3cebbc7c733d0191f3151f79f6541708517969c
BEHAVIOR_PARITY.md https://github.com/oratis/deepcode/pull/175/files#diff-6c5f2446d227fa9764b119b85311e8dcfcd947b6465e1408f301a027cde3706d
VOICE_INPUT.md https://github.com/oratis/deepcode/pull/175/files#diff-32e026a1b858da860df04e11531d2a13da1cff1b5733dcc3608c1839ee9ec937
settings.schema.json https://github.com/oratis/deepcode/pull/175/files#diff-26e9e4e9547c86f7563d6e26807d682f7016136b7b85e35ca42931df75ce3c5c
index.ts https://github.com/oratis/deepcode/pull/175/files#diff-27b7db7614f866e140ad5f341bc933dc03e4711bd70d1ebccd1ba97276a941d2
schema.test.ts https://github.com/oratis/deepcode/pull/175/files#diff-1c21f69cbb8d3377976718553cb658465c0023549453747007daeec0900b038d
schema.ts https://github.com/oratis/deepcode/pull/175/files#diff-a60b8f7c93c2619a5acf60dd68d03bd7e35cca091660c2750ec81df57f9d4b1a
types.ts https://github.com/oratis/deepcode/pull/175/files#diff-623912bbe54cdd04399ad03ecf4c603f03682cf4d64116197426943f96811cf9
index.ts https://github.com/oratis/deepcode/pull/175/files#diff-9a4ceebe7c6f86856371906c3f061d3b56b7457022b05179884a113e7ced67e8
detect.test.ts https://github.com/oratis/deepcode/pull/175/files#diff-e5d60a662d5f2d1aae73031b969ac87f2a1ceb7b79fe9d9b451f0a1668c61670
detect.ts https://github.com/oratis/deepcode/pull/175/files#diff-670199d530adea597b0fdb441c69068dc911bdfa143dc6977db12744fcc80fa3
index.ts https://github.com/oratis/deepcode/pull/175/files#diff-47ea46af6602273e56f00248fceadec092e42f4bc807ecf6a3be357fad92ccb9
record.test.ts https://github.com/oratis/deepcode/pull/175/files#diff-bd9a114862b282f7211dd99c4f9cd3206e75ea0ce34eee6cc1a20c9aef114702
record.ts https://github.com/oratis/deepcode/pull/175/files#diff-1198160fd29c506f56515af70d9289b26d396cbe1bea96da4968982dcae81024
apps/cli/src/commands.tshttps://github.com/oratis/deepcode/pull/175/files#diff-fdaca6f074ecd3059014d4b9211cad78279ba25dc252e68dd1aef95b0aea8182
View file https://github.com/oratis/deepcode/blob/cabd3a6175f8e3a193de37d2ba418f434d895049/apps/cli/src/commands.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/oratis/deepcode/pull/175/{{ revealButtonHref }}
https://github.com/oratis/deepcode/pull/175/files#diff-fdaca6f074ecd3059014d4b9211cad78279ba25dc252e68dd1aef95b0aea8182
https://github.com/oratis/deepcode/pull/175/files#diff-fdaca6f074ecd3059014d4b9211cad78279ba25dc252e68dd1aef95b0aea8182
https://github.com/oratis/deepcode/pull/175/files#diff-fdaca6f074ecd3059014d4b9211cad78279ba25dc252e68dd1aef95b0aea8182
https://github.com/oratis/deepcode/pull/175/files#diff-fdaca6f074ecd3059014d4b9211cad78279ba25dc252e68dd1aef95b0aea8182
https://github.com/oratis/deepcode/pull/175/files#diff-fdaca6f074ecd3059014d4b9211cad78279ba25dc252e68dd1aef95b0aea8182
https://github.com/oratis/deepcode/pull/175/files#diff-fdaca6f074ecd3059014d4b9211cad78279ba25dc252e68dd1aef95b0aea8182
https://github.com/oratis/deepcode/pull/175/files#diff-fdaca6f074ecd3059014d4b9211cad78279ba25dc252e68dd1aef95b0aea8182
https://github.com/oratis/deepcode/pull/175/files#diff-fdaca6f074ecd3059014d4b9211cad78279ba25dc252e68dd1aef95b0aea8182
apps/cli/src/repl.tshttps://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
View file https://github.com/oratis/deepcode/blob/cabd3a6175f8e3a193de37d2ba418f434d895049/apps/cli/src/repl.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/oratis/deepcode/pull/175/{{ revealButtonHref }}
https://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
https://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
https://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
https://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
https://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
https://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
https://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
https://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
https://github.com/oratis/deepcode/pull/175/files#diff-6e3a7c0b235cafd437014c1a5eb204887acf649fae0063be8eee5011f5ee3342
apps/cli/src/voice-capture.tshttps://github.com/oratis/deepcode/pull/175/files#diff-4d8ef100f780cb43c4de6357da1492e90b311fec6f84e5539103aaf69117ba73
View file https://github.com/oratis/deepcode/blob/cabd3a6175f8e3a193de37d2ba418f434d895049/apps/cli/src/voice-capture.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/oratis/deepcode/pull/175/{{ revealButtonHref }}
apps/cli/src/voice-cmd.test.tshttps://github.com/oratis/deepcode/pull/175/files#diff-e8e27ab698a66d1ecac832ce83b79b0217f4fef2d507c8c64c76a92162e22020
View file https://github.com/oratis/deepcode/blob/cabd3a6175f8e3a193de37d2ba418f434d895049/apps/cli/src/voice-cmd.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/oratis/deepcode/pull/175/{{ revealButtonHref }}
Please reload this pagehttps://github.com/oratis/deepcode/pull/175/files
Please reload this pagehttps://github.com/oratis/deepcode/pull/175/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.