core-agent-ide/codex-rs/app-server-protocol/src
Keyan Zhang 904dbd414f
generate an internal json schema for RolloutLine (#14434)
### Why
i'm working on something that parses and analyzes codex rollout logs,
and i'd like to have a schema for generating a parser/validator.

`codex app-server generate-internal-json-schema` writes an
`RolloutLine.json` file

while doing this, i noticed we have a writer <> reader mismatch issue on
`FunctionCallOutputPayload` and reasoning item ID -- added some schemars
annotations to fix those

### Test

```
$ just codex app-server generate-internal-json-schema --out ./foo
```

generates an `RolloutLine.json` file, which i validated against jsonl
files on disk

`just codex app-server --help` doesn't expose the
`generate-internal-json-schema` option by default, but you can do `just
codex app-server generate-internal-json-schema --help` if you know the
command

everything else still works

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-17 11:19:42 -07:00
..
bin app-server-protocol: export flat v2 schema bundle (#13324) 2026-03-03 10:25:51 -08:00
protocol fix: align marketplace display name with existing interface conventions (#14886) 2026-03-16 21:52:19 -07:00
experimental_api.rs app-server: propagate nested experimental gating for AskForApproval::Reject (#14191) 2026-03-11 12:33:08 -07:00
export.rs generate an internal json schema for RolloutLine (#14434) 2026-03-17 11:19:42 -07:00
jsonrpc_lite.rs feat(app-server, core): add more spans (#14479) 2026-03-13 13:16:33 -07:00
lib.rs generate an internal json schema for RolloutLine (#14434) 2026-03-17 11:19:42 -07:00
schema_fixtures.rs chore(app-server): stop exporting EventMsg schemas (#14478) 2026-03-12 12:16:05 -07:00