@iloveagents/foundry-web-primitives 0.1.5 → 1.0.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 +26 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @iloveagents/foundry-web-primitives
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9105483: shell: ChatConversationConfig API + sticky-runtime threadId
|
|
8
|
+
|
|
9
|
+
Lets a downstream module (e.g. `@ltwlf/spaces-web-ui`) attach a
|
|
10
|
+
`ChatConversationConfig` to its `ChatModule`. The shell then:
|
|
11
|
+
- Pre-mints a fresh thread UUID via `useRef` so the AG-UI runtime's
|
|
12
|
+
`threadId` is defined from first render — no `undefined → defined`
|
|
13
|
+
remount mid-conversation when the user sends the first message.
|
|
14
|
+
- Calls `config.useStickyConversationId()` (when declared) and
|
|
15
|
+
feeds the resulting id into the runtime so the chat stays "live"
|
|
16
|
+
while the user browses non-chat routes (Workspaces, Jobs, etc.).
|
|
17
|
+
- Per-config keyed child components (`StickyAwareRuntime` vs
|
|
18
|
+
`UrlOnlyRuntime`) so optional hooks satisfy Rules-of-Hooks across
|
|
19
|
+
multi-module config swaps.
|
|
20
|
+
|
|
21
|
+
UI: collapsible nav groups in `sidebar.tsx` with persisted state via
|
|
22
|
+
`useSyncExternalStore` + localStorage, plus stable group ordering via
|
|
23
|
+
new `priority` field in `nav-config.ts`.
|
|
24
|
+
|
|
25
|
+
`ag-ui-runtime-provider.tsx` accepts an external `threadId` and
|
|
26
|
+
`historyAdapterFactory` so the consuming app can wire its own
|
|
27
|
+
persistence (e.g. `ThreadHistoryAdapter` → REST `/api/conversations`).
|
|
28
|
+
|
|
3
29
|
## 0.1.5
|
|
4
30
|
|
|
5
31
|
## 0.1.4
|