@artooi/ag-ui-web-component 0.31.1 → 0.32.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/CHANGELOG.md CHANGED
@@ -7,6 +7,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.32.0] — 2026-08-31
11
+
12
+ ### Added
13
+
14
+ - **The delegation panel reads the protocol's own sub-agent events.**
15
+ `SUBAGENT_STARTED` / `SUBAGENT_FINISHED` / `SUBAGENT_ERROR` now open and settle
16
+ the panel; `AgUiClientHandlers` grows `onSubAgentStarted` /
17
+ `onSubAgentFinished` / `onSubAgentError` for a host that wants them directly.
18
+ A delegation is still keyed to the card that spawned it — the opening event's
19
+ `parentToolCallId` is the same value the `ag_ui.subagent` steps carry as
20
+ `delegationId`, and the pairing to `subagentRunId` is recorded there because
21
+ the two closing events carry the run id and nothing else.
22
+
23
+ The lifecycle wording moved client-side with it. The protocol's events carry a
24
+ name and no rendered status, which is the better shape for a localised UI, so
25
+ `UiStrings` gains `subAgentDelegatedTo`, `subAgentFinished` and
26
+ `subAgentFailed`. The two step phases still render the server's own `status`.
27
+
28
+ ### Changed
29
+
30
+ - **`ag_ui.subagent` is now the steps channel only.** A current `django-ag-ui`
31
+ sends `tool_call` and `tool_result` on it and nothing else. The narrower still
32
+ accepts the three lifecycle phases, deliberately: a server one release older
33
+ sends all five, and this element is published and vendored separately from it,
34
+ so the older shape degrades rather than showing a delegation that never opens.
35
+
36
+ - **Floored at `@ag-ui/core` and `@ag-ui/client` `>=0.0.59`**, raised from
37
+ `>=0.0.54`. 0.0.59 is the release that added the three events. The range stays
38
+ open at the top (`<0.1`) — a caret on a `0.0.x` would pin the patch and turn
39
+ the weekly unpinned-resolve job into a no-op.
40
+
41
+ The canonical AG-UI event set asserted by `tests/ag_ui_event_contract.test.ts`
42
+ moves from 33 to 36 in step, as does its twin in `django-ag-ui`'s suite.
43
+
10
44
  ## [0.31.1] — 2026-08-31
11
45
 
12
46
  ### Fixed
@@ -2615,7 +2649,8 @@ hosts that both arrange the page the way it expects.
2615
2649
  ### Notes
2616
2650
  - First release — exercising the automated npm OIDC publish pipeline end-to-end.
2617
2651
 
2618
- [Unreleased]: https://github.com/Artui/ag-ui-web-component/compare/v0.31.1...HEAD
2652
+ [Unreleased]: https://github.com/Artui/ag-ui-web-component/compare/v0.32.0...HEAD
2653
+ [0.32.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.31.1...v0.32.0
2619
2654
  [0.31.1]: https://github.com/Artui/ag-ui-web-component/compare/v0.31.0...v0.31.1
2620
2655
  [0.31.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.30.0...v0.31.0
2621
2656
  [0.30.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.29.0...v0.30.0