@dudko.dev/agent-web 0.0.37 → 0.0.39

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.
Files changed (39) hide show
  1. package/README.md +179 -7
  2. package/dist/agent-web.js +315 -125
  3. package/dist/agent-web.js.map +1 -1
  4. package/dist/{chunk-Y7OGKYE5.js → chunk-3V27UZT6.js} +35 -9
  5. package/dist/chunk-3V27UZT6.js.map +1 -0
  6. package/dist/chunk-A6ZJALLU.js +254 -0
  7. package/dist/chunk-A6ZJALLU.js.map +1 -0
  8. package/dist/chunk-CTXDKSDD.js +39 -0
  9. package/dist/chunk-CTXDKSDD.js.map +1 -0
  10. package/dist/chunk-TZITKUFW.js +800 -0
  11. package/dist/chunk-TZITKUFW.js.map +1 -0
  12. package/dist/chunk-V3JOK7EW.js +929 -0
  13. package/dist/chunk-V3JOK7EW.js.map +1 -0
  14. package/dist/index.cjs +7253 -2159
  15. package/dist/index.cjs.map +1 -1
  16. package/dist/index.d.cts +1714 -324
  17. package/dist/index.d.ts +1714 -324
  18. package/dist/index.js +3832 -862
  19. package/dist/index.js.map +1 -1
  20. package/dist/mcp.cjs +1031 -24
  21. package/dist/mcp.cjs.map +1 -1
  22. package/dist/mcp.d.cts +409 -13
  23. package/dist/mcp.d.ts +409 -13
  24. package/dist/mcp.js +918 -26
  25. package/dist/mcp.js.map +1 -1
  26. package/dist/sandbox-KG6OUG24.js +269 -0
  27. package/dist/sandbox-KG6OUG24.js.map +1 -0
  28. package/dist/sandbox-worker.cjs +745 -0
  29. package/dist/sandbox-worker.cjs.map +1 -0
  30. package/dist/sandbox-worker.d.cts +37 -0
  31. package/dist/sandbox-worker.d.ts +37 -0
  32. package/dist/sandbox-worker.js +27 -0
  33. package/dist/sandbox-worker.js.map +1 -0
  34. package/dist/{webllm-PCPDLDQA.js → webllm-BEL5A4OF.js} +2 -2
  35. package/package.json +23 -4
  36. package/dist/chunk-CPSDKXO6.js +0 -132
  37. package/dist/chunk-CPSDKXO6.js.map +0 -1
  38. package/dist/chunk-Y7OGKYE5.js.map +0 -1
  39. /package/dist/{webllm-PCPDLDQA.js.map → webllm-BEL5A4OF.js.map} +0 -0
package/README.md CHANGED
@@ -219,7 +219,16 @@ read-only by the consent gate. A failing server is reported in `results`; the
219
219
  others still mount. With hundreds of tools the agent switches to tool search
220
220
  automatically (see [docs/capabilities.md](docs/capabilities.md#large-tool-catalogues-several-mcp-servers)).
221
221
 
222
- `connectMcpHttp` returns `{ tools, catalog, results, refreshServer, close }`.
222
+ A server's `instructions` (from its `initialize` result) reach the planner's and
223
+ the executor's system prompts, marked as third-party text and capped; a tool's
224
+ `structuredContent` reaches the model once, as JSON, and a result that breaks
225
+ its `outputSchema` is passed on with a note instead of failing the call. See
226
+ [docs/capabilities.md](docs/capabilities.md#mcp-server-instructions-and-structured-results);
227
+ the instructions are a prompt-injection surface
228
+ ([docs/security.md](docs/security.md#mcp-server-instructions-third-party-text-in-a-system-prompt)) —
229
+ `mcpInstructions: false` switches them off.
230
+
231
+ `connectMcpHttp` returns `{ tools, catalog, results, instructions, refreshServer, close }`.
223
232
  `tools` and `catalog` are mutated **in place** by `refreshServer(name)`, so an
224
233
  agent built from them picks up a server's new tool list (react to it via the
225
234
  `onToolsChanged` option) without being rebuilt. Filtering is plain object work:
@@ -253,13 +262,108 @@ if (mcp.results[0]?.needsAuthorization) {
253
262
  }
254
263
  ```
255
264
 
256
- Tokens, the dynamic registration and the PKCE verifier are stored in the same
265
+ Tokens, the registration, the PKCE verifier and what discovery found are stored in the same
257
266
  **encrypted IndexedDB vault** as provider API keys (`VaultOAuthStorage`; swap in
258
267
  `MemoryOAuthStorage` or your own via `storage`). `redirectToAuthorization` never
259
268
  navigates on its own — the SDK can demand authorization from inside a running
260
269
  tool call, and evicting the user then would discard the run. The URL is recorded
261
270
  on `provider.authorizationUrl` and the app decides when to use it.
262
271
 
272
+ - **`iss` (RFC 9207).** `readOAuthCallback` reads the `iss` parameter of the
273
+ redirect and `finishMcpOAuth` checks it against the authorization server the
274
+ flow was started with, after `state` and before the code is exchanged. A
275
+ different issuer is refused (a mix-up attack), and so is a missing `iss` when
276
+ the server's metadata says `authorization_response_iss_parameter_supported:
277
+ true`. The comparison is exact. If you parse the callback yourself, pass `iss`
278
+ along; `checkAuthorizationResponseIssuer` is the rule on its own.
279
+ - **`clientMetadataUrl` (CIMD).** Host a client ID metadata document and pass
280
+ its URL: an authorization server that advertises
281
+ `client_id_metadata_document_supported` takes the URL as the `client_id` and
282
+ no registration request is made. Other servers get dynamic registration as
283
+ before, and a registration already in storage wins over both. The URL must be
284
+ https with a path (anything else throws in the constructor), and the document
285
+ must list the same `redirect_uris` as `redirectUrl`.
286
+ - **Registration** describes a public PKCE client. `application_type` follows
287
+ the redirect URL: `'web'` for an https page, `'native'` for a loopback one
288
+ (local development). Change any field through `clientMetadata`.
289
+ - `provider.reset()` forgets tokens, registration and discovery - use it when a
290
+ server moved to another authorization server.
291
+
292
+ ### Enterprise-managed authorization (ID-JAG)
293
+
294
+ When the company's identity provider decides who may use which MCP server (the
295
+ MCP extension `io.modelcontextprotocol/enterprise-managed-authorization`, also
296
+ called Cross App Access), there is no consent page and no redirect. Your app
297
+ already holds the user's OpenID Connect ID token from single sign-on; the
298
+ provider turns it into an access token in two POSTs: a token exchange at the IdP
299
+ (ID token in, an **ID-JAG** out), then a `jwt-bearer` grant at the MCP server's
300
+ authorization server (ID-JAG in, access token out).
301
+
302
+ ```ts
303
+ import { connectMcpHttp, createEnterpriseOAuthProvider } from '@dudko.dev/agent-web/mcp'
304
+
305
+ const provider = createEnterpriseOAuthProvider({
306
+ serverUrl: 'https://mcp.example.com/mcp',
307
+ clientId: 'agent-web', // at the MCP authorization server, a public client
308
+ expectedIssuer: 'https://auth.example.com', // required with a clientSecret, wise without
309
+ idp: { tokenEndpoint: 'https://acme.idp.example/oauth2/token', clientId: 'agent-web-at-idp' },
310
+ getIdToken: () => session.idToken, // yours: called for every new ID-JAG
311
+ })
312
+
313
+ const mcp = await connectMcpHttp({ docs: { url: 'https://mcp.example.com/mcp', authProvider: provider } })
314
+ ```
315
+
316
+ - It runs before the first request when there is no usable token, and again
317
+ when the token expires or the server answers 401 - a fresh ID token and a
318
+ fresh exchange each time. No refresh token is used.
319
+ - Only the access token (and what discovery found) is stored, in the vault by
320
+ default (`storage`). The ID token and the ID-JAG are never stored, logged or
321
+ put in an error.
322
+ - Errors are `EnterpriseOAuthError` with `hop`: `'idp'`, `'authorization-server'`
323
+ or `'discovery'`. A refusal by the authorization server reads `MCP
324
+ authorization server refused the ID-JAG grant: invalid_grant (HTTP 400)` - the
325
+ code and the status, never the server's own text - at connect
326
+ (`results[].error`, `needsAuthorization` unset) and in the middle of a session
327
+ (the tool call fails with it). What the server said goes to `onLog` at `warn`
328
+ (to the package logger when there is none), with every token, assertion,
329
+ secret and key cut out first.
330
+ - **`expectedIssuer` is required with `clientSecret` and with `private_key_jwt`**
331
+ (the constructor throws otherwise): without it the MCP server's metadata would
332
+ choose who receives the secret, or which audience a signed assertion is made
333
+ for. A client with no credential at the authorization server may omit it: the
334
+ only thing sent there is then the ID-JAG, which the IdP addressed to that one
335
+ server.
336
+ - **`private_key_jwt`** (`clientAuthMethod` / `idp.clientAuthMethod`) signs a
337
+ client assertion with WebCrypto instead of sending a secret: `privateKey` (a
338
+ `CryptoKey` - make it non-extractable - or a JWK), `algorithm` (`ES256`,
339
+ `RS256`, ...), optional `keyId`, and `idp.issuer` for the IdP. The assertion's
340
+ only audience is the issuer of the server it is for, it lives 60 seconds and
341
+ carries a new `jti` each time.
342
+ - **`assertionAudience` / `assertionType`** (and the same two inside `idp`), for
343
+ a server built to RFC 7523 rather than to `draft-ietf-oauth-rfc7523bis`:
344
+
345
+ | Option | Values | Default |
346
+ | --- | --- | --- |
347
+ | `assertionAudience`, `idp.assertionAudience` | `'issuer'` or `'token-endpoint'`: what the assertion's `aud` is | `'issuer'` |
348
+ | `assertionType`, `idp.assertionType` | `'client-authentication+jwt'` or `'JWT'`: its `typ` header | `'client-authentication+jwt'` |
349
+
350
+ `'token-endpoint'` addresses the assertion to `idp.tokenEndpoint` (then
351
+ `idp.issuer` is not required) or, for the authorization server, to the token
352
+ endpoint of the discovered metadata once it matched `expectedIssuer`. It is
353
+ the weaker form - see
354
+ [docs/security.md](docs/security.md#mcp-enterprise-managed-authorization-id-jag) - so
355
+ use it only for a server that refuses the default.
356
+ - **`clientId` may be the https URL of a client ID metadata document** (CIMD),
357
+ with `private_key_jwt` or no credential, never with a `clientSecret`.
358
+ - **In a browser:** the IdP's token endpoint must allow your origin (CORS), and
359
+ a `clientSecret` (yours or `idp.clientSecret`) in a page is readable by anyone
360
+ who can open the page. So this provider is for public clients, or for a
361
+ `fetch` that routes the IdP call through your backend, which holds the
362
+ secret. See
363
+ [docs/security.md](docs/security.md#mcp-enterprise-managed-authorization-id-jag).
364
+ - Verified against a test identity provider, not a commercial one. Options,
365
+ checks and limits: [docs/capabilities.md](docs/capabilities.md#mcp-servers-behind-oauth).
366
+
263
367
  ### CORS: what the server must send
264
368
 
265
369
  A browser tells JavaScript nothing about why it blocked a request — a CORS
@@ -357,20 +461,81 @@ needs. Subagents are tools too — `createSubagentTool({ config })` runs a child
357
461
  agent in-process, `createSubagentTool({ worker, workerConfig })` isolates it in a
358
462
  Web Worker served by `serveSubagentWorker()`. Add `profiles` and the parent model
359
463
  chooses, per call, between named variants of the same subagent — another model,
360
- thinking level, limits or system prompt. Give `persistence` a store
464
+ thinking level, limits or system prompt. With `subagents: { dynamic: true }` the model
465
+ starts helpers itself (`spawn_subagent`): a sub-task, an optional role and a subset of its own
466
+ tools — a helper can only have less than the run that starts it, and its spend counts against
467
+ that run's limits. Give `persistence` a store
361
468
  (`new IndexedDBRunStore()`) and a run interrupted by a reload or a crash resumes from its
362
469
  last checkpoint with `run('', { resumeFromRunId })` — the planner does not run again and
363
470
  no finished step is repeated. `createRunControl()` steers a run that is going: `send()`
364
471
  puts a message in front of the model at the next boundary (the replanner re-checks the plan
365
- against it), `stopSubagent(id)` stops one subagent. `egress` (off by default) gives the model one safe `web_fetch` tool with allow / deny lists. `learning` (off by default) lets the agent write down what it figured out as skills of its own — in memory, or in the file system across sessions. Details, defaults and events:
472
+ against it), `stopSubagent(id)` stops one subagent. `egress` (off by default) gives the model one safe `web_fetch` tool with allow / deny lists. `search` (off by default) adds `web_search` over a search API you name (Tavily, Brave through a gateway, your SearXNG) or a function of yours — the key stays in the credential store. `sandbox` (off by default) gives the model `run_js`: the code it wrote runs in QuickJS-in-WebAssembly inside a Web Worker that is killed at the deadline, so "I ran it" is a tool call you can see. `media` (off by default) mounts `generate_image`, `generate_speech` and `transcribe_audio` — each only when you configure its model — writes what they make into the virtual file system instead of the context, and turns attached audio into text for a model that cannot listen. `learning` (off by default) lets the agent write down what it figured out as skills of its own — in memory, or in the file system across sessions. Details, defaults and events:
366
473
  **[docs/capabilities.md](docs/capabilities.md)**.
367
474
 
475
+ ## Pipelines: a graph of agents
476
+
477
+ A pipeline is a graph of agents - each node an agent with its own role, model and tools, each edge
478
+ passing one node's output to the next, optionally on a condition, loops allowed - described in
479
+ plain JSON, so it can be stored, shared and drawn by an editor.
480
+
481
+ ```ts
482
+ import { createPipeline, nodeResolver } from '@dudko.dev/agent-web'
483
+
484
+ const definition = {
485
+ version: 1,
486
+ entry: 'writer',
487
+ nodes: [
488
+ { id: 'writer', name: 'Writer', instructions: 'Write the text the request asks for.', model: 'smart' },
489
+ {
490
+ id: 'reviewer',
491
+ name: 'Reviewer',
492
+ instructions: 'Review the text. Be strict.',
493
+ routes: [{ label: 'approve', description: 'ready to publish' }, { label: 'revise' }],
494
+ },
495
+ { id: 'publisher', instructions: 'Format the approved text for publication.', tools: ['files'] },
496
+ ],
497
+ edges: [
498
+ { from: 'writer', to: 'reviewer' },
499
+ { from: 'reviewer', to: 'publisher', when: { kind: 'route', label: 'approve' } },
500
+ { from: 'reviewer', to: 'writer', when: { kind: 'otherwise' } }, // the loop
501
+ ],
502
+ limits: { maxNodeVisits: 3, maxRuns: 25 }, // the defaults
503
+ }
504
+
505
+ const pipeline = createPipeline(definition, {
506
+ // What the names in the definition stand for. A name that is not here fails its node.
507
+ resolveNode: nodeResolver({
508
+ base: { model, credentials }, // a BrowserAgentConfig: every node starts from it
509
+ models: { smart: { providerType: 'openai', model: 'gpt-4o-mini', credentialRef: 'openai' } },
510
+ tools: { files: createFileTools(vfs) },
511
+ // skills: { ... }, mcpServers: { docs: mcp }, configure: (config, node) => config
512
+ }),
513
+ })
514
+
515
+ const result = await pipeline.run({
516
+ input: 'A release note for v2',
517
+ onEvent: (e) => {
518
+ if (e.type === 'pipeline.node.started') highlightNode(e.nodeId)
519
+ if (e.type === 'pipeline.edge') highlightEdge(e.from, e.to, e.fired)
520
+ },
521
+ })
522
+ result.text // the last node's answer; result.outputs, result.trace, result.usage, result.stoppedBy
523
+ ```
524
+
525
+ **Abort:** `signal` aborts every running node and `run` resolves with what it has and `stoppedBy: 'aborted'`, as `agent.run` resolves with `stopped` (the Node sibling rejects with an `AbortError`, as its `agent.run` does). **Memory:** with `memory` in `base`, every node keeps a conversation of its own (`<sessionId>:<node id>`).
526
+
527
+ Conditions (`always`, `contains`, `matches`, `route`, `otherwise`), the scheduling rules (waves,
528
+ join, the loop caps), validation and the events: **[docs/capabilities.md](docs/capabilities.md#pipelines-a-graph-of-agents)**.
529
+ Loading a definition someone else wrote: [docs/security.md](docs/security.md#pipelines-a-definition-is-data).
530
+
368
531
  ## Configuration (highlights)
369
532
 
370
533
  | Option | Default | Purpose |
371
534
  | --- | --- | --- |
372
535
  | `model` | — | a `LanguageModel` or `ProviderModelSpec` (the executor/default) |
373
536
  | `planner` / `synthesizer` | = `model` | per-stage model overrides (inherit base provider/creds if partial) |
537
+ | `executorTiers` | off | `{ light?, standard?, strong? }`, each a model like `planner`: the planner rates every step low / medium / high and the executor runs it on that tier's model; a tier that is not configured falls back to the nearest one; the smallest window among them governs the run ([model tiers](docs/capabilities.md#model-tiers-and-escalation)) |
538
+ | `escalation` | on with tiers | `false`, or `{ maxPerStep?, maxPerRun? }` (1 / 3): a step that fails in a way a stronger model could fix is retried on the next stronger tier before the replanner is asked - continuing the step, never writing twice. Nothing without tiers |
374
539
  | `credentials` | — | a `CredentialStore` for `credentialRef` keys |
375
540
  | `tools` | `{}` | host tools (`defineTool`) |
376
541
  | `availableTools` / `excludedTools` | — | whitelist / blacklist of tool names mounted from `tools` |
@@ -379,6 +544,12 @@ against it), `stopSubagent(id)` stops one subagent. `egress` (off by default) gi
379
544
  | `toolApproval` | autopilot | consent policy: `{ mode, rules, onRequest, timeoutMs }`; `agent.setToolApprovalMode()` |
380
545
  | `skills` | — | SKILL.md bundles (`defineSkill` / `parseSkillMarkdown` / `loadSkillFromUrl`) |
381
546
  | `egress` | off | what the **model** may fetch (`web_fetch`): `true` = any public host over https, or `{ allow, deny, protocols, allowPrivateNetwork, fetch, ... }`; a browser can't pin DNS, so prefer an `allow` list — see [Egress](docs/capabilities.md#egress-what-the-model-may-fetch) |
547
+ | `search` | off | the model may **search the web** (`web_search`: a short list of title / url / snippet): `{ provider: 'tavily' \| 'brave' \| 'searxng', credentialRef, baseURL, maxResults, allowPrivateNetwork, readOnly, fetch }` or `{ engine: fn }`. No key ships with the library and none is written in the config (`credentialRef` names it in `credentials`); the request reaches only the search API; with `egress`, results the model could not fetch are left out. Brave needs a gateway from a page (no CORS) — see [Search](docs/capabilities.md#search-finding-the-page-to-fetch) |
548
+ | `media` | off | image generation, speech and transcription as tools, each mounted only when its model is set: `{ imageModel, speechModel, transcriptionModel, maxCalls, timeoutMs, files, folder, voice, speechFormat, transcribeAttachments }`. A model is an AI SDK image / speech / transcription model object or a `ProviderModelSpec` (key by `credentialRef`). Generated files go to the virtual file system and the model gets a path, never the bytes; attached audio is transcribed to text; calls are counted in `usage.mediaCalls` (and the other media fields) and capped per run — see [Media](docs/capabilities.md#media-images-speech-and-transcription) |
549
+ | `decisionModel` | off | a **decision model** - answers a closed question with one option and a probability instead of writing text: `{ providerType: 'google', model: 'gemini-decision-1', credentialRef }` (the key stays in `credentials`; the request reaches only that API) or an object with `decide(question, { abortSignal })`. Where it is confident it replaces the replanner's continue / finish call and a pipeline node's route call; never consulted for tool approval or egress — see [Decision models](docs/capabilities.md#decision-models) |
550
+ | `decision` | `{}` | `{ confidenceThreshold, timeoutMs, replan, route }` (defaults 0.8, 5000 ms, on, on): below the threshold, on an error, a timeout or an answer that is not an option, the ordinary model call runs unchanged |
551
+ | `subagents` | off | the **model** may start helper agents itself (`spawn_subagent`): `{ dynamic: true }`, or `{ dynamic: { maxDepth, maxChildren, maxConcurrent, budgetShare, minTokens, timeoutMs, defaultTools } }`. A helper gets a subset of the caller's tools by name (read-only ones by default), a share of what is left of its budgets, the same models and the same consent gate — it can only have less than the run that starts it. See [docs/capabilities.md](docs/capabilities.md#dynamic-subagents-helpers-the-model-starts-itself) |
552
+ | `sandbox` | off | the model may **run JavaScript it wrote** (`run_js`) and read the real output: `true`, or `{ worker, timeoutMs, memoryLimitBytes, maxOutputChars, maxCodeChars, files, engine }`. QuickJS in WebAssembly (optional peer `quickjs-emscripten`), in a Web Worker you supply (`@dudko.dev/agent-web/sandbox-worker`) that is killed at the deadline; with `createFileTools` the guest can import / require workspace files and use `fs` — see [Running code](docs/capabilities.md#running-code-the-sandbox) |
382
553
  | `learning` | off | the agent writes down lessons as skills (`save_skill` / `forget_skill`): `true` = this session, `{ store: new VfsSkillStore(vfs) }` = across sessions — see [Learning](docs/capabilities.md#learning-lessons-that-outlive-the-task) |
383
554
  | `thinking` / `stageThinking` | provider default | `true`, a level (`'low'`…`'xhigh'`, `'none'`), or `{ level, budgetTokens, includeThoughts }` |
384
555
  | `limits` | — | run caps `maxInputTokens` / `maxOutputTokens` / `maxReasoningTokens` / `maxTotalTokens` + `perCall` output caps |
@@ -387,6 +558,7 @@ against it), `stopSubagent(id)` stops one subagent. `egress` (off by default) gi
387
558
  | `promptCaching` | `true` | stable system prefixes, Anthropic breakpoints, OpenAI cache key |
388
559
  | `vision` / `inputs` | inferred | what the model takes as attachments (`run(goal, { images, files })`); see `agent.capabilities` |
389
560
  | `systemPrompt` / `prompts` | — | prepended to every phase / override any phase's prompt builder |
561
+ | `mcpInstructions` | `true` | show the model the `instructions` MCP servers send on connect (planner + executor, marked third-party, capped); `false` keeps them out |
390
562
  | `describeState` | — | serialize world state into prompt context |
391
563
  | `memory` | — | `ContextStore` (`IndexedDBStore` / `MemoryStore`); recent turns are read back into the planner prompt |
392
564
  | `sessionId` | — | names the stored conversation in `memory`, and the bucket `agent.sessionUsage()` counts into |
@@ -394,7 +566,7 @@ against it), `stopSubagent(id)` stops one subagent. `egress` (off by default) gi
394
566
  | `maxIterations` / `maxStepsPerTask` / `maxRevisions` | 8 / 4 / 2 | loop caps |
395
567
  | `chatTimeoutMs` | 120000 | per-call watchdog |
396
568
  | `temperature` | provider default | sampling temperature for every stage |
397
- | `budgets` | — | legacy per-phase output caps; `limits.perCall` wins, and the defaults are shares of the model's window |
569
+ | `budgets` | — | legacy per-phase output caps; `limits.perCall` wins, `0` = no cap, and the defaults are shares of the model's window (none for a phase that thinks) |
398
570
  | `clientName` | — | sent as the openai-compatible provider name and the MCP client name |
399
571
  | `logLevel` / `logger` | `'warn'` / `console` | verbosity (`'silent' \| 'error' \| 'warn' \| 'info' \| 'debug'`) and the console-like sink the logs go to |
400
572
  | `replan` / `synthesize` | `true` | toggle phases |
@@ -406,9 +578,9 @@ against it), `stopSubagent(id)` stops one subagent. `egress` (off by default) gi
406
578
  - [docs/design.md](docs/design.md) — architecture & rationale.
407
579
  - [docs/capabilities.md](docs/capabilities.md) — thinking, limits, compaction,
408
580
  caching, skills, tool consent / autopilot, large MCP catalogues, subagents,
409
- steering a running agent, learning, egress, usage, resuming, autonomy, event reference.
581
+ steering a running agent, learning, egress, pipelines, usage, resuming, autonomy, event reference.steering a running agent, learning, egress, usage, resuming, autonomy, event reference.
410
582
  - [docs/providers.md](docs/providers.md) — every provider, CORS & direct-vs-proxy.
411
- - [docs/security.md](docs/security.md) — the token vault, egress and learning: threat models.
583
+ - [docs/security.md](docs/security.md) — the token vault, egress, learning and pipelines: threat models.— the token vault, egress and learning: threat models.
412
584
  - [docs/tasks.md](docs/tasks.md) — status & roadmap.
413
585
  - [`@dudko.dev/agent-web-react`](https://www.npmjs.com/package/@dudko.dev/agent-web-react) —
414
586
  React bindings (`useAgent`, `<AgentProvider>`, pre-styled components) ·