Skip to content

Preserve Zod pipeline input schemas - #467

Open
Slai.life (huong8373tt-beep) wants to merge 1 commit into
microsoft:mainfrom
huong8373tt-beep:fix/zod-transform-input-schema
Open

Slai.life (huong8373tt-beep) wants to merge 1 commit into
microsoft:mainfrom
huong8373tt-beep:fix/zod-transform-input-schema

Conversation

@huong8373tt-beep

Copy link
Copy Markdown

Summary

  • emit the input side of Zod pipelines in generated TypeScript schemas
  • keep transformed runtime values from safeParse unchanged
  • add coverage for ISO date-time transforms, pipelines, and invalid input

Fixes #451

Validation

  • npm test in typescript/ (180 passed)
  • git diff --check

AI assistance disclosure

Slai Agent Runtime assisted with investigation, implementation, and tests. The account owner reviewed and authorized this contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support explicit JSON-to-runtime mappings with accurate prompt schemas

1 participant