Parse-PRD Compatibility & Z.ai Structured Outputs

Improved schema compatibility across LLM models for parse-prd, fixed pricing display after JSON repair, and enabled structured outputs for Z.ai providers.

Patch Changes

  • #1377 3c22875 Thanks @Crunchyman-ralph! - Fix parse-prd schema to accept responses from models that omit optional fields (like Z.ai/GLM). Changed metadata field to use union pattern with .default(null) for better structured outputs compatibility.

  • #1377 3c22875 Thanks @Crunchyman-ralph! - Fix ai response not showing price after its json was repaired

  • #1377 3c22875 Thanks @Crunchyman-ralph! - Enable structured outputs for Z.ai providers. Added supportsStructuredOutputs: true to use json_schema mode for more reliable JSON generation in operations like parse-prd.