* Codex: regenerate app-server protocol for @openai/codex 0.142.0
Regenerate the vendored Codex app-server protocol client to match the
shipped @openai/codex 0.142.0: bump the pin in build/codex/codex-version.txt
and run `npm run codex:gen-protocol` (build/codex/generate-protocol.mjs).
Include only the minimal hand-written call-site adaptations required to keep
the tree compiling against the regenerated types, so this PR builds on its
own:
- DynamicToolSpec became a discriminated union; tag built tool specs with
`type: 'function'` in codexAgent._buildDynamicTools.
- McpServerElicitationRequestParams gained a third `openai/form` mode whose
schema is opaque; codexElicitationMapper surfaces the message only for any
non-`form` mode.
- ThreadItem userMessage gained required `clientId`; test fixture updated.
- McpServerStatus gained required `serverInfo`; test fixture updated.
The actual agent-host feature work (forking, subagent rendering, single
approvals chip, auto-review denial surfacing) is stacked on top.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* signing commit
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>