Skip to content

Conversation

@MikeRyanDev
Copy link
Contributor

Adds @ag-ui/core/events, a tiny subpackage with helpers for forming strongly typed AG-UI events.

Copy link
Contributor

@mme mme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to see some examples of how the envelopes can be used.

]);

export type BaseEvent = z.infer<typeof BaseEventSchema>;
export type AgUiEvent = z.infer<typeof EventSchemas>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use AGUIEvent etc (we are already using that convention elsewhere)

@MikeRyanDev MikeRyanDev force-pushed the feat/type-envelopes branch 2 times, most recently from 0cb93a1 to 1714242 Compare January 5, 2026 21:33
@MikeRyanDev MikeRyanDev requested a review from mme January 5, 2026 21:33
@MikeRyanDev MikeRyanDev merged commit 56921f0 into main Jan 8, 2026
32 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants