ChangelogWeek 27
Week 27
v3.1.0
@liveblocks/client
defineAiTool()()
now takes an optionalenabled
property. When set tofalse
, the tool will not be made available to the AI copilot for new/future chat messages, but still allow existing tool invocations to be rendered that are part of the historic chat record.
@liveblocks/react
RegisterAiTool
now also takes an optionalenabled
prop. This is a convenience prop that can be used to override the tool’senabled
status directly in React.
@liveblocks/react-ui
- Reasoning parts in
AiChat
are now automatically collapsed when the reasoning is done. - Add
collapsible
prop toAiTool
to control whether its content can be collapsed/expanded. - Add
InboxNotification.Inspector
component to help debugging custom inbox notifications.
@liveblocks/redux
- Add support for Redux v5.
@liveblocks/react-lexical
- Fix default
z-index
of collaboration cursors, and make them inherit their font family instead of always using Arial. - Add
lb-lexical-cursors
class to the collaboration cursors’ container. - Improve mentions’ serialization.
@liveblocks/node-lexical
- Improve mentions’ serialization.