@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudko.dev/agent-web",
3
- "version": "0.0.2",
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": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
15
- "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" }
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": { "types": "./dist/mcp.d.ts", "default": "./dist/mcp.js" },
19
- "require": { "types": "./dist/mcp.d.cts", "default": "./dist/mcp.cjs" }
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": { "optional": true },
131
- "@ai-sdk/anthropic": { "optional": true },
132
- "@ai-sdk/google": { "optional": true },
133
- "@ai-sdk/openai-compatible": { "optional": true },
134
- "@ai-sdk/xai": { "optional": true },
135
- "@ai-sdk/deepseek": { "optional": true },
136
- "@browser-ai/web-llm": { "optional": true },
137
- "@browser-ai/core": { "optional": true },
138
- "@mlc-ai/web-llm": { "optional": true },
139
- "@modelcontextprotocol/sdk": { "optional": true }
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",