@arbidocs/react 0.5.124 → 0.5.126

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 (44) hide show
  1. package/dist/artifacts/index.cjs +81 -38
  2. package/dist/artifacts/index.cjs.map +1 -1
  3. package/dist/artifacts/index.d.ts +3 -0
  4. package/dist/artifacts/useArtifactSession.js +48 -4
  5. package/dist/artifacts/useArtifactSession.js.map +2 -2
  6. package/dist/artifacts/versions.js +2 -1
  7. package/dist/artifacts/versions.js.map +2 -2
  8. package/dist/calls/livekit/index.cjs +42 -42
  9. package/dist/chat/turn-flush.js +3 -3
  10. package/dist/chat/turn-flush.js.map +2 -2
  11. package/dist/{chunk-AB2A6F6T.cjs → chunk-4NGWDVHD.cjs} +15 -6
  12. package/dist/chunk-4NGWDVHD.cjs.map +1 -0
  13. package/dist/{chunk-WUYSVTKE.cjs → chunk-6RRKO4ZK.cjs} +4 -4
  14. package/dist/{chunk-WUYSVTKE.cjs.map → chunk-6RRKO4ZK.cjs.map} +1 -1
  15. package/dist/{chunk-FAJLJDWS.cjs → chunk-FOBB5U4Y.cjs} +5 -5
  16. package/dist/{chunk-FAJLJDWS.cjs.map → chunk-FOBB5U4Y.cjs.map} +1 -1
  17. package/dist/{chunk-3JAEX57E.cjs → chunk-G5DYDBQN.cjs} +4 -4
  18. package/dist/{chunk-3JAEX57E.cjs.map → chunk-G5DYDBQN.cjs.map} +1 -1
  19. package/dist/{chunk-7L7QRIQ2.cjs → chunk-H3XHBIZ6.cjs} +5 -5
  20. package/dist/{chunk-7L7QRIQ2.cjs.map → chunk-H3XHBIZ6.cjs.map} +1 -1
  21. package/dist/{chunk-NDIKMOBJ.cjs → chunk-KULS4YWP.cjs} +4 -3
  22. package/dist/chunk-KULS4YWP.cjs.map +1 -0
  23. package/dist/{chunk-GKGAPU6T.cjs → chunk-NK5KFHXP.cjs} +17 -2
  24. package/dist/chunk-NK5KFHXP.cjs.map +1 -0
  25. package/dist/{chunk-K6ELFSG6.cjs → chunk-TNJ5T2MV.cjs} +25 -25
  26. package/dist/{chunk-K6ELFSG6.cjs.map → chunk-TNJ5T2MV.cjs.map} +1 -1
  27. package/dist/document-tools/core.cjs +97 -97
  28. package/dist/document-tools/core.d.ts +1 -0
  29. package/dist/document-tools/index.cjs +99 -99
  30. package/dist/entities/EntityPill.js +12 -4
  31. package/dist/entities/EntityPill.js.map +2 -2
  32. package/dist/entities/SharingEntity.js +1 -0
  33. package/dist/entities/SharingEntity.js.map +2 -2
  34. package/dist/index.cjs +1013 -1020
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/{index.d-CXjQ1akb.d.ts → index.d-DbcrFwS6.d.ts} +2 -0
  37. package/dist/index.d.ts +15 -13
  38. package/dist/shell/index.cjs +38 -38
  39. package/dist/ui/index.cjs +151 -151
  40. package/dist/ui/index.d.ts +1 -1
  41. package/package.json +3 -3
  42. package/dist/chunk-AB2A6F6T.cjs.map +0 -1
  43. package/dist/chunk-GKGAPU6T.cjs.map +0 -1
  44. package/dist/chunk-NDIKMOBJ.cjs.map +0 -1
@@ -988,6 +988,8 @@ interface EntityPillProps {
988
988
  href?: string;
989
989
  /** Whether the pill is disabled */
990
990
  disabled?: boolean;
991
+ /** For a pill that toggles a state on click: that state, exposed as `aria-pressed`. */
992
+ pressed?: boolean;
991
993
  /** Tooltip for main area (describes primary action, e.g., "View document") */
992
994
  tooltipContent?: React__default.ReactNode;
993
995
  /** Test ID for testing */
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-CXjQ1akb.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-CXjQ1akb.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-DbcrFwS6.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-DbcrFwS6.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';
@@ -3157,20 +3157,12 @@ declare function createStreamHandlers(ctx: StreamHandlerContext, params: StreamH
3157
3157
  /** The stream handlers of this host's chat (its cache, session and chat host). */
3158
3158
  declare function useStreamHandlers(): (params: StreamHandlerParams) => StreamHandlers;
3159
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
- */
3160
+ /** Mounted editors save their local changes before any chat turn reads the workspace. */
3166
3161
  type Flush = () => Promise<void>;
3167
3162
  /** While mounted, `flush` saves `documentId`'s unsaved changes; returns the unregister. */
3168
3163
  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;
3164
+ /** Save every mounted editor before a turn reads workspace documents. */
3165
+ declare function flushDocumentForTurn(_documentId: string | null | undefined): Promise<void> | null;
3174
3166
 
3175
3167
  /**
3176
3168
  * A conversation's bound document in the query cache, and the writes that change it on the server.
@@ -3508,6 +3500,7 @@ declare function useConversationDocuments(): {
3508
3500
  config_ext_id?: string | null;
3509
3501
  parent_ext_id?: string | null;
3510
3502
  current_version: number;
3503
+ autosave: boolean;
3511
3504
  versions: components["schemas"]["DocVersion"][];
3512
3505
  thread_id?: string | null;
3513
3506
  derived_from: components["schemas"]["DerivedFrom"][];
@@ -4380,6 +4373,7 @@ declare function useDocumentVersionList(docId: string | null | undefined, option
4380
4373
  n_chunks?: number | null | undefined;
4381
4374
  made_from?: number | null | undefined;
4382
4375
  is_current: boolean;
4376
+ autosave: boolean;
4383
4377
  markup_revision: number;
4384
4378
  markup_count: number;
4385
4379
  source_message_ext_id?: string | null | undefined;
@@ -8533,6 +8527,7 @@ declare function useSetSkillVisibility(): _tanstack_react_query.UseMutationResul
8533
8527
  config_ext_id?: string | null | undefined;
8534
8528
  parent_ext_id?: string | null | undefined;
8535
8529
  current_version: number;
8530
+ autosave: boolean;
8536
8531
  versions: {
8537
8532
  n: number;
8538
8533
  created_at?: string | null | undefined;
@@ -8547,6 +8542,7 @@ declare function useSetSkillVisibility(): _tanstack_react_query.UseMutationResul
8547
8542
  n_chunks?: number | null | undefined;
8548
8543
  made_from?: number | null | undefined;
8549
8544
  is_current: boolean;
8545
+ autosave: boolean;
8550
8546
  markup_revision: number;
8551
8547
  markup_count: number;
8552
8548
  source_message_ext_id?: string | null | undefined;
@@ -13270,6 +13266,7 @@ declare function useWorkspaceDocs(workspaceId?: string): {
13270
13266
  config_ext_id?: string | null;
13271
13267
  parent_ext_id?: string | null;
13272
13268
  current_version: number;
13269
+ autosave: boolean;
13273
13270
  versions: _arbidocs_client.components["schemas"]["DocVersion"][];
13274
13271
  thread_id?: string | null;
13275
13272
  derived_from: _arbidocs_client.components["schemas"]["DerivedFrom"][];
@@ -14770,6 +14767,7 @@ declare function useDocuments(workspaceId?: string | null, options?: {
14770
14767
  config_ext_id?: string | null;
14771
14768
  parent_ext_id?: string | null;
14772
14769
  current_version: number;
14770
+ autosave: boolean;
14773
14771
  versions: _arbidocs_client.components["schemas"]["DocVersion"][];
14774
14772
  thread_id?: string | null;
14775
14773
  derived_from: _arbidocs_client.components["schemas"]["DerivedFrom"][];
@@ -14813,6 +14811,7 @@ declare function useDocument(docId: string | null | undefined, options?: {
14813
14811
  config_ext_id?: string | null;
14814
14812
  parent_ext_id?: string | null;
14815
14813
  current_version: number;
14814
+ autosave: boolean;
14816
14815
  versions: _arbidocs_client.components["schemas"]["DocVersion"][];
14817
14816
  thread_id?: string | null;
14818
14817
  derived_from: _arbidocs_client.components["schemas"]["DerivedFrom"][];
@@ -14995,6 +14994,7 @@ declare function useUpdateDocuments(): _tanstack_react_query.UseMutationResult<{
14995
14994
  config_ext_id?: string | null;
14996
14995
  parent_ext_id?: string | null;
14997
14996
  current_version: number;
14997
+ autosave: boolean;
14998
14998
  versions: components["schemas"]["DocVersion"][];
14999
14999
  thread_id?: string | null;
15000
15000
  derived_from: components["schemas"]["DerivedFrom"][];
@@ -15043,6 +15043,7 @@ interface UploadUrlsInput {
15043
15043
  declare function useUploadUrls(): _tanstack_react_query.UseMutationResult<{
15044
15044
  doc_ext_ids?: string[] | undefined;
15045
15045
  version?: number | null | undefined;
15046
+ autosave?: boolean | null | undefined;
15046
15047
  batch_id?: string | null | undefined;
15047
15048
  skipped?: {
15048
15049
  file_name: string;
@@ -15772,6 +15773,7 @@ declare function useKeepDocumentsOffline(): _tanstack_react_query.UseMutationRes
15772
15773
  config_ext_id?: string | null;
15773
15774
  parent_ext_id?: string | null;
15774
15775
  current_version: number;
15776
+ autosave: boolean;
15775
15777
  versions: _arbidocs_client.components["schemas"]["DocVersion"][];
15776
15778
  thread_id?: string | null;
15777
15779
  derived_from: _arbidocs_client.components["schemas"]["DerivedFrom"][];
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkWUYSVTKE_cjs = require('../chunk-WUYSVTKE.cjs');
3
+ var chunk6RRKO4ZK_cjs = require('../chunk-6RRKO4ZK.cjs');
4
4
  var chunkIX4HOS5Z_cjs = require('../chunk-IX4HOS5Z.cjs');
5
5
  require('../chunk-N73IMVFF.cjs');
6
- require('../chunk-NDIKMOBJ.cjs');
6
+ require('../chunk-KULS4YWP.cjs');
7
7
  require('../chunk-VOFNX4P6.cjs');
8
8
  require('../chunk-KC474WVG.cjs');
9
9
  require('../chunk-HJDR5HEO.cjs');
@@ -14,147 +14,147 @@ require('../chunk-S6A6FSG7.cjs');
14
14
 
15
15
  Object.defineProperty(exports, "ArbiHost", {
16
16
  enumerable: true,
17
- get: function () { return chunkWUYSVTKE_cjs.ArbiHost; }
17
+ get: function () { return chunk6RRKO4ZK_cjs.ArbiHost; }
18
18
  });
19
19
  Object.defineProperty(exports, "DEFAULT_ASSISTANT_NAME", {
20
20
  enumerable: true,
21
- get: function () { return chunkWUYSVTKE_cjs.DEFAULT_ASSISTANT_NAME; }
21
+ get: function () { return chunk6RRKO4ZK_cjs.DEFAULT_ASSISTANT_NAME; }
22
22
  });
23
23
  Object.defineProperty(exports, "LEGACY_THREAD_DOCUMENTS_KEY", {
24
24
  enumerable: true,
25
- get: function () { return chunkWUYSVTKE_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
25
+ get: function () { return chunk6RRKO4ZK_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
26
26
  });
27
27
  Object.defineProperty(exports, "MENTION_HREF_PREFIX", {
28
28
  enumerable: true,
29
- get: function () { return chunkWUYSVTKE_cjs.MENTION_HREF_PREFIX; }
29
+ get: function () { return chunk6RRKO4ZK_cjs.MENTION_HREF_PREFIX; }
30
30
  });
31
31
  Object.defineProperty(exports, "NotificationBell", {
32
32
  enumerable: true,
33
- get: function () { return chunkWUYSVTKE_cjs.NotificationBell; }
33
+ get: function () { return chunk6RRKO4ZK_cjs.NotificationBell; }
34
34
  });
35
35
  Object.defineProperty(exports, "Toaster", {
36
36
  enumerable: true,
37
- get: function () { return chunkWUYSVTKE_cjs.Toaster; }
37
+ get: function () { return chunk6RRKO4ZK_cjs.Toaster; }
38
38
  });
39
39
  Object.defineProperty(exports, "UNBOUND", {
40
40
  enumerable: true,
41
- get: function () { return chunkWUYSVTKE_cjs.UNBOUND; }
41
+ get: function () { return chunk6RRKO4ZK_cjs.UNBOUND; }
42
42
  });
43
43
  Object.defineProperty(exports, "assistantCopy", {
44
44
  enumerable: true,
45
- get: function () { return chunkWUYSVTKE_cjs.assistantCopy; }
45
+ get: function () { return chunk6RRKO4ZK_cjs.assistantCopy; }
46
46
  });
47
47
  Object.defineProperty(exports, "bindingOfRow", {
48
48
  enumerable: true,
49
- get: function () { return chunkWUYSVTKE_cjs.bindingOfRow; }
49
+ get: function () { return chunk6RRKO4ZK_cjs.bindingOfRow; }
50
50
  });
51
51
  Object.defineProperty(exports, "clearSearchSession", {
52
52
  enumerable: true,
53
- get: function () { return chunkWUYSVTKE_cjs.clearSearchSession; }
53
+ get: function () { return chunk6RRKO4ZK_cjs.clearSearchSession; }
54
54
  });
55
55
  Object.defineProperty(exports, "createSearchSession", {
56
56
  enumerable: true,
57
- get: function () { return chunkWUYSVTKE_cjs.createSearchSession; }
57
+ get: function () { return chunk6RRKO4ZK_cjs.createSearchSession; }
58
58
  });
59
59
  Object.defineProperty(exports, "extractMentions", {
60
60
  enumerable: true,
61
- get: function () { return chunkWUYSVTKE_cjs.extractMentions; }
61
+ get: function () { return chunk6RRKO4ZK_cjs.extractMentions; }
62
62
  });
63
63
  Object.defineProperty(exports, "filterMentionCandidates", {
64
64
  enumerable: true,
65
- get: function () { return chunkWUYSVTKE_cjs.filterMentionCandidates; }
65
+ get: function () { return chunk6RRKO4ZK_cjs.filterMentionCandidates; }
66
66
  });
67
67
  Object.defineProperty(exports, "findMentionQuery", {
68
68
  enumerable: true,
69
- get: function () { return chunkWUYSVTKE_cjs.findMentionQuery; }
69
+ get: function () { return chunk6RRKO4ZK_cjs.findMentionQuery; }
70
70
  });
71
71
  Object.defineProperty(exports, "forgetLegacyThreadDocuments", {
72
72
  enumerable: true,
73
- get: function () { return chunkWUYSVTKE_cjs.forgetLegacyThreadDocuments; }
73
+ get: function () { return chunk6RRKO4ZK_cjs.forgetLegacyThreadDocuments; }
74
74
  });
75
75
  Object.defineProperty(exports, "hasMessageBody", {
76
76
  enumerable: true,
77
- get: function () { return chunkWUYSVTKE_cjs.hasMessageBody; }
77
+ get: function () { return chunk6RRKO4ZK_cjs.hasMessageBody; }
78
78
  });
79
79
  Object.defineProperty(exports, "insertMention", {
80
80
  enumerable: true,
81
- get: function () { return chunkWUYSVTKE_cjs.insertMention; }
81
+ get: function () { return chunk6RRKO4ZK_cjs.insertMention; }
82
82
  });
83
83
  Object.defineProperty(exports, "isSlideDeck", {
84
84
  enumerable: true,
85
- get: function () { return chunkWUYSVTKE_cjs.isSlideDeck; }
85
+ get: function () { return chunk6RRKO4ZK_cjs.isSlideDeck; }
86
86
  });
87
87
  Object.defineProperty(exports, "latestThreadOfDocument", {
88
88
  enumerable: true,
89
- get: function () { return chunkWUYSVTKE_cjs.latestThreadOfDocument; }
89
+ get: function () { return chunk6RRKO4ZK_cjs.latestThreadOfDocument; }
90
90
  });
91
91
  Object.defineProperty(exports, "linkMentions", {
92
92
  enumerable: true,
93
- get: function () { return chunkWUYSVTKE_cjs.linkMentions; }
93
+ get: function () { return chunk6RRKO4ZK_cjs.linkMentions; }
94
94
  });
95
95
  Object.defineProperty(exports, "mentionFromHref", {
96
96
  enumerable: true,
97
- get: function () { return chunkWUYSVTKE_cjs.mentionFromHref; }
97
+ get: function () { return chunk6RRKO4ZK_cjs.mentionFromHref; }
98
98
  });
99
99
  Object.defineProperty(exports, "openDocumentId", {
100
100
  enumerable: true,
101
- get: function () { return chunkWUYSVTKE_cjs.openDocumentId; }
101
+ get: function () { return chunk6RRKO4ZK_cjs.openDocumentId; }
102
102
  });
103
103
  Object.defineProperty(exports, "opensInWord", {
104
104
  enumerable: true,
105
- get: function () { return chunkWUYSVTKE_cjs.opensInWord; }
105
+ get: function () { return chunk6RRKO4ZK_cjs.opensInWord; }
106
106
  });
107
107
  Object.defineProperty(exports, "persistSearchSession", {
108
108
  enumerable: true,
109
- get: function () { return chunkWUYSVTKE_cjs.persistSearchSession; }
109
+ get: function () { return chunk6RRKO4ZK_cjs.persistSearchSession; }
110
110
  });
111
111
  Object.defineProperty(exports, "readLegacyThreadDocuments", {
112
112
  enumerable: true,
113
- get: function () { return chunkWUYSVTKE_cjs.readLegacyThreadDocuments; }
113
+ get: function () { return chunk6RRKO4ZK_cjs.readLegacyThreadDocuments; }
114
114
  });
115
115
  Object.defineProperty(exports, "requestSearch", {
116
116
  enumerable: true,
117
- get: function () { return chunkWUYSVTKE_cjs.requestSearch; }
117
+ get: function () { return chunk6RRKO4ZK_cjs.requestSearch; }
118
118
  });
119
119
  Object.defineProperty(exports, "savedDocumentIdFor", {
120
120
  enumerable: true,
121
- get: function () { return chunkWUYSVTKE_cjs.savedDocumentIdFor; }
121
+ get: function () { return chunk6RRKO4ZK_cjs.savedDocumentIdFor; }
122
122
  });
123
123
  Object.defineProperty(exports, "sharedSearchSession", {
124
124
  enumerable: true,
125
- get: function () { return chunkWUYSVTKE_cjs.sharedSearchSession; }
125
+ get: function () { return chunk6RRKO4ZK_cjs.sharedSearchSession; }
126
126
  });
127
127
  Object.defineProperty(exports, "takeDocumentForTurn", {
128
128
  enumerable: true,
129
- get: function () { return chunkWUYSVTKE_cjs.takeDocumentForTurn; }
129
+ get: function () { return chunk6RRKO4ZK_cjs.takeDocumentForTurn; }
130
130
  });
131
131
  Object.defineProperty(exports, "takePendingSearch", {
132
132
  enumerable: true,
133
- get: function () { return chunkWUYSVTKE_cjs.takePendingSearch; }
133
+ get: function () { return chunk6RRKO4ZK_cjs.takePendingSearch; }
134
134
  });
135
135
  Object.defineProperty(exports, "toMessageMentions", {
136
136
  enumerable: true,
137
- get: function () { return chunkWUYSVTKE_cjs.toMessageMentions; }
137
+ get: function () { return chunk6RRKO4ZK_cjs.toMessageMentions; }
138
138
  });
139
139
  Object.defineProperty(exports, "useAssistantCopy", {
140
140
  enumerable: true,
141
- get: function () { return chunkWUYSVTKE_cjs.useAssistantCopy; }
141
+ get: function () { return chunk6RRKO4ZK_cjs.useAssistantCopy; }
142
142
  });
143
143
  Object.defineProperty(exports, "useAssistantName", {
144
144
  enumerable: true,
145
- get: function () { return chunkWUYSVTKE_cjs.useAssistantName; }
145
+ get: function () { return chunk6RRKO4ZK_cjs.useAssistantName; }
146
146
  });
147
147
  Object.defineProperty(exports, "useOpenDocumentId", {
148
148
  enumerable: true,
149
- get: function () { return chunkWUYSVTKE_cjs.useOpenDocumentId; }
149
+ get: function () { return chunk6RRKO4ZK_cjs.useOpenDocumentId; }
150
150
  });
151
151
  Object.defineProperty(exports, "useRegisterOpenDocument", {
152
152
  enumerable: true,
153
- get: function () { return chunkWUYSVTKE_cjs.useRegisterOpenDocument; }
153
+ get: function () { return chunk6RRKO4ZK_cjs.useRegisterOpenDocument; }
154
154
  });
155
155
  Object.defineProperty(exports, "useTurnDocumentId", {
156
156
  enumerable: true,
157
- get: function () { return chunkWUYSVTKE_cjs.useTurnDocumentId; }
157
+ get: function () { return chunk6RRKO4ZK_cjs.useTurnDocumentId; }
158
158
  });
159
159
  Object.defineProperty(exports, "clearChatArtifacts", {
160
160
  enumerable: true,