@arbidocs/react 0.3.145 → 0.3.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -21
- package/dist/index.d.ts +8 -21
- package/dist/index.js +6 -15
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
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 { ArbiOptions, Arbi, SSEStreamResult, SSEStreamStartData, ResponseOutputItemDoneEvent, ArtifactEvent } from '@arbidocs/sdk/browser';
|
|
4
|
-
export { AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent,
|
|
4
|
+
export { AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, CreateFactRequest, CreateTaskRequest, FactResponse, FactSearchRequest, FactSearchResponse, MessageMetadataPayload, OutputTokensDetails, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, TaskResponse, UpdateTaskRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent } from '@arbidocs/sdk/browser';
|
|
5
5
|
import * as _arbidocs_client from '@arbidocs/client';
|
|
6
6
|
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components } from '@arbidocs/client';
|
|
7
7
|
export { WebSocketServerMessage, WsBatchCompleteMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
|
|
@@ -358,14 +358,13 @@ declare const arbiQueryKeys: {
|
|
|
358
358
|
sessions: () => readonly ["arbi", "sessions"];
|
|
359
359
|
health: () => readonly ["arbi", "health"];
|
|
360
360
|
tasks: () => readonly ["arbi", "tasks"];
|
|
361
|
-
|
|
361
|
+
facts: (workspaceId: string) => readonly ["arbi", "facts", string];
|
|
362
362
|
configs: () => readonly ["arbi", "configs"];
|
|
363
363
|
activity: () => readonly ["arbi", "activity"];
|
|
364
364
|
projects: () => readonly ["arbi", "projects"];
|
|
365
365
|
projectUsage: (projectExtId: string, monthsBack: number) => readonly ["arbi", "projectUsage", string, number];
|
|
366
366
|
projectInvoices: (projectExtId: string) => readonly ["arbi", "projectInvoices", string];
|
|
367
367
|
userUsageToday: () => readonly ["arbi", "userUsageToday"];
|
|
368
|
-
workspaceChronology: (workspaceId: string) => readonly ["arbi", "workspaceChronology", string];
|
|
369
368
|
};
|
|
370
369
|
/** List the logged-in user's workspaces. */
|
|
371
370
|
declare function useWorkspaces(options?: {
|
|
@@ -449,6 +448,7 @@ declare function useDocuments(workspaceId: string | undefined, options?: {
|
|
|
449
448
|
page?: number | null | undefined;
|
|
450
449
|
}[];
|
|
451
450
|
} | null | undefined;
|
|
451
|
+
external_id: string;
|
|
452
452
|
doc_ext_id: string;
|
|
453
453
|
tag_ext_id: string;
|
|
454
454
|
created_by_ext_id: string;
|
|
@@ -623,8 +623,8 @@ declare function useTasks(options?: {
|
|
|
623
623
|
created_at: string;
|
|
624
624
|
updated_at: string;
|
|
625
625
|
}[]>, Error>;
|
|
626
|
-
/** List the open workspace's
|
|
627
|
-
declare function
|
|
626
|
+
/** List the open workspace's facts. */
|
|
627
|
+
declare function useFacts(workspaceId: string | undefined, options?: {
|
|
628
628
|
enabled?: boolean;
|
|
629
629
|
pinnedOnly?: boolean;
|
|
630
630
|
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
@@ -639,7 +639,7 @@ declare function useMemories(workspaceId: string | undefined, options?: {
|
|
|
639
639
|
date_end?: string | null;
|
|
640
640
|
timezone?: string | null;
|
|
641
641
|
reminder_task_ext_ids: string[];
|
|
642
|
-
tags: _arbidocs_client.components["schemas"]["
|
|
642
|
+
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
643
643
|
created_by_ext_id: string;
|
|
644
644
|
created_at: string;
|
|
645
645
|
updated_at: string;
|
|
@@ -815,20 +815,6 @@ declare function useUserUsageToday(options?: {
|
|
|
815
815
|
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
816
816
|
credits_used: number;
|
|
817
817
|
}>, Error>;
|
|
818
|
-
/**
|
|
819
|
-
* The last-generated document-derived chronology (key case events / dates) for
|
|
820
|
-
* a workspace. Defaults to the currently open workspace when `workspaceId` is
|
|
821
|
-
* omitted.
|
|
822
|
-
*/
|
|
823
|
-
declare function useWorkspaceChronology(workspaceId: string | undefined, options?: {
|
|
824
|
-
enabled?: boolean;
|
|
825
|
-
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
826
|
-
events?: {
|
|
827
|
-
[key: string]: unknown;
|
|
828
|
-
}[] | null;
|
|
829
|
-
generated_at?: string | null;
|
|
830
|
-
doc_count?: number | null;
|
|
831
|
-
}>, Error>;
|
|
832
818
|
|
|
833
819
|
/**
|
|
834
820
|
* The AI engine — domain-agnostic hooks for building an AI-native app on ARBI.
|
|
@@ -881,6 +867,7 @@ declare function useWorkspaceDocs(workspaceId?: string): {
|
|
|
881
867
|
page?: number | null | undefined;
|
|
882
868
|
}[];
|
|
883
869
|
} | null | undefined;
|
|
870
|
+
external_id: string;
|
|
884
871
|
doc_ext_id: string;
|
|
885
872
|
tag_ext_id: string;
|
|
886
873
|
created_by_ext_id: string;
|
|
@@ -2734,4 +2721,4 @@ interface ArbiUiState {
|
|
|
2734
2721
|
}
|
|
2735
2722
|
declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
|
|
2736
2723
|
|
|
2737
|
-
export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, type AppNotification, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, type ArbiChatLabels, ArbiChatPanel, type ArbiChatPanelProps, type ArbiChatProps, type ArbiChatTheme, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, BASE_COLORS, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCard, DocumentCardMenu, type DocumentCardMenuProps, type DocumentCardProps, DocumentEntity, type DocumentEntityProps, DocumentGallery, type DocumentGalleryProps, type DocumentLike, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, ENTITY_MAPPINGS, EmlIcon, EntityIcon, type EntityIconComponent, EntityPill, type EntityRegistryOverride, type EntityType, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, LinkedInIcon, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, NEUTRAL_GRAY, NotificationBell, type NotificationBellProps, type NotificationTypeMeta, type NotifyOptions, type NotifyVariant, OpenAIIcon, PLACEHOLDER_COLOR, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PdfIcon, type PresenceDisplayStatus, ProjectEntity, type ProjectEntityProps, type ProjectRelation, type ProjectsUsageAggregate, ProviderIcon, type Rag, RagDot, type RenderMarkdown, type SearchChunk, SemanticSearch, type SemanticSearchProps, type StatusBadgeComponent, type StatusBadgeProps, StatusPill, type StatusPillProps, type StatusVariant, TAG_TYPE_ICONS, TAG_TYPE_LABELS, TagEntity, type TagEntityProps, type TagLike, Toaster, type ToolResponses, TxtIcon, TypingIndicator, type UseDirectMessagesResult, UserEntity, type UserEntityProps, UserMenu, type UserMenuItem, type UserMenuProps, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, arbiQueryKeys, configureEntityRegistry, configureRagLabels, configureStatusRegistry, cropImage, describeActivity, formatRelativeTime, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, useActivity, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments,
|
|
2724
|
+
export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, type AppNotification, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, type ArbiChatLabels, ArbiChatPanel, type ArbiChatPanelProps, type ArbiChatProps, type ArbiChatTheme, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, BASE_COLORS, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCard, DocumentCardMenu, type DocumentCardMenuProps, type DocumentCardProps, DocumentEntity, type DocumentEntityProps, DocumentGallery, type DocumentGalleryProps, type DocumentLike, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, ENTITY_MAPPINGS, EmlIcon, EntityIcon, type EntityIconComponent, EntityPill, type EntityRegistryOverride, type EntityType, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, LinkedInIcon, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, NEUTRAL_GRAY, NotificationBell, type NotificationBellProps, type NotificationTypeMeta, type NotifyOptions, type NotifyVariant, OpenAIIcon, PLACEHOLDER_COLOR, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PdfIcon, type PresenceDisplayStatus, ProjectEntity, type ProjectEntityProps, type ProjectRelation, type ProjectsUsageAggregate, ProviderIcon, type Rag, RagDot, type RenderMarkdown, type SearchChunk, SemanticSearch, type SemanticSearchProps, type StatusBadgeComponent, type StatusBadgeProps, StatusPill, type StatusPillProps, type StatusVariant, TAG_TYPE_ICONS, TAG_TYPE_LABELS, TagEntity, type TagEntityProps, type TagLike, Toaster, type ToolResponses, TxtIcon, TypingIndicator, type UseDirectMessagesResult, UserEntity, type UserEntityProps, UserMenu, type UserMenuItem, type UserMenuProps, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, arbiQueryKeys, configureEntityRegistry, configureRagLabels, configureStatusRegistry, cropImage, describeActivity, formatRelativeTime, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, useActivity, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments, useFacts, useHealth, useNotify, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSemanticSearch, useSessions, useTags, useTasks, useThumbnails, useUserUsageToday, useWorkspaceDocs, useWorkspaces, userDisplayName, userInitials };
|
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 { ArbiOptions, Arbi, SSEStreamResult, SSEStreamStartData, ResponseOutputItemDoneEvent, ArtifactEvent } from '@arbidocs/sdk/browser';
|
|
4
|
-
export { AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent,
|
|
4
|
+
export { AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, CreateFactRequest, CreateTaskRequest, FactResponse, FactSearchRequest, FactSearchResponse, MessageMetadataPayload, OutputTokensDetails, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, TaskResponse, UpdateTaskRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent } from '@arbidocs/sdk/browser';
|
|
5
5
|
import * as _arbidocs_client from '@arbidocs/client';
|
|
6
6
|
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components } from '@arbidocs/client';
|
|
7
7
|
export { WebSocketServerMessage, WsBatchCompleteMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
|
|
@@ -358,14 +358,13 @@ declare const arbiQueryKeys: {
|
|
|
358
358
|
sessions: () => readonly ["arbi", "sessions"];
|
|
359
359
|
health: () => readonly ["arbi", "health"];
|
|
360
360
|
tasks: () => readonly ["arbi", "tasks"];
|
|
361
|
-
|
|
361
|
+
facts: (workspaceId: string) => readonly ["arbi", "facts", string];
|
|
362
362
|
configs: () => readonly ["arbi", "configs"];
|
|
363
363
|
activity: () => readonly ["arbi", "activity"];
|
|
364
364
|
projects: () => readonly ["arbi", "projects"];
|
|
365
365
|
projectUsage: (projectExtId: string, monthsBack: number) => readonly ["arbi", "projectUsage", string, number];
|
|
366
366
|
projectInvoices: (projectExtId: string) => readonly ["arbi", "projectInvoices", string];
|
|
367
367
|
userUsageToday: () => readonly ["arbi", "userUsageToday"];
|
|
368
|
-
workspaceChronology: (workspaceId: string) => readonly ["arbi", "workspaceChronology", string];
|
|
369
368
|
};
|
|
370
369
|
/** List the logged-in user's workspaces. */
|
|
371
370
|
declare function useWorkspaces(options?: {
|
|
@@ -449,6 +448,7 @@ declare function useDocuments(workspaceId: string | undefined, options?: {
|
|
|
449
448
|
page?: number | null | undefined;
|
|
450
449
|
}[];
|
|
451
450
|
} | null | undefined;
|
|
451
|
+
external_id: string;
|
|
452
452
|
doc_ext_id: string;
|
|
453
453
|
tag_ext_id: string;
|
|
454
454
|
created_by_ext_id: string;
|
|
@@ -623,8 +623,8 @@ declare function useTasks(options?: {
|
|
|
623
623
|
created_at: string;
|
|
624
624
|
updated_at: string;
|
|
625
625
|
}[]>, Error>;
|
|
626
|
-
/** List the open workspace's
|
|
627
|
-
declare function
|
|
626
|
+
/** List the open workspace's facts. */
|
|
627
|
+
declare function useFacts(workspaceId: string | undefined, options?: {
|
|
628
628
|
enabled?: boolean;
|
|
629
629
|
pinnedOnly?: boolean;
|
|
630
630
|
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
@@ -639,7 +639,7 @@ declare function useMemories(workspaceId: string | undefined, options?: {
|
|
|
639
639
|
date_end?: string | null;
|
|
640
640
|
timezone?: string | null;
|
|
641
641
|
reminder_task_ext_ids: string[];
|
|
642
|
-
tags: _arbidocs_client.components["schemas"]["
|
|
642
|
+
tags: _arbidocs_client.components["schemas"]["FactTagResponse"][];
|
|
643
643
|
created_by_ext_id: string;
|
|
644
644
|
created_at: string;
|
|
645
645
|
updated_at: string;
|
|
@@ -815,20 +815,6 @@ declare function useUserUsageToday(options?: {
|
|
|
815
815
|
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
816
816
|
credits_used: number;
|
|
817
817
|
}>, Error>;
|
|
818
|
-
/**
|
|
819
|
-
* The last-generated document-derived chronology (key case events / dates) for
|
|
820
|
-
* a workspace. Defaults to the currently open workspace when `workspaceId` is
|
|
821
|
-
* omitted.
|
|
822
|
-
*/
|
|
823
|
-
declare function useWorkspaceChronology(workspaceId: string | undefined, options?: {
|
|
824
|
-
enabled?: boolean;
|
|
825
|
-
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
826
|
-
events?: {
|
|
827
|
-
[key: string]: unknown;
|
|
828
|
-
}[] | null;
|
|
829
|
-
generated_at?: string | null;
|
|
830
|
-
doc_count?: number | null;
|
|
831
|
-
}>, Error>;
|
|
832
818
|
|
|
833
819
|
/**
|
|
834
820
|
* The AI engine — domain-agnostic hooks for building an AI-native app on ARBI.
|
|
@@ -881,6 +867,7 @@ declare function useWorkspaceDocs(workspaceId?: string): {
|
|
|
881
867
|
page?: number | null | undefined;
|
|
882
868
|
}[];
|
|
883
869
|
} | null | undefined;
|
|
870
|
+
external_id: string;
|
|
884
871
|
doc_ext_id: string;
|
|
885
872
|
tag_ext_id: string;
|
|
886
873
|
created_by_ext_id: string;
|
|
@@ -2734,4 +2721,4 @@ interface ArbiUiState {
|
|
|
2734
2721
|
}
|
|
2735
2722
|
declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
|
|
2736
2723
|
|
|
2737
|
-
export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, type AppNotification, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, type ArbiChatLabels, ArbiChatPanel, type ArbiChatPanelProps, type ArbiChatProps, type ArbiChatTheme, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, BASE_COLORS, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCard, DocumentCardMenu, type DocumentCardMenuProps, type DocumentCardProps, DocumentEntity, type DocumentEntityProps, DocumentGallery, type DocumentGalleryProps, type DocumentLike, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, ENTITY_MAPPINGS, EmlIcon, EntityIcon, type EntityIconComponent, EntityPill, type EntityRegistryOverride, type EntityType, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, LinkedInIcon, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, NEUTRAL_GRAY, NotificationBell, type NotificationBellProps, type NotificationTypeMeta, type NotifyOptions, type NotifyVariant, OpenAIIcon, PLACEHOLDER_COLOR, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PdfIcon, type PresenceDisplayStatus, ProjectEntity, type ProjectEntityProps, type ProjectRelation, type ProjectsUsageAggregate, ProviderIcon, type Rag, RagDot, type RenderMarkdown, type SearchChunk, SemanticSearch, type SemanticSearchProps, type StatusBadgeComponent, type StatusBadgeProps, StatusPill, type StatusPillProps, type StatusVariant, TAG_TYPE_ICONS, TAG_TYPE_LABELS, TagEntity, type TagEntityProps, type TagLike, Toaster, type ToolResponses, TxtIcon, TypingIndicator, type UseDirectMessagesResult, UserEntity, type UserEntityProps, UserMenu, type UserMenuItem, type UserMenuProps, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, arbiQueryKeys, configureEntityRegistry, configureRagLabels, configureStatusRegistry, cropImage, describeActivity, formatRelativeTime, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, useActivity, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments,
|
|
2724
|
+
export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, type AppNotification, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, type ArbiChatLabels, ArbiChatPanel, type ArbiChatPanelProps, type ArbiChatProps, type ArbiChatTheme, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, BASE_COLORS, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCard, DocumentCardMenu, type DocumentCardMenuProps, type DocumentCardProps, DocumentEntity, type DocumentEntityProps, DocumentGallery, type DocumentGalleryProps, type DocumentLike, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, ENTITY_MAPPINGS, EmlIcon, EntityIcon, type EntityIconComponent, EntityPill, type EntityRegistryOverride, type EntityType, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, LinkedInIcon, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, NEUTRAL_GRAY, NotificationBell, type NotificationBellProps, type NotificationTypeMeta, type NotifyOptions, type NotifyVariant, OpenAIIcon, PLACEHOLDER_COLOR, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PdfIcon, type PresenceDisplayStatus, ProjectEntity, type ProjectEntityProps, type ProjectRelation, type ProjectsUsageAggregate, ProviderIcon, type Rag, RagDot, type RenderMarkdown, type SearchChunk, SemanticSearch, type SemanticSearchProps, type StatusBadgeComponent, type StatusBadgeProps, StatusPill, type StatusPillProps, type StatusVariant, TAG_TYPE_ICONS, TAG_TYPE_LABELS, TagEntity, type TagEntityProps, type TagLike, Toaster, type ToolResponses, TxtIcon, TypingIndicator, type UseDirectMessagesResult, UserEntity, type UserEntityProps, UserMenu, type UserMenuItem, type UserMenuProps, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, arbiQueryKeys, configureEntityRegistry, configureRagLabels, configureStatusRegistry, cropImage, describeActivity, formatRelativeTime, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, useActivity, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments, useFacts, useHealth, useNotify, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSemanticSearch, useSessions, useTags, useTasks, useThumbnails, useUserUsageToday, useWorkspaceDocs, useWorkspaces, userDisplayName, userInitials };
|
package/dist/index.js
CHANGED
|
@@ -591,14 +591,13 @@ var arbiQueryKeys = {
|
|
|
591
591
|
sessions: () => ["arbi", "sessions"],
|
|
592
592
|
health: () => ["arbi", "health"],
|
|
593
593
|
tasks: () => ["arbi", "tasks"],
|
|
594
|
-
|
|
594
|
+
facts: (workspaceId) => ["arbi", "facts", workspaceId],
|
|
595
595
|
configs: () => ["arbi", "configs"],
|
|
596
596
|
activity: () => ["arbi", "activity"],
|
|
597
597
|
projects: () => ["arbi", "projects"],
|
|
598
598
|
projectUsage: (projectExtId, monthsBack) => ["arbi", "projectUsage", projectExtId, monthsBack],
|
|
599
599
|
projectInvoices: (projectExtId) => ["arbi", "projectInvoices", projectExtId],
|
|
600
|
-
userUsageToday: () => ["arbi", "userUsageToday"]
|
|
601
|
-
workspaceChronology: (workspaceId) => ["arbi", "workspaceChronology", workspaceId]
|
|
600
|
+
userUsageToday: () => ["arbi", "userUsageToday"]
|
|
602
601
|
};
|
|
603
602
|
function useWorkspaces(options) {
|
|
604
603
|
const arbi = useArbi();
|
|
@@ -693,11 +692,11 @@ function useTasks(options) {
|
|
|
693
692
|
enabled: options?.enabled ?? arbi.isLoggedIn
|
|
694
693
|
});
|
|
695
694
|
}
|
|
696
|
-
function
|
|
695
|
+
function useFacts(workspaceId, options) {
|
|
697
696
|
const arbi = useArbi();
|
|
698
697
|
return useQuery({
|
|
699
|
-
queryKey: arbiQueryKeys.
|
|
700
|
-
queryFn: () => arbi.
|
|
698
|
+
queryKey: arbiQueryKeys.facts(workspaceId ?? ""),
|
|
699
|
+
queryFn: () => arbi.facts.list({ pinnedOnly: options?.pinnedOnly }),
|
|
701
700
|
enabled: (options?.enabled ?? true) && !!workspaceId && arbi.hasWorkspace
|
|
702
701
|
});
|
|
703
702
|
}
|
|
@@ -814,14 +813,6 @@ function useUserUsageToday(options) {
|
|
|
814
813
|
enabled: options?.enabled ?? arbi.isLoggedIn
|
|
815
814
|
});
|
|
816
815
|
}
|
|
817
|
-
function useWorkspaceChronology(workspaceId, options) {
|
|
818
|
-
const arbi = useArbi();
|
|
819
|
-
return useQuery({
|
|
820
|
-
queryKey: arbiQueryKeys.workspaceChronology(workspaceId ?? ""),
|
|
821
|
-
queryFn: () => arbi.workspaces.chronology(workspaceId),
|
|
822
|
-
enabled: (options?.enabled ?? true) && !!workspaceId && arbi.hasWorkspace
|
|
823
|
-
});
|
|
824
|
-
}
|
|
825
816
|
function WorkspaceScreen({ theme, labels, onSelect }) {
|
|
826
817
|
const arbi = useArbi();
|
|
827
818
|
const { data: workspaces, isLoading } = useWorkspaces();
|
|
@@ -6744,6 +6735,6 @@ function DocumentGallery({
|
|
|
6744
6735
|
);
|
|
6745
6736
|
}
|
|
6746
6737
|
|
|
6747
|
-
export { ActivityFeed, AiActionCard, AiAnswer, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, ArbiChatPanel, ArbiIcon, ArbiWebSocketProvider, ArtifactCanvas, AudIcon, BASE_COLORS2 as BASE_COLORS, ChatBubble, CitationRenderer, ClaudeIcon, CommandPalette, CommandPaletteProvider, ConversationList, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, DirectMessages, DmAvatar, DmComposer, DocIcon, DocQaPanel, DocSearch, DocumentCard, DocumentCardMenu, DocumentEntity, DocumentGallery, DocumentReview, DocumentTable, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HtmlIcon, ImageCropModal, ImageCropper, ImgIcon, LinkedInIcon, MessageArtifactCard, MessageBubble2 as MessageBubble, MessageThread, NEUTRAL_GRAY2 as NEUTRAL_GRAY, NotificationBell, OpenAIIcon, PLACEHOLDER_COLOR, PdfIcon, ProjectEntity, ProviderIcon, RagDot, SemanticSearch, StatusPill, TAG_TYPE_ICONS, TAG_TYPE_LABELS, TagEntity, Toaster, TxtIcon, TypingIndicator, UserEntity, UserMenu, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, arbiQueryKeys, configureEntityRegistry, configureRagLabels, configureStatusRegistry, cropImage, describeActivity, formatRelativeTime, getEntityColor2 as getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, useActivity, useAgents, useAiTask, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments,
|
|
6738
|
+
export { ActivityFeed, AiActionCard, AiAnswer, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, ArbiChatPanel, ArbiIcon, ArbiWebSocketProvider, ArtifactCanvas, AudIcon, BASE_COLORS2 as BASE_COLORS, ChatBubble, CitationRenderer, ClaudeIcon, CommandPalette, CommandPaletteProvider, ConversationList, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, DirectMessages, DmAvatar, DmComposer, DocIcon, DocQaPanel, DocSearch, DocumentCard, DocumentCardMenu, DocumentEntity, DocumentGallery, DocumentReview, DocumentTable, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HtmlIcon, ImageCropModal, ImageCropper, ImgIcon, LinkedInIcon, MessageArtifactCard, MessageBubble2 as MessageBubble, MessageThread, NEUTRAL_GRAY2 as NEUTRAL_GRAY, NotificationBell, OpenAIIcon, PLACEHOLDER_COLOR, PdfIcon, ProjectEntity, ProviderIcon, RagDot, SemanticSearch, StatusPill, TAG_TYPE_ICONS, TAG_TYPE_LABELS, TagEntity, Toaster, TxtIcon, TypingIndicator, UserEntity, UserMenu, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, arbiQueryKeys, configureEntityRegistry, configureRagLabels, configureStatusRegistry, cropImage, describeActivity, formatRelativeTime, getEntityColor2 as getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, useActivity, useAgents, useAiTask, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments, useFacts, useHealth, useNotify, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSemanticSearch, useSessions, useTags, useTasks, useThumbnails, useUserUsageToday, useWorkspaceDocs, useWorkspaces, userDisplayName, userInitials };
|
|
6748
6739
|
//# sourceMappingURL=index.js.map
|
|
6749
6740
|
//# sourceMappingURL=index.js.map
|