-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 2.99 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@dudko.dev/agent-web-react",
"version": "0.0.2",
"description": "React bindings for @dudko.dev/agent-web: a headless useAgent hook, an AgentProvider context, and optional pre-styled components (chat panel, plan/step view, BYOK key form, WebLLM load bar) that connect the in-browser LLM agent to any React site. UI you can drop in — or a headless reducer you can build your own around.",
"type": "module",
"sideEffects": [
"**/*.css"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./styles.css": "./dist/styles.css",
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"format": "prettier --write \"src/**/*.{ts,tsx,css}\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,css}\" \"tests/**/*.ts\"",
"test": "node --test --experimental-strip-types --disable-warning=ExperimentalWarning tests/*.test.ts",
"prepublishOnly": "npm run typecheck && npm test && npm run build",
"pretest": "npm run build"
},
"keywords": [
"agent",
"ai-agent",
"llm",
"llm-agent",
"react",
"react-hooks",
"react-components",
"use-agent",
"browser",
"in-browser",
"ai-sdk",
"vercel-ai-sdk",
"webgpu",
"webllm",
"openai",
"anthropic",
"google",
"byok",
"chat",
"chatbot",
"chat-ui",
"plan-execute",
"tool-use",
"streaming",
"headless-ui",
"typescript"
],
"author": {
"name": "Siarhei Dudko",
"email": "siarhei@dudko.dev",
"url": "https://dudko.dev"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/dudko-dev/agent-web-react.git"
},
"homepage": "https://dudko-dev.github.io/agent-web-react/",
"bugs": {
"url": "https://github.com/dudko-dev/agent-web-react/issues"
},
"funding": [
{
"type": "individual",
"url": "http://dudko.dev/donate"
},
{
"type": "buymeacoffee",
"url": "https://www.buymeacoffee.com/dudko.dev"
},
{
"type": "paypal",
"url": "https://paypal.me/dudkodev"
},
{
"type": "patreon",
"url": "https://patreon.com/dudko_dev"
}
],
"engines": {
"node": ">=18"
},
"peerDependencies": {
"@dudko.dev/agent-web": ">=0.0.6",
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@dudko.dev/agent-web": "^0.0.7",
"@types/node": "^22.9.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"prettier": "^3.3.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tsup": "^8.5.1",
"typescript": "^5.6.0"
}
}