@bot-brewers/chat-widget 1.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 AI Enhanced Engineer
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,53 @@
1
+ # AI Assistant Widget
2
+
3
+ Zero-code embeddable AI chat widget for any website. Add intelligent support with a single line of code.
4
+
5
+ ## Quick Start
6
+
7
+ ### CDN (Recommended)
8
+ ```html
9
+ <script src="https://cdn.jsdelivr.net/gh/ai-enhanced-engineer/chat-widget-dist@latest/dist/assistant-widget.js"></script>
10
+ <assistant-widget client-id="your-client-id"></assistant-widget>
11
+ ```
12
+
13
+ ### npm
14
+ ```bash
15
+ npm install @ai-enhanced/chat-widget
16
+ ```
17
+
18
+ ```javascript
19
+ import '@ai-enhanced/chat-widget';
20
+ ```
21
+
22
+ ## Configuration
23
+
24
+ ```html
25
+ <assistant-widget
26
+ client-id="your-client-id"
27
+ title="Chat with us!"
28
+ position="bottom-right"
29
+ accent-color="#6366f1">
30
+ </assistant-widget>
31
+ ```
32
+
33
+ | Attribute | Type | Default | Description |
34
+ |-----------|------|---------|-------------|
35
+ | `client-id` | string | **required** | Your unique client ID |
36
+ | `title` | string | "AI Assistant" | Widget header title |
37
+ | `position` | string | "bottom-right" | Widget position: `bottom-right`, `bottom-left` |
38
+ | `accent-color` | string | "#6366f1" | Primary widget color |
39
+
40
+ ## Browser Support
41
+
42
+ - Chrome 63+
43
+ - Firefox 63+
44
+ - Safari 13+
45
+ - Edge 79+
46
+
47
+ ## License
48
+
49
+ MIT License - see [LICENSE](LICENSE) file.
50
+
51
+ ---
52
+
53
+ **Note**: This is a distribution repository. Source code is maintained separately.
package/dist/.gitkeep ADDED
@@ -0,0 +1 @@
1
+ # Distribution directory for compiled widget assets
@@ -0,0 +1 @@
1
+ Not Found
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@bot-brewers/chat-widget",
3
+ "version": "1.0.0",
4
+ "description": "Embeddable AI Assistant Widget - Zero-code integration",
5
+ "main": "dist/assistant-widget.js",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "keywords": [
10
+ "ai",
11
+ "chat",
12
+ "widget",
13
+ "assistant",
14
+ "embeddable"
15
+ ],
16
+ "license": "MIT",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/ai-enhanced-engineer/chat-widget-dist.git"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public",
23
+ "provenance": true
24
+ }
25
+ }