ag-ui-protocol / ag-ui-protocol/ag-ui

[Feature]: Update Zod to ^4.0.0

未关闭
#1,397 4 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
15.9k
派生
1.4k
平均合并
1 天 17 小时
30 天内合并 PR
163

描述

### Pre-flight Checklist

- [x] I have searched existing issues and this hasn't been requested yet.

### Problem or Motivation

Zod 4 was released almost a year ago. The libs in the AI-space have mostly moved onto it. AG-UI is on ^3.x.x which makes it impractical/difficult to use a lib that depends on Zod ^4 with AG-UI. Unfortunately, most libs don't list Zod as a peer-dependency like they should, nor import from `zod/v3` or `zod/v4` like they should.

### Proposed Solution

If AG-UI would just switch to Zod ^4, it would be mostly a non-issue.

### Alternatives Considered

_No response_

### Additional Context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。