@dudko.dev/agent-web 0.0.35 → 0.0.37
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 +13 -11
- package/dist/agent-web.js +114 -114
- package/dist/agent-web.js.map +1 -1
- package/package.json +21 -22
package/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @dudko.dev/agent-web
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@dudko.dev/agent-web)
|
|
4
|
+
[](https://www.npmjs.com/package/@dudko.dev/agent-web)
|
|
5
|
+
[](https://github.com/dudko-dev/agents/blob/main/LICENSE)
|
|
6
|
+
[](https://github.com/dudko-dev/agents/commits/main/packages/agent-web)
|
|
7
|
+
[](https://github.com/dudko-dev/agents/releases)
|
|
8
|
+
|
|
9
|
+
**[agent.dudko.dev](https://agent.dudko.dev)** · [live demo](https://agent.dudko.dev/demo/) · [source](https://github.com/dudko-dev/agents/tree/main/packages/agent-web)
|
|
10
|
+
|
|
3
11
|
Headless, **universal**, configurable **in-browser** LLM agent built on the
|
|
4
12
|
[Vercel AI SDK](https://ai-sdk.dev). One package drives **any** model from the
|
|
5
13
|
browser:
|
|
@@ -29,19 +37,13 @@ across a session (`agent.usage`), **steering** a run while it goes (`RunControl`
|
|
|
29
37
|
`web_fetch`), and **learning** — the agent writes its own lessons down as skills
|
|
30
38
|
— see [docs/capabilities.md](docs/capabilities.md).
|
|
31
39
|
|
|
32
|
-
[](https://www.npmjs.com/package/@dudko.dev/agent-web)
|
|
33
|
-
[](https://www.npmjs.com/package/@dudko.dev/agent-web)
|
|
34
|
-
[](https://www.npmjs.com/package/@dudko.dev/agent-web)
|
|
35
|
-

|
|
36
|
-

|
|
37
|
-
|
|
38
40
|
> Browser sibling of the Node package
|
|
39
41
|
> [`@dudko.dev/agent`](https://www.npmjs.com/package/@dudko.dev/agent).
|
|
40
42
|
|
|
41
43
|
> **Using React?** [`@dudko.dev/agent-web-react`](https://www.npmjs.com/package/@dudko.dev/agent-web-react)
|
|
42
44
|
> wraps this core in a `useAgent` hook, an `<AgentProvider>` context and drop-in
|
|
43
|
-
> UI components — try the **[live demo](https://dudko
|
|
44
|
-
> ([source](https://github.com/dudko-dev/agent-web-react)).
|
|
45
|
+
> UI components — try the **[live demo](https://agent.dudko.dev/demo/)**
|
|
46
|
+
> ([source](https://github.com/dudko-dev/agents/tree/main/packages/agent-web-react)).
|
|
45
47
|
|
|
46
48
|
## Install
|
|
47
49
|
|
|
@@ -66,7 +68,7 @@ npm install @modelcontextprotocol/sdk
|
|
|
66
68
|
`dist/agent-web.js` is a **self-contained ESM bundle** of the core — `ai`,
|
|
67
69
|
`zod` and `idb` are baked in. It ships in the npm package (so it's on every
|
|
68
70
|
CDN) and is attached to each
|
|
69
|
-
[GitHub release](https://github.com/dudko-dev/
|
|
71
|
+
[GitHub release](https://github.com/dudko-dev/agents/releases) as
|
|
70
72
|
`agent-web-<version>.min.js`:
|
|
71
73
|
|
|
72
74
|
```html
|
|
@@ -410,8 +412,8 @@ against it), `stopSubagent(id)` stops one subagent. `egress` (off by default) gi
|
|
|
410
412
|
- [docs/tasks.md](docs/tasks.md) — status & roadmap.
|
|
411
413
|
- [`@dudko.dev/agent-web-react`](https://www.npmjs.com/package/@dudko.dev/agent-web-react) —
|
|
412
414
|
React bindings (`useAgent`, `<AgentProvider>`, pre-styled components) ·
|
|
413
|
-
[live demo](https://dudko
|
|
414
|
-
[source](https://github.com/dudko-dev/agent-web-react).
|
|
415
|
+
[live demo](https://agent.dudko.dev/demo/) ·
|
|
416
|
+
[source](https://github.com/dudko-dev/agents/tree/main/packages/agent-web-react).
|
|
415
417
|
- [`@dudko.dev/agent`](https://www.npmjs.com/package/@dudko.dev/agent) — the
|
|
416
418
|
Node/server sibling (stdio MCP, persistence/resume, OpenTelemetry, CLI).
|
|
417
419
|
|