mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
bd68aeda32
Picks up ag-ui-protocol/ag-ui#1578 — `import * as jsonpatch from "fast-json-patch"` produced an empty namespace under Node native ESM because fast-json-patch@3.x populates exports via Object.assign, which the CJS→ESM named-export detector cannot see. Result: every STATE_DELTA and ACTIVITY_DELTA event threw "applyPatch is not a function", and LangGraph generative UI streams floods the console with the failure on each patch. 0.0.53 switches to a default import so the emitted bundle works under both ESM and CJS consumers. Bumped @ag-ui/core and @ag-ui/encoder in lockstep since they share the release.
2.8 KiB
2.8 KiB