@north-light/crouter 0.3.331 → 0.3.332

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 (83) hide show
  1. package/dist/builtin-memory/crouter-plugin/README.md +3 -6
  2. package/dist/builtin-memory/crouter-plugin/bundles-and-memory.md +2 -4
  3. package/dist/builtin-memory/crouter-plugin/commands.md +3 -6
  4. package/dist/builtin-memory/crouter-plugin/deploying.md +3 -6
  5. package/dist/builtin-memory/crouter-plugin/errors.md +2 -5
  6. package/dist/builtin-memory/crouter-plugin/getting-started.md +2 -5
  7. package/dist/builtin-memory/crouter-plugin/output.md +1 -3
  8. package/dist/builtin-memory/crouter-plugin/parameters.md +3 -4
  9. package/dist/builtin-memory/crouter-sdk/README.md +3 -4
  10. package/dist/builtin-memory/crouter-sdk/bash.md +2 -3
  11. package/dist/builtin-memory/crouter-sdk/client.md +3 -4
  12. package/dist/builtin-memory/crouter-sdk/docker.md +2 -4
  13. package/dist/builtin-memory/crouter-sdk/errors.md +9 -4
  14. package/dist/builtin-memory/crouter-sdk/files.md +2 -3
  15. package/dist/builtin-memory/crouter-sdk/getting-started.md +19 -6
  16. package/dist/builtin-memory/crouter-sdk/memory.md +3 -4
  17. package/dist/builtin-memory/crouter-sdk/migration.md +2 -6
  18. package/dist/builtin-memory/crouter-sdk/nodes.md +3 -3
  19. package/dist/builtin-memory/crouter-sdk/resources.md +2 -4
  20. package/dist/builtin-memory/crouter-sdk/streaming.md +3 -4
  21. package/dist/clients/attach/viewer.js +773 -776
  22. package/dist/commands/sys/connect.js +3 -3
  23. package/dist/core/runtime/spawn.d.ts +3 -1
  24. package/dist/core/runtime/spawn.js +2 -2
  25. package/dist/core/scopes.d.ts +4 -2
  26. package/dist/core/scopes.js +1 -1
  27. package/dist/core/secrets.d.ts +11 -0
  28. package/dist/core/secrets.js +2 -2
  29. package/dist/daemon/api/bridge.d.ts +4 -0
  30. package/dist/daemon/api/bridge.js +2 -2
  31. package/dist/daemon/api/handlers/attach.d.ts +1 -1
  32. package/dist/daemon/api/handlers/attach.js +1 -1
  33. package/dist/daemon/api/handlers/bash.js +1 -1
  34. package/dist/daemon/api/handlers/broker-ops.d.ts +1 -1
  35. package/dist/daemon/api/handlers/broker-ops.js +1 -1
  36. package/dist/daemon/api/handlers/broker-recovery.d.ts +1 -1
  37. package/dist/daemon/api/handlers/broker-recovery.js +1 -1
  38. package/dist/daemon/api/handlers/canvas.js +4 -4
  39. package/dist/daemon/api/handlers/crons.d.ts +1 -1
  40. package/dist/daemon/api/handlers/crons.js +1 -1
  41. package/dist/daemon/api/handlers/daemon.d.ts +1 -1
  42. package/dist/daemon/api/handlers/daemon.js +1 -1
  43. package/dist/daemon/api/handlers/files.js +1 -1
  44. package/dist/daemon/api/handlers/focus.d.ts +1 -1
  45. package/dist/daemon/api/handlers/focus.js +1 -1
  46. package/dist/daemon/api/handlers/human-requests.js +1 -1
  47. package/dist/daemon/api/handlers/memory.js +1 -1
  48. package/dist/daemon/api/handlers/messages.d.ts +1 -1
  49. package/dist/daemon/api/handlers/messages.js +2 -2
  50. package/dist/daemon/api/handlers/model-config.d.ts +1 -1
  51. package/dist/daemon/api/handlers/model-config.js +1 -1
  52. package/dist/daemon/api/handlers/modelauth.js +1 -1
  53. package/dist/daemon/api/handlers/nodes.js +1 -1
  54. package/dist/daemon/api/handlers/profiles.js +1 -1
  55. package/dist/daemon/api/handlers/reports.js +1 -1
  56. package/dist/daemon/api/handlers/reviews.js +1 -1
  57. package/dist/daemon/api/handlers/worktree.d.ts +1 -1
  58. package/dist/daemon/api/handlers/worktree.js +1 -1
  59. package/dist/daemon/api/router.d.ts +20 -1
  60. package/dist/daemon/api/router.js +1 -1
  61. package/dist/daemon/api/server.js +1 -11
  62. package/docs/plugin/README.md +5 -0
  63. package/docs/plugin/bundles-and-memory.md +5 -0
  64. package/docs/plugin/commands.md +5 -0
  65. package/docs/plugin/deploying.md +5 -0
  66. package/docs/plugin/errors.md +5 -0
  67. package/docs/plugin/getting-started.md +5 -0
  68. package/docs/plugin/output.md +5 -0
  69. package/docs/plugin/parameters.md +5 -0
  70. package/docs/sdk/README.md +5 -0
  71. package/docs/sdk/bash.md +5 -0
  72. package/docs/sdk/client.md +6 -1
  73. package/docs/sdk/docker.md +5 -0
  74. package/docs/sdk/errors.md +12 -0
  75. package/docs/sdk/files.md +5 -0
  76. package/docs/sdk/getting-started.md +21 -1
  77. package/docs/sdk/memory.md +5 -0
  78. package/docs/sdk/migration.md +5 -0
  79. package/docs/sdk/nodes.md +6 -1
  80. package/docs/sdk/resources.md +5 -0
  81. package/docs/sdk/streaming.md +5 -0
  82. package/package.json +3 -2
  83. package/runtime.lock.json +6570 -506
@@ -1,11 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: When you need Authoring crtr HTTP plugins, this knowledge
4
- should be read because `@north-light/crouter-plugin` turns one TypeScript
5
- command tree into both a Fetch handler and the archive accepted by `crtr pkg
6
- plugin install --endpoint`. Use it when an application should expose typed
7
- operations as native `crtr` commands without maintaining `commands.json` or a
8
- separate HTTP route definition.
3
+ when-and-why-to-read: When you need Plugin overview, this knowledge should be
4
+ read because Expose application operations as native crtr commands with a
5
+ typed HTTP plugin.
9
6
  ---
10
7
 
11
8
  # Authoring crtr HTTP plugins
@@ -1,10 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
3
  when-and-why-to-read: When you need Bundles and memory docs, this knowledge
4
- should be read because `createFetchHandler` builds and serves the install
5
- archive automatically. Use `buildBundle` when you need to inspect or save the
6
- generated bytes during an application build. Pass the same mount path where
7
- the handler is served.
4
+ should be read because Generate install archives and include agent-facing
5
+ memory documents in a plugin.
8
6
  ---
9
7
 
10
8
  # Bundles and memory docs
@@ -1,11 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: "When you need Commands, this knowledge should be read
4
- because `definePlugin` declares the top-level crtr command. `name` must be
5
- lowercase kebab case. `description`, `whenToUse`, and `summary` are required
6
- text for the plugin, every branch, and every leaf. Write them for an agent
7
- choosing a command: describe the concrete object or action, state when the
8
- command applies, and state the short outcome."
3
+ when-and-why-to-read: When you need Commands, this knowledge should be read
4
+ because Define plugin command trees, branches, leaves, and agent-facing
5
+ descriptions.
9
6
  ---
10
7
 
11
8
  # Commands
@@ -1,11 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: "When you need Deployment, this knowledge should be read
4
- because `createFetchHandler(plugin, options)` returns `(request: Request) =>
5
- Promise<Response>`. Use it directly in Cloudflare Workers, Bun, Deno, and any
6
- framework route that accepts Fetch `Request` and `Response` objects. A
7
- framework with different request types needs only an adapter at its boundary;
8
- the package itself has no framework dependency."
3
+ when-and-why-to-read: When you need Deployment, this knowledge should be read
4
+ because Serve plugin Fetch handlers with authentication, mount paths, and
5
+ archive compression.
9
6
  ---
10
7
 
11
8
  # Deployment
@@ -1,11 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
3
  when-and-why-to-read: When you need Errors and streaming, this knowledge should
4
- be read because Throw `LeafError` when an expected application error should be
5
- reported to crtr. Its `code` must be lowercase snake case and cannot be
6
- `internal`, `unknown_path`, `command_collision`, or `cli_protocol_error`.
7
- `status` defaults to `400` and must be an integer from `400` through `599`.
8
- Use `field`, `next`, and `received` when they make the fix clearer.
4
+ be read because Report expected application errors and return NDJSON streams
5
+ from command leaves.
9
6
  ---
10
7
 
11
8
  # Errors and streaming
@@ -1,11 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
3
  when-and-why-to-read: When you need Getting started, this knowledge should be
4
- read because Install `@north-light/crouter-plugin`, copy the complete
5
- TypeScript file in the `node_modules/@north-light/crouter-plugin/README.md`,
6
- and deploy its default export at the URL crtr will reach. The application must
7
- provide `ACME_CRTR_TOKEN` to its handler and the machine running crtr must
8
- provide the same value.
4
+ read because Install the plugin package, deploy a Fetch handler, and install
5
+ its commands in crtr.
9
6
  ---
10
7
 
11
8
  # Getting started
@@ -1,9 +1,7 @@
1
1
  ---
2
2
  kind: knowledge
3
3
  when-and-why-to-read: When you need Output fields, this knowledge should be read
4
- because Each leaf declares an `output` object. Field object keys are returned
5
- verbatim in the result object, so `appId` stays `appId`; unlike command and
6
- parameter keys, output keys are not converted to kebab case.
4
+ because Declare typed output fields and validate handler results.
7
5
  ---
8
6
 
9
7
  # Output fields
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: "When you need Parameters and handler input, this
4
- knowledge should be read because Parameter object keys become handler input
5
- keys. The generated manifest uses their kebab-case form: `appId` becomes
6
- `app-id`, while the handler receives `input.appId`."
3
+ when-and-why-to-read: When you need Parameters and handler input, this knowledge
4
+ should be read because Declare command parameters and infer their handler
5
+ input types.
7
6
  ---
8
7
 
9
8
  # Parameters and handler input
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: "When you need `@north-light/crouter-sdk`, this knowledge
4
- should be read because The ESM-only client an application installs to drive a
5
- crouter daemon: create agent runs, watch streamed events, wait for typed
6
- results, read and write memory, and reach the rest of the daemon's `/v1` API."
3
+ when-and-why-to-read: When you need SDK overview, this knowledge should be read
4
+ because Drive a crouter daemon from a Node or browser application with the
5
+ typed SDK.
7
6
  ---
8
7
 
9
8
  # `@north-light/crouter-sdk`
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: When you need `client.bash`, this knowledge should be read
4
- because `client.bash.run` executes one bounded `bash -c` command through the
5
- daemon.
3
+ when-and-why-to-read: When you need Bash, this knowledge should be read because
4
+ Execute bounded shell commands through the daemon.
6
5
  ---
7
6
 
8
7
  # `client.bash`
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
3
  when-and-why-to-read: When you need Client construction, this knowledge should
4
- be read because `Crouter` is the default export and the only class an
5
- application constructs. `CrtrClient` from `@north-light/crouter-api` is an
6
- implementation detail and is not re-exported.
4
+ be read because Configure local socket and remote HTTP connections,
5
+ authentication, and request options.
7
6
  ---
8
7
 
9
8
  # Client construction
@@ -24,7 +23,7 @@ const customSocketClient = new Crouter({ socketPath: '/custom/path/crtrd.sock' }
24
23
  |---|---|---|---|
25
24
  | `baseURL` | `string` | `CRTR_BASE_URL`, else unset | `http(s)://host:port` of a daemon TCP listener. |
26
25
  | `socketPath` | `string` | `CRTR_SOCKET`, else `${CRTR_HOME}/crtrd.sock`, else `~/.crouter/canvas/crtrd.sock` | Unix socket. Node only; throws in a browser. |
27
- | `token` | `string` | `CRTRD_TOKEN` | Sent as `Authorization: Bearer <token>`. Ignored by a unix-socket daemon, which authenticates by filesystem permission. |
26
+ | `token` | `string` | `CRTRD_TOKEN` | Sent as `Authorization: Bearer <token>`. The owner token or a scoped token from `crtr sys connect`; a scoped token's ceiling is enforced per request (see [[crouter-sdk/getting-started]]). Ignored by a unix-socket daemon, which authenticates by filesystem permission. |
28
27
  | `timeout` | `number` (ms) | `30_000` | Per-request wall clock. Does not apply to a stream. |
29
28
  | `maxRetries` | `number` | `2` | Transient-failure retries. Never applied to `POST` or `PATCH` — see [[crouter-sdk/errors]]. |
30
29
  | `defaultHeaders` | `Record<string, string>` | `{}` | Merged into every request. |
@@ -1,10 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
3
  when-and-why-to-read: When you need Docker environment, this knowledge should be
4
- read because `@north-light/crouter-env-docker` runs a crouter daemon in a
5
- container and tells you how to reach it. It is a separate package because
6
- container lifecycle is real work the SDK does not otherwise do — and it **has
7
- no dependencies**, including on the SDK itself.
4
+ read because Run a crouter daemon in a container with the separate Docker
5
+ environment package.
8
6
  ---
9
7
 
10
8
  # Docker environment
@@ -1,10 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
3
  when-and-why-to-read: When you need Errors, this knowledge should be read
4
- because **An agent's own outcome is returned, never thrown.** A run that
5
- declined the schema, hit its deadline, or crashed comes back as a settled
6
- `NodeOutcome` from `waitForOutcome`, `createAndWait`, or `parse`. Narrow on it
7
- — see [[crouter-sdk/nodes]].
4
+ because Handle API and connection errors separately from settled agent
5
+ outcomes.
8
6
  ---
9
7
 
10
8
  # Errors
@@ -59,6 +57,13 @@ The subclasses add **no fields**. `status` and `code` on the base class already
59
57
 
60
58
  The SDK validates path-segment identifiers before it makes a request. Invalid node ids, cron ids, bash-job ids, human-request ids, inbox ticket ids, provider names, and profile names throw `TypeError` locally. Node ids apply to core node calls, lifecycle calls, and nested node resources. `nodes.events()` returns a `NodeStream` synchronously, so its invalid-id `TypeError` rejects `stream.node`, `stream.finalOutcome()`, and iteration instead. File paths are not identifiers; invalid or relative file paths reach the daemon and return its mapped API error. `nodes.outcome(id, { wait })` separately throws `RangeError` when `wait` is not an integer from 0 through 25.
61
59
 
60
+ ## Scoped tokens
61
+
62
+ | Condition | Class, status, and code |
63
+ |---|---|
64
+ | The bearer token's ceiling lacks the scope a route needs, or `nodes.create` asks for `scopes` outside it (`details.scopes` lists them) | `PermissionDeniedError`, 403 `scope_denied` |
65
+ | A scoped token reaches an owner-only route (daemon restart, attach, broker internals, canvas prune, profile pause/resume/delete, model credential install) | `PermissionDeniedError`, 403 `owner_only` |
66
+
62
67
  ## Memory requests
63
68
 
64
69
  | Condition | Class, status, and code |
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: When you need `client.files`, this knowledge should be
4
- read because `client.files` reads, writes, and lists host files through the
5
- daemon.
3
+ when-and-why-to-read: When you need Files, this knowledge should be read because
4
+ Read, write, and list host files through the daemon.
6
5
  ---
7
6
 
8
7
  # `client.files`
@@ -1,10 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: "When you need Getting started, this knowledge should be
4
- read because An agent run needs a crouter daemon (`crtrd`) to run it. The SDK
5
- is a client for that daemon — it never runs an agent itself. There are two
6
- ways to reach one: the unix socket on the machine you are running on, or a TCP
7
- listener with a bearer token."
3
+ when-and-why-to-read: When you need Getting started, this knowledge should be
4
+ read because Connect to a local or remote daemon and run your first agent with
5
+ the SDK.
8
6
  ---
9
7
 
10
8
  # Getting started
@@ -53,7 +51,7 @@ if (outcome.kind === 'result') console.log(outcome.final_report_path);
53
51
 
54
52
  ## 4. A browser or a remote application
55
53
 
56
- A process that is not on the daemon's machine — or a page in a browser, which has no unix sockets at all — reaches the daemon over TCP with a bearer token. The token is the owner credential: whoever holds it can drive the whole surface.
54
+ A process that is not on the daemon's machine — or a page in a browser, which has no unix sockets at all — reaches the daemon over TCP with a bearer token. There are two kinds. The **owner token** is the owner credential: whoever holds it can drive the whole surface. A **scoped token** (`crtr sys connect --scopes`) carries a list of scopes that caps what its holder and every run it creates may do.
57
55
 
58
56
  ### Turn the listener on, once
59
57
 
@@ -72,6 +70,20 @@ $ crtr --json sys connect
72
70
  {"base_url":"http://127.0.0.1:8787","token":"<64-character bearer token>"}
73
71
  ```
74
72
 
73
+ ### A token that holds less than the owner
74
+
75
+ ```bash
76
+ crtr sys connect --scopes ask,memory:read
77
+ ```
78
+
79
+ This mints a new token whose scope list is a ceiling, appends it to the same secrets store, prints it in place of the owner token, and always hands the daemon over (it reads tokens once, at boot). The ceiling is checked on every request that carries the token:
80
+
81
+ - A scope-gated operation the ceiling lacks answers `403 scope_denied`. Creating, reviving, forking, messaging, or yielding a run needs `act`; creating a review or human request needs `ask`; arming or running a cron needs `schedule`; memory reads and writes need `memory:read` and `memory:write`. `bash` and `files` also need `act`: they run code and touch the host directly, which is more than any run does, and `files:<dir>` is recorded, not enforced, so it cannot narrow them.
82
+ - `nodes.create` with `scopes` outside the ceiling answers `403 scope_denied`; `details.scopes` lists the offending scopes. Omit `scopes` and the run gets the ceiling.
83
+ - Owner-only operations — daemon restart, the attach viewer, broker internals, canvas prune, profile pause/resume/delete, model credential install — answer `403 owner_only` to any scoped token.
84
+
85
+ What a scope does **not** do on a developer's machine: there is no OS sandbox. Scopes gate the daemon and the CLI; a run's own bash tool is ungated, and the daemon identifies a calling node by a field the caller declares, so a scope check bounds a well-behaved agent, not a hostile one. `llm`, `files:<dir>`, `net`, and provider scopes are recorded on the run but not enforced. There is no list or revoke verb yet; to retire a scoped token, remove it from the 0600 user secrets store and restart the daemon.
86
+
75
87
  ### Check setup before generating
76
88
 
77
89
  Construct the client from the application's saved connection. On the first visit that value is absent, and `client.auth.status()` returns `'connect'` without a request. Once the user pastes the base URL and token printed by `crtr sys connect`, construct it again and call `status()` to check the selected provider.
@@ -162,6 +174,7 @@ An outcome is returned, never thrown — including a decline and a failure. Only
162
174
 
163
175
  ## Where to go next
164
176
 
177
+ - A complete local page that demonstrates streaming, structured output, and a plugin: [localhost SDK demo](../../examples/localhost-demo)
165
178
  - Every constructor option and environment-variable fallback: [[crouter-sdk/client]]
166
179
  - Checking the daemon connection and selected provider before a run: `client.auth.status()` above
167
180
  - The full create-parameter table and the outcome union: [[crouter-sdk/nodes]]
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: When you need `client.memory`, this knowledge should be
4
- read because Phase 3. `client.memory` reads and writes the memory documents
5
- that shape an agent run. Every call names its target; the daemon never uses
6
- its own working directory or environment to select memory.
3
+ when-and-why-to-read: When you need Memory, this knowledge should be read
4
+ because Read and write memory documents with an explicit target for every
5
+ request.
7
6
  ---
8
7
 
9
8
  # `client.memory`
@@ -1,11 +1,7 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: When you need Migration from `generate()` and `local()`,
4
- this knowledge should be read because **This is a hard cut.** `generate()`,
5
- `local()`, and the `Environment` interface are deleted in the same release
6
- that adds `Crouter`. There is no coexistence period, no deprecated re-export,
7
- and no compatibility shim. Both packages are pre-1.0 and the callers are
8
- countable.
3
+ when-and-why-to-read: When you need Migration, this knowledge should be read
4
+ because Replace the removed generate and local APIs with the Crouter client.
9
5
  ---
10
6
 
11
7
  # Migration from `generate()` and `local()`
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: When you need `client.nodes`, this knowledge should be
4
- read because Shipped, except where a row says otherwise.
3
+ when-and-why-to-read: When you need Nodes, this knowledge should be read because
4
+ Create agent runs, wait for outcomes, and parse structured results.
5
5
  ---
6
6
 
7
7
  # `client.nodes`
@@ -64,7 +64,7 @@ Wire fields are `snake_case`. Every `NodeCreateParams` property is optional; `pa
64
64
  | `description` | `string` | Display description. |
65
65
  | `parent` | node id | Graph placement. An external caller leaves this unset. |
66
66
  | `creator` | node id | Graph placement. An external caller leaves this unset. |
67
- | `scopes` | `string[]` | Per-run allow-list. Omit it to inherit every scope. In beta, `ask`, `act`, `schedule`, `memory:read`, and `memory:write` are enforced; `llm`, `files:<dir>`, `net`, provider groups, and peers are recorded because their performers are not available. |
67
+ | `scopes` | `string[]` | Per-run allow-list. Omit it to inherit every scope, or under a scoped token to receive that token's ceiling; a list outside the ceiling answers `403 scope_denied` with the offending scopes in `details.scopes`. In beta, `ask`, `act`, `schedule`, `memory:read`, and `memory:write` are enforced; `llm`, `files:<dir>`, `net`, provider groups, and peers are recorded because their performers are not available. See [[crouter-sdk/getting-started]]. |
68
68
  | `worktree` | `string \| boolean` | Create a managed git worktree for the run. |
69
69
  | `fork_from` | `string` | Start from an existing conversation. |
70
70
  | `no_kickoff` | `boolean` | Create the node without sending the first message. |
@@ -1,10 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
3
  when-and-why-to-read: When you need Resource map, this knowledge should be read
4
- because Every namespace exported by the client. Namespaces are camelCase.
5
- Verbs are `create`, `retrieve`, `list`, `update`, `delete`, and `cancel`,
6
- except where the product already has a literal name for the action (`fork`,
7
- `revive`, `promote`, `pause`, `poke`) — in which case the SDK uses that name.
4
+ because Find client namespaces, their daemon routes, and the raw request
5
+ escape hatch.
8
6
  ---
9
7
 
10
8
  # Resource map
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  kind: knowledge
3
- when-and-why-to-read: "When you need Streaming, this knowledge should be read
4
- because Watch a run as it works: assistant text as it is produced, tool calls
5
- as they start and finish, reports as they are pushed, and the settled
6
- outcome."
3
+ when-and-why-to-read: When you need Streaming, this knowledge should be read
4
+ because Follow assistant text, tool activity, reports, and outcomes as an
5
+ agent runs.
7
6
  ---
8
7
 
9
8
  # Streaming