ag-ui-protocol / ag-ui-protocol/ag-ui
【ag-ui/mcp-apps-middleware】doesn't work in client side.
未關閉
bug
Integration
- 主要語言
- Python
- 星號
- 15.9k
- 分支
- 1.4k
- 平均合併
- 1 天 17 小時
- 30 天內合併 PR
- 163
描述
Dear Team:
I use @ag-ui/mcp-apps-middleware in front-end project, when i start the project, an error occurs: crypto is not defined. So I check the source code of middleware, found the following:
import { randomUUID, createHash } from "crypto";
The crypto library is a node.js built-in library, npm dose not have this! so the error occurs! It seems this middleware should work in NodeJS or server side! BUT HOW CAN I USE it in client side ? And I want to know this middleware is designed to work in SERVER SIDE ?
貢獻指南
評估
這個 Issue 還沒有評估資料。