Sourced from @assistant-ui/react's releases.
@assistant-ui/react@0.15.22Patch Changes
#8032
d096801- fix: type the assistant transport request body thatprepareSendCommandsRequestreceives; its fields are no longerunknownin@assistant-ui/react, andthreadIdis an optionalstring, absent when a resume has no remote id, instead ofstring | null(@rupic-app)#8342
aa0f338- feat:useAssistantTransportRuntimeacceptscloud: Assistant Cloud backs the thread list and every request carries the cloud thread id; withoutcloud,NEXT_PUBLIC_ASSISTANT_BASE_URLselects Assistant Cloud, as it does foruseLocalRuntime.adapters.history, which this runtime never read, is deprecated (@okisdev)#7731
455e2ac- fix: lock the current scroll container after reasoning content or its ancestor chain changes (@Kinfe123)#7730
af49e91- fix: prevent stale message hover updates after unmount (@Kinfe123)#7737
6cc0bee- fix: scope selection toolbars to their owning thread (@Kinfe123)#8339
967de5d- feat:CloudRendererHostdraws a stored conversation in the Assistant Cloud dashboard's As shown view with the app's own components; a read only thread now reports itself disabled, so its composer renders disabled, and ignores composer input instead of throwing (@okisdev)#8030
e8fac8d- feat: show a message with uploading attachments in the thread while it is being sent (@okisdev)
MessagePrimitive.Attachmentsnow hands its render functionAttachmentrather thanCompleteAttachment, because the row of a message that is still being sent shows attachments that are still uploading. a render function that readsattachment.contentshould checkattachment.status.type === "complete"first.#7877
83f5354- fix: honor registered data-part fallbacks on native MessageContent and grouped parts (@Kinfe123)#7760
84e0cf4- fix: emit declarations from one TypeScript program so two builds of the same commit produce the same.d.ts(@okisdev)
aui-buildnow emits the unbundled.d.tsoutput in one TypeScript pass over the whole package, so two builds of the same commit produce identical declarations; the per-module emit it replaced followed the bundler's load order and let union member order, alias visibility and import specifiers move between builds. Declarations import barrels as the source does and keepimport type; the exported types are unchanged. A/// <reference>directive that must reach the published declarations now carriespreserve="true"in the source.#7838
3d01501- fix: every distribution re-exports the same shared surface from@assistant-ui/core.@assistant-ui/react-inkgainsReadonlyThreadProvider,ToolCallMessagePartStatus,groupPartByType,GroupByContext,VoiceSessionState, the external store runtime (useExternalStoreRuntime,useExternalMessageConverter, their adapters and options), the message queue, the tool approval types, the generative UI renderer and the cloud thread list hooks;@assistant-ui/react-nativegainsVoiceSessionState, the cloud thread list hooks, the generative UI renderer and the runtime state and adapter types the web package already carried;@assistant-ui/reactgainsMessageRole,RunConfig,RuntimeCapabilities,RemoteThreadListOptions,ThreadsState,JoinStrategy,TitleGenerationAdapter,createSimpleTitleAdapterandChainOfThoughtPartByIndexProvider. (@okisdev)#7520
2171a8e- fix(react): attach the ExportMarkdown download anchor to the document so Firefox starts the download (@Kinfe123)#8010
1c86c4c- fix: prevent disabled attachment dropzones from navigating to dropped files. (@Kinfe123)#7733
e2f1306- fix: clear attachment drag state when the dropzone is disabled (@Kinfe123)#7897
16ef5b3- fix(react): stop a pending bottom scroll from hijacking keyboard-driven content growth (@Kinfe123)#7762
4928364- fix: resolve component registries by own keys only, so a component, tool or data part name that onlyObject.prototypehas (toString,constructor,__proto__) takes theFallbackorGenerativeUIRenderErrorpath instead of rendering the inherited built-in (@okisdev)#7725
258ad13- fix: expose feedback submission state to assistive technology (@rupic-app)#7981
0252c69- feat: name the runtime state typesThreadRuntimeState,MessageRuntimeState,ComposerRuntimeState,AttachmentRuntimeStateandThreadListItemRuntimeState(@okisdev)these are the states
ThreadRuntime,MessageRuntime,ComposerRuntime,AttachmentRuntimeandThreadListItemRuntimereturn fromgetState(), now exported by all three distributions;@assistant-ui/react-nativeand@assistant-ui/react-inkhad no name for them. in@assistant-ui/react,ThreadState,MessageState,ComposerState,AttachmentStateandThreadListItemStatestill name these runtime states but are deprecated: from 0.16 they name the store statesuseAuiStatereads, as they already do in@assistant-ui/react-nativeand@assistant-ui/react-ink. code that annotates a runtime'sgetState()result should move to the new names.#8149
1b1ff55- fix(react): keep the selection toolbar in sync after a right-click, so a context menu that swallows the mouseup no longer leaves it showing (and quoting) the previous selection (@samdickson22)#8065
2caacad- feat: a tool UI can record what the user did on its tool call withunstable_recordInteraction, kept on the part asunstable_interactionsand stored in cloud history; the answer to a human input request is recorded once the runtime accepts it, the local runtime persists records and keeps them out of model input, external stores receive them throughunstable_onRecordToolInteraction, and readonly threads ignore them (@okisdev)#7068
4b069f9- fix: Use successful Standard Schema output for tool execution and model output. Keep the original arguments for validation errors and stored tool calls. (@ephraimduncan)#7777
c51ba8f- feat(core): let typed text enter a connected voice session throughsendText(@okisdev)
... (truncated)
Sourced from @assistant-ui/react's changelog.
0.15.22
Patch Changes
#8032
d096801- fix: type the assistant transport request body thatprepareSendCommandsRequestreceives; its fields are no longerunknownin@assistant-ui/react, andthreadIdis an optionalstring, absent when a resume has no remote id, instead ofstring | null(@rupic-app)#8342
aa0f338- feat:useAssistantTransportRuntimeacceptscloud: Assistant Cloud backs the thread list and every request carries the cloud thread id; withoutcloud,NEXT_PUBLIC_ASSISTANT_BASE_URLselects Assistant Cloud, as it does foruseLocalRuntime.adapters.history, which this runtime never read, is deprecated (@okisdev)#7731
455e2ac- fix: lock the current scroll container after reasoning content or its ancestor chain changes (@Kinfe123)#7730
af49e91- fix: prevent stale message hover updates after unmount (@Kinfe123)#7737
6cc0bee- fix: scope selection toolbars to their owning thread (@Kinfe123)#8339
967de5d- feat:CloudRendererHostdraws a stored conversation in the Assistant Cloud dashboard's As shown view with the app's own components; a read only thread now reports itself disabled, so its composer renders disabled, and ignores composer input instead of throwing (@okisdev)#8030
e8fac8d- feat: show a message with uploading attachments in the thread while it is being sent (@okisdev)
MessagePrimitive.Attachmentsnow hands its render functionAttachmentrather thanCompleteAttachment, because the row of a message that is still being sent shows attachments that are still uploading. a render function that readsattachment.contentshould checkattachment.status.type === "complete"first.#7877
83f5354- fix: honor registered data-part fallbacks on native MessageContent and grouped parts (@Kinfe123)#7760
84e0cf4- fix: emit declarations from one TypeScript program so two builds of the same commit produce the same.d.ts(@okisdev)
aui-buildnow emits the unbundled.d.tsoutput in one TypeScript pass over the whole package, so two builds of the same commit produce identical declarations; the per-module emit it replaced followed the bundler's load order and let union member order, alias visibility and import specifiers move between builds. Declarations import barrels as the source does and keepimport type; the exported types are unchanged. A/// <reference>directive that must reach the published declarations now carriespreserve="true"in the source.#7838
3d01501- fix: every distribution re-exports the same shared surface from@assistant-ui/core.@assistant-ui/react-inkgainsReadonlyThreadProvider,ToolCallMessagePartStatus,groupPartByType,GroupByContext,VoiceSessionState, the external store runtime (useExternalStoreRuntime,useExternalMessageConverter, their adapters and options), the message queue, the tool approval types, the generative UI renderer and the cloud thread list hooks;@assistant-ui/react-nativegainsVoiceSessionState, the cloud thread list hooks, the generative UI renderer and the runtime state and adapter types the web package already carried;@assistant-ui/reactgainsMessageRole,RunConfig,RuntimeCapabilities,RemoteThreadListOptions,ThreadsState,JoinStrategy,TitleGenerationAdapter,createSimpleTitleAdapterandChainOfThoughtPartByIndexProvider. (@okisdev)#7520
2171a8e- fix(react): attach the ExportMarkdown download anchor to the document so Firefox starts the download (@Kinfe123)#8010
1c86c4c- fix: prevent disabled attachment dropzones from navigating to dropped files. (@Kinfe123)#7733
e2f1306- fix: clear attachment drag state when the dropzone is disabled (@Kinfe123)#7897
16ef5b3- fix(react): stop a pending bottom scroll from hijacking keyboard-driven content growth (@Kinfe123)#7762
4928364- fix: resolve component registries by own keys only, so a component, tool or data part name that onlyObject.prototypehas (toString,constructor,__proto__) takes theFallbackorGenerativeUIRenderErrorpath instead of rendering the inherited built-in (@okisdev)#7725
258ad13- fix: expose feedback submission state to assistive technology (@rupic-app)#7981
0252c69- feat: name the runtime state typesThreadRuntimeState,MessageRuntimeState,ComposerRuntimeState,AttachmentRuntimeStateandThreadListItemRuntimeState(@okisdev)these are the states
ThreadRuntime,MessageRuntime,ComposerRuntime,AttachmentRuntimeandThreadListItemRuntimereturn fromgetState(), now exported by all three distributions;@assistant-ui/react-nativeand@assistant-ui/react-inkhad no name for them. in@assistant-ui/react,ThreadState,MessageState,ComposerState,AttachmentStateandThreadListItemStatestill name these runtime states but are deprecated: from 0.16 they name the store statesuseAuiStatereads, as they already do in@assistant-ui/react-nativeand@assistant-ui/react-ink. code that annotates a runtime'sgetState()result should move to the new names.#8149
1b1ff55- fix(react): keep the selection toolbar in sync after a right-click, so a context menu that swallows the mouseup no longer leaves it showing (and quoting) the previous selection (@samdickson22)#8065
2caacad- feat: a tool UI can record what the user did on its tool call withunstable_recordInteraction, kept on the part asunstable_interactionsand stored in cloud history; the answer to a human input request is recorded once the runtime accepts it, the local runtime persists records and keeps them out of model input, external stores receive them throughunstable_onRecordToolInteraction, and readonly threads ignore them (@okisdev)#7068
4b069f9- fix: Use successful Standard Schema output for tool execution and model output. Keep the original arguments for validation errors and stored tool calls. (@ephraimduncan)
... (truncated)
f008537
chore: update versions (#7724)967de5d
feat(react): CloudRendererHost draws a stored conversation in the
dashboard's...1b1ff55
fix(react): keep the selection toolbar quoting what is selected after a
right...2caacad
feat(core): record the user's interactions with a tool ui on its tool
call (#...e8fac8d
feat(core): show a message with uploading attachments while it is sent
(#8030)d096801
fix: type the assistant transport body that prepareSendCommandsRequest
receiv...1c86c4c
fix(react): claim file drops when attachment dropzone is disabled (#8010)0252c69
feat: name the runtime state types and deprecate their old names (#7981)15937b8
test(react): skip the initial viewport scroll in the MessageRoot hover
test (...16ef5b3
fix(react): cancel pending bottom scroll on a keyboard gesture (#7897)