@artooi/ag-ui-web-component 0.4.0 → 0.5.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 +21 -1
- package/dist/ag-ui-web-component.bundle.js +238 -54
- package/dist/ag-ui-web-component.bundle.js.map +4 -4
- package/dist/core/ag_ui_chat.d.ts.map +1 -1
- package/dist/core/conversation_store.d.ts +37 -8
- package/dist/core/conversation_store.d.ts.map +1 -1
- package/dist/core/remote_conversation_store.d.ts +35 -0
- package/dist/core/remote_conversation_store.d.ts.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +621 -5
- package/dist/index.js.map +4 -4
- package/dist/ui/relative_time.d.ts +11 -0
- package/dist/ui/relative_time.d.ts.map +1 -0
- package/dist/ui/styles.d.ts +1 -1
- package/dist/ui/styles.d.ts.map +1 -1
- package/dist/ui/thread_drawer.d.ts +33 -0
- package/dist/ui/thread_drawer.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/core/ag_ui_chat.ts +89 -2
- package/src/core/conversation_store.ts +148 -9
- package/src/core/remote_conversation_store.ts +147 -0
- package/src/index.ts +2 -0
- package/src/ui/relative_time.ts +28 -0
- package/src/ui/styles.ts +184 -0
- package/src/ui/thread_drawer.ts +200 -0
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.5.0] — 2026-06-24
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Chat-history drawer.** A history toggle (☰) in the header opens a slide-over
|
|
15
|
+
listing the user's past conversations (title · relative time · preview), with
|
|
16
|
+
select, new chat, inline rename, and delete-with-confirm. The
|
|
17
|
+
`ClientConversationStore` interface gains `listThreads` / `setActiveThread` /
|
|
18
|
+
`renameThread` and a `ThreadMeta` row shape; the default `SessionStorageStore`
|
|
19
|
+
now keeps a per-tab thread index so the drawer works with no server. Selecting
|
|
20
|
+
a row switches the active conversation and replays its history. The drawer is a
|
|
21
|
+
slide-over by default, with an inline side-panel variant for
|
|
22
|
+
`placement="embedded"`.
|
|
23
|
+
- **Server-backed history via `data-threads-url`.** Set the attribute (to
|
|
24
|
+
django-ag-ui's `ThreadsView` URL) and the drawer routes list / load / rename /
|
|
25
|
+
delete through that endpoint via a new `RemoteConversationStore`, showing
|
|
26
|
+
durable, cross-device threads. The client store remains the offline fallback;
|
|
27
|
+
rename / delete apply optimistically.
|
|
28
|
+
|
|
10
29
|
## [0.4.0] — 2026-06-12
|
|
11
30
|
|
|
12
31
|
### Added
|
|
@@ -250,7 +269,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
250
269
|
### Notes
|
|
251
270
|
- First release — exercising the automated npm OIDC publish pipeline end-to-end.
|
|
252
271
|
|
|
253
|
-
[Unreleased]: https://github.com/Artui/ag-ui-web-component/compare/v0.
|
|
272
|
+
[Unreleased]: https://github.com/Artui/ag-ui-web-component/compare/v0.5.0...HEAD
|
|
273
|
+
[0.5.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.4.0...v0.5.0
|
|
254
274
|
[0.4.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.3.1...v0.4.0
|
|
255
275
|
[0.3.1]: https://github.com/Artui/ag-ui-web-component/compare/v0.3.0...v0.3.1
|
|
256
276
|
[0.3.0]: https://github.com/Artui/ag-ui-web-component/compare/v0.2.2...v0.3.0
|