@mcp-b/embedded-agent 1.2.3 → 1.2.5-beta.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/dist/index.d.ts +1 -1
- package/dist/index.js +1022 -804
- package/dist/index.js.map +1 -1
- package/dist/styles/globals.css +1 -1
- package/dist/web-component-standalone.iife.js +155 -7
- package/dist/web-component.js +1022 -804
- package/dist/web-component.js.map +1 -1
- package/package.json +105 -103
package/package.json
CHANGED
|
@@ -1,104 +1,106 @@
|
|
|
1
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
|
-
|
|
2
|
+
"name": "@mcp-b/embedded-agent",
|
|
3
|
+
"version": "1.2.5-beta.0",
|
|
4
|
+
"description": "Embeddable AI chat agent component for React and script tag usage. Intercom-like widget that connects to MCP servers.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://github.com/WebMCP-org/webmcp-agent#readme",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/WebMCP-org/webmcp-agent/issues"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/WebMCP-org/webmcp-agent.git"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"module": "./dist/index.js",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./web-component": {
|
|
27
|
+
"types": "./dist/web-component.d.ts",
|
|
28
|
+
"import": "./dist/web-component.js"
|
|
29
|
+
},
|
|
30
|
+
"./standalone": "./dist/web-component-standalone.iife.js",
|
|
31
|
+
"./styles": "./dist/styles/globals.css",
|
|
32
|
+
"./package.json": "./package.json"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "pnpm run build:css && pnpm run build:inline-styles && tsdown && pnpm run build:css",
|
|
39
|
+
"build:css": "mkdir -p dist/styles && tailwindcss -i src/styles/globals.css -o dist/styles/globals.css --minify",
|
|
40
|
+
"build:inline-styles": "node scripts/generate-inline-styles.js",
|
|
41
|
+
"dev": "tsdown --watch",
|
|
42
|
+
"dev:css": "tailwindcss -i src/styles/globals.css -o dist/styles/globals.css --watch",
|
|
43
|
+
"play": "vite --config playground/vite.config.ts",
|
|
44
|
+
"test": "vitest",
|
|
45
|
+
"check:types": "pnpm run build:css && pnpm run build:inline-styles && tsc --noEmit",
|
|
46
|
+
"check:lint": "eslint src --ignore-pattern 'src/generated/**'",
|
|
47
|
+
"release": "bumpp && pnpm publish",
|
|
48
|
+
"prepublishOnly": "pnpm run build"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@assistant-ui/react": "catalog:",
|
|
52
|
+
"@assistant-ui/react-ai-sdk": "^1.1.12",
|
|
53
|
+
"react-compiler-runtime": "^1.0.0",
|
|
54
|
+
"assistant-stream": "^0.2.41",
|
|
55
|
+
"@assistant-ui/react-markdown": "catalog:",
|
|
56
|
+
"@mcp-b/transports": "catalog:",
|
|
57
|
+
"@modelcontextprotocol/sdk": "catalog:",
|
|
58
|
+
"@openai/agents-realtime": "^0.3.3",
|
|
59
|
+
"@r2wc/react-to-web-component": "^2.1.0",
|
|
60
|
+
"@radix-ui/react-avatar": "catalog:",
|
|
61
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
62
|
+
"@radix-ui/react-scroll-area": "catalog:",
|
|
63
|
+
"@radix-ui/react-separator": "catalog:",
|
|
64
|
+
"@radix-ui/react-slot": "catalog:",
|
|
65
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
66
|
+
"ai": "catalog:",
|
|
67
|
+
"class-variance-authority": "catalog:",
|
|
68
|
+
"clsx": "catalog:",
|
|
69
|
+
"jsonrepair": "^3.13.1",
|
|
70
|
+
"lucide-react": "catalog:",
|
|
71
|
+
"motion": "^12.23.24",
|
|
72
|
+
"react-markdown": "^10.1.0",
|
|
73
|
+
"remark-gfm": "catalog:",
|
|
74
|
+
"tailwind-merge": "catalog:",
|
|
75
|
+
"zod": "catalog:",
|
|
76
|
+
"zustand": "^5.0.8"
|
|
77
|
+
},
|
|
78
|
+
"peerDependencies": {
|
|
79
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
80
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
81
|
+
},
|
|
82
|
+
"devDependencies": {
|
|
83
|
+
"@mcp-b/cloud-mirror-types": "workspace:*",
|
|
84
|
+
"@rollup/plugin-babel": "catalog:",
|
|
85
|
+
"@tailwindcss/cli": "^4.1.17",
|
|
86
|
+
"@tailwindcss/vite": "catalog:",
|
|
87
|
+
"@testing-library/jest-dom": "catalog:",
|
|
88
|
+
"@testing-library/react": "catalog:",
|
|
89
|
+
"@tsconfig/strictest": "catalog:",
|
|
90
|
+
"@types/node": "catalog:",
|
|
91
|
+
"@types/react": "catalog:",
|
|
92
|
+
"@types/react-dom": "catalog:",
|
|
93
|
+
"@vitejs/plugin-react": "catalog:",
|
|
94
|
+
"babel-plugin-react-compiler": "catalog:",
|
|
95
|
+
"bumpp": "catalog:",
|
|
96
|
+
"eslint": "catalog:",
|
|
97
|
+
"happy-dom": "catalog:",
|
|
98
|
+
"react": "catalog:",
|
|
99
|
+
"react-dom": "catalog:",
|
|
100
|
+
"tailwindcss": "catalog:",
|
|
101
|
+
"tsdown": "catalog:",
|
|
102
|
+
"typescript": "catalog:",
|
|
103
|
+
"vite": "catalog:",
|
|
104
|
+
"vitest": "catalog:"
|
|
105
|
+
}
|
|
106
|
+
}
|