Patch Changes
-
#4023
94548fa- docs: add React JSDoc and deprecation notices for primitive and tool APIs (@AVGVSTVS96) -
#3513
8b6fc88- fix: guardnavigator.clipboardavailability and swallow write rejections inActionBarPrimitive.Copy. Previously, copy clicks in SSR, non-HTTPS contexts, or older browsers without the Clipboard API threw aReferenceError, and permission-denied rejections surfaced as unhandled promise rejections. The web copyToClipboard implementation in@assistant-ui/reactnow early-rejects when the API is unavailable, anduseActionBarCopyin@assistant-ui/coresilently absorbs the rejection so the rest of the UI is unaffected. (@JustAnOkapi) -
#4040
b481ec5- fix:useExternalStoreRuntimeno longer leaves phantom assistant siblings when the external store swaps a message id between syncs (e.g. AI SDK v6useChatreplacing a client-generated id with a server-provided id mid-stream, surfacing asBranchPickershowing2/2on a turn the user never branched). Themessages-array sync path now diffs against the previous sync and removes ids that disappeared, matching themessageRepositorypath's snapshot semantics. Closes #4037. (@okisdev) -
#4063
8f0dbb8- fix thread initialization timing race which causedscrollToBottomOnInitializeto fail inuseLocalRuntime(@AVGVSTVS96) -
#3958
7a8bf26- refactor: hoistMessagePartPrimitiveInProgressto@assistant-ui/core/reactso@assistant-ui/react,@assistant-ui/react-ink, and other distributions can share the same implementation.@assistant-ui/react'sMessagePartPrimitive.InProgressis unchanged for callers; it now re-exports from core. (@ShobhitPatra) -
#4050
693922b- fix(x-buildutils): include localtypes/intypeRootsso x-buildutils itself can resolve its ambientbrowser-processtypes (@Yonom)feat(react): re-export
Unstable_DirectiveFormatter,Unstable_DirectiveSegment,Unstable_TriggerItem, andunstable_defaultDirectiveFormatterfrom@assistant-ui/coreso downstream packages don't need to depend on@assistant-ui/coredirectly -
Updated dependencies [
845c7c1,db721df,94548fa,94548fa,94548fa,8b6fc88,179895f,7a8bf26,3b2bbce]:- assistant-cloud@0.1.28
- @assistant-ui/store@0.2.11
- assistant-stream@0.3.15
- @assistant-ui/core@0.2.3