@artooi/ag-ui-web-component 0.31.0 → 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,67 @@ 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
+
44
+ ## [0.31.1] — 2026-08-31
45
+
46
+ ### Fixed
47
+
48
+ - **A collapsed widget did not give its space back inside a flex or grid parent.**
49
+ The panel hid and the box it occupied stayed: a header bar over several hundred
50
+ pixels of nothing.
51
+
52
+ Every collapse path works by letting the host size to its content -- the
53
+ in-flow placements set `height: auto` and keep the header bar, the floating one
54
+ leaves only the launcher. A parent whose `align-items` is the default stretch
55
+ overrides all of it, and putting the element in a flex row beside the page
56
+ content is the obvious way to embed it. `align-self: start` on the collapsed
57
+ host is the whole fix.
58
+
59
+ Reported from a running page rather than found here, and it was reaching every
60
+ known consumer: four frontends with byte-identical `display: flex` containers.
61
+
62
+ Scope worth stating, since it reads as narrow. `page` sizes itself to the
63
+ viewport, so a parent never stretches it. `floating` -- the default -- is
64
+ documented as never reflowing the page and hides its panel with `visibility` so
65
+ the transition has something to animate; a visibility-hidden box still occupies
66
+ its space, so a floating widget cannot shrink an in-flow parent and is not
67
+ meant to be in one. A host docking a full-height panel wants a placement rather
68
+ than the floating default.
69
+
70
+
10
71
  ## [0.31.0] — 2026-08-30
11
72
 
12
73
  ### Changed
@@ -2588,7 +2649,9 @@ hosts that both arrange the page the way it expects.
2588
2649
  ### Notes
2589
2650
  - First release — exercising the automated npm OIDC publish pipeline end-to-end.
2590
2651
 
2591
- [Unreleased]: https://github.com/Artui/ag-ui-web-component/compare/v0.31.0...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
2654
+ [0.31.1]: https://github.com/Artui/ag-ui-web-component/compare/v0.31.0...v0.31.1
2592
2655
  [0.31.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.30.0...v0.31.0
2593
2656
  [0.30.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.29.0...v0.30.0
2594
2657
  [0.29.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.28.0...v0.29.0