Files
codex/codex-rs/prompts/Cargo.toml
T
Zahan Malkani 72532ecae5 Negotiate realtime voice calls in the TUI (#61172)
## What changed

- Create WebRTC calls using the TUI's local provider and credentials, then attach the app server through `existingCall` with the returned call ID.
- Preserve the effective voice preference and share realtime prompt preparation and thread headers between call creation and the backend observer.
- Run negotiation asynchronously, cancel pending startup when voice stops, and ignore results from stale startup attempts.

## Testing

Update voice request and handoff tests for client-created calls. Add coverage ensuring that canceling and restarting voice attaches only the new attempt, including when an earlier result is already queued.

GitOrigin-RevId: b704976f4918dddd24a17fbaa868a7c62e81885b
2026-11-12 19:43:12 +00:00

31 lines
780 B
TOML

[package]
edition.workspace = true
license.workspace = true
name = "codex-prompts"
version.workspace = true
[lib]
doctest = false
name = "codex_prompts"
path = "src/lib.rs"
[lints]
workspace = true
[dependencies]
anyhow = { workspace = true }
codex-collaboration-mode-templates = { workspace = true }
codex-context-fragments = { workspace = true }
codex-execpolicy = { workspace = true }
codex-git-utils = { workspace = true }
codex-guardian-context = { workspace = true }
codex-protocol = { workspace = true }
codex-utils-absolute-path = { workspace = true }
codex-utils-template = { workspace = true }
tracing = { workspace = true }
whoami = { workspace = true }
[dev-dependencies]
codex-protocol-test-support = { workspace = true }
pretty_assertions = { workspace = true }