@dudko.dev/agent-web 0.0.2 → 0.0.4
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/README.md +6 -0
- package/dist/agent-web.js.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +51 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dudko.dev/agent-web",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Headless, configurable in-browser LLM agent on the Vercel AI SDK: multi-provider bring-your-own-key (OpenAI, Anthropic, Google, xAI, DeepSeek, gateway, openai-compatible) AND local WebGPU/WebLLM, native + prompted tool-calling, structured output, an encrypted IndexedDB token vault, and a plan → execute → replan → synthesize loop. UI-agnostic.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -11,14 +11,29 @@
|
|
|
11
11
|
"jsdelivr": "./dist/agent-web.js",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"import": {
|
|
15
|
-
|
|
14
|
+
"import": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"require": {
|
|
19
|
+
"types": "./dist/index.d.cts",
|
|
20
|
+
"default": "./dist/index.cjs"
|
|
21
|
+
}
|
|
16
22
|
},
|
|
17
23
|
"./mcp": {
|
|
18
|
-
"import": {
|
|
19
|
-
|
|
24
|
+
"import": {
|
|
25
|
+
"types": "./dist/mcp.d.ts",
|
|
26
|
+
"default": "./dist/mcp.js"
|
|
27
|
+
},
|
|
28
|
+
"require": {
|
|
29
|
+
"types": "./dist/mcp.d.cts",
|
|
30
|
+
"default": "./dist/mcp.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"./bundle": {
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"import": "./dist/agent-web.js"
|
|
20
36
|
},
|
|
21
|
-
"./bundle": { "types": "./dist/index.d.ts", "import": "./dist/agent-web.js" },
|
|
22
37
|
"./package.json": "./package.json"
|
|
23
38
|
},
|
|
24
39
|
"files": [
|
|
@@ -127,16 +142,36 @@
|
|
|
127
142
|
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
128
143
|
},
|
|
129
144
|
"peerDependenciesMeta": {
|
|
130
|
-
"@ai-sdk/openai": {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
"@ai-sdk/
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
"@
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"@
|
|
145
|
+
"@ai-sdk/openai": {
|
|
146
|
+
"optional": true
|
|
147
|
+
},
|
|
148
|
+
"@ai-sdk/anthropic": {
|
|
149
|
+
"optional": true
|
|
150
|
+
},
|
|
151
|
+
"@ai-sdk/google": {
|
|
152
|
+
"optional": true
|
|
153
|
+
},
|
|
154
|
+
"@ai-sdk/openai-compatible": {
|
|
155
|
+
"optional": true
|
|
156
|
+
},
|
|
157
|
+
"@ai-sdk/xai": {
|
|
158
|
+
"optional": true
|
|
159
|
+
},
|
|
160
|
+
"@ai-sdk/deepseek": {
|
|
161
|
+
"optional": true
|
|
162
|
+
},
|
|
163
|
+
"@browser-ai/web-llm": {
|
|
164
|
+
"optional": true
|
|
165
|
+
},
|
|
166
|
+
"@browser-ai/core": {
|
|
167
|
+
"optional": true
|
|
168
|
+
},
|
|
169
|
+
"@mlc-ai/web-llm": {
|
|
170
|
+
"optional": true
|
|
171
|
+
},
|
|
172
|
+
"@modelcontextprotocol/sdk": {
|
|
173
|
+
"optional": true
|
|
174
|
+
}
|
|
140
175
|
},
|
|
141
176
|
"devDependencies": {
|
|
142
177
|
"@ai-sdk/anthropic": "^3.0.92",
|