Files
codex/codex-rs/protocol
Gene Oden ce20ca2ee7 Fix 400 due to missing id parameter
Fixes issue #6700 which describes failures when search is enabled like
this:
```
■ unexpected status 400 Bad Request: {
  "error": {
    "message": "Missing required parameter: 'input[25].id'.",
    "type": "invalid_request_error",
    "param": "input[25].id",
    "code": "missing_required_parameter"
  }
}
```

This also fixes another issue I ran into after fixing the above issue:
```
■ unexpected status 400 Bad Request: {
  "error": {
    "message": "Invalid value: 'other'. Supported values are: 'search', 'open_page', and 'find_in_page'.",
    "type": "invalid_request_error",
    "param": "input[60].action.type",
    "code": "invalid_value"
  }
}
```
2025-11-16 13:12:41 -08:00
..
2025-11-16 13:12:41 -08:00
2025-10-29 20:46:45 +00:00

codex-protocol

This crate defines the "types" for the protocol used by Codex CLI, which includes both "internal types" for communication between codex-core and codex-tui, as well as "external types" used with codex app-server.

This crate should have minimal dependencies.

Ideally, we should avoid "material business logic" in this crate, as we can always introduce Ext-style traits to add functionality to types in other crates.