@athenaintel/react 0.4.6 → 0.6.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.
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # @athenaintel/react
2
+
3
+ React SDK for building AI-powered chat applications with the Athena platform.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @athenaintel/react
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ```tsx
14
+ import { AthenaProvider, AthenaChat, Toolkits } from '@athenaintel/react';
15
+ import '@athenaintel/react/styles.css';
16
+
17
+ function App() {
18
+ return (
19
+ <AthenaProvider
20
+ apiKey="your-api-key"
21
+ tools={[Toolkits.DOCUMENT, Toolkits.WEB_SEARCH]}
22
+ >
23
+ <AthenaChat />
24
+ </AthenaProvider>
25
+ );
26
+ }
27
+ ```
28
+
29
+ ## Theming
30
+
31
+ ```tsx
32
+ import { themes } from '@athenaintel/react';
33
+
34
+ <AthenaProvider theme={themes.dark}>
35
+ <AthenaProvider theme={{ ...themes.dark, primary: '#8b5cf6' }}>
36
+ <AthenaProvider theme={{ primary: '#e11d48', radius: '1rem' }}>
37
+ ```
38
+
39
+ Preset themes: `light`, `dark`, `midnight`, `warm`, `purple`, `green`.
40
+
41
+ ## Key Components
42
+
43
+ - **`<AthenaProvider>`** — Runtime, auth, theming, and configuration
44
+ - **`<AthenaChat>`** — Full chat UI with composer, messages, and tool rendering
45
+ - **`<AthenaLayout>`** — Split-pane layout with asset panel
46
+ - **`<ThreadList>`** — Conversation history sidebar
47
+ - **`Toolkits`** — Constants for all available backend toolkits
48
+
49
+ ## License
50
+
51
+ Proprietary. For licensed enterprise customers only.