# Codex app-server v0.145.0 protocol contract

These JSON Schemas were generated by the exact certified executable:

```text
codex-cli 0.145.0
codex app-server generate-json-schema --out <directory>
```

Upstream source:

- Tag: `rust-v0.145.0`
- Commit: `25af12f7e61572b0bc18ddb1008be543b91519b0`
- Repository: <https://github.com/openai/codex>

The generator was run without `--experimental`. Only schemas consumed by the
Veritas adapter are retained. `ClientRequest.json` intentionally contains the
upstream `thread/shellCommand` method, but the adapter's outbound method
allowlist makes that unsandboxed method structurally unreachable.

SHA-256:

```text
b59f4df6df8d00b3e665b533416efcfef9b5530bcd22a1e4a15dfe7bbd3a8624  retained schema set
14fecc73e7b5a1915a1584bedcecced87f3f409acd583a26b634cb46681888c7  ApplyPatchApprovalResponse.json
47fd8993cff6a23950c46beecd590ac33fad916fdd93e934bb1213d2e20ccfc8  ClientNotification.json
55a12b8a473207e7b7da8f00428d0a028038dd1efa58c85edd241b76c68459db  ClientRequest.json
9fea14eff6538e12a06f3cf1ddae949be2bcef4f12d711fba146850a5e51d7f6  CommandExecutionRequestApprovalResponse.json
5ab8c467d0fd64810612eec7ca68b54f60721b04c30b492eb7d17df9fcf3e4fb  ExecCommandApprovalResponse.json
f58fa18ffdcaa96b2bb71e90202047a5f500caf26d6a47c77ef5751ce0fb88ba  FileChangeRequestApprovalResponse.json
e75fd02cadbd9b56b024e8befcdff448e58b5b0f00200bf595e9ff7a094f28cd  JSONRPCError.json
b20eb2b8eeb396a43bd8d7497c58ac236b410d66d0ad2e704a6e175a622b699c  JSONRPCResponse.json
4291afadaf2926842f1f36ffaf77d51bfe2d2821fa8ca82cced2d0df23447b86  McpServerElicitationRequestResponse.json
dd7e340dd8f23946342168f2e6c61eec0f72afdee5e3520bba051e047a4e0f9f  PermissionsRequestApprovalResponse.json
1dbc09c2af2b27281e54feac29cfc93c2f2500d5cf30d5168cdcc23d7252b365  ServerNotification.json
826d941f136909976b0877b6975cff8aadada0c69a1dd30dd460ae0422b6d2a8  ServerRequest.json
c6d69bbc7f6c00a839202d7f72e92fe6de8f16a5de4d35f696079de5759b190b  ToolRequestUserInputResponse.json
e00eb3ba882c86d27bb46b128240875c88cbfd9d44605d030538d91b40b17857  v1/InitializeResponse.json
7ba45046dc128e91ae144713692f1c96da58938c0ea0de02f1f6ec07cbe2fb27  v2/ThreadStartResponse.json
bf7c7e4c125a0d8a20e73143486ec1c60c5ad9c9746fe261e8d2d00a285b8293  v2/TurnInterruptResponse.json
13f2d6bdf6d3bd163360b2b2cfe2b683ac52ffcef73c06308b4356d0eb5639ab  v2/TurnStartResponse.json
```

The retained schema-set digest is the SHA-256 of the newline-terminated, lexically
sorted per-file digest manifest above, excluding the `retained schema set` line.
