@artooi/ag-ui-web-component 0.41.0 → 0.41.2
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 +47 -1
- package/dist/ag-ui-web-component.bundle.js +86 -89
- package/dist/ag-ui-web-component.bundle.js.map +4 -4
- package/dist/index.js +26 -8
- package/dist/index.js.map +2 -2
- package/dist/ui/history/conversation_history.d.ts +2 -2
- package/dist/ui/history/conversation_history.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/ui/history/conversation_history.ts +27 -8
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.41.2] — 2026-09-23
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **The demo answers a denied approval with a result, as a real server does.**
|
|
15
|
+
The mock streamed a result only for the calls a person approved, and said so
|
|
16
|
+
in a comment: a denial was left for the model to answer. django-ag-ui streams
|
|
17
|
+
one for every answered call, and a denied one carries pydantic-ai's denial
|
|
18
|
+
message with `outcome: "denied"` on both carriers. With no result, the next
|
|
19
|
+
request answered the call as not finished, so the playground's own
|
|
20
|
+
multi-approval scenario came back from a reload with every declined card
|
|
21
|
+
reading "not finished". The mock also denies by default now, as pydantic-ai
|
|
22
|
+
does, so only an answer whose payload says `approved: true` runs the call.
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- **A navigating tool's card reads done on the page it navigated to.** A tool
|
|
27
|
+
marked `x-navigates` reloads the page, and the next mount answers its call
|
|
28
|
+
with the landed page's result and continues the run. That result reached the
|
|
29
|
+
agent, but the call's card was never settled from it: it spun for the whole
|
|
30
|
+
continuation, and when the run finished, the sweep that closes any card still
|
|
31
|
+
open marked it "not finished" -- on the one call known to have finished. The
|
|
32
|
+
resume now settles the card from the result it sends, so it reads done with
|
|
33
|
+
that result while the continuation runs, and matches what a later reload
|
|
34
|
+
shows from the stored message.
|
|
35
|
+
|
|
36
|
+
## [0.41.1] — 2026-09-22
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- **The vendored bundle no longer carries zod code nothing calls.**
|
|
41
|
+
`ag-ui-web-component.bundle.js` shipped every locale zod has and its JSON
|
|
42
|
+
Schema generator, because `@ag-ui/core` and `@ag-ui/client` both write
|
|
43
|
+
`import { z } from "zod/v4"`: that `z` is a namespace zod re-exports as a
|
|
44
|
+
value, and a bundler cannot tell which of its members are read. The build now
|
|
45
|
+
resolves the namespace statically, so only what the two packages call is
|
|
46
|
+
kept, and installs zod's English messages explicitly -- zod's
|
|
47
|
+
`sideEffects: false` would otherwise drop the module that sets them, and a
|
|
48
|
+
rejected event would be reported as "Invalid input" and nothing more. The
|
|
49
|
+
bundle goes from 840,847 to 651,996 bytes, and from 203,433 to 172,151 gzipped.
|
|
50
|
+
Decoding, the 1.0 client's enforcement and its error text are unchanged, and a
|
|
51
|
+
browser test now loads the built bundle to hold all three. The npm build,
|
|
52
|
+
which leaves `@ag-ui/*` to the host's bundler, is byte-identical.
|
|
53
|
+
|
|
10
54
|
## [0.41.0] — 2026-09-22
|
|
11
55
|
|
|
12
56
|
### Changed
|
|
@@ -4178,7 +4222,9 @@ hosts that both arrange the page the way it expects.
|
|
|
4178
4222
|
### Notes
|
|
4179
4223
|
- First release — exercising the automated npm OIDC publish pipeline end-to-end.
|
|
4180
4224
|
|
|
4181
|
-
[Unreleased]: https://github.com/Artui/ag-ui-web-component/compare/v0.41.
|
|
4225
|
+
[Unreleased]: https://github.com/Artui/ag-ui-web-component/compare/v0.41.2...HEAD
|
|
4226
|
+
[0.41.2]: https://github.com/Artui/ag-ui-web-component/compare/v0.41.1...v0.41.2
|
|
4227
|
+
[0.41.1]: https://github.com/Artui/ag-ui-web-component/compare/v0.41.0...v0.41.1
|
|
4182
4228
|
[0.41.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.40.0...v0.41.0
|
|
4183
4229
|
[0.40.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.39.0...v0.40.0
|
|
4184
4230
|
[0.39.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.38.0...v0.39.0
|