@tanstack/ai 0.10.3 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/esm/activities/chat/index.d.ts +4 -0
  2. package/dist/esm/activities/chat/index.js +50 -16
  3. package/dist/esm/activities/chat/index.js.map +1 -1
  4. package/dist/esm/activities/chat/middleware/compose.js +5 -4
  5. package/dist/esm/activities/chat/middleware/compose.js.map +1 -1
  6. package/dist/esm/activities/chat/stream/processor.d.ts +16 -1
  7. package/dist/esm/activities/chat/stream/processor.js +120 -21
  8. package/dist/esm/activities/chat/stream/processor.js.map +1 -1
  9. package/dist/esm/activities/chat/stream/types.d.ts +1 -0
  10. package/dist/esm/activities/chat/tools/schema-converter.js +4 -2
  11. package/dist/esm/activities/chat/tools/schema-converter.js.map +1 -1
  12. package/dist/esm/activities/chat/tools/tool-calls.js +3 -1
  13. package/dist/esm/activities/chat/tools/tool-calls.js.map +1 -1
  14. package/dist/esm/activities/generateVideo/index.js +6 -0
  15. package/dist/esm/activities/generateVideo/index.js.map +1 -1
  16. package/dist/esm/activities/stream-generation-result.d.ts +3 -2
  17. package/dist/esm/activities/stream-generation-result.js +12 -4
  18. package/dist/esm/activities/stream-generation-result.js.map +1 -1
  19. package/dist/esm/index.js +2 -0
  20. package/dist/esm/index.js.map +1 -1
  21. package/dist/esm/stream-to-response.d.ts +2 -2
  22. package/dist/esm/stream-to-response.js +0 -1
  23. package/dist/esm/stream-to-response.js.map +1 -1
  24. package/dist/esm/strip-to-spec-middleware.d.ts +18 -0
  25. package/dist/esm/strip-to-spec-middleware.js +20 -0
  26. package/dist/esm/strip-to-spec-middleware.js.map +1 -0
  27. package/dist/esm/types.d.ts +229 -95
  28. package/package.json +3 -2
  29. package/src/activities/chat/index.ts +90 -25
  30. package/src/activities/chat/middleware/compose.ts +6 -4
  31. package/src/activities/chat/stream/processor.ts +152 -25
  32. package/src/activities/chat/stream/types.ts +1 -0
  33. package/src/activities/chat/tools/schema-converter.ts +8 -2
  34. package/src/activities/chat/tools/tool-calls.ts +4 -2
  35. package/src/activities/generateVideo/index.ts +13 -6
  36. package/src/activities/stream-generation-result.ts +19 -11
  37. package/src/stream-to-response.ts +2 -4
  38. package/src/strip-to-spec-middleware.ts +37 -0
  39. package/src/types.ts +276 -109
@@ -1,4 +1,5 @@
1
1
  import { StandardJSONSchemaV1 } from '@standard-schema/spec';
2
+ import { BaseEvent as AGUIBaseEvent, CustomEvent as AGUICustomEvent, MessagesSnapshotEvent as AGUIMessagesSnapshotEvent, ReasoningEncryptedValueEvent as AGUIReasoningEncryptedValueEvent, ReasoningEndEvent as AGUIReasoningEndEvent, ReasoningMessageContentEvent as AGUIReasoningMessageContentEvent, ReasoningMessageEndEvent as AGUIReasoningMessageEndEvent, ReasoningMessageStartEvent as AGUIReasoningMessageStartEvent, ReasoningStartEvent as AGUIReasoningStartEvent, RunErrorEvent as AGUIRunErrorEvent, RunFinishedEvent as AGUIRunFinishedEvent, RunStartedEvent as AGUIRunStartedEvent, StateDeltaEvent as AGUIStateDeltaEvent, StateSnapshotEvent as AGUIStateSnapshotEvent, StepFinishedEvent as AGUIStepFinishedEvent, StepStartedEvent as AGUIStepStartedEvent, TextMessageContentEvent as AGUITextMessageContentEvent, TextMessageEndEvent as AGUITextMessageEndEvent, TextMessageStartEvent as AGUITextMessageStartEvent, ToolCallArgsEvent as AGUIToolCallArgsEvent, ToolCallEndEvent as AGUIToolCallEndEvent, ToolCallResultEvent as AGUIToolCallResultEvent, ToolCallStartEvent as AGUIToolCallStartEvent, EventType } from '@ag-ui/core';
2
3
  /**
3
4
  * Tool call states - track the lifecycle of a tool call
4
5
  */
@@ -603,49 +604,68 @@ export interface TextOptions<TProviderOptionsSuperset extends Record<string, any
603
604
  * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortController
604
605
  */
605
606
  abortController?: AbortController;
607
+ /**
608
+ * Thread ID for AG-UI protocol run correlation.
609
+ * When provided, this will be used in RunStartedEvent and RunFinishedEvent.
610
+ */
611
+ threadId?: string;
612
+ /**
613
+ * Run ID for AG-UI protocol run correlation.
614
+ * When provided, this will be used in RunStartedEvent and RunFinishedEvent.
615
+ * If not provided, a unique ID will be generated.
616
+ */
617
+ runId?: string;
606
618
  }
619
+ /**
620
+ * Re-export EventType enum from @ag-ui/core for use in event creation.
621
+ * Use `EventType.RUN_STARTED` etc. when constructing event objects.
622
+ */
623
+ export { EventType } from '@ag-ui/core';
607
624
  /**
608
625
  * AG-UI Protocol event types.
609
- * Based on the AG-UI specification for agent-user interaction.
626
+ * @deprecated Use `EventType` enum from `@ag-ui/core` instead. This type alias
627
+ * is kept for backward compatibility but will be removed in a future version.
610
628
  * @see https://docs.ag-ui.com/concepts/events
611
629
  */
612
- export type AGUIEventType = 'RUN_STARTED' | 'RUN_FINISHED' | 'RUN_ERROR' | 'TEXT_MESSAGE_START' | 'TEXT_MESSAGE_CONTENT' | 'TEXT_MESSAGE_END' | 'TOOL_CALL_START' | 'TOOL_CALL_ARGS' | 'TOOL_CALL_END' | 'STEP_STARTED' | 'STEP_FINISHED' | 'MESSAGES_SNAPSHOT' | 'STATE_SNAPSHOT' | 'STATE_DELTA' | 'CUSTOM';
630
+ export type AGUIEventType = `${EventType}`;
613
631
  /**
614
632
  * Stream chunk/event types (AG-UI protocol).
633
+ * @deprecated Use `EventType` enum instead.
615
634
  */
616
635
  export type StreamChunkType = AGUIEventType;
617
636
  /**
618
637
  * Base structure for AG-UI events.
619
- * Extends AG-UI spec with TanStack AI additions (model field).
638
+ * Extends @ag-ui/core BaseEvent with TanStack AI additions.
639
+ *
640
+ * @ag-ui/core provides: `type`, `timestamp?`, `rawEvent?`
641
+ * TanStack AI adds: `model?`
620
642
  */
621
- export interface BaseAGUIEvent {
622
- type: AGUIEventType;
623
- timestamp: number;
643
+ export interface BaseAGUIEvent extends AGUIBaseEvent {
624
644
  /** Model identifier for multi-model support */
625
645
  model?: string;
626
- /** Original provider event for debugging/advanced use cases */
627
- rawEvent?: unknown;
628
646
  }
629
647
  /**
630
648
  * Emitted when a run starts.
631
649
  * This is the first event in any streaming response.
650
+ *
651
+ * @ag-ui/core provides: `threadId`, `runId`, `parentRunId?`, `input?`
652
+ * TanStack AI adds: `model?`
632
653
  */
633
- export interface RunStartedEvent extends BaseAGUIEvent {
634
- type: 'RUN_STARTED';
635
- /** Unique identifier for this run */
636
- runId: string;
637
- /** Optional thread/conversation ID */
638
- threadId?: string;
654
+ export interface RunStartedEvent extends AGUIRunStartedEvent {
655
+ /** Model identifier for multi-model support */
656
+ model?: string;
639
657
  }
640
658
  /**
641
659
  * Emitted when a run completes successfully.
660
+ *
661
+ * @ag-ui/core provides: `threadId`, `runId`, `result?`
662
+ * TanStack AI adds: `model?`, `finishReason?`, `usage?`
642
663
  */
643
- export interface RunFinishedEvent extends BaseAGUIEvent {
644
- type: 'RUN_FINISHED';
645
- /** Run identifier */
646
- runId: string;
664
+ export interface RunFinishedEvent extends AGUIRunFinishedEvent {
665
+ /** Model identifier for multi-model support */
666
+ model?: string;
647
667
  /** Why the generation stopped */
648
- finishReason: 'stop' | 'length' | 'content_filter' | 'tool_calls' | null;
668
+ finishReason?: 'stop' | 'length' | 'content_filter' | 'tool_calls' | null;
649
669
  /** Token usage statistics */
650
670
  usage?: {
651
671
  promptTokens: number;
@@ -655,58 +675,68 @@ export interface RunFinishedEvent extends BaseAGUIEvent {
655
675
  }
656
676
  /**
657
677
  * Emitted when an error occurs during a run.
678
+ *
679
+ * @ag-ui/core provides: `message`, `code?`
680
+ * TanStack AI adds: `model?`, `error?` (deprecated nested form)
658
681
  */
659
- export interface RunErrorEvent extends BaseAGUIEvent {
660
- type: 'RUN_ERROR';
661
- /** Run identifier (if available) */
662
- runId?: string;
663
- /** Error details */
664
- error: {
682
+ export interface RunErrorEvent extends AGUIRunErrorEvent {
683
+ /** Model identifier for multi-model support */
684
+ model?: string;
685
+ /**
686
+ * @deprecated Use top-level `message` and `code` fields instead.
687
+ * Kept for backward compatibility.
688
+ */
689
+ error?: {
665
690
  message: string;
666
691
  code?: string;
667
692
  };
668
693
  }
669
694
  /**
670
695
  * Emitted when a text message starts.
696
+ *
697
+ * @ag-ui/core provides: `messageId`, `role?`, `name?`
698
+ * TanStack AI adds: `model?`
671
699
  */
672
- export interface TextMessageStartEvent extends BaseAGUIEvent {
673
- type: 'TEXT_MESSAGE_START';
674
- /** Unique identifier for this message */
675
- messageId: string;
676
- /** Role of the message sender */
677
- role: 'user' | 'assistant' | 'system' | 'tool';
700
+ export interface TextMessageStartEvent extends AGUITextMessageStartEvent {
701
+ /** Model identifier for multi-model support */
702
+ model?: string;
678
703
  }
679
704
  /**
680
705
  * Emitted when text content is generated (streaming tokens).
706
+ *
707
+ * @ag-ui/core provides: `messageId`, `delta`
708
+ * TanStack AI adds: `model?`, `content?` (accumulated)
681
709
  */
682
- export interface TextMessageContentEvent extends BaseAGUIEvent {
683
- type: 'TEXT_MESSAGE_CONTENT';
684
- /** Message identifier */
685
- messageId: string;
686
- /** The incremental content token */
687
- delta: string;
688
- /** Full accumulated content so far (optional, for debugging) */
710
+ export interface TextMessageContentEvent extends AGUITextMessageContentEvent {
711
+ /** Model identifier for multi-model support */
712
+ model?: string;
713
+ /** Full accumulated content so far (TanStack AI internal, for debugging) */
689
714
  content?: string;
690
715
  }
691
716
  /**
692
717
  * Emitted when a text message completes.
718
+ *
719
+ * @ag-ui/core provides: `messageId`
720
+ * TanStack AI adds: `model?`
693
721
  */
694
- export interface TextMessageEndEvent extends BaseAGUIEvent {
695
- type: 'TEXT_MESSAGE_END';
696
- /** Message identifier */
697
- messageId: string;
722
+ export interface TextMessageEndEvent extends AGUITextMessageEndEvent {
723
+ /** Model identifier for multi-model support */
724
+ model?: string;
698
725
  }
699
726
  /**
700
727
  * Emitted when a tool call starts.
728
+ *
729
+ * @ag-ui/core provides: `toolCallId`, `toolCallName`, `parentMessageId?`
730
+ * TanStack AI adds: `model?`, `toolName` (deprecated alias), `index?`, `providerMetadata?`
701
731
  */
702
- export interface ToolCallStartEvent extends BaseAGUIEvent {
703
- type: 'TOOL_CALL_START';
704
- /** Unique identifier for this tool call */
705
- toolCallId: string;
706
- /** Name of the tool being called */
732
+ export interface ToolCallStartEvent extends AGUIToolCallStartEvent {
733
+ /** Model identifier for multi-model support */
734
+ model?: string;
735
+ /**
736
+ * @deprecated Use `toolCallName` instead (from @ag-ui/core spec).
737
+ * Kept for backward compatibility.
738
+ */
707
739
  toolName: string;
708
- /** ID of the parent message that initiated this tool call */
709
- parentMessageId?: string;
710
740
  /** Index for parallel tool calls */
711
741
  index?: number;
712
742
  /** Provider-specific metadata to carry into the ToolCall */
@@ -714,50 +744,81 @@ export interface ToolCallStartEvent extends BaseAGUIEvent {
714
744
  }
715
745
  /**
716
746
  * Emitted when tool call arguments are streaming.
747
+ *
748
+ * @ag-ui/core provides: `toolCallId`, `delta`
749
+ * TanStack AI adds: `model?`, `args?` (accumulated)
717
750
  */
718
- export interface ToolCallArgsEvent extends BaseAGUIEvent {
719
- type: 'TOOL_CALL_ARGS';
720
- /** Tool call identifier */
721
- toolCallId: string;
722
- /** Incremental JSON arguments delta */
723
- delta: string;
724
- /** Full accumulated arguments so far */
751
+ export interface ToolCallArgsEvent extends AGUIToolCallArgsEvent {
752
+ /** Model identifier for multi-model support */
753
+ model?: string;
754
+ /** Full accumulated arguments so far (TanStack AI internal) */
725
755
  args?: string;
726
756
  }
727
757
  /**
728
758
  * Emitted when a tool call completes.
759
+ *
760
+ * @ag-ui/core provides: `toolCallId`
761
+ * TanStack AI adds: `model?`, `toolCallName?`, `toolName?` (deprecated), `input?`, `result?`
729
762
  */
730
- export interface ToolCallEndEvent extends BaseAGUIEvent {
731
- type: 'TOOL_CALL_END';
732
- /** Tool call identifier */
733
- toolCallId: string;
734
- /** Name of the tool */
735
- toolName: string;
736
- /** Final parsed input arguments */
763
+ export interface ToolCallEndEvent extends AGUIToolCallEndEvent {
764
+ /** Model identifier for multi-model support */
765
+ model?: string;
766
+ /** Name of the tool that completed */
767
+ toolCallName?: string;
768
+ /**
769
+ * @deprecated Use `toolCallName` instead.
770
+ * Kept for backward compatibility.
771
+ */
772
+ toolName?: string;
773
+ /** Final parsed input arguments (TanStack AI internal) */
737
774
  input?: unknown;
738
- /** Tool execution result (if executed) */
775
+ /** Tool execution result (TanStack AI internal) */
739
776
  result?: string;
740
777
  }
778
+ /**
779
+ * Emitted when a tool call result is available.
780
+ *
781
+ * @ag-ui/core provides: `messageId`, `toolCallId`, `content`, `role?`
782
+ * TanStack AI adds: `model?`
783
+ */
784
+ export interface ToolCallResultEvent extends AGUIToolCallResultEvent {
785
+ /** Model identifier for multi-model support */
786
+ model?: string;
787
+ }
741
788
  /**
742
789
  * Emitted when a thinking/reasoning step starts.
790
+ *
791
+ * @ag-ui/core provides: `stepName`
792
+ * TanStack AI adds: `model?`, `stepId?` (deprecated alias), `stepType?`
743
793
  */
744
- export interface StepStartedEvent extends BaseAGUIEvent {
745
- type: 'STEP_STARTED';
746
- /** Unique identifier for this step */
747
- stepId: string;
794
+ export interface StepStartedEvent extends AGUIStepStartedEvent {
795
+ /** Model identifier for multi-model support */
796
+ model?: string;
797
+ /**
798
+ * @deprecated Use `stepName` instead (from @ag-ui/core spec).
799
+ * Kept for backward compatibility.
800
+ */
801
+ stepId?: string;
748
802
  /** Type of step (e.g., 'thinking', 'planning') */
749
803
  stepType?: string;
750
804
  }
751
805
  /**
752
806
  * Emitted when a thinking/reasoning step finishes.
807
+ *
808
+ * @ag-ui/core provides: `stepName`
809
+ * TanStack AI adds: `model?`, `stepId?` (deprecated alias), `delta?`, `content?`
753
810
  */
754
- export interface StepFinishedEvent extends BaseAGUIEvent {
755
- type: 'STEP_FINISHED';
756
- /** Step identifier */
757
- stepId: string;
758
- /** Incremental thinking content */
759
- delta: string;
760
- /** Full accumulated thinking content (optional, for debugging) */
811
+ export interface StepFinishedEvent extends AGUIStepFinishedEvent {
812
+ /** Model identifier for multi-model support */
813
+ model?: string;
814
+ /**
815
+ * @deprecated Use `stepName` instead (from @ag-ui/core spec).
816
+ * Kept for backward compatibility.
817
+ */
818
+ stepId?: string;
819
+ /** Incremental thinking content (TanStack AI internal) */
820
+ delta?: string;
821
+ /** Full accumulated thinking content (TanStack AI internal) */
761
822
  content?: string;
762
823
  }
763
824
  /**
@@ -765,43 +826,116 @@ export interface StepFinishedEvent extends BaseAGUIEvent {
765
826
  *
766
827
  * Unlike StateSnapshot (which carries arbitrary application state),
767
828
  * MessagesSnapshot specifically delivers the conversation transcript.
768
- * This is a first-class AG-UI event type.
829
+ *
830
+ * @ag-ui/core provides: `messages` (as @ag-ui/core Message[])
831
+ * TanStack AI adds: `model?`
832
+ *
833
+ * Note: The `messages` field uses the @ag-ui/core Message type.
834
+ * Use converters to transform to/from TanStack UIMessage format.
769
835
  */
770
- export interface MessagesSnapshotEvent extends BaseAGUIEvent {
771
- type: 'MESSAGES_SNAPSHOT';
772
- /** Complete array of messages in the conversation */
773
- messages: Array<UIMessage>;
836
+ export interface MessagesSnapshotEvent extends AGUIMessagesSnapshotEvent {
837
+ /** Model identifier for multi-model support */
838
+ model?: string;
774
839
  }
775
840
  /**
776
841
  * Emitted to provide a full state snapshot.
842
+ *
843
+ * @ag-ui/core provides: `snapshot` (any)
844
+ * TanStack AI adds: `model?`, `state?` (deprecated alias for snapshot)
777
845
  */
778
- export interface StateSnapshotEvent extends BaseAGUIEvent {
779
- type: 'STATE_SNAPSHOT';
780
- /** The complete state object */
781
- state: Record<string, unknown>;
846
+ export interface StateSnapshotEvent extends AGUIStateSnapshotEvent {
847
+ /** Model identifier for multi-model support */
848
+ model?: string;
849
+ /**
850
+ * @deprecated Use `snapshot` instead (from @ag-ui/core spec).
851
+ * Kept for backward compatibility.
852
+ */
853
+ state?: Record<string, unknown>;
782
854
  }
783
855
  /**
784
856
  * Emitted to provide an incremental state update.
857
+ *
858
+ * @ag-ui/core provides: `delta` (any[] - JSON Patch RFC 6902)
859
+ * TanStack AI adds: `model?`
785
860
  */
786
- export interface StateDeltaEvent extends BaseAGUIEvent {
787
- type: 'STATE_DELTA';
788
- /** The state changes to apply */
789
- delta: Record<string, unknown>;
861
+ export interface StateDeltaEvent extends AGUIStateDeltaEvent {
862
+ /** Model identifier for multi-model support */
863
+ model?: string;
790
864
  }
791
865
  /**
792
866
  * Custom event for extensibility.
867
+ *
868
+ * @ag-ui/core provides: `name`, `value`
869
+ * TanStack AI adds: `model?`
793
870
  */
794
- export interface CustomEvent extends BaseAGUIEvent {
795
- type: 'CUSTOM';
796
- /** Custom event name */
797
- name: string;
798
- /** Custom event value */
799
- value?: unknown;
871
+ export interface CustomEvent extends AGUICustomEvent {
872
+ /** Model identifier for multi-model support */
873
+ model?: string;
874
+ }
875
+ /**
876
+ * Emitted when reasoning starts for a message.
877
+ *
878
+ * @ag-ui/core provides: `messageId`
879
+ * TanStack AI adds: `model?`
880
+ */
881
+ export interface ReasoningStartEvent extends AGUIReasoningStartEvent {
882
+ /** Model identifier for multi-model support */
883
+ model?: string;
884
+ }
885
+ /**
886
+ * Emitted when a reasoning message starts.
887
+ *
888
+ * @ag-ui/core provides: `messageId`, `role` ("reasoning")
889
+ * TanStack AI adds: `model?`
890
+ */
891
+ export interface ReasoningMessageStartEvent extends AGUIReasoningMessageStartEvent {
892
+ /** Model identifier for multi-model support */
893
+ model?: string;
894
+ }
895
+ /**
896
+ * Emitted when reasoning message content is generated.
897
+ *
898
+ * @ag-ui/core provides: `messageId`, `delta`
899
+ * TanStack AI adds: `model?`
900
+ */
901
+ export interface ReasoningMessageContentEvent extends AGUIReasoningMessageContentEvent {
902
+ /** Model identifier for multi-model support */
903
+ model?: string;
904
+ }
905
+ /**
906
+ * Emitted when a reasoning message ends.
907
+ *
908
+ * @ag-ui/core provides: `messageId`
909
+ * TanStack AI adds: `model?`
910
+ */
911
+ export interface ReasoningMessageEndEvent extends AGUIReasoningMessageEndEvent {
912
+ /** Model identifier for multi-model support */
913
+ model?: string;
914
+ }
915
+ /**
916
+ * Emitted when reasoning ends for a message.
917
+ *
918
+ * @ag-ui/core provides: `messageId`
919
+ * TanStack AI adds: `model?`
920
+ */
921
+ export interface ReasoningEndEvent extends AGUIReasoningEndEvent {
922
+ /** Model identifier for multi-model support */
923
+ model?: string;
924
+ }
925
+ /**
926
+ * Emitted for encrypted reasoning values.
927
+ *
928
+ * @ag-ui/core provides: `subtype`, `entityId`, `encryptedValue`
929
+ * TanStack AI adds: `model?`
930
+ */
931
+ export interface ReasoningEncryptedValueEvent extends AGUIReasoningEncryptedValueEvent {
932
+ /** Model identifier for multi-model support */
933
+ model?: string;
800
934
  }
801
935
  /**
802
936
  * Union of all AG-UI events.
803
937
  */
804
- export type AGUIEvent = RunStartedEvent | RunFinishedEvent | RunErrorEvent | TextMessageStartEvent | TextMessageContentEvent | TextMessageEndEvent | ToolCallStartEvent | ToolCallArgsEvent | ToolCallEndEvent | StepStartedEvent | StepFinishedEvent | MessagesSnapshotEvent | StateSnapshotEvent | StateDeltaEvent | CustomEvent;
938
+ export type AGUIEvent = RunStartedEvent | RunFinishedEvent | RunErrorEvent | TextMessageStartEvent | TextMessageContentEvent | TextMessageEndEvent | ToolCallStartEvent | ToolCallArgsEvent | ToolCallEndEvent | ToolCallResultEvent | StepStartedEvent | StepFinishedEvent | MessagesSnapshotEvent | StateSnapshotEvent | StateDeltaEvent | CustomEvent | ReasoningStartEvent | ReasoningMessageStartEvent | ReasoningMessageContentEvent | ReasoningMessageEndEvent | ReasoningEndEvent | ReasoningEncryptedValueEvent;
805
939
  /**
806
940
  * Chunk returned by the SDK during streaming chat completions.
807
941
  * Uses the AG-UI protocol event format.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/ai",
3
- "version": "0.10.3",
3
+ "version": "0.11.1",
4
4
  "description": "Core TanStack AI library - Open source AI SDK",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -45,8 +45,9 @@
45
45
  "tanstack-intent"
46
46
  ],
47
47
  "dependencies": {
48
+ "@ag-ui/core": "0.0.49",
48
49
  "partial-json": "^0.1.7",
49
- "@tanstack/ai-event-client": "0.2.3"
50
+ "@tanstack/ai-event-client": "0.2.5"
50
51
  },
51
52
  "devDependencies": {
52
53
  "@standard-schema/spec": "^1.1.0",