@arbidocs/react 0.4.140 → 0.4.141

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,15 +1,15 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, ComponentType } from 'react';
3
3
  import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
4
- import { Arbi, ArbiOptions, QueryOptions, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, ListFactsOptions, UpdateFactRequest, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, ListEventsParams, RoomQuery, CalendarWindow, OverlayLayerName, EventCreateBody, ScopedTarget, EventPatchBody, RespondParams, RoomCreateBody, CalendarEvent, FindTimeParams, ShareRole, CalendarUpdate, OAuthAccountKind, CalendarAccount, CalDavConnectBody, FeedCreateBody, DecryptedChatMessage } from '@arbidocs/sdk/browser';
4
+ import { Arbi, ArbiOptions, QueryOptions, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, ListFactsOptions, UpdateFactRequest, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, tags, TagResponse, TagKind, TagKindSchema, TagChange, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, ListEventsParams, RoomQuery, CalendarWindow, OverlayLayerName, EventCreateBody, ScopedTarget, EventPatchBody, RespondParams, RoomCreateBody, CalendarEvent, FindTimeParams, ShareRole, CalendarUpdate, OAuthAccountKind, CalendarAccount, CalDavConnectBody, FeedCreateBody, DecryptedChatMessage } from '@arbidocs/sdk/browser';
5
5
  export { ACCOUNT_VENDOR, AccountSyncResult, ActivityKind, ActivityResponse, AgentStepEvent, AppPassword, AppPasswordCreateBody, AppPasswordCreated, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AttendeeRead, AuthMode, BookingConfirmation, BookingPage, BookingPageWriteBody, BookingRequestBody, CalDavConnectBody, CalDavProfile, CalendarAccount, CalendarAccountKind, CalendarCreateBody, CalendarEvent, CalendarRead, CalendarSettings, CalendarSettingsBody, CalendarUpdate, CalendarWindow, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, DateTimeSpec, EditScope, EventCreateBody, EventPatchBody, FactResponse, FactSearchRequest, FactSearchResponse, FeedCreateBody, FeedLevel, FindTimeParams, FreeBusyEntry, HolidayCountry, ImportResult, InvitationRead, ListEventsParams, LoginProfile, MessageMetadataPayload, OAuthAccountKind, OutputTokensDetails, OverlayItem, OverlayLayerName, PendingAuthResponse, PersonKey, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, PublicBookingError, PublicBookingPage, QueryOptions, RespondParams, RespondPartstat, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, RoomCreateBody, RoomQuery, RoomRead, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, ScopedTarget, ShareRead, ShareRole, SkillSummary, SubscribeParams, TaskPlan, TimeSuggestion, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WeeklyHoursSpec, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, bookPublicSlot, cancelPublicBooking, formatGbp, formatGbpPerMillionTokens, getPublicBookingPage, splitAppPasswords, usdToGbp } from '@arbidocs/sdk/browser';
6
6
  import * as _arbidocs_client from '@arbidocs/client';
7
- import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components, RecoveryKeyParams } from '@arbidocs/client';
7
+ import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, ArbiClient, components, RecoveryKeyParams } from '@arbidocs/client';
8
8
  export { WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePostedMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
9
9
  import * as zustand from 'zustand';
10
10
  import * as _tanstack_query_core from '@tanstack/query-core';
11
11
  import * as _tanstack_react_query from '@tanstack/react-query';
12
- import { QueryClient } from '@tanstack/react-query';
12
+ import { QueryClient, MutationKey } from '@tanstack/react-query';
13
13
  import { ar as IdentityStatus, ap as IdentityPurchase, as as IdentityStep, at as IdentityVerificationFlow, ae as EntityIconComponent } from './index-2Y2MVegs.cjs';
14
14
  export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as DebouncedInput, G as DebouncedInputProps, H as Dialog, I as DialogClose, J as DialogContent, K as DialogDescription, L as DialogFooter, M as DialogHeader, N as DialogOverlay, O as DialogPortal, P as DialogPresentation, Q as DialogTitle, R as DialogTrigger, S as DictateContextValue, T as DictateProvider, U as DocumentCard, V as DocumentCardProps, 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 EntityPill, ag as EntityRegistryOverride, ah as EntityType, ai as HoverCard, aj as HoverCardContent, ak as HoverCardTrigger, al as IconToggle, am as IconToggleProps, an as IdentityBusy, ao as IdentityProblem, aq as IdentityState, au as Input, av as InputProps, aw as Label, ax as MarkMenu, ay as MarkMenuItem, az as MarkMenuProps, aA as MarkdownCode, aB as MarkdownLink, aC as MarkdownRenderer, aD as MarkdownRendererProps, aE as MarkdownStreamingContext, aF as NEUTRAL_GRAY, aG as PLACEHOLDER_COLOR, aH as PassageCard, aI as PassageCardProps, aJ as Popover, aK as PopoverAnchor, aL as PopoverClose, aM as PopoverContent, aN as PopoverTrigger, aO as PortalContainerProvider, aP as PresenceDisplayStatus, aQ as PresenceLabel, aR as Progress, aS as ProjectEntity, aT as ProjectEntityProps, aU as ProjectRelation, aV as RadioGroup, aW as RadioGroupItem, aX as Rag, aY as RagDot, aZ as RelevanceDot, a_ as ScrollArea, a$ as ScrollBar, b0 as Select, b1 as SelectContent, b2 as SelectGroup, b3 as SelectItem, b4 as SelectLabel, b5 as SelectScrollDownButton, b6 as SelectScrollUpButton, b7 as SelectSeparator, b8 as SelectTrigger, b9 as SelectValue, ba as Separator, bb as ShieldIcon, bc as ShieldIconProps, bd as Slider, be as StatusBadgeComponent, bf as StatusBadgeProps, bg as StatusPill, bh as StatusPillProps, bi as StatusVariant, bj as Switch, bk as TAG_TYPE_ICONS, bl as TAG_TYPE_LABELS, bm as Table, bn as TableBody, bo as TableCaption, bp as TableCell, bq as TableFooter, br as TableHead, bs as TableHeader, bt as TableRow, bu as Tabs, bv as TabsContent, bw as TabsList, bx as TabsTrigger, by as TagEntity, bz as TagEntityProps, bA as TagLike, bB as Textarea, bC as TextareaProps, bD as ThreadVisibilityIcon, bE as Toggle, bF as ToggleGroup, bG as ToggleGroupItem, bH as Tooltip, bI as TooltipContent, bJ as TooltipProvider, bK as TooltipTrigger, bL as UserEntity, bM as UserEntityProps, bN as UserMenu, bO as UserMenuItem, bP as UserMenuProps, bQ as UserMenuStatus, bR as VISIBILITY_ICONS, bS as VerifiedBadge, bT as VerifiedBadgeProps, bU as VisibilityIcon, bV as VisibilityToggle, bW as VisibilityToggleProps, bX as agentAvatarColors, bY as badgeVariants, bZ as buttonVariants, b_ as cardVariants, b$ as closeOpenEmphasis, c0 as cn, c1 as configureEntityRegistry, c2 as configureRagLabels, c3 as configureStatusRegistry, c4 as getDocIcon, c5 as getEntityColor, c6 as getEntityColorStyles, c7 as getEntityIcon, c8 as getEntityLabel, c9 as getStatusVariant, ca as getTagTypeIcon, cb as getTagTypeLabel, cc as getWorkspaceColor, cd as markdownBaseComponents, ce as markdownSanitizeSchema, cf as normalizeCitationMarkup, cg as splitMarkdownBlocks, ch as toggleVariants, ci as trimOpenCitation, cj as usePortalContainer } from './index-2Y2MVegs.cjs';
15
15
  import { VerificationResult } from '@didit-protocol/sdk-web';
@@ -547,9 +547,13 @@ declare const arbiQueryKeys: {
547
547
  /** Every workspace's conversation list (and threads): the prefix a conversation write invalidates. */
548
548
  allConversations: () => readonly ["arbi", "conversations"];
549
549
  conversationThreads: (workspaceId: string, conversationId: string) => readonly ["arbi", "conversations", string, "threads", string];
550
+ /** Every workspace's tags (lists, tables and kinds): what a cross-workspace change refreshes. */
551
+ allTags: () => readonly ["arbi", "tags"];
550
552
  tags: (workspaceId: string) => readonly ["arbi", "tags", string];
551
553
  /** Under the workspace's tags: the kinds' fields (refreshed with the tags). */
552
554
  tagKinds: (workspaceId: string) => readonly ["arbi", "tags", string, "kinds"];
555
+ /** Every filtered list (a table of tags): what a tag write refreshes, the whole list aside. */
556
+ tagLists: (workspaceId: string) => readonly ["arbi", "tags", string, "list"];
553
557
  /** Under the workspace's tags: a tag, doctag or fact write that invalidates `tags` refreshes it. */
554
558
  tagList: (workspaceId: string, query: string) => readonly ["arbi", "tags", string, "list", string];
555
559
  /** A kind's fields, under the workspace's tags. */
@@ -614,6 +618,10 @@ declare const arbiQueryKeys: {
614
618
  declare const arbiMutationKeys: {
615
619
  runWorkflow: () => readonly ["arbi", "workflows", "run"];
616
620
  updateTagKindSchema: () => readonly ["arbi", "tags", "kinds", "update"];
621
+ createTag: () => readonly ["arbi", "tags", "create"];
622
+ updateTag: () => readonly ["arbi", "tags", "update"];
623
+ deleteTag: () => readonly ["arbi", "tags", "delete"];
624
+ extractEntities: () => readonly ["arbi", "tags", "entities", "extract"];
617
625
  };
618
626
  /** Workspace people for mentions and ownership. */
619
627
  declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
@@ -1124,11 +1132,15 @@ declare function useConversationThreads(workspaceId: string | undefined, convers
1124
1132
  assistant_mode: _arbidocs_client.components["schemas"]["AssistantMode"];
1125
1133
  }>, Error>;
1126
1134
  /**
1127
- * List tags in a workspace — all of them, or filtered: `{ kind: 'issue', include: ['links'] }` is
1128
- * every issue with its documents, facts and threads (a table's rows; its columns come from
1129
- * `useTagKindSchema`). `ids: []` asks for nothing.
1135
+ * List tags in a workspace (default: the open one) — all of them, or filtered: `{ kind: 'issue',
1136
+ * include: ['links'] }` is every issue with its documents, facts and threads (a table's rows; its
1137
+ * columns come from `useTagKindSchema`). `ids: []` asks for nothing.
1138
+ *
1139
+ * The whole list is read once and then kept current in place: the tag writes patch it
1140
+ * (`patchWorkspaceTags`), and an invalidation of the workspace's tags (a WebSocket event, a host
1141
+ * refresh) re-reads it. It is never re-read just for being mounted or the window being focused.
1130
1142
  */
1131
- declare function useTags(workspaceId: string | undefined, options?: TagListQuery & {
1143
+ declare function useTags(workspaceId?: string | null, options?: TagListQuery & {
1132
1144
  enabled?: boolean;
1133
1145
  }): _tanstack_react_query.UseQueryResult<NoInfer<{
1134
1146
  external_id: string;
@@ -3019,24 +3031,70 @@ declare function useStartAgentSession(): _tanstack_react_query.UseMutationResult
3019
3031
  /** Log an owned agent out. */
3020
3032
  declare function useCloseAgentSession(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
3021
3033
 
3034
+ /**
3035
+ * Apply `reducer` to a workspace's cached tag list (nothing cached: nothing to do). The list is
3036
+ * read once, then kept current by these patches; a host's own write that changes a tag (applying
3037
+ * it to documents moves its `doctag_count`) patches it here too.
3038
+ */
3039
+ declare function patchWorkspaceTags(qc: QueryClient, workspaceId: string, reducer: (tags: TagResponse[]) => TagResponse[]): void;
3040
+ /** Refetch a workspace's tables of tags (its filtered lists), not the whole list. */
3041
+ declare function invalidateTagTables(qc: QueryClient, workspaceId: string): Promise<void>;
3022
3042
  /** Refresh what a tag, doctag or fact change affects: the workspace's tags, tables and facts. */
3023
3043
  declare function invalidateTagData(qc: QueryClient, workspaceId: string): Promise<unknown>;
3024
3044
  /** {@link invalidateTagData} for the open workspace: call it after a doctag or fact write. */
3025
3045
  declare function useInvalidateTagData(): () => Promise<unknown>;
3046
+ /** What a new tag is: its name, and optionally kind, format, parent, values, sharing. */
3047
+ type CreateTagInput = Omit<Parameters<typeof tags.createTag>[1], 'workspaceId'>;
3026
3048
  /**
3027
- * A kind's fields in the open workspace (`'issue'`: its issue fields): the columns of a table of
3028
- * that kind's tags. The built-in ones (`is_default`) until the workspace sets its own.
3049
+ * Create a tag in the open workspace (`{ name, kind: 'issue' }`, `{ name, parentId }`, …): it is
3050
+ * added to the tag list and the tables re-read. Resolves with the new tag. Offline it is held and
3051
+ * sent on reconnect (a host that registers `registerArbiMutationDefaults` keeps it across reloads).
3029
3052
  */
3030
- declare function useTagKindSchema(kind: TagKind | null | undefined, options?: {
3031
- enabled?: boolean;
3032
- }): _tanstack_react_query.UseQueryResult<NoInfer<TagKindSchema>, Error>;
3033
- /**
3034
- * Set a kind's fields in full (a field with its `id` keeps its values; one without is new; one
3035
- * left out is removed). The kind's schema and the workspace's tags refresh.
3036
- */
3037
- declare function useUpdateTagKindSchema(): _tanstack_react_query.UseMutationResult<TagKindSchema, Error, {
3038
- kind: TagKind;
3039
- fields: TagFieldDefinition[];
3053
+ declare function useCreateTag(): _tanstack_react_query.UseMutationResult<{
3054
+ external_id: string;
3055
+ workspace_ext_id: string;
3056
+ name: string;
3057
+ instruction?: string | null;
3058
+ tag_type: _arbidocs_client.components["schemas"]["TagFormat"];
3059
+ kind: "label" | "annotation" | "search" | "issue" | "person" | "organisation";
3060
+ shared: boolean;
3061
+ parent_ext_id?: string | null;
3062
+ doctag_count: number;
3063
+ facttag_count: number;
3064
+ convotag_count: number;
3065
+ field_values?: {
3066
+ [key: string]: unknown;
3067
+ };
3068
+ links?: _arbidocs_client.components["schemas"]["TagLinks"] | null;
3069
+ created_by_ext_id: string;
3070
+ updated_by_ext_id?: string | null;
3071
+ created_at: string;
3072
+ updated_at: string;
3073
+ }, Error, CreateTagInput, unknown>;
3074
+ /** Change a tag (name, format, instruction, parent, sharing, values): patched in the list. */
3075
+ declare function useUpdateTag(): _tanstack_react_query.UseMutationResult<{
3076
+ external_id: string;
3077
+ workspace_ext_id: string;
3078
+ name: string;
3079
+ instruction?: string | null;
3080
+ tag_type: _arbidocs_client.components["schemas"]["TagFormat"];
3081
+ kind: "label" | "annotation" | "search" | "issue" | "person" | "organisation";
3082
+ shared: boolean;
3083
+ parent_ext_id?: string | null;
3084
+ doctag_count: number;
3085
+ facttag_count: number;
3086
+ convotag_count: number;
3087
+ field_values?: {
3088
+ [key: string]: unknown;
3089
+ };
3090
+ links?: _arbidocs_client.components["schemas"]["TagLinks"] | null;
3091
+ created_by_ext_id: string;
3092
+ updated_by_ext_id?: string | null;
3093
+ created_at: string;
3094
+ updated_at: string;
3095
+ }, Error, {
3096
+ tagId: string;
3097
+ change: TagChange;
3040
3098
  }, unknown>;
3041
3099
  /** Merge-patch a tag's values for its kind's fields (`null` clears one); its tables refresh. */
3042
3100
  declare function useSetTagValues(): _tanstack_react_query.UseMutationResult<{
@@ -3063,6 +3121,60 @@ declare function useSetTagValues(): _tanstack_react_query.UseMutationResult<{
3063
3121
  tagId: string;
3064
3122
  values: Record<string, unknown>;
3065
3123
  }, unknown>;
3124
+ /**
3125
+ * Delete a tag: it leaves the list (its sub-tags move to the top level on the server, so the list
3126
+ * re-reads them), and the tables and facts re-read. A host that shows the tag on its own items
3127
+ * (documents' tags) follows `arbiMutationKeys.deleteTag()` to drop it there.
3128
+ */
3129
+ declare function useDeleteTag(): _tanstack_react_query.UseMutationResult<{
3130
+ detail: string;
3131
+ }, Error, string, unknown>;
3132
+ /**
3133
+ * Find the people and organisations documents name and link each to its entity tag. Accepted at
3134
+ * once with the documents' ids; a `batch_complete` (`entity_extract`) WebSocket message follows
3135
+ * when they are done (a host following `arbiMutationKeys.extractEntities()` can show them running
3136
+ * until then).
3137
+ */
3138
+ declare function useExtractEntities(): _tanstack_react_query.UseMutationResult<{
3139
+ doc_ext_ids: string[];
3140
+ kinds: string[];
3141
+ }, Error, string[], unknown>;
3142
+ /**
3143
+ * A kind's fields in the open workspace (`'issue'`: its issue fields): the columns of a table of
3144
+ * that kind's tags. The built-in ones (`is_default`) until the workspace sets its own.
3145
+ */
3146
+ declare function useTagKindSchema(kind: TagKind | null | undefined, options?: {
3147
+ enabled?: boolean;
3148
+ }): _tanstack_react_query.UseQueryResult<NoInfer<TagKindSchema>, Error>;
3149
+ /**
3150
+ * Set a kind's fields in full (a field with its `id` keeps its values; one without is new; one
3151
+ * left out is removed). The kind's schema and the workspace's tags refresh.
3152
+ */
3153
+ declare function useUpdateTagKindSchema(): _tanstack_react_query.UseMutationResult<TagKindSchema, Error, {
3154
+ kind: TagKind;
3155
+ fields: TagFieldDefinition[];
3156
+ }, unknown>;
3157
+
3158
+ /**
3159
+ * Offline writes that survive a reload — opt in. A mutation made while offline pauses and is sent on
3160
+ * reconnect; a host that also persists its query cache (`@tanstack/react-query-persist-client`)
3161
+ * keeps the paused write across a reload, but the restored mutation has lost its function. Call
3162
+ * {@link registerArbiMutationDefaults} once on the query client, before the persisted cache is
3163
+ * restored and `resumePausedMutations()` runs: it gives each replayable package write its request
3164
+ * back (on a bare client: the hook's `Arbi` may not exist yet) and what its success does to the
3165
+ * cache. {@link isReplayableArbiMutation} says which writes those are, for a host's
3166
+ * `shouldDehydrateMutation` and its pending-changes list.
3167
+ *
3168
+ * Replayable: creating a tag (`useCreateTag`).
3169
+ */
3170
+
3171
+ /** Whether a mutation is a package write that can be queued offline and replayed after a reload. */
3172
+ declare function isReplayableArbiMutation(mutationKey: MutationKey | undefined): boolean;
3173
+ /**
3174
+ * Re-supply the replayable package writes on `queryClient` (see the module comment). `client` is
3175
+ * the host's API client, read when a restored write is sent.
3176
+ */
3177
+ declare function registerArbiMutationDefaults(queryClient: QueryClient, client: () => ArbiClient): void;
3066
3178
 
3067
3179
  /** The caller's projects at `stage` and/or led by `leadUser` (`usr-…`). */
3068
3180
  declare function useFilteredProjects(filters: {
@@ -8512,4 +8624,4 @@ declare function useArbiSessionStore(): ArbiSessionStore;
8512
8624
  */
8513
8625
  declare function useArbiSessionState<T>(selector: (state: ArbiSessionState) => T): T;
8514
8626
 
8515
- export { ALLOWED_PORTAL_ORIGINS, AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, CalendarSupportProvider, type CalendarWriteOp, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, type FactListFilter, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, type QueuedCalendarWrite, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, SIGNATURE_NOTIFICATION_TYPES, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, calendarQueryKeys, callNotificationMeta, captureFrameAsBlob, classifyMediaError, connectOAuthCalendarAccount, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateTagData, isAliasTakenError, isDeploymentUserNotification, isQueuedCalendarWrite, isSignatureNotificationType, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, notificationUserName, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resetCalendarAccountSyncState, resolveActiveWorkspace, safePortalUrl, selectIsGenerating, selectViewingDocumentId, signatureNotificationPhrase, signatureRequestMeta, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAddHolidayCalendar, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAppPasswords, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useBookingPages, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateAppPassword, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateFeed, useCreateRoom, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteContact, useDeleteEvent, useDeleteFact, useDeleteNotifications, useDeleteSkill, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectCalendarAccount, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFetchCalendarEvent, useFilteredProjects, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useHolidayCountries, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMarkNotificationsRead, useMcpTools, useMoveEvent, useNameEditor, useNotificationPreferences, useNotifications, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRefreshCalendar, useRequestEmailChange, useRespondToEvent, useResumeCalendarAccountConnect, useRevokeAgentAccess, useRevokeAppPassword, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveMailDraft, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetSkillVisibility, useSetTagValues, useShareCalendar, useShellWorkspaces, useSignOut, useSkillSource, useSkills, useStartAgentSession, useStartCalendarAccountOAuth, useStartWorkQuery, useSubscribeCalendar, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
8627
+ export { ALLOWED_PORTAL_ORIGINS, AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, CalendarSupportProvider, type CalendarWriteOp, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CreateTagInput, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, type FactListFilter, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, type QueuedCalendarWrite, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, SIGNATURE_NOTIFICATION_TYPES, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, calendarQueryKeys, callNotificationMeta, captureFrameAsBlob, classifyMediaError, connectOAuthCalendarAccount, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateTagData, invalidateTagTables, isAliasTakenError, isDeploymentUserNotification, isQueuedCalendarWrite, isReplayableArbiMutation, isSignatureNotificationType, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, notificationUserName, parseActivityContent, parseDeleteAccountBlockers, patchWorkspaceTags, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, registerArbiMutationDefaults, resetCalendarAccountSyncState, resolveActiveWorkspace, safePortalUrl, selectIsGenerating, selectViewingDocumentId, signatureNotificationPhrase, signatureRequestMeta, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAddHolidayCalendar, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAppPasswords, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useBookingPages, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateAppPassword, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateFeed, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteContact, useDeleteEvent, useDeleteFact, useDeleteNotifications, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectCalendarAccount, useDisconnectMailAccount, useDocuments, useEmailChange, useExtractEntities, useFacts, useFetchCalendarEvent, useFilteredProjects, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useHolidayCountries, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMarkNotificationsRead, useMcpTools, useMoveEvent, useNameEditor, useNotificationPreferences, useNotifications, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRefreshCalendar, useRequestEmailChange, useRespondToEvent, useResumeCalendarAccountConnect, useRevokeAgentAccess, useRevokeAppPassword, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveMailDraft, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetSkillVisibility, useSetTagValues, useShareCalendar, useShellWorkspaces, useSignOut, useSkillSource, useSkills, useStartAgentSession, useStartCalendarAccountOAuth, useStartWorkQuery, useSubscribeCalendar, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTag, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, ComponentType } from 'react';
3
3
  import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
4
- import { Arbi, ArbiOptions, QueryOptions, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, ListFactsOptions, UpdateFactRequest, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, ListEventsParams, RoomQuery, CalendarWindow, OverlayLayerName, EventCreateBody, ScopedTarget, EventPatchBody, RespondParams, RoomCreateBody, CalendarEvent, FindTimeParams, ShareRole, CalendarUpdate, OAuthAccountKind, CalendarAccount, CalDavConnectBody, FeedCreateBody, DecryptedChatMessage } from '@arbidocs/sdk/browser';
4
+ import { Arbi, ArbiOptions, QueryOptions, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, ListFactsOptions, UpdateFactRequest, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, tags, TagResponse, TagKind, TagKindSchema, TagChange, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, ListEventsParams, RoomQuery, CalendarWindow, OverlayLayerName, EventCreateBody, ScopedTarget, EventPatchBody, RespondParams, RoomCreateBody, CalendarEvent, FindTimeParams, ShareRole, CalendarUpdate, OAuthAccountKind, CalendarAccount, CalDavConnectBody, FeedCreateBody, DecryptedChatMessage } from '@arbidocs/sdk/browser';
5
5
  export { ACCOUNT_VENDOR, AccountSyncResult, ActivityKind, ActivityResponse, AgentStepEvent, AppPassword, AppPasswordCreateBody, AppPasswordCreated, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AttendeeRead, AuthMode, BookingConfirmation, BookingPage, BookingPageWriteBody, BookingRequestBody, CalDavConnectBody, CalDavProfile, CalendarAccount, CalendarAccountKind, CalendarCreateBody, CalendarEvent, CalendarRead, CalendarSettings, CalendarSettingsBody, CalendarUpdate, CalendarWindow, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, DateTimeSpec, EditScope, EventCreateBody, EventPatchBody, FactResponse, FactSearchRequest, FactSearchResponse, FeedCreateBody, FeedLevel, FindTimeParams, FreeBusyEntry, HolidayCountry, ImportResult, InvitationRead, ListEventsParams, LoginProfile, MessageMetadataPayload, OAuthAccountKind, OutputTokensDetails, OverlayItem, OverlayLayerName, PendingAuthResponse, PersonKey, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, PublicBookingError, PublicBookingPage, QueryOptions, RespondParams, RespondPartstat, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, RoomCreateBody, RoomQuery, RoomRead, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, ScopedTarget, ShareRead, ShareRole, SkillSummary, SubscribeParams, TaskPlan, TimeSuggestion, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WeeklyHoursSpec, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, bookPublicSlot, cancelPublicBooking, formatGbp, formatGbpPerMillionTokens, getPublicBookingPage, splitAppPasswords, usdToGbp } from '@arbidocs/sdk/browser';
6
6
  import * as _arbidocs_client from '@arbidocs/client';
7
- import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components, RecoveryKeyParams } from '@arbidocs/client';
7
+ import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, ArbiClient, components, RecoveryKeyParams } from '@arbidocs/client';
8
8
  export { WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePostedMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
9
9
  import * as zustand from 'zustand';
10
10
  import * as _tanstack_query_core from '@tanstack/query-core';
11
11
  import * as _tanstack_react_query from '@tanstack/react-query';
12
- import { QueryClient } from '@tanstack/react-query';
12
+ import { QueryClient, MutationKey } from '@tanstack/react-query';
13
13
  import { ar as IdentityStatus, ap as IdentityPurchase, as as IdentityStep, at as IdentityVerificationFlow, ae as EntityIconComponent } from './index-2Y2MVegs.js';
14
14
  export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as DebouncedInput, G as DebouncedInputProps, H as Dialog, I as DialogClose, J as DialogContent, K as DialogDescription, L as DialogFooter, M as DialogHeader, N as DialogOverlay, O as DialogPortal, P as DialogPresentation, Q as DialogTitle, R as DialogTrigger, S as DictateContextValue, T as DictateProvider, U as DocumentCard, V as DocumentCardProps, 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 EntityPill, ag as EntityRegistryOverride, ah as EntityType, ai as HoverCard, aj as HoverCardContent, ak as HoverCardTrigger, al as IconToggle, am as IconToggleProps, an as IdentityBusy, ao as IdentityProblem, aq as IdentityState, au as Input, av as InputProps, aw as Label, ax as MarkMenu, ay as MarkMenuItem, az as MarkMenuProps, aA as MarkdownCode, aB as MarkdownLink, aC as MarkdownRenderer, aD as MarkdownRendererProps, aE as MarkdownStreamingContext, aF as NEUTRAL_GRAY, aG as PLACEHOLDER_COLOR, aH as PassageCard, aI as PassageCardProps, aJ as Popover, aK as PopoverAnchor, aL as PopoverClose, aM as PopoverContent, aN as PopoverTrigger, aO as PortalContainerProvider, aP as PresenceDisplayStatus, aQ as PresenceLabel, aR as Progress, aS as ProjectEntity, aT as ProjectEntityProps, aU as ProjectRelation, aV as RadioGroup, aW as RadioGroupItem, aX as Rag, aY as RagDot, aZ as RelevanceDot, a_ as ScrollArea, a$ as ScrollBar, b0 as Select, b1 as SelectContent, b2 as SelectGroup, b3 as SelectItem, b4 as SelectLabel, b5 as SelectScrollDownButton, b6 as SelectScrollUpButton, b7 as SelectSeparator, b8 as SelectTrigger, b9 as SelectValue, ba as Separator, bb as ShieldIcon, bc as ShieldIconProps, bd as Slider, be as StatusBadgeComponent, bf as StatusBadgeProps, bg as StatusPill, bh as StatusPillProps, bi as StatusVariant, bj as Switch, bk as TAG_TYPE_ICONS, bl as TAG_TYPE_LABELS, bm as Table, bn as TableBody, bo as TableCaption, bp as TableCell, bq as TableFooter, br as TableHead, bs as TableHeader, bt as TableRow, bu as Tabs, bv as TabsContent, bw as TabsList, bx as TabsTrigger, by as TagEntity, bz as TagEntityProps, bA as TagLike, bB as Textarea, bC as TextareaProps, bD as ThreadVisibilityIcon, bE as Toggle, bF as ToggleGroup, bG as ToggleGroupItem, bH as Tooltip, bI as TooltipContent, bJ as TooltipProvider, bK as TooltipTrigger, bL as UserEntity, bM as UserEntityProps, bN as UserMenu, bO as UserMenuItem, bP as UserMenuProps, bQ as UserMenuStatus, bR as VISIBILITY_ICONS, bS as VerifiedBadge, bT as VerifiedBadgeProps, bU as VisibilityIcon, bV as VisibilityToggle, bW as VisibilityToggleProps, bX as agentAvatarColors, bY as badgeVariants, bZ as buttonVariants, b_ as cardVariants, b$ as closeOpenEmphasis, c0 as cn, c1 as configureEntityRegistry, c2 as configureRagLabels, c3 as configureStatusRegistry, c4 as getDocIcon, c5 as getEntityColor, c6 as getEntityColorStyles, c7 as getEntityIcon, c8 as getEntityLabel, c9 as getStatusVariant, ca as getTagTypeIcon, cb as getTagTypeLabel, cc as getWorkspaceColor, cd as markdownBaseComponents, ce as markdownSanitizeSchema, cf as normalizeCitationMarkup, cg as splitMarkdownBlocks, ch as toggleVariants, ci as trimOpenCitation, cj as usePortalContainer } from './index-2Y2MVegs.js';
15
15
  import { VerificationResult } from '@didit-protocol/sdk-web';
@@ -547,9 +547,13 @@ declare const arbiQueryKeys: {
547
547
  /** Every workspace's conversation list (and threads): the prefix a conversation write invalidates. */
548
548
  allConversations: () => readonly ["arbi", "conversations"];
549
549
  conversationThreads: (workspaceId: string, conversationId: string) => readonly ["arbi", "conversations", string, "threads", string];
550
+ /** Every workspace's tags (lists, tables and kinds): what a cross-workspace change refreshes. */
551
+ allTags: () => readonly ["arbi", "tags"];
550
552
  tags: (workspaceId: string) => readonly ["arbi", "tags", string];
551
553
  /** Under the workspace's tags: the kinds' fields (refreshed with the tags). */
552
554
  tagKinds: (workspaceId: string) => readonly ["arbi", "tags", string, "kinds"];
555
+ /** Every filtered list (a table of tags): what a tag write refreshes, the whole list aside. */
556
+ tagLists: (workspaceId: string) => readonly ["arbi", "tags", string, "list"];
553
557
  /** Under the workspace's tags: a tag, doctag or fact write that invalidates `tags` refreshes it. */
554
558
  tagList: (workspaceId: string, query: string) => readonly ["arbi", "tags", string, "list", string];
555
559
  /** A kind's fields, under the workspace's tags. */
@@ -614,6 +618,10 @@ declare const arbiQueryKeys: {
614
618
  declare const arbiMutationKeys: {
615
619
  runWorkflow: () => readonly ["arbi", "workflows", "run"];
616
620
  updateTagKindSchema: () => readonly ["arbi", "tags", "kinds", "update"];
621
+ createTag: () => readonly ["arbi", "tags", "create"];
622
+ updateTag: () => readonly ["arbi", "tags", "update"];
623
+ deleteTag: () => readonly ["arbi", "tags", "delete"];
624
+ extractEntities: () => readonly ["arbi", "tags", "entities", "extract"];
617
625
  };
618
626
  /** Workspace people for mentions and ownership. */
619
627
  declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
@@ -1124,11 +1132,15 @@ declare function useConversationThreads(workspaceId: string | undefined, convers
1124
1132
  assistant_mode: _arbidocs_client.components["schemas"]["AssistantMode"];
1125
1133
  }>, Error>;
1126
1134
  /**
1127
- * List tags in a workspace — all of them, or filtered: `{ kind: 'issue', include: ['links'] }` is
1128
- * every issue with its documents, facts and threads (a table's rows; its columns come from
1129
- * `useTagKindSchema`). `ids: []` asks for nothing.
1135
+ * List tags in a workspace (default: the open one) — all of them, or filtered: `{ kind: 'issue',
1136
+ * include: ['links'] }` is every issue with its documents, facts and threads (a table's rows; its
1137
+ * columns come from `useTagKindSchema`). `ids: []` asks for nothing.
1138
+ *
1139
+ * The whole list is read once and then kept current in place: the tag writes patch it
1140
+ * (`patchWorkspaceTags`), and an invalidation of the workspace's tags (a WebSocket event, a host
1141
+ * refresh) re-reads it. It is never re-read just for being mounted or the window being focused.
1130
1142
  */
1131
- declare function useTags(workspaceId: string | undefined, options?: TagListQuery & {
1143
+ declare function useTags(workspaceId?: string | null, options?: TagListQuery & {
1132
1144
  enabled?: boolean;
1133
1145
  }): _tanstack_react_query.UseQueryResult<NoInfer<{
1134
1146
  external_id: string;
@@ -3019,24 +3031,70 @@ declare function useStartAgentSession(): _tanstack_react_query.UseMutationResult
3019
3031
  /** Log an owned agent out. */
3020
3032
  declare function useCloseAgentSession(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
3021
3033
 
3034
+ /**
3035
+ * Apply `reducer` to a workspace's cached tag list (nothing cached: nothing to do). The list is
3036
+ * read once, then kept current by these patches; a host's own write that changes a tag (applying
3037
+ * it to documents moves its `doctag_count`) patches it here too.
3038
+ */
3039
+ declare function patchWorkspaceTags(qc: QueryClient, workspaceId: string, reducer: (tags: TagResponse[]) => TagResponse[]): void;
3040
+ /** Refetch a workspace's tables of tags (its filtered lists), not the whole list. */
3041
+ declare function invalidateTagTables(qc: QueryClient, workspaceId: string): Promise<void>;
3022
3042
  /** Refresh what a tag, doctag or fact change affects: the workspace's tags, tables and facts. */
3023
3043
  declare function invalidateTagData(qc: QueryClient, workspaceId: string): Promise<unknown>;
3024
3044
  /** {@link invalidateTagData} for the open workspace: call it after a doctag or fact write. */
3025
3045
  declare function useInvalidateTagData(): () => Promise<unknown>;
3046
+ /** What a new tag is: its name, and optionally kind, format, parent, values, sharing. */
3047
+ type CreateTagInput = Omit<Parameters<typeof tags.createTag>[1], 'workspaceId'>;
3026
3048
  /**
3027
- * A kind's fields in the open workspace (`'issue'`: its issue fields): the columns of a table of
3028
- * that kind's tags. The built-in ones (`is_default`) until the workspace sets its own.
3049
+ * Create a tag in the open workspace (`{ name, kind: 'issue' }`, `{ name, parentId }`, …): it is
3050
+ * added to the tag list and the tables re-read. Resolves with the new tag. Offline it is held and
3051
+ * sent on reconnect (a host that registers `registerArbiMutationDefaults` keeps it across reloads).
3029
3052
  */
3030
- declare function useTagKindSchema(kind: TagKind | null | undefined, options?: {
3031
- enabled?: boolean;
3032
- }): _tanstack_react_query.UseQueryResult<NoInfer<TagKindSchema>, Error>;
3033
- /**
3034
- * Set a kind's fields in full (a field with its `id` keeps its values; one without is new; one
3035
- * left out is removed). The kind's schema and the workspace's tags refresh.
3036
- */
3037
- declare function useUpdateTagKindSchema(): _tanstack_react_query.UseMutationResult<TagKindSchema, Error, {
3038
- kind: TagKind;
3039
- fields: TagFieldDefinition[];
3053
+ declare function useCreateTag(): _tanstack_react_query.UseMutationResult<{
3054
+ external_id: string;
3055
+ workspace_ext_id: string;
3056
+ name: string;
3057
+ instruction?: string | null;
3058
+ tag_type: _arbidocs_client.components["schemas"]["TagFormat"];
3059
+ kind: "label" | "annotation" | "search" | "issue" | "person" | "organisation";
3060
+ shared: boolean;
3061
+ parent_ext_id?: string | null;
3062
+ doctag_count: number;
3063
+ facttag_count: number;
3064
+ convotag_count: number;
3065
+ field_values?: {
3066
+ [key: string]: unknown;
3067
+ };
3068
+ links?: _arbidocs_client.components["schemas"]["TagLinks"] | null;
3069
+ created_by_ext_id: string;
3070
+ updated_by_ext_id?: string | null;
3071
+ created_at: string;
3072
+ updated_at: string;
3073
+ }, Error, CreateTagInput, unknown>;
3074
+ /** Change a tag (name, format, instruction, parent, sharing, values): patched in the list. */
3075
+ declare function useUpdateTag(): _tanstack_react_query.UseMutationResult<{
3076
+ external_id: string;
3077
+ workspace_ext_id: string;
3078
+ name: string;
3079
+ instruction?: string | null;
3080
+ tag_type: _arbidocs_client.components["schemas"]["TagFormat"];
3081
+ kind: "label" | "annotation" | "search" | "issue" | "person" | "organisation";
3082
+ shared: boolean;
3083
+ parent_ext_id?: string | null;
3084
+ doctag_count: number;
3085
+ facttag_count: number;
3086
+ convotag_count: number;
3087
+ field_values?: {
3088
+ [key: string]: unknown;
3089
+ };
3090
+ links?: _arbidocs_client.components["schemas"]["TagLinks"] | null;
3091
+ created_by_ext_id: string;
3092
+ updated_by_ext_id?: string | null;
3093
+ created_at: string;
3094
+ updated_at: string;
3095
+ }, Error, {
3096
+ tagId: string;
3097
+ change: TagChange;
3040
3098
  }, unknown>;
3041
3099
  /** Merge-patch a tag's values for its kind's fields (`null` clears one); its tables refresh. */
3042
3100
  declare function useSetTagValues(): _tanstack_react_query.UseMutationResult<{
@@ -3063,6 +3121,60 @@ declare function useSetTagValues(): _tanstack_react_query.UseMutationResult<{
3063
3121
  tagId: string;
3064
3122
  values: Record<string, unknown>;
3065
3123
  }, unknown>;
3124
+ /**
3125
+ * Delete a tag: it leaves the list (its sub-tags move to the top level on the server, so the list
3126
+ * re-reads them), and the tables and facts re-read. A host that shows the tag on its own items
3127
+ * (documents' tags) follows `arbiMutationKeys.deleteTag()` to drop it there.
3128
+ */
3129
+ declare function useDeleteTag(): _tanstack_react_query.UseMutationResult<{
3130
+ detail: string;
3131
+ }, Error, string, unknown>;
3132
+ /**
3133
+ * Find the people and organisations documents name and link each to its entity tag. Accepted at
3134
+ * once with the documents' ids; a `batch_complete` (`entity_extract`) WebSocket message follows
3135
+ * when they are done (a host following `arbiMutationKeys.extractEntities()` can show them running
3136
+ * until then).
3137
+ */
3138
+ declare function useExtractEntities(): _tanstack_react_query.UseMutationResult<{
3139
+ doc_ext_ids: string[];
3140
+ kinds: string[];
3141
+ }, Error, string[], unknown>;
3142
+ /**
3143
+ * A kind's fields in the open workspace (`'issue'`: its issue fields): the columns of a table of
3144
+ * that kind's tags. The built-in ones (`is_default`) until the workspace sets its own.
3145
+ */
3146
+ declare function useTagKindSchema(kind: TagKind | null | undefined, options?: {
3147
+ enabled?: boolean;
3148
+ }): _tanstack_react_query.UseQueryResult<NoInfer<TagKindSchema>, Error>;
3149
+ /**
3150
+ * Set a kind's fields in full (a field with its `id` keeps its values; one without is new; one
3151
+ * left out is removed). The kind's schema and the workspace's tags refresh.
3152
+ */
3153
+ declare function useUpdateTagKindSchema(): _tanstack_react_query.UseMutationResult<TagKindSchema, Error, {
3154
+ kind: TagKind;
3155
+ fields: TagFieldDefinition[];
3156
+ }, unknown>;
3157
+
3158
+ /**
3159
+ * Offline writes that survive a reload — opt in. A mutation made while offline pauses and is sent on
3160
+ * reconnect; a host that also persists its query cache (`@tanstack/react-query-persist-client`)
3161
+ * keeps the paused write across a reload, but the restored mutation has lost its function. Call
3162
+ * {@link registerArbiMutationDefaults} once on the query client, before the persisted cache is
3163
+ * restored and `resumePausedMutations()` runs: it gives each replayable package write its request
3164
+ * back (on a bare client: the hook's `Arbi` may not exist yet) and what its success does to the
3165
+ * cache. {@link isReplayableArbiMutation} says which writes those are, for a host's
3166
+ * `shouldDehydrateMutation` and its pending-changes list.
3167
+ *
3168
+ * Replayable: creating a tag (`useCreateTag`).
3169
+ */
3170
+
3171
+ /** Whether a mutation is a package write that can be queued offline and replayed after a reload. */
3172
+ declare function isReplayableArbiMutation(mutationKey: MutationKey | undefined): boolean;
3173
+ /**
3174
+ * Re-supply the replayable package writes on `queryClient` (see the module comment). `client` is
3175
+ * the host's API client, read when a restored write is sent.
3176
+ */
3177
+ declare function registerArbiMutationDefaults(queryClient: QueryClient, client: () => ArbiClient): void;
3066
3178
 
3067
3179
  /** The caller's projects at `stage` and/or led by `leadUser` (`usr-…`). */
3068
3180
  declare function useFilteredProjects(filters: {
@@ -8512,4 +8624,4 @@ declare function useArbiSessionStore(): ArbiSessionStore;
8512
8624
  */
8513
8625
  declare function useArbiSessionState<T>(selector: (state: ArbiSessionState) => T): T;
8514
8626
 
8515
- export { ALLOWED_PORTAL_ORIGINS, AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, CalendarSupportProvider, type CalendarWriteOp, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, type FactListFilter, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, type QueuedCalendarWrite, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, SIGNATURE_NOTIFICATION_TYPES, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, calendarQueryKeys, callNotificationMeta, captureFrameAsBlob, classifyMediaError, connectOAuthCalendarAccount, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateTagData, isAliasTakenError, isDeploymentUserNotification, isQueuedCalendarWrite, isSignatureNotificationType, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, notificationUserName, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resetCalendarAccountSyncState, resolveActiveWorkspace, safePortalUrl, selectIsGenerating, selectViewingDocumentId, signatureNotificationPhrase, signatureRequestMeta, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAddHolidayCalendar, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAppPasswords, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useBookingPages, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateAppPassword, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateFeed, useCreateRoom, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteContact, useDeleteEvent, useDeleteFact, useDeleteNotifications, useDeleteSkill, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectCalendarAccount, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFetchCalendarEvent, useFilteredProjects, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useHolidayCountries, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMarkNotificationsRead, useMcpTools, useMoveEvent, useNameEditor, useNotificationPreferences, useNotifications, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRefreshCalendar, useRequestEmailChange, useRespondToEvent, useResumeCalendarAccountConnect, useRevokeAgentAccess, useRevokeAppPassword, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveMailDraft, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetSkillVisibility, useSetTagValues, useShareCalendar, useShellWorkspaces, useSignOut, useSkillSource, useSkills, useStartAgentSession, useStartCalendarAccountOAuth, useStartWorkQuery, useSubscribeCalendar, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
8627
+ export { ALLOWED_PORTAL_ORIGINS, AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, CalendarSupportProvider, type CalendarWriteOp, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CreateTagInput, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, type FactListFilter, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, type QueuedCalendarWrite, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, SIGNATURE_NOTIFICATION_TYPES, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, calendarQueryKeys, callNotificationMeta, captureFrameAsBlob, classifyMediaError, connectOAuthCalendarAccount, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateTagData, invalidateTagTables, isAliasTakenError, isDeploymentUserNotification, isQueuedCalendarWrite, isReplayableArbiMutation, isSignatureNotificationType, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, notificationUserName, parseActivityContent, parseDeleteAccountBlockers, patchWorkspaceTags, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, registerArbiMutationDefaults, resetCalendarAccountSyncState, resolveActiveWorkspace, safePortalUrl, selectIsGenerating, selectViewingDocumentId, signatureNotificationPhrase, signatureRequestMeta, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAddHolidayCalendar, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAppPasswords, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useBookingPages, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateAppPassword, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateFeed, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteContact, useDeleteEvent, useDeleteFact, useDeleteNotifications, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectCalendarAccount, useDisconnectMailAccount, useDocuments, useEmailChange, useExtractEntities, useFacts, useFetchCalendarEvent, useFilteredProjects, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useHolidayCountries, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMarkNotificationsRead, useMcpTools, useMoveEvent, useNameEditor, useNotificationPreferences, useNotifications, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRefreshCalendar, useRequestEmailChange, useRespondToEvent, useResumeCalendarAccountConnect, useRevokeAgentAccess, useRevokeAppPassword, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveMailDraft, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetSkillVisibility, useSetTagValues, useShareCalendar, useShellWorkspaces, useSignOut, useSkillSource, useSkills, useStartAgentSession, useStartCalendarAccountOAuth, useStartWorkQuery, useSubscribeCalendar, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTag, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };