@bdocs/plugin-ask-ai 0.3.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 +21 -0
- package/dist/client/index.d.mts +64 -0
- package/dist/client/index.mjs +776 -0
- package/dist/node/index.d.mts +143 -0
- package/dist/node/index.mjs +387 -0
- package/dist/server/index.d.mts +49 -0
- package/dist/server/index.mjs +103 -0
- package/package.json +51 -0
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bdocs/plugin-ask-ai",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Context-aware AI assistant querying plugin for Boltdocs. OpenAI-powered, page-scoped, streaming. Ships the `<AskAiBubble />` and `<AskAiDialog />` client components for manual composition in custom layouts.",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/node/index.d.mts",
|
|
11
|
+
"import": "./dist/node/index.mjs"
|
|
12
|
+
},
|
|
13
|
+
"./client": {
|
|
14
|
+
"types": "./dist/client/index.d.mts",
|
|
15
|
+
"import": "./dist/client/index.mjs"
|
|
16
|
+
},
|
|
17
|
+
"./server": {
|
|
18
|
+
"types": "./dist/server/index.d.mts",
|
|
19
|
+
"import": "./dist/server/index.mjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"author": "Jesus Alcala",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"type": "module",
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@bdocs/dui": "^0.3.0",
|
|
27
|
+
"openai": "^4.77.0",
|
|
28
|
+
"streamdown": "^1.0.0",
|
|
29
|
+
"zod": "^3.23.0"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"react": "^19.0.0",
|
|
33
|
+
"react-dom": "^19.0.0",
|
|
34
|
+
"vite": "^7.0.0 || ^8.0.0"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@types/node": "^22.0.0",
|
|
38
|
+
"@types/react": "^19.0.0",
|
|
39
|
+
"@types/react-dom": "^19.0.0",
|
|
40
|
+
"react": "^19.0.0",
|
|
41
|
+
"react-dom": "^19.0.0",
|
|
42
|
+
"tsdown": "^0.21.7",
|
|
43
|
+
"typescript": "^5.9.3",
|
|
44
|
+
"boltdocs": "3.2.1"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "tsdown --config-loader unrun",
|
|
48
|
+
"dev": "tsdown --watch --config-loader unrun",
|
|
49
|
+
"test": "vitest run"
|
|
50
|
+
}
|
|
51
|
+
}
|