feat(mcp): add dynamic mode for MCP servers; fix(all): resolve model namespace collision and error alias conflict; feat(ruby): smart union deserialization; feat(python,java): forward-compatible open discriminated unions with cross-target test parity (#1877)
Generator changes (3)
New features
mcp-typescript
Introduced `--mode dynamic` to generated MCP servers. In this mode, MCP servers no longer register all tools upfront and instead expose only four tools: `list_tools`, `describe_tool_input`, `list_scopes`. This enables progressively revealing tools to LLM agents which can be useful for minimizing the impact of large MCP servers on LLM context windows.
New features
pythonv2
add forward-compatible open discriminated unions with Unknown fallback models
New features
ruby
add smart union deserialization with populated_fields scoring strategy