@dudko.dev/agent-web 0.0.32 → 0.0.34
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 +16 -5
- package/dist/agent-web.js +123 -123
- package/dist/agent-web.js.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/package.json +10 -10
package/dist/index.d.cts
CHANGED
|
@@ -1305,7 +1305,6 @@ type AgentEvent =
|
|
|
1305
1305
|
error: string;
|
|
1306
1306
|
stopped?: boolean;
|
|
1307
1307
|
}
|
|
1308
|
-
/** A message sent with `RunControl.send` is waiting for the next boundary. */
|
|
1309
1308
|
/**
|
|
1310
1309
|
* A request of the `web_fetch` tool, allowed or refused by the egress policy. `url` is origin and
|
|
1311
1310
|
* path only (a query string can carry a secret).
|
|
@@ -1316,7 +1315,9 @@ type AgentEvent =
|
|
|
1316
1315
|
allowed: boolean;
|
|
1317
1316
|
status?: number;
|
|
1318
1317
|
reason?: string;
|
|
1319
|
-
}
|
|
1318
|
+
}
|
|
1319
|
+
/** A message sent with `RunControl.send` is waiting for the next boundary. */
|
|
1320
|
+
| {
|
|
1320
1321
|
type: 'message.queued';
|
|
1321
1322
|
id: string;
|
|
1322
1323
|
text: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1305,7 +1305,6 @@ type AgentEvent =
|
|
|
1305
1305
|
error: string;
|
|
1306
1306
|
stopped?: boolean;
|
|
1307
1307
|
}
|
|
1308
|
-
/** A message sent with `RunControl.send` is waiting for the next boundary. */
|
|
1309
1308
|
/**
|
|
1310
1309
|
* A request of the `web_fetch` tool, allowed or refused by the egress policy. `url` is origin and
|
|
1311
1310
|
* path only (a query string can carry a secret).
|
|
@@ -1316,7 +1315,9 @@ type AgentEvent =
|
|
|
1316
1315
|
allowed: boolean;
|
|
1317
1316
|
status?: number;
|
|
1318
1317
|
reason?: string;
|
|
1319
|
-
}
|
|
1318
|
+
}
|
|
1319
|
+
/** A message sent with `RunControl.send` is waiting for the next boundary. */
|
|
1320
|
+
| {
|
|
1320
1321
|
type: 'message.queued';
|
|
1321
1322
|
id: string;
|
|
1322
1323
|
text: string;
|
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.34",
|
|
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,
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"node": ">=18"
|
|
136
136
|
},
|
|
137
137
|
"dependencies": {
|
|
138
|
-
"ai": "^7.0.
|
|
138
|
+
"ai": "^7.0.173",
|
|
139
139
|
"idb": "^8.0.4",
|
|
140
140
|
"zod": "^4.6.7"
|
|
141
141
|
},
|
|
@@ -184,19 +184,19 @@
|
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
186
|
"devDependencies": {
|
|
187
|
-
"@ai-sdk/anthropic": "^4.0.
|
|
188
|
-
"@ai-sdk/deepseek": "^3.0.
|
|
189
|
-
"@ai-sdk/google": "^4.0.
|
|
190
|
-
"@ai-sdk/openai": "^4.0.
|
|
191
|
-
"@ai-sdk/openai-compatible": "^3.0.
|
|
192
|
-
"@ai-sdk/xai": "^5.0.
|
|
187
|
+
"@ai-sdk/anthropic": "^4.0.105",
|
|
188
|
+
"@ai-sdk/deepseek": "^3.0.87",
|
|
189
|
+
"@ai-sdk/google": "^4.0.121",
|
|
190
|
+
"@ai-sdk/openai": "^4.0.118",
|
|
191
|
+
"@ai-sdk/openai-compatible": "^3.0.92",
|
|
192
|
+
"@ai-sdk/xai": "^5.0.46",
|
|
193
193
|
"@browser-ai/core": "^3.0.4",
|
|
194
194
|
"@browser-ai/web-llm": "^3.0.4",
|
|
195
|
-
"@mlc-ai/web-llm": "^0.2.
|
|
195
|
+
"@mlc-ai/web-llm": "^0.2.88",
|
|
196
196
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
197
197
|
"@types/node": "^22.9.0",
|
|
198
198
|
"fake-indexeddb": "^6.2.8",
|
|
199
|
-
"prettier": "^3.
|
|
199
|
+
"prettier": "^3.10.1",
|
|
200
200
|
"tsup": "^9.0.0",
|
|
201
201
|
"typescript": "^6.0.3"
|
|
202
202
|
}
|