core-agent-ide/codex-rs/core
Michael Bolin fcd197d596
fix: use std::env::args_os instead of std::env::args (#1698)
Apparently `std::env::args()` will panic during iteration if any
argument to the process is not valid Unicode:

https://doc.rust-lang.org/std/env/fn.args.html

Let's avoid the risk and just go with `std::env::args_os()`.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/1698).
* #1705
* #1703
* #1702
* __->__ #1698
* #1697
2025-07-28 08:52:18 -07:00
..
src fix: use std::env::args_os instead of std::env::args (#1698) 2025-07-28 08:52:18 -07:00
tests chore: update Codex::spawn() to return a struct instead of a tuple (#1677) 2025-07-27 20:01:35 -07:00
Cargo.toml Optionally run using user profile (#1678) 2025-07-25 11:45:23 -07:00
prompt.md feat: initial import of Rust implementation of Codex CLI in codex-rs/ (#629) 2025-04-24 13:31:40 -07:00
README.md feat: initial import of Rust implementation of Codex CLI in codex-rs/ (#629) 2025-04-24 13:31:40 -07:00

codex-core

This crate implements the business logic for Codex. It is designed to be used by the various Codex UIs written in Rust.

Though for non-Rust UIs, we are also working to define a protocol for talking to Codex. See:

You can use the proto subcommand using the executable in the cli crate to speak the protocol using newline-delimited-JSON over stdin/stdout.