core-agent-ide/codex-rs/app-server-protocol/src
Michael Bolin e6d913af2d
chore: rename ChatGpt -> Chatgpt in type names (#10244)
When using ChatGPT in names of types, we should be consistent, so this
renames some types with `ChatGpt` in the name to `Chatgpt`. From
https://rust-lang.github.io/api-guidelines/naming.html:

> In `UpperCamelCase`, acronyms and contractions of compound words count
as one word: use `Uuid` rather than `UUID`, `Usize` rather than `USize`
or `Stdin` rather than `StdIn`. In `snake_case`, acronyms and
contractions are lower-cased: `is_xid_start`.

This PR updates existing uses of `ChatGpt` and changes them to
`Chatgpt`. Though in all cases where it could affect the wire format, I
visually inspected that we don't change anything there. That said, this
_will_ change the codegen because it will affect the spelling of type
names.

For example, this renames `AuthMode::ChatGPT` to `AuthMode::Chatgpt` in
`app-server-protocol`, but the wire format is still `"chatgpt"`.

This PR also updates a number of types in `codex-rs/core/src/auth.rs`.
2026-01-30 11:18:39 -08:00
..
bin Generate JSON schema for app-server protocol (#5063) 2025-10-20 11:45:11 -07:00
protocol chore: rename ChatGpt -> Chatgpt in type names (#10244) 2026-01-30 11:18:39 -08:00
export.rs Fix: Skip Option<()> schema generation to avoid invalid Windows filenames (#7479) (#7969) 2025-12-15 09:57:12 -08:00
jsonrpc_lite.rs [app-server] remove serde(skip_serializing_if = "Option::is_none") annotations (#5939) 2025-10-30 18:18:53 +00:00
lib.rs [app-server] populate thread>turns>items on thread/resume (#6848) 2025-11-19 15:58:09 +00:00