Patch Changes
-
#6680
7ff2ab2- fix: use terminal display columns for multiline text input movement (@rupic-app) -
#6547
6bd1570- fix: drop zustand from core (@okisdev)core declared zustand as an optional peer while importing
createanduseShallowunconditionally. pnpm keys a package instance on its resolved peers, so two dependency branches landing on different zustand patches (5.0.14 under one, 5.0.15 under the other) produced two physical copies of core. React context is per copy, so aRuntimeAdapterProviderrendered by one copy was invisible to a runtime hook imported from the other:unstable_Providersupplied ahistoryadapter,useAISDKRuntimereadundefined,withFormat()never fired, and every thread loaded with no messages and no error.core no longer uses zustand at all, so the peer is gone rather than reclassified. the four internal stores now use
WritableSubscribable, a mutable cell built on the existingBaseSubscribableand read throughuseSubscribable. the twouseShallowcall sites wrapped selectors passed touseAuiState, aui's own store, so they now useuseShallowSelectorfrom@assistant-ui/store/internal, which memoizes a selector against theshallowEqualthat already lived there.WritableSubscribablereports a server snapshot anduseSubscribableforwards one when the subscribable offers it, so the components reading these stores render under SSR the way the zustand hook did. Subscribables without one, including every existing runtime client, keep their current behaviour.@assistant-ui/react-nativeand@assistant-ui/react-inkdeclared zustand only to satisfy core's optional peer and never imported it, so they no longer declare it.@assistant-ui/reactand@assistant-ui/uikeep theirs because they import it directly, and@assistant-ui/reactadditionally exposesStoreApithroughReadonlyStorein its published types. -
#6628
7edd4b1- fix: keep vertical text input movement on grapheme boundaries (@Kinfe123) -
#6642
c87679b- fix: keep CRLF line endings intact during text input editing (@Kinfe123) -
Updated dependencies [
8cc962e,2a31285,205acf5,740a573,65d449b,79283c5,9ec29e1,14fc938,3f7af8b,46fad14,5511057,dc2cab3,d75944b,6bd1570,60ae973,9f08bdc,0fb5390,dc2cab3,f0d0aa2,1fa3e09,0f17ba5,152a35d,0c5c574,ddaac94,0c68179,250f69c,c22a3dc,aca6e30,5bdd416,6fdfc23,136bbf5,e53299b,69d8e1b,dabe8f2,8d128af,9f08bdc,47a46db,8135d16,07fed43,fa9c0dc,fa9c0dc,4ca7de9,65d449b,49e727b,49e727b,d56a66a,96a2df8,8206d8f]:- @assistant-ui/core@0.3.17
- assistant-stream@0.3.41
- @assistant-ui/store@0.3.12
- @assistant-ui/tap@0.9.16