@arbidocs/react 0.5.120 → 0.5.121

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.
Files changed (88) hide show
  1. package/dist/PdfViewerImpl-ZVJZ4KNW.cjs +22 -0
  2. package/dist/PdfViewerImpl-ZVJZ4KNW.cjs.map +1 -0
  3. package/dist/{PdfViewerImpl.d-B28hLEuj.d.ts → PdfViewerImpl.d-CqnEzQO7.d.ts} +9 -1
  4. package/dist/annotations/freeze/index.d.ts +1 -1
  5. package/dist/artifacts/artifact-kind.js +1 -0
  6. package/dist/artifacts/artifact-kind.js.map +2 -2
  7. package/dist/artifacts/index.cjs +3 -2
  8. package/dist/artifacts/index.cjs.map +1 -1
  9. package/dist/artifacts/index.d.ts +3 -2
  10. package/dist/calls/livekit/index.cjs +41 -41
  11. package/dist/chat/turn-flush.js +16 -0
  12. package/dist/chat/turn-flush.js.map +7 -0
  13. package/dist/chat/useConversationActions.js +3 -0
  14. package/dist/chat/useConversationActions.js.map +2 -2
  15. package/dist/{chunk-QP3WQSAA.cjs → chunk-4B2GW3AY.cjs} +3 -3
  16. package/dist/{chunk-QP3WQSAA.cjs.map → chunk-4B2GW3AY.cjs.map} +1 -1
  17. package/dist/{chunk-YMB6XUR2.cjs → chunk-7L7QRIQ2.cjs} +11 -7
  18. package/dist/chunk-7L7QRIQ2.cjs.map +1 -0
  19. package/dist/{chunk-KDYYAZXP.cjs → chunk-DLEHM4IA.cjs} +227 -155
  20. package/dist/chunk-DLEHM4IA.cjs.map +1 -0
  21. package/dist/{PdfViewerImpl-QUSDLNNM.cjs → chunk-ICBT2XGF.cjs} +5 -2
  22. package/dist/chunk-ICBT2XGF.cjs.map +1 -0
  23. package/dist/{chunk-AJRYZ3IC.cjs → chunk-K6ELFSG6.cjs} +3 -3
  24. package/dist/{chunk-AJRYZ3IC.cjs.map → chunk-K6ELFSG6.cjs.map} +1 -1
  25. package/dist/chunk-MAOGK7IC.cjs +61 -0
  26. package/dist/chunk-MAOGK7IC.cjs.map +1 -0
  27. package/dist/{chunk-5TRUFWKT.cjs → chunk-X5OZRLFZ.cjs} +5 -5
  28. package/dist/{chunk-5TRUFWKT.cjs.map → chunk-X5OZRLFZ.cjs.map} +1 -1
  29. package/dist/{chunk-C72FSQUE.cjs → chunk-Z3W4XFWB.cjs} +3 -3
  30. package/dist/{chunk-C72FSQUE.cjs.map → chunk-Z3W4XFWB.cjs.map} +1 -1
  31. package/dist/datasets/sources/documents.js +1 -1
  32. package/dist/datasets/sources/documents.js.map +2 -2
  33. package/dist/document-tools/core.cjs +80 -80
  34. package/dist/document-tools/images-to-pdf.js +43 -0
  35. package/dist/document-tools/images-to-pdf.js.map +7 -0
  36. package/dist/document-tools/index.cjs +184 -80
  37. package/dist/document-tools/index.cjs.map +1 -1
  38. package/dist/document-tools/index.d.ts +41 -1
  39. package/dist/document-tools/index.js +6 -1
  40. package/dist/document-tools/index.js.map +2 -2
  41. package/dist/document-tools/pdf-attachments.js +63 -0
  42. package/dist/document-tools/pdf-attachments.js.map +7 -0
  43. package/dist/entities/DocumentEntity.js +7 -2
  44. package/dist/entities/DocumentEntity.js.map +2 -2
  45. package/dist/entities/file-type.js +14 -2
  46. package/dist/entities/file-type.js.map +2 -2
  47. package/dist/entities/index.js +9 -1
  48. package/dist/entities/index.js.map +2 -2
  49. package/dist/icons/PresIcon.js +53 -0
  50. package/dist/icons/PresIcon.js.map +7 -0
  51. package/dist/icons/colors.js +2 -0
  52. package/dist/icons/colors.js.map +2 -2
  53. package/dist/icons/file-type.js +3 -0
  54. package/dist/icons/file-type.js.map +2 -2
  55. package/dist/icons/index.js +2 -0
  56. package/dist/icons/index.js.map +2 -2
  57. package/dist/index.cjs +898 -865
  58. package/dist/index.cjs.map +1 -1
  59. package/dist/{index.d-DYlUprG9.d.ts → index.d-D2puqWeN.d.ts} +17 -3
  60. package/dist/index.d.ts +41 -8
  61. package/dist/index.js +1 -0
  62. package/dist/index.js.map +2 -2
  63. package/dist/pdf-region-impl-ZG5G2OX2.cjs +98 -0
  64. package/dist/pdf-region-impl-ZG5G2OX2.cjs.map +1 -0
  65. package/dist/session/documents.js +9 -5
  66. package/dist/session/documents.js.map +2 -2
  67. package/dist/shell/index.cjs +37 -37
  68. package/dist/ui/index.cjs +182 -170
  69. package/dist/ui/index.d.ts +1 -1
  70. package/dist/ui/slider.js +7 -1
  71. package/dist/ui/slider.js.map +2 -2
  72. package/dist/viewers/PdfViewer.cjs +3 -3
  73. package/dist/viewers/PdfViewer.d.ts +2 -2
  74. package/dist/viewers/PdfViewerImpl.js +4 -1
  75. package/dist/viewers/PdfViewerImpl.js.map +2 -2
  76. package/dist/viewers/index.cjs +28 -3
  77. package/dist/viewers/index.cjs.map +1 -1
  78. package/dist/viewers/index.d.ts +68 -2
  79. package/dist/viewers/index.js +14 -0
  80. package/dist/viewers/index.js.map +2 -2
  81. package/dist/viewers/pdf-region-impl.js +96 -0
  82. package/dist/viewers/pdf-region-impl.js.map +7 -0
  83. package/dist/viewers/pdf-region.js +57 -0
  84. package/dist/viewers/pdf-region.js.map +7 -0
  85. package/package.json +3 -3
  86. package/dist/PdfViewerImpl-QUSDLNNM.cjs.map +0 -1
  87. package/dist/chunk-KDYYAZXP.cjs.map +0 -1
  88. package/dist/chunk-YMB6XUR2.cjs.map +0 -1
@@ -891,6 +891,7 @@ declare function extensionFromMime(mime?: string | null): string;
891
891
  declare function getFileTypeIcon(fileName?: string | null, opts?: {
892
892
  mime?: string | null;
893
893
  defaultToPdf?: boolean;
894
+ folder?: string | null;
894
895
  }): FileTypeIcon;
895
896
 
896
897
  /** Pick the best brand mark for a model. We prefer the *product* logo
@@ -1029,7 +1030,9 @@ declare function isImageDocument(document: {
1029
1030
  * Documents card) has to draw the same PDF/image/audio/video/email glyph, or
1030
1031
  * the same file looks like two different things in two places.
1031
1032
  */
1032
- declare function getDocIcon(fileName?: string | null, iconSize?: number): React__default.ReactNode;
1033
+ declare function getDocIcon(fileName?: string | null, iconSize?: number,
1034
+ /** The document's folder: a PDF in Presentations is a presentation. */
1035
+ folder?: string | null): React__default.ReactNode;
1033
1036
  interface DocumentEntityProps {
1034
1037
  doc: DocumentLike;
1035
1038
  /** Override the default file-type icon */
@@ -1817,7 +1820,18 @@ declare function isDownloadOnlyFile(fileName: string | null | undefined): boolea
1817
1820
  * 3. ``file_name`` extension as a last-resort fallback.
1818
1821
  * 4. ``"Other"``.
1819
1822
  */
1820
- declare function friendlyFileType(fileType?: string | null, fileName?: string | null): string;
1823
+ /** Where presentations are saved (Files › Presentations), and their templates. */
1824
+ declare const PRESENTATIONS_FOLDER = "Presentations";
1825
+ declare const PRESENTATION_TEMPLATES_FOLDER = "Presentations/Templates";
1826
+ /**
1827
+ * A presentation: a PowerPoint file (`.pptx`; one saved by ARBI carries its editable data inside).
1828
+ * Presentations saved before they were PowerPoint files are known too: a PDF kept in Files ›
1829
+ * Presentations or its Templates, `….presentation.pdf`, or `….presentation.json` (the data alone).
1830
+ */
1831
+ declare function isPresentationFileName(fileName?: string | null, folder?: string | null): boolean;
1832
+ declare function friendlyFileType(fileType?: string | null, fileName?: string | null,
1833
+ /** The document's folder: a PDF in Presentations is a presentation. */
1834
+ folder?: string | null): string;
1821
1835
 
1822
1836
  /** The one relative-time formatter: the notification bell, the DM kit, thread lists, webinar
1823
1837
  * panels, workspace cards, connector syncs and studio widgets all use it (no type imports, so the
@@ -2063,4 +2077,4 @@ declare function createUserAvatarIcon(user: {
2063
2077
 
2064
2078
  declare function cn(...inputs: ClassValue[]): string;
2065
2079
 
2066
- export { DropdownMenuContent as $, ARBI_MARK_SRC as A, BASE_COLORS as B, COLUMN_LABEL_FALLBACKS as C, CommandItem as D, CommandList as E, CommandSeparator as F, CommandShortcut as G, DEFAULT_METADATA_TAGS as H, DebouncedInput as I, type DebouncedInputProps as J, Dialog as K, DialogClose as L, DialogContent as M, DialogDescription as N, DialogFooter as O, DialogHeader as P, DialogOverlay as Q, DialogPortal as R, type DialogPresentation as S, DialogTitle as T, DialogTrigger as U, type DictateContextValue as V, DocumentEntity as W, type DocumentEntityProps as X, type DocumentLike as Y, DropdownMenu as Z, DropdownMenuCheckboxItem as _, AgentBadge as a, type ProjectRelation as a$, DropdownMenuGroup as a0, DropdownMenuItem as a1, DropdownMenuLabel as a2, DropdownMenuPortal as a3, DropdownMenuRadioGroup as a4, DropdownMenuRadioItem as a5, DropdownMenuSeparator as a6, DropdownMenuShortcut as a7, DropdownMenuSub as a8, DropdownMenuSubContent as a9, type IdentityVerificationFlow as aA, Input as aB, type InputProps as aC, Label as aD, MarkMenu as aE, type MarkMenuItem as aF, type MarkMenuProps as aG, MarkdownCode as aH, MarkdownLink as aI, MarkdownRenderer as aJ, type MarkdownRendererProps as aK, MarkdownStreamingContext as aL, NEUTRAL_GRAY as aM, PLACEHOLDER_COLOR as aN, PassageCard as aO, type PassageCardProps as aP, Popover as aQ, PopoverAnchor as aR, PopoverClose as aS, PopoverContent as aT, PopoverTrigger as aU, PortalContainerProvider as aV, type PresenceDisplayStatus as aW, PresenceLabel as aX, Progress as aY, ProjectEntity as aZ, type ProjectEntityProps as a_, DropdownMenuSubTrigger as aa, DropdownMenuTrigger as ab, ENTITY_MAPPINGS as ac, EntityIcon as ad, type EntityIconComponent as ae, type EntityLabelForm as af, type EntityNoun as ag, EntityPill as ah, type EntityRegistryOverride as ai, type EntitySize as aj, type EntityType as ak, type EntityVocabulary as al, type FileTypeIcon as am, type FolderTreeNode as an, type FormatRelativeTimeOptions as ao, HoverCard as ap, HoverCardContent as aq, HoverCardTrigger as ar, IconToggle as as, type IconToggleProps as at, type IdentityBusy as au, type IdentityProblem as av, type IdentityPurchase as aw, type IdentityState as ax, type IdentityStatus as ay, type IdentityStep as az, AiMarkdown as b, VerifiedBadge as b$, ProviderIcon as b0, RadioGroup as b1, RadioGroupItem as b2, type Rag as b3, SHARING_LABELS as b4, ScrollArea as b5, ScrollBar as b6, Select as b7, SelectContent as b8, SelectGroup as b9, TableHead as bA, TableHeader as bB, TableRow as bC, Tabs as bD, TabsContent as bE, TabsList as bF, TabsTrigger as bG, TagEntity as bH, type TagEntityProps as bI, type TagLike as bJ, Textarea as bK, type TextareaProps as bL, ThreadVisibilityIcon as bM, Toggle as bN, ToggleGroup as bO, ToggleGroupItem as bP, Tooltip as bQ, TooltipContent as bR, TooltipProvider as bS, TooltipTrigger as bT, UserEntity as bU, type UserEntityProps as bV, UserMenu as bW, type UserMenuItem as bX, type UserMenuProps as bY, type UserMenuStatus as bZ, VISIBILITY_ICONS as b_, SelectItem as ba, SelectLabel as bb, SelectScrollDownButton as bc, SelectScrollUpButton as bd, SelectSeparator as be, SelectTrigger as bf, SelectValue as bg, Separator as bh, SharingEntity as bi, type SharingEntityProps as bj, ShieldIcon as bk, type ShieldIconProps as bl, Slider as bm, type StatusBadgeComponent as bn, type StatusBadgeProps as bo, StatusPill as bp, type StatusPillProps as bq, type StatusVariant as br, Switch as bs, TAG_TYPE_ICONS as bt, TAG_TYPE_LABELS as bu, Table as bv, TableBody as bw, TableCaption as bx, TableCell as by, TableFooter as bz, ArbiIcon as c, trimOpenCitation as c$, type VerifiedBadgeProps as c0, VerifiedToggle as c1, VisibilityIcon as c2, VisibilityToggle as c3, type VisibilityToggleProps as c4, agentAvatarColors as c5, badgeVariants as c6, buildFolderTree as c7, buttonVariants as c8, canonicalFolderPath as c9, getEntityLabel as cA, getFileExtension as cB, getFileTypeIcon as cC, getStatusVariant as cD, getTagTypeIcon as cE, getTagTypeLabel as cF, getUserAvatarColor as cG, getUserDisplayName as cH, getUserInitials as cI, getWorkspaceColor as cJ, isAgent as cK, isAudioFile as cL, isDocumentAddableToConversation as cM, isDownloadOnlyFile as cN, isImageDocument as cO, isImageFile as cP, isMediaFile as cQ, isVideoFile as cR, markdownBaseComponents as cS, markdownSanitizeSchema as cT, markdownToPlainText as cU, markdownToPlainTextBlocks as cV, normalizeCitationMarkup as cW, splitMarkdownBlocks as cX, tagKindNouns as cY, tagKindTitle as cZ, toggleVariants as c_, cardVariants as ca, closeOpenEmphasis as cb, cn as cc, configureEntityRegistry as cd, configureEntityVocabulary as ce, configureRagLabels as cf, configureSharingMembers as cg, configureStatusRegistry as ch, createUserAvatarIcon as ci, entityNoun as cj, extensionFromMime as ck, formatCompactLastSeen as cl, formatDocDate as cm, formatFolderLabel as cn, formatFriendlyDate as co, formatRelativeTime as cp, friendlyFileType as cq, getDocIcon as cr, getDocumentAuthor as cs, getDocumentDate as ct, getDocumentNature as cu, getDocumentSubject as cv, getDocumentTitle as cw, getEntityColor as cx, getEntityColorStyles as cy, getEntityIcon as cz, Avatar as d, useDictateContext as d0, usePortalContainer as d1, usesOriginalBytesForViewer as d2, AvatarFallback as e, AvatarImage as f, Badge as g, type BadgeProps as h, Button as i, type ButtonProps as j, Card as k, CardContent as l, CardDescription as m, CardFooter as n, CardHeader as o, type CardProps as p, CardTitle as q, Checkbox as r, Collapsible as s, CollapsibleContent as t, CollapsibleTrigger as u, Command as v, CommandDialog as w, CommandEmpty as x, CommandGroup as y, CommandInput as z };
2080
+ export { DropdownMenuContent as $, ARBI_MARK_SRC as A, BASE_COLORS as B, COLUMN_LABEL_FALLBACKS as C, CommandItem as D, CommandList as E, CommandSeparator as F, CommandShortcut as G, DEFAULT_METADATA_TAGS as H, DebouncedInput as I, type DebouncedInputProps as J, Dialog as K, DialogClose as L, DialogContent as M, DialogDescription as N, DialogFooter as O, DialogHeader as P, DialogOverlay as Q, DialogPortal as R, type DialogPresentation as S, DialogTitle as T, DialogTrigger as U, type DictateContextValue as V, DocumentEntity as W, type DocumentEntityProps as X, type DocumentLike as Y, DropdownMenu as Z, DropdownMenuCheckboxItem as _, AgentBadge as a, ProjectEntity as a$, DropdownMenuGroup as a0, DropdownMenuItem as a1, DropdownMenuLabel as a2, DropdownMenuPortal as a3, DropdownMenuRadioGroup as a4, DropdownMenuRadioItem as a5, DropdownMenuSeparator as a6, DropdownMenuShortcut as a7, DropdownMenuSub as a8, DropdownMenuSubContent as a9, type IdentityVerificationFlow as aA, Input as aB, type InputProps as aC, Label as aD, MarkMenu as aE, type MarkMenuItem as aF, type MarkMenuProps as aG, MarkdownCode as aH, MarkdownLink as aI, MarkdownRenderer as aJ, type MarkdownRendererProps as aK, MarkdownStreamingContext as aL, NEUTRAL_GRAY as aM, PLACEHOLDER_COLOR as aN, PRESENTATIONS_FOLDER as aO, PRESENTATION_TEMPLATES_FOLDER as aP, PassageCard as aQ, type PassageCardProps as aR, Popover as aS, PopoverAnchor as aT, PopoverClose as aU, PopoverContent as aV, PopoverTrigger as aW, PortalContainerProvider as aX, type PresenceDisplayStatus as aY, PresenceLabel as aZ, Progress as a_, DropdownMenuSubTrigger as aa, DropdownMenuTrigger as ab, ENTITY_MAPPINGS as ac, EntityIcon as ad, type EntityIconComponent as ae, type EntityLabelForm as af, type EntityNoun as ag, EntityPill as ah, type EntityRegistryOverride as ai, type EntitySize as aj, type EntityType as ak, type EntityVocabulary as al, type FileTypeIcon as am, type FolderTreeNode as an, type FormatRelativeTimeOptions as ao, HoverCard as ap, HoverCardContent as aq, HoverCardTrigger as ar, IconToggle as as, type IconToggleProps as at, type IdentityBusy as au, type IdentityProblem as av, type IdentityPurchase as aw, type IdentityState as ax, type IdentityStatus as ay, type IdentityStep as az, AiMarkdown as b, type UserMenuStatus as b$, type ProjectEntityProps as b0, type ProjectRelation as b1, ProviderIcon as b2, RadioGroup as b3, RadioGroupItem as b4, type Rag as b5, SHARING_LABELS as b6, ScrollArea as b7, ScrollBar as b8, Select as b9, TableCell as bA, TableFooter as bB, TableHead as bC, TableHeader as bD, TableRow as bE, Tabs as bF, TabsContent as bG, TabsList as bH, TabsTrigger as bI, TagEntity as bJ, type TagEntityProps as bK, type TagLike as bL, Textarea as bM, type TextareaProps as bN, ThreadVisibilityIcon as bO, Toggle as bP, ToggleGroup as bQ, ToggleGroupItem as bR, Tooltip as bS, TooltipContent as bT, TooltipProvider as bU, TooltipTrigger as bV, UserEntity as bW, type UserEntityProps as bX, UserMenu as bY, type UserMenuItem as bZ, type UserMenuProps as b_, SelectContent as ba, SelectGroup as bb, SelectItem as bc, SelectLabel as bd, SelectScrollDownButton as be, SelectScrollUpButton as bf, SelectSeparator as bg, SelectTrigger as bh, SelectValue as bi, Separator as bj, SharingEntity as bk, type SharingEntityProps as bl, ShieldIcon as bm, type ShieldIconProps as bn, Slider as bo, type StatusBadgeComponent as bp, type StatusBadgeProps as bq, StatusPill as br, type StatusPillProps as bs, type StatusVariant as bt, Switch as bu, TAG_TYPE_ICONS as bv, TAG_TYPE_LABELS as bw, Table as bx, TableBody as by, TableCaption as bz, ArbiIcon as c, tagKindNouns as c$, VISIBILITY_ICONS as c0, VerifiedBadge as c1, type VerifiedBadgeProps as c2, VerifiedToggle as c3, VisibilityIcon as c4, VisibilityToggle as c5, type VisibilityToggleProps as c6, agentAvatarColors as c7, badgeVariants as c8, buildFolderTree as c9, getEntityColorStyles as cA, getEntityIcon as cB, getEntityLabel as cC, getFileExtension as cD, getFileTypeIcon as cE, getStatusVariant as cF, getTagTypeIcon as cG, getTagTypeLabel as cH, getUserAvatarColor as cI, getUserDisplayName as cJ, getUserInitials as cK, getWorkspaceColor as cL, isAgent as cM, isAudioFile as cN, isDocumentAddableToConversation as cO, isDownloadOnlyFile as cP, isImageDocument as cQ, isImageFile as cR, isMediaFile as cS, isPresentationFileName as cT, isVideoFile as cU, markdownBaseComponents as cV, markdownSanitizeSchema as cW, markdownToPlainText as cX, markdownToPlainTextBlocks as cY, normalizeCitationMarkup as cZ, splitMarkdownBlocks as c_, buttonVariants as ca, canonicalFolderPath as cb, cardVariants as cc, closeOpenEmphasis as cd, cn as ce, configureEntityRegistry as cf, configureEntityVocabulary as cg, configureRagLabels as ch, configureSharingMembers as ci, configureStatusRegistry as cj, createUserAvatarIcon as ck, entityNoun as cl, extensionFromMime as cm, formatCompactLastSeen as cn, formatDocDate as co, formatFolderLabel as cp, formatFriendlyDate as cq, formatRelativeTime as cr, friendlyFileType as cs, getDocIcon as ct, getDocumentAuthor as cu, getDocumentDate as cv, getDocumentNature as cw, getDocumentSubject as cx, getDocumentTitle as cy, getEntityColor as cz, Avatar as d, tagKindTitle as d0, toggleVariants as d1, trimOpenCitation as d2, useDictateContext as d3, usePortalContainer as d4, usesOriginalBytesForViewer as d5, AvatarFallback as e, AvatarImage as f, Badge as g, type BadgeProps as h, Button as i, type ButtonProps as j, Card as k, CardContent as l, CardDescription as m, CardFooter as n, CardHeader as o, type CardProps as p, CardTitle as q, Checkbox as r, Collapsible as s, CollapsibleContent as t, CollapsibleTrigger as u, Command as v, CommandDialog as w, CommandEmpty as x, CommandGroup as y, CommandInput as z };
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 { ay as IdentityStatus, aw as IdentityPurchase, az as IdentityStep, aA as IdentityVerificationFlow, V as DictateContextValue, al as EntityVocabulary, ae as EntityIconComponent, aj as EntitySize } from './index.d-DYlUprG9.js';
10
- export { A as ARBI_MARK_SRC, a as AgentBadge, b as AiMarkdown, c as ArbiIcon, d as Avatar, e as AvatarFallback, f as AvatarImage, B as BASE_COLORS, g as Badge, h as BadgeProps, i as Button, j as ButtonProps, C as COLUMN_LABEL_FALLBACKS, k as Card, l as CardContent, m as CardDescription, n as CardFooter, o as CardHeader, p as CardProps, q as CardTitle, r as Checkbox, s as Collapsible, t as CollapsibleContent, u as CollapsibleTrigger, v as Command, w as CommandDialog, x as CommandEmpty, y as CommandGroup, z as CommandInput, D as CommandItem, E as CommandList, F as CommandSeparator, G as CommandShortcut, H as DEFAULT_METADATA_TAGS, I as DebouncedInput, J as DebouncedInputProps, K as Dialog, L as DialogClose, M as DialogContent, N as DialogDescription, O as DialogFooter, P as DialogHeader, Q as DialogOverlay, R as DialogPortal, S as DialogPresentation, T as DialogTitle, U as DialogTrigger, W as DocumentEntity, X as DocumentEntityProps, Y as DocumentLike, Z as DropdownMenu, _ as DropdownMenuCheckboxItem, $ as DropdownMenuContent, a0 as DropdownMenuGroup, a1 as DropdownMenuItem, a2 as DropdownMenuLabel, a3 as DropdownMenuPortal, a4 as DropdownMenuRadioGroup, a5 as DropdownMenuRadioItem, a6 as DropdownMenuSeparator, a7 as DropdownMenuShortcut, a8 as DropdownMenuSub, a9 as DropdownMenuSubContent, aa as DropdownMenuSubTrigger, ab as DropdownMenuTrigger, ac as ENTITY_MAPPINGS, ad as EntityIcon, af as EntityLabelForm, ag as EntityNoun, ah as EntityPill, ai as EntityRegistryOverride, ak as EntityType, am as FileTypeIcon, an as FolderTreeNode, ap as HoverCard, aq as HoverCardContent, ar as HoverCardTrigger, as as IconToggle, at as IconToggleProps, au as IdentityBusy, av as IdentityProblem, ax as IdentityState, aB as Input, aC as InputProps, aD as Label, aE as MarkMenu, aF as MarkMenuItem, aG as MarkMenuProps, aH as MarkdownCode, aI as MarkdownLink, aJ as MarkdownRenderer, aK as MarkdownRendererProps, aL as MarkdownStreamingContext, aM as NEUTRAL_GRAY, aN as PLACEHOLDER_COLOR, aO as PassageCard, aP as PassageCardProps, aQ as Popover, aR as PopoverAnchor, aS as PopoverClose, aT as PopoverContent, aU as PopoverTrigger, aV as PortalContainerProvider, aW as PresenceDisplayStatus, aX as PresenceLabel, aY as Progress, aZ as ProjectEntity, a_ as ProjectEntityProps, a$ as ProjectRelation, b0 as ProviderIcon, b1 as RadioGroup, b2 as RadioGroupItem, b3 as Rag, b4 as SHARING_LABELS, b5 as ScrollArea, b6 as ScrollBar, b7 as Select, b8 as SelectContent, b9 as SelectGroup, ba as SelectItem, bb as SelectLabel, bc as SelectScrollDownButton, bd as SelectScrollUpButton, be as SelectSeparator, bf as SelectTrigger, bg as SelectValue, bh as Separator, bi as SharingEntity, bj as SharingEntityProps, bk as ShieldIcon, bl as ShieldIconProps, bm as Slider, bn as StatusBadgeComponent, bo as StatusBadgeProps, bp as StatusPill, bq as StatusPillProps, br as StatusVariant, bs as Switch, bt as TAG_TYPE_ICONS, bu as TAG_TYPE_LABELS, bv as Table, bw as TableBody, bx as TableCaption, by as TableCell, bz as TableFooter, bA as TableHead, bB as TableHeader, bC as TableRow, bD as Tabs, bE as TabsContent, bF as TabsList, bG as TabsTrigger, bH as TagEntity, bI as TagEntityProps, bJ as TagLike, bK as Textarea, bL as TextareaProps, bM as ThreadVisibilityIcon, bN as Toggle, bO as ToggleGroup, bP as ToggleGroupItem, bQ as Tooltip, bR as TooltipContent, bS as TooltipProvider, bT as TooltipTrigger, bU as UserEntity, bV as UserEntityProps, bW as UserMenu, bX as UserMenuItem, bY as UserMenuProps, bZ as UserMenuStatus, b_ as VISIBILITY_ICONS, b$ as VerifiedBadge, c0 as VerifiedBadgeProps, c1 as VerifiedToggle, c2 as VisibilityIcon, c3 as VisibilityToggle, c4 as VisibilityToggleProps, c5 as agentAvatarColors, c6 as badgeVariants, c7 as buildFolderTree, c8 as buttonVariants, c9 as canonicalFolderPath, ca as cardVariants, cb as closeOpenEmphasis, cc as cn, cd as configureEntityRegistry, ce as configureEntityVocabulary, cf as configureRagLabels, cg as configureSharingMembers, ch as configureStatusRegistry, ci as createUserAvatarIcon, cj as entityNoun, ck as extensionFromMime, cl as formatCompactLastSeen, cm as formatDocDate, cn as formatFolderLabel, co as formatFriendlyDate, cp as formatRelativeTime, cq as friendlyFileType, cr as getDocIcon, cs as getDocumentAuthor, ct as getDocumentDate, cu as getDocumentNature, cv as getDocumentSubject, cw as getDocumentTitle, cx as getEntityColor, cy as getEntityColorStyles, cz as getEntityIcon, cA as getEntityLabel, cB as getFileExtension, cC as getFileTypeIcon, cD as getStatusVariant, cE as getTagTypeIcon, cF as getTagTypeLabel, cG as getUserAvatarColor, cH as getUserDisplayName, cI as getUserInitials, cJ as getWorkspaceColor, cK as isAgent, cL as isAudioFile, cM as isDocumentAddableToConversation, cN as isDownloadOnlyFile, cO as isImageDocument, cP as isImageFile, cQ as isMediaFile, cR as isVideoFile, cS as markdownBaseComponents, cT as markdownSanitizeSchema, cU as markdownToPlainText, cV as markdownToPlainTextBlocks, cW as normalizeCitationMarkup, cX as splitMarkdownBlocks, cY as tagKindNouns, cZ as tagKindTitle, c_ as toggleVariants, c$ as trimOpenCitation, d0 as useDictateContext, d1 as usePortalContainer, d2 as usesOriginalBytesForViewer } from './index.d-DYlUprG9.js';
9
+ import { ay as IdentityStatus, aw as IdentityPurchase, az as IdentityStep, aA as IdentityVerificationFlow, V as DictateContextValue, al as EntityVocabulary, ae as EntityIconComponent, aj as EntitySize } from './index.d-D2puqWeN.js';
10
+ export { A as ARBI_MARK_SRC, a as AgentBadge, b as AiMarkdown, c as ArbiIcon, d as Avatar, e as AvatarFallback, f as AvatarImage, B as BASE_COLORS, g as Badge, h as BadgeProps, i as Button, j as ButtonProps, C as COLUMN_LABEL_FALLBACKS, k as Card, l as CardContent, m as CardDescription, n as CardFooter, o as CardHeader, p as CardProps, q as CardTitle, r as Checkbox, s as Collapsible, t as CollapsibleContent, u as CollapsibleTrigger, v as Command, w as CommandDialog, x as CommandEmpty, y as CommandGroup, z as CommandInput, D as CommandItem, E as CommandList, F as CommandSeparator, G as CommandShortcut, H as DEFAULT_METADATA_TAGS, I as DebouncedInput, J as DebouncedInputProps, K as Dialog, L as DialogClose, M as DialogContent, N as DialogDescription, O as DialogFooter, P as DialogHeader, Q as DialogOverlay, R as DialogPortal, S as DialogPresentation, T as DialogTitle, U as DialogTrigger, W as DocumentEntity, X as DocumentEntityProps, Y as DocumentLike, Z as DropdownMenu, _ as DropdownMenuCheckboxItem, $ as DropdownMenuContent, a0 as DropdownMenuGroup, a1 as DropdownMenuItem, a2 as DropdownMenuLabel, a3 as DropdownMenuPortal, a4 as DropdownMenuRadioGroup, a5 as DropdownMenuRadioItem, a6 as DropdownMenuSeparator, a7 as DropdownMenuShortcut, a8 as DropdownMenuSub, a9 as DropdownMenuSubContent, aa as DropdownMenuSubTrigger, ab as DropdownMenuTrigger, ac as ENTITY_MAPPINGS, ad as EntityIcon, af as EntityLabelForm, ag as EntityNoun, ah as EntityPill, ai as EntityRegistryOverride, ak as EntityType, am as FileTypeIcon, an as FolderTreeNode, ap as HoverCard, aq as HoverCardContent, ar as HoverCardTrigger, as as IconToggle, at as IconToggleProps, au as IdentityBusy, av as IdentityProblem, ax as IdentityState, aB as Input, aC as InputProps, aD as Label, aE as MarkMenu, aF as MarkMenuItem, aG as MarkMenuProps, aH as MarkdownCode, aI as MarkdownLink, aJ as MarkdownRenderer, aK as MarkdownRendererProps, aL as MarkdownStreamingContext, aM as NEUTRAL_GRAY, aN as PLACEHOLDER_COLOR, aO as PRESENTATIONS_FOLDER, aP as PRESENTATION_TEMPLATES_FOLDER, aQ as PassageCard, aR as PassageCardProps, aS as Popover, aT as PopoverAnchor, aU as PopoverClose, aV as PopoverContent, aW as PopoverTrigger, aX as PortalContainerProvider, aY as PresenceDisplayStatus, aZ as PresenceLabel, a_ as Progress, a$ as ProjectEntity, b0 as ProjectEntityProps, b1 as ProjectRelation, b2 as ProviderIcon, b3 as RadioGroup, b4 as RadioGroupItem, b5 as Rag, b6 as SHARING_LABELS, b7 as ScrollArea, b8 as ScrollBar, b9 as Select, ba as SelectContent, bb as SelectGroup, bc as SelectItem, bd as SelectLabel, be as SelectScrollDownButton, bf as SelectScrollUpButton, bg as SelectSeparator, bh as SelectTrigger, bi as SelectValue, bj as Separator, bk as SharingEntity, bl as SharingEntityProps, bm as ShieldIcon, bn as ShieldIconProps, bo as Slider, bp as StatusBadgeComponent, bq as StatusBadgeProps, br as StatusPill, bs as StatusPillProps, bt as StatusVariant, bu as Switch, bv as TAG_TYPE_ICONS, bw as TAG_TYPE_LABELS, bx as Table, by as TableBody, bz as TableCaption, bA as TableCell, bB as TableFooter, bC as TableHead, bD as TableHeader, bE as TableRow, bF as Tabs, bG as TabsContent, bH as TabsList, bI as TabsTrigger, bJ as TagEntity, bK as TagEntityProps, bL as TagLike, bM as Textarea, bN as TextareaProps, bO as ThreadVisibilityIcon, bP as Toggle, bQ as ToggleGroup, bR as ToggleGroupItem, bS as Tooltip, bT as TooltipContent, bU as TooltipProvider, bV as TooltipTrigger, bW as UserEntity, bX as UserEntityProps, bY as UserMenu, bZ as UserMenuItem, b_ as UserMenuProps, b$ as UserMenuStatus, c0 as VISIBILITY_ICONS, c1 as VerifiedBadge, c2 as VerifiedBadgeProps, c3 as VerifiedToggle, c4 as VisibilityIcon, c5 as VisibilityToggle, c6 as VisibilityToggleProps, c7 as agentAvatarColors, c8 as badgeVariants, c9 as buildFolderTree, ca as buttonVariants, cb as canonicalFolderPath, cc as cardVariants, cd as closeOpenEmphasis, ce as cn, cf as configureEntityRegistry, cg as configureEntityVocabulary, ch as configureRagLabels, ci as configureSharingMembers, cj as configureStatusRegistry, ck as createUserAvatarIcon, cl as entityNoun, cm as extensionFromMime, cn as formatCompactLastSeen, co as formatDocDate, cp as formatFolderLabel, cq as formatFriendlyDate, cr as formatRelativeTime, cs as friendlyFileType, ct as getDocIcon, cu as getDocumentAuthor, cv as getDocumentDate, cw as getDocumentNature, cx as getDocumentSubject, cy as getDocumentTitle, cz as getEntityColor, cA as getEntityColorStyles, cB as getEntityIcon, cC as getEntityLabel, cD as getFileExtension, cE as getFileTypeIcon, cF as getStatusVariant, cG as getTagTypeIcon, cH as getTagTypeLabel, cI as getUserAvatarColor, cJ as getUserDisplayName, cK as getUserInitials, cL as getWorkspaceColor, cM as isAgent, cN as isAudioFile, cO as isDocumentAddableToConversation, cP as isDownloadOnlyFile, cQ as isImageDocument, cR as isImageFile, cS as isMediaFile, cT as isPresentationFileName, cU as isVideoFile, cV as markdownBaseComponents, cW as markdownSanitizeSchema, cX as markdownToPlainText, cY as markdownToPlainTextBlocks, cZ as normalizeCitationMarkup, c_ as splitMarkdownBlocks, c$ as tagKindNouns, d0 as tagKindTitle, d1 as toggleVariants, d2 as trimOpenCitation, d3 as useDictateContext, d4 as usePortalContainer, d5 as usesOriginalBytesForViewer } from './index.d-D2puqWeN.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-B9rlMI_E.js';
@@ -1690,7 +1690,9 @@ interface ArbiViewingDocumentInput {
1690
1690
  passageId?: string | null;
1691
1691
  }
1692
1692
  /** A tab of the document viewer. */
1693
- type ArbiViewerTab = 'pdf' | 'edit' | 'html' | 'docx' | 'xlsx' | 'versions' | 'preview';
1693
+ type ArbiViewerTab = 'pdf' | 'edit' | 'html' | 'docx' | 'xlsx' | 'versions' | 'preview'
1694
+ /** A presentation's slides, edited. */
1695
+ | 'slides';
1694
1696
  /** A comment of a Word document to open when it shows (a notification, a link). */
1695
1697
  interface ArbiDocumentCommentTarget {
1696
1698
  documentId: string;
@@ -1720,9 +1722,14 @@ interface ArbiDocumentViewerState {
1720
1722
  unsavedChanges: boolean;
1721
1723
  /** The viewer shows in a window of its own (popped out). */
1722
1724
  detached: boolean;
1725
+ /**
1726
+ * Popped out, the viewer shows only the document (no header, bars or controls): a clean view to
1727
+ * share in a call or put full screen. Applies while `detached`.
1728
+ */
1729
+ presenting: boolean;
1723
1730
  }
1724
- /** What a draft is: a text document, or a capture (a voice note, a photo, a video). */
1725
- type ArbiDraftKind = 'text' | 'audio' | 'photo' | 'video';
1731
+ /** What a draft is: a text document, a capture (a voice note, a photo, a video), or a presentation. */
1732
+ type ArbiDraftKind = 'text' | 'audio' | 'photo' | 'video' | 'presentation';
1726
1733
  /**
1727
1734
  * A document the user started on the client (a blank document, a capture), with no backend record
1728
1735
  * until it is saved. Its id is minted here (`draft-…`), never sent to the server.
@@ -3150,6 +3157,21 @@ declare function createStreamHandlers(ctx: StreamHandlerContext, params: StreamH
3150
3157
  /** The stream handlers of this host's chat (its cache, session and chat host). */
3151
3158
  declare function useStreamHandlers(): (params: StreamHandlerParams) => StreamHandlers;
3152
3159
 
3160
+ /**
3161
+ * Saving a document before a chat turn works on it. An editor whose changes live only on screen
3162
+ * (the slides editor: no live co-editing) registers how to save them; a turn that names that
3163
+ * document (`active_artifact_ext_id`) awaits it first, so ARBI reads and edits what the person
3164
+ * sees, not the version saved before their last changes.
3165
+ */
3166
+ type Flush = () => Promise<void>;
3167
+ /** While mounted, `flush` saves `documentId`'s unsaved changes; returns the unregister. */
3168
+ declare function registerDocumentTurnFlush(documentId: string, flush: Flush): () => void;
3169
+ /**
3170
+ * The save of the document a turn names, if an editor registered one; null otherwise, so a turn
3171
+ * about anything else is not delayed at all (not even by a microtask).
3172
+ */
3173
+ declare function flushDocumentForTurn(documentId: string | null | undefined): Promise<void> | null;
3174
+
3153
3175
  /**
3154
3176
  * A conversation's bound document in the query cache, and the writes that change it on the server.
3155
3177
  *
@@ -4941,6 +4963,7 @@ declare function useConfig(configId: string | null | undefined, options?: {
4941
4963
  SUGGESTED_QUERIES: boolean;
4942
4964
  ARTIFACTS_ENABLED: boolean;
4943
4965
  IMAGE_ENABLED: boolean;
4966
+ PRESENTATION_ENABLED: boolean;
4944
4967
  VISION_ENABLED: boolean;
4945
4968
  CONVERSATION_SEARCH_ENABLED: boolean;
4946
4969
  PERSONAL_AGENT: boolean;
@@ -5195,6 +5218,7 @@ declare function useConfig(configId: string | null | undefined, options?: {
5195
5218
  SUGGESTED_QUERIES: boolean;
5196
5219
  ARTIFACTS_ENABLED: boolean;
5197
5220
  IMAGE_ENABLED: boolean;
5221
+ PRESENTATION_ENABLED: boolean;
5198
5222
  VISION_ENABLED: boolean;
5199
5223
  CONVERSATION_SEARCH_ENABLED: boolean;
5200
5224
  FACTS_ENABLED: boolean;
@@ -13301,7 +13325,7 @@ declare function useAiTask(): {
13301
13325
  type: "arbi.artifact";
13302
13326
  doc_ext_id: string;
13303
13327
  title: string;
13304
- mode: "markdown" | "html" | "text" | "react" | "image";
13328
+ mode: "markdown" | "html" | "text" | "react" | "image" | "presentation";
13305
13329
  content: string;
13306
13330
  file_type: string;
13307
13331
  is_complete: boolean;
@@ -13492,11 +13516,19 @@ declare function useSemanticSearch(docIds?: string[], options?: SemanticSearchOp
13492
13516
 
13493
13517
  /** PDF file icon (red). Promoted from the ARBI app for SDK reuse. */
13494
13518
 
13519
+ interface IconProps$9 {
13520
+ size?: number;
13521
+ className?: string;
13522
+ }
13523
+ declare const PdfIcon: React__default.FC<IconProps$9>;
13524
+
13525
+ /** Presentation file icon (fuchsia, a slide on it): a saved ARBI presentation, told apart from a PDF. */
13526
+
13495
13527
  interface IconProps$8 {
13496
13528
  size?: number;
13497
13529
  className?: string;
13498
13530
  }
13499
- declare const PdfIcon: React__default.FC<IconProps$8>;
13531
+ declare const PresIcon: React__default.FC<IconProps$8>;
13500
13532
 
13501
13533
  /**
13502
13534
  * DOC Icon Component. Promoted from the ARBI app for SDK reuse.
@@ -13589,6 +13621,7 @@ declare const FILE_TYPE_COLORS: {
13589
13621
  aud: string;
13590
13622
  xls: string;
13591
13623
  eml: string;
13624
+ pres: string;
13592
13625
  txt: string;
13593
13626
  generic: string;
13594
13627
  white: string;
@@ -15924,4 +15957,4 @@ declare function useRateSupportTicket(): _tanstack_react_query.UseMutationResult
15924
15957
  rating: SupportRating;
15925
15958
  }, unknown>;
15926
15959
 
15927
- export { AGENT_CONTROL_COMMANDS, AGGREGATE_FIELDS, ALLOWED_PORTAL_ORIGINS, ANALYTICS_CHART_VIEW, ARCHIVE_POLL_MS, ASSISTANT_MENTION_LABEL, AUDIO_MIME_PREFERENCE, AUTO_CHAT_MODEL, 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 AggregateOp, AiAnswer, type AiRunOptions, type AiTaskStatus, type AnalyticsChartRequest, AppNotification, AppleIcon, type ApplyCallEventOptions, ArbiBotHeadIcon, 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 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 CreateTagInput, type CreateWorkspaceVars, type CreatedProject, type CropArea, type CropOutput, type CropResult, type CurrentWorkspace, DATABASE_RELATION_PICK_LIMIT, DATABASE_ROWS_PAGE, DEFAULT_ACTIVITY_SOURCE_LABELS, DEFAULT_ASPECT_OPTIONS, 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 DashboardStore, type DashboardsHost, type DataSource, type DataSourceFieldsState, type DataSourceOption, type DataSourceParam, type DataSourceParams, type DataSourceRef, type DataSourceRegistry, type DatabaseAggregateRequest, type DatabaseAggregateResult, type DatabaseDashboardStoreOptions, 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 DmMessage, type DmUser, DocIcon, type DocumentHostActions, type DocumentPerson, 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 FilterOp, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, 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_UPDATE_TYPES, LinkedInIcon, type LiveTask, type LocalDraft, type LocalFeatureStore, type LocalFeatureStoreOptions, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_DASHBOARD_SPEC_CHARS, 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, 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, PENDING_SYNC_PREDICATE, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, 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, type ProcessingTask, type ProfileView, 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 SavedDashboard, 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, TRANSFER_POLL_MS, type TableView, 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 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, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyLiveUpdate, applyNotificationRow, applyOptimisticDocumentEdit, applyOutputItemToMessage, applyTaskEvent, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, assistantLabels, bindThreadDocument, boundDocumentOf, browserWorkspaceStorage, bucketOf, bucketRange, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildPendingSyncItem, buildWorkspaceArchive, cacheThreadBinding, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, calendarNotificationMeta, calendarOfflineSupport, callLink, callNotificationMeta, captureFrameAsBlob, 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, createChunkedRecorder, createConversationsSource, createDataSourceRegistry, createDatabaseSource, createDebouncedWriter, createDocumentsSource, createFactsSource, createLocalFeatureStore, createMailClient, createMemoryDashboardStore, createMutedNotifier, createProjectsSource, createSealedDraftStorage, createSkillPack, createStoragePersist, createStreamHandlers, createTagsSource, createTrackCutter, createUiStateStorage, createUsageBreakdownSource, createUsageSource, createWorkflowsSource, createWorkspaceSwitch, createWorkspacesSource, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultLayoutState, defaultMailAlias, defineRowsSource, defineSkillPack, deleteLocalDraft, deleteOutboxItem, deploymentUserMeta, describeActivity, describeCalendarNotification, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, dmTabId, documentActivityMeta, documentActivityPhrase, documentDisplayName, documentMailAttachment, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, enqueueOutbox, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, filesFromDrop, fillTimeGaps, filterRows, findConversation, finishEntityExtraction, floatToWav, 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, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isMessageRunning, isNetworkFailure, isNotificationRow, isOrphanedUserMessage, isPanelOpen, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTableViewOf, isTransferFinished, isTransferResumable, isUsageMetered, isWorkingOffline, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, layoutActionsOf, loadOfflineDocument, loadAttachment as loadOfflineMailAttachment, mailConversationKey, mailDraftIdFromContent, mailJson, mailThreadRoot, markMessageAsFailed, markNarrationSettled, mergeHostConfig, migrateLegacyThreadDocuments, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nativeThreadKeys, nextAliasSuggestion, nextViewingDocument, notificationUserName, offlineMailReads, onCallEvent, openAccessRequest, openCall, openPanelIn, openRecording, panelPlace, parseActivityContent, parseDashboardSpec, parseDeleteAccountBlockers, parseSavedChat, parseSavedDocuments, parseSavedLayout, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queryOfChart, queueMailChange, queuedMessages, readLocalFeature, readWorkspaceLastOpened, recordingFiles, recordingWindowsOf, recordsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, remoteControlActions, remoteControlStateOf, removeConversationFromLists, removeSettledNarration, requestPersistentStorage, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, restoreLayout, restoreSavedDocuments, retryOutboxItem, rollbackOptimisticDocumentEdit, safePortalUrl, saveLocalDraft, saveRecordingFilesToThread, savedChatOf, savedDocumentsOf, savedLayoutOf, schedulePart, selectDraft, selectIsGenerating, selectViewingDocumentId, sendMailFile, serializeDashboardSpec, serverCallsExperimental, serverNotificationBellEntry, setCachedDocument, setMessageContent, setUserInputRequest, setWorkOfflineIn, settledByRows, signatureNotificationPhrase, signatureRequestMeta, skillPackPrompt, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startEntityExtraction, startThreadCall, startsMediaFile, stopDocumentsLoading, stripSpeakerPrefix, subscribeDocumentReads, subscribeDocumentRows, supersedeLiveTranscript, supersededTranscriptLines, supportsHouseTemplates, textToArtifact, threadBinding, threadEndingAtContains, threadPath, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toMailConversation, toNotificationPreferences, toProfileView, toRedlineMarkdown, toRemoteControlRequest, toShellWorkspace, transcribeRecording, transcriptSegmentOf, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActiveConfigId, useActivity, useAddChatMembers, useAddDatabaseRows, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArchiveProgressPolling, useArchiveWorkspace, useAskAgain, useAssignDocTags, useAssistantQuery, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBootTimeout, useBoxRole, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOfflineRuntime, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallInviteLinks, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelManyPendingSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatArrivals, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useClaimSecureMail, useCloseAgentSession, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, 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, useCreateTag, useCreateWork, useCreateWorkflow, useCreateWorkspace, useCurrentSessionId, useCurrentUser, useCurrentWorkspace, useDashboardStore, useDataSources, useDatabase, useDatabaseAggregate, useDatabaseDashboardStore, useDatabaseRows, useDatabases, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteConversation, useDeleteDashboard, useDeleteDatabase, useDeleteDatabaseRows, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectModelUsage, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDismissedTips, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useExportDatabase, useExtractEntities, useFacts, useFactsSearch, useFeature, useFeatureCheck, useFeatureSwitch, useFetchCalendarEvent, useFileWaitingNativeMail, useFinaliseTranslation, useFindTime, useFlushOutbox, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useImportDatabase, useImportDatabaseRows, useInstallSkillPack, useInvalidateAfterTransfer, useInvalidateEntitlements, useInvalidateProjects, useInvalidateStorage, useInvalidateTagData, 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, useMarkChatRead, useMarkDocumentShared, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMessageDetails, useMessageTimer, useModelConnections, useMoveEvent, useMoveWorkspaceToProject, useMyConnectors, useNameEditor, useNativeMailFiling, useNativeThreadKeys, useNotificationPreferences, useNotifications, useOfflineDocumentIds, useOfflineMailActive, useOfflineMailRuntime, useOfflineMailSettings, useOfflineMailStatus, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, useOutbox, usePanelDataset, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingMailChanges, usePendingSyncCounts, usePendingSyncItems, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectInvoices, useProjectUsage, useProjects, usePublishCalendar, useRateSupportTicket, useReadMailMessage, useReconnect, useRecordingActions, useRecordingWindows, useRefreshCalendar, useRefreshConnectorsOnRunEnd, 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, useSaveDashboard, useSaveMailDraft, useSaveModelConnection, useSaveSkill, useSaveToThread, useSavedDashboards, useSearchContacts, useSearchDatabaseRows, useSearchFacts, useSemanticSearch, useSendMail, useServerCallsEnabled, useServerCallsExperimental, useSessionPageTab, useSessionView, useSessions, useSetDeploymentHouseTemplate, useSetNativeMailFiling, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkspaceTransfer, useStopMailFilingRule, useStorageActions, useStorageItemNames, useStorageItems, useStorageProjects, useStorageSnapshots, useStreamHandlers, useSubscribeCalendar, useSupportTicket, useSupportTickets, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useSyncOfflineMailbox, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTransientView, useTriggerDriveSync, useTriggerMailboxSync, useUnarchiveWorkspace, useUnlockModelConnections, useUnreadByPeer, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDatabase, useUpdateDatabaseRow, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadFiles, useUploadFromUrls, useUploadSkillFiles, useUploadUrls, useUserDashboardStore, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkItems, useWorkOffline, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceArchive, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceProcessing, useWorkspaceRole, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceTrash, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, viewsOfTable, waitForResponseId, wipeCalendarOffline, wipeOfflineDocuments, wipeOfflineMail, withRelativePath, workflowRunTitle, workflowStepOf, workspaceHouseTemplateId, writeSamples };
15960
+ export { AGENT_CONTROL_COMMANDS, AGGREGATE_FIELDS, ALLOWED_PORTAL_ORIGINS, ANALYTICS_CHART_VIEW, ARCHIVE_POLL_MS, ASSISTANT_MENTION_LABEL, AUDIO_MIME_PREFERENCE, AUTO_CHAT_MODEL, 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 AggregateOp, AiAnswer, type AiRunOptions, type AiTaskStatus, type AnalyticsChartRequest, AppNotification, AppleIcon, type ApplyCallEventOptions, ArbiBotHeadIcon, 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 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 CreateTagInput, type CreateWorkspaceVars, type CreatedProject, type CropArea, type CropOutput, type CropResult, type CurrentWorkspace, DATABASE_RELATION_PICK_LIMIT, DATABASE_ROWS_PAGE, DEFAULT_ACTIVITY_SOURCE_LABELS, DEFAULT_ASPECT_OPTIONS, 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 DashboardStore, type DashboardsHost, type DataSource, type DataSourceFieldsState, type DataSourceOption, type DataSourceParam, type DataSourceParams, type DataSourceRef, type DataSourceRegistry, type DatabaseAggregateRequest, type DatabaseAggregateResult, type DatabaseDashboardStoreOptions, 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 DmMessage, type DmUser, DocIcon, type DocumentHostActions, type DocumentPerson, 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 FilterOp, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, 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_UPDATE_TYPES, LinkedInIcon, type LiveTask, type LocalDraft, type LocalFeatureStore, type LocalFeatureStoreOptions, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_DASHBOARD_SPEC_CHARS, 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, 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, PENDING_SYNC_PREDICATE, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, 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 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 SavedDashboard, 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, TRANSFER_POLL_MS, type TableView, 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 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, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyLiveUpdate, applyNotificationRow, applyOptimisticDocumentEdit, applyOutputItemToMessage, applyTaskEvent, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, assistantLabels, bindThreadDocument, boundDocumentOf, browserWorkspaceStorage, bucketOf, bucketRange, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildPendingSyncItem, buildWorkspaceArchive, cacheThreadBinding, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, calendarNotificationMeta, calendarOfflineSupport, callLink, callNotificationMeta, captureFrameAsBlob, 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, createChunkedRecorder, createConversationsSource, createDataSourceRegistry, createDatabaseSource, createDebouncedWriter, createDocumentsSource, createFactsSource, createLocalFeatureStore, createMailClient, createMemoryDashboardStore, createMutedNotifier, createProjectsSource, createSealedDraftStorage, createSkillPack, createStoragePersist, createStreamHandlers, createTagsSource, createTrackCutter, createUiStateStorage, createUsageBreakdownSource, createUsageSource, createWorkflowsSource, createWorkspaceSwitch, createWorkspacesSource, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultLayoutState, defaultMailAlias, defineRowsSource, defineSkillPack, deleteLocalDraft, deleteOutboxItem, deploymentUserMeta, describeActivity, describeCalendarNotification, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, dmTabId, documentActivityMeta, documentActivityPhrase, documentDisplayName, documentMailAttachment, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, enqueueOutbox, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, 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, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isMessageRunning, isNetworkFailure, isNotificationRow, isOrphanedUserMessage, isPanelOpen, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTableViewOf, isTransferFinished, isTransferResumable, isUsageMetered, isWorkingOffline, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, layoutActionsOf, loadOfflineDocument, loadAttachment as loadOfflineMailAttachment, mailConversationKey, mailDraftIdFromContent, mailJson, mailThreadRoot, markMessageAsFailed, markNarrationSettled, mergeHostConfig, migrateLegacyThreadDocuments, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nativeThreadKeys, nextAliasSuggestion, nextViewingDocument, notificationUserName, offlineMailReads, onCallEvent, openAccessRequest, openCall, openPanelIn, openRecording, panelPlace, parseActivityContent, parseDashboardSpec, parseDeleteAccountBlockers, parseSavedChat, parseSavedDocuments, parseSavedLayout, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queryOfChart, queueMailChange, queuedMessages, 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, schedulePart, selectDraft, selectIsGenerating, selectViewingDocumentId, sendMailFile, serializeDashboardSpec, serverCallsExperimental, serverNotificationBellEntry, setCachedDocument, setMessageContent, setUserInputRequest, setWorkOfflineIn, settledByRows, signatureNotificationPhrase, signatureRequestMeta, skillPackPrompt, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startEntityExtraction, startThreadCall, startsMediaFile, stopDocumentsLoading, stripSpeakerPrefix, subscribeDocumentReads, subscribeDocumentRows, supersedeLiveTranscript, supersededTranscriptLines, supportsHouseTemplates, textToArtifact, threadBinding, threadEndingAtContains, threadPath, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toMailConversation, toNotificationPreferences, toProfileView, toRedlineMarkdown, toRemoteControlRequest, toShellWorkspace, transcribeRecording, transcriptSegmentOf, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActiveConfigId, useActivity, useAddChatMembers, useAddDatabaseRows, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArchiveProgressPolling, useArchiveWorkspace, useAskAgain, useAssignDocTags, useAssistantQuery, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBootTimeout, useBoxRole, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOfflineRuntime, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallInviteLinks, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelManyPendingSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatArrivals, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useClaimSecureMail, useCloseAgentSession, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, 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, useCreateTag, useCreateWork, useCreateWorkflow, useCreateWorkspace, useCurrentSessionId, useCurrentUser, useCurrentWorkspace, useDashboardStore, useDataSources, useDatabase, useDatabaseAggregate, useDatabaseDashboardStore, useDatabaseRows, useDatabases, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteConversation, useDeleteDashboard, useDeleteDatabase, useDeleteDatabaseRows, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectModelUsage, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDismissedTips, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useExportDatabase, useExtractEntities, useFacts, useFactsSearch, useFeature, useFeatureCheck, useFeatureSwitch, useFetchCalendarEvent, useFileWaitingNativeMail, useFinaliseTranslation, useFindTime, useFlushOutbox, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useImportDatabase, useImportDatabaseRows, useInstallSkillPack, useInvalidateAfterTransfer, useInvalidateEntitlements, useInvalidateProjects, useInvalidateStorage, useInvalidateTagData, 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, useMarkChatRead, useMarkDocumentShared, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMessageDetails, useMessageTimer, useModelConnections, useMoveEvent, useMoveWorkspaceToProject, useMyConnectors, useNameEditor, useNativeMailFiling, useNativeThreadKeys, useNotificationPreferences, useNotifications, useOfflineDocumentIds, useOfflineMailActive, useOfflineMailRuntime, useOfflineMailSettings, useOfflineMailStatus, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, useOutbox, usePanelDataset, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingMailChanges, usePendingSyncCounts, usePendingSyncItems, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectInvoices, useProjectUsage, useProjects, usePublishCalendar, useRateSupportTicket, useReadMailMessage, useReconnect, useRecordingActions, useRecordingWindows, useRefreshCalendar, useRefreshConnectorsOnRunEnd, 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, useSaveDashboard, useSaveMailDraft, useSaveModelConnection, useSaveSkill, useSaveToThread, useSavedDashboards, useSearchContacts, useSearchDatabaseRows, useSearchFacts, useSemanticSearch, useSendMail, useServerCallsEnabled, useServerCallsExperimental, useSessionPageTab, useSessionView, useSessions, useSetDeploymentHouseTemplate, useSetNativeMailFiling, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkspaceTransfer, useStopMailFilingRule, useStorageActions, useStorageItemNames, useStorageItems, useStorageProjects, useStorageSnapshots, useStreamHandlers, useSubscribeCalendar, useSupportTicket, useSupportTickets, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useSyncOfflineMailbox, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTransientView, useTriggerDriveSync, useTriggerMailboxSync, useUnarchiveWorkspace, useUnlockModelConnections, useUnreadByPeer, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDatabase, useUpdateDatabaseRow, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadFiles, useUploadFromUrls, useUploadSkillFiles, useUploadUrls, useUserDashboardStore, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkItems, useWorkOffline, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceArchive, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceProcessing, useWorkspaceRole, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceTrash, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, viewsOfTable, waitForResponseId, wipeCalendarOffline, wipeOfflineDocuments, wipeOfflineMail, withRelativePath, workflowRunTitle, workflowStepOf, workspaceHouseTemplateId, writeSamples };
package/dist/index.js CHANGED
@@ -29,6 +29,7 @@ export * from "./chat/mentions.js";
29
29
  export * from "./chat/open-document.js";
30
30
  export * from "./chat/chat-artifacts.js";
31
31
  export * from "./chat/thread-document.js";
32
+ export * from "./chat/turn-flush.js";
32
33
  export * from "./chat/thread-binding.js";
33
34
  export * from "./chat/useThreadDocument.js";
34
35
  export * from "./chat/conversation-mentions.js";
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/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 useBoxRole,\n PROJECT_CREATION_DENIED_REASON,\n} 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 useUpdateWorkflow,\n useDeleteWorkflow,\n useRunWorkflow,\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 (user settings `tableviews`): a grid's columns, read by charts too\nexport {\n isTableViewOf,\n viewsOfTable,\n type TableView,\n type TableViewTable,\n} from './account/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 { useUpdateProjectFields, useProjectConversationUsage } 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 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// 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"],
5
- "mappings": "AAYA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAQK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAQK;AACP,SAAS,2BAAkD;AAC3D,cAAc;AAId;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAUK;AACP,SAAS,yBAAsD;AAE/D,SAAS,wBAAwB;AAEjC,SAAS,gCAAgC;AACzC,SAAS,uBAAuB;AAEhC,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,SAAS,0BAA0B;AACnC,SAAS,wBAAwB;AACjC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,2BAA2B;AACpC,SAAS,yBAAyB;AAClC,SAAS,gCAAgC;AACzC,SAAS,0BAA0B;AACnC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB,6BAA6B;AAC9D,SAAS,6BAA6B;AACtC,SAAS,8BAAqD;AAC9D,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAId,SAAS,YAAY,uBAA6C;AAGlE,SAAS,SA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AAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AACd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,SAAS,UAAU;AAEnB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,cAAc;AAGd,SAAS,WAAW,eAAe,qBAAqC;",
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 useBoxRole,\n PROJECT_CREATION_DENIED_REASON,\n} 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 useUpdateWorkflow,\n useDeleteWorkflow,\n useRunWorkflow,\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 (user settings `tableviews`): a grid's columns, read by charts too\nexport {\n isTableViewOf,\n viewsOfTable,\n type TableView,\n type TableViewTable,\n} from './account/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 { useUpdateProjectFields, useProjectConversationUsage } 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 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// 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"],
5
+ "mappings": "AAYA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAQK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAQK;AACP,SAAS,2BAAkD;AAC3D,cAAc;AAId;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAUK;AACP,SAAS,yBAAsD;AAE/D,SAAS,wBAAwB;AAEjC,SAAS,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AAS,aAAa,uBAAuB;AAC7C;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,SAAS,gBAAgB,gBAAgB,eAAe,oBAAoB;AACrF,SAAS,gBAAuD;AAChE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAIP,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AACd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,cAAc;AAGd,SAAS,UAAU;AAEnB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,cAAc;AAGd,SAAS,WAAW,eAAe,qBAAqC;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,98 @@
1
+ 'use strict';
2
+
3
+ var chunkMAOGK7IC_cjs = require('./chunk-MAOGK7IC.cjs');
4
+ var chunkICBT2XGF_cjs = require('./chunk-ICBT2XGF.cjs');
5
+ require('./chunk-PWGSIM3F.cjs');
6
+ require('./chunk-IU2CJNTB.cjs');
7
+ require('./chunk-T5FZICXN.cjs');
8
+ var reactPdf = require('react-pdf');
9
+
10
+ var RENDER_SLOTS = 2;
11
+ var documents = /* @__PURE__ */ new WeakMap();
12
+ function documentFor(request) {
13
+ const cached = documents.get(request.file);
14
+ if (cached) return cached;
15
+ const assets = { ...chunkICBT2XGF_cjs.DEFAULT_ASSETS, ...request.assets };
16
+ chunkICBT2XGF_cjs.ensurePdfWorker(assets.workerSrc);
17
+ const loading = request.file.arrayBuffer().then(
18
+ (buffer) => reactPdf.pdfjs.getDocument({
19
+ data: new Uint8Array(buffer),
20
+ cMapUrl: assets.cMapUrl,
21
+ cMapPacked: true,
22
+ standardFontDataUrl: assets.standardFontDataUrl,
23
+ wasmUrl: assets.wasmUrl
24
+ }).promise
25
+ );
26
+ loading.catch(() => documents.delete(request.file));
27
+ documents.set(request.file, loading);
28
+ return loading;
29
+ }
30
+ function releaseSource(file) {
31
+ const loading = documents.get(file);
32
+ if (!loading) return;
33
+ documents.delete(file);
34
+ void loading.then((doc) => doc.loadingTask.destroy()).catch(() => void 0);
35
+ }
36
+ var running = 0;
37
+ var waiting = [];
38
+ async function slot() {
39
+ if (running >= RENDER_SLOTS) await new Promise((resolve) => waiting.push(resolve));
40
+ running++;
41
+ return () => {
42
+ running--;
43
+ waiting.shift()?.();
44
+ };
45
+ }
46
+ var aborted = () => new DOMException("The clip render was superseded", "AbortError");
47
+ async function renderRegion(request) {
48
+ const { signal } = request;
49
+ const release = await slot();
50
+ try {
51
+ if (signal?.aborted) throw aborted();
52
+ const doc = await documentFor(request);
53
+ const page = await doc.getPage(request.page);
54
+ const base = page.getViewport({ scale: 1 });
55
+ const geometry = chunkMAOGK7IC_cjs.regionGeometry(
56
+ base,
57
+ request.rect,
58
+ request.width,
59
+ request.maxPixels ?? chunkMAOGK7IC_cjs.PDF_REGION_MAX_PIXELS
60
+ );
61
+ if (!geometry.width) throw new RangeError("The clip is empty");
62
+ const viewport = page.getViewport({
63
+ scale: geometry.scale,
64
+ offsetX: geometry.offsetX,
65
+ offsetY: geometry.offsetY
66
+ });
67
+ const canvas = document.createElement("canvas");
68
+ canvas.width = geometry.width;
69
+ canvas.height = geometry.height;
70
+ const task = page.render({ canvas, viewport });
71
+ const cancel = () => task.cancel();
72
+ signal?.addEventListener("abort", cancel);
73
+ try {
74
+ await task.promise;
75
+ } finally {
76
+ signal?.removeEventListener("abort", cancel);
77
+ }
78
+ if (signal?.aborted) throw aborted();
79
+ const masks = chunkMAOGK7IC_cjs.regionMasks(request.rect, request.masks ?? [], geometry);
80
+ if (masks.length) {
81
+ const context = canvas.getContext("2d");
82
+ if (!context) throw new Error("Could not draw the redactions");
83
+ context.fillStyle = "#000";
84
+ for (const m of masks) context.fillRect(m.x, m.y, m.width, m.height);
85
+ }
86
+ if (typeof createImageBitmap !== "function") return canvas;
87
+ const bitmap = await createImageBitmap(canvas);
88
+ canvas.width = canvas.height = 0;
89
+ return bitmap;
90
+ } finally {
91
+ release();
92
+ }
93
+ }
94
+
95
+ exports.releaseSource = releaseSource;
96
+ exports.renderRegion = renderRegion;
97
+ //# sourceMappingURL=pdf-region-impl-ZG5G2OX2.cjs.map
98
+ //# sourceMappingURL=pdf-region-impl-ZG5G2OX2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/viewers/pdf-region-impl.ts"],"names":["DEFAULT_ASSETS","ensurePdfWorker","pdfjs","regionGeometry","PDF_REGION_MAX_PIXELS","regionMasks"],"mappings":";;;;;;;;;AAqBA,IAAM,YAAA,GAAe,CAAA;AAErB,IAAM,SAAA,uBAAgB,OAAA,EAAoC;AAE1D,SAAS,YAAY,OAAA,EAAiD;AACpE,EAAA,MAAM,MAAA,GAAS,SAAA,CAAU,GAAA,CAAI,OAAA,CAAQ,IAAI,CAAA;AACzC,EAAA,IAAI,QAAQ,OAAO,MAAA;AACnB,EAAA,MAAM,SAAS,EAAE,GAAGA,gCAAA,EAAgB,GAAG,QAAQ,MAAA,EAAO;AACtD,EAAAC,iCAAA,CAAgB,OAAO,SAAS,CAAA;AAChC,EAAA,MAAM,OAAA,GAAU,O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AI;AACF,MAAA,MAAM,IAAA,CAAK,OAAA;AAAA,IACb,CAAA,SAAE;AACA,MAAA,MAAA,EAAQ,mBAAA,CAAoB,SAAS,MAAM,CAAA;AAAA,IAC7C;AACA,IAAA,IAAI,MAAA,EAAQ,OAAA,EAAS,MAAM,OAAA,EAAQ;AACnC,IAAA,MAAM,KAAA,GAAQC,8BAAY,OAAA,CAAQ,IAAA,EAAM,QAAQ,KAAA,IAAS,IAAI,QAAQ,CAAA;AACrE,IAAA,IAAI,MAAM,MAAA,EAAQ;AAChB,MAAA,MAAM,OAAA,GAAU,MAAA,CAAO,UAAA,CAAW,IAAI,CAAA;AACtC,MAAA,IAAI,CAAC,OAAA,EAAS,MAAM,IAAI,MAAM,+BAA+B,CAAA;AAC7D,MAAA,OAAA,CAAQ,SAAA,GAAY,MAAA;AACpB,MAAA,KAAA,MAAW,CAAA,IAAK,KAAA,EAAO,OAAA,CAAQ,QAAA,CAAS,CAAA,CAAE,CAAA,EAAG,CAAA,CAAE,CAAA,EAAG,CAAA,CAAE,KAAA,EAAO,CAAA,CAAE,MAAM,CAAA;AAAA,IACrE;AAEA,IAAA,IAAI,OAAO,iBAAA,KAAsB,UAAA,EAAY,OAAO,MAAA;AACpD,IAAA,MAAM,MAAA,GAAS,MAAM,iBAAA,CAAkB,MAAM,CAAA;AAC7C,IAAA,MAAA,CAAO,KAAA,GAAQ,OAAO,MAAA,GAAS,CAAA;AAC/B,IAAA,OAAO,MAAA;AAAA,EACT,CAAA,SAAE;AACA,IAAA,OAAA,EAAQ;AAAA,EACV;AACF","file":"pdf-region-impl-ZG5G2OX2.cjs","sourcesContent":["/**\n * The pdf.js side of `renderPdfRegion`: one loaded document per file, shared by every clip from it;\n * a page region drawn into a canvas of exactly the output size and handed back as a bitmap (no\n * image encoding). At most RENDER_SLOTS regions render at once, and a request whose signal aborts\n * is dropped before it starts or cancelled while it renders, so resizing or scrolling a clip never\n * queues up stale work.\n */\n\nimport { pdfjs } from 'react-pdf'\nimport { DEFAULT_ASSETS, ensurePdfWorker } from './PdfViewerImpl'\nimport {\n regionGeometry,\n regionMasks,\n PDF_REGION_MAX_PIXELS,\n type PdfRegionImage,\n type PdfRegionRequest,\n} from './pdf-region'\n\ntype PdfDocument = Awaited<ReturnType<typeof pdfjs.getDocument>['promise']>\n\n/** Regions rendering at once: enough to fill a slide quickly, few enough to keep the page smooth. */\nconst RENDER_SLOTS = 2\n\nconst documents = new WeakMap<Blob, Promise<PdfDocument>>()\n\nfunction documentFor(request: PdfRegionRequest): Promise<PdfDocument> {\n const cached = documents.get(request.file)\n if (cached) return cached\n const assets = { ...DEFAULT_ASSETS, ...request.assets }\n ensurePdfWorker(assets.workerSrc)\n const loading = request.file.arrayBuffer().then(\n (buffer) =>\n pdfjs.getDocument({\n data: new Uint8Array(buffer),\n cMapUrl: assets.cMapUrl,\n cMapPacked: true,\n standardFontDataUrl: assets.standardFontDataUrl,\n wasmUrl: assets.wasmUrl,\n }).promise\n )\n // A failed load is not kept: the next render tries again.\n loading.catch(() => documents.delete(request.file))\n documents.set(request.file, loading)\n return loading\n}\n\nexport function releaseSource(file: Blob): void {\n const loading = documents.get(file)\n if (!loading) return\n documents.delete(file)\n void loading.then((doc) => doc.loadingTask.destroy()).catch(() => undefined)\n}\n\nlet running = 0\nconst waiting: (() => void)[] = []\n\n/** Wait for a render slot; the returned function gives it back. */\nasync function slot(): Promise<() => void> {\n if (running >= RENDER_SLOTS) await new Promise<void>((resolve) => waiting.push(resolve))\n running++\n return () => {\n running--\n waiting.shift()?.()\n }\n}\n\nconst aborted = () => new DOMException('The clip render was superseded', 'AbortError')\n\nexport async function renderRegion(request: PdfRegionRequest): Promise<PdfRegionImage> {\n const { signal } = request\n const release = await slot()\n try {\n if (signal?.aborted) throw aborted()\n const doc = await documentFor(request)\n const page = await doc.getPage(request.page)\n const base = page.getViewport({ scale: 1 })\n const geometry = regionGeometry(\n base,\n request.rect,\n request.width,\n request.maxPixels ?? PDF_REGION_MAX_PIXELS\n )\n if (!geometry.width) throw new RangeError('The clip is empty')\n const viewport = page.getViewport({\n scale: geometry.scale,\n offsetX: geometry.offsetX,\n offsetY: geometry.offsetY,\n })\n const canvas = document.createElement('canvas')\n canvas.width = geometry.width\n canvas.height = geometry.height\n const task = page.render({ canvas, viewport })\n const cancel = () => task.cancel()\n signal?.addEventListener('abort', cancel)\n try {\n await task.promise\n } finally {\n signal?.removeEventListener('abort', cancel)\n }\n if (signal?.aborted) throw aborted()\n const masks = regionMasks(request.rect, request.masks ?? [], geometry)\n if (masks.length) {\n const context = canvas.getContext('2d')\n if (!context) throw new Error('Could not draw the redactions')\n context.fillStyle = '#000'\n for (const m of masks) context.fillRect(m.x, m.y, m.width, m.height)\n }\n // A bitmap draws fast in any window; without the API, the canvas itself is drawable.\n if (typeof createImageBitmap !== 'function') return canvas\n const bitmap = await createImageBitmap(canvas)\n canvas.width = canvas.height = 0\n return bitmap\n } finally {\n release()\n }\n}\n"]}