codex/codex-rs/utils/pty/src
Benjamin Carlsson 13bc770eaf Add installed voice host lifecycle support (#41902)
## What changed

- Add `VoiceHost` to resolve the packaged voice helper, launch it with an
  allowlisted environment, perform the protocol handshake, and enforce bounded
  shutdown and process cleanup.
- Preserve native executable path encoding in the pipe process APIs.
- Add `third_party/voice/assemble_package.py` to create a fresh package copy
  containing a target-compatible helper and a provenance manifest with file
  hashes.

## Testing

- Cover installed helper lifecycle, build matching, missing and symlinked
  helpers, non-UTF-8 package paths, environment filtering, package validation,
  target pairing, and failure cleanup.

GitOrigin-RevId: f893074b36ae6bb9bcedc00fbe7af6bb72745f4c
History 2026-08-31 19:44:44 +00:00
..
win Prevent ConPTY DLL loading from the current directory (#39262) 2026-08-18 19:09:33 +00:00
lib.rs Prevent Unix PTY I/O from blocking runtime shutdown (#40460) 2026-08-24 19:25:32 +00:00
pipe.rs Add installed voice host lifecycle support (#41902) 2026-08-31 19:44:44 +00:00
pipe_tests.rs Terminate Windows non-TTY processes on interrupt (#35655) 2026-07-27 18:37:11 +00:00
process.rs Preserve child waiters during process termination (#37498) 2026-08-07 20:10:08 +00:00
process_group.rs Fall back to per-process MCP cleanup on macOS (#37068) 2026-08-05 09:43:26 +00:00
process_group_tests.rs Fall back to per-process MCP cleanup on macOS (#37068) 2026-08-05 09:43:26 +00:00
pty.rs Prevent Unix PTY I/O from blocking runtime shutdown (#40460) 2026-08-24 19:25:32 +00:00
tests.rs Prevent Unix PTY I/O from blocking runtime shutdown (#40460) 2026-08-24 19:25:32 +00:00
unix_io.rs Prevent Unix PTY I/O from blocking runtime shutdown (#40460) 2026-08-24 19:25:32 +00:00
windows_input.rs [codex] fix Windows ConPTY input handling (#29734) 2026-06-24 11:27:44 -07:00
windows_input_tests.rs [codex] fix Windows ConPTY input handling (#29734) 2026-06-24 11:27:44 -07:00
windows_tests.rs Harden local MCP server process tree cleanup (#37366) 2026-08-07 03:34:49 +00:00