@factorialco/f0-react 1.182.0 → 1.183.0

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.
@@ -237,7 +237,7 @@ export declare const AiChat: () => JSX_2.Element | null;
237
237
 
238
238
  declare type AiChatMode = "popup" | "sidebar";
239
239
 
240
- export declare const AiChatProvider: ({ enabled, mode, greeting, children, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
240
+ export declare const AiChatProvider: ({ enabled, mode, greeting, children, agent, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
241
241
 
242
242
  export declare type AiChatProviderProps = {
243
243
  enabled?: boolean;
@@ -254,12 +254,14 @@ declare type AiChatProviderReturnValue = {
254
254
  setOpen: React.Dispatch<React.SetStateAction<boolean>>;
255
255
  shouldPlayEntranceAnimation: boolean;
256
256
  setShouldPlayEntranceAnimation: React.Dispatch<React.SetStateAction<boolean>>;
257
- } & Pick<AiChatState, "greeting">;
257
+ tmp_setAgent: (agent?: string) => void;
258
+ } & Pick<AiChatState, "greeting" | "agent">;
258
259
 
259
260
  declare interface AiChatState {
260
261
  greeting?: string;
261
262
  initialMode: AiChatMode;
262
263
  enabled: boolean;
264
+ agent?: string;
263
265
  }
264
266
 
265
267
  export declare const Alert: React_2.ForwardRefExoticComponent<Omit<React_2.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
@@ -4779,8 +4781,8 @@ declare global {
4779
4781
 
4780
4782
  declare module "@tiptap/core" {
4781
4783
  interface Commands<ReturnType> {
4782
- aiBlock: {
4783
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4784
+ liveCompanion: {
4785
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4784
4786
  };
4785
4787
  }
4786
4788
  }
@@ -4788,8 +4790,8 @@ declare module "@tiptap/core" {
4788
4790
 
4789
4791
  declare module "@tiptap/core" {
4790
4792
  interface Commands<ReturnType> {
4791
- liveCompanion: {
4792
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4793
+ aiBlock: {
4794
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4793
4795
  };
4794
4796
  }
4795
4797
  }
@@ -4804,11 +4806,6 @@ declare module "@tiptap/core" {
4804
4806
  }
4805
4807
 
4806
4808
 
4807
- declare namespace Calendar {
4808
- var displayName: string;
4809
- }
4810
-
4811
-
4812
4809
  declare module "@tiptap/core" {
4813
4810
  interface Commands<ReturnType> {
4814
4811
  moodTracker: {
@@ -4816,3 +4813,8 @@ declare module "@tiptap/core" {
4816
4813
  };
4817
4814
  }
4818
4815
  }
4816
+
4817
+
4818
+ declare namespace Calendar {
4819
+ var displayName: string;
4820
+ }