@arbidocs/react 0.4.128 → 0.4.130
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/artifacts/index.cjs +72 -55
- package/dist/artifacts/index.cjs.map +1 -1
- package/dist/artifacts/index.d.cts +17 -1
- package/dist/artifacts/index.d.ts +17 -1
- package/dist/artifacts/index.js +20 -7
- package/dist/artifacts/index.js.map +1 -1
- package/dist/{chunk-GX75JCPR.cjs → chunk-65WT5PHA.cjs} +361 -189
- package/dist/chunk-65WT5PHA.cjs.map +1 -0
- package/dist/chunk-6JSXDLIQ.js +101 -0
- package/dist/chunk-6JSXDLIQ.js.map +1 -0
- package/dist/{chunk-F7KQVVD2.cjs → chunk-6PPWZILQ.cjs} +28 -15
- package/dist/chunk-6PPWZILQ.cjs.map +1 -0
- package/dist/{chunk-EKRRORFO.js → chunk-C44GO33B.js} +105 -46
- package/dist/chunk-C44GO33B.js.map +1 -0
- package/dist/{chunk-5PQO46PE.js → chunk-J3BYHBKW.js} +358 -189
- package/dist/chunk-J3BYHBKW.js.map +1 -0
- package/dist/{chunk-G6FHNURH.js → chunk-NNWMHMEC.js} +60 -3
- package/dist/chunk-NNWMHMEC.js.map +1 -0
- package/dist/{chunk-TBELZWGV.cjs → chunk-OC7F5SNA.cjs} +108 -44
- package/dist/chunk-OC7F5SNA.cjs.map +1 -0
- package/dist/{chunk-ECOSGMTW.js → chunk-PPRKQK4P.js} +28 -15
- package/dist/chunk-PPRKQK4P.js.map +1 -0
- package/dist/chunk-S7J5SCTZ.cjs +110 -0
- package/dist/chunk-S7J5SCTZ.cjs.map +1 -0
- package/dist/{chunk-AFGE55RQ.cjs → chunk-UN3AZUXX.cjs} +2 -11
- package/dist/chunk-UN3AZUXX.cjs.map +1 -0
- package/dist/{chunk-5WXNTCI3.js → chunk-XV7EOUQM.js} +3 -11
- package/dist/chunk-XV7EOUQM.js.map +1 -0
- package/dist/{chunk-5DCRIWCA.cjs → chunk-ZWFMFOGP.cjs} +68 -2
- package/dist/chunk-ZWFMFOGP.cjs.map +1 -0
- package/dist/document-tools/index.cjs +73 -126
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.d.cts +16 -4
- package/dist/document-tools/index.d.ts +16 -4
- package/dist/document-tools/index.js +28 -105
- package/dist/document-tools/index.js.map +1 -1
- package/dist/{index-B1O2cqOo.d.cts → index-2Y2MVegs.d.cts} +85 -6
- package/dist/{index-B1O2cqOo.d.ts → index-2Y2MVegs.d.ts} +85 -6
- package/dist/{index-C7OqcKY3.d.ts → index-D8NvRj3J.d.cts} +16 -7
- package/dist/{index-C7OqcKY3.d.cts → index-D8NvRj3J.d.ts} +16 -7
- package/dist/index.cjs +589 -391
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +248 -96
- package/dist/index.d.ts +248 -96
- package/dist/index.js +245 -78
- package/dist/index.js.map +1 -1
- package/dist/shell/index.cjs +10 -6
- package/dist/shell/index.d.cts +1 -1
- package/dist/shell/index.d.ts +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/ui/index.cjs +144 -120
- package/dist/ui/index.d.cts +2 -1
- package/dist/ui/index.d.ts +2 -1
- package/dist/ui/index.js +2 -2
- package/dist/viewers/index.cjs +91 -0
- package/dist/viewers/index.cjs.map +1 -1
- package/dist/viewers/index.d.cts +62 -1
- package/dist/viewers/index.d.ts +62 -1
- package/dist/viewers/index.js +90 -1
- package/dist/viewers/index.js.map +1 -1
- package/package.json +8 -3
- package/dist/chunk-5DCRIWCA.cjs.map +0 -1
- package/dist/chunk-5PQO46PE.js.map +0 -1
- package/dist/chunk-5WXNTCI3.js.map +0 -1
- package/dist/chunk-74UTKIWQ.js +0 -62
- package/dist/chunk-74UTKIWQ.js.map +0 -1
- package/dist/chunk-AFGE55RQ.cjs.map +0 -1
- package/dist/chunk-ECOSGMTW.js.map +0 -1
- package/dist/chunk-EKRRORFO.js.map +0 -1
- package/dist/chunk-F7KQVVD2.cjs.map +0 -1
- package/dist/chunk-G6FHNURH.js.map +0 -1
- package/dist/chunk-GX75JCPR.cjs.map +0 -1
- package/dist/chunk-NUFEZBA5.cjs +0 -72
- package/dist/chunk-NUFEZBA5.cjs.map +0 -1
- package/dist/chunk-TBELZWGV.cjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,19 +4,19 @@ import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
|
|
|
4
4
|
import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, 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
|
-
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components } from '@arbidocs/client';
|
|
7
|
+
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components, RecoveryKeyParams } from '@arbidocs/client';
|
|
8
8
|
export { WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePostedMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
|
|
9
9
|
import * as zustand from 'zustand';
|
|
10
10
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
11
11
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
12
12
|
import { QueryClient } from '@tanstack/react-query';
|
|
13
|
-
import {
|
|
14
|
-
export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as
|
|
13
|
+
import { ar as IdentityStatus, ap as IdentityPurchase, as as IdentityStep, at as IdentityVerificationFlow, ae as EntityIconComponent } from './index-2Y2MVegs.js';
|
|
14
|
+
export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as DebouncedInput, G as DebouncedInputProps, H as Dialog, I as DialogClose, J as DialogContent, K as DialogDescription, L as DialogFooter, M as DialogHeader, N as DialogOverlay, O as DialogPortal, P as DialogPresentation, Q as DialogTitle, R as DialogTrigger, S as DictateContextValue, T as DictateProvider, U as DocumentCard, V as DocumentCardProps, W as DocumentEntity, X as DocumentEntityProps, Y as DocumentLike, Z as DropdownMenu, _ as DropdownMenuCheckboxItem, $ as DropdownMenuContent, a0 as DropdownMenuGroup, a1 as DropdownMenuItem, a2 as DropdownMenuLabel, a3 as DropdownMenuPortal, a4 as DropdownMenuRadioGroup, a5 as DropdownMenuRadioItem, a6 as DropdownMenuSeparator, a7 as DropdownMenuShortcut, a8 as DropdownMenuSub, a9 as DropdownMenuSubContent, aa as DropdownMenuSubTrigger, ab as DropdownMenuTrigger, ac as ENTITY_MAPPINGS, ad as EntityIcon, af as EntityPill, ag as EntityRegistryOverride, ah as EntityType, ai as HoverCard, aj as HoverCardContent, ak as HoverCardTrigger, al as IconToggle, am as IconToggleProps, an as IdentityBusy, ao as IdentityProblem, aq as IdentityState, au as Input, av as InputProps, aw as Label, ax as MarkMenu, ay as MarkMenuItem, az as MarkMenuProps, aA as MarkdownCode, aB as MarkdownLink, aC as MarkdownRenderer, aD as MarkdownRendererProps, aE as MarkdownStreamingContext, aF as NEUTRAL_GRAY, aG as PLACEHOLDER_COLOR, aH as PassageCard, aI as PassageCardProps, aJ as Popover, aK as PopoverAnchor, aL as PopoverClose, aM as PopoverContent, aN as PopoverTrigger, aO as PortalContainerProvider, aP as PresenceDisplayStatus, aQ as PresenceLabel, aR as Progress, aS as ProjectEntity, aT as ProjectEntityProps, aU as ProjectRelation, aV as RadioGroup, aW as RadioGroupItem, aX as Rag, aY as RagDot, aZ as RelevanceDot, a_ as ScrollArea, a$ as ScrollBar, b0 as Select, b1 as SelectContent, b2 as SelectGroup, b3 as SelectItem, b4 as SelectLabel, b5 as SelectScrollDownButton, b6 as SelectScrollUpButton, b7 as SelectSeparator, b8 as SelectTrigger, b9 as SelectValue, ba as Separator, bb as ShieldIcon, bc as ShieldIconProps, bd as Slider, be as StatusBadgeComponent, bf as StatusBadgeProps, bg as StatusPill, bh as StatusPillProps, bi as StatusVariant, bj as Switch, bk as TAG_TYPE_ICONS, bl as TAG_TYPE_LABELS, bm as Table, bn as TableBody, bo as TableCaption, bp as TableCell, bq as TableFooter, br as TableHead, bs as TableHeader, bt as TableRow, bu as Tabs, bv as TabsContent, bw as TabsList, bx as TabsTrigger, by as TagEntity, bz as TagEntityProps, bA as TagLike, bB as Textarea, bC as TextareaProps, bD as ThreadVisibilityIcon, bE as Toggle, bF as ToggleGroup, bG as ToggleGroupItem, bH as Tooltip, bI as TooltipContent, bJ as TooltipProvider, bK as TooltipTrigger, bL as UserEntity, bM as UserEntityProps, bN as UserMenu, bO as UserMenuItem, bP as UserMenuProps, bQ as UserMenuStatus, bR as VISIBILITY_ICONS, bS as VerifiedBadge, bT as VerifiedBadgeProps, bU as VisibilityIcon, bV as VisibilityToggle, bW as VisibilityToggleProps, bX as agentAvatarColors, bY as badgeVariants, bZ as buttonVariants, b_ as cardVariants, b$ as closeOpenEmphasis, c0 as cn, c1 as configureEntityRegistry, c2 as configureRagLabels, c3 as configureStatusRegistry, c4 as getDocIcon, c5 as getEntityColor, c6 as getEntityColorStyles, c7 as getEntityIcon, c8 as getEntityLabel, c9 as getStatusVariant, ca as getTagTypeIcon, cb as getTagTypeLabel, cc as getWorkspaceColor, cd as markdownBaseComponents, ce as markdownSanitizeSchema, cf as normalizeCitationMarkup, cg as splitMarkdownBlocks, ch as toggleVariants, ci as trimOpenCitation, cj as usePortalContainer } from './index-2Y2MVegs.js';
|
|
15
15
|
import { VerificationResult } from '@didit-protocol/sdk-web';
|
|
16
16
|
import { LucideIcon } from 'lucide-react';
|
|
17
17
|
import { Components } from 'react-markdown';
|
|
18
18
|
export { D as DraftCleanReport, a as DraftCleanStage, c as cleanDraftMarkdown, b as cleanDraftWithReport, p as promoteBoldTitle, r as repairParsedStructure, d as repairParsedTitle, s as stripAgentPreamble, u as unescapeMarkdown, e as unwrapCitationLinks } from './stored-markdown-Bp18vrbr.js';
|
|
19
|
-
export { A as AppNotification, D as DEFAULT_NOTIFY_TONE, N as NotificationBell, a as NotificationBellProps, b as NotificationBellTriggerState, c as NotifyOptions, d as NotifyVariant, T as Toaster, n as notify, s as seedNotifications, e as selectUnread, u as useNotify } from './index-
|
|
19
|
+
export { A as AppNotification, D as DEFAULT_NOTIFY_TONE, N as NotificationBell, a as NotificationBellProps, b as NotificationBellTriggerState, c as NotifyOptions, d as NotifyVariant, T as Toaster, n as notify, s as seedNotifications, e as selectUnread, u as useNotify } from './index-D8NvRj3J.js';
|
|
20
20
|
import { ColDef } from 'ag-grid-community';
|
|
21
21
|
export { ToasterProps, toast } from 'sonner';
|
|
22
22
|
import 'clsx';
|
|
@@ -39,6 +39,7 @@ import '@radix-ui/react-switch';
|
|
|
39
39
|
import '@radix-ui/react-tabs';
|
|
40
40
|
import '@radix-ui/react-toggle';
|
|
41
41
|
import '@radix-ui/react-toggle-group';
|
|
42
|
+
import 'rehype-sanitize';
|
|
42
43
|
|
|
43
44
|
interface ArbiProviderProps extends ArbiOptions {
|
|
44
45
|
children: ReactNode;
|
|
@@ -1207,19 +1208,6 @@ declare function useAgents(options?: {
|
|
|
1207
1208
|
declare function useDeleteAgents(): _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
1208
1209
|
agentExtIds: string[];
|
|
1209
1210
|
}, unknown>;
|
|
1210
|
-
/** List active sessions. */
|
|
1211
|
-
declare function useSessions(options?: {
|
|
1212
|
-
enabled?: boolean;
|
|
1213
|
-
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
1214
|
-
session_id: string;
|
|
1215
|
-
external_id?: string | null;
|
|
1216
|
-
name?: string | null;
|
|
1217
|
-
ip_address?: string | null;
|
|
1218
|
-
active_workspace?: string | null;
|
|
1219
|
-
workspaces: string[];
|
|
1220
|
-
status: string;
|
|
1221
|
-
ttl: number;
|
|
1222
|
-
}[]>, Error>;
|
|
1223
1211
|
/** Authorize a delegated session (generates claim code). Returns a mutation. */
|
|
1224
1212
|
/** Check backend health. */
|
|
1225
1213
|
declare function useHealth(options?: {
|
|
@@ -3600,10 +3588,7 @@ declare function useAvatarCrop({ upload, onProblem, maxBytes, }: UseAvatarCropOp
|
|
|
3600
3588
|
/** Send the 3-word verification code to the new address (not for SSO accounts). */
|
|
3601
3589
|
declare function useRequestEmailChange(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
3602
3590
|
/** Confirm the new address with the emailed code; the profile query shows the new email. */
|
|
3603
|
-
declare function useConfirmEmailChange(): _tanstack_react_query.UseMutationResult<{
|
|
3604
|
-
detail: string;
|
|
3605
|
-
email: string;
|
|
3606
|
-
}, Error, {
|
|
3591
|
+
declare function useConfirmEmailChange(): _tanstack_react_query.UseMutationResult<void, Error, {
|
|
3607
3592
|
newEmail: string;
|
|
3608
3593
|
code: string;
|
|
3609
3594
|
}, unknown>;
|
|
@@ -3653,7 +3638,7 @@ interface PasswordChangeVars {
|
|
|
3653
3638
|
/** Omit in recovery mode (after signing in with a recovery key). */
|
|
3654
3639
|
currentPassword?: string;
|
|
3655
3640
|
}
|
|
3656
|
-
/** Change (or, in recovery mode, set) the master password
|
|
3641
|
+
/** Change (or, in recovery mode, set) the master password through the account client in scope. */
|
|
3657
3642
|
declare function usePasswordChange(): _tanstack_react_query.UseMutationResult<void, Error, PasswordChangeVars, unknown>;
|
|
3658
3643
|
interface PasswordChangeFormMessages {
|
|
3659
3644
|
required: string;
|
|
@@ -3851,13 +3836,126 @@ declare function useFollowThread(conversationId: string | null | undefined, opti
|
|
|
3851
3836
|
};
|
|
3852
3837
|
|
|
3853
3838
|
/**
|
|
3854
|
-
*
|
|
3855
|
-
*
|
|
3839
|
+
* Identity verification: the optional, paid ID check behind the verified tick (Pro plans only).
|
|
3840
|
+
*
|
|
3841
|
+
* Two layers, like `profile.ts`. `useIdentityVerificationFlow` owns the dialog's state and takes
|
|
3842
|
+
* the backend calls as functions, so an app with its own API layer (ARBI-frontend) binds the same
|
|
3843
|
+
* `IdentityVerificationCard` / `IdentityVerificationDialog` blocks without a provider.
|
|
3844
|
+
* `useIdentityVerification` binds it to the SDK (`arbi.identity`).
|
|
3845
|
+
*
|
|
3846
|
+
* Steps: pay the one-time fee (charged to the user's Pro project card) → verify inside Didit's
|
|
3847
|
+
* embedded frame → result (verified, declined, in review, or the name on the document differs from
|
|
3848
|
+
* the account name, offered as the new name). No webhooks: completing Didit's flow calls `refresh`.
|
|
3856
3849
|
*/
|
|
3857
|
-
|
|
3850
|
+
|
|
3851
|
+
/** The backend calls of the flow, as functions (see the module comment). */
|
|
3852
|
+
interface IdentityVerificationApi {
|
|
3853
|
+
status: () => Promise<IdentityStatus>;
|
|
3854
|
+
purchase: () => Promise<IdentityPurchase>;
|
|
3855
|
+
/** The Didit session URL. */
|
|
3856
|
+
startSession: () => Promise<string>;
|
|
3857
|
+
refresh: () => Promise<IdentityStatus>;
|
|
3858
|
+
acceptName: () => Promise<IdentityStatus>;
|
|
3859
|
+
remove: () => Promise<IdentityStatus>;
|
|
3860
|
+
}
|
|
3861
|
+
interface UseIdentityVerificationFlowOptions {
|
|
3862
|
+
/** Load the status (default true; e.g. false while signed out). */
|
|
3863
|
+
enabled?: boolean;
|
|
3864
|
+
/** The tick changed (granted, renamed away, removed): update the host's copy of the user. */
|
|
3865
|
+
onVerifiedChange?: (verified: boolean) => void;
|
|
3866
|
+
/** The account name became the name on the document. */
|
|
3867
|
+
onNameAccepted?: (name: {
|
|
3868
|
+
givenName: string;
|
|
3869
|
+
familyName: string | null;
|
|
3870
|
+
}) => void;
|
|
3871
|
+
/** The host's price format (e.g. its billing helpers); default `formatIdentityPrice`. */
|
|
3872
|
+
formatPrice?: (status: IdentityStatus) => string;
|
|
3873
|
+
}
|
|
3874
|
+
/** Which step the dialog opens on for a status. */
|
|
3875
|
+
declare function identityStepFor(status: IdentityStatus | undefined): IdentityStep;
|
|
3876
|
+
/** "£5.00 incl. VAT": the fee is quoted including UK VAT. */
|
|
3877
|
+
declare function formatIdentityPrice(status: IdentityStatus): string;
|
|
3878
|
+
/** The identity verification dialog's state, bound to the backend calls in `api`. */
|
|
3879
|
+
declare function useIdentityVerificationFlow(api: IdentityVerificationApi, { enabled, onVerifiedChange, onNameAccepted, formatPrice, }?: UseIdentityVerificationFlowOptions): IdentityVerificationFlow;
|
|
3880
|
+
/**
|
|
3881
|
+
* The identity verification flow over the account client in scope; the profile query follows the
|
|
3882
|
+
* tick and name.
|
|
3883
|
+
*/
|
|
3884
|
+
declare function useIdentityVerification(options?: Omit<UseIdentityVerificationFlowOptions, 'enabled'>): IdentityVerificationFlow;
|
|
3885
|
+
|
|
3886
|
+
type AccountSession = components['schemas']['SessionInfoResponse'];
|
|
3887
|
+
interface AccountSignOutOptions {
|
|
3888
|
+
/** End every session on the server first, this device's included. */
|
|
3889
|
+
everywhere?: boolean;
|
|
3890
|
+
/** Why: a person's choice, or the account was just closed. */
|
|
3891
|
+
reason?: 'manual' | 'account-deleted';
|
|
3892
|
+
}
|
|
3893
|
+
interface AccountClient {
|
|
3894
|
+
/** The signed-in user's profile; `null` when there is none. */
|
|
3895
|
+
profile(): ProfileView | null;
|
|
3896
|
+
/** Be told when {@link profile} changes. Returns the unsubscribe. */
|
|
3897
|
+
onProfileChange(listener: () => void): () => void;
|
|
3898
|
+
/** Save the name and/or picture; the profile follows. */
|
|
3899
|
+
updateProfile(vars: UpdateProfileVars): Promise<void>;
|
|
3900
|
+
/** Send the verification code to the new address (not for SSO accounts). */
|
|
3901
|
+
requestEmailChange(newEmail: string): Promise<void>;
|
|
3902
|
+
/** Confirm the new address with the emailed code; the profile follows. */
|
|
3903
|
+
confirmEmailChange(newEmail: string, code: string): Promise<void>;
|
|
3904
|
+
/** Change (or, in recovery mode, set) the master password. */
|
|
3905
|
+
changePassword(vars: PasswordChangeVars): Promise<void>;
|
|
3906
|
+
listSessions(): Promise<AccountSession[]>;
|
|
3907
|
+
/** The id this device's session is listed under, or `null`. */
|
|
3908
|
+
currentSessionId(): string | null;
|
|
3909
|
+
/** End one of the user's sessions at once (not this device's: that is {@link signOut}). */
|
|
3910
|
+
terminateSession(sessionId: string): Promise<void>;
|
|
3911
|
+
/** Sign this device out of the host (and, `everywhere`, every other session first). */
|
|
3912
|
+
signOut(options?: AccountSignOutOptions): Promise<void>;
|
|
3913
|
+
/** Close the account. Rejects with the backend's refusal when something blocks it. */
|
|
3914
|
+
requestDeletion(): Promise<unknown>;
|
|
3915
|
+
/** The ID check behind the verified tick. */
|
|
3916
|
+
identity: IdentityVerificationApi;
|
|
3917
|
+
}
|
|
3918
|
+
interface AccountClientContextValue {
|
|
3919
|
+
client: AccountClient;
|
|
3920
|
+
/** Account reads run only while this is true (signed in). */
|
|
3921
|
+
enabled: boolean;
|
|
3922
|
+
}
|
|
3923
|
+
/**
|
|
3924
|
+
* The account client over an `Arbi`. `overrides` replace any of its calls: a host that keeps its
|
|
3925
|
+
* own signed-in state passes `signOut` (and `profile`) so the SDK and the host stay in step.
|
|
3926
|
+
*/
|
|
3927
|
+
declare function arbiAccountClient(arbi: Arbi, overrides?: Partial<AccountClient>): AccountClient;
|
|
3928
|
+
interface AccountClientProviderProps {
|
|
3929
|
+
client: AccountClient;
|
|
3930
|
+
/** Account reads run only while this is true; default true. */
|
|
3931
|
+
enabled?: boolean;
|
|
3932
|
+
children: ReactNode;
|
|
3933
|
+
}
|
|
3934
|
+
/**
|
|
3935
|
+
* The account client for the account hooks and settings blocks below. Without one, they use the
|
|
3936
|
+
* nearest `ArbiProvider`'s session (`arbiAccountClient`).
|
|
3937
|
+
*/
|
|
3938
|
+
declare function AccountClientProvider({ client, enabled, children, }: AccountClientProviderProps): React$1.JSX.Element;
|
|
3939
|
+
/** The account client in scope: an `AccountClientProvider`'s, else the `ArbiProvider` session's. */
|
|
3940
|
+
declare function useAccountClient(): AccountClientContextValue;
|
|
3941
|
+
|
|
3942
|
+
/** The user's active sessions (devices and agents). */
|
|
3943
|
+
declare function useSessions(options?: {
|
|
3944
|
+
enabled?: boolean;
|
|
3945
|
+
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
3946
|
+
session_id: string;
|
|
3947
|
+
external_id?: string | null;
|
|
3948
|
+
name?: string | null;
|
|
3949
|
+
ip_address?: string | null;
|
|
3950
|
+
active_workspace?: string | null;
|
|
3951
|
+
workspaces: string[];
|
|
3952
|
+
status: string;
|
|
3953
|
+
ttl: number;
|
|
3954
|
+
}[]>, Error>;
|
|
3955
|
+
/** End one of the user's sessions at once (not this device's: that is a sign-out). */
|
|
3858
3956
|
declare function useTerminateSession(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
3859
|
-
/** Sign out of
|
|
3860
|
-
declare function
|
|
3957
|
+
/** Sign out of this device, or (`everywhere`) of every device, this one included. */
|
|
3958
|
+
declare function useSignOut(): _tanstack_react_query.UseMutationResult<void, Error, AccountSignOutOptions, unknown>;
|
|
3861
3959
|
/** The id this device's session carries in the `useSessions` list, or `null`. */
|
|
3862
3960
|
declare function useCurrentSessionId(): string | null;
|
|
3863
3961
|
|
|
@@ -3875,10 +3973,8 @@ type DeleteAccountBlocker = {
|
|
|
3875
3973
|
};
|
|
3876
3974
|
/** Read the blockers out of a failed deletion; an empty list means it failed for another reason. */
|
|
3877
3975
|
declare function parseDeleteAccountBlockers(error: unknown): DeleteAccountBlocker[];
|
|
3878
|
-
/** Close the account
|
|
3879
|
-
declare function useDeleteAccount(): _tanstack_react_query.UseMutationResult<
|
|
3880
|
-
detail: string;
|
|
3881
|
-
}, Error, void, unknown>;
|
|
3976
|
+
/** Close the account (the account client in scope). The caller signs out afterwards. */
|
|
3977
|
+
declare function useDeleteAccount(): _tanstack_react_query.UseMutationResult<unknown, Error, void, unknown>;
|
|
3882
3978
|
interface UseDeleteAccountFlowOptions {
|
|
3883
3979
|
userEmail: string;
|
|
3884
3980
|
/** Close the account. Reject with the backend's error to surface blockers. */
|
|
@@ -3904,51 +4000,6 @@ interface DeleteAccountFlow {
|
|
|
3904
4000
|
/** Step, typed-email confirmation and blockers of `DeleteAccountDialog`. */
|
|
3905
4001
|
declare function useDeleteAccountFlow({ userEmail, remove, onClose, onDeleted, onError, }: UseDeleteAccountFlowOptions): DeleteAccountFlow;
|
|
3906
4002
|
|
|
3907
|
-
/**
|
|
3908
|
-
* Identity verification: the optional, paid ID check behind the verified tick (Pro plans only).
|
|
3909
|
-
*
|
|
3910
|
-
* Two layers, like `profile.ts`. `useIdentityVerificationFlow` owns the dialog's state and takes
|
|
3911
|
-
* the backend calls as functions, so an app with its own API layer (ARBI-frontend) binds the same
|
|
3912
|
-
* `IdentityVerificationCard` / `IdentityVerificationDialog` blocks without a provider.
|
|
3913
|
-
* `useIdentityVerification` binds it to the SDK (`arbi.identity`).
|
|
3914
|
-
*
|
|
3915
|
-
* Steps: pay the one-time fee (charged to the user's Pro project card) → verify inside Didit's
|
|
3916
|
-
* embedded frame → result (verified, declined, in review, or the name on the document differs from
|
|
3917
|
-
* the account name, offered as the new name). No webhooks: completing Didit's flow calls `refresh`.
|
|
3918
|
-
*/
|
|
3919
|
-
|
|
3920
|
-
/** The backend calls of the flow, as functions (see the module comment). */
|
|
3921
|
-
interface IdentityVerificationApi {
|
|
3922
|
-
status: () => Promise<IdentityStatus>;
|
|
3923
|
-
purchase: () => Promise<IdentityPurchase>;
|
|
3924
|
-
/** The Didit session URL. */
|
|
3925
|
-
startSession: () => Promise<string>;
|
|
3926
|
-
refresh: () => Promise<IdentityStatus>;
|
|
3927
|
-
acceptName: () => Promise<IdentityStatus>;
|
|
3928
|
-
remove: () => Promise<IdentityStatus>;
|
|
3929
|
-
}
|
|
3930
|
-
interface UseIdentityVerificationFlowOptions {
|
|
3931
|
-
/** Load the status (default true; e.g. false while signed out). */
|
|
3932
|
-
enabled?: boolean;
|
|
3933
|
-
/** The tick changed (granted, renamed away, removed): update the host's copy of the user. */
|
|
3934
|
-
onVerifiedChange?: (verified: boolean) => void;
|
|
3935
|
-
/** The account name became the name on the document. */
|
|
3936
|
-
onNameAccepted?: (name: {
|
|
3937
|
-
givenName: string;
|
|
3938
|
-
familyName: string | null;
|
|
3939
|
-
}) => void;
|
|
3940
|
-
/** The host's price format (e.g. its billing helpers); default `formatIdentityPrice`. */
|
|
3941
|
-
formatPrice?: (status: IdentityStatus) => string;
|
|
3942
|
-
}
|
|
3943
|
-
/** Which step the dialog opens on for a status. */
|
|
3944
|
-
declare function identityStepFor(status: IdentityStatus | undefined): IdentityStep;
|
|
3945
|
-
/** "£5.00 incl. VAT": the fee is quoted including UK VAT. */
|
|
3946
|
-
declare function formatIdentityPrice(status: IdentityStatus): string;
|
|
3947
|
-
/** The identity verification dialog's state, bound to the backend calls in `api`. */
|
|
3948
|
-
declare function useIdentityVerificationFlow(api: IdentityVerificationApi, { enabled, onVerifiedChange, onNameAccepted, formatPrice, }?: UseIdentityVerificationFlowOptions): IdentityVerificationFlow;
|
|
3949
|
-
/** The identity verification flow bound to the SDK; the profile query follows the tick and name. */
|
|
3950
|
-
declare function useIdentityVerification(options?: Omit<UseIdentityVerificationFlowOptions, 'enabled'>): IdentityVerificationFlow;
|
|
3951
|
-
|
|
3952
4003
|
/**
|
|
3953
4004
|
* Didit's web SDK, loaded only when a verification starts (like the app loads Stripe), and run
|
|
3954
4005
|
* embedded in a host element. ID capture, liveness and face match all happen inside Didit's frame.
|
|
@@ -3965,6 +4016,16 @@ interface MountDiditOptions {
|
|
|
3965
4016
|
/** Start the embedded verification. Resolves with a teardown; rejects if the SDK can't load. */
|
|
3966
4017
|
declare function mountDiditVerification({ url, containerId, onResult, }: MountDiditOptions): Promise<() => void>;
|
|
3967
4018
|
|
|
4019
|
+
/**
|
|
4020
|
+
* Saving the account's recovery key in the browser: the recovery file (`createRecoveryFile` of
|
|
4021
|
+
* `@arbidocs/client`, a one-link HTML page) downloaded for the current origin.
|
|
4022
|
+
*/
|
|
4023
|
+
|
|
4024
|
+
/** Download the recovery file. `origin` defaults to the page's own; `auth0Sub` SSO-wraps the key. */
|
|
4025
|
+
declare function downloadRecoveryFile(params: Omit<RecoveryKeyParams, 'origin'> & {
|
|
4026
|
+
origin?: string;
|
|
4027
|
+
}): Promise<void>;
|
|
4028
|
+
|
|
3968
4029
|
/**
|
|
3969
4030
|
* The mail shapes the hooks and the mail blocks work with: what `/v1/mail` returns, with the
|
|
3970
4031
|
* fields the server always fills required and arrays never missing.
|
|
@@ -5989,10 +6050,17 @@ declare function useDirectMessages(options?: {
|
|
|
5989
6050
|
enabled?: boolean;
|
|
5990
6051
|
}): UseDirectMessagesResult;
|
|
5991
6052
|
|
|
5992
|
-
/** Relative-time formatting shared by the notification bell
|
|
5993
|
-
* SDK-free `/shell` entry can use it). */
|
|
5994
|
-
|
|
5995
|
-
|
|
6053
|
+
/** Relative-time formatting shared by the notification bell, the DM kit and the app's thread lists
|
|
6054
|
+
* (no type imports, so the SDK-free `/shell` entry can use it). */
|
|
6055
|
+
interface FormatRelativeTimeOptions {
|
|
6056
|
+
/** The reference instant in epoch milliseconds (default: now). */
|
|
6057
|
+
now?: number;
|
|
6058
|
+
/** `long` (default): "2 hours ago"; `short`: "2 hr. ago", for tight rows. */
|
|
6059
|
+
style?: Intl.RelativeTimeFormatStyle;
|
|
6060
|
+
}
|
|
6061
|
+
/** Relative time of an ISO timestamp, past or future: "2 hours ago", "in 3 days", "just now".
|
|
6062
|
+
* Empty for an unparseable timestamp. */
|
|
6063
|
+
declare function formatRelativeTime(iso: string, options?: FormatRelativeTimeOptions): string;
|
|
5996
6064
|
|
|
5997
6065
|
/** Small presentation helpers for the DM kit. */
|
|
5998
6066
|
|
|
@@ -6207,8 +6275,8 @@ declare function useCommandPalette(): CommandPaletteValue;
|
|
|
6207
6275
|
* REUSE-FIRST: this composes AG Grid + `DocumentEntity`/`TagEntity` + the shadcn
|
|
6208
6276
|
* `Badge`; it is not a bespoke table. Data comes from the SDK `useDocuments`
|
|
6209
6277
|
* hook (or an explicit `documents` prop). Selection is controlled via
|
|
6210
|
-
* `selectedIds`/`onSelectionChange`, falling back to
|
|
6211
|
-
* `
|
|
6278
|
+
* `selectedIds`/`onSelectionChange`, falling back to
|
|
6279
|
+
* the session state (`useArbiSessionState`) when those props are omitted.
|
|
6212
6280
|
*/
|
|
6213
6281
|
|
|
6214
6282
|
type DocResponse$2 = components['schemas']['DocResponse'];
|
|
@@ -6270,7 +6338,7 @@ declare function DocumentCardMenu({ docId, fileName, onOpen, onRename, canDelete
|
|
|
6270
6338
|
* DocumentGallery — a reusable thumbnail-grid view of a workspace's documents.
|
|
6271
6339
|
*
|
|
6272
6340
|
* REUSE-FIRST: a sibling of `DocumentTable` sharing the exact same data sources
|
|
6273
|
-
* (`useDocuments` + `useTags` + the
|
|
6341
|
+
* (`useDocuments` + `useTags` + the session state's selection).
|
|
6274
6342
|
* The only extra dependency is `useThumbnails`, which batch-loads real first-page
|
|
6275
6343
|
* previews. Each tile is a `DocumentCard`; this component only binds it to data.
|
|
6276
6344
|
*/
|
|
@@ -6862,20 +6930,104 @@ declare function VideoCapture({ onSave, onDiscard, onError, isSaving }: VideoCap
|
|
|
6862
6930
|
declare function hasVideoTrack(blob: Blob): Promise<boolean>;
|
|
6863
6931
|
|
|
6864
6932
|
/**
|
|
6865
|
-
*
|
|
6933
|
+
* The session state every block reads and writes: the selected workspace, the current conversation,
|
|
6934
|
+
* the document being viewed, the document selection, generation per conversation, Personal
|
|
6935
|
+
* Assistant mode and the documents in each conversation.
|
|
6866
6936
|
*
|
|
6867
|
-
*
|
|
6868
|
-
*
|
|
6869
|
-
*
|
|
6937
|
+
* An {@link ArbiSessionStore} is the adapter a host provides through `ArbiSessionStateProvider`:
|
|
6938
|
+
* a host with its own state (ARBI-frontend's zustand store) maps its fields onto
|
|
6939
|
+
* {@link ArbiSessionState} and its actions onto the setters, so there is one source of truth.
|
|
6940
|
+
* Other hosts use {@link createArbiSessionStore}, an in-memory store.
|
|
6941
|
+
*/
|
|
6942
|
+
/** The document being viewed. */
|
|
6943
|
+
interface ArbiViewingDocument {
|
|
6944
|
+
/** The document (`doc-…`), or a version reference (`doc-…@v2`) while an earlier version shows. */
|
|
6945
|
+
id: string;
|
|
6946
|
+
/** The page being read, when known. */
|
|
6947
|
+
page: number | null;
|
|
6948
|
+
/** The passage being read, when one is. */
|
|
6949
|
+
passageId: string | null;
|
|
6950
|
+
}
|
|
6951
|
+
/** Generation in one conversation. */
|
|
6952
|
+
interface ArbiConversationGeneration {
|
|
6953
|
+
isGenerating: boolean;
|
|
6954
|
+
error: string | null;
|
|
6955
|
+
/** When the running turn started (epoch ms). */
|
|
6956
|
+
startTime: number | null;
|
|
6957
|
+
}
|
|
6958
|
+
/** A document in a conversation's context; a pinned one stays there across turns. */
|
|
6959
|
+
interface ArbiConversationDocument {
|
|
6960
|
+
docId: string;
|
|
6961
|
+
isPinned: boolean;
|
|
6962
|
+
}
|
|
6963
|
+
interface ArbiSessionState {
|
|
6964
|
+
/** The selected workspace (`wrk-…`). */
|
|
6965
|
+
workspaceId: string | null;
|
|
6966
|
+
/** The open conversation, or null for a new one / none. */
|
|
6967
|
+
conversationId: string | null;
|
|
6968
|
+
viewingDocument: ArbiViewingDocument | null;
|
|
6969
|
+
/** The documents selected in document lists. */
|
|
6970
|
+
selectedDocumentIds: readonly string[];
|
|
6971
|
+
/** Generation state per conversation id. */
|
|
6972
|
+
generating: Readonly<Record<string, ArbiConversationGeneration>>;
|
|
6973
|
+
/** Personal Assistant mode for new conversations. */
|
|
6974
|
+
paMode: boolean;
|
|
6975
|
+
/** The documents in each conversation's context, per conversation id. */
|
|
6976
|
+
conversationDocuments: Readonly<Record<string, readonly ArbiConversationDocument[]>>;
|
|
6977
|
+
}
|
|
6978
|
+
/** What to view: page and passage are left unchanged when omitted. */
|
|
6979
|
+
interface ArbiViewingDocumentInput {
|
|
6980
|
+
id: string;
|
|
6981
|
+
page?: number | null;
|
|
6982
|
+
passageId?: string | null;
|
|
6983
|
+
}
|
|
6984
|
+
interface ArbiSessionStore {
|
|
6985
|
+
/** The current state. The same object until something in it changes. */
|
|
6986
|
+
getState(): ArbiSessionState;
|
|
6987
|
+
/** Be told when the state may have changed. Returns the unsubscribe. */
|
|
6988
|
+
subscribe(listener: () => void): () => void;
|
|
6989
|
+
setWorkspaceId(id: string | null): void;
|
|
6990
|
+
setConversationId(id: string | null): void;
|
|
6991
|
+
/**
|
|
6992
|
+
* View a document, or none. Viewing another document resets the page; `page` and `passageId`
|
|
6993
|
+
* set them when given.
|
|
6994
|
+
*/
|
|
6995
|
+
setViewingDocument(document: ArbiViewingDocumentInput | null): void;
|
|
6996
|
+
setSelectedDocumentIds(ids: string[]): void;
|
|
6997
|
+
setConversationGenerating(conversationId: string, isGenerating: boolean): void;
|
|
6998
|
+
setPaMode(enabled: boolean): void;
|
|
6999
|
+
setConversationDocuments(conversationId: string, documents: ArbiConversationDocument[]): void;
|
|
7000
|
+
}
|
|
7001
|
+
declare const EMPTY_SESSION_STATE: ArbiSessionState;
|
|
7002
|
+
/** The viewed document itself (`doc-…`), also while one of its earlier versions is on screen. */
|
|
7003
|
+
declare const selectViewingDocumentId: (state: ArbiSessionState) => string | null;
|
|
7004
|
+
/** Whether `conversationId` is generating. */
|
|
7005
|
+
declare const selectIsGenerating: (conversationId: string | null | undefined) => (state: ArbiSessionState) => boolean;
|
|
7006
|
+
/** The next viewing document, given the current one (shared by every store implementation). */
|
|
7007
|
+
declare function nextViewingDocument(current: ArbiViewingDocument | null, input: ArbiViewingDocumentInput | null): ArbiViewingDocument | null;
|
|
7008
|
+
/** An in-memory session store: the default for hosts without state of their own. */
|
|
7009
|
+
declare function createArbiSessionStore(initial?: Partial<ArbiSessionState>): ArbiSessionStore;
|
|
7010
|
+
|
|
7011
|
+
/**
|
|
7012
|
+
* The session state the blocks below share (see `./store`). A host passes its own
|
|
7013
|
+
* {@link ArbiSessionStore} (ARBI-frontend backs it with its zustand store). Without `store` the
|
|
7014
|
+
* provider uses the one above it, else keeps an in-memory one, so a kit (`ConnectionProvider`) can
|
|
7015
|
+
* always mount one and still share the host's. Blocks rendered with no provider above share a
|
|
7016
|
+
* module default, so a standalone block still coordinates with its siblings.
|
|
6870
7017
|
*/
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
viewingDocId: string | null;
|
|
6877
|
-
setViewingDocId: (id: string | null) => void;
|
|
7018
|
+
|
|
7019
|
+
interface ArbiSessionStateProviderProps {
|
|
7020
|
+
/** The host's session state. Omitted: the enclosing provider's, else an in-memory one. */
|
|
7021
|
+
store?: ArbiSessionStore;
|
|
7022
|
+
children: ReactNode;
|
|
6878
7023
|
}
|
|
6879
|
-
declare
|
|
7024
|
+
declare function ArbiSessionStateProvider({ store, children, }: ArbiSessionStateProviderProps): React.ReactElement;
|
|
7025
|
+
/** The session store: its setters, and `getState()` for the state as of now (in callbacks). */
|
|
7026
|
+
declare function useArbiSessionStore(): ArbiSessionStore;
|
|
7027
|
+
/**
|
|
7028
|
+
* A slice of the session state; re-renders when it changes. The selector returns a value from the
|
|
7029
|
+
* state or a primitive (a new object each call would never settle).
|
|
7030
|
+
*/
|
|
7031
|
+
declare function useArbiSessionState<T>(selector: (state: ArbiSessionState) => T): T;
|
|
6880
7032
|
|
|
6881
|
-
export { AUDIO_MIME_PREFERENCE, 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, ArbiProvider, type ArbiProviderProps, type
|
|
7033
|
+
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, 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, 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, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, 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 };
|