@arbidocs/react 0.4.85 → 0.4.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +1 -1
  2. package/dist/annotations/index.cjs +48 -48
  3. package/dist/annotations/index.js +2 -2
  4. package/dist/artifacts/index.cjs +19 -19
  5. package/dist/artifacts/index.js +3 -3
  6. package/dist/{chunk-MHCN7OST.js → chunk-AM6SJBD3.js} +3 -3
  7. package/dist/{chunk-MHCN7OST.js.map → chunk-AM6SJBD3.js.map} +1 -1
  8. package/dist/{chunk-L2PXZWJM.cjs → chunk-ETZAJ6NM.cjs} +3 -3
  9. package/dist/{chunk-L2PXZWJM.cjs.map → chunk-ETZAJ6NM.cjs.map} +1 -1
  10. package/dist/{chunk-IHTBAY57.js → chunk-GN25F3BB.js} +3 -3
  11. package/dist/{chunk-IHTBAY57.js.map → chunk-GN25F3BB.js.map} +1 -1
  12. package/dist/{chunk-QJRP2LLQ.cjs → chunk-LTPB5WJ6.cjs} +3 -3
  13. package/dist/{chunk-QJRP2LLQ.cjs.map → chunk-LTPB5WJ6.cjs.map} +1 -1
  14. package/dist/{chunk-KYCCIEXA.js → chunk-MXUWI2EU.js} +22 -4
  15. package/dist/chunk-MXUWI2EU.js.map +1 -0
  16. package/dist/{chunk-E26JGYT4.cjs → chunk-OJ2AO53O.cjs} +21 -2
  17. package/dist/chunk-OJ2AO53O.cjs.map +1 -0
  18. package/dist/document-tools/index.cjs +7 -7
  19. package/dist/document-tools/index.cjs.map +1 -1
  20. package/dist/document-tools/index.js +5 -5
  21. package/dist/document-tools/index.js.map +1 -1
  22. package/dist/index.cjs +404 -303
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.cts +97 -25
  25. package/dist/index.d.ts +97 -25
  26. package/dist/index.js +116 -21
  27. package/dist/index.js.map +1 -1
  28. package/dist/ui/index.cjs +130 -130
  29. package/dist/ui/index.js +2 -2
  30. package/package.json +3 -3
  31. package/dist/chunk-E26JGYT4.cjs.map +0 -1
  32. package/dist/chunk-KYCCIEXA.js.map +0 -1
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 { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, LoginProfile } from '@arbidocs/sdk/browser';
4
+ import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, LoginProfile, settings } from '@arbidocs/sdk/browser';
5
5
  export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, 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 } from '@arbidocs/sdk/browser';
6
6
  import * as _arbidocs_client from '@arbidocs/client';
7
7
  import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components } from '@arbidocs/client';
@@ -552,6 +552,8 @@ declare const arbiQueryKeys: {
552
552
  facts: (workspaceId: string) => readonly ["arbi", "facts", string];
553
553
  configs: () => readonly ["arbi", "configs"];
554
554
  activity: () => readonly ["arbi", "activity"];
555
+ /** A workspace's activity feed (all its pages). */
556
+ workspaceActivity: (workspaceId: string) => readonly ["arbi", "workspaceActivity", string];
555
557
  projects: () => readonly ["arbi", "projects"];
556
558
  /** A filtered project list, under `projects()`. */
557
559
  projectsFiltered: (stage?: string, leadUser?: string) => readonly ["arbi", "projects", "list", string, string];
@@ -1291,6 +1293,38 @@ declare function useActivity(options?: {
1291
1293
  created_at: string;
1292
1294
  updated_at: string;
1293
1295
  }[]>, Error>;
1296
+ /**
1297
+ * A workspace's activity feed, newest first, a page at a time: thread history, people posting,
1298
+ * uploads, new versions and signatures, workflow runs. Only what the caller can see. The pages
1299
+ * are `data.pages`; `fetchNextPage` reads the next one while `hasNextPage`.
1300
+ */
1301
+ declare function useWorkspaceActivity(workspaceId: string | null | undefined, options?: {
1302
+ enabled?: boolean;
1303
+ limit?: number;
1304
+ /** Runs before each page, e.g. to (re)open the workspace so titles and names decrypt. */
1305
+ beforeFetch?: () => Promise<unknown>;
1306
+ }): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<{
1307
+ items: {
1308
+ external_id: string;
1309
+ source: _arbidocs_client.components["schemas"]["WorkspaceActivitySource"];
1310
+ kind: string;
1311
+ actor_ext_id?: string | null | undefined;
1312
+ conversation_ext_id?: string | null | undefined;
1313
+ conversation_title?: string | null | undefined;
1314
+ message_ext_id?: string | null | undefined;
1315
+ document_ext_id?: string | null | undefined;
1316
+ document_name?: string | null | undefined;
1317
+ version?: number | null | undefined;
1318
+ workflow_ext_id?: string | null | undefined;
1319
+ workflow_name?: string | null | undefined;
1320
+ status?: string | null | undefined;
1321
+ detail?: {
1322
+ [x: string]: unknown;
1323
+ } | null | undefined;
1324
+ created_at: string;
1325
+ }[];
1326
+ next_cursor?: string | null | undefined;
1327
+ }, unknown>, Error>;
1294
1328
  /** List the logged-in user's projects (billing accounts). */
1295
1329
  declare function useProjects(options?: {
1296
1330
  enabled?: boolean;
@@ -3605,28 +3639,21 @@ interface EmailChange {
3605
3639
  declare function useEmailChange({ requestCode, confirm, cooldownSeconds: cooldownLength, }: UseEmailChangeOptions): EmailChange;
3606
3640
 
3607
3641
  /**
3608
- * Password change: re-key the account under a new master password.
3642
+ * Password change: a new master password for the same account identity.
3609
3643
  *
3610
- * `usePasswordChange` is the SDK-bound mutation (re-wraps every workspace key and re-encrypts
3611
- * direct messages, see `Arbi.account.changePassword`). `usePasswordChangeForm` is the controller
3612
- * behind `PasswordChangeDialog`: fields, validation, error wording, the success state that hands
3613
- * over the new recovery key. It takes the submit as a function, so an app without an
3614
- * `ArbiProvider` binds the same dialog.
3644
+ * The password only wraps the identity keypair, so a change is one request that re-encrypts nothing
3645
+ * and leaves the recovery key as it was (see `Arbi.account.changePassword`). `usePasswordChange` is
3646
+ * the SDK-bound mutation. `usePasswordChangeForm` is the controller behind `PasswordChangeDialog`:
3647
+ * fields, validation, error wording and the success state. It takes the submit as a function, so an
3648
+ * app without an `ArbiProvider` binds the same dialog.
3615
3649
  */
3616
- /** What a finished password change reports. */
3617
- interface PasswordChangeResult {
3618
- /** The new Ed25519 signing key: its recovery file is what the user should save now. */
3619
- newSigningPrivateKey: Uint8Array;
3620
- workspacesUpdated: number;
3621
- messagesReEncrypted: number;
3622
- }
3623
3650
  interface PasswordChangeVars {
3624
3651
  newPassword: string;
3625
3652
  /** Omit in recovery mode (after signing in with a recovery key). */
3626
3653
  currentPassword?: string;
3627
3654
  }
3628
3655
  /** Change (or, in recovery mode, set) the master password. Needs an `ArbiProvider`. */
3629
- declare function usePasswordChange(): _tanstack_react_query.UseMutationResult<PasswordChangeResult, Error, PasswordChangeVars, unknown>;
3656
+ declare function usePasswordChange(): _tanstack_react_query.UseMutationResult<void, Error, PasswordChangeVars, unknown>;
3630
3657
  interface PasswordChangeFormMessages {
3631
3658
  required: string;
3632
3659
  mismatch: string;
@@ -3635,20 +3662,20 @@ interface PasswordChangeFormMessages {
3635
3662
  wrongRecoveryKey: string;
3636
3663
  }
3637
3664
  declare const DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES: PasswordChangeFormMessages;
3638
- interface UsePasswordChangeFormOptions<R> {
3665
+ interface UsePasswordChangeFormOptions {
3639
3666
  /** After recovery with a key: no current password is asked for. */
3640
3667
  recoveryMode?: boolean;
3641
3668
  /** The host's password policy: the first unmet requirement, or `null` when the password is fine. */
3642
3669
  getUnmetRequirement: (password: string) => string | null;
3643
- /** Do the change. Resolve with whatever the success state needs (the new signing key). */
3644
- submit: (vars: PasswordChangeVars) => Promise<R>;
3670
+ /** Do the change. */
3671
+ submit: (vars: PasswordChangeVars) => Promise<void>;
3645
3672
  /** The dialog should close (cancel, or done). */
3646
3673
  onClose: () => void;
3647
3674
  /** Recovery finished: continue into the app. Recovery closes itself, with no success screen. */
3648
3675
  onRecoveryComplete?: () => void;
3649
3676
  messages?: Partial<PasswordChangeFormMessages>;
3650
3677
  }
3651
- interface PasswordChangeForm<R> {
3678
+ interface PasswordChangeForm {
3652
3679
  currentPassword: string;
3653
3680
  onCurrentPasswordChange: (value: string) => void;
3654
3681
  newPassword: string;
@@ -3659,15 +3686,15 @@ interface PasswordChangeForm<R> {
3659
3686
  isProcessing: boolean;
3660
3687
  isSubmitDisabled: boolean;
3661
3688
  onSubmit: () => void;
3662
- /** The outcome once the change went through (normal mode); render the recovery key from it. */
3663
- result: R | null;
3689
+ /** The change went through (normal mode): the dialog shows its success state. */
3690
+ isChanged: boolean;
3664
3691
  /** Cancel and clear the form. */
3665
3692
  onCancel: () => void;
3666
3693
  /** Leave the success screen. */
3667
3694
  onDone: () => void;
3668
3695
  }
3669
3696
  /** The state machine of `PasswordChangeDialog`; spread it into the dialog's props. */
3670
- declare function usePasswordChangeForm<R>({ recoveryMode, getUnmetRequirement, submit, onClose, onRecoveryComplete, messages, }: UsePasswordChangeFormOptions<R>): PasswordChangeForm<R>;
3697
+ declare function usePasswordChangeForm({ recoveryMode, getUnmetRequirement, submit, onClose, onRecoveryComplete, messages, }: UsePasswordChangeFormOptions): PasswordChangeForm;
3671
3698
 
3672
3699
  /**
3673
3700
  * Notification preferences: which email categories the user wants (the `email_notifications`
@@ -3779,6 +3806,48 @@ declare function useNotificationPreferences(keys: readonly string[], options?: {
3779
3806
  categoryPatch: (key: string, value: boolean) => EmailPreferences;
3780
3807
  };
3781
3808
 
3809
+ /**
3810
+ * Follow and mute: the relevance lists of the user settings. A workspace member is pushed only what
3811
+ * concerns them (a mention, an assignment, a reply in a thread they take part in). Following a
3812
+ * workspace or a thread opts in to everything from it; muting a workspace silences it, mentions
3813
+ * included. Everything else is in the workspace's activity feed.
3814
+ *
3815
+ * The server takes each list whole: a save sends the full new list, worked out from the cached
3816
+ * settings, and updates the cache straight away; a failed write rolls back.
3817
+ */
3818
+
3819
+ /** `default` (what names or involves you), `following` (everything) or `muted` (nothing). */
3820
+ type WorkspaceNotificationLevel = settings.WorkspaceNotificationLevel;
3821
+ /** The lists a follow or mute write may send. */
3822
+ interface RelevancePatch {
3823
+ muted_workspaces?: string[];
3824
+ followed_workspaces?: string[];
3825
+ followed_threads?: string[];
3826
+ }
3827
+ /**
3828
+ * How much of a workspace reaches the user: `default`, `following` (everything) or `muted`
3829
+ * (nothing). `setLevel` moves the workspace between the two lists in one write.
3830
+ */
3831
+ declare function useWorkspaceNotificationLevel(workspaceId: string | null | undefined, options?: {
3832
+ enabled?: boolean;
3833
+ }): {
3834
+ level: "default" | "following" | "muted";
3835
+ setLevel: (next: WorkspaceNotificationLevel) => void;
3836
+ isLoading: boolean;
3837
+ isSaving: boolean;
3838
+ error: Error | null;
3839
+ };
3840
+ /** Whether the user follows a thread (pushed everything in it), and the switch. */
3841
+ declare function useFollowThread(conversationId: string | null | undefined, options?: {
3842
+ enabled?: boolean;
3843
+ }): {
3844
+ following: boolean;
3845
+ setFollowing: (on: boolean) => void;
3846
+ isLoading: boolean;
3847
+ isSaving: boolean;
3848
+ error: Error | null;
3849
+ };
3850
+
3782
3851
  /**
3783
3852
  * Session management beyond `useSessions` (the list): end one session, sign out everywhere, and
3784
3853
  * tell which listed session is this device's.
@@ -4461,7 +4530,10 @@ interface MessageArtifact {
4461
4530
  title: string;
4462
4531
  /** Whether generation has finished. */
4463
4532
  isComplete: boolean;
4464
- /** Content mode; `image` swaps in image-specific labels and icon. */
4533
+ /**
4534
+ * Content mode. `markdown` / `text` are document drafts, which the server stores as Word
4535
+ * documents (.docx); `html` / `react` are live UI artifacts; `image` is a generated image.
4536
+ */
4465
4537
  mode: 'markdown' | 'html' | 'text' | 'react' | 'image';
4466
4538
  }
4467
4539
  interface MessageArtifactCardProps {
@@ -4471,7 +4543,7 @@ interface MessageArtifactCardProps {
4471
4543
  onOpen: (docExtId: string) => void;
4472
4544
  }
4473
4545
  /**
4474
- * Inline "View draft" affordance shown inside the assistant message that
4546
+ * Inline "Open in Word" (document drafts) / "Open preview" / "View image" affordance shown inside the assistant message that
4475
4547
  * produced a drafted document — so the artifact lives in the conversation
4476
4548
  * narrative (dyad-style) instead of only a hidden docked panel.
4477
4549
  *
@@ -6590,4 +6662,4 @@ interface ArbiUiState {
6590
6662
  }
6591
6663
  declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
6592
6664
 
6593
- export { 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, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, 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_START_BY_EMAIL_LABELS, DEFAULT_USD_PER_CREDIT, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FormatCreditsOptions, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, 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 MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeResult, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, 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 UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, XlsIcon, accountPath, aliasTakenMessage, annotateThread, arbiMailClient, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createMailClient, creditsToUsd, cropImage, dayKey, defaultMailAlias, describeActivity, fileAttachment, formatCredits, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActOnStep, useActivity, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useLogoutAllSessions, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailUnlock, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRemoveContacts, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceDocs, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
6665
+ export { 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, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, 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_START_BY_EMAIL_LABELS, DEFAULT_USD_PER_CREDIT, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FormatCreditsOptions, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, 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 MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, 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 RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, 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 UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, arbiMailClient, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createMailClient, creditsToUsd, cropImage, dayKey, defaultMailAlias, describeActivity, fileAttachment, formatCredits, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActOnStep, useActivity, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFollowThread, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useLogoutAllSessions, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailUnlock, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRemoveContacts, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, 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 { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, LoginProfile } from '@arbidocs/sdk/browser';
4
+ import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, LoginProfile, settings } from '@arbidocs/sdk/browser';
5
5
  export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, 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 } from '@arbidocs/sdk/browser';
6
6
  import * as _arbidocs_client from '@arbidocs/client';
7
7
  import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components } from '@arbidocs/client';
@@ -552,6 +552,8 @@ declare const arbiQueryKeys: {
552
552
  facts: (workspaceId: string) => readonly ["arbi", "facts", string];
553
553
  configs: () => readonly ["arbi", "configs"];
554
554
  activity: () => readonly ["arbi", "activity"];
555
+ /** A workspace's activity feed (all its pages). */
556
+ workspaceActivity: (workspaceId: string) => readonly ["arbi", "workspaceActivity", string];
555
557
  projects: () => readonly ["arbi", "projects"];
556
558
  /** A filtered project list, under `projects()`. */
557
559
  projectsFiltered: (stage?: string, leadUser?: string) => readonly ["arbi", "projects", "list", string, string];
@@ -1291,6 +1293,38 @@ declare function useActivity(options?: {
1291
1293
  created_at: string;
1292
1294
  updated_at: string;
1293
1295
  }[]>, Error>;
1296
+ /**
1297
+ * A workspace's activity feed, newest first, a page at a time: thread history, people posting,
1298
+ * uploads, new versions and signatures, workflow runs. Only what the caller can see. The pages
1299
+ * are `data.pages`; `fetchNextPage` reads the next one while `hasNextPage`.
1300
+ */
1301
+ declare function useWorkspaceActivity(workspaceId: string | null | undefined, options?: {
1302
+ enabled?: boolean;
1303
+ limit?: number;
1304
+ /** Runs before each page, e.g. to (re)open the workspace so titles and names decrypt. */
1305
+ beforeFetch?: () => Promise<unknown>;
1306
+ }): _tanstack_react_query.UseInfiniteQueryResult<_tanstack_query_core.InfiniteData<{
1307
+ items: {
1308
+ external_id: string;
1309
+ source: _arbidocs_client.components["schemas"]["WorkspaceActivitySource"];
1310
+ kind: string;
1311
+ actor_ext_id?: string | null | undefined;
1312
+ conversation_ext_id?: string | null | undefined;
1313
+ conversation_title?: string | null | undefined;
1314
+ message_ext_id?: string | null | undefined;
1315
+ document_ext_id?: string | null | undefined;
1316
+ document_name?: string | null | undefined;
1317
+ version?: number | null | undefined;
1318
+ workflow_ext_id?: string | null | undefined;
1319
+ workflow_name?: string | null | undefined;
1320
+ status?: string | null | undefined;
1321
+ detail?: {
1322
+ [x: string]: unknown;
1323
+ } | null | undefined;
1324
+ created_at: string;
1325
+ }[];
1326
+ next_cursor?: string | null | undefined;
1327
+ }, unknown>, Error>;
1294
1328
  /** List the logged-in user's projects (billing accounts). */
1295
1329
  declare function useProjects(options?: {
1296
1330
  enabled?: boolean;
@@ -3605,28 +3639,21 @@ interface EmailChange {
3605
3639
  declare function useEmailChange({ requestCode, confirm, cooldownSeconds: cooldownLength, }: UseEmailChangeOptions): EmailChange;
3606
3640
 
3607
3641
  /**
3608
- * Password change: re-key the account under a new master password.
3642
+ * Password change: a new master password for the same account identity.
3609
3643
  *
3610
- * `usePasswordChange` is the SDK-bound mutation (re-wraps every workspace key and re-encrypts
3611
- * direct messages, see `Arbi.account.changePassword`). `usePasswordChangeForm` is the controller
3612
- * behind `PasswordChangeDialog`: fields, validation, error wording, the success state that hands
3613
- * over the new recovery key. It takes the submit as a function, so an app without an
3614
- * `ArbiProvider` binds the same dialog.
3644
+ * The password only wraps the identity keypair, so a change is one request that re-encrypts nothing
3645
+ * and leaves the recovery key as it was (see `Arbi.account.changePassword`). `usePasswordChange` is
3646
+ * the SDK-bound mutation. `usePasswordChangeForm` is the controller behind `PasswordChangeDialog`:
3647
+ * fields, validation, error wording and the success state. It takes the submit as a function, so an
3648
+ * app without an `ArbiProvider` binds the same dialog.
3615
3649
  */
3616
- /** What a finished password change reports. */
3617
- interface PasswordChangeResult {
3618
- /** The new Ed25519 signing key: its recovery file is what the user should save now. */
3619
- newSigningPrivateKey: Uint8Array;
3620
- workspacesUpdated: number;
3621
- messagesReEncrypted: number;
3622
- }
3623
3650
  interface PasswordChangeVars {
3624
3651
  newPassword: string;
3625
3652
  /** Omit in recovery mode (after signing in with a recovery key). */
3626
3653
  currentPassword?: string;
3627
3654
  }
3628
3655
  /** Change (or, in recovery mode, set) the master password. Needs an `ArbiProvider`. */
3629
- declare function usePasswordChange(): _tanstack_react_query.UseMutationResult<PasswordChangeResult, Error, PasswordChangeVars, unknown>;
3656
+ declare function usePasswordChange(): _tanstack_react_query.UseMutationResult<void, Error, PasswordChangeVars, unknown>;
3630
3657
  interface PasswordChangeFormMessages {
3631
3658
  required: string;
3632
3659
  mismatch: string;
@@ -3635,20 +3662,20 @@ interface PasswordChangeFormMessages {
3635
3662
  wrongRecoveryKey: string;
3636
3663
  }
3637
3664
  declare const DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES: PasswordChangeFormMessages;
3638
- interface UsePasswordChangeFormOptions<R> {
3665
+ interface UsePasswordChangeFormOptions {
3639
3666
  /** After recovery with a key: no current password is asked for. */
3640
3667
  recoveryMode?: boolean;
3641
3668
  /** The host's password policy: the first unmet requirement, or `null` when the password is fine. */
3642
3669
  getUnmetRequirement: (password: string) => string | null;
3643
- /** Do the change. Resolve with whatever the success state needs (the new signing key). */
3644
- submit: (vars: PasswordChangeVars) => Promise<R>;
3670
+ /** Do the change. */
3671
+ submit: (vars: PasswordChangeVars) => Promise<void>;
3645
3672
  /** The dialog should close (cancel, or done). */
3646
3673
  onClose: () => void;
3647
3674
  /** Recovery finished: continue into the app. Recovery closes itself, with no success screen. */
3648
3675
  onRecoveryComplete?: () => void;
3649
3676
  messages?: Partial<PasswordChangeFormMessages>;
3650
3677
  }
3651
- interface PasswordChangeForm<R> {
3678
+ interface PasswordChangeForm {
3652
3679
  currentPassword: string;
3653
3680
  onCurrentPasswordChange: (value: string) => void;
3654
3681
  newPassword: string;
@@ -3659,15 +3686,15 @@ interface PasswordChangeForm<R> {
3659
3686
  isProcessing: boolean;
3660
3687
  isSubmitDisabled: boolean;
3661
3688
  onSubmit: () => void;
3662
- /** The outcome once the change went through (normal mode); render the recovery key from it. */
3663
- result: R | null;
3689
+ /** The change went through (normal mode): the dialog shows its success state. */
3690
+ isChanged: boolean;
3664
3691
  /** Cancel and clear the form. */
3665
3692
  onCancel: () => void;
3666
3693
  /** Leave the success screen. */
3667
3694
  onDone: () => void;
3668
3695
  }
3669
3696
  /** The state machine of `PasswordChangeDialog`; spread it into the dialog's props. */
3670
- declare function usePasswordChangeForm<R>({ recoveryMode, getUnmetRequirement, submit, onClose, onRecoveryComplete, messages, }: UsePasswordChangeFormOptions<R>): PasswordChangeForm<R>;
3697
+ declare function usePasswordChangeForm({ recoveryMode, getUnmetRequirement, submit, onClose, onRecoveryComplete, messages, }: UsePasswordChangeFormOptions): PasswordChangeForm;
3671
3698
 
3672
3699
  /**
3673
3700
  * Notification preferences: which email categories the user wants (the `email_notifications`
@@ -3779,6 +3806,48 @@ declare function useNotificationPreferences(keys: readonly string[], options?: {
3779
3806
  categoryPatch: (key: string, value: boolean) => EmailPreferences;
3780
3807
  };
3781
3808
 
3809
+ /**
3810
+ * Follow and mute: the relevance lists of the user settings. A workspace member is pushed only what
3811
+ * concerns them (a mention, an assignment, a reply in a thread they take part in). Following a
3812
+ * workspace or a thread opts in to everything from it; muting a workspace silences it, mentions
3813
+ * included. Everything else is in the workspace's activity feed.
3814
+ *
3815
+ * The server takes each list whole: a save sends the full new list, worked out from the cached
3816
+ * settings, and updates the cache straight away; a failed write rolls back.
3817
+ */
3818
+
3819
+ /** `default` (what names or involves you), `following` (everything) or `muted` (nothing). */
3820
+ type WorkspaceNotificationLevel = settings.WorkspaceNotificationLevel;
3821
+ /** The lists a follow or mute write may send. */
3822
+ interface RelevancePatch {
3823
+ muted_workspaces?: string[];
3824
+ followed_workspaces?: string[];
3825
+ followed_threads?: string[];
3826
+ }
3827
+ /**
3828
+ * How much of a workspace reaches the user: `default`, `following` (everything) or `muted`
3829
+ * (nothing). `setLevel` moves the workspace between the two lists in one write.
3830
+ */
3831
+ declare function useWorkspaceNotificationLevel(workspaceId: string | null | undefined, options?: {
3832
+ enabled?: boolean;
3833
+ }): {
3834
+ level: "default" | "following" | "muted";
3835
+ setLevel: (next: WorkspaceNotificationLevel) => void;
3836
+ isLoading: boolean;
3837
+ isSaving: boolean;
3838
+ error: Error | null;
3839
+ };
3840
+ /** Whether the user follows a thread (pushed everything in it), and the switch. */
3841
+ declare function useFollowThread(conversationId: string | null | undefined, options?: {
3842
+ enabled?: boolean;
3843
+ }): {
3844
+ following: boolean;
3845
+ setFollowing: (on: boolean) => void;
3846
+ isLoading: boolean;
3847
+ isSaving: boolean;
3848
+ error: Error | null;
3849
+ };
3850
+
3782
3851
  /**
3783
3852
  * Session management beyond `useSessions` (the list): end one session, sign out everywhere, and
3784
3853
  * tell which listed session is this device's.
@@ -4461,7 +4530,10 @@ interface MessageArtifact {
4461
4530
  title: string;
4462
4531
  /** Whether generation has finished. */
4463
4532
  isComplete: boolean;
4464
- /** Content mode; `image` swaps in image-specific labels and icon. */
4533
+ /**
4534
+ * Content mode. `markdown` / `text` are document drafts, which the server stores as Word
4535
+ * documents (.docx); `html` / `react` are live UI artifacts; `image` is a generated image.
4536
+ */
4465
4537
  mode: 'markdown' | 'html' | 'text' | 'react' | 'image';
4466
4538
  }
4467
4539
  interface MessageArtifactCardProps {
@@ -4471,7 +4543,7 @@ interface MessageArtifactCardProps {
4471
4543
  onOpen: (docExtId: string) => void;
4472
4544
  }
4473
4545
  /**
4474
- * Inline "View draft" affordance shown inside the assistant message that
4546
+ * Inline "Open in Word" (document drafts) / "Open preview" / "View image" affordance shown inside the assistant message that
4475
4547
  * produced a drafted document — so the artifact lives in the conversation
4476
4548
  * narrative (dyad-style) instead of only a hidden docked panel.
4477
4549
  *
@@ -6590,4 +6662,4 @@ interface ArbiUiState {
6590
6662
  }
6591
6663
  declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
6592
6664
 
6593
- export { 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, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, 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_START_BY_EMAIL_LABELS, DEFAULT_USD_PER_CREDIT, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FormatCreditsOptions, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, 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 MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeResult, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, 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 UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, XlsIcon, accountPath, aliasTakenMessage, annotateThread, arbiMailClient, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createMailClient, creditsToUsd, cropImage, dayKey, defaultMailAlias, describeActivity, fileAttachment, formatCredits, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActOnStep, useActivity, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useLogoutAllSessions, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailUnlock, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRemoveContacts, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceDocs, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
6665
+ export { 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, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, 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_START_BY_EMAIL_LABELS, DEFAULT_USD_PER_CREDIT, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FormatCreditsOptions, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, 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 MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, 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 RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, 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 UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, arbiMailClient, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createMailClient, creditsToUsd, cropImage, dayKey, defaultMailAlias, describeActivity, fileAttachment, formatCredits, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActOnStep, useActivity, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFollowThread, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useLogoutAllSessions, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailUnlock, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRemoveContacts, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };