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

【ag-ui/mcp-apps-middleware】doesn't work in client side.

Ouverte
#988 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug Integration
Langage dominant
Python
Étoiles
15.9k
Forks
1.4k
Merge moyen
1 j 17 h
PR mergées (30 j)
163

Description

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 ?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.