@arbidocs/react 0.4.132 → 0.4.134

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,7 +1,7 @@
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, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, DecryptedChatMessage } 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, DecryptedChatMessage } from '@arbidocs/sdk/browser';
5
5
  export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, formatGbp, formatGbpPerMillionTokens, usdToGbp } from '@arbidocs/sdk/browser';
6
6
  import * as _arbidocs_client from '@arbidocs/client';
7
7
  import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components, RecoveryKeyParams } from '@arbidocs/client';
@@ -553,6 +553,8 @@ declare const arbiQueryKeys: {
553
553
  tagList: (workspaceId: string, query: string) => readonly ["arbi", "tags", string, "list", string];
554
554
  /** A kind's fields, under the workspace's tags. */
555
555
  tagKind: (workspaceId: string, kind: string) => readonly ["arbi", "tags", string, "kind", string];
556
+ /** A task's history, under the conversations prefix: every conversation write refreshes it. */
557
+ conversationActivity: (conversationId: string) => readonly ["arbi", "conversations", string, "activity"];
556
558
  /** Under the conversations prefix: every step action or conversation write refreshes it. */
557
559
  conversationUsage: (conversationId: string) => readonly ["arbi", "conversations", string, "usage"];
558
560
  thumbnails: (docIds: string[]) => readonly ["arbi", "thumbnails", string];
@@ -561,6 +563,10 @@ declare const arbiQueryKeys: {
561
563
  sessions: () => readonly ["arbi", "sessions"];
562
564
  health: () => readonly ["arbi", "health"];
563
565
  workflows: () => readonly ["arbi", "workflows"];
566
+ /** Under `workflows()`: a workflow write or run refreshes its runs too. */
567
+ workflowRuns: (workflowId: string) => readonly ["arbi", "workflows", string, "runs"];
568
+ /** Every workspace's facts: the prefix a fact write invalidates. */
569
+ allFacts: () => readonly ["arbi", "facts"];
564
570
  facts: (workspaceId: string) => readonly ["arbi", "facts", string];
565
571
  configs: () => readonly ["arbi", "configs"];
566
572
  activity: () => readonly ["arbi", "activity"];
@@ -594,6 +600,14 @@ declare const arbiQueryKeys: {
594
600
  /** The signed-in user's settings record (notification preferences, flags). */
595
601
  userSettings: () => readonly ["arbi", "userSettings"];
596
602
  };
603
+ /**
604
+ * Keys of the mutations a host may need to follow (its own caches outside these hooks), e.g. with
605
+ * a `MutationCache` subscription: a workflow run creates a task in the host's own task list.
606
+ */
607
+ declare const arbiMutationKeys: {
608
+ runWorkflow: () => readonly ["arbi", "workflows", "run"];
609
+ updateTagKindSchema: () => readonly ["arbi", "tags", "kinds", "update"];
610
+ };
597
611
  /** Workspace people for mentions and ownership. */
598
612
  declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
599
613
  enabled?: boolean;
@@ -1241,25 +1255,6 @@ declare function useHealth(options?: {
1241
1255
  } | null | undefined;
1242
1256
  available_models: string[];
1243
1257
  }>, Error>;
1244
- /** List the open workspace's facts. */
1245
- declare function useFacts(workspaceId: string | undefined, options?: {
1246
- enabled?: boolean;
1247
- }): _tanstack_react_query.UseQueryResult<NoInfer<{
1248
- text: string;
1249
- citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
1250
- external_id: string;
1251
- workspace_ext_id: string;
1252
- shared: boolean;
1253
- confirmed: boolean;
1254
- date_start?: string | null;
1255
- date_end?: string | null;
1256
- timezone?: string | null;
1257
- reminder_task_ext_ids: string[];
1258
- tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
1259
- created_by_ext_id: string;
1260
- created_at: string;
1261
- updated_at: string;
1262
- }[]>, Error>;
1263
1258
  /** List the caller's saved agent configurations (behaviour templates). */
1264
1259
  declare function useConfigs(options?: {
1265
1260
  enabled?: boolean;
@@ -2136,12 +2131,120 @@ declare const PROJECT_CREATION_DENIED_REASON = "Only members of your firm can cr
2136
2131
  * loading: callers should neither offer nor refuse creation until it is known.
2137
2132
  */
2138
2133
  declare function useCanCreateProjects(): boolean | undefined;
2134
+ /**
2135
+ * Today's deployment-wide AI usage (£, `used_gbp`) for the signed-in user: pair it with a project's
2136
+ * `daily_cap_per_user` for a "£ used today" indicator. Re-read on mount and window focus, and when
2137
+ * the host invalidates it after the user's own generation; never polled.
2138
+ */
2139
2139
  declare function useUserUsageToday(options?: {
2140
2140
  enabled?: boolean;
2141
2141
  }): _tanstack_react_query.UseQueryResult<NoInfer<{
2142
2142
  used_gbp: number;
2143
2143
  }>, Error>;
2144
2144
 
2145
+ /** What a list asks for: the timeline range, or the notes carrying tags or citing a document. */
2146
+ type FactListFilter = Pick<ListFactsOptions, 'from' | 'to' | 'datedOnly' | 'tagExtIds' | 'docExtId'>;
2147
+ /**
2148
+ * The facts of `workspaceId` (default: the open one), newest first, or the filtered ones
2149
+ * (`datedOnly` / a range: the timeline, by date; `tagExtIds`: the notes carrying all those tags).
2150
+ */
2151
+ declare function useFacts(workspaceId?: string | null, options?: FactListFilter & {
2152
+ enabled?: boolean;
2153
+ }): _tanstack_react_query.UseQueryResult<NoInfer<{
2154
+ text: string;
2155
+ citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
2156
+ external_id: string;
2157
+ workspace_ext_id: string;
2158
+ shared: boolean;
2159
+ confirmed: boolean;
2160
+ date_start?: string | null;
2161
+ date_end?: string | null;
2162
+ timezone?: string | null;
2163
+ reminder_task_ext_ids: string[];
2164
+ tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
2165
+ created_by_ext_id: string;
2166
+ created_at: string;
2167
+ updated_at: string;
2168
+ }[]>, Error>;
2169
+ /** Add a fact (by hand it is confirmed: typing it is the vouch). */
2170
+ declare function useCreateFact(): _tanstack_react_query.UseMutationResult<{
2171
+ text: string;
2172
+ citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
2173
+ external_id: string;
2174
+ workspace_ext_id: string;
2175
+ shared: boolean;
2176
+ confirmed: boolean;
2177
+ date_start?: string | null;
2178
+ date_end?: string | null;
2179
+ timezone?: string | null;
2180
+ reminder_task_ext_ids: string[];
2181
+ tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
2182
+ created_by_ext_id: string;
2183
+ created_at: string;
2184
+ updated_at: string;
2185
+ }, Error, {
2186
+ text: string;
2187
+ shared: boolean;
2188
+ confirmed: boolean;
2189
+ date?: string | null;
2190
+ date_end?: string | null;
2191
+ timezone?: string | null;
2192
+ tag_ext_ids: string[];
2193
+ citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
2194
+ }, unknown>;
2195
+ /** Add several facts in one all-or-nothing request (an imported chronology, say). */
2196
+ declare function useCreateFacts(): _tanstack_react_query.UseMutationResult<{
2197
+ text: string;
2198
+ citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
2199
+ external_id: string;
2200
+ workspace_ext_id: string;
2201
+ shared: boolean;
2202
+ confirmed: boolean;
2203
+ date_start?: string | null;
2204
+ date_end?: string | null;
2205
+ timezone?: string | null;
2206
+ reminder_task_ext_ids: string[];
2207
+ tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
2208
+ created_by_ext_id: string;
2209
+ created_at: string;
2210
+ updated_at: string;
2211
+ }[], Error, {
2212
+ facts: _arbidocs_client.components["schemas"]["CreateFactRequest"][];
2213
+ }, unknown>;
2214
+ /**
2215
+ * Patch a fact. A text edit replaces the fact (the old one is kept as history); `shared` and
2216
+ * `confirmed` change in place.
2217
+ */
2218
+ declare function useUpdateFact(): _tanstack_react_query.UseMutationResult<{
2219
+ text: string;
2220
+ citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
2221
+ external_id: string;
2222
+ workspace_ext_id: string;
2223
+ shared: boolean;
2224
+ confirmed: boolean;
2225
+ date_start?: string | null;
2226
+ date_end?: string | null;
2227
+ timezone?: string | null;
2228
+ reminder_task_ext_ids: string[];
2229
+ tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
2230
+ created_by_ext_id: string;
2231
+ created_at: string;
2232
+ updated_at: string;
2233
+ }, Error, {
2234
+ factId: string;
2235
+ patch: UpdateFactRequest;
2236
+ }, unknown>;
2237
+ /** Delete a fact (only where the server allows it: a refused delete fails with its reason). */
2238
+ declare function useDeleteFact(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
2239
+ /** Search the open workspace's facts (hybrid by default), as the agent's fact recall does. */
2240
+ declare function useSearchFacts(): _tanstack_react_query.UseMutationResult<{
2241
+ facts: _arbidocs_client.components["schemas"]["FactSearchHit"][];
2242
+ }, Error, {
2243
+ query: string;
2244
+ search_mode: "semantic" | "keyword" | "hybrid";
2245
+ limit: number;
2246
+ }, unknown>;
2247
+
2145
2248
  /** An agent or deployment config: section name (`Agents`, `QueryLLM`, ...) to its parameters. */
2146
2249
  type AgentConfigSections = Record<string, Record<string, unknown>>;
2147
2250
  /**
@@ -2486,6 +2589,21 @@ declare function useWorkflows(options?: {
2486
2589
  created_at: string;
2487
2590
  updated_at: string;
2488
2591
  }[]>, Error>;
2592
+ /** A workflow's runs, re-read every few seconds while shown (a run moves on by itself). */
2593
+ declare function useWorkflowRuns(workflowId: string | undefined): _tanstack_react_query.UseQueryResult<NoInfer<{
2594
+ conversation_ext_id?: string | null;
2595
+ id: number;
2596
+ status: string;
2597
+ action_type: string;
2598
+ result: {
2599
+ [key: string]: unknown;
2600
+ } | null;
2601
+ label_ext_id: string | null;
2602
+ document_ext_ids: string[];
2603
+ error: string | null;
2604
+ created_at: string;
2605
+ completed_at: string | null;
2606
+ }[]>, Error>;
2489
2607
  /** Create a workflow from a `CreateWorkflowRequest`. Resolves with the created workflow. */
2490
2608
  declare function useCreateWorkflow(): _tanstack_react_query.UseMutationResult<{
2491
2609
  external_id: string;
@@ -7071,4 +7189,4 @@ declare function useArbiSessionStore(): ArbiSessionStore;
7071
7189
  */
7072
7190
  declare function useArbiSessionState<T>(selector: (state: ArbiSessionState) => T): T;
7073
7191
 
7074
- export { 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, 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, 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, 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 NotificationTypeMeta, 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, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, 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, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
7192
+ export { 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, 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, 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 NotificationTypeMeta, 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, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, 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, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateFact, useCreateFacts, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteFact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
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, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, DecryptedChatMessage } 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, DecryptedChatMessage } from '@arbidocs/sdk/browser';
5
5
  export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, formatGbp, formatGbpPerMillionTokens, usdToGbp } from '@arbidocs/sdk/browser';
6
6
  import * as _arbidocs_client from '@arbidocs/client';
7
7
  import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components, RecoveryKeyParams } from '@arbidocs/client';
@@ -553,6 +553,8 @@ declare const arbiQueryKeys: {
553
553
  tagList: (workspaceId: string, query: string) => readonly ["arbi", "tags", string, "list", string];
554
554
  /** A kind's fields, under the workspace's tags. */
555
555
  tagKind: (workspaceId: string, kind: string) => readonly ["arbi", "tags", string, "kind", string];
556
+ /** A task's history, under the conversations prefix: every conversation write refreshes it. */
557
+ conversationActivity: (conversationId: string) => readonly ["arbi", "conversations", string, "activity"];
556
558
  /** Under the conversations prefix: every step action or conversation write refreshes it. */
557
559
  conversationUsage: (conversationId: string) => readonly ["arbi", "conversations", string, "usage"];
558
560
  thumbnails: (docIds: string[]) => readonly ["arbi", "thumbnails", string];
@@ -561,6 +563,10 @@ declare const arbiQueryKeys: {
561
563
  sessions: () => readonly ["arbi", "sessions"];
562
564
  health: () => readonly ["arbi", "health"];
563
565
  workflows: () => readonly ["arbi", "workflows"];
566
+ /** Under `workflows()`: a workflow write or run refreshes its runs too. */
567
+ workflowRuns: (workflowId: string) => readonly ["arbi", "workflows", string, "runs"];
568
+ /** Every workspace's facts: the prefix a fact write invalidates. */
569
+ allFacts: () => readonly ["arbi", "facts"];
564
570
  facts: (workspaceId: string) => readonly ["arbi", "facts", string];
565
571
  configs: () => readonly ["arbi", "configs"];
566
572
  activity: () => readonly ["arbi", "activity"];
@@ -594,6 +600,14 @@ declare const arbiQueryKeys: {
594
600
  /** The signed-in user's settings record (notification preferences, flags). */
595
601
  userSettings: () => readonly ["arbi", "userSettings"];
596
602
  };
603
+ /**
604
+ * Keys of the mutations a host may need to follow (its own caches outside these hooks), e.g. with
605
+ * a `MutationCache` subscription: a workflow run creates a task in the host's own task list.
606
+ */
607
+ declare const arbiMutationKeys: {
608
+ runWorkflow: () => readonly ["arbi", "workflows", "run"];
609
+ updateTagKindSchema: () => readonly ["arbi", "tags", "kinds", "update"];
610
+ };
597
611
  /** Workspace people for mentions and ownership. */
598
612
  declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
599
613
  enabled?: boolean;
@@ -1241,25 +1255,6 @@ declare function useHealth(options?: {
1241
1255
  } | null | undefined;
1242
1256
  available_models: string[];
1243
1257
  }>, Error>;
1244
- /** List the open workspace's facts. */
1245
- declare function useFacts(workspaceId: string | undefined, options?: {
1246
- enabled?: boolean;
1247
- }): _tanstack_react_query.UseQueryResult<NoInfer<{
1248
- text: string;
1249
- citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
1250
- external_id: string;
1251
- workspace_ext_id: string;
1252
- shared: boolean;
1253
- confirmed: boolean;
1254
- date_start?: string | null;
1255
- date_end?: string | null;
1256
- timezone?: string | null;
1257
- reminder_task_ext_ids: string[];
1258
- tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
1259
- created_by_ext_id: string;
1260
- created_at: string;
1261
- updated_at: string;
1262
- }[]>, Error>;
1263
1258
  /** List the caller's saved agent configurations (behaviour templates). */
1264
1259
  declare function useConfigs(options?: {
1265
1260
  enabled?: boolean;
@@ -2136,12 +2131,120 @@ declare const PROJECT_CREATION_DENIED_REASON = "Only members of your firm can cr
2136
2131
  * loading: callers should neither offer nor refuse creation until it is known.
2137
2132
  */
2138
2133
  declare function useCanCreateProjects(): boolean | undefined;
2134
+ /**
2135
+ * Today's deployment-wide AI usage (£, `used_gbp`) for the signed-in user: pair it with a project's
2136
+ * `daily_cap_per_user` for a "£ used today" indicator. Re-read on mount and window focus, and when
2137
+ * the host invalidates it after the user's own generation; never polled.
2138
+ */
2139
2139
  declare function useUserUsageToday(options?: {
2140
2140
  enabled?: boolean;
2141
2141
  }): _tanstack_react_query.UseQueryResult<NoInfer<{
2142
2142
  used_gbp: number;
2143
2143
  }>, Error>;
2144
2144
 
2145
+ /** What a list asks for: the timeline range, or the notes carrying tags or citing a document. */
2146
+ type FactListFilter = Pick<ListFactsOptions, 'from' | 'to' | 'datedOnly' | 'tagExtIds' | 'docExtId'>;
2147
+ /**
2148
+ * The facts of `workspaceId` (default: the open one), newest first, or the filtered ones
2149
+ * (`datedOnly` / a range: the timeline, by date; `tagExtIds`: the notes carrying all those tags).
2150
+ */
2151
+ declare function useFacts(workspaceId?: string | null, options?: FactListFilter & {
2152
+ enabled?: boolean;
2153
+ }): _tanstack_react_query.UseQueryResult<NoInfer<{
2154
+ text: string;
2155
+ citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
2156
+ external_id: string;
2157
+ workspace_ext_id: string;
2158
+ shared: boolean;
2159
+ confirmed: boolean;
2160
+ date_start?: string | null;
2161
+ date_end?: string | null;
2162
+ timezone?: string | null;
2163
+ reminder_task_ext_ids: string[];
2164
+ tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
2165
+ created_by_ext_id: string;
2166
+ created_at: string;
2167
+ updated_at: string;
2168
+ }[]>, Error>;
2169
+ /** Add a fact (by hand it is confirmed: typing it is the vouch). */
2170
+ declare function useCreateFact(): _tanstack_react_query.UseMutationResult<{
2171
+ text: string;
2172
+ citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
2173
+ external_id: string;
2174
+ workspace_ext_id: string;
2175
+ shared: boolean;
2176
+ confirmed: boolean;
2177
+ date_start?: string | null;
2178
+ date_end?: string | null;
2179
+ timezone?: string | null;
2180
+ reminder_task_ext_ids: string[];
2181
+ tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
2182
+ created_by_ext_id: string;
2183
+ created_at: string;
2184
+ updated_at: string;
2185
+ }, Error, {
2186
+ text: string;
2187
+ shared: boolean;
2188
+ confirmed: boolean;
2189
+ date?: string | null;
2190
+ date_end?: string | null;
2191
+ timezone?: string | null;
2192
+ tag_ext_ids: string[];
2193
+ citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
2194
+ }, unknown>;
2195
+ /** Add several facts in one all-or-nothing request (an imported chronology, say). */
2196
+ declare function useCreateFacts(): _tanstack_react_query.UseMutationResult<{
2197
+ text: string;
2198
+ citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
2199
+ external_id: string;
2200
+ workspace_ext_id: string;
2201
+ shared: boolean;
2202
+ confirmed: boolean;
2203
+ date_start?: string | null;
2204
+ date_end?: string | null;
2205
+ timezone?: string | null;
2206
+ reminder_task_ext_ids: string[];
2207
+ tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
2208
+ created_by_ext_id: string;
2209
+ created_at: string;
2210
+ updated_at: string;
2211
+ }[], Error, {
2212
+ facts: _arbidocs_client.components["schemas"]["CreateFactRequest"][];
2213
+ }, unknown>;
2214
+ /**
2215
+ * Patch a fact. A text edit replaces the fact (the old one is kept as history); `shared` and
2216
+ * `confirmed` change in place.
2217
+ */
2218
+ declare function useUpdateFact(): _tanstack_react_query.UseMutationResult<{
2219
+ text: string;
2220
+ citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
2221
+ external_id: string;
2222
+ workspace_ext_id: string;
2223
+ shared: boolean;
2224
+ confirmed: boolean;
2225
+ date_start?: string | null;
2226
+ date_end?: string | null;
2227
+ timezone?: string | null;
2228
+ reminder_task_ext_ids: string[];
2229
+ tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
2230
+ created_by_ext_id: string;
2231
+ created_at: string;
2232
+ updated_at: string;
2233
+ }, Error, {
2234
+ factId: string;
2235
+ patch: UpdateFactRequest;
2236
+ }, unknown>;
2237
+ /** Delete a fact (only where the server allows it: a refused delete fails with its reason). */
2238
+ declare function useDeleteFact(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
2239
+ /** Search the open workspace's facts (hybrid by default), as the agent's fact recall does. */
2240
+ declare function useSearchFacts(): _tanstack_react_query.UseMutationResult<{
2241
+ facts: _arbidocs_client.components["schemas"]["FactSearchHit"][];
2242
+ }, Error, {
2243
+ query: string;
2244
+ search_mode: "semantic" | "keyword" | "hybrid";
2245
+ limit: number;
2246
+ }, unknown>;
2247
+
2145
2248
  /** An agent or deployment config: section name (`Agents`, `QueryLLM`, ...) to its parameters. */
2146
2249
  type AgentConfigSections = Record<string, Record<string, unknown>>;
2147
2250
  /**
@@ -2486,6 +2589,21 @@ declare function useWorkflows(options?: {
2486
2589
  created_at: string;
2487
2590
  updated_at: string;
2488
2591
  }[]>, Error>;
2592
+ /** A workflow's runs, re-read every few seconds while shown (a run moves on by itself). */
2593
+ declare function useWorkflowRuns(workflowId: string | undefined): _tanstack_react_query.UseQueryResult<NoInfer<{
2594
+ conversation_ext_id?: string | null;
2595
+ id: number;
2596
+ status: string;
2597
+ action_type: string;
2598
+ result: {
2599
+ [key: string]: unknown;
2600
+ } | null;
2601
+ label_ext_id: string | null;
2602
+ document_ext_ids: string[];
2603
+ error: string | null;
2604
+ created_at: string;
2605
+ completed_at: string | null;
2606
+ }[]>, Error>;
2489
2607
  /** Create a workflow from a `CreateWorkflowRequest`. Resolves with the created workflow. */
2490
2608
  declare function useCreateWorkflow(): _tanstack_react_query.UseMutationResult<{
2491
2609
  external_id: string;
@@ -7071,4 +7189,4 @@ declare function useArbiSessionStore(): ArbiSessionStore;
7071
7189
  */
7072
7190
  declare function useArbiSessionState<T>(selector: (state: ArbiSessionState) => T): T;
7073
7191
 
7074
- export { 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, 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, 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, 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 NotificationTypeMeta, 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, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, 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, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
7192
+ export { 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, 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, 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 NotificationTypeMeta, 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, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, 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, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateFact, useCreateFacts, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteFact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };