[codex] add live voice session scaffold#141
Draft
Rumblingb wants to merge 10 commits into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
This adds the first production-facing live voice session seam for Ace instead of relying only on the older record-upload-transcribe-playback loop.
The change introduces:
Why it changed
Ace should feel like one persistent concierge presence, not a recorder stitched to a voice player. The current trust seam around payment approval was already correct, but the transport/runtime seam was still batch-shaped.
This PR creates the clean upgrade path to a persistent WebRTC voice session while preserving the current fallback behavior when live runtime credentials are unavailable.
Impact
User impact:
Developer impact:
Root cause
The app had a calm confirmation flow, but the actual voice runtime was still request-response oriented: local recording, server STT, then separate TTS fetch/playback. That transport shape made Ace feel older than the product promise.
Validation
npx tsc --noEmit -p /Users/baskar_viji/Agentpay/apps/meridian/tsconfig.jsonnpx tsc --noEmit -p /Users/baskar_viji/Agentpay/apps/api-edge/tsconfig.jsonnpx pod-installinapps/meridian/iosxcodebuild -workspace /Users/baskar_viji/Agentpay/apps/meridian/ios/Ace.xcworkspace -scheme Ace -configuration Debug -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' buildNotes
package.json/package-lock.jsonchanges that were already present in the worktree before this work.