@knowbl_ai/nexus-chat 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 +8 -0
- package/README.md +126 -0
- package/dist/types/services/actionStateManager.d.ts +21 -0
- package/dist/types/services/actionStateManager.d.ts.map +1 -0
- package/dist/types/services/tabCoordinator.d.ts +90 -0
- package/dist/types/services/tabCoordinator.d.ts.map +1 -0
- package/dist/types/store/chatStore.d.ts +68 -0
- package/dist/types/store/chatStore.d.ts.map +1 -0
- package/dist/types/types/exports.d.ts +6 -0
- package/dist/types/types/exports.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +1456 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/utils/eventEmitter.d.ts +34 -0
- package/dist/types/utils/eventEmitter.d.ts.map +1 -0
- package/dist/types/utils/synthesis.d.ts +64 -0
- package/dist/types/utils/synthesis.d.ts.map +1 -0
- package/dist/types/utils/tts.d.ts +48 -0
- package/dist/types/utils/tts.d.ts.map +1 -0
- package/dist/types/utils/validation.d.ts +16 -0
- package/dist/types/utils/validation.d.ts.map +1 -0
- package/dist/widget.js +136 -0
- package/dist/widget.js.map +1 -0
- package/dist/widget.umd.js +3 -0
- package/dist/widget.umd.js.map +1 -0
- package/package.json +87 -0
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@knowbl_ai/nexus-chat",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Embeddable AI chat widget for Nexus AI Platform",
|
|
6
|
+
"author": "Knowbl AI <support@knowbl.com>",
|
|
7
|
+
"license": "UNLICENSED",
|
|
8
|
+
"main": "./dist/widget.umd.js",
|
|
9
|
+
"module": "./dist/widget.js",
|
|
10
|
+
"unpkg": "./dist/widget.umd.js",
|
|
11
|
+
"types": "./dist/types/types/exports.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/types/types/exports.d.ts",
|
|
15
|
+
"import": "./dist/widget.js",
|
|
16
|
+
"require": "./dist/widget.umd.js"
|
|
17
|
+
},
|
|
18
|
+
"./types": {
|
|
19
|
+
"types": "./dist/types/types/exports.d.ts"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist/widget.js",
|
|
24
|
+
"dist/widget.js.map",
|
|
25
|
+
"dist/widget.umd.js",
|
|
26
|
+
"dist/widget.umd.js.map",
|
|
27
|
+
"dist/types",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
31
|
+
"keywords": [
|
|
32
|
+
"chat",
|
|
33
|
+
"widget",
|
|
34
|
+
"embeddable",
|
|
35
|
+
"ai",
|
|
36
|
+
"nexus",
|
|
37
|
+
"preact",
|
|
38
|
+
"knowbl"
|
|
39
|
+
],
|
|
40
|
+
"homepage": "https://knowbl.com",
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public",
|
|
43
|
+
"registry": "https://registry.npmjs.org/"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"dev": "vite",
|
|
47
|
+
"build": "pnpm build:types && pnpm build:prod && pnpm build:dev",
|
|
48
|
+
"build:types": "tsc --project tsconfig.types.json",
|
|
49
|
+
"build:prod": "vite build --config vite.config.prod.ts",
|
|
50
|
+
"build:dev": "vite build --config vite.config.dev.ts",
|
|
51
|
+
"preview": "vite preview",
|
|
52
|
+
"dev:demos": "pnpm build && serve . -l 5174 -c serve.json",
|
|
53
|
+
"type-check": "tsc --noEmit",
|
|
54
|
+
"test": "vitest run",
|
|
55
|
+
"lint": "eslint ./src/ --ext .ts,.tsx",
|
|
56
|
+
"postinstall": "test -d dist/types || pnpm build:types || true",
|
|
57
|
+
"clean": "rimraf dist node_modules/.vite node_modules/.vite-temp",
|
|
58
|
+
"prepublishOnly": "pnpm build",
|
|
59
|
+
"prepack": "pnpm build"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@preact/signals": "2.5.1",
|
|
63
|
+
"marked": "17.0.1",
|
|
64
|
+
"overlayscrollbars": "2.13.0",
|
|
65
|
+
"preact": "10.28.0"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@preact/preset-vite": "2.10.2",
|
|
69
|
+
"@tailwindcss/vite": "4.1.17",
|
|
70
|
+
"@types/dom-speech-recognition": "0.0.7",
|
|
71
|
+
"@types/node": "24.10.1",
|
|
72
|
+
"autoprefixer": "10.4.22",
|
|
73
|
+
"eslint": "9.39.1",
|
|
74
|
+
"eslint-config-preact": "2.0.0",
|
|
75
|
+
"postcss": "8.5.6",
|
|
76
|
+
"rimraf": "6.1.2",
|
|
77
|
+
"serve": "^14.2.5",
|
|
78
|
+
"tailwindcss": "4.1.17",
|
|
79
|
+
"typescript": "5.9.3",
|
|
80
|
+
"vite": "7.2.7",
|
|
81
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
82
|
+
"vitest": "4.0.15"
|
|
83
|
+
},
|
|
84
|
+
"eslintConfig": {
|
|
85
|
+
"extends": "preact"
|
|
86
|
+
}
|
|
87
|
+
}
|