@ai4b-team/fsaos-gateway-sdk 5.5.2 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1060,6 +1060,8 @@ declare const vfsKeys: {
1060
1060
  allChannelMessages: () => readonly ["vfs", string, "channel-messages"];
1061
1061
  /** Channels listing (scope-aware). */
1062
1062
  channels: (filter?: string) => readonly ["vfs", string, "channels", string];
1063
+ /** Shares conversation reconnect invalidation, without sharing transcript data. */
1064
+ messageReplies: (channelPath: string, messageId: string, rootId?: string, limit?: number) => readonly ["vfs", string, "channel-messages", string, string, "contextual-replies", string, number];
1063
1065
  /** All channels queries for current scope (for broad invalidation). */
1064
1066
  allChannels: () => readonly ["vfs", string, "channels"];
1065
1067
  /** Notifications listing (scope-aware). */
@@ -1286,11 +1288,66 @@ interface ChannelMessage {
1286
1288
  */
1287
1289
  member_count: number;
1288
1290
  parent_message_id?: string;
1291
+ /** Explicit contextual reply. Thread membership remains parent_message_id. */
1292
+ reply_to?: MessageReplyContext;
1289
1293
  intent_card?: Record<string, unknown>;
1290
1294
  /** Full message metadata from type_data.metadata (launch cards, custom card payloads, etc.). */
1291
1295
  metadata?: Record<string, unknown>;
1292
1296
  thread_summary?: Array<Record<string, unknown>>;
1293
1297
  }
1298
+ /** Authorized projection of a contextual reply target. No UI or navigation state. */
1299
+ type MessageReplyContext = {
1300
+ state: 'unavailable';
1301
+ } | {
1302
+ state: 'available';
1303
+ message_id: string;
1304
+ path: string;
1305
+ role?: string;
1306
+ sender_principal_id?: string;
1307
+ sender_display_name?: string;
1308
+ excerpt: string;
1309
+ truncated: boolean;
1310
+ };
1311
+ interface MessageRepliesCursor {
1312
+ updated_at: string;
1313
+ edge_id: string;
1314
+ }
1315
+ interface MessageRepliesPage {
1316
+ messages: ChannelMessage[];
1317
+ /** Continue even if permissions filtered every message from this page. */
1318
+ next_cursor: MessageRepliesCursor | null;
1319
+ }
1320
+ /** Native send parameters; scope/auth are supplied by the existing SDK session. */
1321
+ interface SendMessageParams extends Record<string, unknown> {
1322
+ message: string;
1323
+ channel_id?: string;
1324
+ channel_path?: string;
1325
+ /** Containing thread, never the contextual reply target. */
1326
+ parent_message_id?: string;
1327
+ /** Omit for an ordinary send. Does not start or select another conversation. */
1328
+ reply_to_message_id?: string;
1329
+ conversation_mode?: 'channel' | 'new_thread';
1330
+ client_request_id?: string;
1331
+ }
1332
+ interface SendMessageResult extends Record<string, unknown> {
1333
+ success: true;
1334
+ message_id?: string;
1335
+ message_path?: string;
1336
+ queue_entry_id?: string;
1337
+ queued?: boolean;
1338
+ replayed?: boolean;
1339
+ reply_to_message_id?: string;
1340
+ }
1341
+ /** One send; no retry, polling, cache write, subscription or conversation selection. */
1342
+ declare function sendMessage(params: SendMessageParams): Promise<SendMessageResult>;
1343
+ /** Batch target previews. Ordinary or unreadable source messages are absent. */
1344
+ declare function fetchMessageReplyContexts(messageIds: string[], options?: GatewayRequestOptions): Promise<Record<string, MessageReplyContext>>;
1345
+ /** One bounded incoming-reply page, independent of a thread's child-message list. */
1346
+ declare function fetchMessageReplies(messageId: string, page?: {
1347
+ limit?: number;
1348
+ cursor?: MessageRepliesCursor;
1349
+ conversationRootId?: string;
1350
+ }, options?: GatewayRequestOptions): Promise<MessageRepliesPage>;
1294
1351
  /** Runtime/kernel ownership shared by durable cards and execution activity. */
1295
1352
  interface WorkCorrelation {
1296
1353
  version: 1;
@@ -2446,6 +2503,233 @@ declare function useChannelMessages(options: ChannelMessagesOptions): {
2446
2503
  error: Error | null;
2447
2504
  refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<ChannelMessagesResponse, Error>>;
2448
2505
  };
2506
+ interface MessageRepliesOptions {
2507
+ channelPath: string | null | undefined;
2508
+ messageId: string;
2509
+ /** The containing thread, not the message being replied to. Omit in a channel. */
2510
+ conversationRootId?: string;
2511
+ enabled?: boolean;
2512
+ realtime?: boolean;
2513
+ limit?: number;
2514
+ }
2515
+ /** Explicit contextual replies. Mount when opened; more pages require a caller action. */
2516
+ declare function useMessageReplies(options: MessageRepliesOptions): {
2517
+ messages: ChannelMessage[];
2518
+ data: _tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>;
2519
+ error: Error;
2520
+ isError: true;
2521
+ isPending: false;
2522
+ isLoading: false;
2523
+ isLoadingError: false;
2524
+ isRefetchError: true;
2525
+ isSuccess: false;
2526
+ isPlaceholderData: false;
2527
+ status: "error";
2528
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2529
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2530
+ hasNextPage: boolean;
2531
+ hasPreviousPage: boolean;
2532
+ isFetchNextPageError: boolean;
2533
+ isFetchingNextPage: boolean;
2534
+ isFetchPreviousPageError: boolean;
2535
+ isFetchingPreviousPage: boolean;
2536
+ dataUpdatedAt: number;
2537
+ errorUpdatedAt: number;
2538
+ failureCount: number;
2539
+ failureReason: Error | null;
2540
+ errorUpdateCount: number;
2541
+ isFetched: boolean;
2542
+ isFetchedAfterMount: boolean;
2543
+ isFetching: boolean;
2544
+ isInitialLoading: boolean;
2545
+ isPaused: boolean;
2546
+ isRefetching: boolean;
2547
+ isStale: boolean;
2548
+ isEnabled: boolean;
2549
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2550
+ fetchStatus: _tanstack_react_query.FetchStatus;
2551
+ promise: Promise<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>>;
2552
+ } | {
2553
+ messages: ChannelMessage[];
2554
+ data: _tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>;
2555
+ error: null;
2556
+ isError: false;
2557
+ isPending: false;
2558
+ isLoading: false;
2559
+ isLoadingError: false;
2560
+ isRefetchError: false;
2561
+ isFetchNextPageError: false;
2562
+ isFetchPreviousPageError: false;
2563
+ isSuccess: true;
2564
+ isPlaceholderData: false;
2565
+ status: "success";
2566
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2567
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2568
+ hasNextPage: boolean;
2569
+ hasPreviousPage: boolean;
2570
+ isFetchingNextPage: boolean;
2571
+ isFetchingPreviousPage: boolean;
2572
+ dataUpdatedAt: number;
2573
+ errorUpdatedAt: number;
2574
+ failureCount: number;
2575
+ failureReason: Error | null;
2576
+ errorUpdateCount: number;
2577
+ isFetched: boolean;
2578
+ isFetchedAfterMount: boolean;
2579
+ isFetching: boolean;
2580
+ isInitialLoading: boolean;
2581
+ isPaused: boolean;
2582
+ isRefetching: boolean;
2583
+ isStale: boolean;
2584
+ isEnabled: boolean;
2585
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2586
+ fetchStatus: _tanstack_react_query.FetchStatus;
2587
+ promise: Promise<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>>;
2588
+ } | {
2589
+ messages: ChannelMessage[];
2590
+ data: undefined;
2591
+ error: Error;
2592
+ isError: true;
2593
+ isPending: false;
2594
+ isLoading: false;
2595
+ isLoadingError: true;
2596
+ isRefetchError: false;
2597
+ isFetchNextPageError: false;
2598
+ isFetchPreviousPageError: false;
2599
+ isSuccess: false;
2600
+ isPlaceholderData: false;
2601
+ status: "error";
2602
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2603
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2604
+ hasNextPage: boolean;
2605
+ hasPreviousPage: boolean;
2606
+ isFetchingNextPage: boolean;
2607
+ isFetchingPreviousPage: boolean;
2608
+ dataUpdatedAt: number;
2609
+ errorUpdatedAt: number;
2610
+ failureCount: number;
2611
+ failureReason: Error | null;
2612
+ errorUpdateCount: number;
2613
+ isFetched: boolean;
2614
+ isFetchedAfterMount: boolean;
2615
+ isFetching: boolean;
2616
+ isInitialLoading: boolean;
2617
+ isPaused: boolean;
2618
+ isRefetching: boolean;
2619
+ isStale: boolean;
2620
+ isEnabled: boolean;
2621
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2622
+ fetchStatus: _tanstack_react_query.FetchStatus;
2623
+ promise: Promise<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>>;
2624
+ } | {
2625
+ messages: ChannelMessage[];
2626
+ data: undefined;
2627
+ error: null;
2628
+ isError: false;
2629
+ isPending: true;
2630
+ isLoading: true;
2631
+ isLoadingError: false;
2632
+ isRefetchError: false;
2633
+ isFetchNextPageError: false;
2634
+ isFetchPreviousPageError: false;
2635
+ isSuccess: false;
2636
+ isPlaceholderData: false;
2637
+ status: "pending";
2638
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2639
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2640
+ hasNextPage: boolean;
2641
+ hasPreviousPage: boolean;
2642
+ isFetchingNextPage: boolean;
2643
+ isFetchingPreviousPage: boolean;
2644
+ dataUpdatedAt: number;
2645
+ errorUpdatedAt: number;
2646
+ failureCount: number;
2647
+ failureReason: Error | null;
2648
+ errorUpdateCount: number;
2649
+ isFetched: boolean;
2650
+ isFetchedAfterMount: boolean;
2651
+ isFetching: boolean;
2652
+ isInitialLoading: boolean;
2653
+ isPaused: boolean;
2654
+ isRefetching: boolean;
2655
+ isStale: boolean;
2656
+ isEnabled: boolean;
2657
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2658
+ fetchStatus: _tanstack_react_query.FetchStatus;
2659
+ promise: Promise<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>>;
2660
+ } | {
2661
+ messages: ChannelMessage[];
2662
+ data: undefined;
2663
+ error: null;
2664
+ isError: false;
2665
+ isPending: true;
2666
+ isLoadingError: false;
2667
+ isRefetchError: false;
2668
+ isFetchNextPageError: false;
2669
+ isFetchPreviousPageError: false;
2670
+ isSuccess: false;
2671
+ isPlaceholderData: false;
2672
+ status: "pending";
2673
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2674
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2675
+ hasNextPage: boolean;
2676
+ hasPreviousPage: boolean;
2677
+ isFetchingNextPage: boolean;
2678
+ isFetchingPreviousPage: boolean;
2679
+ dataUpdatedAt: number;
2680
+ errorUpdatedAt: number;
2681
+ failureCount: number;
2682
+ failureReason: Error | null;
2683
+ errorUpdateCount: number;
2684
+ isFetched: boolean;
2685
+ isFetchedAfterMount: boolean;
2686
+ isFetching: boolean;
2687
+ isLoading: boolean;
2688
+ isInitialLoading: boolean;
2689
+ isPaused: boolean;
2690
+ isRefetching: boolean;
2691
+ isStale: boolean;
2692
+ isEnabled: boolean;
2693
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2694
+ fetchStatus: _tanstack_react_query.FetchStatus;
2695
+ promise: Promise<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>>;
2696
+ } | {
2697
+ messages: ChannelMessage[];
2698
+ data: _tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>;
2699
+ isError: false;
2700
+ error: null;
2701
+ isPending: false;
2702
+ isLoading: false;
2703
+ isLoadingError: false;
2704
+ isRefetchError: false;
2705
+ isSuccess: true;
2706
+ isPlaceholderData: true;
2707
+ isFetchNextPageError: false;
2708
+ isFetchPreviousPageError: false;
2709
+ status: "success";
2710
+ fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2711
+ fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2712
+ hasNextPage: boolean;
2713
+ hasPreviousPage: boolean;
2714
+ isFetchingNextPage: boolean;
2715
+ isFetchingPreviousPage: boolean;
2716
+ dataUpdatedAt: number;
2717
+ errorUpdatedAt: number;
2718
+ failureCount: number;
2719
+ failureReason: Error | null;
2720
+ errorUpdateCount: number;
2721
+ isFetched: boolean;
2722
+ isFetchedAfterMount: boolean;
2723
+ isFetching: boolean;
2724
+ isInitialLoading: boolean;
2725
+ isPaused: boolean;
2726
+ isRefetching: boolean;
2727
+ isStale: boolean;
2728
+ isEnabled: boolean;
2729
+ refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>, Error>>;
2730
+ fetchStatus: _tanstack_react_query.FetchStatus;
2731
+ promise: Promise<_tanstack_react_query.InfiniteData<MessageRepliesPage, unknown>>;
2732
+ };
2449
2733
  /** Options for useInfiniteChannelMessages. */
2450
2734
  interface InfiniteChannelMessagesOptions {
2451
2735
  /** VFS path of the channel. Required. */
@@ -3864,4 +4148,4 @@ declare function usePersonalSections(contextId: string | null, collection: Secti
3864
4148
  contextKey: string;
3865
4149
  };
3866
4150
 
3867
- export { type AcceptInviteParams, type AcceptInviteResult, type AccountInfo, type AnswerInputParams, type ArtifactDeltaEvent, type ArtifactDoneEvent, type ArtifactEvent, type ArtifactOpenedEvent, type ArtifactState, type ArtifactStatus, type ArtifactStreamState, type ArtifactSurfaceType, CHANNEL_AI_MODES, type CancelQueuedTurnOptions, type CancelQueuedTurnResponse, type CancelQueuedTurnState, type CancelTurnOptions, type CancelTurnResponse, type CancelTurnState, type Channel, type ChannelAiMode, type ChannelCard, type ChannelMessage, type ChannelMessagesOptions, type ChannelMessagesPage, type ChannelMessagesResponse, type ChannelsOptions, type ComponentOpener, ComponentRenderer, type ConnectionState, type CreateAgentParams, type CreateAgentResult, type CreateInvitationParams, type CreateParams, type DeleteParams, EnforcementDeniedError, type EnforcementPayload, type FieldDescriptor, type FileRef, FormSubmissionError, type FormSubmissionReceipt, type FsaosRuntime, type GatewayParams, GatewayRequestError, type GatewayRequestOptions, type GatewayResponse, HostSessionUnavailableError, type HostSessionWelcome, type IncrementalItemsOptions, type InfiniteChannelMessagesOptions, type InfiniteItemsOptions, type InitializeFsaosOptions, type InteractionReceipt, InteractionTrackingError, type InvitationChangeReceipt, type InvitationPage, type InvitationReceipt, type InvitationSummary, type InviteMemberParams, type InviteMemberResult, type ItemVersionsOptions, type ItemVersionsResult, type ItemsDiscovery, type ItemsFilter, type ItemsFilterGroup, KernelProvider, type LinkParams, type LoadMountsOptions, type MemberRole, type MintedAsset, type MintedAssetState, type MountRef, type MoveParams, type Notification, type NotificationsOptions, type OpenEnvelope, type OpenOptions, type PathSubscriptionState, type PersonalItemOrderKey, type PersonalSection, type PinTarget, type PinnedItem, type PrincipalData, type PublicSourceConfig, type PublishedBundle, type PublishedComponentSource, type PublishedComponentStatus, type ReadPriority, type ReadTiming, type ResolveItemsResponse, type ResolveParams, type ResolveResponse, type ResolveResultItem, type ResolvedItem, type SeatMemberParams, type SectionChange, type SectionCollection, type SectionDestination, type SectionSnapshot, type SectionTarget, type ServeHostSessionOptions, type SessionEntry, type SourceCaptureAdapter, type SourceIdentityStorage, type StartTrackingOptions, type SteerTurnOptions, type SteerTurnResponse, type SteerTurnState, type SubmitFormOptions, type SwitcherAccount, type TimelineEvent, type TimelineHistoryEvent, type TimelineHistoryOptions, type TrackEventOptions, type TurnQueueEntry, type TurnQueueEntryState, type TypeDefinition, type TypeHelpers, type TypeSchema, type UnreadCountsOptions, type UpdateParams, type UpdatePrincipalParams, type UploadItem, type UploadOptions, type UploadResult, type UseArtifactStreamReturn, type UseFileUploadReturn, type UseTimelineHistoryReturn, type VFSEdge, type VFSItem, type VfsItemChange, type WorkCorrelation, type WorkspaceOptions, type WorkspaceSession, acceptInvitation, acceptInvite, answerInput, assignPersonalSection, auth, awaitAnchorReady, awaitScopeReady, callTool, cancelInvitation, cancelQueuedTurn, cancelTurn, clearCachedToken, clearSession, configureGatewayReads, connectHostSession, createAgent, createInvitation, createItem, disconnectSSE, disposeVfsRealtimeWs, electHomeAnchor, emitEvent, fetchChannelMessages, fetchChannelMessagesPage, fetchChannelMessagesWithCards, fetchEdgesForItem, fetchItemHistory, fetchItemVersions, fetchItems, fetchMemberFocus, fetchOpenEnvelope, fetchRecentActivity, fetchResolvedItems, fetchTimelineHistory, fetchTurnQueueEntries, fetchTypeDefinitions, fetchVfsChildren, fetchVfsChildrenPage, fetchVfsItem, fetchVfsItemById, fetchVfsTree, gatewayCall, getAccessToken, getAnchor, getAnchorRef, getAnchorVersion, getAssetUrl, getDefaultSort, getHomeAnchor, getInvitation, getMountVersion, getMounts, getPathSubscriptionState, getQueryClient, getRequiredFormFields, getScope, getScopeVersion, getServerClockOffsetMs, getServerClockSyncedAt, getSessionEntry, hasServerClock, initSession, initVfsRealtimeWs, initializeFsaos, initializeWorkspace, interpretSchema, invalidateAllVfs, invalidateChannelMessages, invalidateChildren, invalidateItem, invalidateOpenEnvelope, invalidatePathAndParent, invalidateSubtree, invalidateTypes, inviteMember, isAnchorReady, isChannelPath, isListableItemsFilter, isScopeReady, itemsFilterFromQueryFilter, listChildren, listInvitations, loadMounts, loadPublishedBundle, mount, mountRealtimeScope, normalizeItem, onConnectionStateChange, pathSubscriptionMatches, personalSectionsKey, ping, pushChanges, queryClient, readItem, refreshQuery, registerCleanup, rejectInvitation, replaceMounts, resendInvitation, resetAllSdkState, resolvePrincipalId, resubscribePath, seatMember, selectMount, serveHostSession, serverDeadlinePassed, serverMsUntil, serverNow, setAnchor, setCachedToken, setQueryClient, setScope, setupRequireShim, signal, startTracking, steerTurn, submitForm, subscribeAnchor, subscribeArtifactStream, subscribeMounts, subscribeScope, subscribeToEvents, subscribeToPath, subscribeToScope, trackAction, trackEvent, trackPageView, unmountRealtimeScope, updateItem, uploadFile, useAcceptInvite, useAccounts, useAgentTimeline, useAllChannels, useAnswerInput, useArrangement, useArtifactStream, useAsset, useAuth, useChannelMessages, useChannels, useChildren, useComponent, useCreate, useCreateAgent, useDelete, useDmChannels, useEdges, useEventStream, useFileUpload, useIncrementalItems, useInfiniteChannelMessages, useInfiniteChildren, useInfiniteItems, useInviteMember, useItem, useItemById, useItemHistory, useItemVersions, useItems, useLink, useList, useMemberFocus, useMintedAsset, useMounts, useMove, useMutation, useNotifications, useOpen, usePermission, usePermissions, usePersonalItemOrder, usePersonalSections, usePinnedItems, usePrincipal, usePublishedComponent, useRealtimeQuery, useRecentActivity, useResolve, useResolvedItems, useScope, useScopeReady, useSearch, useSeatMember, useTheme, useTimelineHistory, useTree, useType, useTypeHelpers, useTypes, useUnreadCounts, useUpdate, useUpdatePrincipal, vfsKeys, waitForPathReady };
4151
+ export { type AcceptInviteParams, type AcceptInviteResult, type AccountInfo, type AnswerInputParams, type ArtifactDeltaEvent, type ArtifactDoneEvent, type ArtifactEvent, type ArtifactOpenedEvent, type ArtifactState, type ArtifactStatus, type ArtifactStreamState, type ArtifactSurfaceType, CHANNEL_AI_MODES, type CancelQueuedTurnOptions, type CancelQueuedTurnResponse, type CancelQueuedTurnState, type CancelTurnOptions, type CancelTurnResponse, type CancelTurnState, type Channel, type ChannelAiMode, type ChannelCard, type ChannelMessage, type ChannelMessagesOptions, type ChannelMessagesPage, type ChannelMessagesResponse, type ChannelsOptions, type ComponentOpener, ComponentRenderer, type ConnectionState, type CreateAgentParams, type CreateAgentResult, type CreateInvitationParams, type CreateParams, type DeleteParams, EnforcementDeniedError, type EnforcementPayload, type FieldDescriptor, type FileRef, FormSubmissionError, type FormSubmissionReceipt, type FsaosRuntime, type GatewayParams, GatewayRequestError, type GatewayRequestOptions, type GatewayResponse, HostSessionUnavailableError, type HostSessionWelcome, type IncrementalItemsOptions, type InfiniteChannelMessagesOptions, type InfiniteItemsOptions, type InitializeFsaosOptions, type InteractionReceipt, InteractionTrackingError, type InvitationChangeReceipt, type InvitationPage, type InvitationReceipt, type InvitationSummary, type InviteMemberParams, type InviteMemberResult, type ItemVersionsOptions, type ItemVersionsResult, type ItemsDiscovery, type ItemsFilter, type ItemsFilterGroup, KernelProvider, type LinkParams, type LoadMountsOptions, type MemberRole, type MessageRepliesCursor, type MessageRepliesOptions, type MessageRepliesPage, type MessageReplyContext, type MintedAsset, type MintedAssetState, type MountRef, type MoveParams, type Notification, type NotificationsOptions, type OpenEnvelope, type OpenOptions, type PathSubscriptionState, type PersonalItemOrderKey, type PersonalSection, type PinTarget, type PinnedItem, type PrincipalData, type PublicSourceConfig, type PublishedBundle, type PublishedComponentSource, type PublishedComponentStatus, type ReadPriority, type ReadTiming, type ResolveItemsResponse, type ResolveParams, type ResolveResponse, type ResolveResultItem, type ResolvedItem, type SeatMemberParams, type SectionChange, type SectionCollection, type SectionDestination, type SectionSnapshot, type SectionTarget, type SendMessageParams, type SendMessageResult, type ServeHostSessionOptions, type SessionEntry, type SourceCaptureAdapter, type SourceIdentityStorage, type StartTrackingOptions, type SteerTurnOptions, type SteerTurnResponse, type SteerTurnState, type SubmitFormOptions, type SwitcherAccount, type TimelineEvent, type TimelineHistoryEvent, type TimelineHistoryOptions, type TrackEventOptions, type TurnQueueEntry, type TurnQueueEntryState, type TypeDefinition, type TypeHelpers, type TypeSchema, type UnreadCountsOptions, type UpdateParams, type UpdatePrincipalParams, type UploadItem, type UploadOptions, type UploadResult, type UseArtifactStreamReturn, type UseFileUploadReturn, type UseTimelineHistoryReturn, type VFSEdge, type VFSItem, type VfsItemChange, type WorkCorrelation, type WorkspaceOptions, type WorkspaceSession, acceptInvitation, acceptInvite, answerInput, assignPersonalSection, auth, awaitAnchorReady, awaitScopeReady, callTool, cancelInvitation, cancelQueuedTurn, cancelTurn, clearCachedToken, clearSession, configureGatewayReads, connectHostSession, createAgent, createInvitation, createItem, disconnectSSE, disposeVfsRealtimeWs, electHomeAnchor, emitEvent, fetchChannelMessages, fetchChannelMessagesPage, fetchChannelMessagesWithCards, fetchEdgesForItem, fetchItemHistory, fetchItemVersions, fetchItems, fetchMemberFocus, fetchMessageReplies, fetchMessageReplyContexts, fetchOpenEnvelope, fetchRecentActivity, fetchResolvedItems, fetchTimelineHistory, fetchTurnQueueEntries, fetchTypeDefinitions, fetchVfsChildren, fetchVfsChildrenPage, fetchVfsItem, fetchVfsItemById, fetchVfsTree, gatewayCall, getAccessToken, getAnchor, getAnchorRef, getAnchorVersion, getAssetUrl, getDefaultSort, getHomeAnchor, getInvitation, getMountVersion, getMounts, getPathSubscriptionState, getQueryClient, getRequiredFormFields, getScope, getScopeVersion, getServerClockOffsetMs, getServerClockSyncedAt, getSessionEntry, hasServerClock, initSession, initVfsRealtimeWs, initializeFsaos, initializeWorkspace, interpretSchema, invalidateAllVfs, invalidateChannelMessages, invalidateChildren, invalidateItem, invalidateOpenEnvelope, invalidatePathAndParent, invalidateSubtree, invalidateTypes, inviteMember, isAnchorReady, isChannelPath, isListableItemsFilter, isScopeReady, itemsFilterFromQueryFilter, listChildren, listInvitations, loadMounts, loadPublishedBundle, mount, mountRealtimeScope, normalizeItem, onConnectionStateChange, pathSubscriptionMatches, personalSectionsKey, ping, pushChanges, queryClient, readItem, refreshQuery, registerCleanup, rejectInvitation, replaceMounts, resendInvitation, resetAllSdkState, resolvePrincipalId, resubscribePath, seatMember, selectMount, sendMessage, serveHostSession, serverDeadlinePassed, serverMsUntil, serverNow, setAnchor, setCachedToken, setQueryClient, setScope, setupRequireShim, signal, startTracking, steerTurn, submitForm, subscribeAnchor, subscribeArtifactStream, subscribeMounts, subscribeScope, subscribeToEvents, subscribeToPath, subscribeToScope, trackAction, trackEvent, trackPageView, unmountRealtimeScope, updateItem, uploadFile, useAcceptInvite, useAccounts, useAgentTimeline, useAllChannels, useAnswerInput, useArrangement, useArtifactStream, useAsset, useAuth, useChannelMessages, useChannels, useChildren, useComponent, useCreate, useCreateAgent, useDelete, useDmChannels, useEdges, useEventStream, useFileUpload, useIncrementalItems, useInfiniteChannelMessages, useInfiniteChildren, useInfiniteItems, useInviteMember, useItem, useItemById, useItemHistory, useItemVersions, useItems, useLink, useList, useMemberFocus, useMessageReplies, useMintedAsset, useMounts, useMove, useMutation, useNotifications, useOpen, usePermission, usePermissions, usePersonalItemOrder, usePersonalSections, usePinnedItems, usePrincipal, usePublishedComponent, useRealtimeQuery, useRecentActivity, useResolve, useResolvedItems, useScope, useScopeReady, useSearch, useSeatMember, useTheme, useTimelineHistory, useTree, useType, useTypeHelpers, useTypes, useUnreadCounts, useUpdate, useUpdatePrincipal, vfsKeys, waitForPathReady };