@arbidocs/react 0.4.133 → 0.4.135
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 +19 -19
- package/dist/artifacts/index.js +3 -3
- package/dist/{chunk-E5XFVK4I.cjs → chunk-2BQSLXEY.cjs} +6 -12
- package/dist/chunk-2BQSLXEY.cjs.map +1 -0
- package/dist/{chunk-T253I7XC.js → chunk-2WEF44YN.js} +7 -12
- package/dist/chunk-2WEF44YN.js.map +1 -0
- package/dist/{chunk-J3BYHBKW.js → chunk-BFW4ZN43.js} +3 -3
- package/dist/{chunk-J3BYHBKW.js.map → chunk-BFW4ZN43.js.map} +1 -1
- package/dist/{chunk-65WT5PHA.cjs → chunk-W2YC7ZSN.cjs} +3 -3
- package/dist/{chunk-65WT5PHA.cjs.map → chunk-W2YC7ZSN.cjs.map} +1 -1
- package/dist/index.cjs +405 -346
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +108 -21
- package/dist/index.d.ts +108 -21
- package/dist/index.js +68 -11
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +147 -147
- package/dist/ui/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-E5XFVK4I.cjs.map +0 -1
- package/dist/chunk-T253I7XC.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 { Arbi, ArbiOptions, QueryOptions, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, DecryptedChatMessage } from '@arbidocs/sdk/browser';
|
|
4
|
+
import { Arbi, ArbiOptions, QueryOptions, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, ListFactsOptions, UpdateFactRequest, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, DecryptedChatMessage } from '@arbidocs/sdk/browser';
|
|
5
5
|
export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, formatGbp, formatGbpPerMillionTokens, usdToGbp } from '@arbidocs/sdk/browser';
|
|
6
6
|
import * as _arbidocs_client from '@arbidocs/client';
|
|
7
7
|
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components, RecoveryKeyParams } from '@arbidocs/client';
|
|
@@ -565,6 +565,8 @@ declare const arbiQueryKeys: {
|
|
|
565
565
|
workflows: () => readonly ["arbi", "workflows"];
|
|
566
566
|
/** Under `workflows()`: a workflow write or run refreshes its runs too. */
|
|
567
567
|
workflowRuns: (workflowId: string) => readonly ["arbi", "workflows", string, "runs"];
|
|
568
|
+
/** Every workspace's facts: the prefix a fact write invalidates. */
|
|
569
|
+
allFacts: () => readonly ["arbi", "facts"];
|
|
568
570
|
facts: (workspaceId: string) => readonly ["arbi", "facts", string];
|
|
569
571
|
configs: () => readonly ["arbi", "configs"];
|
|
570
572
|
activity: () => readonly ["arbi", "activity"];
|
|
@@ -604,6 +606,7 @@ declare const arbiQueryKeys: {
|
|
|
604
606
|
*/
|
|
605
607
|
declare const arbiMutationKeys: {
|
|
606
608
|
runWorkflow: () => readonly ["arbi", "workflows", "run"];
|
|
609
|
+
updateTagKindSchema: () => readonly ["arbi", "tags", "kinds", "update"];
|
|
607
610
|
};
|
|
608
611
|
/** Workspace people for mentions and ownership. */
|
|
609
612
|
declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
|
|
@@ -1252,25 +1255,6 @@ declare function useHealth(options?: {
|
|
|
1252
1255
|
} | null | undefined;
|
|
1253
1256
|
available_models: string[];
|
|
1254
1257
|
}>, Error>;
|
|
1255
|
-
/** List the open workspace's facts. */
|
|
1256
|
-
declare function useFacts(workspaceId: string | undefined, options?: {
|
|
1257
|
-
enabled?: boolean;
|
|
1258
|
-
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
1259
|
-
text: string;
|
|
1260
|
-
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
1261
|
-
external_id: string;
|
|
1262
|
-
workspace_ext_id: string;
|
|
1263
|
-
shared: boolean;
|
|
1264
|
-
confirmed: boolean;
|
|
1265
|
-
date_start?: string | null;
|
|
1266
|
-
date_end?: string | null;
|
|
1267
|
-
timezone?: string | null;
|
|
1268
|
-
reminder_task_ext_ids: string[];
|
|
1269
|
-
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
1270
|
-
created_by_ext_id: string;
|
|
1271
|
-
created_at: string;
|
|
1272
|
-
updated_at: string;
|
|
1273
|
-
}[]>, Error>;
|
|
1274
1258
|
/** List the caller's saved agent configurations (behaviour templates). */
|
|
1275
1259
|
declare function useConfigs(options?: {
|
|
1276
1260
|
enabled?: boolean;
|
|
@@ -2153,6 +2137,109 @@ declare function useUserUsageToday(options?: {
|
|
|
2153
2137
|
used_gbp: number;
|
|
2154
2138
|
}>, Error>;
|
|
2155
2139
|
|
|
2140
|
+
/** What a list asks for: the timeline range, or the notes carrying tags or citing a document. */
|
|
2141
|
+
type FactListFilter = Pick<ListFactsOptions, 'from' | 'to' | 'datedOnly' | 'tagExtIds' | 'docExtId'>;
|
|
2142
|
+
/**
|
|
2143
|
+
* The facts of `workspaceId` (default: the open one), newest first, or the filtered ones
|
|
2144
|
+
* (`datedOnly` / a range: the timeline, by date; `tagExtIds`: the notes carrying all those tags).
|
|
2145
|
+
*/
|
|
2146
|
+
declare function useFacts(workspaceId?: string | null, options?: FactListFilter & {
|
|
2147
|
+
enabled?: boolean;
|
|
2148
|
+
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
2149
|
+
text: string;
|
|
2150
|
+
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
2151
|
+
external_id: string;
|
|
2152
|
+
workspace_ext_id: string;
|
|
2153
|
+
shared: boolean;
|
|
2154
|
+
confirmed: boolean;
|
|
2155
|
+
date_start?: string | null;
|
|
2156
|
+
date_end?: string | null;
|
|
2157
|
+
timezone?: string | null;
|
|
2158
|
+
reminder_task_ext_ids: string[];
|
|
2159
|
+
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
2160
|
+
created_by_ext_id: string;
|
|
2161
|
+
created_at: string;
|
|
2162
|
+
updated_at: string;
|
|
2163
|
+
}[]>, Error>;
|
|
2164
|
+
/** Add a fact (by hand it is confirmed: typing it is the vouch). */
|
|
2165
|
+
declare function useCreateFact(): _tanstack_react_query.UseMutationResult<{
|
|
2166
|
+
text: string;
|
|
2167
|
+
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
2168
|
+
external_id: string;
|
|
2169
|
+
workspace_ext_id: string;
|
|
2170
|
+
shared: boolean;
|
|
2171
|
+
confirmed: boolean;
|
|
2172
|
+
date_start?: string | null;
|
|
2173
|
+
date_end?: string | null;
|
|
2174
|
+
timezone?: string | null;
|
|
2175
|
+
reminder_task_ext_ids: string[];
|
|
2176
|
+
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
2177
|
+
created_by_ext_id: string;
|
|
2178
|
+
created_at: string;
|
|
2179
|
+
updated_at: string;
|
|
2180
|
+
}, Error, {
|
|
2181
|
+
text: string;
|
|
2182
|
+
shared: boolean;
|
|
2183
|
+
confirmed: boolean;
|
|
2184
|
+
date?: string | null;
|
|
2185
|
+
date_end?: string | null;
|
|
2186
|
+
timezone?: string | null;
|
|
2187
|
+
tag_ext_ids: string[];
|
|
2188
|
+
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
2189
|
+
}, unknown>;
|
|
2190
|
+
/** Add several facts in one all-or-nothing request (an imported chronology, say). */
|
|
2191
|
+
declare function useCreateFacts(): _tanstack_react_query.UseMutationResult<{
|
|
2192
|
+
text: string;
|
|
2193
|
+
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
2194
|
+
external_id: string;
|
|
2195
|
+
workspace_ext_id: string;
|
|
2196
|
+
shared: boolean;
|
|
2197
|
+
confirmed: boolean;
|
|
2198
|
+
date_start?: string | null;
|
|
2199
|
+
date_end?: string | null;
|
|
2200
|
+
timezone?: string | null;
|
|
2201
|
+
reminder_task_ext_ids: string[];
|
|
2202
|
+
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
2203
|
+
created_by_ext_id: string;
|
|
2204
|
+
created_at: string;
|
|
2205
|
+
updated_at: string;
|
|
2206
|
+
}[], Error, {
|
|
2207
|
+
facts: _arbidocs_client.components["schemas"]["CreateFactRequest"][];
|
|
2208
|
+
}, unknown>;
|
|
2209
|
+
/**
|
|
2210
|
+
* Patch a fact. A text edit replaces the fact (the old one is kept as history); `shared` and
|
|
2211
|
+
* `confirmed` change in place.
|
|
2212
|
+
*/
|
|
2213
|
+
declare function useUpdateFact(): _tanstack_react_query.UseMutationResult<{
|
|
2214
|
+
text: string;
|
|
2215
|
+
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
2216
|
+
external_id: string;
|
|
2217
|
+
workspace_ext_id: string;
|
|
2218
|
+
shared: boolean;
|
|
2219
|
+
confirmed: boolean;
|
|
2220
|
+
date_start?: string | null;
|
|
2221
|
+
date_end?: string | null;
|
|
2222
|
+
timezone?: string | null;
|
|
2223
|
+
reminder_task_ext_ids: string[];
|
|
2224
|
+
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
2225
|
+
created_by_ext_id: string;
|
|
2226
|
+
created_at: string;
|
|
2227
|
+
updated_at: string;
|
|
2228
|
+
}, Error, {
|
|
2229
|
+
factId: string;
|
|
2230
|
+
patch: UpdateFactRequest;
|
|
2231
|
+
}, unknown>;
|
|
2232
|
+
/** Delete a fact (only where the server allows it: a refused delete fails with its reason). */
|
|
2233
|
+
declare function useDeleteFact(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
2234
|
+
/** Search the open workspace's facts (hybrid by default), as the agent's fact recall does. */
|
|
2235
|
+
declare function useSearchFacts(): _tanstack_react_query.UseMutationResult<{
|
|
2236
|
+
facts: _arbidocs_client.components["schemas"]["FactSearchHit"][];
|
|
2237
|
+
}, Error, {
|
|
2238
|
+
query: string;
|
|
2239
|
+
search_mode: "semantic" | "keyword" | "hybrid";
|
|
2240
|
+
limit: number;
|
|
2241
|
+
}, unknown>;
|
|
2242
|
+
|
|
2156
2243
|
/** An agent or deployment config: section name (`Agents`, `QueryLLM`, ...) to its parameters. */
|
|
2157
2244
|
type AgentConfigSections = Record<string, Record<string, unknown>>;
|
|
2158
2245
|
/**
|
|
@@ -7097,4 +7184,4 @@ declare function useArbiSessionStore(): ArbiSessionStore;
|
|
|
7097
7184
|
*/
|
|
7098
7185
|
declare function useArbiSessionState<T>(selector: (state: ArbiSessionState) => T): T;
|
|
7099
7186
|
|
|
7100
|
-
export { AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
|
|
7187
|
+
export { AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, type FactListFilter, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateFact, useCreateFacts, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteFact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
3
3
|
import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
|
|
4
|
-
import { Arbi, ArbiOptions, QueryOptions, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, DecryptedChatMessage } from '@arbidocs/sdk/browser';
|
|
4
|
+
import { Arbi, ArbiOptions, QueryOptions, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, ListFactsOptions, UpdateFactRequest, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, DecryptedChatMessage } from '@arbidocs/sdk/browser';
|
|
5
5
|
export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, formatGbp, formatGbpPerMillionTokens, usdToGbp } from '@arbidocs/sdk/browser';
|
|
6
6
|
import * as _arbidocs_client from '@arbidocs/client';
|
|
7
7
|
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components, RecoveryKeyParams } from '@arbidocs/client';
|
|
@@ -565,6 +565,8 @@ declare const arbiQueryKeys: {
|
|
|
565
565
|
workflows: () => readonly ["arbi", "workflows"];
|
|
566
566
|
/** Under `workflows()`: a workflow write or run refreshes its runs too. */
|
|
567
567
|
workflowRuns: (workflowId: string) => readonly ["arbi", "workflows", string, "runs"];
|
|
568
|
+
/** Every workspace's facts: the prefix a fact write invalidates. */
|
|
569
|
+
allFacts: () => readonly ["arbi", "facts"];
|
|
568
570
|
facts: (workspaceId: string) => readonly ["arbi", "facts", string];
|
|
569
571
|
configs: () => readonly ["arbi", "configs"];
|
|
570
572
|
activity: () => readonly ["arbi", "activity"];
|
|
@@ -604,6 +606,7 @@ declare const arbiQueryKeys: {
|
|
|
604
606
|
*/
|
|
605
607
|
declare const arbiMutationKeys: {
|
|
606
608
|
runWorkflow: () => readonly ["arbi", "workflows", "run"];
|
|
609
|
+
updateTagKindSchema: () => readonly ["arbi", "tags", "kinds", "update"];
|
|
607
610
|
};
|
|
608
611
|
/** Workspace people for mentions and ownership. */
|
|
609
612
|
declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
|
|
@@ -1252,25 +1255,6 @@ declare function useHealth(options?: {
|
|
|
1252
1255
|
} | null | undefined;
|
|
1253
1256
|
available_models: string[];
|
|
1254
1257
|
}>, Error>;
|
|
1255
|
-
/** List the open workspace's facts. */
|
|
1256
|
-
declare function useFacts(workspaceId: string | undefined, options?: {
|
|
1257
|
-
enabled?: boolean;
|
|
1258
|
-
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
1259
|
-
text: string;
|
|
1260
|
-
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
1261
|
-
external_id: string;
|
|
1262
|
-
workspace_ext_id: string;
|
|
1263
|
-
shared: boolean;
|
|
1264
|
-
confirmed: boolean;
|
|
1265
|
-
date_start?: string | null;
|
|
1266
|
-
date_end?: string | null;
|
|
1267
|
-
timezone?: string | null;
|
|
1268
|
-
reminder_task_ext_ids: string[];
|
|
1269
|
-
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
1270
|
-
created_by_ext_id: string;
|
|
1271
|
-
created_at: string;
|
|
1272
|
-
updated_at: string;
|
|
1273
|
-
}[]>, Error>;
|
|
1274
1258
|
/** List the caller's saved agent configurations (behaviour templates). */
|
|
1275
1259
|
declare function useConfigs(options?: {
|
|
1276
1260
|
enabled?: boolean;
|
|
@@ -2153,6 +2137,109 @@ declare function useUserUsageToday(options?: {
|
|
|
2153
2137
|
used_gbp: number;
|
|
2154
2138
|
}>, Error>;
|
|
2155
2139
|
|
|
2140
|
+
/** What a list asks for: the timeline range, or the notes carrying tags or citing a document. */
|
|
2141
|
+
type FactListFilter = Pick<ListFactsOptions, 'from' | 'to' | 'datedOnly' | 'tagExtIds' | 'docExtId'>;
|
|
2142
|
+
/**
|
|
2143
|
+
* The facts of `workspaceId` (default: the open one), newest first, or the filtered ones
|
|
2144
|
+
* (`datedOnly` / a range: the timeline, by date; `tagExtIds`: the notes carrying all those tags).
|
|
2145
|
+
*/
|
|
2146
|
+
declare function useFacts(workspaceId?: string | null, options?: FactListFilter & {
|
|
2147
|
+
enabled?: boolean;
|
|
2148
|
+
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
2149
|
+
text: string;
|
|
2150
|
+
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
2151
|
+
external_id: string;
|
|
2152
|
+
workspace_ext_id: string;
|
|
2153
|
+
shared: boolean;
|
|
2154
|
+
confirmed: boolean;
|
|
2155
|
+
date_start?: string | null;
|
|
2156
|
+
date_end?: string | null;
|
|
2157
|
+
timezone?: string | null;
|
|
2158
|
+
reminder_task_ext_ids: string[];
|
|
2159
|
+
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
2160
|
+
created_by_ext_id: string;
|
|
2161
|
+
created_at: string;
|
|
2162
|
+
updated_at: string;
|
|
2163
|
+
}[]>, Error>;
|
|
2164
|
+
/** Add a fact (by hand it is confirmed: typing it is the vouch). */
|
|
2165
|
+
declare function useCreateFact(): _tanstack_react_query.UseMutationResult<{
|
|
2166
|
+
text: string;
|
|
2167
|
+
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
2168
|
+
external_id: string;
|
|
2169
|
+
workspace_ext_id: string;
|
|
2170
|
+
shared: boolean;
|
|
2171
|
+
confirmed: boolean;
|
|
2172
|
+
date_start?: string | null;
|
|
2173
|
+
date_end?: string | null;
|
|
2174
|
+
timezone?: string | null;
|
|
2175
|
+
reminder_task_ext_ids: string[];
|
|
2176
|
+
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
2177
|
+
created_by_ext_id: string;
|
|
2178
|
+
created_at: string;
|
|
2179
|
+
updated_at: string;
|
|
2180
|
+
}, Error, {
|
|
2181
|
+
text: string;
|
|
2182
|
+
shared: boolean;
|
|
2183
|
+
confirmed: boolean;
|
|
2184
|
+
date?: string | null;
|
|
2185
|
+
date_end?: string | null;
|
|
2186
|
+
timezone?: string | null;
|
|
2187
|
+
tag_ext_ids: string[];
|
|
2188
|
+
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
2189
|
+
}, unknown>;
|
|
2190
|
+
/** Add several facts in one all-or-nothing request (an imported chronology, say). */
|
|
2191
|
+
declare function useCreateFacts(): _tanstack_react_query.UseMutationResult<{
|
|
2192
|
+
text: string;
|
|
2193
|
+
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
2194
|
+
external_id: string;
|
|
2195
|
+
workspace_ext_id: string;
|
|
2196
|
+
shared: boolean;
|
|
2197
|
+
confirmed: boolean;
|
|
2198
|
+
date_start?: string | null;
|
|
2199
|
+
date_end?: string | null;
|
|
2200
|
+
timezone?: string | null;
|
|
2201
|
+
reminder_task_ext_ids: string[];
|
|
2202
|
+
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
2203
|
+
created_by_ext_id: string;
|
|
2204
|
+
created_at: string;
|
|
2205
|
+
updated_at: string;
|
|
2206
|
+
}[], Error, {
|
|
2207
|
+
facts: _arbidocs_client.components["schemas"]["CreateFactRequest"][];
|
|
2208
|
+
}, unknown>;
|
|
2209
|
+
/**
|
|
2210
|
+
* Patch a fact. A text edit replaces the fact (the old one is kept as history); `shared` and
|
|
2211
|
+
* `confirmed` change in place.
|
|
2212
|
+
*/
|
|
2213
|
+
declare function useUpdateFact(): _tanstack_react_query.UseMutationResult<{
|
|
2214
|
+
text: string;
|
|
2215
|
+
citations?: _arbidocs_client.components["schemas"]["CitationSources"] | null;
|
|
2216
|
+
external_id: string;
|
|
2217
|
+
workspace_ext_id: string;
|
|
2218
|
+
shared: boolean;
|
|
2219
|
+
confirmed: boolean;
|
|
2220
|
+
date_start?: string | null;
|
|
2221
|
+
date_end?: string | null;
|
|
2222
|
+
timezone?: string | null;
|
|
2223
|
+
reminder_task_ext_ids: string[];
|
|
2224
|
+
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
2225
|
+
created_by_ext_id: string;
|
|
2226
|
+
created_at: string;
|
|
2227
|
+
updated_at: string;
|
|
2228
|
+
}, Error, {
|
|
2229
|
+
factId: string;
|
|
2230
|
+
patch: UpdateFactRequest;
|
|
2231
|
+
}, unknown>;
|
|
2232
|
+
/** Delete a fact (only where the server allows it: a refused delete fails with its reason). */
|
|
2233
|
+
declare function useDeleteFact(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
2234
|
+
/** Search the open workspace's facts (hybrid by default), as the agent's fact recall does. */
|
|
2235
|
+
declare function useSearchFacts(): _tanstack_react_query.UseMutationResult<{
|
|
2236
|
+
facts: _arbidocs_client.components["schemas"]["FactSearchHit"][];
|
|
2237
|
+
}, Error, {
|
|
2238
|
+
query: string;
|
|
2239
|
+
search_mode: "semantic" | "keyword" | "hybrid";
|
|
2240
|
+
limit: number;
|
|
2241
|
+
}, unknown>;
|
|
2242
|
+
|
|
2156
2243
|
/** An agent or deployment config: section name (`Agents`, `QueryLLM`, ...) to its parameters. */
|
|
2157
2244
|
type AgentConfigSections = Record<string, Record<string, unknown>>;
|
|
2158
2245
|
/**
|
|
@@ -7097,4 +7184,4 @@ declare function useArbiSessionStore(): ArbiSessionStore;
|
|
|
7097
7184
|
*/
|
|
7098
7185
|
declare function useArbiSessionState<T>(selector: (state: ArbiSessionState) => T): T;
|
|
7099
7186
|
|
|
7100
|
-
export { AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
|
|
7187
|
+
export { AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversationDocument, type ArbiConversationGeneration, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, type FactListFilter, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateFact, useCreateFacts, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteFact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { arbiQueryKeys, arbiMutationKeys, useDocuments, useConversations, useAssistantQuery, useConversationThreads, useWorkspaces, useParsedDocument, useTags, useActivity, useThumbnails } from './chunk-T253I7XC.js';
|
|
2
|
-
export { PROJECT_CREATION_DENIED_REASON, arbiMutationKeys, arbiQueryKeys, isUsageMetered, useActivity, useAgents, useAssistantQuery, useCanCreateProjects, useConfigs, useConversationThreads, useConversations, useCurrentUser, useDeleteAgents, useDocuments, useFacts, useFirmPool, useHealth, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useTags, useThumbnails, useTopUpFirmPool, useUserUsageToday, useWorkspaceActivity, useWorkspaceUsers, useWorkspaces } from './chunk-T253I7XC.js';
|
|
3
1
|
import { downloadBlob } from './chunk-ZJ6NQ4M4.js';
|
|
2
|
+
import { arbiQueryKeys, arbiMutationKeys, useDocuments, useConversations, useAssistantQuery, useConversationThreads, useWorkspaces, useParsedDocument, useTags, useActivity, useThumbnails } from './chunk-2WEF44YN.js';
|
|
3
|
+
export { PROJECT_CREATION_DENIED_REASON, arbiMutationKeys, arbiQueryKeys, isUsageMetered, useActivity, useAgents, useAssistantQuery, useCanCreateProjects, useConfigs, useConversationThreads, useConversations, useCurrentUser, useDeleteAgents, useDocuments, useFirmPool, useHealth, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useTags, useThumbnails, useTopUpFirmPool, useUserUsageToday, useWorkspaceActivity, useWorkspaceUsers, useWorkspaces } from './chunk-2WEF44YN.js';
|
|
4
4
|
import { parseVersionRef } from './chunk-NNWMHMEC.js';
|
|
5
5
|
export { cleanDraftMarkdown, cleanDraftWithReport, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks } from './chunk-NNWMHMEC.js';
|
|
6
6
|
import './chunk-WUTL62MC.js';
|
|
7
7
|
import { formatRelativeTime } from './chunk-PPRKQK4P.js';
|
|
8
8
|
export { DEFAULT_NOTIFY_TONE, NotificationBell, Toaster, formatRelativeTime, notify, seedNotifications, selectUnread, toast, useNotify } from './chunk-PPRKQK4P.js';
|
|
9
|
-
import { returnFocusToMark, MarkMenu, AiMarkdown, Card, Badge, TagEntity, Input, FILE_TYPE_COLORS, getEntityIcon, UserEntity, getEntityColorStyles, AgentBadge, Textarea, Label, Slider, DocumentEntity, DocumentCard, useAudioRecorder, MicWaveformIndicator, IconToggle, classifyMediaError, formatElapsed, PassageCard } from './chunk-
|
|
10
|
-
export { AUDIO_MIME_PREFERENCE, AgentBadge, AiMarkdown, ArbiBotHeadIcon, ArbiIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_SEGMENTER_CONFIG, DebouncedInput, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, INITIAL_SEGMENTER_STATE, IconToggle, ImgIcon, InlineMicButton, Input, Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShieldIcon, Slider, StatusPill, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, Textarea, ThreadVisibilityIcon, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TxtIcon, UserEntity, UserMenu, VIDEO_MIME_PREFERENCE, VISIBILITY_ICONS, VerifiedBadge, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, agentAvatarColors, badgeVariants, cardVariants, classifyMediaError, configureEntityRegistry, configureRagLabels, configureStatusRegistry, createChunkedRecorder, flushSegmenter, formatElapsed, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, levelFromRms, pickRecorderMimeType, stepSegmenter, toggleVariants, useAudioRecorder } from './chunk-
|
|
11
|
-
import { MarkdownRenderer } from './chunk-C44GO33B.js';
|
|
12
|
-
export { MarkdownCode, MarkdownLink, MarkdownRenderer, MarkdownStreamingContext, markdownBaseComponents, markdownSanitizeSchema, splitMarkdownBlocks } from './chunk-C44GO33B.js';
|
|
9
|
+
import { returnFocusToMark, MarkMenu, AiMarkdown, Card, Badge, TagEntity, Input, FILE_TYPE_COLORS, getEntityIcon, UserEntity, getEntityColorStyles, AgentBadge, Textarea, Label, Slider, DocumentEntity, DocumentCard, useAudioRecorder, MicWaveformIndicator, IconToggle, classifyMediaError, formatElapsed, PassageCard } from './chunk-BFW4ZN43.js';
|
|
10
|
+
export { AUDIO_MIME_PREFERENCE, AgentBadge, AiMarkdown, ArbiBotHeadIcon, ArbiIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_SEGMENTER_CONFIG, DebouncedInput, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, INITIAL_SEGMENTER_STATE, IconToggle, ImgIcon, InlineMicButton, Input, Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShieldIcon, Slider, StatusPill, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, Textarea, ThreadVisibilityIcon, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TxtIcon, UserEntity, UserMenu, VIDEO_MIME_PREFERENCE, VISIBILITY_ICONS, VerifiedBadge, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, agentAvatarColors, badgeVariants, cardVariants, classifyMediaError, configureEntityRegistry, configureRagLabels, configureStatusRegistry, createChunkedRecorder, flushSegmenter, formatElapsed, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, levelFromRms, pickRecorderMimeType, stepSegmenter, toggleVariants, useAudioRecorder } from './chunk-BFW4ZN43.js';
|
|
13
11
|
import { Button, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from './chunk-YNNAJJ5Z.js';
|
|
14
12
|
export { Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, buttonVariants } from './chunk-YNNAJJ5Z.js';
|
|
13
|
+
import { MarkdownRenderer } from './chunk-C44GO33B.js';
|
|
14
|
+
export { MarkdownCode, MarkdownLink, MarkdownRenderer, MarkdownStreamingContext, markdownBaseComponents, markdownSanitizeSchema, splitMarkdownBlocks } from './chunk-C44GO33B.js';
|
|
15
15
|
import { normalizeCitationMarkup } from './chunk-QRCMKEE6.js';
|
|
16
16
|
export { closeOpenEmphasis, normalizeCitationMarkup, trimOpenCitation } from './chunk-QRCMKEE6.js';
|
|
17
17
|
import { ScrollArea } from './chunk-W4H6XAIU.js';
|
|
@@ -1536,6 +1536,62 @@ function useArbiShellWorkspaces(options = {}) {
|
|
|
1536
1536
|
select: select ?? defaultSelect
|
|
1537
1537
|
});
|
|
1538
1538
|
}
|
|
1539
|
+
function useFacts(workspaceId, options) {
|
|
1540
|
+
const arbi = useArbi();
|
|
1541
|
+
const { enabled = true, ...filter } = options ?? {};
|
|
1542
|
+
const workspace = workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : "");
|
|
1543
|
+
return useQuery({
|
|
1544
|
+
queryKey: [...arbiQueryKeys.facts(workspace), filter],
|
|
1545
|
+
queryFn: () => arbi.facts.list(filter),
|
|
1546
|
+
enabled: enabled && !!workspace && arbi.hasWorkspace,
|
|
1547
|
+
staleTime: 3e4
|
|
1548
|
+
});
|
|
1549
|
+
}
|
|
1550
|
+
function useRefreshFacts() {
|
|
1551
|
+
const qc = useQueryClient();
|
|
1552
|
+
return () => qc.invalidateQueries({ queryKey: arbiQueryKeys.allFacts() });
|
|
1553
|
+
}
|
|
1554
|
+
function useCreateFact() {
|
|
1555
|
+
const arbi = useArbi();
|
|
1556
|
+
const refresh = useRefreshFacts();
|
|
1557
|
+
return useMutation({
|
|
1558
|
+
mutationFn: (body) => arbi.facts.create(body),
|
|
1559
|
+
onSuccess: refresh
|
|
1560
|
+
});
|
|
1561
|
+
}
|
|
1562
|
+
function useCreateFacts() {
|
|
1563
|
+
const arbi = useArbi();
|
|
1564
|
+
const refresh = useRefreshFacts();
|
|
1565
|
+
return useMutation({
|
|
1566
|
+
mutationFn: (body) => arbi.facts.createBatch(body),
|
|
1567
|
+
onSuccess: refresh
|
|
1568
|
+
});
|
|
1569
|
+
}
|
|
1570
|
+
function useUpdateFact() {
|
|
1571
|
+
const arbi = useArbi();
|
|
1572
|
+
const refresh = useRefreshFacts();
|
|
1573
|
+
return useMutation({
|
|
1574
|
+
mutationFn: ({ factId, patch }) => arbi.facts.update(factId, patch),
|
|
1575
|
+
onSuccess: refresh
|
|
1576
|
+
});
|
|
1577
|
+
}
|
|
1578
|
+
function useDeleteFact() {
|
|
1579
|
+
const arbi = useArbi();
|
|
1580
|
+
const refresh = useRefreshFacts();
|
|
1581
|
+
return useMutation({
|
|
1582
|
+
mutationFn: (factId) => arbi.facts.delete(factId),
|
|
1583
|
+
onSuccess: refresh
|
|
1584
|
+
});
|
|
1585
|
+
}
|
|
1586
|
+
function useSearchFacts() {
|
|
1587
|
+
const arbi = useArbi();
|
|
1588
|
+
return useMutation({
|
|
1589
|
+
mutationFn: (body) => arbi.facts.search(body)
|
|
1590
|
+
});
|
|
1591
|
+
}
|
|
1592
|
+
function openWorkspaceId(arbi) {
|
|
1593
|
+
return arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
1594
|
+
}
|
|
1539
1595
|
function invalidateTagData(qc, workspaceId) {
|
|
1540
1596
|
return Promise.all([
|
|
1541
1597
|
qc.invalidateQueries({ queryKey: arbiQueryKeys.tags(workspaceId) }),
|
|
@@ -1546,29 +1602,30 @@ function useInvalidateTagData() {
|
|
|
1546
1602
|
const arbi = useArbi();
|
|
1547
1603
|
const qc = useQueryClient();
|
|
1548
1604
|
return useCallback(() => {
|
|
1549
|
-
const workspaceId = arbi
|
|
1605
|
+
const workspaceId = openWorkspaceId(arbi);
|
|
1550
1606
|
return workspaceId ? invalidateTagData(qc, workspaceId) : Promise.resolve();
|
|
1551
1607
|
}, [arbi, qc]);
|
|
1552
1608
|
}
|
|
1553
1609
|
function useTagKindSchema(kind, options) {
|
|
1554
1610
|
const arbi = useArbi();
|
|
1555
|
-
const workspaceId = arbi
|
|
1611
|
+
const workspaceId = openWorkspaceId(arbi) ?? "";
|
|
1556
1612
|
return useQuery({
|
|
1557
1613
|
queryKey: arbiQueryKeys.tagKind(workspaceId, kind ?? ""),
|
|
1558
1614
|
queryFn: () => arbi.tagKinds.get(kind),
|
|
1559
|
-
enabled: (options?.enabled ?? true) && !!kind && !!workspaceId
|
|
1615
|
+
enabled: (options?.enabled ?? true) && !!kind && !!workspaceId
|
|
1560
1616
|
});
|
|
1561
1617
|
}
|
|
1562
1618
|
function useUpdateTagKindSchema() {
|
|
1563
1619
|
const arbi = useArbi();
|
|
1564
1620
|
const qc = useQueryClient();
|
|
1565
1621
|
return useMutation({
|
|
1622
|
+
mutationKey: arbiMutationKeys.updateTagKindSchema(),
|
|
1566
1623
|
mutationFn: ({
|
|
1567
1624
|
kind,
|
|
1568
1625
|
fields
|
|
1569
1626
|
}) => arbi.tagKinds.update(kind, fields),
|
|
1570
1627
|
onSuccess: (schema) => {
|
|
1571
|
-
const workspaceId = arbi
|
|
1628
|
+
const workspaceId = openWorkspaceId(arbi);
|
|
1572
1629
|
if (!workspaceId) return;
|
|
1573
1630
|
qc.setQueryData(arbiQueryKeys.tagKind(workspaceId, schema.kind), schema);
|
|
1574
1631
|
return invalidateTagData(qc, workspaceId);
|
|
@@ -7300,6 +7357,6 @@ function hasVideoTrack(blob) {
|
|
|
7300
7357
|
});
|
|
7301
7358
|
}
|
|
7302
7359
|
|
|
7303
|
-
export { AccountClientProvider, ActivityFeed, AiActionCard, AiAnswer, AppleIcon, ArbiBotIcon, ArbiSessionStateProvider, ArbiWebSocketProvider, ArtifactCanvas, ChatBubble, CitationRenderer, ClaudeIcon, CommandPalette, CommandPaletteProvider, ConversationList, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, DirectMessages, DmAvatar, DmComposer, DocQaPanel, DocSearch, DocumentCardMenu, DocumentGallery, DocumentReview, DocumentTable, DraftTitleControls, EMPTY_SESSION_STATE, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, ImageCropModal, ImageCropper, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MailClientProvider, MailOfflineUnavailableError, MessageArtifactCard, MessageBubble, MessageThread, OpenAIIcon, PhotoCapture, ProviderIcon, RUN_WINDOW_MS, SemanticSearch, StartByEmail, TypingIndicator, VideoCapture, VoiceNoteRecorder, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, captureFrameAsBlob, createArbiSessionStore, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, formatIdentityPrice, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isWorkspaceNotificationType, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAiTask, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAuthorizeLimits, useAvatarCrop, useCameraStream, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationUsage, useCreateAgent, useCreateContact, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteContact, useDeleteWorkflow, useDirectMessages, useDisconnectMailAccount, useEmailChange, useFilteredProjects, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTerminateSession, useUpdateContact, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceDocs, useWorkspaceNotificationLevel, userDisplayName, userInitials, workflowStepOf };
|
|
7360
|
+
export { AccountClientProvider, ActivityFeed, AiActionCard, AiAnswer, AppleIcon, ArbiBotIcon, ArbiSessionStateProvider, ArbiWebSocketProvider, ArtifactCanvas, ChatBubble, CitationRenderer, ClaudeIcon, CommandPalette, CommandPaletteProvider, ConversationList, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, DirectMessages, DmAvatar, DmComposer, DocQaPanel, DocSearch, DocumentCardMenu, DocumentGallery, DocumentReview, DocumentTable, DraftTitleControls, EMPTY_SESSION_STATE, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, ImageCropModal, ImageCropper, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MailClientProvider, MailOfflineUnavailableError, MessageArtifactCard, MessageBubble, MessageThread, OpenAIIcon, PhotoCapture, ProviderIcon, RUN_WINDOW_MS, SemanticSearch, StartByEmail, TypingIndicator, VideoCapture, VoiceNoteRecorder, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, captureFrameAsBlob, createArbiSessionStore, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, formatIdentityPrice, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isWorkspaceNotificationType, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAiTask, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAuthorizeLimits, useAvatarCrop, useCameraStream, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationUsage, useCreateAgent, useCreateContact, useCreateFact, useCreateFacts, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteContact, useDeleteFact, useDeleteWorkflow, useDirectMessages, useDisconnectMailAccount, useEmailChange, useFacts, useFilteredProjects, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTerminateSession, useUpdateContact, useUpdateConversation, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceDocs, useWorkspaceNotificationLevel, userDisplayName, userInitials, workflowStepOf };
|
|
7304
7361
|
//# sourceMappingURL=index.js.map
|
|
7305
7362
|
//# sourceMappingURL=index.js.map
|