core-agent-ide/codex-rs/cli
Michael Bolin 69ac5153d4
fix: replace --api-key with --with-api-key in codex login (#4646)
Previously, users could supply their API key directly via:

```shell
codex login --api-key KEY
```

but this has the drawback that `KEY` is more likely to end up in shell
history, can be read from `/proc`, etc.

This PR removes support for `--api-key` and replaces it with
`--with-api-key`, which reads the key from stdin, so either of these are
better options:

```
printenv OPENAI_API_KEY | codex login --with-api-key
codex login --with-api-key < my_key.txt
```

Other CLIs, such as `gh auth login --with-token`, follow the same
practice.
2025-10-03 06:17:31 +00:00
..
src fix: replace --api-key with --with-api-key in codex login (#4646) 2025-10-03 06:17:31 +00:00
tests [MCP] Add experimental support for streamable HTTP MCP servers (#4317) 2025-09-26 21:24:01 -04:00
Cargo.toml fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00