@athenaintel/react 0.10.24 → 0.10.25

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.
package/dist/index.d.ts CHANGED
@@ -579,7 +579,7 @@ export declare function Button({ className, variant, size, asChild, ...props }:
579
579
  }): JSX.Element;
580
580
 
581
581
  export declare const buttonVariants: (props?: ({
582
- variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
582
+ variant?: "default" | "link" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
583
583
  size?: "default" | "icon" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
584
584
  } & ClassProp) | undefined) => string;
585
585
 
@@ -692,7 +692,12 @@ export declare const GetDatabaseTableSchemaToolUI: ToolCallMessagePartComponent;
692
692
 
693
693
  export declare function getPostHogInstance<TClient = unknown>(): TClient | null;
694
694
 
695
- /** Fetch thread state (messages) from the LangGraph-compatible endpoint. */
695
+ /**
696
+ * Fetch persisted thread state from the conversations API.
697
+ *
698
+ * This endpoint is the same source used by Athena's conversation sidebar and
699
+ * supports API-key auth plus BYO SSO session tokens sent as Bearer tokens.
700
+ */
696
701
  export declare function getThreadState(backendUrl: string, auth: AuthConfig, threadId: string): Promise<ThreadStateResponse>;
697
702
 
698
703
  export declare const isAthenaCitationUrl: ({ href, appUrl, }: {
@@ -1016,6 +1021,7 @@ declare interface ThreadStateResponse {
1016
1021
  thread_id: string;
1017
1022
  messages: unknown[];
1018
1023
  status?: string;
1024
+ [key: string]: unknown;
1019
1025
  }
1020
1026
 
1021
1027
  /**