@bmx-labs/chat-widget 0.0.1
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 +661 -0
- package/README.md +90 -0
- package/dist/adapters/AnthropicAdapter.d.ts +16 -0
- package/dist/adapters/ContextAdapter.d.ts +19 -0
- package/dist/adapters/CustomAPIAdapter.d.ts +20 -0
- package/dist/adapters/KnowledgeBaseAdapter.d.ts +20 -0
- package/dist/adapters/MockAdapter.d.ts +6 -0
- package/dist/adapters/MorphexAdapter.d.ts +16 -0
- package/dist/adapters/OpenAIAdapter.d.ts +17 -0
- package/dist/adapters/RAGAdapter.d.ts +29 -0
- package/dist/adapters/RestRAGAdapter.d.ts +9 -0
- package/dist/adapters/TestAdapter.d.ts +6 -0
- package/dist/adapters/context/ContextAdapter.d.ts +19 -0
- package/dist/adapters/context/KnowledgeBaseAdapter.d.ts +20 -0
- package/dist/adapters/context/MorphexAdapter.d.ts +16 -0
- package/dist/adapters/context/PineconeRAGAdapter.d.ts +40 -0
- package/dist/adapters/context/RAGAdapter.d.ts +29 -0
- package/dist/adapters/context/index.d.ts +2 -0
- package/dist/adapters/index.d.ts +2 -0
- package/dist/adapters/mock.d.ts +2 -0
- package/dist/adapters/rest.d.ts +7 -0
- package/dist/components/BmxChatBot.d.ts +2 -0
- package/dist/components/LazyComponents.d.ts +3 -0
- package/dist/components/Orb.d.ts +8 -0
- package/dist/components/OrbButton.d.ts +10 -0
- package/dist/components/SimpleIridescence.d.ts +8 -0
- package/dist/components/SimpleOrb.d.ts +8 -0
- package/dist/components/chat/ChatButton.d.ts +10 -0
- package/dist/components/chat/ChatHeader.d.ts +7 -0
- package/dist/components/chat/ChatInput.d.ts +11 -0
- package/dist/components/chat/ChatPanel.d.ts +24 -0
- package/dist/components/chat/SettingsPanel.d.ts +12 -0
- package/dist/components/markdown/index.d.ts +3 -0
- package/dist/components/message/AssistantMessage.d.ts +6 -0
- package/dist/components/message/MessageItem.d.ts +6 -0
- package/dist/components/message/MessageList.d.ts +7 -0
- package/dist/components/message/TypingIndicator.d.ts +1 -0
- package/dist/components/message/UserMessage.d.ts +6 -0
- package/dist/components/ogl/DarkVeil.d.ts +11 -0
- package/dist/components/ogl/Iridescence.d.ts +8 -0
- package/dist/components/ogl/Orb.d.ts +8 -0
- package/dist/components/ogl/OrbButton.d.ts +10 -0
- package/dist/data/morphexData.d.ts +7 -0
- package/dist/framer.js +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -0
- package/dist/ogl.js +1 -0
- package/dist/styles.css +1 -0
- package/dist/styles.css.map +1 -0
- package/dist/styles.js +0 -0
- package/dist/styles.js.map +1 -0
- package/dist/types.d.ts +30 -0
- package/dist/utils/format.d.ts +7 -0
- package/dist/utils/logger.d.ts +43 -0
- package/dist/vendors.js +1 -0
- package/package.json +78 -0
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bmx-labs/chat-widget",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "BMX Chat Widget for React/Next.js with RAG capabilities",
|
|
6
|
+
"license": "GNU AGPLv3",
|
|
7
|
+
"author": "BMX",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/bmx-labs/chat-widget.git"
|
|
11
|
+
},
|
|
12
|
+
"type": "module",
|
|
13
|
+
"sideEffects": [
|
|
14
|
+
"**/*.css",
|
|
15
|
+
"**/*.scss"
|
|
16
|
+
],
|
|
17
|
+
"main": "./dist/index.js",
|
|
18
|
+
"module": "./dist/index.js",
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./style.css": "./dist/styles.css",
|
|
26
|
+
"./styles.css": "./dist/styles.css"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist"
|
|
30
|
+
],
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=20"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public",
|
|
36
|
+
"registry": "https://registry.npmjs.org/"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"framer-motion": "^11.0.0",
|
|
40
|
+
"ogl": "^1.0.0",
|
|
41
|
+
"react-icons": "^5.5.0",
|
|
42
|
+
"react-markdown": "^10.1.0",
|
|
43
|
+
"rehype-highlight": "^7.0.2",
|
|
44
|
+
"remark-gfm": "^4.0.1"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"react": ">=17",
|
|
48
|
+
"react-dom": ">=17"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/node": "^22.10.1",
|
|
52
|
+
"@types/react": "^18.3.5",
|
|
53
|
+
"@types/react-dom": "^18.3.0",
|
|
54
|
+
"css-loader": "^7.1.2",
|
|
55
|
+
"mini-css-extract-plugin": "^2.9.1",
|
|
56
|
+
"sass": "^1.93.2",
|
|
57
|
+
"sass-loader": "^16.0.3",
|
|
58
|
+
"ts-loader": "^9.5.1",
|
|
59
|
+
"typescript": "^5.6.3",
|
|
60
|
+
"webpack": "^5.95.0",
|
|
61
|
+
"webpack-cli": "^5.1.4"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"chat-widget",
|
|
65
|
+
"react",
|
|
66
|
+
"widget",
|
|
67
|
+
"ai",
|
|
68
|
+
"rag",
|
|
69
|
+
"pinecone",
|
|
70
|
+
"bmx"
|
|
71
|
+
],
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "webpack --config webpack.config.js --mode=production",
|
|
74
|
+
"build:dev": "webpack --config webpack.config.js --mode=development",
|
|
75
|
+
"dev": "webpack --config webpack.config.js --mode=development --watch",
|
|
76
|
+
"clean": "rm -rf dist"
|
|
77
|
+
}
|
|
78
|
+
}
|