@arbidocs/react 0.5.198 → 0.5.200

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.
@@ -37,15 +37,15 @@ interface IdentityStatus {
37
37
  enabled: boolean;
38
38
  /** Owns a Pro project to charge the fee to (free users don't get the feature). */
39
39
  eligible: boolean;
40
- required: boolean;
40
+ /** No longer sent by the backend (`IdentityStatusResponse`); kept optional for older servers. */
41
+ required?: boolean;
41
42
  /** The one-time fee incl. UK VAT. */
42
43
  price_pence: number;
43
44
  currency: string;
44
45
  attempts_per_fee: number;
45
46
  /**
46
47
  * The check costs nothing here (the deployment does not charge): start the session straight
47
- * away, no fee and no Pro plan. NOT YET SENT by the backend (contract request in ARBI-frontend
48
- * PR); absent is read as "charged", today's behaviour.
48
+ * away, no fee and no Pro plan. Absent (an older server) is read as "charged".
49
49
  */
50
50
  free?: boolean;
51
51
  state: IdentityState;
package/dist/index.d.ts CHANGED
@@ -6,8 +6,8 @@ export { ACCOUNT_VENDOR, AccountSyncResult, ActivityKind, ActivityResponse, Agen
6
6
  import * as _arbidocs_client from '@arbidocs/client';
7
7
  import { components, WsTaskUpdateMessage, WsPresenceUpdateMessage, WsAuthResultMessage, WebSocketServerMessage, SessionUser, SessionManager, ArbiClient, RecoveryKeyParams, CallPeer } from '@arbidocs/client';
8
8
  export { CallPeer, WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePostedMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
9
- import { aB as IdentityStatus, az as IdentityPurchase, aC as IdentityStep, aD as IdentityVerificationFlow, W as DictateContextValue, ao as EntityVocabulary, ah as EntityIconComponent, am as EntitySize } from './index.d-BWfM5sah.js';
10
- export { A as ARBI_MARK_SRC, a as AgentBadge, b as AiMarkdown, c as ArbiBotHeadIcon, d as ArbiIcon, e as Avatar, f as AvatarFallback, g as AvatarImage, B as BASE_COLORS, h as Badge, i as BadgeProps, j as Button, k as ButtonProps, C as COLUMN_LABEL_FALLBACKS, l as Card, m as CardContent, n as CardDescription, o as CardFooter, p as CardHeader, q as CardProps, r as CardTitle, s as Checkbox, t as Collapsible, u as CollapsibleContent, v as CollapsibleTrigger, w as Command, x as CommandDialog, y as CommandEmpty, z as CommandGroup, D as CommandInput, E as CommandItem, F as CommandList, G as CommandSeparator, H as CommandShortcut, I as DEFAULT_METADATA_TAGS, J as DebouncedInput, K as DebouncedInputProps, L as Dialog, M as DialogClose, N as DialogContent, O as DialogDescription, P as DialogFooter, Q as DialogHeader, R as DialogOverlay, S as DialogPortal, T as DialogPresentation, U as DialogTitle, V as DialogTrigger, X as DocumentEntity, Y as DocumentEntityProps, Z as DocumentLike, _ as DropdownMenu, $ as DropdownMenuCheckboxItem, a0 as DropdownMenuContent, a1 as DropdownMenuGroup, a2 as DropdownMenuItem, a3 as DropdownMenuLabel, a4 as DropdownMenuPortal, a5 as DropdownMenuRadioGroup, a6 as DropdownMenuRadioItem, a7 as DropdownMenuSeparator, a8 as DropdownMenuShortcut, a9 as DropdownMenuSub, aa as DropdownMenuSubContent, ab as DropdownMenuSubTrigger, ac as DropdownMenuTrigger, ad as ENTITY_MAPPINGS, ae as EntityAction, af as EntityActionsMenu, ag as EntityIcon, ai as EntityLabelForm, aj as EntityNoun, ak as EntityPill, al as EntityRegistryOverride, an as EntityType, ap as FileTypeIcon, aq as FolderTreeNode, as as HoverCard, at as HoverCardContent, au as HoverCardTrigger, av as IconToggle, aw as IconToggleProps, ax as IdentityBusy, ay as IdentityProblem, aA as IdentityState, aE as Input, aF as InputProps, aG as Label, aH as MarkMenu, aI as MarkMenuItem, aJ as MarkMenuProps, aK as MarkdownCode, aL as MarkdownLink, aM as MarkdownRenderer, aN as MarkdownRendererProps, aO as MarkdownStreamingContext, aP as NEUTRAL_GRAY, aQ as PLACEHOLDER_COLOR, aR as PRESENTATIONS_FOLDER, aS as PRESENTATION_TEMPLATES_FOLDER, aT as PassageCard, aU as PassageCardProps, aV as Popover, aW as PopoverAnchor, aX as PopoverClose, aY as PopoverContent, aZ as PopoverTrigger, a_ as PortalContainerProvider, a$ as PresenceDisplayStatus, b0 as PresenceLabel, b1 as Progress, b2 as ProjectEntity, b3 as ProjectEntityProps, b4 as ProjectRelation, b5 as ProviderIcon, b6 as RadioGroup, b7 as RadioGroupItem, b8 as Rag, b9 as SHARING_LABELS, ba as ScrollArea, bb as ScrollBar, bc as Select, bd as SelectContent, be as SelectGroup, bf as SelectItem, bg as SelectLabel, bh as SelectScrollDownButton, bi as SelectScrollUpButton, bj as SelectSeparator, bk as SelectTrigger, bl as SelectValue, bm as Separator, bn as SharingEntity, bo as SharingEntityProps, bp as SharingLabels, bq as ShieldIcon, br as ShieldIconProps, bs as Slider, bt as StatusBadgeComponent, bu as StatusBadgeProps, bv as StatusPill, bw as StatusPillProps, bx as StatusVariant, by as Switch, bz as TAG_TYPE_ICONS, bA as TAG_TYPE_LABELS, bB as Table, bC as TableBody, bD as TableCaption, bE as TableCell, bF as TableFooter, bG as TableHead, bH as TableHeader, bI as TableRow, bJ as Tabs, bK as TabsContent, bL as TabsList, bM as TabsTrigger, bN as TagEntity, bO as TagEntityProps, bP as TagLike, bQ as Textarea, bR as TextareaProps, bS as ThreadVisibilityIcon, bT as Toggle, bU as ToggleGroup, bV as ToggleGroupItem, bW as Tooltip, bX as TooltipContent, bY as TooltipProvider, bZ as TooltipTrigger, b_ as UserEntity, b$ as UserEntityProps, c0 as UserMenu, c1 as UserMenuItem, c2 as UserMenuProps, c3 as UserMenuStatus, c4 as VISIBILITY_ICONS, c5 as VerifiedBadge, c6 as VerifiedBadgeProps, c7 as VerifiedToggle, c8 as VisibilityIcon, c9 as VisibilityToggle, ca as VisibilityToggleProps, cb as agentAvatarColors, cc as badgeVariants, cd as buildFolderTree, ce as buttonVariants, cf as canonicalFolderPath, cg as cardVariants, ch as closeOpenEmphasis, ci as cn, cj as configureEntityRegistry, ck as configureEntityVocabulary, cl as configureRagLabels, cm as configureSharingLabels, cn as configureSharingMembers, co as configureStatusRegistry, cp as createUserAvatarIcon, cq as entityNoun, cr as extensionFromMime, cs as formatCompactLastSeen, ct as formatDocDate, cu as formatFolderLabel, cv as formatFriendlyDate, cw as formatRelativeTime, cx as friendlyFileType, cy as getDocIcon, cz as getDocumentAuthor, cA as getDocumentDate, cB as getDocumentNature, cC as getDocumentSubject, cD as getDocumentTitle, cE as getEntityColor, cF as getEntityColorStyles, cG as getEntityIcon, cH as getEntityLabel, cI as getFileExtension, cJ as getFileTypeIcon, cK as getSharingLabels, cL as getStatusVariant, cM as getTagTypeIcon, cN as getTagTypeLabel, cO as getUserAvatarColor, cP as getUserDisplayName, cQ as getUserInitials, cR as getWorkspaceColor, cS as isAgent, cT as isAudioFile, cU as isDocumentAddableToConversation, cV as isDownloadOnlyFile, cW as isImageDocument, cX as isImageFile, cY as isMediaFile, cZ as isPresentationFileName, c_ as isVideoFile, c$ as markdownBaseComponents, d0 as markdownSanitizeSchema, d1 as markdownToPlainText, d2 as markdownToPlainTextBlocks, d3 as normalizeCitationMarkup, d4 as splitMarkdownBlocks, d5 as tagKindNouns, d6 as tagKindTitle, d7 as toggleVariants, d8 as trimOpenCitation, d9 as useDictateContext, da as usePortalContainer, db as usesOriginalBytesForViewer } from './index.d-BWfM5sah.js';
9
+ import { aB as IdentityStatus, az as IdentityPurchase, aC as IdentityStep, aD as IdentityVerificationFlow, W as DictateContextValue, ao as EntityVocabulary, ah as EntityIconComponent, am as EntitySize } from './index.d-EQ3JdYWy.js';
10
+ export { A as ARBI_MARK_SRC, a as AgentBadge, b as AiMarkdown, c as ArbiBotHeadIcon, d as ArbiIcon, e as Avatar, f as AvatarFallback, g as AvatarImage, B as BASE_COLORS, h as Badge, i as BadgeProps, j as Button, k as ButtonProps, C as COLUMN_LABEL_FALLBACKS, l as Card, m as CardContent, n as CardDescription, o as CardFooter, p as CardHeader, q as CardProps, r as CardTitle, s as Checkbox, t as Collapsible, u as CollapsibleContent, v as CollapsibleTrigger, w as Command, x as CommandDialog, y as CommandEmpty, z as CommandGroup, D as CommandInput, E as CommandItem, F as CommandList, G as CommandSeparator, H as CommandShortcut, I as DEFAULT_METADATA_TAGS, J as DebouncedInput, K as DebouncedInputProps, L as Dialog, M as DialogClose, N as DialogContent, O as DialogDescription, P as DialogFooter, Q as DialogHeader, R as DialogOverlay, S as DialogPortal, T as DialogPresentation, U as DialogTitle, V as DialogTrigger, X as DocumentEntity, Y as DocumentEntityProps, Z as DocumentLike, _ as DropdownMenu, $ as DropdownMenuCheckboxItem, a0 as DropdownMenuContent, a1 as DropdownMenuGroup, a2 as DropdownMenuItem, a3 as DropdownMenuLabel, a4 as DropdownMenuPortal, a5 as DropdownMenuRadioGroup, a6 as DropdownMenuRadioItem, a7 as DropdownMenuSeparator, a8 as DropdownMenuShortcut, a9 as DropdownMenuSub, aa as DropdownMenuSubContent, ab as DropdownMenuSubTrigger, ac as DropdownMenuTrigger, ad as ENTITY_MAPPINGS, ae as EntityAction, af as EntityActionsMenu, ag as EntityIcon, ai as EntityLabelForm, aj as EntityNoun, ak as EntityPill, al as EntityRegistryOverride, an as EntityType, ap as FileTypeIcon, aq as FolderTreeNode, as as HoverCard, at as HoverCardContent, au as HoverCardTrigger, av as IconToggle, aw as IconToggleProps, ax as IdentityBusy, ay as IdentityProblem, aA as IdentityState, aE as Input, aF as InputProps, aG as Label, aH as MarkMenu, aI as MarkMenuItem, aJ as MarkMenuProps, aK as MarkdownCode, aL as MarkdownLink, aM as MarkdownRenderer, aN as MarkdownRendererProps, aO as MarkdownStreamingContext, aP as NEUTRAL_GRAY, aQ as PLACEHOLDER_COLOR, aR as PRESENTATIONS_FOLDER, aS as PRESENTATION_TEMPLATES_FOLDER, aT as PassageCard, aU as PassageCardProps, aV as Popover, aW as PopoverAnchor, aX as PopoverClose, aY as PopoverContent, aZ as PopoverTrigger, a_ as PortalContainerProvider, a$ as PresenceDisplayStatus, b0 as PresenceLabel, b1 as Progress, b2 as ProjectEntity, b3 as ProjectEntityProps, b4 as ProjectRelation, b5 as ProviderIcon, b6 as RadioGroup, b7 as RadioGroupItem, b8 as Rag, b9 as SHARING_LABELS, ba as ScrollArea, bb as ScrollBar, bc as Select, bd as SelectContent, be as SelectGroup, bf as SelectItem, bg as SelectLabel, bh as SelectScrollDownButton, bi as SelectScrollUpButton, bj as SelectSeparator, bk as SelectTrigger, bl as SelectValue, bm as Separator, bn as SharingEntity, bo as SharingEntityProps, bp as SharingLabels, bq as ShieldIcon, br as ShieldIconProps, bs as Slider, bt as StatusBadgeComponent, bu as StatusBadgeProps, bv as StatusPill, bw as StatusPillProps, bx as StatusVariant, by as Switch, bz as TAG_TYPE_ICONS, bA as TAG_TYPE_LABELS, bB as Table, bC as TableBody, bD as TableCaption, bE as TableCell, bF as TableFooter, bG as TableHead, bH as TableHeader, bI as TableRow, bJ as Tabs, bK as TabsContent, bL as TabsList, bM as TabsTrigger, bN as TagEntity, bO as TagEntityProps, bP as TagLike, bQ as Textarea, bR as TextareaProps, bS as ThreadVisibilityIcon, bT as Toggle, bU as ToggleGroup, bV as ToggleGroupItem, bW as Tooltip, bX as TooltipContent, bY as TooltipProvider, bZ as TooltipTrigger, b_ as UserEntity, b$ as UserEntityProps, c0 as UserMenu, c1 as UserMenuItem, c2 as UserMenuProps, c3 as UserMenuStatus, c4 as VISIBILITY_ICONS, c5 as VerifiedBadge, c6 as VerifiedBadgeProps, c7 as VerifiedToggle, c8 as VisibilityIcon, c9 as VisibilityToggle, ca as VisibilityToggleProps, cb as agentAvatarColors, cc as badgeVariants, cd as buildFolderTree, ce as buttonVariants, cf as canonicalFolderPath, cg as cardVariants, ch as closeOpenEmphasis, ci as cn, cj as configureEntityRegistry, ck as configureEntityVocabulary, cl as configureRagLabels, cm as configureSharingLabels, cn as configureSharingMembers, co as configureStatusRegistry, cp as createUserAvatarIcon, cq as entityNoun, cr as extensionFromMime, cs as formatCompactLastSeen, ct as formatDocDate, cu as formatFolderLabel, cv as formatFriendlyDate, cw as formatRelativeTime, cx as friendlyFileType, cy as getDocIcon, cz as getDocumentAuthor, cA as getDocumentDate, cB as getDocumentNature, cC as getDocumentSubject, cD as getDocumentTitle, cE as getEntityColor, cF as getEntityColorStyles, cG as getEntityIcon, cH as getEntityLabel, cI as getFileExtension, cJ as getFileTypeIcon, cK as getSharingLabels, cL as getStatusVariant, cM as getTagTypeIcon, cN as getTagTypeLabel, cO as getUserAvatarColor, cP as getUserDisplayName, cQ as getUserInitials, cR as getWorkspaceColor, cS as isAgent, cT as isAudioFile, cU as isDocumentAddableToConversation, cV as isDownloadOnlyFile, cW as isImageDocument, cX as isImageFile, cY as isMediaFile, cZ as isPresentationFileName, c_ as isVideoFile, c$ as markdownBaseComponents, d0 as markdownSanitizeSchema, d1 as markdownToPlainText, d2 as markdownToPlainTextBlocks, d3 as normalizeCitationMarkup, d4 as splitMarkdownBlocks, d5 as tagKindNouns, d6 as tagKindTitle, d7 as toggleVariants, d8 as trimOpenCitation, d9 as useDictateContext, da as usePortalContainer, db as usesOriginalBytesForViewer } from './index.d-EQ3JdYWy.js';
11
11
  import * as _tanstack_react_query from '@tanstack/react-query';
12
12
  import { QueryClient, QueryKey, MutationKey, Mutation } from '@tanstack/react-query';
13
13
  import { M as MeetingChatRef, a as ActiveCall, W as SegmenterConfig, G as IncomingCall, J as JoinChoices, N as MeetingChatTarget, v as ChatResponse, t as ChatMemberKey, b as AgentDmStatus, x as ChatThreadMessage } from './useAudioRecorder.d-DYVIWxKQ.js';
@@ -16,8 +16,8 @@ import * as React$1 from 'react';
16
16
  import React__default, { ReactNode } from 'react';
17
17
  import * as zustand from 'zustand';
18
18
  import * as _tanstack_query_core from '@tanstack/query-core';
19
- import { m as FileShare } from './file-shares.d-DyS7nSIy.js';
20
- export { z as arbiMutationKeys, B as arbiQueryKeys, E as calendarQueryKeys, G as callQueryKeys, J as connectorQueryKeys, $ as isUnderQueryKey, a0 as mailQueryKeys } from './file-shares.d-DyS7nSIy.js';
19
+ import { m as FileShare } from './file-shares.d-D4L8gago.js';
20
+ export { z as arbiMutationKeys, B as arbiQueryKeys, E as calendarQueryKeys, G as callQueryKeys, J as connectorQueryKeys, $ as isUnderQueryKey, a0 as mailQueryKeys } from './file-shares.d-D4L8gago.js';
21
21
  import { PersistQueryClientOptions } from '@tanstack/react-query-persist-client';
22
22
  import { VerificationResult } from '@didit-protocol/sdk-web';
23
23
  import { A as ArtifactDisplayMode } from './stored-markdown.d-BLQPny3e.js';
@@ -7576,6 +7576,8 @@ declare function useSavedWorkflow(workflowId: string | undefined, options?: {
7576
7576
  plan?: components["schemas"]["TaskPlan"] | null;
7577
7577
  agent_ext_id?: string | null;
7578
7578
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
7579
+ access_seconds?: number | null;
7580
+ access_expires_at?: string | null;
7579
7581
  fact_ext_id?: string | null;
7580
7582
  source_workflow_ext_id?: string | null;
7581
7583
  last_fired_at?: string | null;
@@ -7762,6 +7764,8 @@ declare function useWorkflows(options?: {
7762
7764
  plan?: components["schemas"]["TaskPlan"] | null;
7763
7765
  agent_ext_id?: string | null;
7764
7766
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
7767
+ access_seconds?: number | null;
7768
+ access_expires_at?: string | null;
7765
7769
  fact_ext_id?: string | null;
7766
7770
  source_workflow_ext_id?: string | null;
7767
7771
  last_fired_at?: string | null;
@@ -7816,6 +7820,8 @@ declare function useCreateWorkflow(): _tanstack_react_query.UseMutationResult<{
7816
7820
  plan?: components["schemas"]["TaskPlan"] | null;
7817
7821
  agent_ext_id?: string | null;
7818
7822
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
7823
+ access_seconds?: number | null;
7824
+ access_expires_at?: string | null;
7819
7825
  fact_ext_id?: string | null;
7820
7826
  source_workflow_ext_id?: string | null;
7821
7827
  last_fired_at?: string | null;
@@ -7849,6 +7855,7 @@ declare function useCreateWorkflow(): _tanstack_react_query.UseMutationResult<{
7849
7855
  plan?: components["schemas"]["TaskPlan"] | null;
7850
7856
  agent_ext_id?: string | null;
7851
7857
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
7858
+ access_seconds?: number | null;
7852
7859
  source_workflow_ext_id?: string | null;
7853
7860
  }, unknown>;
7854
7861
  /** Patch a workflow: pause or resume it (`active`), share it, or change its trigger or action. */
@@ -7878,6 +7885,8 @@ declare function useUpdateWorkflow(): _tanstack_react_query.UseMutationResult<{
7878
7885
  plan?: components["schemas"]["TaskPlan"] | null;
7879
7886
  agent_ext_id?: string | null;
7880
7887
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
7888
+ access_seconds?: number | null;
7889
+ access_expires_at?: string | null;
7881
7890
  fact_ext_id?: string | null;
7882
7891
  source_workflow_ext_id?: string | null;
7883
7892
  last_fired_at?: string | null;
@@ -7891,6 +7900,87 @@ declare function useUpdateWorkflow(): _tanstack_react_query.UseMutationResult<{
7891
7900
  workflowId: string;
7892
7901
  patch: UpdateWorkflowRequest;
7893
7902
  }, unknown>;
7903
+ /** Authorize a timed workflow's assistant for a fixed time (`accessSeconds`; default the workflow's own length). */
7904
+ declare function useAuthorizeWorkflow(): _tanstack_react_query.UseMutationResult<{
7905
+ external_id: string;
7906
+ name: string;
7907
+ description: string;
7908
+ active: boolean;
7909
+ shared: boolean;
7910
+ workspace_ext_id?: string | null;
7911
+ rrule?: string | null;
7912
+ timezone: string;
7913
+ run_at?: string | null;
7914
+ next_fire_at?: string | null;
7915
+ event_kind?: string | null;
7916
+ event_filter?: {
7917
+ [key: string]: unknown;
7918
+ } | null;
7919
+ after_conversation_ext_id?: string | null;
7920
+ on_demand: boolean;
7921
+ action?: components["schemas"]["DocumentAutomationAction"] | null;
7922
+ prompt: string;
7923
+ skill_ref?: string | null;
7924
+ skill_inputs?: {
7925
+ [key: string]: unknown;
7926
+ } | null;
7927
+ plan?: components["schemas"]["TaskPlan"] | null;
7928
+ agent_ext_id?: string | null;
7929
+ auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
7930
+ access_seconds?: number | null;
7931
+ access_expires_at?: string | null;
7932
+ fact_ext_id?: string | null;
7933
+ source_workflow_ext_id?: string | null;
7934
+ last_fired_at?: string | null;
7935
+ last_error?: string | null;
7936
+ last_run_status?: string | null;
7937
+ owner_ext_id?: string | null;
7938
+ is_owner: boolean;
7939
+ created_at: string;
7940
+ updated_at: string;
7941
+ }, Error, {
7942
+ workflowId: string;
7943
+ accessSeconds?: number;
7944
+ }, unknown>;
7945
+ /** End a timed workflow's authorization now. */
7946
+ declare function useDeauthorizeWorkflow(): _tanstack_react_query.UseMutationResult<{
7947
+ external_id: string;
7948
+ name: string;
7949
+ description: string;
7950
+ active: boolean;
7951
+ shared: boolean;
7952
+ workspace_ext_id?: string | null;
7953
+ rrule?: string | null;
7954
+ timezone: string;
7955
+ run_at?: string | null;
7956
+ next_fire_at?: string | null;
7957
+ event_kind?: string | null;
7958
+ event_filter?: {
7959
+ [key: string]: unknown;
7960
+ } | null;
7961
+ after_conversation_ext_id?: string | null;
7962
+ on_demand: boolean;
7963
+ action?: components["schemas"]["DocumentAutomationAction"] | null;
7964
+ prompt: string;
7965
+ skill_ref?: string | null;
7966
+ skill_inputs?: {
7967
+ [key: string]: unknown;
7968
+ } | null;
7969
+ plan?: components["schemas"]["TaskPlan"] | null;
7970
+ agent_ext_id?: string | null;
7971
+ auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
7972
+ access_seconds?: number | null;
7973
+ access_expires_at?: string | null;
7974
+ fact_ext_id?: string | null;
7975
+ source_workflow_ext_id?: string | null;
7976
+ last_fired_at?: string | null;
7977
+ last_error?: string | null;
7978
+ last_run_status?: string | null;
7979
+ owner_ext_id?: string | null;
7980
+ is_owner: boolean;
7981
+ created_at: string;
7982
+ updated_at: string;
7983
+ }, Error, string, unknown>;
7894
7984
  declare function useDeleteWorkflow(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
7895
7985
  /**
7896
7986
  * Run a workflow now. Resolves with the conversation it created
@@ -15263,6 +15353,7 @@ declare function useDmFileShares(peer: DmUser | null | undefined): {
15263
15353
  expires_at: string | null;
15264
15354
  delivery_status: string;
15265
15355
  reference?: string | null | undefined;
15356
+ require_identity_verification: boolean;
15266
15357
  }[];
15267
15358
  published_version?: number | null | undefined;
15268
15359
  owner_workspace_ext_id?: string | null | undefined;
@@ -16693,4 +16784,4 @@ declare function useReferencedDocuments(workspaceId: string): _tanstack_react_qu
16693
16784
  } | null | undefined;
16694
16785
  }[]>, Error>;
16695
16786
 
16696
- export { AGENT_CONTROL_COMMANDS, AGGREGATE_BATCH_SIZE, AGGREGATE_BATCH_WINDOW_MS, AGGREGATE_FIELDS, ALLOWED_PORTAL_ORIGINS, ANALYTICS_CHART_VIEW, ARCHIVE_POLL_MS, ASSISTANT_MENTION_LABEL, AUDIO_MIME_PREFERENCE, AUTO_CHAT_MODEL, AUTO_SYNC_EVERY_MS, type AccessRequestPayload, type AccessRequestRecipient, type AccountClient, type AccountClientContextValue, type AccountHost, type AccountSession, type AccountSignOutOptions, ActiveCall, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type ActivitySourceLabels, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AgentControlMaps, AgentDmStatus, type AgentQuestionRef, type AgentRunControlState, type AggregateField, type AggregateLabels, type AggregateOp, type AggregatePlan, type AggregateSourceDefinition, AiAnswer, type AiRunOptions, type AiTaskStatus, type AnalyticsChartRequest, AppNotification, AppleIcon, type ApplyCallEventOptions, type ArbiChatActions, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatHost, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatState, type ArbiChatStore, type ArbiChatStoreOptions, type ArbiChatThread, type ArbiConversation, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDmTab, type ArbiDocumentCommentTarget, type ArbiDocumentSessionActions, type ArbiDocumentSessionState, type ArbiDocumentSessionStore, type ArbiDocumentSessionStoreOptions, type ArbiDocumentViewerState, type ArbiDocumentsPersist, type ArbiDraftDocument, type ArbiDraftKind, type ArbiDraftStorage, type ArbiFeature, type ArbiFeatures, type ArbiGridLayoutState, ArbiHost, type ArbiHostConfig, ArbiHostConnection, ArbiHostProps, type ArbiKeyValueStorage, type ArbiLayoutActions, type ArbiLayoutState, type ArbiLayoutStore, type ArbiLayoutStoreOptions, type ArbiMessageTimer, type ArbiPanelMode, type ArbiPanelsState, type ArbiPassageCitationState, type ArbiPickedPassage, type ArbiQueryClient, type ArbiQueryClientOptions, type ArbiQueryPersistOptions, type ArbiSavedChat, type ArbiSavedDocuments, type ArbiSavedLayout, type ArbiSessionParts, type ArbiSessionPersist, type ArbiSessionState, type ArbiSessionStatus, type ArbiSessionStore, type ArbiSessionStoreOptions, type ArbiShellState, type ArbiSidebarState, type ArbiSignedInSession, type ArbiTabsState, type ArbiThreadComposer, type ArbiThreadTab, type ArbiThreadTabShow, type ArbiThreadTabView, type ArbiThreadTabsController, type ArbiThreadTabsState, type ArbiThreadView, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, type ArbiViewsState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWorkspaceState, type ArbiWorkspaceStatus, type ArbiWorkspaceStorage, type ArbiWorkspaceStore, type ArbiWorkspaceStoreOptions, type ArbiWsHandlers, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AskAgain, type AspectOption, type AssignDocTagsInput, type AssistantMode, AudIcon, type AudioPiece, type AvatarCrop, type AvatarFileProblem, BOOT_GATE_TIMEOUT_MS, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, BUILTIN_DATA_SOURCES, type BlockLayout, type BranchNavigation, type BranchPoint, type BrowserWorkspaceStorageOptions, type BuildArchiveInput, type BuiltArchive, CALL_MODERATION_TOPIC, CONVERSATION_SWITCH_MEASURE, type CalendarConnectorSupport, type CalendarNotificationMeta, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, type CalendarWriteOp, type CallInviteContact, type CallMutedNotice, type CallRoomEvents, type CallSlotMode, type CallsHost, type ChartSpec, type ChartType, type ChatArrival, ChatBubble, type ChatBubbleProps, ChatMemberKey, type ChatPost, ChatResponse, type ChatSummary, ChatThreadMessage, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, type ConfigUpdate, type ControllingAgent, type ConversationActionsInput, type ConversationEvent, ConversationList, type ConversationListProps, ConversationScope, type ConversationScopeProps, type ConversationsSourceLabels, type CreateProjectVars, type CreateSkillPackOptions, type CreateTableViewVars, type CreateTagInput, type CreateWorkspaceVars, type CreatedProject, type CropArea, type CropOutput, type CropResult, type CurrentWorkspace, DATABASES_OPEN_VIEW, DATABASE_RELATION_PICK_LIMIT, DATABASE_ROWS_PAGE, DEFAULT_ACTIVITY_SOURCE_LABELS, DEFAULT_ASPECT_OPTIONS, DEFAULT_BLOCK_HEIGHT, DEFAULT_CONVERSATIONS_SOURCE_LABELS, DEFAULT_DATABASE_SOURCE_LABELS, DEFAULT_DOCUMENTS_SOURCE_LABELS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_FACTS_SOURCE_LABELS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_PROJECTS_SOURCE_LABELS, DEFAULT_TAGS_SOURCE_LABELS, DEFAULT_USAGE_BREAKDOWN_SOURCE_LABELS, DEFAULT_USAGE_SOURCE_LABELS, DEFAULT_WORKFLOWS_SOURCE_LABELS, DEFAULT_WORKSPACES_SOURCE_LABELS, DISMISSED_TASK_TTL_MS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DOCUMENT_VIEWER_PANEL, type DashboardSpec, type DashboardsHost, type DataSource, type DataSourceFieldsState, type DataSourceOption, type DataSourceParam, type DataSourceParams, type DataSourceRef, type DataSourceRegistry, type DatabaseAggregateRequest, type DatabaseAggregateResult, type DatabaseOpenRequest, type DatabaseSourceLabels, type Dataset, type DatasetField, type DatasetFieldType, type DatasetFilter, type DatasetOrder, type DatasetQuery, type DatasetRow, type DatasetSort, type DatasetState, type DatasetValue, DateSeparator, type DateSeparatorProps, type DebouncedWriter, type DebouncedWriterOptions, type DefineSkillPackOptions, type DefinedSkillPack, type DeleteAccountBlocker, type DeleteAccountFlow, type DeletedDocument, type DeletedDocumentsPage, type DescribeCalendarNotificationOptions, type DescribeServerNotificationOptions, DictateContextValue, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmFileShareEntry, type DmFileShareSources, type DmMessage, type DmUser, DocIcon, type DocumentHostActions, type DocumentPerson, type DocumentReadiness, DocumentReview, type DocumentReviewProps, type DocumentRowChange, type DocumentStartItem, type DocumentsSourceLabels, type DocumentsSupport, type DraftKeyValueStore, DraftTitleControls, type DraftTitleControlsProps, EMPTY_CHAT_STATE, EMPTY_DOCUMENT_STATE, EMPTY_GROUP_LABEL, EMPTY_SESSION_STATE, EXPORT_SAMPLE_RATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, type EntitledFeature, EntityIconComponent, EntitySize, EntityVocabulary, type ExportDownloadRequest, type ExportFileKind, type ExtractedZip, FACTS_SEARCH_VIEW, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, FIRST_TOKEN_MEASURE, type FactListFilter, type FactSearchHit, type FactsSearch, type FactsSearchState, type FactsSourceLabels, type FeatureEntitlements, type FeatureRefusal, type FeatureSource, type FeatureSwitch, type FileShareEvent, type FilterOp, FireworksIcon, type FollowSaveCallbacks, type FrontierGoal, GeminiIcon, type GenerateDocTagsInput, type GenerateDocTagsResult, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, type GuidedStep, HostConfigRecord, HtmlIcon, IN_FLIGHT_DOCUMENT_STATUSES, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, IncomingCall, InlineMicButton, type InlineMicButtonProps, type InstallSkillPackVariables, JoinChoices, LIVE_BLOCK_KINDS, LIVE_BLOCK_LIMITS, LIVE_UPDATE_TYPES, type LegacyTableView, type LegacyViewsWriter, LinkedInIcon, type LiveBlock, type LiveTask, type LocalDraft, type LocalFeatureStore, type LocalFeatureStoreOptions, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_SERIES, MAX_THREAD_TABS, MIN_NARRATION_DWELL_MS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, MODEL_GROUP_LABELS, MUTED_DEDUPE_MS, type MailAccount, type MailAddress, type MailAttachment, type MailChange, type MailClient, type MailClientContextValue, type MailCompose, type MailConversation, type MailConversationPage, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFileRequest, type MailFiled, type MailFilingRule, type MailFilingState, type MailFolder, type MailHost, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MailThread, type MeasuredRow, type Measures, MeetingChatRef, MeetingChatTarget, MentionCandidate, type MessageArtifact, MessageArtifactCard, MessageMentionRef, type MessageTimerResult, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type ModeratedTrack, type MountDiditOptions, type NameEditor, type NativeMailFiling, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OUTBOX_FOLDER, type OfflineDocumentRecord, type OfflineMailReadsOptions, type OfflineMailRuntimeOptions, type OfflineMailScope, type OfflineMailSettings, type OfflineMailStatus, OpenAIIcon, type OpenedRecording, type OptimisticDocumentEdit, type OrderResolver, type OutboxItem, PAGE_GRID_COLUMNS, PENDING_SYNC_PREDICATE, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PageBlock, type PageBlockKind, type PageSpec, type PanelBlockConfig, type PanelDatasetState, type PanelSpec, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, type PendingMailChange, type PendingSyncItem, type PeopleDirectory, type Person, PhotoCapture, type PhotoCaptureProps, PresIcon, type ProcessingTask, type ProfileView, type ProjectCreationRefusal, type ProjectsSourceLabels, type ProjectsSourceOptions, type QueuedCalendarWrite, type QueuedMessage, type QueuedMessages, type QuoteResolver, RECORDING_SEGMENTER, REMOTE_CONTROL_VIEW, RUN_WINDOW_MS, type RawPending, type ReconnectOutcome, type RecordedChunk, type RecordingWindow, type RefusedUploadFile, type RelatedDocs, type RelatedDocsMap, type RelevancePatch, type RemoteControlMessage, type RemoteControlRequest, type RemoteControlSession, type RemoteControlState, type RemoveDocTagsInput, type RenderMarkdown, type RequestAccessOptions, type RowsSourceDefinition, type RowsState, SEGMENT_FRAME_MS, SEGMENT_PRE_ROLL_MS, SHORT_PIECE_MERGE_GAP_MS, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SavedPage, type SealedDraftStorageOptions, type SearchMode, SearchSession, SearchStatus, SegmenterConfig, type SemanticSearch, type SemanticSearchOptions, type SendMessageOptions, type SequencedRow, type SequencedTask, type ServerNotificationBellOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, type SkillPack, type SkillPackEntry, type SkillPackField, type SkillPackSkill, type SkillPackSkillDefinition, type StartTaskQuery, StorageActionError, type StorageActions, type StorageDeploymentUsage, type StorageItem, type StorageItemKind, type StorageItemState, type StorageItemsQuery, type StorageKindUsage, type StoragePersistOptions, type StorageProjectUsage, type StorageScope, type StorageSnapshot, type StreamHandlerContext, type StreamHandlerParams, type StreamHandlers, type StreamState, type SwitchWorkspaceTarget, TABLE_VIEW_ROWS_PAGE, TAGGABLE_DOCUMENT_STATUSES, TRANSFER_POLL_MS, type TableViewTable, type TagsSourceLabels, TaskThreadPendingError, type ThreadAccessors, ThreadBinding, type ThreadItem, type TimeBucket, type TimelinePart, type ToolResponses, type TrackCutter, type TrackPiece, type TranscriptExportLine, type TranscriptLineRef, type TranscriptSegmentMarker, type TransferConflictPolicy, type TransferItem, type TransferKind, type TransferMode, type TransferPlan, type TransferScope, type TransferStatus, type TurnTarget, type TurnTools, TxtIcon, TypingIndicator, UPLOAD_ACCEPT, UPLOAD_MAX_FILE_SIZE, type UiStateStorage, type UnarchiveEstimate, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadFilesInput, type UploadFilesProgress, type UploadFilesResult, type UploadFromUrlsInput, type UploadFromUrlsResult, type UploadRefusal, type UploadUrlsInput, type UsageBreakdownBy, type UsageBreakdownKey, type UsageBreakdownSourceLabels, type UsageSourceLabels, type UsageTotals, type UseAskAgainOptions, type UseAvatarCropOptions, type UseCameraStreamResult, type UseConversationOptions, type UseDeleteAccountFlowOptions, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseFactsSearchOptions, type UseIdentityVerificationFlowOptions, type UseMessageTimerOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseSwitchWorkspaceResult, type UseVideoRecorderResult, type UserResponse, type UserSettingFlag, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORKSPACE_LAST_OPENED_KEY, WORKSPACE_STORAGE_KEY, WORK_NOTIFICATION_LABELS, WORK_OFFLINE_VIEW, type WorkflowsSourceLabels, type WorkspaceArchive, type WorkspaceArchiveState, type WorkspaceDocument, type WorkspaceExport, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceProcessing, type WorkspaceRole, type WorkspaceSwitchContext, type WorkspaceUpdate, type WorkspacesSourceLabels, XlsIcon, type ZipExtractor, __resetPendingFinalCommitsForTests, __resetStreamingTokenBufferForTests, acceptRing, accountPath, addAssistantMessageToCache, addConversationToList, addUserMessageToCache, adjustTagCounts, adoptNewChatDocument, agentControl, aggregateDataset, aggregateMeasured, aggregatePlan, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyLiveUpdate, applyNotificationRow, applyOptimisticDocumentEdit, applyOutputItemToMessage, applyTaskEvents, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, assistantLabels, bindThreadDocument, blockOfPanel, boundDocumentOf, browserWorkspaceStorage, bucketOf, bucketRange, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildPendingSyncItem, buildWorkspaceArchive, cacheAssistantMode, cacheThreadBinding, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, calendarNotificationMeta, calendarOfflineSupport, callLink, callNotificationMeta, captureFrameAsBlob, cellText, chatTranscriptRef, claimOfflineQueue, classifyMediaError, clearLoadingState, clearSealedDrafts, clearUserInputRequest, clockTime, closePanelIn, commitFinalMessage, completeQueuedUserMessageByContent, composeArbiSessionStore, compositeFiles, compositeTrack, computeOnline, confirmLosingOfflineMail, connectOAuthCalendarAccount, connectorErrorStatus, connectorReturnTo, conversationKey, conversationsPath, createActivitySource, createArbiChatStore, createArbiDocumentSessionStore, createArbiLayoutStore, createArbiQueryClient, createArbiSessionStore, createArbiWorkspaceStore, createBrowserStateStorage, createChunkedRecorder, createConversationPanels, createConversationsSource, createDataSourceRegistry, createDatabaseSource, createDebouncedWriter, createDocumentsSource, createFactsSource, createLocalFeatureStore, createMailClient, createMutedNotifier, createProjectsSource, createSealedDraftStorage, createSkillPack, createStoragePersist, createStreamHandlers, createTagsSource, createTrackCutter, createUiStateStorage, createUsageBreakdownSource, createUsageSource, createWorkflowsSource, createWorkspaceSwitch, createWorkspacesSource, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultLayoutState, defaultMailAlias, defineAggregateSource, defineRowsSource, defineSkillPack, deleteLocalDraft, deleteOutboxItem, deploymentUserMeta, describeActivity, describeCalendarNotification, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, dmFileShareEntries, dmTabId, documentActivityMeta, documentActivityPhrase, documentDisplayName, documentMailAttachment, documentReadiness, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, enqueueOutbox, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, fileShareNotificationMeta, filesFromDrop, fillTimeGaps, filterRows, findConversation, finishEntityExtraction, floatToWav, flushDocumentForTurn, flushOnPageExit, flushStreamingTokens, forgetDocuments, forgetUploadedDocumentFolder, formatConfigValidationError, formatElapsed, formatIdentityPrice, formatTranscriptMarkdown, getCachedDocuments, getInterjectionText, getNotificationTypeMeta, getOfflineDocument, getOrphanedLastMessage, getRelatedLabels, getRelatedTotal, getRunStartedAt, getThreadsQueryKey, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, groupMailConversations, hasPendingFinalCommit, hasPendingMailChange, hasRecordingTranscript, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateCall, invalidateConversationActivity, invalidateConversationDetails, invalidateConversationLists, invalidateTagData, invalidateTagTables, isActivityKey, isAliasTakenError, isArchiveMoving, isCommentToPeople, isConversationEmpty, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isMessageRunning, isNetworkFailure, isNotEnabledRefusal, isNotificationRow, isOrphanedUserMessage, isPanelOpen, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTransferFinished, isTransferResumable, isUsageMetered, isWorkingOffline, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, layoutActionsOf, legacySpec, loadOfflineDocument, loadAttachment as loadOfflineMailAttachment, loadWorkspaceAggregate, mailConversationKey, mailDraftIdFromContent, mailJson, mailThreadRoot, markMessageAsFailed, markNarrationSettled, measuredRowsOf, measuresOf, mergeHostConfig, migrateLegacyTableViews, migrateLegacyThreadDocuments, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nativeThreadKeys, nextAliasSuggestion, nextViewingDocument, notificationUserName, offlineMailReads, onCallEvent, openAccessRequest, openCall, openPanelIn, openRecording, packBlocks, pageFromDashboard, pageTransferScope, panelOfBlock, panelPlace, parseActivityContent, parseDeleteAccountBlockers, parsePageSpec, parseSavedChat, parseSavedDocuments, parseSavedLayout, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queryOfChart, queueMailChange, queuedMessages, readConversationList, readLocalFeature, readWorkspaceLastOpened, recordingFiles, recordingWindowsOf, recordsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, registerDocumentTurnFlush, remoteControlActions, remoteControlStateOf, removeConversationFromLists, removeSettledNarration, requestPersistentStorage, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, restoreLayout, restoreSavedDocuments, retryOutboxItem, rollbackOptimisticDocumentEdit, safePortalUrl, saveLocalDraft, saveRecordingFilesToThread, savedChatOf, savedDocumentsOf, savedLayoutOf, savedPageOf, schedulePart, seedConversationList, selectDraft, selectIsGenerating, selectViewingDocumentId, sendMailFile, serverCallsExperimental, serverNotificationBellEntry, setCachedDocument, setMessageContent, setUserInputRequest, setWorkOfflineIn, settledByRows, signatureNotificationPhrase, signatureRequestMeta, skillPackPrompt, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startEntityExtraction, startThreadCall, startWorkspaceCall, startsMediaFile, stopDocumentsLoading, stripSpeakerPrefix, subscribeDocumentReads, subscribeDocumentRows, supersedeLiveTranscript, supersededTranscriptLines, supportsHouseTemplates, tableViewTarget, textToArtifact, threadBinding, threadEndingAtContains, threadPath, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toMailConversation, toNotificationPreferences, toProfileView, toRedlineMarkdown, toRemoteControlRequest, toShellWorkspace, transcribeRecording, transcriptSegmentOf, transferredId, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActiveConfigId, useActivity, useAddChatMembers, useAddDatabaseRows, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmProgress, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArchiveProgressPolling, useArchiveWorkspace, useAskAgain, useAssignDocTags, useAssistantArrivals, useAssistantBrief, useAssistantQuery, useAssistantStatus, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBootTimeout, useBoxRole, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOfflineRuntime, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallAvatarsEnabled, useCallInviteLinks, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanCreateWorkspaces, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelManyPendingSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatArrivals, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useClaimSecureMail, useCloseAgentSession, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, useConfirmProjectSpendLimits, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectRunStream, useConnectedMailFiling, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversation, useConversationActions, useConversationActivity, useConversationData, useConversationDocuments, useConversationIsShared, useConversationItems, useConversationPendingAuth, useConversationSearch, useConversationSettings, useConversationThreads, useConversationTurn, useConversationWorkspace, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateDatabase, useCreateEvent, useCreateFact, useCreateFacts, useCreateGroupChat, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTableView, useCreateTag, useCreateWork, useCreateWorkflow, useCreateWorkspace, useCurrentSessionId, useCurrentUser, useCurrentWorkspace, useDataSources, useDatabase, useDatabaseAggregate, useDatabaseCapabilities, useDatabaseRows, useDatabases, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteConversation, useDeleteDatabase, useDeleteDatabaseRows, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeletePage, useDeleteProject, useDeleteSkill, useDeleteTableView, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectModelUsage, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDismissedTips, useDmFileShares, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useEntityReferenceTitle, useExportDatabase, useExtractEntities, useFacts, useFactsSearch, useFeature, useFeatureCheck, useFeatureSwitch, useFetchCalendarEvent, useFileSharePerson, useFileWaitingNativeMail, useFinaliseTranslation, useFindTime, useFlushOutbox, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHideFromWorkspaceTrash, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useImportDatabase, useImportDatabaseRows, useInstallSkillPack, useInvalidateAfterTransfer, useInvalidateAssistant, useInvalidateEntitlements, useInvalidateProjects, useInvalidateStorage, useInvalidateTagData, useInvalidateWorkflows, useInviteContacts, useIsCreatingTag, useIsEntitled, useIsSlow, useIsWorkspaceOwner, useKeepDocumentsOffline, useLinkContact, useLinkMentions, useLocalDrafts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailConversations, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFiling, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailThread, useMailUnlock, useMailWorkspacePrimer, useMailboxFolders, useMailboxSyncProgress, useMarkArrivalWrong, useMarkChatRead, useMarkDocumentShared, useMarkMessageDraftSent, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMessageDetails, useMessageTimer, useMigrateLegacyTableViews, useModelConnections, useMoveEvent, useMoveWorkspaceToProject, useMyConnectors, useNameEditor, useNativeMailFiling, useNativeThreadKeys, useNotificationPreferences, useNotifications, useOfflineDocumentIds, useOfflineMailActive, useOfflineMailRuntime, useOfflineMailSettings, useOfflineMailStatus, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, useOpenWorkspace, useOutbox, useOwnedProjectsUsage, usePages, usePanelDataset, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingMailChanges, usePendingSyncCounts, usePendingSyncItems, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingCache, useProjectBillingPortal, useProjectConversationUsage, useProjectCreationDenial, useProjectInvoices, useProjectUsage, useProjects, usePublishCalendar, useRateSupportTicket, useReadMailMessage, useReconnect, useRecordingActions, useRecordingWindows, useReferencedDocuments, useReferralSummary, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshDatabaseCapabilities, useRefreshDocuments, useRefreshProject, useRelatedDocuments, useRemoteControl, useRemoveChatMember, useRemoveDocTags, useRemoveDocumentsOffline, useRemoveModelConnection, useRemoveWorkspaceMembers, useRenameChat, useRenameFolder, useRequestEmailChange, useRequestWorkspaceAccess, useRespondToEvent, useResumeCalendarAccountConnect, useResumeWorkspaceTransfer, useRevokeAgentAccess, useRevokeCallInviteLink, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveConfig, useSaveConfigField, useSaveMailDraft, useSaveModelConnection, useSavePage, useSaveSkill, useSaveToThread, useSavedWorkflow, useSearchContacts, useSearchDatabaseRows, useSearchFacts, useSemanticSearch, useSendMail, useServerCallsEnabled, useServerCallsExperimental, useSessionPageTab, useSessionView, useSessions, useSetDeploymentHouseTemplate, useSetNativeMailFiling, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShareDatabaseRow, useSharePage, useShareTableView, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkflow, useStartWorkspaceTransfer, useStopMailFilingRule, useStorageActions, useStorageItemNames, useStorageItems, useStorageProjects, useStorageSnapshots, useStreamHandlers, useSubscribeCalendar, useSupportTicket, useSupportTickets, useSwitchToWorkspacePages, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useSyncOfflineMailbox, useTableView, useTableViewRows, useTableViewsQuery, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTransientView, useTriggerDriveSync, useTriggerMailboxSync, useUnarchiveWorkspace, useUnlockModelConnections, useUnreadByPeer, useUnshareCalendar, useUpdateAssistantBrief, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDatabase, useUpdateDatabaseRow, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTableView, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadFiles, useUploadFromUrls, useUploadSkillFiles, useUploadUrls, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkItems, useWorkOffline, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceAggregate, useWorkspaceArchive, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceProcessing, useWorkspaceRole, useWorkspaceTableViews, useWorkspaceTransfer, useWorkspaceTransferItems, useWorkspaceTransfers, useWorkspaceTrash, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, waitForResponseId, whenProcessed, wipeCalendarOffline, wipeOfflineDocuments, wipeOfflineMail, withLocalWrites, withRelativePath, workflowRunTitle, workflowStepOf, workspaceHouseTemplateId, writeSamples };
16787
+ export { AGENT_CONTROL_COMMANDS, AGGREGATE_BATCH_SIZE, AGGREGATE_BATCH_WINDOW_MS, AGGREGATE_FIELDS, ALLOWED_PORTAL_ORIGINS, ANALYTICS_CHART_VIEW, ARCHIVE_POLL_MS, ASSISTANT_MENTION_LABEL, AUDIO_MIME_PREFERENCE, AUTO_CHAT_MODEL, AUTO_SYNC_EVERY_MS, type AccessRequestPayload, type AccessRequestRecipient, type AccountClient, type AccountClientContextValue, type AccountHost, type AccountSession, type AccountSignOutOptions, ActiveCall, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type ActivitySourceLabels, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AgentControlMaps, AgentDmStatus, type AgentQuestionRef, type AgentRunControlState, type AggregateField, type AggregateLabels, type AggregateOp, type AggregatePlan, type AggregateSourceDefinition, AiAnswer, type AiRunOptions, type AiTaskStatus, type AnalyticsChartRequest, AppNotification, AppleIcon, type ApplyCallEventOptions, type ArbiChatActions, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatHost, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatState, type ArbiChatStore, type ArbiChatStoreOptions, type ArbiChatThread, type ArbiConversation, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDmTab, type ArbiDocumentCommentTarget, type ArbiDocumentSessionActions, type ArbiDocumentSessionState, type ArbiDocumentSessionStore, type ArbiDocumentSessionStoreOptions, type ArbiDocumentViewerState, type ArbiDocumentsPersist, type ArbiDraftDocument, type ArbiDraftKind, type ArbiDraftStorage, type ArbiFeature, type ArbiFeatures, type ArbiGridLayoutState, ArbiHost, type ArbiHostConfig, ArbiHostConnection, ArbiHostProps, type ArbiKeyValueStorage, type ArbiLayoutActions, type ArbiLayoutState, type ArbiLayoutStore, type ArbiLayoutStoreOptions, type ArbiMessageTimer, type ArbiPanelMode, type ArbiPanelsState, type ArbiPassageCitationState, type ArbiPickedPassage, type ArbiQueryClient, type ArbiQueryClientOptions, type ArbiQueryPersistOptions, type ArbiSavedChat, type ArbiSavedDocuments, type ArbiSavedLayout, type ArbiSessionParts, type ArbiSessionPersist, type ArbiSessionState, type ArbiSessionStatus, type ArbiSessionStore, type ArbiSessionStoreOptions, type ArbiShellState, type ArbiSidebarState, type ArbiSignedInSession, type ArbiTabsState, type ArbiThreadComposer, type ArbiThreadTab, type ArbiThreadTabShow, type ArbiThreadTabView, type ArbiThreadTabsController, type ArbiThreadTabsState, type ArbiThreadView, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, type ArbiViewsState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWorkspaceState, type ArbiWorkspaceStatus, type ArbiWorkspaceStorage, type ArbiWorkspaceStore, type ArbiWorkspaceStoreOptions, type ArbiWsHandlers, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AskAgain, type AspectOption, type AssignDocTagsInput, type AssistantMode, AudIcon, type AudioPiece, type AvatarCrop, type AvatarFileProblem, BOOT_GATE_TIMEOUT_MS, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, BUILTIN_DATA_SOURCES, type BlockLayout, type BranchNavigation, type BranchPoint, type BrowserWorkspaceStorageOptions, type BuildArchiveInput, type BuiltArchive, CALL_MODERATION_TOPIC, CONVERSATION_SWITCH_MEASURE, type CalendarConnectorSupport, type CalendarNotificationMeta, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, type CalendarWriteOp, type CallInviteContact, type CallMutedNotice, type CallRoomEvents, type CallSlotMode, type CallsHost, type ChartSpec, type ChartType, type ChatArrival, ChatBubble, type ChatBubbleProps, ChatMemberKey, type ChatPost, ChatResponse, type ChatSummary, ChatThreadMessage, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, type ConfigUpdate, type ControllingAgent, type ConversationActionsInput, type ConversationEvent, ConversationList, type ConversationListProps, ConversationScope, type ConversationScopeProps, type ConversationsSourceLabels, type CreateProjectVars, type CreateSkillPackOptions, type CreateTableViewVars, type CreateTagInput, type CreateWorkspaceVars, type CreatedProject, type CropArea, type CropOutput, type CropResult, type CurrentWorkspace, DATABASES_OPEN_VIEW, DATABASE_RELATION_PICK_LIMIT, DATABASE_ROWS_PAGE, DEFAULT_ACTIVITY_SOURCE_LABELS, DEFAULT_ASPECT_OPTIONS, DEFAULT_BLOCK_HEIGHT, DEFAULT_CONVERSATIONS_SOURCE_LABELS, DEFAULT_DATABASE_SOURCE_LABELS, DEFAULT_DOCUMENTS_SOURCE_LABELS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_FACTS_SOURCE_LABELS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_PROJECTS_SOURCE_LABELS, DEFAULT_TAGS_SOURCE_LABELS, DEFAULT_USAGE_BREAKDOWN_SOURCE_LABELS, DEFAULT_USAGE_SOURCE_LABELS, DEFAULT_WORKFLOWS_SOURCE_LABELS, DEFAULT_WORKSPACES_SOURCE_LABELS, DISMISSED_TASK_TTL_MS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DOCUMENT_VIEWER_PANEL, type DashboardSpec, type DashboardsHost, type DataSource, type DataSourceFieldsState, type DataSourceOption, type DataSourceParam, type DataSourceParams, type DataSourceRef, type DataSourceRegistry, type DatabaseAggregateRequest, type DatabaseAggregateResult, type DatabaseOpenRequest, type DatabaseSourceLabels, type Dataset, type DatasetField, type DatasetFieldType, type DatasetFilter, type DatasetOrder, type DatasetQuery, type DatasetRow, type DatasetSort, type DatasetState, type DatasetValue, DateSeparator, type DateSeparatorProps, type DebouncedWriter, type DebouncedWriterOptions, type DefineSkillPackOptions, type DefinedSkillPack, type DeleteAccountBlocker, type DeleteAccountFlow, type DeletedDocument, type DeletedDocumentsPage, type DescribeCalendarNotificationOptions, type DescribeServerNotificationOptions, DictateContextValue, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmFileShareEntry, type DmFileShareSources, type DmMessage, type DmUser, DocIcon, type DocumentHostActions, type DocumentPerson, type DocumentReadiness, DocumentReview, type DocumentReviewProps, type DocumentRowChange, type DocumentStartItem, type DocumentsSourceLabels, type DocumentsSupport, type DraftKeyValueStore, DraftTitleControls, type DraftTitleControlsProps, EMPTY_CHAT_STATE, EMPTY_DOCUMENT_STATE, EMPTY_GROUP_LABEL, EMPTY_SESSION_STATE, EXPORT_SAMPLE_RATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, type EntitledFeature, EntityIconComponent, EntitySize, EntityVocabulary, type ExportDownloadRequest, type ExportFileKind, type ExtractedZip, FACTS_SEARCH_VIEW, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, FIRST_TOKEN_MEASURE, type FactListFilter, type FactSearchHit, type FactsSearch, type FactsSearchState, type FactsSourceLabels, type FeatureEntitlements, type FeatureRefusal, type FeatureSource, type FeatureSwitch, type FileShareEvent, type FilterOp, FireworksIcon, type FollowSaveCallbacks, type FrontierGoal, GeminiIcon, type GenerateDocTagsInput, type GenerateDocTagsResult, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, type GuidedStep, HostConfigRecord, HtmlIcon, IN_FLIGHT_DOCUMENT_STATUSES, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, IncomingCall, InlineMicButton, type InlineMicButtonProps, type InstallSkillPackVariables, JoinChoices, LIVE_BLOCK_KINDS, LIVE_BLOCK_LIMITS, LIVE_UPDATE_TYPES, type LegacyTableView, type LegacyViewsWriter, LinkedInIcon, type LiveBlock, type LiveTask, type LocalDraft, type LocalFeatureStore, type LocalFeatureStoreOptions, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_SERIES, MAX_THREAD_TABS, MIN_NARRATION_DWELL_MS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, MODEL_GROUP_LABELS, MUTED_DEDUPE_MS, type MailAccount, type MailAddress, type MailAttachment, type MailChange, type MailClient, type MailClientContextValue, type MailCompose, type MailConversation, type MailConversationPage, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFileRequest, type MailFiled, type MailFilingRule, type MailFilingState, type MailFolder, type MailHost, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MailThread, type MeasuredRow, type Measures, MeetingChatRef, MeetingChatTarget, MentionCandidate, type MessageArtifact, MessageArtifactCard, MessageMentionRef, type MessageTimerResult, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type ModeratedTrack, type MountDiditOptions, type NameEditor, type NativeMailFiling, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OUTBOX_FOLDER, type OfflineDocumentRecord, type OfflineMailReadsOptions, type OfflineMailRuntimeOptions, type OfflineMailScope, type OfflineMailSettings, type OfflineMailStatus, OpenAIIcon, type OpenedRecording, type OptimisticDocumentEdit, type OrderResolver, type OutboxItem, PAGE_GRID_COLUMNS, PENDING_SYNC_PREDICATE, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PageBlock, type PageBlockKind, type PageSpec, type PanelBlockConfig, type PanelDatasetState, type PanelSpec, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, type PendingMailChange, type PendingSyncItem, type PeopleDirectory, type Person, PhotoCapture, type PhotoCaptureProps, PresIcon, type ProcessingTask, type ProfileView, type ProjectCreationRefusal, type ProjectsSourceLabels, type ProjectsSourceOptions, type QueuedCalendarWrite, type QueuedMessage, type QueuedMessages, type QuoteResolver, RECORDING_SEGMENTER, REMOTE_CONTROL_VIEW, RUN_WINDOW_MS, type RawPending, type ReconnectOutcome, type RecordedChunk, type RecordingWindow, type RefusedUploadFile, type RelatedDocs, type RelatedDocsMap, type RelevancePatch, type RemoteControlMessage, type RemoteControlRequest, type RemoteControlSession, type RemoteControlState, type RemoveDocTagsInput, type RenderMarkdown, type RequestAccessOptions, type RowsSourceDefinition, type RowsState, SEGMENT_FRAME_MS, SEGMENT_PRE_ROLL_MS, SHORT_PIECE_MERGE_GAP_MS, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SavedPage, type SealedDraftStorageOptions, type SearchMode, SearchSession, SearchStatus, SegmenterConfig, type SemanticSearch, type SemanticSearchOptions, type SendMessageOptions, type SequencedRow, type SequencedTask, type ServerNotificationBellOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, type SkillPack, type SkillPackEntry, type SkillPackField, type SkillPackSkill, type SkillPackSkillDefinition, type StartTaskQuery, StorageActionError, type StorageActions, type StorageDeploymentUsage, type StorageItem, type StorageItemKind, type StorageItemState, type StorageItemsQuery, type StorageKindUsage, type StoragePersistOptions, type StorageProjectUsage, type StorageScope, type StorageSnapshot, type StreamHandlerContext, type StreamHandlerParams, type StreamHandlers, type StreamState, type SwitchWorkspaceTarget, TABLE_VIEW_ROWS_PAGE, TAGGABLE_DOCUMENT_STATUSES, TRANSFER_POLL_MS, type TableViewTable, type TagsSourceLabels, TaskThreadPendingError, type ThreadAccessors, ThreadBinding, type ThreadItem, type TimeBucket, type TimelinePart, type ToolResponses, type TrackCutter, type TrackPiece, type TranscriptExportLine, type TranscriptLineRef, type TranscriptSegmentMarker, type TransferConflictPolicy, type TransferItem, type TransferKind, type TransferMode, type TransferPlan, type TransferScope, type TransferStatus, type TurnTarget, type TurnTools, TxtIcon, TypingIndicator, UPLOAD_ACCEPT, UPLOAD_MAX_FILE_SIZE, type UiStateStorage, type UnarchiveEstimate, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadFilesInput, type UploadFilesProgress, type UploadFilesResult, type UploadFromUrlsInput, type UploadFromUrlsResult, type UploadRefusal, type UploadUrlsInput, type UsageBreakdownBy, type UsageBreakdownKey, type UsageBreakdownSourceLabels, type UsageSourceLabels, type UsageTotals, type UseAskAgainOptions, type UseAvatarCropOptions, type UseCameraStreamResult, type UseConversationOptions, type UseDeleteAccountFlowOptions, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseFactsSearchOptions, type UseIdentityVerificationFlowOptions, type UseMessageTimerOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseSwitchWorkspaceResult, type UseVideoRecorderResult, type UserResponse, type UserSettingFlag, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORKSPACE_LAST_OPENED_KEY, WORKSPACE_STORAGE_KEY, WORK_NOTIFICATION_LABELS, WORK_OFFLINE_VIEW, type WorkflowsSourceLabels, type WorkspaceArchive, type WorkspaceArchiveState, type WorkspaceDocument, type WorkspaceExport, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceProcessing, type WorkspaceRole, type WorkspaceSwitchContext, type WorkspaceUpdate, type WorkspacesSourceLabels, XlsIcon, type ZipExtractor, __resetPendingFinalCommitsForTests, __resetStreamingTokenBufferForTests, acceptRing, accountPath, addAssistantMessageToCache, addConversationToList, addUserMessageToCache, adjustTagCounts, adoptNewChatDocument, agentControl, aggregateDataset, aggregateMeasured, aggregatePlan, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyLiveUpdate, applyNotificationRow, applyOptimisticDocumentEdit, applyOutputItemToMessage, applyTaskEvents, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, assistantLabels, bindThreadDocument, blockOfPanel, boundDocumentOf, browserWorkspaceStorage, bucketOf, bucketRange, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildPendingSyncItem, buildWorkspaceArchive, cacheAssistantMode, cacheThreadBinding, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, calendarNotificationMeta, calendarOfflineSupport, callLink, callNotificationMeta, captureFrameAsBlob, cellText, chatTranscriptRef, claimOfflineQueue, classifyMediaError, clearLoadingState, clearSealedDrafts, clearUserInputRequest, clockTime, closePanelIn, commitFinalMessage, completeQueuedUserMessageByContent, composeArbiSessionStore, compositeFiles, compositeTrack, computeOnline, confirmLosingOfflineMail, connectOAuthCalendarAccount, connectorErrorStatus, connectorReturnTo, conversationKey, conversationsPath, createActivitySource, createArbiChatStore, createArbiDocumentSessionStore, createArbiLayoutStore, createArbiQueryClient, createArbiSessionStore, createArbiWorkspaceStore, createBrowserStateStorage, createChunkedRecorder, createConversationPanels, createConversationsSource, createDataSourceRegistry, createDatabaseSource, createDebouncedWriter, createDocumentsSource, createFactsSource, createLocalFeatureStore, createMailClient, createMutedNotifier, createProjectsSource, createSealedDraftStorage, createSkillPack, createStoragePersist, createStreamHandlers, createTagsSource, createTrackCutter, createUiStateStorage, createUsageBreakdownSource, createUsageSource, createWorkflowsSource, createWorkspaceSwitch, createWorkspacesSource, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultLayoutState, defaultMailAlias, defineAggregateSource, defineRowsSource, defineSkillPack, deleteLocalDraft, deleteOutboxItem, deploymentUserMeta, describeActivity, describeCalendarNotification, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, dmFileShareEntries, dmTabId, documentActivityMeta, documentActivityPhrase, documentDisplayName, documentMailAttachment, documentReadiness, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, enqueueOutbox, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, fileShareNotificationMeta, filesFromDrop, fillTimeGaps, filterRows, findConversation, finishEntityExtraction, floatToWav, flushDocumentForTurn, flushOnPageExit, flushStreamingTokens, forgetDocuments, forgetUploadedDocumentFolder, formatConfigValidationError, formatElapsed, formatIdentityPrice, formatTranscriptMarkdown, getCachedDocuments, getInterjectionText, getNotificationTypeMeta, getOfflineDocument, getOrphanedLastMessage, getRelatedLabels, getRelatedTotal, getRunStartedAt, getThreadsQueryKey, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, groupMailConversations, hasPendingFinalCommit, hasPendingMailChange, hasRecordingTranscript, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateCall, invalidateConversationActivity, invalidateConversationDetails, invalidateConversationLists, invalidateTagData, invalidateTagTables, isActivityKey, isAliasTakenError, isArchiveMoving, isCommentToPeople, isConversationEmpty, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isMessageRunning, isNetworkFailure, isNotEnabledRefusal, isNotificationRow, isOrphanedUserMessage, isPanelOpen, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTransferFinished, isTransferResumable, isUsageMetered, isWorkingOffline, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, layoutActionsOf, legacySpec, loadOfflineDocument, loadAttachment as loadOfflineMailAttachment, loadWorkspaceAggregate, mailConversationKey, mailDraftIdFromContent, mailJson, mailThreadRoot, markMessageAsFailed, markNarrationSettled, measuredRowsOf, measuresOf, mergeHostConfig, migrateLegacyTableViews, migrateLegacyThreadDocuments, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nativeThreadKeys, nextAliasSuggestion, nextViewingDocument, notificationUserName, offlineMailReads, onCallEvent, openAccessRequest, openCall, openPanelIn, openRecording, packBlocks, pageFromDashboard, pageTransferScope, panelOfBlock, panelPlace, parseActivityContent, parseDeleteAccountBlockers, parsePageSpec, parseSavedChat, parseSavedDocuments, parseSavedLayout, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queryOfChart, queueMailChange, queuedMessages, readConversationList, readLocalFeature, readWorkspaceLastOpened, recordingFiles, recordingWindowsOf, recordsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, registerDocumentTurnFlush, remoteControlActions, remoteControlStateOf, removeConversationFromLists, removeSettledNarration, requestPersistentStorage, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, restoreLayout, restoreSavedDocuments, retryOutboxItem, rollbackOptimisticDocumentEdit, safePortalUrl, saveLocalDraft, saveRecordingFilesToThread, savedChatOf, savedDocumentsOf, savedLayoutOf, savedPageOf, schedulePart, seedConversationList, selectDraft, selectIsGenerating, selectViewingDocumentId, sendMailFile, serverCallsExperimental, serverNotificationBellEntry, setCachedDocument, setMessageContent, setUserInputRequest, setWorkOfflineIn, settledByRows, signatureNotificationPhrase, signatureRequestMeta, skillPackPrompt, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startEntityExtraction, startThreadCall, startWorkspaceCall, startsMediaFile, stopDocumentsLoading, stripSpeakerPrefix, subscribeDocumentReads, subscribeDocumentRows, supersedeLiveTranscript, supersededTranscriptLines, supportsHouseTemplates, tableViewTarget, textToArtifact, threadBinding, threadEndingAtContains, threadPath, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toMailConversation, toNotificationPreferences, toProfileView, toRedlineMarkdown, toRemoteControlRequest, toShellWorkspace, transcribeRecording, transcriptSegmentOf, transferredId, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActiveConfigId, useActivity, useAddChatMembers, useAddDatabaseRows, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmProgress, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArchiveProgressPolling, useArchiveWorkspace, useAskAgain, useAssignDocTags, useAssistantArrivals, useAssistantBrief, useAssistantQuery, useAssistantStatus, useAuthorizeLimits, useAuthorizeWorkflow, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBootTimeout, useBoxRole, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOfflineRuntime, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallAvatarsEnabled, useCallInviteLinks, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanCreateWorkspaces, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelManyPendingSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatArrivals, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useClaimSecureMail, useCloseAgentSession, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, useConfirmProjectSpendLimits, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectRunStream, useConnectedMailFiling, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversation, useConversationActions, useConversationActivity, useConversationData, useConversationDocuments, useConversationIsShared, useConversationItems, useConversationPendingAuth, useConversationSearch, useConversationSettings, useConversationThreads, useConversationTurn, useConversationWorkspace, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateDatabase, useCreateEvent, useCreateFact, useCreateFacts, useCreateGroupChat, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTableView, useCreateTag, useCreateWork, useCreateWorkflow, useCreateWorkspace, useCurrentSessionId, useCurrentUser, useCurrentWorkspace, useDataSources, useDatabase, useDatabaseAggregate, useDatabaseCapabilities, useDatabaseRows, useDatabases, useDeauthorizeWorkflow, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteConversation, useDeleteDatabase, useDeleteDatabaseRows, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeletePage, useDeleteProject, useDeleteSkill, useDeleteTableView, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectModelUsage, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDismissedTips, useDmFileShares, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useEntityReferenceTitle, useExportDatabase, useExtractEntities, useFacts, useFactsSearch, useFeature, useFeatureCheck, useFeatureSwitch, useFetchCalendarEvent, useFileSharePerson, useFileWaitingNativeMail, useFinaliseTranslation, useFindTime, useFlushOutbox, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHideFromWorkspaceTrash, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useImportDatabase, useImportDatabaseRows, useInstallSkillPack, useInvalidateAfterTransfer, useInvalidateAssistant, useInvalidateEntitlements, useInvalidateProjects, useInvalidateStorage, useInvalidateTagData, useInvalidateWorkflows, useInviteContacts, useIsCreatingTag, useIsEntitled, useIsSlow, useIsWorkspaceOwner, useKeepDocumentsOffline, useLinkContact, useLinkMentions, useLocalDrafts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailConversations, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFiling, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailThread, useMailUnlock, useMailWorkspacePrimer, useMailboxFolders, useMailboxSyncProgress, useMarkArrivalWrong, useMarkChatRead, useMarkDocumentShared, useMarkMessageDraftSent, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMessageDetails, useMessageTimer, useMigrateLegacyTableViews, useModelConnections, useMoveEvent, useMoveWorkspaceToProject, useMyConnectors, useNameEditor, useNativeMailFiling, useNativeThreadKeys, useNotificationPreferences, useNotifications, useOfflineDocumentIds, useOfflineMailActive, useOfflineMailRuntime, useOfflineMailSettings, useOfflineMailStatus, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, useOpenWorkspace, useOutbox, useOwnedProjectsUsage, usePages, usePanelDataset, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingMailChanges, usePendingSyncCounts, usePendingSyncItems, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingCache, useProjectBillingPortal, useProjectConversationUsage, useProjectCreationDenial, useProjectInvoices, useProjectUsage, useProjects, usePublishCalendar, useRateSupportTicket, useReadMailMessage, useReconnect, useRecordingActions, useRecordingWindows, useReferencedDocuments, useReferralSummary, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshDatabaseCapabilities, useRefreshDocuments, useRefreshProject, useRelatedDocuments, useRemoteControl, useRemoveChatMember, useRemoveDocTags, useRemoveDocumentsOffline, useRemoveModelConnection, useRemoveWorkspaceMembers, useRenameChat, useRenameFolder, useRequestEmailChange, useRequestWorkspaceAccess, useRespondToEvent, useResumeCalendarAccountConnect, useResumeWorkspaceTransfer, useRevokeAgentAccess, useRevokeCallInviteLink, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveConfig, useSaveConfigField, useSaveMailDraft, useSaveModelConnection, useSavePage, useSaveSkill, useSaveToThread, useSavedWorkflow, useSearchContacts, useSearchDatabaseRows, useSearchFacts, useSemanticSearch, useSendMail, useServerCallsEnabled, useServerCallsExperimental, useSessionPageTab, useSessionView, useSessions, useSetDeploymentHouseTemplate, useSetNativeMailFiling, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShareDatabaseRow, useSharePage, useShareTableView, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkflow, useStartWorkspaceTransfer, useStopMailFilingRule, useStorageActions, useStorageItemNames, useStorageItems, useStorageProjects, useStorageSnapshots, useStreamHandlers, useSubscribeCalendar, useSupportTicket, useSupportTickets, useSwitchToWorkspacePages, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useSyncOfflineMailbox, useTableView, useTableViewRows, useTableViewsQuery, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTransientView, useTriggerDriveSync, useTriggerMailboxSync, useUnarchiveWorkspace, useUnlockModelConnections, useUnreadByPeer, useUnshareCalendar, useUpdateAssistantBrief, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDatabase, useUpdateDatabaseRow, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTableView, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadFiles, useUploadFromUrls, useUploadSkillFiles, useUploadUrls, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkItems, useWorkOffline, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceAggregate, useWorkspaceArchive, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceProcessing, useWorkspaceRole, useWorkspaceTableViews, useWorkspaceTransfer, useWorkspaceTransferItems, useWorkspaceTransfers, useWorkspaceTrash, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, waitForResponseId, whenProcessed, wipeCalendarOffline, wipeOfflineDocuments, wipeOfflineMail, withLocalWrites, withRelativePath, workflowRunTitle, workflowStepOf, workspaceHouseTemplateId, writeSamples };
package/dist/index.js CHANGED
@@ -152,6 +152,8 @@ import {
152
152
  useCreateWorkflow,
153
153
  useInvalidateWorkflows,
154
154
  useUpdateWorkflow,
155
+ useAuthorizeWorkflow,
156
+ useDeauthorizeWorkflow,
155
157
  useDeleteWorkflow,
156
158
  useRunWorkflow,
157
159
  useSavedWorkflow,
@@ -624,6 +626,7 @@ export {
624
626
  useAssistantQuery,
625
627
  useAssistantStatus,
626
628
  useAuthorizeLimits,
629
+ useAuthorizeWorkflow,
627
630
  useAutoSendDraft,
628
631
  useAvailableModels,
629
632
  useBootTimeout,
@@ -657,6 +660,7 @@ export {
657
660
  useCreateWork,
658
661
  useCreateWorkflow,
659
662
  useCurrentUser,
663
+ useDeauthorizeWorkflow,
660
664
  useDeleteAgents,
661
665
  useDeleteConfig,
662
666
  useDeleteContact,
package/dist/index.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/index.ts"],
4
- "sourcesContent": ["/**\n * @arbidocs/react \u2014 React hooks and provider for the ARBI SDK.\n *\n * Usage:\n * import { ArbiHost, useArbi, useWorkspaces, useDocuments } from '@arbidocs/react'\n * <ArbiHost config={{ arbi }}><App /></ArbiHost>\n *\n * Chat page controller (UI in @arbidocs/blocks/chat):\n * const chat = useConversation({ workspaceId })\n */\n\n// The host configuration: one `<ArbiHost config>` for every hook and kit\nexport {\n ArbiHost,\n mergeHostConfig,\n useArbiHost,\n type ArbiHostConfig,\n type ArbiHostConnection,\n type ArbiHostProps,\n type AccountHost,\n type MailHost,\n type CallsHost,\n type CallSlotMode,\n} from './host'\n// Features the user switches on or off (the user's settings, or this device): `useFeature(name)`\nexport {\n createLocalFeatureStore,\n readLocalFeature,\n useFeature,\n useFeatureCheck,\n useFeatureSwitch,\n type ArbiFeature,\n type ArbiFeatures,\n type FeatureSource,\n type FeatureSwitch,\n type LocalFeatureStore,\n type LocalFeatureStoreOptions,\n type UserSettingFlag,\n} from './host/features'\nexport { useHostConfigRecord, type HostConfigRecord } from './host/context'\nexport * from './host/assistant-copy'\n\n// The chat engine as one hook: threads, messages, grounding documents (UI: `ChatPage` in\n// @arbidocs/blocks/chat), and the scope a surface keeps its own open conversation in\nexport {\n useConversation,\n workflowStepOf,\n titleFromQuestion,\n type ArbiConversation,\n type ArbiChatCitation,\n type ArbiChatDocument,\n type ArbiChatMessage,\n type ArbiChatMessageStatus,\n type ArbiChatPassage,\n type ArbiChatRole,\n type ArbiChatThread,\n type UseConversationOptions,\n} from './chat/useConversation'\nexport { ConversationScope, type ConversationScopeProps } from './chat/ConversationScope'\n// An untitled saved-workflow run's name (its workflow and day), as every thread list shows it\nexport { workflowRunTitle } from './chat/workflow-run-titles'\n// The workspace a conversation is in (a fact saved from its answer goes there)\nexport { useConversationWorkspace } from './chat/useConversationWorkspace'\nexport { toChatCitations } from './chat/citations'\n// A conversation's threads in the cache, and their writers (the chat engine's and the events')\nexport * from './chat/conversation-cache'\nexport * from './chat/conversation-events'\nexport * from './chat/run-state'\nexport * from './chat/stream-handlers'\nexport * from './chat/mentions'\nexport * from './chat/open-document'\nexport * from './chat/chat-artifacts'\nexport * from './chat/thread-document'\nexport * from './chat/turn-flush'\nexport * from './chat/thread-binding'\nexport * from './chat/useThreadDocument'\nexport * from './chat/conversation-mentions'\nexport { resolveConfigModel } from './chat/config-model'\nexport { useDeleteMessage } from './chat/useDeleteMessage'\nexport {\n formatConfigValidationError,\n isFullConfig,\n useApplyChatModel,\n pendingChatModelSave,\n AUTO_CHAT_MODEL,\n useConfigSchema,\n useDeleteConfig,\n useSaveConfig,\n useSaveConfigField,\n type ConfigUpdate,\n} from './config/config-hooks'\nexport { useConversationTurn } from './chat/useConversationTurn'\nexport { useActiveConfigId } from './chat/active-config'\nexport { useConversationDocuments } from './chat/useConversationDocuments'\nexport { useDocumentAutoAdd } from './chat/useDocumentAutoAdd'\nexport { useAutoSendDraft } from './chat/useAutoSendDraft'\nexport { getOrphanedLastMessage, isOrphanedUserMessage } from './chat/orphaned'\nexport { buildPendingFirstTurn } from './chat/pendingFirstTurn'\nexport { useAnswerAgentQuestion, type AgentQuestionRef } from './chat/useAnswerAgentQuestion'\nexport * from './chat/turn-control'\nexport * from './chat/reply-target'\nexport * from './chat/useConversationActions'\nexport * from './chat/useConnectRunStream'\nexport * from './chat/useConversationData'\nexport * from './chat/useConversationSettings'\nexport * from './chat/useBranchNavigation'\nexport * from './chat/useAskAgain'\nexport * from './chat/useThinkingContent'\nexport * from './chat/useMessageTimer'\nexport * from './chat/useAgentRunControl'\nexport type { ArbiChatHost, ArbiThreadView } from './chat/host'\n\n// Chat message bubble (props-in; host injects markdown renderer + timestamp fmt)\nexport { ChatBubble, TypingIndicator, type ChatBubbleProps } from './chat/ChatBubble'\n\n// Context hook\nexport { useArbi, useDeploymentDomain } from './useArbi'\nexport { BOOT_GATE_TIMEOUT_MS, useBootTimeout } from './boot-timeout'\nexport {\n useInstallSkillPack,\n createSkillPack,\n type CreateSkillPackOptions,\n type SkillPack,\n type SkillPackEntry,\n type InstallSkillPackVariables,\n} from './useInstallSkillPack'\nexport {\n defineSkillPack,\n skillPackPrompt,\n type DefineSkillPackOptions,\n type DefinedSkillPack,\n type SkillPackField,\n type SkillPackSkill,\n type SkillPackSkillDefinition,\n} from './skill-pack'\n\n// Online or not: the network, the live connection and \"Work offline\" (run by the provider)\nexport {\n computeOnline,\n isWorkingOffline,\n setWorkOfflineIn,\n useReconnect,\n useWorkOffline,\n WORK_OFFLINE_VIEW,\n type ReconnectOutcome,\n} from './connectivity'\n\n// Shared WebSocket layer (one reconnecting socket, canonical store, typed\n// subscriptions, drop-in document sync \u2014 the real-time layer both apps share)\nexport {\n ArbiWebSocketProvider,\n useArbiWsContext,\n type ArbiWebSocketProviderProps,\n type ArbiWsHandlers,\n useArbiWebSocket,\n useArbiWsMessage,\n useArbiWsStatus,\n applyLiveUpdate,\n LIVE_UPDATE_TYPES,\n useArbiWsStore,\n DISMISSED_TASK_TTL_MS,\n type LiveTask,\n type ArbiWsState,\n type ArbiWsStatus,\n} from './websocket'\n\n// Schema-typed WebSocket messages + the discriminant type guard (so consumers\n// narrow handlers exactly like the rest of the SDK).\nexport { isMessageType } from '@arbidocs/client'\nexport type {\n WebSocketServerMessage,\n WsTaskUpdateMessage,\n WsBatchCompleteMessage,\n WsPresenceUpdateMessage,\n WsResponseCompleteMessage,\n WsConversationMessagePostedMessage,\n WsNotificationResponse,\n} from '@arbidocs/client'\n\n// Workspaces as the shell and the gallery show them (adapters, active workspace, open)\nexport * from './workspaces'\n\n// React Query hooks\nexport {\n useWorkspaces,\n useDocumentVersionList,\n useThumbnails,\n useParsedDocument,\n useConversations,\n useConversationThreads,\n useMessageDetails,\n useBuiltinCommands,\n useTags,\n useAgents,\n useDeleteAgents,\n useAssistantQuery,\n useHealth,\n useAvailableModels,\n useConfigs,\n useConfig,\n useActivity,\n useWorkspaceActivity,\n useProjects,\n useProjectUsage,\n useProjectInvoices,\n useUserUsageToday,\n useCurrentUser,\n useCanCreateProjects,\n useCanCreateWorkspaces,\n useProjectCreationDenial,\n useBoxRole,\n PROJECT_CREATION_DENIED_REASON,\n} from './hooks'\nexport type { ProjectCreationRefusal } from './hooks'\n// The one query-key factory (and its prefix match): every key the packages and hosts use.\nexport { arbiQueryKeys, arbiMutationKeys, isUnderQueryKey } from './query-keys'\n\n// Workspace facts\nexport {\n useFacts,\n useCreateFact,\n useCreateFacts,\n useUpdateFact,\n useDeleteFact,\n useSearchFacts,\n type FactListFilter,\n} from './facts'\nexport {\n useFactsSearch,\n FACTS_SEARCH_VIEW,\n type FactSearchHit,\n type FactsSearch,\n type FactsSearchState,\n type UseFactsSearchOptions,\n} from './facts-search'\n\n// Work (conversations with a status), workflows, agents, skills (mutations invalidate through arbiQueryKeys)\nexport {\n useUpdateConversation,\n useCreateWork,\n useRunConversation,\n usePlanWork,\n useActOnStep,\n useConversationPendingAuth,\n useWorkflows,\n useWorkflowRuns,\n useCreateWorkflow,\n useInvalidateWorkflows,\n useUpdateWorkflow,\n useDeleteWorkflow,\n useRunWorkflow,\n useSavedWorkflow,\n useStartWorkflow,\n useCreateAgent,\n useGenerateAgentAvatar,\n useAuthorizeLimits,\n useMcpTools,\n useAgentConfig,\n useAgentModels,\n useSaveAgentConfig,\n useAgentWorkspaces,\n useGrantAgentAccess,\n useRevokeAgentAccess,\n useSkills,\n useSkillSource,\n useDeleteSkill,\n useSaveSkill,\n useSetSkillVisibility,\n useUploadSkillFiles,\n useConversationActivity,\n useConversationItems,\n useConversationIsShared,\n useWorkItems,\n useWorkspaceRole,\n useCanEditShared,\n useIsWorkspaceOwner,\n useStartTaskQuery,\n useDeleteConversation,\n useConversationSearch,\n TaskThreadPendingError,\n isActivityKey,\n invalidateConversationActivity,\n type StartTaskQuery,\n type AgentConfigSections,\n type SaveAgentConfigVars,\n type AgentAccessMode,\n type GrantAgentAccessVars,\n} from './workforce'\n\n// The workspace's conversation list in the cache: its writers (patch, add, remove) and readers\nexport * from './conversation-list'\n\n// Databases: user-defined tables of the open workspace (reads, writes, imports, export)\nexport * from './databases'\n// Saved table views (`/v1/views`): a grid's columns, filters and sort, private or shared; read by charts too\nexport {\n DOCUMENTS_VIEW_TARGET,\n filterText,\n legacySpec,\n migrateLegacyTableViews,\n tableViewTarget,\n useCreateTableView,\n useDeleteTableView,\n useMigrateLegacyTableViews,\n useShareTableView,\n useTableViewsQuery,\n useTableView,\n useTableViewRows,\n useWorkspaceTableViews,\n useUpdateTableView,\n type CreateTableViewVars,\n type LegacyTableView,\n type LegacyViewsWriter,\n type TableViewFilter,\n type TableViewRecord,\n type TableViewRows,\n type TableViewSpec,\n type TableViewTable,\n TABLE_VIEW_ROWS_PAGE,\n} from './table-views'\n// Datasets: data source adapters (usage, documents, threads, projects, databases) returning one\n// normalized dataset, the chart / panel / dashboard specs, and saved dashboards\nexport * from './datasets'\n\n// Tags: the writes (patching the workspace's list), and kinds' fields (a table's columns)\nexport {\n useCreateTag,\n useIsCreatingTag,\n useUpdateTag,\n useDeleteTag,\n useExtractEntities,\n useTagKindSchema,\n useUpdateTagKindSchema,\n useSetTagValues,\n useInvalidateTagData,\n invalidateTagData,\n invalidateTagTables,\n patchWorkspaceTags,\n type CreateTagInput,\n} from './tags'\n\n// Cited passages' text, read live from their documents' parsed content\nexport {\n usePassageQuotes,\n type PassageResolvers,\n type QuoteResolver,\n type OrderResolver,\n} from './documents/usePassageQuotes'\n\n// The shared React Query client, and the offline cache it may keep on this device (opt in)\nexport {\n createArbiQueryClient,\n type ArbiQueryClient,\n type ArbiQueryClientOptions,\n} from './query-client'\nexport { claimOfflineQueue, type ArbiQueryPersistOptions } from './query-persist'\n// Offline writes kept across a reload (opt in: a host with a persisted query cache)\nexport { registerArbiMutationDefaults, isReplayableArbiMutation } from './offline'\n// Telling \"no connection\" from a server's answer (a request that never reached the server)\nexport { isNetworkFailure } from './offline-store/network'\n\n// Project details, their events, and spend by conversation and step\nexport {\n useOwnedProjectsUsage,\n useUpdateProjectFields,\n useProjectConversationUsage,\n} from './projects'\nexport * from './billing'\n// Storage: usage by project, kind and workspace, the largest items, Recently deleted, trash actions\nexport * from './storage'\n\n// Contacts\nexport {\n useContacts,\n useReferralSummary,\n useInviteContacts,\n useCreateContact,\n useUpdateContact,\n useLinkContact,\n useImportContacts,\n useDeleteContact,\n useSearchContacts,\n} from './contacts'\n// The people directory: who an account id or an address is (contacts, workspace members, agents)\nexport {\n peopleDirectory,\n personOfUser,\n usePeople,\n usePeopleSearch,\n type PeopleDirectory,\n type Person,\n type UserResponse,\n} from './people'\n\n// The Word house template a workspace may choose\nexport {\n useHouseTemplateCandidates,\n useSetWorkspaceHouseTemplate,\n useSetDeploymentHouseTemplate,\n supportsHouseTemplates,\n workspaceHouseTemplateId,\n isDeploymentAdmin,\n} from './house-template'\n\n// The main agent's model connections (box and personal) and the direct model usage\nexport {\n useModelConnections,\n useDirectModelUsage,\n useSaveModelConnection,\n useRemoveModelConnection,\n useUnlockModelConnections,\n} from './model-connections'\nexport type {\n ConnectionModel,\n DirectModelUsage,\n ModelConnection,\n PersonalConnectionInput,\n} from '@arbidocs/sdk/browser'\n\n// The workspace Assistant: its brief and what it did with each arrival\nexport {\n useAssistantBrief,\n useUpdateAssistantBrief,\n useAssistantArrivals,\n useAssistantStatus,\n useMarkArrivalWrong,\n useMarkMessageDraftSent,\n useInvalidateAssistant,\n} from './workspace-assistant'\nexport type { AssistantArrival, AssistantBrief, AssistantBriefInput } from '@arbidocs/sdk/browser'\n\n// Account and settings: profile, email, password, notification preferences, sessions, deletion\nexport * from './account'\n\n// Mail: the native inbox and connected accounts (client, provider, hooks)\nexport * from './mail'\n\n// Calendar: hooks over arbi.calendar, and the host's offline storage and connector OAuth\nexport * from './calendar'\n// Calls without LiveKit: data, the call session and events, actions, meeting chats, recordings\nexport * from './calls'\n\n// AI usage is reported in \u00A3 (ex VAT): one formatter for every amount\nexport {\n formatGbp,\n formatGbpPerMillionTokens,\n usdToGbp,\n DEFAULT_AI_USD_PER_GBP,\n} from '@arbidocs/sdk/browser'\nexport { isUsageMetered, type UsageTotals } from './usage-metered'\n\n// Re-export key types from core (browser-safe)\nexport { Arbi, type ArbiOptions, type AskRequest, type AskHandlers } from '@arbidocs/sdk/browser'\nexport type {\n ActivityKind,\n ActivityResponse,\n AuthMode,\n ConversationResponse,\n CreateWorkRequest,\n CreateWorkflowRequest,\n PendingAuthResponse,\n PlanWorkRequest,\n TaskPlan,\n UpdateConversationRequest,\n UpdateWorkflowRequest,\n WorkStatus,\n WorkflowAuthMode,\n WorkflowResponse,\n WorkflowRunResponse,\n SkillSummary,\n FactResponse,\n CreateFactRequest,\n FactSearchRequest,\n FactSearchResponse,\n ProjectUsageResponse,\n ProjectInvoicesResponse,\n UserDailyUsageResponse,\n LoginProfile,\n} from '@arbidocs/sdk/browser'\nexport type { SSEStreamResult, SSEStreamCallbacks } from '@arbidocs/sdk/browser'\nexport type {\n ResponseCreatedEvent,\n ResponseCompletedEvent,\n ResponseFailedEvent,\n ResponseOutputTextDeltaEvent,\n ResponseOutputTextDoneEvent,\n ResponseOutputItemAddedEvent,\n ResponseOutputItemDoneEvent,\n ResponseContentPartAddedEvent,\n ResponseUsage,\n OutputTokensDetails,\n AgentStepEvent,\n UserInputRequestEvent,\n ArtifactEvent,\n UserMessageEvent,\n MessageMetadataPayload,\n SSEStreamStartData,\n} from '@arbidocs/sdk/browser'\nexport { ArbiError } from '@arbidocs/sdk/browser'\n\n// \u2500\u2500 UI \"lego\" (promoted from the ARBI app; consumer supplies Tailwind + tokens) \u2500\u2500\n\n// shadcn UI primitives\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from './ui/tooltip'\nexport { IconToggle, type IconToggleProps } from './ui/IconToggle'\nexport { VisibilityToggle, type VisibilityToggleProps } from './ui/VisibilityToggle'\nexport { VerifiedToggle } from './ui/VerifiedToggle'\nexport { formatFriendlyDate, formatCompactLastSeen } from './lib/format-friendly-date'\nexport { markdownToPlainText, markdownToPlainTextBlocks } from './lib/markdown-to-text'\nexport { DebouncedInput, type DebouncedInputProps } from './ui/DebouncedInput'\nexport { useDictateContext, type DictateContextValue } from './ui/DictateContext'\nexport { PortalContainerProvider, usePortalContainer } from './ui/portal-container'\nexport { Avatar, AvatarImage, AvatarFallback } from './ui/avatar'\nexport { Badge, badgeVariants, type BadgeProps } from './ui/badge'\nexport { Button, buttonVariants, type ButtonProps } from './ui/button'\nexport { HoverCard, HoverCardTrigger, HoverCardContent } from './ui/hover-card'\nexport {\n Card,\n CardHeader,\n CardTitle,\n CardDescription,\n CardContent,\n CardFooter,\n cardVariants,\n} from './ui/card'\nexport type { CardProps } from './ui/card'\nexport { Input, type InputProps } from './ui/input'\nexport { Label } from './ui/label'\nexport { Separator } from './ui/separator'\nexport { Textarea, type TextareaProps } from './ui/textarea'\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent } from './ui/collapsible'\nexport { Progress } from './ui/progress'\nexport { ScrollArea, ScrollBar } from './ui/scroll-area'\nexport { RadioGroup, RadioGroupItem } from './ui/radio-group'\nexport { Checkbox } from './ui/checkbox'\nexport { Switch } from './ui/switch'\nexport { Tabs, TabsList, TabsTrigger, TabsContent } from './ui/tabs'\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n} from './ui/table'\nexport { Slider } from './ui/slider'\nexport { Toggle, toggleVariants } from './ui/toggle'\nexport { ToggleGroup, ToggleGroupItem } from './ui/toggle-group'\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n type DialogPresentation,\n} from './ui/dialog'\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, PopoverClose } from './ui/popover'\nexport { MarkMenu, type MarkMenuItem, type MarkMenuProps } from './ui/mark-menu'\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n} from './ui/dropdown-menu'\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n} from './ui/select'\nexport {\n Command,\n CommandDialog,\n CommandInput,\n CommandList,\n CommandEmpty,\n CommandGroup,\n CommandItem,\n CommandShortcut,\n CommandSeparator,\n} from './ui/command'\n\n// \u2500\u2500 AI kit: mid-level, token-neutral building blocks for AI-native apps \u2500\u2500\n// (streaming answers, artifact canvas, redline, doc Q&A)\nexport * from './ai'\n\n// Document search: the one search hook, its session and the label-the-results write.\nexport * from './search'\n\n// File-type icons\nexport * from './icons'\n\n// Decoupled entity pills + canonical entity registry\nexport * from './entities'\n\n// Shared notification & activity presentation layer\nexport * from './notifications'\nexport * from './connectors'\n\n// Direct-message block kit (real E2E-encrypted messenger)\nexport * from './directmessages'\n\n// Image crop kit (frame any uploaded/generated image; avatar is a preset)\nexport * from './imagecrop'\n\n// User menu kit (topbar account avatar dropdown)\nexport * from './usermenu'\n\n// Documents: the list, its writes, uploads, and what a host adds\nexport * from './documents'\n\n// People: display name, initials, avatar colour\nexport * from './users'\n\n// Session state shared by every block (workspace, conversation, viewing document, \u2026)\nexport * from './session'\n\n// Remote control: its session-only consent state and the `remote_control` websocket message\nexport * from './remote-control'\n\n// Class-name helper\nexport { cn } from './lib/utils'\n\nexport {\n useAgentSession,\n useAgentChats,\n useStartAgentSession,\n useCloseAgentSession,\n} from './workforce'\n\n// The documents an entity extraction is running on, until the live connection says it is done\nexport {\n finishEntityExtraction,\n startEntityExtraction,\n useEntityExtractionDocIds,\n} from './entity-extraction'\n\nexport * from './support'\n\n// Heavy components in their own chunk, loaded the first time one renders.\nexport { lazyChunk, lazyComponent, preloadChunks, type LazyChunk } from './lazy-chunk'\n\nexport { useEntityReferenceTitle, useReferencedDocuments } from './entities/reference-data'\nexport { EntityActionsMenu, type EntityAction } from './entities/EntityActionsMenu'\n"],
5
- "mappings": "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",
4
+ "sourcesContent": ["/**\n * @arbidocs/react \u2014 React hooks and provider for the ARBI SDK.\n *\n * Usage:\n * import { ArbiHost, useArbi, useWorkspaces, useDocuments } from '@arbidocs/react'\n * <ArbiHost config={{ arbi }}><App /></ArbiHost>\n *\n * Chat page controller (UI in @arbidocs/blocks/chat):\n * const chat = useConversation({ workspaceId })\n */\n\n// The host configuration: one `<ArbiHost config>` for every hook and kit\nexport {\n ArbiHost,\n mergeHostConfig,\n useArbiHost,\n type ArbiHostConfig,\n type ArbiHostConnection,\n type ArbiHostProps,\n type AccountHost,\n type MailHost,\n type CallsHost,\n type CallSlotMode,\n} from './host'\n// Features the user switches on or off (the user's settings, or this device): `useFeature(name)`\nexport {\n createLocalFeatureStore,\n readLocalFeature,\n useFeature,\n useFeatureCheck,\n useFeatureSwitch,\n type ArbiFeature,\n type ArbiFeatures,\n type FeatureSource,\n type FeatureSwitch,\n type LocalFeatureStore,\n type LocalFeatureStoreOptions,\n type UserSettingFlag,\n} from './host/features'\nexport { useHostConfigRecord, type HostConfigRecord } from './host/context'\nexport * from './host/assistant-copy'\n\n// The chat engine as one hook: threads, messages, grounding documents (UI: `ChatPage` in\n// @arbidocs/blocks/chat), and the scope a surface keeps its own open conversation in\nexport {\n useConversation,\n workflowStepOf,\n titleFromQuestion,\n type ArbiConversation,\n type ArbiChatCitation,\n type ArbiChatDocument,\n type ArbiChatMessage,\n type ArbiChatMessageStatus,\n type ArbiChatPassage,\n type ArbiChatRole,\n type ArbiChatThread,\n type UseConversationOptions,\n} from './chat/useConversation'\nexport { ConversationScope, type ConversationScopeProps } from './chat/ConversationScope'\n// An untitled saved-workflow run's name (its workflow and day), as every thread list shows it\nexport { workflowRunTitle } from './chat/workflow-run-titles'\n// The workspace a conversation is in (a fact saved from its answer goes there)\nexport { useConversationWorkspace } from './chat/useConversationWorkspace'\nexport { toChatCitations } from './chat/citations'\n// A conversation's threads in the cache, and their writers (the chat engine's and the events')\nexport * from './chat/conversation-cache'\nexport * from './chat/conversation-events'\nexport * from './chat/run-state'\nexport * from './chat/stream-handlers'\nexport * from './chat/mentions'\nexport * from './chat/open-document'\nexport * from './chat/chat-artifacts'\nexport * from './chat/thread-document'\nexport * from './chat/turn-flush'\nexport * from './chat/thread-binding'\nexport * from './chat/useThreadDocument'\nexport * from './chat/conversation-mentions'\nexport { resolveConfigModel } from './chat/config-model'\nexport { useDeleteMessage } from './chat/useDeleteMessage'\nexport {\n formatConfigValidationError,\n isFullConfig,\n useApplyChatModel,\n pendingChatModelSave,\n AUTO_CHAT_MODEL,\n useConfigSchema,\n useDeleteConfig,\n useSaveConfig,\n useSaveConfigField,\n type ConfigUpdate,\n} from './config/config-hooks'\nexport { useConversationTurn } from './chat/useConversationTurn'\nexport { useActiveConfigId } from './chat/active-config'\nexport { useConversationDocuments } from './chat/useConversationDocuments'\nexport { useDocumentAutoAdd } from './chat/useDocumentAutoAdd'\nexport { useAutoSendDraft } from './chat/useAutoSendDraft'\nexport { getOrphanedLastMessage, isOrphanedUserMessage } from './chat/orphaned'\nexport { buildPendingFirstTurn } from './chat/pendingFirstTurn'\nexport { useAnswerAgentQuestion, type AgentQuestionRef } from './chat/useAnswerAgentQuestion'\nexport * from './chat/turn-control'\nexport * from './chat/reply-target'\nexport * from './chat/useConversationActions'\nexport * from './chat/useConnectRunStream'\nexport * from './chat/useConversationData'\nexport * from './chat/useConversationSettings'\nexport * from './chat/useBranchNavigation'\nexport * from './chat/useAskAgain'\nexport * from './chat/useThinkingContent'\nexport * from './chat/useMessageTimer'\nexport * from './chat/useAgentRunControl'\nexport type { ArbiChatHost, ArbiThreadView } from './chat/host'\n\n// Chat message bubble (props-in; host injects markdown renderer + timestamp fmt)\nexport { ChatBubble, TypingIndicator, type ChatBubbleProps } from './chat/ChatBubble'\n\n// Context hook\nexport { useArbi, useDeploymentDomain } from './useArbi'\nexport { BOOT_GATE_TIMEOUT_MS, useBootTimeout } from './boot-timeout'\nexport {\n useInstallSkillPack,\n createSkillPack,\n type CreateSkillPackOptions,\n type SkillPack,\n type SkillPackEntry,\n type InstallSkillPackVariables,\n} from './useInstallSkillPack'\nexport {\n defineSkillPack,\n skillPackPrompt,\n type DefineSkillPackOptions,\n type DefinedSkillPack,\n type SkillPackField,\n type SkillPackSkill,\n type SkillPackSkillDefinition,\n} from './skill-pack'\n\n// Online or not: the network, the live connection and \"Work offline\" (run by the provider)\nexport {\n computeOnline,\n isWorkingOffline,\n setWorkOfflineIn,\n useReconnect,\n useWorkOffline,\n WORK_OFFLINE_VIEW,\n type ReconnectOutcome,\n} from './connectivity'\n\n// Shared WebSocket layer (one reconnecting socket, canonical store, typed\n// subscriptions, drop-in document sync \u2014 the real-time layer both apps share)\nexport {\n ArbiWebSocketProvider,\n useArbiWsContext,\n type ArbiWebSocketProviderProps,\n type ArbiWsHandlers,\n useArbiWebSocket,\n useArbiWsMessage,\n useArbiWsStatus,\n applyLiveUpdate,\n LIVE_UPDATE_TYPES,\n useArbiWsStore,\n DISMISSED_TASK_TTL_MS,\n type LiveTask,\n type ArbiWsState,\n type ArbiWsStatus,\n} from './websocket'\n\n// Schema-typed WebSocket messages + the discriminant type guard (so consumers\n// narrow handlers exactly like the rest of the SDK).\nexport { isMessageType } from '@arbidocs/client'\nexport type {\n WebSocketServerMessage,\n WsTaskUpdateMessage,\n WsBatchCompleteMessage,\n WsPresenceUpdateMessage,\n WsResponseCompleteMessage,\n WsConversationMessagePostedMessage,\n WsNotificationResponse,\n} from '@arbidocs/client'\n\n// Workspaces as the shell and the gallery show them (adapters, active workspace, open)\nexport * from './workspaces'\n\n// React Query hooks\nexport {\n useWorkspaces,\n useDocumentVersionList,\n useThumbnails,\n useParsedDocument,\n useConversations,\n useConversationThreads,\n useMessageDetails,\n useBuiltinCommands,\n useTags,\n useAgents,\n useDeleteAgents,\n useAssistantQuery,\n useHealth,\n useAvailableModels,\n useConfigs,\n useConfig,\n useActivity,\n useWorkspaceActivity,\n useProjects,\n useProjectUsage,\n useProjectInvoices,\n useUserUsageToday,\n useCurrentUser,\n useCanCreateProjects,\n useCanCreateWorkspaces,\n useProjectCreationDenial,\n useBoxRole,\n PROJECT_CREATION_DENIED_REASON,\n} from './hooks'\nexport type { ProjectCreationRefusal } from './hooks'\n// The one query-key factory (and its prefix match): every key the packages and hosts use.\nexport { arbiQueryKeys, arbiMutationKeys, isUnderQueryKey } from './query-keys'\n\n// Workspace facts\nexport {\n useFacts,\n useCreateFact,\n useCreateFacts,\n useUpdateFact,\n useDeleteFact,\n useSearchFacts,\n type FactListFilter,\n} from './facts'\nexport {\n useFactsSearch,\n FACTS_SEARCH_VIEW,\n type FactSearchHit,\n type FactsSearch,\n type FactsSearchState,\n type UseFactsSearchOptions,\n} from './facts-search'\n\n// Work (conversations with a status), workflows, agents, skills (mutations invalidate through arbiQueryKeys)\nexport {\n useUpdateConversation,\n useCreateWork,\n useRunConversation,\n usePlanWork,\n useActOnStep,\n useConversationPendingAuth,\n useWorkflows,\n useWorkflowRuns,\n useCreateWorkflow,\n useInvalidateWorkflows,\n useUpdateWorkflow,\n useAuthorizeWorkflow,\n useDeauthorizeWorkflow,\n useDeleteWorkflow,\n useRunWorkflow,\n useSavedWorkflow,\n useStartWorkflow,\n useCreateAgent,\n useGenerateAgentAvatar,\n useAuthorizeLimits,\n useMcpTools,\n useAgentConfig,\n useAgentModels,\n useSaveAgentConfig,\n useAgentWorkspaces,\n useGrantAgentAccess,\n useRevokeAgentAccess,\n useSkills,\n useSkillSource,\n useDeleteSkill,\n useSaveSkill,\n useSetSkillVisibility,\n useUploadSkillFiles,\n useConversationActivity,\n useConversationItems,\n useConversationIsShared,\n useWorkItems,\n useWorkspaceRole,\n useCanEditShared,\n useIsWorkspaceOwner,\n useStartTaskQuery,\n useDeleteConversation,\n useConversationSearch,\n TaskThreadPendingError,\n isActivityKey,\n invalidateConversationActivity,\n type StartTaskQuery,\n type AgentConfigSections,\n type SaveAgentConfigVars,\n type AgentAccessMode,\n type GrantAgentAccessVars,\n} from './workforce'\n\n// The workspace's conversation list in the cache: its writers (patch, add, remove) and readers\nexport * from './conversation-list'\n\n// Databases: user-defined tables of the open workspace (reads, writes, imports, export)\nexport * from './databases'\n// Saved table views (`/v1/views`): a grid's columns, filters and sort, private or shared; read by charts too\nexport {\n DOCUMENTS_VIEW_TARGET,\n filterText,\n legacySpec,\n migrateLegacyTableViews,\n tableViewTarget,\n useCreateTableView,\n useDeleteTableView,\n useMigrateLegacyTableViews,\n useShareTableView,\n useTableViewsQuery,\n useTableView,\n useTableViewRows,\n useWorkspaceTableViews,\n useUpdateTableView,\n type CreateTableViewVars,\n type LegacyTableView,\n type LegacyViewsWriter,\n type TableViewFilter,\n type TableViewRecord,\n type TableViewRows,\n type TableViewSpec,\n type TableViewTable,\n TABLE_VIEW_ROWS_PAGE,\n} from './table-views'\n// Datasets: data source adapters (usage, documents, threads, projects, databases) returning one\n// normalized dataset, the chart / panel / dashboard specs, and saved dashboards\nexport * from './datasets'\n\n// Tags: the writes (patching the workspace's list), and kinds' fields (a table's columns)\nexport {\n useCreateTag,\n useIsCreatingTag,\n useUpdateTag,\n useDeleteTag,\n useExtractEntities,\n useTagKindSchema,\n useUpdateTagKindSchema,\n useSetTagValues,\n useInvalidateTagData,\n invalidateTagData,\n invalidateTagTables,\n patchWorkspaceTags,\n type CreateTagInput,\n} from './tags'\n\n// Cited passages' text, read live from their documents' parsed content\nexport {\n usePassageQuotes,\n type PassageResolvers,\n type QuoteResolver,\n type OrderResolver,\n} from './documents/usePassageQuotes'\n\n// The shared React Query client, and the offline cache it may keep on this device (opt in)\nexport {\n createArbiQueryClient,\n type ArbiQueryClient,\n type ArbiQueryClientOptions,\n} from './query-client'\nexport { claimOfflineQueue, type ArbiQueryPersistOptions } from './query-persist'\n// Offline writes kept across a reload (opt in: a host with a persisted query cache)\nexport { registerArbiMutationDefaults, isReplayableArbiMutation } from './offline'\n// Telling \"no connection\" from a server's answer (a request that never reached the server)\nexport { isNetworkFailure } from './offline-store/network'\n\n// Project details, their events, and spend by conversation and step\nexport {\n useOwnedProjectsUsage,\n useUpdateProjectFields,\n useProjectConversationUsage,\n} from './projects'\nexport * from './billing'\n// Storage: usage by project, kind and workspace, the largest items, Recently deleted, trash actions\nexport * from './storage'\n\n// Contacts\nexport {\n useContacts,\n useReferralSummary,\n useInviteContacts,\n useCreateContact,\n useUpdateContact,\n useLinkContact,\n useImportContacts,\n useDeleteContact,\n useSearchContacts,\n} from './contacts'\n// The people directory: who an account id or an address is (contacts, workspace members, agents)\nexport {\n peopleDirectory,\n personOfUser,\n usePeople,\n usePeopleSearch,\n type PeopleDirectory,\n type Person,\n type UserResponse,\n} from './people'\n\n// The Word house template a workspace may choose\nexport {\n useHouseTemplateCandidates,\n useSetWorkspaceHouseTemplate,\n useSetDeploymentHouseTemplate,\n supportsHouseTemplates,\n workspaceHouseTemplateId,\n isDeploymentAdmin,\n} from './house-template'\n\n// The main agent's model connections (box and personal) and the direct model usage\nexport {\n useModelConnections,\n useDirectModelUsage,\n useSaveModelConnection,\n useRemoveModelConnection,\n useUnlockModelConnections,\n} from './model-connections'\nexport type {\n ConnectionModel,\n DirectModelUsage,\n ModelConnection,\n PersonalConnectionInput,\n} from '@arbidocs/sdk/browser'\n\n// The workspace Assistant: its brief and what it did with each arrival\nexport {\n useAssistantBrief,\n useUpdateAssistantBrief,\n useAssistantArrivals,\n useAssistantStatus,\n useMarkArrivalWrong,\n useMarkMessageDraftSent,\n useInvalidateAssistant,\n} from './workspace-assistant'\nexport type { AssistantArrival, AssistantBrief, AssistantBriefInput } from '@arbidocs/sdk/browser'\n\n// Account and settings: profile, email, password, notification preferences, sessions, deletion\nexport * from './account'\n\n// Mail: the native inbox and connected accounts (client, provider, hooks)\nexport * from './mail'\n\n// Calendar: hooks over arbi.calendar, and the host's offline storage and connector OAuth\nexport * from './calendar'\n// Calls without LiveKit: data, the call session and events, actions, meeting chats, recordings\nexport * from './calls'\n\n// AI usage is reported in \u00A3 (ex VAT): one formatter for every amount\nexport {\n formatGbp,\n formatGbpPerMillionTokens,\n usdToGbp,\n DEFAULT_AI_USD_PER_GBP,\n} from '@arbidocs/sdk/browser'\nexport { isUsageMetered, type UsageTotals } from './usage-metered'\n\n// Re-export key types from core (browser-safe)\nexport { Arbi, type ArbiOptions, type AskRequest, type AskHandlers } from '@arbidocs/sdk/browser'\nexport type {\n ActivityKind,\n ActivityResponse,\n AuthMode,\n ConversationResponse,\n CreateWorkRequest,\n CreateWorkflowRequest,\n PendingAuthResponse,\n PlanWorkRequest,\n TaskPlan,\n UpdateConversationRequest,\n UpdateWorkflowRequest,\n WorkStatus,\n WorkflowAuthMode,\n WorkflowResponse,\n WorkflowRunResponse,\n SkillSummary,\n FactResponse,\n CreateFactRequest,\n FactSearchRequest,\n FactSearchResponse,\n ProjectUsageResponse,\n ProjectInvoicesResponse,\n UserDailyUsageResponse,\n LoginProfile,\n} from '@arbidocs/sdk/browser'\nexport type { SSEStreamResult, SSEStreamCallbacks } from '@arbidocs/sdk/browser'\nexport type {\n ResponseCreatedEvent,\n ResponseCompletedEvent,\n ResponseFailedEvent,\n ResponseOutputTextDeltaEvent,\n ResponseOutputTextDoneEvent,\n ResponseOutputItemAddedEvent,\n ResponseOutputItemDoneEvent,\n ResponseContentPartAddedEvent,\n ResponseUsage,\n OutputTokensDetails,\n AgentStepEvent,\n UserInputRequestEvent,\n ArtifactEvent,\n UserMessageEvent,\n MessageMetadataPayload,\n SSEStreamStartData,\n} from '@arbidocs/sdk/browser'\nexport { ArbiError } from '@arbidocs/sdk/browser'\n\n// \u2500\u2500 UI \"lego\" (promoted from the ARBI app; consumer supplies Tailwind + tokens) \u2500\u2500\n\n// shadcn UI primitives\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from './ui/tooltip'\nexport { IconToggle, type IconToggleProps } from './ui/IconToggle'\nexport { VisibilityToggle, type VisibilityToggleProps } from './ui/VisibilityToggle'\nexport { VerifiedToggle } from './ui/VerifiedToggle'\nexport { formatFriendlyDate, formatCompactLastSeen } from './lib/format-friendly-date'\nexport { markdownToPlainText, markdownToPlainTextBlocks } from './lib/markdown-to-text'\nexport { DebouncedInput, type DebouncedInputProps } from './ui/DebouncedInput'\nexport { useDictateContext, type DictateContextValue } from './ui/DictateContext'\nexport { PortalContainerProvider, usePortalContainer } from './ui/portal-container'\nexport { Avatar, AvatarImage, AvatarFallback } from './ui/avatar'\nexport { Badge, badgeVariants, type BadgeProps } from './ui/badge'\nexport { Button, buttonVariants, type ButtonProps } from './ui/button'\nexport { HoverCard, HoverCardTrigger, HoverCardContent } from './ui/hover-card'\nexport {\n Card,\n CardHeader,\n CardTitle,\n CardDescription,\n CardContent,\n CardFooter,\n cardVariants,\n} from './ui/card'\nexport type { CardProps } from './ui/card'\nexport { Input, type InputProps } from './ui/input'\nexport { Label } from './ui/label'\nexport { Separator } from './ui/separator'\nexport { Textarea, type TextareaProps } from './ui/textarea'\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent } from './ui/collapsible'\nexport { Progress } from './ui/progress'\nexport { ScrollArea, ScrollBar } from './ui/scroll-area'\nexport { RadioGroup, RadioGroupItem } from './ui/radio-group'\nexport { Checkbox } from './ui/checkbox'\nexport { Switch } from './ui/switch'\nexport { Tabs, TabsList, TabsTrigger, TabsContent } from './ui/tabs'\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n} from './ui/table'\nexport { Slider } from './ui/slider'\nexport { Toggle, toggleVariants } from './ui/toggle'\nexport { ToggleGroup, ToggleGroupItem } from './ui/toggle-group'\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n type DialogPresentation,\n} from './ui/dialog'\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, PopoverClose } from './ui/popover'\nexport { MarkMenu, type MarkMenuItem, type MarkMenuProps } from './ui/mark-menu'\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n} from './ui/dropdown-menu'\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n} from './ui/select'\nexport {\n Command,\n CommandDialog,\n CommandInput,\n CommandList,\n CommandEmpty,\n CommandGroup,\n CommandItem,\n CommandShortcut,\n CommandSeparator,\n} from './ui/command'\n\n// \u2500\u2500 AI kit: mid-level, token-neutral building blocks for AI-native apps \u2500\u2500\n// (streaming answers, artifact canvas, redline, doc Q&A)\nexport * from './ai'\n\n// Document search: the one search hook, its session and the label-the-results write.\nexport * from './search'\n\n// File-type icons\nexport * from './icons'\n\n// Decoupled entity pills + canonical entity registry\nexport * from './entities'\n\n// Shared notification & activity presentation layer\nexport * from './notifications'\nexport * from './connectors'\n\n// Direct-message block kit (real E2E-encrypted messenger)\nexport * from './directmessages'\n\n// Image crop kit (frame any uploaded/generated image; avatar is a preset)\nexport * from './imagecrop'\n\n// User menu kit (topbar account avatar dropdown)\nexport * from './usermenu'\n\n// Documents: the list, its writes, uploads, and what a host adds\nexport * from './documents'\n\n// People: display name, initials, avatar colour\nexport * from './users'\n\n// Session state shared by every block (workspace, conversation, viewing document, \u2026)\nexport * from './session'\n\n// Remote control: its session-only consent state and the `remote_control` websocket message\nexport * from './remote-control'\n\n// Class-name helper\nexport { cn } from './lib/utils'\n\nexport {\n useAgentSession,\n useAgentChats,\n useStartAgentSession,\n useCloseAgentSession,\n} from './workforce'\n\n// The documents an entity extraction is running on, until the live connection says it is done\nexport {\n finishEntityExtraction,\n startEntityExtraction,\n useEntityExtractionDocIds,\n} from './entity-extraction'\n\nexport * from './support'\n\n// Heavy components in their own chunk, loaded the first time one renders.\nexport { lazyChunk, lazyComponent, preloadChunks, type LazyChunk } from './lazy-chunk'\n\nexport { useEntityReferenceTitle, useReferencedDocuments } from './entities/reference-data'\nexport { EntityActionsMenu, type EntityAction } from './entities/EntityActionsMenu'\n"],
5
+ "mappings": "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",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- export { A as ARBI_MARK_SRC, a as AgentBadge, b as AiMarkdown, c as ArbiBotHeadIcon, d as ArbiIcon, e as Avatar, f as AvatarFallback, g as AvatarImage, B as BASE_COLORS, h as Badge, i as BadgeProps, j as Button, k as ButtonProps, C as COLUMN_LABEL_FALLBACKS, l as Card, m as CardContent, n as CardDescription, o as CardFooter, p as CardHeader, q as CardProps, r as CardTitle, s as Checkbox, t as Collapsible, u as CollapsibleContent, v as CollapsibleTrigger, w as Command, x as CommandDialog, y as CommandEmpty, z as CommandGroup, D as CommandInput, E as CommandItem, F as CommandList, G as CommandSeparator, H as CommandShortcut, I as DEFAULT_METADATA_TAGS, J as DebouncedInput, K as DebouncedInputProps, L as Dialog, M as DialogClose, N as DialogContent, O as DialogDescription, P as DialogFooter, Q as DialogHeader, R as DialogOverlay, S as DialogPortal, T as DialogPresentation, U as DialogTitle, V as DialogTrigger, W as DictateContextValue, X as DocumentEntity, Y as DocumentEntityProps, Z as DocumentLike, _ as DropdownMenu, $ as DropdownMenuCheckboxItem, a0 as DropdownMenuContent, a1 as DropdownMenuGroup, a2 as DropdownMenuItem, a3 as DropdownMenuLabel, a4 as DropdownMenuPortal, a5 as DropdownMenuRadioGroup, a6 as DropdownMenuRadioItem, a7 as DropdownMenuSeparator, a8 as DropdownMenuShortcut, a9 as DropdownMenuSub, aa as DropdownMenuSubContent, ab as DropdownMenuSubTrigger, ac as DropdownMenuTrigger, ad as ENTITY_MAPPINGS, ae as EntityAction, af as EntityActionsMenu, ag as EntityIcon, ah as EntityIconComponent, ai as EntityLabelForm, aj as EntityNoun, ak as EntityPill, al as EntityRegistryOverride, am as EntitySize, an as EntityType, ao as EntityVocabulary, ap as FileTypeIcon, aq as FolderTreeNode, ar as FormatRelativeTimeOptions, as as HoverCard, at as HoverCardContent, au as HoverCardTrigger, av as IconToggle, aw as IconToggleProps, ax as IdentityBusy, ay as IdentityProblem, az as IdentityPurchase, aA as IdentityState, aB as IdentityStatus, aC as IdentityStep, aD as IdentityVerificationFlow, aE as Input, aF as InputProps, aG as Label, aH as MarkMenu, aI as MarkMenuItem, aJ as MarkMenuProps, aK as MarkdownCode, aL as MarkdownLink, aM as MarkdownRenderer, aN as MarkdownRendererProps, aO as MarkdownStreamingContext, aP as NEUTRAL_GRAY, aQ as PLACEHOLDER_COLOR, aR as PRESENTATIONS_FOLDER, aS as PRESENTATION_TEMPLATES_FOLDER, aT as PassageCard, aU as PassageCardProps, aV as Popover, aW as PopoverAnchor, aX as PopoverClose, aY as PopoverContent, aZ as PopoverTrigger, a_ as PortalContainerProvider, a$ as PresenceDisplayStatus, b0 as PresenceLabel, b1 as Progress, b2 as ProjectEntity, b3 as ProjectEntityProps, b4 as ProjectRelation, b5 as ProviderIcon, b6 as RadioGroup, b7 as RadioGroupItem, b8 as Rag, b9 as SHARING_LABELS, ba as ScrollArea, bb as ScrollBar, bc as Select, bd as SelectContent, be as SelectGroup, bf as SelectItem, bg as SelectLabel, bh as SelectScrollDownButton, bi as SelectScrollUpButton, bj as SelectSeparator, bk as SelectTrigger, bl as SelectValue, bm as Separator, bn as SharingEntity, bo as SharingEntityProps, bp as SharingLabels, bq as ShieldIcon, br as ShieldIconProps, bs as Slider, bt as StatusBadgeComponent, bu as StatusBadgeProps, bv as StatusPill, bw as StatusPillProps, bx as StatusVariant, by as Switch, bz as TAG_TYPE_ICONS, bA as TAG_TYPE_LABELS, bB as Table, bC as TableBody, bD as TableCaption, bE as TableCell, bF as TableFooter, bG as TableHead, bH as TableHeader, bI as TableRow, bJ as Tabs, bK as TabsContent, bL as TabsList, bM as TabsTrigger, bN as TagEntity, bO as TagEntityProps, bP as TagLike, bQ as Textarea, bR as TextareaProps, bS as ThreadVisibilityIcon, bT as Toggle, bU as ToggleGroup, bV as ToggleGroupItem, bW as Tooltip, bX as TooltipContent, bY as TooltipProvider, bZ as TooltipTrigger, b_ as UserEntity, b$ as UserEntityProps, c0 as UserMenu, c1 as UserMenuItem, c2 as UserMenuProps, c3 as UserMenuStatus, c4 as VISIBILITY_ICONS, c5 as VerifiedBadge, c6 as VerifiedBadgeProps, c7 as VerifiedToggle, c8 as VisibilityIcon, c9 as VisibilityToggle, ca as VisibilityToggleProps, cb as agentAvatarColors, cc as badgeVariants, cd as buildFolderTree, ce as buttonVariants, cf as canonicalFolderPath, cg as cardVariants, ch as closeOpenEmphasis, ci as cn, cj as configureEntityRegistry, ck as configureEntityVocabulary, cl as configureRagLabels, cm as configureSharingLabels, cn as configureSharingMembers, co as configureStatusRegistry, cp as createUserAvatarIcon, cq as entityNoun, cr as extensionFromMime, cs as formatCompactLastSeen, ct as formatDocDate, cu as formatFolderLabel, cv as formatFriendlyDate, cw as formatRelativeTime, cx as friendlyFileType, cy as getDocIcon, cz as getDocumentAuthor, cA as getDocumentDate, cB as getDocumentNature, cC as getDocumentSubject, cD as getDocumentTitle, cE as getEntityColor, cF as getEntityColorStyles, cG as getEntityIcon, cH as getEntityLabel, cI as getFileExtension, cJ as getFileTypeIcon, cK as getSharingLabels, cL as getStatusVariant, cM as getTagTypeIcon, cN as getTagTypeLabel, cO as getUserAvatarColor, cP as getUserDisplayName, cQ as getUserInitials, cR as getWorkspaceColor, cS as isAgent, cT as isAudioFile, cU as isDocumentAddableToConversation, cV as isDownloadOnlyFile, cW as isImageDocument, cX as isImageFile, cY as isMediaFile, cZ as isPresentationFileName, c_ as isVideoFile, c$ as markdownBaseComponents, d0 as markdownSanitizeSchema, d1 as markdownToPlainText, d2 as markdownToPlainTextBlocks, d4 as splitMarkdownBlocks, d5 as tagKindNouns, d6 as tagKindTitle, d7 as toggleVariants, d8 as trimOpenCitation, d9 as useDictateContext, da as usePortalContainer, db as usesOriginalBytesForViewer } from '../index.d-BWfM5sah.js';
1
+ export { A as ARBI_MARK_SRC, a as AgentBadge, b as AiMarkdown, c as ArbiBotHeadIcon, d as ArbiIcon, e as Avatar, f as AvatarFallback, g as AvatarImage, B as BASE_COLORS, h as Badge, i as BadgeProps, j as Button, k as ButtonProps, C as COLUMN_LABEL_FALLBACKS, l as Card, m as CardContent, n as CardDescription, o as CardFooter, p as CardHeader, q as CardProps, r as CardTitle, s as Checkbox, t as Collapsible, u as CollapsibleContent, v as CollapsibleTrigger, w as Command, x as CommandDialog, y as CommandEmpty, z as CommandGroup, D as CommandInput, E as CommandItem, F as CommandList, G as CommandSeparator, H as CommandShortcut, I as DEFAULT_METADATA_TAGS, J as DebouncedInput, K as DebouncedInputProps, L as Dialog, M as DialogClose, N as DialogContent, O as DialogDescription, P as DialogFooter, Q as DialogHeader, R as DialogOverlay, S as DialogPortal, T as DialogPresentation, U as DialogTitle, V as DialogTrigger, W as DictateContextValue, X as DocumentEntity, Y as DocumentEntityProps, Z as DocumentLike, _ as DropdownMenu, $ as DropdownMenuCheckboxItem, a0 as DropdownMenuContent, a1 as DropdownMenuGroup, a2 as DropdownMenuItem, a3 as DropdownMenuLabel, a4 as DropdownMenuPortal, a5 as DropdownMenuRadioGroup, a6 as DropdownMenuRadioItem, a7 as DropdownMenuSeparator, a8 as DropdownMenuShortcut, a9 as DropdownMenuSub, aa as DropdownMenuSubContent, ab as DropdownMenuSubTrigger, ac as DropdownMenuTrigger, ad as ENTITY_MAPPINGS, ae as EntityAction, af as EntityActionsMenu, ag as EntityIcon, ah as EntityIconComponent, ai as EntityLabelForm, aj as EntityNoun, ak as EntityPill, al as EntityRegistryOverride, am as EntitySize, an as EntityType, ao as EntityVocabulary, ap as FileTypeIcon, aq as FolderTreeNode, ar as FormatRelativeTimeOptions, as as HoverCard, at as HoverCardContent, au as HoverCardTrigger, av as IconToggle, aw as IconToggleProps, ax as IdentityBusy, ay as IdentityProblem, az as IdentityPurchase, aA as IdentityState, aB as IdentityStatus, aC as IdentityStep, aD as IdentityVerificationFlow, aE as Input, aF as InputProps, aG as Label, aH as MarkMenu, aI as MarkMenuItem, aJ as MarkMenuProps, aK as MarkdownCode, aL as MarkdownLink, aM as MarkdownRenderer, aN as MarkdownRendererProps, aO as MarkdownStreamingContext, aP as NEUTRAL_GRAY, aQ as PLACEHOLDER_COLOR, aR as PRESENTATIONS_FOLDER, aS as PRESENTATION_TEMPLATES_FOLDER, aT as PassageCard, aU as PassageCardProps, aV as Popover, aW as PopoverAnchor, aX as PopoverClose, aY as PopoverContent, aZ as PopoverTrigger, a_ as PortalContainerProvider, a$ as PresenceDisplayStatus, b0 as PresenceLabel, b1 as Progress, b2 as ProjectEntity, b3 as ProjectEntityProps, b4 as ProjectRelation, b5 as ProviderIcon, b6 as RadioGroup, b7 as RadioGroupItem, b8 as Rag, b9 as SHARING_LABELS, ba as ScrollArea, bb as ScrollBar, bc as Select, bd as SelectContent, be as SelectGroup, bf as SelectItem, bg as SelectLabel, bh as SelectScrollDownButton, bi as SelectScrollUpButton, bj as SelectSeparator, bk as SelectTrigger, bl as SelectValue, bm as Separator, bn as SharingEntity, bo as SharingEntityProps, bp as SharingLabels, bq as ShieldIcon, br as ShieldIconProps, bs as Slider, bt as StatusBadgeComponent, bu as StatusBadgeProps, bv as StatusPill, bw as StatusPillProps, bx as StatusVariant, by as Switch, bz as TAG_TYPE_ICONS, bA as TAG_TYPE_LABELS, bB as Table, bC as TableBody, bD as TableCaption, bE as TableCell, bF as TableFooter, bG as TableHead, bH as TableHeader, bI as TableRow, bJ as Tabs, bK as TabsContent, bL as TabsList, bM as TabsTrigger, bN as TagEntity, bO as TagEntityProps, bP as TagLike, bQ as Textarea, bR as TextareaProps, bS as ThreadVisibilityIcon, bT as Toggle, bU as ToggleGroup, bV as ToggleGroupItem, bW as Tooltip, bX as TooltipContent, bY as TooltipProvider, bZ as TooltipTrigger, b_ as UserEntity, b$ as UserEntityProps, c0 as UserMenu, c1 as UserMenuItem, c2 as UserMenuProps, c3 as UserMenuStatus, c4 as VISIBILITY_ICONS, c5 as VerifiedBadge, c6 as VerifiedBadgeProps, c7 as VerifiedToggle, c8 as VisibilityIcon, c9 as VisibilityToggle, ca as VisibilityToggleProps, cb as agentAvatarColors, cc as badgeVariants, cd as buildFolderTree, ce as buttonVariants, cf as canonicalFolderPath, cg as cardVariants, ch as closeOpenEmphasis, ci as cn, cj as configureEntityRegistry, ck as configureEntityVocabulary, cl as configureRagLabels, cm as configureSharingLabels, cn as configureSharingMembers, co as configureStatusRegistry, cp as createUserAvatarIcon, cq as entityNoun, cr as extensionFromMime, cs as formatCompactLastSeen, ct as formatDocDate, cu as formatFolderLabel, cv as formatFriendlyDate, cw as formatRelativeTime, cx as friendlyFileType, cy as getDocIcon, cz as getDocumentAuthor, cA as getDocumentDate, cB as getDocumentNature, cC as getDocumentSubject, cD as getDocumentTitle, cE as getEntityColor, cF as getEntityColorStyles, cG as getEntityIcon, cH as getEntityLabel, cI as getFileExtension, cJ as getFileTypeIcon, cK as getSharingLabels, cL as getStatusVariant, cM as getTagTypeIcon, cN as getTagTypeLabel, cO as getUserAvatarColor, cP as getUserDisplayName, cQ as getUserInitials, cR as getWorkspaceColor, cS as isAgent, cT as isAudioFile, cU as isDocumentAddableToConversation, cV as isDownloadOnlyFile, cW as isImageDocument, cX as isImageFile, cY as isMediaFile, cZ as isPresentationFileName, c_ as isVideoFile, c$ as markdownBaseComponents, d0 as markdownSanitizeSchema, d1 as markdownToPlainText, d2 as markdownToPlainTextBlocks, d4 as splitMarkdownBlocks, d5 as tagKindNouns, d6 as tagKindTitle, d7 as toggleVariants, d8 as trimOpenCitation, d9 as useDictateContext, da as usePortalContainer, db as usesOriginalBytesForViewer } from '../index.d-EQ3JdYWy.js';
2
2
  export { L as LazyChunk, l as lazyChunk, a as lazyComponent, p as preloadChunks } from '../lazy-chunk.d-B6YDLMKI.js';
3
3
  import 'clsx';
4
4
  import 'react';
package/dist/workforce.js CHANGED
@@ -321,6 +321,25 @@ function useUpdateWorkflow() {
321
321
  onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.workflows() })
322
322
  });
323
323
  }
324
+ function useAuthorizeWorkflow() {
325
+ const arbi = useArbi();
326
+ const qc = useQueryClient();
327
+ return useMutation({
328
+ mutationFn: ({
329
+ workflowId,
330
+ accessSeconds
331
+ }) => arbi.workflows.authorize(workflowId, accessSeconds),
332
+ onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.workflows() })
333
+ });
334
+ }
335
+ function useDeauthorizeWorkflow() {
336
+ const arbi = useArbi();
337
+ const qc = useQueryClient();
338
+ return useMutation({
339
+ mutationFn: (workflowId) => arbi.workflows.deauthorize(workflowId),
340
+ onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.workflows() })
341
+ });
342
+ }
324
343
  function useDeleteWorkflow() {
325
344
  const arbi = useArbi();
326
345
  const qc = useQueryClient();
@@ -603,6 +622,7 @@ export {
603
622
  useAgentSession,
604
623
  useAgentWorkspaces,
605
624
  useAuthorizeLimits,
625
+ useAuthorizeWorkflow,
606
626
  useCanEditShared,
607
627
  useCloseAgentSession,
608
628
  useConversationActivity,
@@ -613,6 +633,7 @@ export {
613
633
  useCreateAgent,
614
634
  useCreateWork,
615
635
  useCreateWorkflow,
636
+ useDeauthorizeWorkflow,
616
637
  useDeleteConversation,
617
638
  useDeleteSkill,
618
639
  useDeleteWorkflow,