@aparte/runner-ag-ui 1.5.0 → 1.7.0
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 +5 -1
- package/dist/index.js +434 -75
- package/dist/index.js.map +1 -1
- package/dist/runner.d.ts +7 -0
- package/dist/runner.d.ts.map +1 -1
- package/dist/state.d.ts +6 -0
- package/dist/state.d.ts.map +1 -1
- package/dist/subagent-history.d.ts +56 -0
- package/dist/subagent-history.d.ts.map +1 -0
- package/dist/wire.d.ts +14 -3
- package/dist/wire.d.ts.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -25,8 +25,12 @@ client.start();
|
|
|
25
25
|
- **Approvals.** When the agent pauses on a call that needs a person (an AG-UI interrupt, such
|
|
26
26
|
as TanStack AI's `needsApproval`), the page asks through its usual approval panel, and the
|
|
27
27
|
answer resumes the run on the agent's server.
|
|
28
|
+
- **Sub-agents** (`SUBAGENT_*`, and the `subagentRunId` on their events) stay out of the reply:
|
|
29
|
+
the runner hands the client `agent-start` / `agent-end` and an `agentId` on everything a
|
|
30
|
+
sub-agent streams, its approvals included, for a sub-agents plugin to draw.
|
|
28
31
|
- **Its state** (`STATE_SNAPSHOT`, `STATE_DELTA`) is kept for the thread and sent back as the
|
|
29
|
-
next run's `state
|
|
32
|
+
next run's `state`, a sub-agent's updates included: AG-UI state is one per run. `CUSTOM` and
|
|
33
|
+
activities are checked, not drawn, in this version.
|
|
30
34
|
- **AG-UI 1.0, held to its own corpus.** The runner declares `protocolVersion: "1.0"`, rejects
|
|
31
35
|
the streams 1.0 tells a client to reject, drops what 1.0 does not describe (reported to
|
|
32
36
|
`onWarning`), and passes the protocol's 68 conformance streams on every build.
|