mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why Code Mode embeds TypeScript declarations in tool descriptions, so scripts that want to inspect a tool's argument and return types have to extract the declaration from the description. ## What changed Enable `features.code_mode_all_tools_schema` to expose callable names, descriptions, and TypeScript signatures as separate fields in `ALL_TOOLS`. Update the `exec` guidance to match the selected format, including when resuming a session. The flag is off by default. Carry signatures over gRPC and stdio. Reject execution requests with signatures when the host does not advertise support for them. ## Testing Add coverage for both catalog formats, `exec` guidance on resume, and signature preservation over gRPC and stdio. GitOrigin-RevId: dedaeec4a2563c23d432c324187ef20f6a0e5ea3