@iloveagents/foundry-web-primitives 0.1.4 → 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.
Files changed (2) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
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
+
29
+ ## 0.1.5
30
+
3
31
  ## 0.1.4
4
32
 
5
33
  ## 0.1.3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iloveagents/foundry-web-primitives",
3
- "version": "0.1.4",
3
+ "version": "1.0.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "type": "module",
6
6
  "types": "./src/index.ts",