@liveblocks/react
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
export { g as getUmbrellaStoreForClient, a as useAddRoomCommentReaction, u as useClientOrNull, b as useCreateRoomComment, c as useCreateRoomThread, d as useCreateTextMention, e as useDeleteRoomComment, f as useDeleteRoomThread, h as useDeleteTextMention, i as useEditRoomComment, j as useEditRoomThreadMetadata, k as useMarkRoomThreadAsRead, l as useMarkRoomThreadAsResolved, m as useMarkRoomThreadAsUnresolved, n as useMentionSuggestionsCache, o as useRemoveRoomCommentReaction, p as useReportTextEditor, q as useResolveMentionSuggestions, r as useRoomAttachmentUrl, s as useRoomPermissions, t as useRoomThreadSubscription, v as useYjsProvider } from './room-BYtyYCxu.js'; | ||
export { g as getUmbrellaStoreForClient, a as useAddRoomCommentReaction, u as useClientOrNull, b as useCreateRoomComment, c as useCreateRoomThread, d as useCreateTextMention, e as useDeleteRoomComment, f as useDeleteRoomThread, h as useDeleteTextMention, i as useEditRoomComment, j as useEditRoomThreadMetadata, k as useMarkRoomThreadAsRead, l as useMarkRoomThreadAsResolved, m as useMarkRoomThreadAsUnresolved, n as useMentionSuggestionsCache, o as useRemoveRoomCommentReaction, p as useReportTextEditor, q as useResolveMentionSuggestions, r as useRoomAttachmentUrl, s as useRoomPermissions, t as useRoomThreadSubscription, v as useYjsProvider } from './room-BdfI6Vy7.js'; | ||
import { useLayoutEffect as useLayoutEffect$1 } from 'react'; | ||
@@ -3,0 +3,0 @@ import { ISignal, SyncSource } from '@liveblocks/core'; |
@@ -27,3 +27,3 @@ import { | ||
useYjsProvider | ||
} from "./chunk-Y7BGHNHH.js"; | ||
} from "./chunk-X7TWWGKZ.js"; | ||
@@ -30,0 +30,0 @@ // src/lib/use-layout-effect.ts |
@@ -1,7 +0,6 @@ | ||
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, y as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aF as useAiChat, aH as useAiChatMessages, aG as useAiChats, ar as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, x as useClient, ay as useCreateAiChat, P as useCreateComment, Q as useCreateThread, az as useDeleteAiChat, z as useDeleteAllInboxNotifications, S as useDeleteComment, A as useDeleteInboxNotification, T as useDeleteThread, V as useEditComment, W as useEditThreadMetadata, B as useErrorListener, a0 as useEventListener, a1 as useHistory, ai as useHistoryVersionData, as as useHistoryVersions, _ as useInboxNotificationThread, av as useInboxNotifications, a2 as useIsInsideRoom, a3 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a4 as useMarkThreadAsRead, X as useMarkThreadAsResolved, Y as useMarkThreadAsUnresolved, a5 as useMutation, a6 as useMyPresence, aw as useNotificationSettings, aj as useOther, ak as useOthers, al as useOthersConnectionIds, a7 as useOthersListener, am as useOthersMapped, a8 as useRedo, a9 as useRemoveReaction, aa as useRoom, aC as useRoomInfo, at as useRoomNotificationSettings, au as useRoomSubscriptionSettings, an as useSelf, aA as useSendAiMessage, ab as useStatus, ao as useStorage, ac as useStorageRoot, ap as useStorageStatus, Z as useSubscribeToThread, F as useSyncStatus, ad as useThreadSubscription, aq as useThreads, ae as useUndo, aD as useUnreadInboxNotificationsCount, $ as useUnsubscribeFromThread, af as useUpdateMyPresence, ax as useUpdateNotificationSettings, ag as useUpdateRoomNotificationSettings, ah as useUpdateRoomSubscriptionSettings, aE as useUser, aB as useUserThreads_experimental } from './room-BYtyYCxu.js'; | ||
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledge, y as RegisterAiKnowledgeProps, x as RegisterAiTool, z as RegisterAiToolProps, A as RoomContext, N as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, D as createLiveblocksContext, K as createRoomContext, O as useAddReaction, aJ as useAiChat, aL as useAiChatMessages, aK as useAiChats, av as useAttachmentUrl, P as useBatch, Q as useBroadcastEvent, S as useCanRedo, T as useCanUndo, B as useClient, aC as useCreateAiChat, V as useCreateComment, W as useCreateThread, aD as useDeleteAiChat, E as useDeleteAllInboxNotifications, X as useDeleteComment, F as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, $ as useEditThreadMetadata, G as useErrorListener, a4 as useEventListener, a5 as useHistory, am as useHistoryVersionData, aw as useHistoryVersions, _ as useInboxNotificationThread, az as useInboxNotifications, a6 as useIsInsideRoom, a7 as useLostConnectionListener, H as useMarkAllInboxNotificationsAsRead, I as useMarkInboxNotificationAsRead, a8 as useMarkThreadAsRead, a0 as useMarkThreadAsResolved, a1 as useMarkThreadAsUnresolved, a9 as useMutation, aa as useMyPresence, aA as useNotificationSettings, an as useOther, ao as useOthers, ap as useOthersConnectionIds, ab as useOthersListener, aq as useOthersMapped, ac as useRedo, ad as useRemoveReaction, ae as useRoom, aG as useRoomInfo, ax as useRoomNotificationSettings, ay as useRoomSubscriptionSettings, ar as useSelf, aE as useSendAiMessage, af as useStatus, as as useStorage, ag as useStorageRoot, at as useStorageStatus, a2 as useSubscribeToThread, J as useSyncStatus, ah as useThreadSubscription, au as useThreads, ai as useUndo, aH as useUnreadInboxNotificationsCount, a3 as useUnsubscribeFromThread, aj as useUpdateMyPresence, aB as useUpdateNotificationSettings, ak as useUpdateRoomNotificationSettings, al as useUpdateRoomSubscriptionSettings, aI as useUser, aF as useUserThreads_experimental } from './room-BdfI6Vy7.js'; | ||
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client'; | ||
import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
import * as react from 'react'; | ||
import { ReactNode } from 'react'; | ||
import { AiKnowledgeSource } from '@liveblocks/core'; | ||
import '@liveblocks/core'; | ||
@@ -31,29 +30,2 @@ type Props = { | ||
/** | ||
* Make knowledge about your application state available to any AI used in | ||
* a chat or a one-off request. | ||
* | ||
* For example: | ||
* | ||
* <RegisterAiKnowledge | ||
* description="The current mode of my application" | ||
* value="dark" /> | ||
* | ||
* <RegisterAiKnowledge | ||
* description="The current list of todos" | ||
* value={todos} /> | ||
* | ||
* By mounting this component, the AI will get access to this knwoledge. | ||
* By unmounting this component, the AI will no longer have access to it. | ||
* It can choose to use or ignore this knowledge in its responses. | ||
*/ | ||
declare const RegisterAiKnowledge: react.NamedExoticComponent<AiKnowledgeSource & { | ||
/** | ||
* An optional unique key for this knowledge source. If multiple components | ||
* register knowledge under the same key, the last one to mount takes | ||
* precedence. | ||
*/ | ||
id?: string; | ||
}>; | ||
export { ClientSideSuspense, RegisterAiKnowledge }; | ||
export { ClientSideSuspense }; |
@@ -6,3 +6,3 @@ import { | ||
PKG_VERSION | ||
} from "./chunk-Y2RSQZ5R.js"; | ||
} from "./chunk-OWSOT5S6.js"; | ||
import { | ||
@@ -12,2 +12,3 @@ ClientContext, | ||
RegisterAiKnowledge, | ||
RegisterAiTool, | ||
RoomContext, | ||
@@ -84,3 +85,3 @@ _RoomProvider, | ||
useUpdateRoomSubscriptionSettings | ||
} from "./chunk-Y7BGHNHH.js"; | ||
} from "./chunk-X7TWWGKZ.js"; | ||
@@ -96,2 +97,3 @@ // src/index.ts | ||
RegisterAiKnowledge, | ||
RegisterAiTool, | ||
RoomContext, | ||
@@ -98,0 +100,0 @@ _RoomProvider as RoomProvider, |
@@ -1,3 +0,3 @@ | ||
export { ClientSideSuspense, RegisterAiKnowledge } from './index.js'; | ||
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, I as useAddReaction, b0 as useAiChat, a$ as useAiChatMessages, a_ as useAiChats, aQ as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, x as useClient, ay as useCreateAiChat, P as useCreateComment, Q as useCreateThread, az as useDeleteAiChat, z as useDeleteAllInboxNotifications, S as useDeleteComment, A as useDeleteInboxNotification, T as useDeleteThread, V as useEditComment, W as useEditThreadMetadata, B as useErrorListener, a0 as useEventListener, a1 as useHistory, aR as useHistoryVersions, _ as useInboxNotificationThread, aU as useInboxNotifications, a2 as useIsInsideRoom, a3 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a4 as useMarkThreadAsRead, X as useMarkThreadAsResolved, Y as useMarkThreadAsUnresolved, a5 as useMutation, a6 as useMyPresence, aV as useNotificationSettings, aI as useOther, aJ as useOthers, aK as useOthersConnectionIds, a7 as useOthersListener, aL as useOthersMapped, a8 as useRedo, a9 as useRemoveReaction, aa as useRoom, aW as useRoomInfo, aS as useRoomNotificationSettings, aT as useRoomSubscriptionSettings, aM as useSelf, aA as useSendAiMessage, ab as useStatus, aN as useStorage, ac as useStorageRoot, aO as useStorageStatus, Z as useSubscribeToThread, F as useSyncStatus, ad as useThreadSubscription, aP as useThreads, ae as useUndo, aX as useUnreadInboxNotificationsCount, $ as useUnsubscribeFromThread, af as useUpdateMyPresence, ax as useUpdateNotificationSettings, ag as useUpdateRoomNotificationSettings, ah as useUpdateRoomSubscriptionSettings, aY as useUser, aZ as useUserThreads_experimental } from './room-BYtyYCxu.js'; | ||
export { ClientSideSuspense } from './index.js'; | ||
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledge, y as RegisterAiKnowledgeProps, x as RegisterAiTool, z as RegisterAiToolProps, A as RoomContext, N as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, O as useAddReaction, b4 as useAiChat, b3 as useAiChatMessages, b2 as useAiChats, aU as useAttachmentUrl, P as useBatch, Q as useBroadcastEvent, S as useCanRedo, T as useCanUndo, B as useClient, aC as useCreateAiChat, V as useCreateComment, W as useCreateThread, aD as useDeleteAiChat, E as useDeleteAllInboxNotifications, X as useDeleteComment, F as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, $ as useEditThreadMetadata, G as useErrorListener, a4 as useEventListener, a5 as useHistory, aV as useHistoryVersions, _ as useInboxNotificationThread, aY as useInboxNotifications, a6 as useIsInsideRoom, a7 as useLostConnectionListener, H as useMarkAllInboxNotificationsAsRead, I as useMarkInboxNotificationAsRead, a8 as useMarkThreadAsRead, a0 as useMarkThreadAsResolved, a1 as useMarkThreadAsUnresolved, a9 as useMutation, aa as useMyPresence, aZ as useNotificationSettings, aM as useOther, aN as useOthers, aO as useOthersConnectionIds, ab as useOthersListener, aP as useOthersMapped, ac as useRedo, ad as useRemoveReaction, ae as useRoom, a_ as useRoomInfo, aW as useRoomNotificationSettings, aX as useRoomSubscriptionSettings, aQ as useSelf, aE as useSendAiMessage, af as useStatus, aR as useStorage, ag as useStorageRoot, aS as useStorageStatus, a2 as useSubscribeToThread, J as useSyncStatus, ah as useThreadSubscription, aT as useThreads, ai as useUndo, a$ as useUnreadInboxNotificationsCount, a3 as useUnsubscribeFromThread, aj as useUpdateMyPresence, aB as useUpdateNotificationSettings, ak as useUpdateRoomNotificationSettings, al as useUpdateRoomSubscriptionSettings, b0 as useUser, b1 as useUserThreads_experimental } from './room-BdfI6Vy7.js'; | ||
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client'; | ||
@@ -4,0 +4,0 @@ import 'react/jsx-runtime'; |
@@ -6,3 +6,3 @@ import { | ||
PKG_VERSION | ||
} from "./chunk-Y2RSQZ5R.js"; | ||
} from "./chunk-OWSOT5S6.js"; | ||
import { | ||
@@ -12,2 +12,3 @@ ClientContext, | ||
RegisterAiKnowledge, | ||
RegisterAiTool, | ||
RoomContext, | ||
@@ -81,3 +82,3 @@ _RoomProvider, | ||
useUpdateRoomSubscriptionSettings | ||
} from "./chunk-Y7BGHNHH.js"; | ||
} from "./chunk-X7TWWGKZ.js"; | ||
@@ -93,2 +94,3 @@ // src/suspense.ts | ||
RegisterAiKnowledge, | ||
RegisterAiTool, | ||
RoomContext, | ||
@@ -95,0 +97,0 @@ _RoomProvider as RoomProvider, |
{ | ||
"name": "@liveblocks/react", | ||
"version": "2.25.0-aiprivatebeta10", | ||
"version": "2.25.0-aiprivatebeta11", | ||
"description": "A set of React hooks and providers to use Liveblocks declaratively. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.", | ||
@@ -64,4 +64,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@liveblocks/client": "2.25.0-aiprivatebeta10", | ||
"@liveblocks/core": "2.25.0-aiprivatebeta10" | ||
"@liveblocks/client": "2.25.0-aiprivatebeta11", | ||
"@liveblocks/core": "2.25.0-aiprivatebeta11" | ||
}, | ||
@@ -68,0 +68,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1316885
0.59%12736
0.51%+ Added
+ Added
+ Added
- Removed
- Removed