@dudko.dev/agent-web-react 0.0.22 → 0.0.23
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 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -178,7 +178,7 @@ function Custom() {
|
|
|
178
178
|
| --- | --- |
|
|
179
179
|
| `run(goal, { images, files, attachments, label })` | Start a run (with attachments); resolves with the `RunResult` |
|
|
180
180
|
| `stop()` | Abort the in-flight run |
|
|
181
|
-
| `agent` | the core `Agent` itself (or `undefined` until built): `agent.usage` / `agent.sessionUsage()` (tokens spent, counted live), `agent.listLearnedSkills()`, `agent.capabilities` |
|
|
181
|
+
| `agent` | the core `Agent` itself (or `undefined` until built): `agent.usage` / `agent.sessionUsage()` (tokens spent, counted live; core ≥ 0.0.32), `agent.listLearnedSkills()`, `agent.capabilities` |
|
|
182
182
|
| `forgetSkill(name)` | delete one of the agent's own lessons from its notebook |
|
|
183
183
|
| `sendUndelivered()` / `discardUndelivered()` | send, or drop, what a stopped run never showed the agent |
|
|
184
184
|
| `send(text)`, `stopSubagent(id)` | Say something to the running agent (shown to the model at its next boundary; the replanner re-checks the plan) / stop one subagent. `queued`, `notes` and `undelivered` show where a message is — see [docs/chat.md](docs/chat.md#talking-to-the-agent-while-it-works) |
|
|
@@ -397,9 +397,11 @@ Two notes:
|
|
|
397
397
|
core — importing these hooks is what puts it in your build.
|
|
398
398
|
- `oauthSupported` is `false` on cores older than `@dudko.dev/agent-web@0.0.9`,
|
|
399
399
|
which introduced `BrowserOAuthProvider`; header auth still works there. The
|
|
400
|
-
peer floor is `>=0.0.
|
|
401
|
-
|
|
402
|
-
|
|
400
|
+
peer floor is `>=0.0.30` — the first core with the learning notebook
|
|
401
|
+
(`forgetSkill`, `listLearnedSkills`) on top of the virtual file system,
|
|
402
|
+
attachments, consent, tool search, subagents, steering and context editing this
|
|
403
|
+
package's chat builds on. `agent.usage` / `agent.sessionUsage()` and the
|
|
404
|
+
window-derived output caps need `>=0.0.32`.
|
|
403
405
|
|
|
404
406
|
## Several MCP servers — `useMcpServers`
|
|
405
407
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dudko.dev/agent-web-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "React bindings for @dudko.dev/agent-web: a headless useAgent hook, an AgentProvider context, and optional pre-styled components (chat panel, plan/step view, BYOK key form, WebLLM load bar) that connect the in-browser LLM agent to any React site. UI you can drop in — or a headless reducer you can build your own around.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"react-dom": ">=18"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
|
-
"@dudko.dev/agent-web": "^0.0.
|
|
123
|
+
"@dudko.dev/agent-web": "^0.0.33",
|
|
124
124
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
125
125
|
"@playwright/test": "^1.65.0",
|
|
126
126
|
"@types/node": "^22.9.0",
|