Repository navigation
upgrade dependencies for chat client sdk. - #1255
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The lockfile hard-codes Microsoft feed proxy URLs instead of canonical npm tarball URLs, contrary to repository guidance and tying installs to that endpoint.
No open issues 🎉
What changed in this PR
Updates the chat client SDK’s dependencies to address the reported Zod memory-exhaustion vulnerability and adapt to the newer AG-UI schema exports.
Changes:
- Upgrades
@ag-ui/coreto1.0.3and addszodat^4.6.6, with corresponding lockfile updates. - Moves schema imports to
@ag-ui/core/schemasin the codec and its tests. - Documents the updates in the changelog and ignores the root
.localdirectory.
| File | Description |
|---|---|
| sdk/webpubsub-chat-client/yarn.lock | Locks the updated AG-UI and Zod dependencies. |
| sdk/webpubsub-chat-client/tests/agentCodec.test.ts | Adapts the test schema import. |
| sdk/webpubsub-chat-client/src/agUiCodec.ts | Adapts the codec schema import. |
| sdk/webpubsub-chat-client/package.json | Updates runtime dependency declarations. |
| sdk/webpubsub-chat-client/CHANGELOG.md | Records dependency and security updates for beta.4. |
| .gitignore | Excludes the root .local directory. |
Review effort: Balanced
Zhenghui Yan (vwxyzh)
requested review from
bjqian and
Liangying.Wei (vicancy)
November 2, 2026 07:17
Liangying.Wei (vicancy)
approved these changes
Nov 2, 2026
Liangying.Wei (vicancy)
approved these changes
Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates dependencies in the
webpubsub-chat-clientpackage to address a security vulnerability and align with the latest schema import conventions. It also adapts the codebase to work with these updated dependencies.Dependency and Security Updates:
zodto version4.6.6to fix a memory-exhaustion vulnerability (GHSA-mrhx-c7xc-m3w5). [1] [2]@ag-ui/corefrom0.0.57to1.0.3to stay current and compatible with new schema import paths. [1] [2]Codebase Adaptation:
EventSchemasto use@ag-ui/core/schemasinstead of@ag-ui/coreinagUiCodec.tsandagentCodec.test.ts. [1] [2]