@athenaintel/react 0.10.23 → 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
  /**
@@ -1144,7 +1150,7 @@ export declare const Toolkits: {
1144
1150
  readonly PRESENTATION: "presentation_toolkit";
1145
1151
  /** PowerPoint presentation creation from templates. */
1146
1152
  readonly POWERPOINT: "powerpoint_deck_toolkit";
1147
- /** Workspace file management (Spaces). */
1153
+ /** Workspace file management (Olympus Drive). */
1148
1154
  readonly DRIVE: "olympus_drive_toolkit";
1149
1155
  /** Python code execution. */
1150
1156
  readonly PYTHON: "python_toolkit";