@arbidocs/react 0.4.54 → 0.4.56
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/PdfViewer-bQH9yxFg.d.cts +55 -0
- package/dist/PdfViewer-bQH9yxFg.d.ts +55 -0
- package/dist/annotations/freeze/index.cjs +748 -0
- package/dist/annotations/freeze/index.cjs.map +1 -0
- package/dist/annotations/freeze/index.d.cts +199 -0
- package/dist/annotations/freeze/index.d.ts +199 -0
- package/dist/annotations/freeze/index.js +738 -0
- package/dist/annotations/freeze/index.js.map +1 -0
- package/dist/annotations/index.cjs +1737 -0
- package/dist/annotations/index.cjs.map +1 -0
- package/dist/annotations/index.d.cts +291 -0
- package/dist/annotations/index.d.ts +291 -0
- package/dist/annotations/index.js +1671 -0
- package/dist/annotations/index.js.map +1 -0
- package/dist/artifacts/index.cjs +14 -14
- package/dist/artifacts/index.js +2 -2
- package/dist/chunk-BGDE4DP5.cjs +192 -0
- package/dist/chunk-BGDE4DP5.cjs.map +1 -0
- package/dist/{chunk-EDTJLZUZ.js → chunk-CVN7MAGQ.js} +5 -145
- package/dist/chunk-CVN7MAGQ.js.map +1 -0
- package/dist/chunk-JWXIRUWN.js +183 -0
- package/dist/chunk-JWXIRUWN.js.map +1 -0
- package/dist/chunk-QS3Q5542.js +151 -0
- package/dist/chunk-QS3Q5542.js.map +1 -0
- package/dist/{chunk-TLZVR72J.cjs → chunk-R6V6YHPD.cjs} +2 -2
- package/dist/chunk-R6V6YHPD.cjs.map +1 -0
- package/dist/{chunk-2NSB2EKN.cjs → chunk-X3F5ABY2.cjs} +4 -157
- package/dist/chunk-X3F5ABY2.cjs.map +1 -0
- package/dist/chunk-XDCRWZF2.cjs +185 -0
- package/dist/chunk-XDCRWZF2.cjs.map +1 -0
- package/dist/{chunk-QRZC3EBD.js → chunk-XKGTZ3H6.js} +2 -2
- package/dist/chunk-XKGTZ3H6.js.map +1 -0
- package/dist/index.cjs +345 -369
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -118
- package/dist/index.d.ts +8 -118
- package/dist/index.js +8 -29
- package/dist/index.js.map +1 -1
- package/dist/model-DzQxhMMz.d.cts +102 -0
- package/dist/model-DzQxhMMz.d.ts +102 -0
- package/dist/ui/index.cjs +161 -160
- package/dist/ui/index.js +2 -1
- package/dist/viewers/index.cjs +61 -52
- package/dist/viewers/index.cjs.map +1 -1
- package/dist/viewers/index.d.cts +3 -43
- package/dist/viewers/index.d.ts +3 -43
- package/dist/viewers/index.js +61 -52
- package/dist/viewers/index.js.map +1 -1
- package/package.json +31 -9
- package/dist/chunk-2NSB2EKN.cjs.map +0 -1
- package/dist/chunk-EDTJLZUZ.js.map +0 -1
- package/dist/chunk-QRZC3EBD.js.map +0 -1
- package/dist/chunk-TLZVR72J.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
3
3
|
import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
|
|
4
|
-
import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent,
|
|
5
|
-
export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions,
|
|
4
|
+
import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, UpdateConversationRequest, UpdateWorkflowRequest, LoginProfile } from '@arbidocs/sdk/browser';
|
|
5
|
+
export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse } from '@arbidocs/sdk/browser';
|
|
6
6
|
import * as _arbidocs_client from '@arbidocs/client';
|
|
7
7
|
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components } from '@arbidocs/client';
|
|
8
8
|
export { WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePostedMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
|
|
@@ -541,7 +541,7 @@ declare const arbiQueryKeys: {
|
|
|
541
541
|
/** The signed-in user's settings record (notification preferences, flags). */
|
|
542
542
|
userSettings: () => readonly ["arbi", "userSettings"];
|
|
543
543
|
};
|
|
544
|
-
/** Workspace people for mentions
|
|
544
|
+
/** Workspace people for mentions and ownership. */
|
|
545
545
|
declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
|
|
546
546
|
enabled?: boolean;
|
|
547
547
|
beforeFetch?: () => Promise<unknown>;
|
|
@@ -693,8 +693,6 @@ declare function useConversations(workspaceId: string | undefined, options?: {
|
|
|
693
693
|
status?: (_arbidocs_client.components["schemas"]["WorkStatus"] | null) | undefined;
|
|
694
694
|
description?: string | null | undefined;
|
|
695
695
|
due_at?: string | null | undefined;
|
|
696
|
-
signoff_ext_id?: string | null | undefined;
|
|
697
|
-
can_signoff: boolean;
|
|
698
696
|
completed_at?: string | null | undefined;
|
|
699
697
|
completed_by_ext_id?: string | null | undefined;
|
|
700
698
|
parent_conversation_ext_id?: string | null | undefined;
|
|
@@ -1700,7 +1698,7 @@ declare function useUserUsageToday(options?: {
|
|
|
1700
1698
|
type AgentConfigSections = Record<string, Record<string, unknown>>;
|
|
1701
1699
|
/**
|
|
1702
1700
|
* Patch a conversation: rename it, share it or make it private (`shared`, owner only), or change
|
|
1703
|
-
* its work fields (description, due date,
|
|
1701
|
+
* its work fields (description, due date, parent, `status` `todo | done`, plan).
|
|
1704
1702
|
* The one write behind title edits, the share toggle and marking a task done.
|
|
1705
1703
|
*/
|
|
1706
1704
|
declare function useUpdateConversation(): _tanstack_react_query.UseMutationResult<{
|
|
@@ -1722,8 +1720,6 @@ declare function useUpdateConversation(): _tanstack_react_query.UseMutationResul
|
|
|
1722
1720
|
status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
|
|
1723
1721
|
description?: string | null;
|
|
1724
1722
|
due_at?: string | null;
|
|
1725
|
-
signoff_ext_id?: string | null;
|
|
1726
|
-
can_signoff: boolean;
|
|
1727
1723
|
completed_at?: string | null;
|
|
1728
1724
|
completed_by_ext_id?: string | null;
|
|
1729
1725
|
parent_conversation_ext_id?: string | null;
|
|
@@ -1770,8 +1766,6 @@ declare function useCreateWork(): _tanstack_react_query.UseMutationResult<{
|
|
|
1770
1766
|
status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
|
|
1771
1767
|
description?: string | null;
|
|
1772
1768
|
due_at?: string | null;
|
|
1773
|
-
signoff_ext_id?: string | null;
|
|
1774
|
-
can_signoff: boolean;
|
|
1775
1769
|
completed_at?: string | null;
|
|
1776
1770
|
completed_by_ext_id?: string | null;
|
|
1777
1771
|
parent_conversation_ext_id?: string | null;
|
|
@@ -1795,7 +1789,6 @@ declare function useCreateWork(): _tanstack_react_query.UseMutationResult<{
|
|
|
1795
1789
|
title?: string | null;
|
|
1796
1790
|
description?: string | null;
|
|
1797
1791
|
due_at?: string | null;
|
|
1798
|
-
signoff_user_ext_id?: string | null;
|
|
1799
1792
|
parent_conversation_ext_id?: string | null;
|
|
1800
1793
|
shared?: boolean | null;
|
|
1801
1794
|
prompt?: string | null;
|
|
@@ -1810,7 +1803,7 @@ declare function useCreateWork(): _tanstack_react_query.UseMutationResult<{
|
|
|
1810
1803
|
/**
|
|
1811
1804
|
* Run a work item now, or retry it. A run parked waiting for workspace access (a temporary
|
|
1812
1805
|
* authorization tier) is granted a temporary, session-scoped key and run again, so the person
|
|
1813
|
-
* clicking Run
|
|
1806
|
+
* clicking Run authorizes it. Resolves with the updated conversation.
|
|
1814
1807
|
*/
|
|
1815
1808
|
declare function useRunConversation(): _tanstack_react_query.UseMutationResult<{
|
|
1816
1809
|
label_ext_ids?: string[];
|
|
@@ -1831,8 +1824,6 @@ declare function useRunConversation(): _tanstack_react_query.UseMutationResult<{
|
|
|
1831
1824
|
status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
|
|
1832
1825
|
description?: string | null;
|
|
1833
1826
|
due_at?: string | null;
|
|
1834
|
-
signoff_ext_id?: string | null;
|
|
1835
|
-
can_signoff: boolean;
|
|
1836
1827
|
completed_at?: string | null;
|
|
1837
1828
|
completed_by_ext_id?: string | null;
|
|
1838
1829
|
parent_conversation_ext_id?: string | null;
|
|
@@ -1853,103 +1844,7 @@ declare function useRunConversation(): _tanstack_react_query.UseMutationResult<{
|
|
|
1853
1844
|
owner_ext_id?: string | null;
|
|
1854
1845
|
is_owner: boolean;
|
|
1855
1846
|
}, Error, string, unknown>;
|
|
1856
|
-
/**
|
|
1857
|
-
* The sign-off person's verdict on work that is ready for review: approve it (done) or send it
|
|
1858
|
-
* back with feedback so the agent revises it in the same thread. Resolves with the conversation.
|
|
1859
|
-
*/
|
|
1860
|
-
declare function useReviewConversation(): _tanstack_react_query.UseMutationResult<{
|
|
1861
|
-
label_ext_ids?: string[];
|
|
1862
|
-
external_id: string;
|
|
1863
|
-
title: string | null;
|
|
1864
|
-
created_by_ext_id: string;
|
|
1865
|
-
updated_by_ext_id?: string | null;
|
|
1866
|
-
created_at: string;
|
|
1867
|
-
updated_at: string;
|
|
1868
|
-
is_shared: boolean;
|
|
1869
|
-
message_count: number;
|
|
1870
|
-
last_message_actor?: _arbidocs_client.components["schemas"]["ConversationTurnActor"] | null;
|
|
1871
|
-
last_message_ext_id?: string | null;
|
|
1872
|
-
last_message_role?: string | null;
|
|
1873
|
-
last_message_updated_at?: string | null;
|
|
1874
|
-
last_message_status?: string | null;
|
|
1875
|
-
assistant_mode: _arbidocs_client.components["schemas"]["AssistantMode"];
|
|
1876
|
-
status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
|
|
1877
|
-
description?: string | null;
|
|
1878
|
-
due_at?: string | null;
|
|
1879
|
-
signoff_ext_id?: string | null;
|
|
1880
|
-
can_signoff: boolean;
|
|
1881
|
-
completed_at?: string | null;
|
|
1882
|
-
completed_by_ext_id?: string | null;
|
|
1883
|
-
parent_conversation_ext_id?: string | null;
|
|
1884
|
-
workflow_ext_id?: string | null;
|
|
1885
|
-
agent_ext_id?: string | null;
|
|
1886
|
-
skill_ref?: string | null;
|
|
1887
|
-
has_agent_action: boolean;
|
|
1888
|
-
auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
|
|
1889
|
-
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
1890
|
-
goal_state?: {
|
|
1891
|
-
[key: string]: unknown;
|
|
1892
|
-
} | null;
|
|
1893
|
-
last_error?: string | null;
|
|
1894
|
-
pending_auth_request_id?: string | null;
|
|
1895
|
-
in_progress: boolean;
|
|
1896
|
-
active_response_id?: string | null;
|
|
1897
|
-
run_started_at?: string | null;
|
|
1898
|
-
owner_ext_id?: string | null;
|
|
1899
|
-
is_owner: boolean;
|
|
1900
|
-
}, Error, {
|
|
1901
|
-
conversationId: string;
|
|
1902
|
-
review: ReviewWorkRequest;
|
|
1903
|
-
}, unknown>;
|
|
1904
|
-
/**
|
|
1905
|
-
* Ask another person to approve a work item (a real request: they are notified and become its
|
|
1906
|
-
* sign-off person). Resolves with the updated conversation.
|
|
1907
|
-
*/
|
|
1908
|
-
declare function useRequestConversationApproval(): _tanstack_react_query.UseMutationResult<{
|
|
1909
|
-
label_ext_ids?: string[];
|
|
1910
|
-
external_id: string;
|
|
1911
|
-
title: string | null;
|
|
1912
|
-
created_by_ext_id: string;
|
|
1913
|
-
updated_by_ext_id?: string | null;
|
|
1914
|
-
created_at: string;
|
|
1915
|
-
updated_at: string;
|
|
1916
|
-
is_shared: boolean;
|
|
1917
|
-
message_count: number;
|
|
1918
|
-
last_message_actor?: _arbidocs_client.components["schemas"]["ConversationTurnActor"] | null;
|
|
1919
|
-
last_message_ext_id?: string | null;
|
|
1920
|
-
last_message_role?: string | null;
|
|
1921
|
-
last_message_updated_at?: string | null;
|
|
1922
|
-
last_message_status?: string | null;
|
|
1923
|
-
assistant_mode: _arbidocs_client.components["schemas"]["AssistantMode"];
|
|
1924
|
-
status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
|
|
1925
|
-
description?: string | null;
|
|
1926
|
-
due_at?: string | null;
|
|
1927
|
-
signoff_ext_id?: string | null;
|
|
1928
|
-
can_signoff: boolean;
|
|
1929
|
-
completed_at?: string | null;
|
|
1930
|
-
completed_by_ext_id?: string | null;
|
|
1931
|
-
parent_conversation_ext_id?: string | null;
|
|
1932
|
-
workflow_ext_id?: string | null;
|
|
1933
|
-
agent_ext_id?: string | null;
|
|
1934
|
-
skill_ref?: string | null;
|
|
1935
|
-
has_agent_action: boolean;
|
|
1936
|
-
auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
|
|
1937
|
-
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
1938
|
-
goal_state?: {
|
|
1939
|
-
[key: string]: unknown;
|
|
1940
|
-
} | null;
|
|
1941
|
-
last_error?: string | null;
|
|
1942
|
-
pending_auth_request_id?: string | null;
|
|
1943
|
-
in_progress: boolean;
|
|
1944
|
-
active_response_id?: string | null;
|
|
1945
|
-
run_started_at?: string | null;
|
|
1946
|
-
owner_ext_id?: string | null;
|
|
1947
|
-
is_owner: boolean;
|
|
1948
|
-
}, Error, {
|
|
1949
|
-
conversationId: string;
|
|
1950
|
-
request: RequestApprovalRequest;
|
|
1951
|
-
}, unknown>;
|
|
1952
|
-
/** Draft a reviewable plan (goal and acceptance checklist) from an objective. */
|
|
1847
|
+
/** Draft an editable plan (goal and acceptance checklist) from an objective. */
|
|
1953
1848
|
declare function usePlanWork(): _tanstack_react_query.UseMutationResult<{
|
|
1954
1849
|
goal: string;
|
|
1955
1850
|
criteria: _arbidocs_client.components["schemas"]["TaskPlanCriterion"][];
|
|
@@ -1983,7 +1878,6 @@ declare function useConversationActivity(conversationId: string | undefined, opt
|
|
|
1983
1878
|
kind: _arbidocs_client.components["schemas"]["ActivityKind"];
|
|
1984
1879
|
actor_ext_id?: string | null;
|
|
1985
1880
|
to_ext_id?: string | null;
|
|
1986
|
-
note?: string | null;
|
|
1987
1881
|
detail?: {
|
|
1988
1882
|
[key: string]: unknown;
|
|
1989
1883
|
} | null;
|
|
@@ -2019,7 +1913,6 @@ declare function useWorkflows(options?: {
|
|
|
2019
1913
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
2020
1914
|
agent_ext_id?: string | null;
|
|
2021
1915
|
auth_mode: _arbidocs_client.components["schemas"]["src__models__workflow__AuthMode"];
|
|
2022
|
-
signoff_ext_id?: string | null;
|
|
2023
1916
|
fact_ext_id?: string | null;
|
|
2024
1917
|
last_fired_at?: string | null;
|
|
2025
1918
|
last_error?: string | null;
|
|
@@ -2056,7 +1949,6 @@ declare function useCreateWorkflow(): _tanstack_react_query.UseMutationResult<{
|
|
|
2056
1949
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
2057
1950
|
agent_ext_id?: string | null;
|
|
2058
1951
|
auth_mode: _arbidocs_client.components["schemas"]["src__models__workflow__AuthMode"];
|
|
2059
|
-
signoff_ext_id?: string | null;
|
|
2060
1952
|
fact_ext_id?: string | null;
|
|
2061
1953
|
last_fired_at?: string | null;
|
|
2062
1954
|
last_error?: string | null;
|
|
@@ -2089,7 +1981,6 @@ declare function useCreateWorkflow(): _tanstack_react_query.UseMutationResult<{
|
|
|
2089
1981
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
2090
1982
|
agent_ext_id?: string | null;
|
|
2091
1983
|
auth_mode: _arbidocs_client.components["schemas"]["src__models__workflow__AuthMode"];
|
|
2092
|
-
signoff_user_ext_id?: string | null;
|
|
2093
1984
|
}, unknown>;
|
|
2094
1985
|
/** Patch a workflow: pause or resume it (`active`), share it, or change its trigger or action. */
|
|
2095
1986
|
declare function useUpdateWorkflow(): _tanstack_react_query.UseMutationResult<{
|
|
@@ -2118,7 +2009,6 @@ declare function useUpdateWorkflow(): _tanstack_react_query.UseMutationResult<{
|
|
|
2118
2009
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
2119
2010
|
agent_ext_id?: string | null;
|
|
2120
2011
|
auth_mode: _arbidocs_client.components["schemas"]["src__models__workflow__AuthMode"];
|
|
2121
|
-
signoff_ext_id?: string | null;
|
|
2122
2012
|
fact_ext_id?: string | null;
|
|
2123
2013
|
last_fired_at?: string | null;
|
|
2124
2014
|
last_error?: string | null;
|
|
@@ -2272,7 +2162,7 @@ declare function useUploadSkillFiles(): _tanstack_react_query.UseMutationResult<
|
|
|
2272
2162
|
fileName: string;
|
|
2273
2163
|
content: Blob;
|
|
2274
2164
|
}[], unknown>;
|
|
2275
|
-
/** Start the person's assistant as
|
|
2165
|
+
/** Start the person's assistant as work, then resolve its persisted thread. */
|
|
2276
2166
|
declare function useStartWorkQuery(): _tanstack_react_query.UseMutationResult<{
|
|
2277
2167
|
conversationId: string;
|
|
2278
2168
|
responseId: string;
|
|
@@ -5629,4 +5519,4 @@ interface ArbiUiState {
|
|
|
5629
5519
|
}
|
|
5630
5520
|
declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
|
|
5631
5521
|
|
|
5632
|
-
export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_START_BY_EMAIL_LABELS, DEFAULT_USD_PER_CREDIT, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FormatCreditsOptions, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAX_AVATAR_FILE_BYTES, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeResult, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, XlsIcon, annotateThread, arbiQueryKeys, captureFrameAsBlob, creditsToUsd, cropImage, dayKey, describeActivity, formatCredits, formatElapsed, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, isUsageMetered, isWorkspaceNotificationType, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActivity, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversations, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteWorkflow, useDirectMessages, useDocuments, useEmailChange, useFacts, useGrantAgentAccess, useHealth, useLogoutAllSessions, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRemoveContacts,
|
|
5522
|
+
export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_START_BY_EMAIL_LABELS, DEFAULT_USD_PER_CREDIT, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FormatCreditsOptions, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAX_AVATAR_FILE_BYTES, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeResult, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, XlsIcon, annotateThread, arbiQueryKeys, captureFrameAsBlob, creditsToUsd, cropImage, dayKey, describeActivity, formatCredits, formatElapsed, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, isUsageMetered, isWorkspaceNotificationType, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActivity, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversations, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteWorkflow, useDirectMessages, useDocuments, useEmailChange, useFacts, useGrantAgentAccess, useHealth, useLogoutAllSessions, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRemoveContacts, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSemanticSearch, useSessions, useShellWorkspaces, useSkills, useStartAgentSession, useStartWorkQuery, useTags, useTerminateSession, useThumbnails, useUpdateConversation, useUpdateProfile, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceDocs, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
3
3
|
import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
|
|
4
|
-
import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent,
|
|
5
|
-
export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions,
|
|
4
|
+
import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, UpdateConversationRequest, UpdateWorkflowRequest, LoginProfile } from '@arbidocs/sdk/browser';
|
|
5
|
+
export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse } from '@arbidocs/sdk/browser';
|
|
6
6
|
import * as _arbidocs_client from '@arbidocs/client';
|
|
7
7
|
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components } from '@arbidocs/client';
|
|
8
8
|
export { WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePostedMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
|
|
@@ -541,7 +541,7 @@ declare const arbiQueryKeys: {
|
|
|
541
541
|
/** The signed-in user's settings record (notification preferences, flags). */
|
|
542
542
|
userSettings: () => readonly ["arbi", "userSettings"];
|
|
543
543
|
};
|
|
544
|
-
/** Workspace people for mentions
|
|
544
|
+
/** Workspace people for mentions and ownership. */
|
|
545
545
|
declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
|
|
546
546
|
enabled?: boolean;
|
|
547
547
|
beforeFetch?: () => Promise<unknown>;
|
|
@@ -693,8 +693,6 @@ declare function useConversations(workspaceId: string | undefined, options?: {
|
|
|
693
693
|
status?: (_arbidocs_client.components["schemas"]["WorkStatus"] | null) | undefined;
|
|
694
694
|
description?: string | null | undefined;
|
|
695
695
|
due_at?: string | null | undefined;
|
|
696
|
-
signoff_ext_id?: string | null | undefined;
|
|
697
|
-
can_signoff: boolean;
|
|
698
696
|
completed_at?: string | null | undefined;
|
|
699
697
|
completed_by_ext_id?: string | null | undefined;
|
|
700
698
|
parent_conversation_ext_id?: string | null | undefined;
|
|
@@ -1700,7 +1698,7 @@ declare function useUserUsageToday(options?: {
|
|
|
1700
1698
|
type AgentConfigSections = Record<string, Record<string, unknown>>;
|
|
1701
1699
|
/**
|
|
1702
1700
|
* Patch a conversation: rename it, share it or make it private (`shared`, owner only), or change
|
|
1703
|
-
* its work fields (description, due date,
|
|
1701
|
+
* its work fields (description, due date, parent, `status` `todo | done`, plan).
|
|
1704
1702
|
* The one write behind title edits, the share toggle and marking a task done.
|
|
1705
1703
|
*/
|
|
1706
1704
|
declare function useUpdateConversation(): _tanstack_react_query.UseMutationResult<{
|
|
@@ -1722,8 +1720,6 @@ declare function useUpdateConversation(): _tanstack_react_query.UseMutationResul
|
|
|
1722
1720
|
status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
|
|
1723
1721
|
description?: string | null;
|
|
1724
1722
|
due_at?: string | null;
|
|
1725
|
-
signoff_ext_id?: string | null;
|
|
1726
|
-
can_signoff: boolean;
|
|
1727
1723
|
completed_at?: string | null;
|
|
1728
1724
|
completed_by_ext_id?: string | null;
|
|
1729
1725
|
parent_conversation_ext_id?: string | null;
|
|
@@ -1770,8 +1766,6 @@ declare function useCreateWork(): _tanstack_react_query.UseMutationResult<{
|
|
|
1770
1766
|
status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
|
|
1771
1767
|
description?: string | null;
|
|
1772
1768
|
due_at?: string | null;
|
|
1773
|
-
signoff_ext_id?: string | null;
|
|
1774
|
-
can_signoff: boolean;
|
|
1775
1769
|
completed_at?: string | null;
|
|
1776
1770
|
completed_by_ext_id?: string | null;
|
|
1777
1771
|
parent_conversation_ext_id?: string | null;
|
|
@@ -1795,7 +1789,6 @@ declare function useCreateWork(): _tanstack_react_query.UseMutationResult<{
|
|
|
1795
1789
|
title?: string | null;
|
|
1796
1790
|
description?: string | null;
|
|
1797
1791
|
due_at?: string | null;
|
|
1798
|
-
signoff_user_ext_id?: string | null;
|
|
1799
1792
|
parent_conversation_ext_id?: string | null;
|
|
1800
1793
|
shared?: boolean | null;
|
|
1801
1794
|
prompt?: string | null;
|
|
@@ -1810,7 +1803,7 @@ declare function useCreateWork(): _tanstack_react_query.UseMutationResult<{
|
|
|
1810
1803
|
/**
|
|
1811
1804
|
* Run a work item now, or retry it. A run parked waiting for workspace access (a temporary
|
|
1812
1805
|
* authorization tier) is granted a temporary, session-scoped key and run again, so the person
|
|
1813
|
-
* clicking Run
|
|
1806
|
+
* clicking Run authorizes it. Resolves with the updated conversation.
|
|
1814
1807
|
*/
|
|
1815
1808
|
declare function useRunConversation(): _tanstack_react_query.UseMutationResult<{
|
|
1816
1809
|
label_ext_ids?: string[];
|
|
@@ -1831,8 +1824,6 @@ declare function useRunConversation(): _tanstack_react_query.UseMutationResult<{
|
|
|
1831
1824
|
status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
|
|
1832
1825
|
description?: string | null;
|
|
1833
1826
|
due_at?: string | null;
|
|
1834
|
-
signoff_ext_id?: string | null;
|
|
1835
|
-
can_signoff: boolean;
|
|
1836
1827
|
completed_at?: string | null;
|
|
1837
1828
|
completed_by_ext_id?: string | null;
|
|
1838
1829
|
parent_conversation_ext_id?: string | null;
|
|
@@ -1853,103 +1844,7 @@ declare function useRunConversation(): _tanstack_react_query.UseMutationResult<{
|
|
|
1853
1844
|
owner_ext_id?: string | null;
|
|
1854
1845
|
is_owner: boolean;
|
|
1855
1846
|
}, Error, string, unknown>;
|
|
1856
|
-
/**
|
|
1857
|
-
* The sign-off person's verdict on work that is ready for review: approve it (done) or send it
|
|
1858
|
-
* back with feedback so the agent revises it in the same thread. Resolves with the conversation.
|
|
1859
|
-
*/
|
|
1860
|
-
declare function useReviewConversation(): _tanstack_react_query.UseMutationResult<{
|
|
1861
|
-
label_ext_ids?: string[];
|
|
1862
|
-
external_id: string;
|
|
1863
|
-
title: string | null;
|
|
1864
|
-
created_by_ext_id: string;
|
|
1865
|
-
updated_by_ext_id?: string | null;
|
|
1866
|
-
created_at: string;
|
|
1867
|
-
updated_at: string;
|
|
1868
|
-
is_shared: boolean;
|
|
1869
|
-
message_count: number;
|
|
1870
|
-
last_message_actor?: _arbidocs_client.components["schemas"]["ConversationTurnActor"] | null;
|
|
1871
|
-
last_message_ext_id?: string | null;
|
|
1872
|
-
last_message_role?: string | null;
|
|
1873
|
-
last_message_updated_at?: string | null;
|
|
1874
|
-
last_message_status?: string | null;
|
|
1875
|
-
assistant_mode: _arbidocs_client.components["schemas"]["AssistantMode"];
|
|
1876
|
-
status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
|
|
1877
|
-
description?: string | null;
|
|
1878
|
-
due_at?: string | null;
|
|
1879
|
-
signoff_ext_id?: string | null;
|
|
1880
|
-
can_signoff: boolean;
|
|
1881
|
-
completed_at?: string | null;
|
|
1882
|
-
completed_by_ext_id?: string | null;
|
|
1883
|
-
parent_conversation_ext_id?: string | null;
|
|
1884
|
-
workflow_ext_id?: string | null;
|
|
1885
|
-
agent_ext_id?: string | null;
|
|
1886
|
-
skill_ref?: string | null;
|
|
1887
|
-
has_agent_action: boolean;
|
|
1888
|
-
auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
|
|
1889
|
-
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
1890
|
-
goal_state?: {
|
|
1891
|
-
[key: string]: unknown;
|
|
1892
|
-
} | null;
|
|
1893
|
-
last_error?: string | null;
|
|
1894
|
-
pending_auth_request_id?: string | null;
|
|
1895
|
-
in_progress: boolean;
|
|
1896
|
-
active_response_id?: string | null;
|
|
1897
|
-
run_started_at?: string | null;
|
|
1898
|
-
owner_ext_id?: string | null;
|
|
1899
|
-
is_owner: boolean;
|
|
1900
|
-
}, Error, {
|
|
1901
|
-
conversationId: string;
|
|
1902
|
-
review: ReviewWorkRequest;
|
|
1903
|
-
}, unknown>;
|
|
1904
|
-
/**
|
|
1905
|
-
* Ask another person to approve a work item (a real request: they are notified and become its
|
|
1906
|
-
* sign-off person). Resolves with the updated conversation.
|
|
1907
|
-
*/
|
|
1908
|
-
declare function useRequestConversationApproval(): _tanstack_react_query.UseMutationResult<{
|
|
1909
|
-
label_ext_ids?: string[];
|
|
1910
|
-
external_id: string;
|
|
1911
|
-
title: string | null;
|
|
1912
|
-
created_by_ext_id: string;
|
|
1913
|
-
updated_by_ext_id?: string | null;
|
|
1914
|
-
created_at: string;
|
|
1915
|
-
updated_at: string;
|
|
1916
|
-
is_shared: boolean;
|
|
1917
|
-
message_count: number;
|
|
1918
|
-
last_message_actor?: _arbidocs_client.components["schemas"]["ConversationTurnActor"] | null;
|
|
1919
|
-
last_message_ext_id?: string | null;
|
|
1920
|
-
last_message_role?: string | null;
|
|
1921
|
-
last_message_updated_at?: string | null;
|
|
1922
|
-
last_message_status?: string | null;
|
|
1923
|
-
assistant_mode: _arbidocs_client.components["schemas"]["AssistantMode"];
|
|
1924
|
-
status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
|
|
1925
|
-
description?: string | null;
|
|
1926
|
-
due_at?: string | null;
|
|
1927
|
-
signoff_ext_id?: string | null;
|
|
1928
|
-
can_signoff: boolean;
|
|
1929
|
-
completed_at?: string | null;
|
|
1930
|
-
completed_by_ext_id?: string | null;
|
|
1931
|
-
parent_conversation_ext_id?: string | null;
|
|
1932
|
-
workflow_ext_id?: string | null;
|
|
1933
|
-
agent_ext_id?: string | null;
|
|
1934
|
-
skill_ref?: string | null;
|
|
1935
|
-
has_agent_action: boolean;
|
|
1936
|
-
auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
|
|
1937
|
-
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
1938
|
-
goal_state?: {
|
|
1939
|
-
[key: string]: unknown;
|
|
1940
|
-
} | null;
|
|
1941
|
-
last_error?: string | null;
|
|
1942
|
-
pending_auth_request_id?: string | null;
|
|
1943
|
-
in_progress: boolean;
|
|
1944
|
-
active_response_id?: string | null;
|
|
1945
|
-
run_started_at?: string | null;
|
|
1946
|
-
owner_ext_id?: string | null;
|
|
1947
|
-
is_owner: boolean;
|
|
1948
|
-
}, Error, {
|
|
1949
|
-
conversationId: string;
|
|
1950
|
-
request: RequestApprovalRequest;
|
|
1951
|
-
}, unknown>;
|
|
1952
|
-
/** Draft a reviewable plan (goal and acceptance checklist) from an objective. */
|
|
1847
|
+
/** Draft an editable plan (goal and acceptance checklist) from an objective. */
|
|
1953
1848
|
declare function usePlanWork(): _tanstack_react_query.UseMutationResult<{
|
|
1954
1849
|
goal: string;
|
|
1955
1850
|
criteria: _arbidocs_client.components["schemas"]["TaskPlanCriterion"][];
|
|
@@ -1983,7 +1878,6 @@ declare function useConversationActivity(conversationId: string | undefined, opt
|
|
|
1983
1878
|
kind: _arbidocs_client.components["schemas"]["ActivityKind"];
|
|
1984
1879
|
actor_ext_id?: string | null;
|
|
1985
1880
|
to_ext_id?: string | null;
|
|
1986
|
-
note?: string | null;
|
|
1987
1881
|
detail?: {
|
|
1988
1882
|
[key: string]: unknown;
|
|
1989
1883
|
} | null;
|
|
@@ -2019,7 +1913,6 @@ declare function useWorkflows(options?: {
|
|
|
2019
1913
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
2020
1914
|
agent_ext_id?: string | null;
|
|
2021
1915
|
auth_mode: _arbidocs_client.components["schemas"]["src__models__workflow__AuthMode"];
|
|
2022
|
-
signoff_ext_id?: string | null;
|
|
2023
1916
|
fact_ext_id?: string | null;
|
|
2024
1917
|
last_fired_at?: string | null;
|
|
2025
1918
|
last_error?: string | null;
|
|
@@ -2056,7 +1949,6 @@ declare function useCreateWorkflow(): _tanstack_react_query.UseMutationResult<{
|
|
|
2056
1949
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
2057
1950
|
agent_ext_id?: string | null;
|
|
2058
1951
|
auth_mode: _arbidocs_client.components["schemas"]["src__models__workflow__AuthMode"];
|
|
2059
|
-
signoff_ext_id?: string | null;
|
|
2060
1952
|
fact_ext_id?: string | null;
|
|
2061
1953
|
last_fired_at?: string | null;
|
|
2062
1954
|
last_error?: string | null;
|
|
@@ -2089,7 +1981,6 @@ declare function useCreateWorkflow(): _tanstack_react_query.UseMutationResult<{
|
|
|
2089
1981
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
2090
1982
|
agent_ext_id?: string | null;
|
|
2091
1983
|
auth_mode: _arbidocs_client.components["schemas"]["src__models__workflow__AuthMode"];
|
|
2092
|
-
signoff_user_ext_id?: string | null;
|
|
2093
1984
|
}, unknown>;
|
|
2094
1985
|
/** Patch a workflow: pause or resume it (`active`), share it, or change its trigger or action. */
|
|
2095
1986
|
declare function useUpdateWorkflow(): _tanstack_react_query.UseMutationResult<{
|
|
@@ -2118,7 +2009,6 @@ declare function useUpdateWorkflow(): _tanstack_react_query.UseMutationResult<{
|
|
|
2118
2009
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
2119
2010
|
agent_ext_id?: string | null;
|
|
2120
2011
|
auth_mode: _arbidocs_client.components["schemas"]["src__models__workflow__AuthMode"];
|
|
2121
|
-
signoff_ext_id?: string | null;
|
|
2122
2012
|
fact_ext_id?: string | null;
|
|
2123
2013
|
last_fired_at?: string | null;
|
|
2124
2014
|
last_error?: string | null;
|
|
@@ -2272,7 +2162,7 @@ declare function useUploadSkillFiles(): _tanstack_react_query.UseMutationResult<
|
|
|
2272
2162
|
fileName: string;
|
|
2273
2163
|
content: Blob;
|
|
2274
2164
|
}[], unknown>;
|
|
2275
|
-
/** Start the person's assistant as
|
|
2165
|
+
/** Start the person's assistant as work, then resolve its persisted thread. */
|
|
2276
2166
|
declare function useStartWorkQuery(): _tanstack_react_query.UseMutationResult<{
|
|
2277
2167
|
conversationId: string;
|
|
2278
2168
|
responseId: string;
|
|
@@ -5629,4 +5519,4 @@ interface ArbiUiState {
|
|
|
5629
5519
|
}
|
|
5630
5520
|
declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
|
|
5631
5521
|
|
|
5632
|
-
export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_START_BY_EMAIL_LABELS, DEFAULT_USD_PER_CREDIT, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FormatCreditsOptions, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAX_AVATAR_FILE_BYTES, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeResult, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, XlsIcon, annotateThread, arbiQueryKeys, captureFrameAsBlob, creditsToUsd, cropImage, dayKey, describeActivity, formatCredits, formatElapsed, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, isUsageMetered, isWorkspaceNotificationType, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActivity, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversations, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteWorkflow, useDirectMessages, useDocuments, useEmailChange, useFacts, useGrantAgentAccess, useHealth, useLogoutAllSessions, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRemoveContacts,
|
|
5522
|
+
export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_START_BY_EMAIL_LABELS, DEFAULT_USD_PER_CREDIT, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FormatCreditsOptions, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAX_AVATAR_FILE_BYTES, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeResult, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, XlsIcon, annotateThread, arbiQueryKeys, captureFrameAsBlob, creditsToUsd, cropImage, dayKey, describeActivity, formatCredits, formatElapsed, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, isUsageMetered, isWorkspaceNotificationType, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActivity, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversations, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteWorkflow, useDirectMessages, useDocuments, useEmailChange, useFacts, useGrantAgentAccess, useHealth, useLogoutAllSessions, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRemoveContacts, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSemanticSearch, useSessions, useShellWorkspaces, useSkills, useStartAgentSession, useStartWorkQuery, useTags, useTerminateSession, useThumbnails, useUpdateConversation, useUpdateProfile, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceDocs, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials };
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { arbiQueryKeys, useDocuments, useConversations, useAssistantQuery, useConversationThreads, useWorkspaces, useParsedDocument, useTags, useActivity, useThumbnails } from './chunk-
|
|
2
|
-
export { DEFAULT_USD_PER_CREDIT, arbiQueryKeys, cleanDraftMarkdown, cleanDraftWithReport, creditsToUsd, formatCredits, isUsageMetered, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks, useActivity, useAgents, useAssistantQuery, useConfigs, useConversationThreads, useConversations, useDeleteAgents, useDocuments, useFacts, useHealth, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSessions, useTags, useThumbnails, useUserUsageToday, useWorkspaceUsers, useWorkspaces } from './chunk-
|
|
1
|
+
import { arbiQueryKeys, useDocuments, useConversations, useAssistantQuery, useConversationThreads, useWorkspaces, useParsedDocument, useTags, useActivity, useThumbnails } from './chunk-XKGTZ3H6.js';
|
|
2
|
+
export { DEFAULT_USD_PER_CREDIT, arbiQueryKeys, cleanDraftMarkdown, cleanDraftWithReport, creditsToUsd, formatCredits, isUsageMetered, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks, useActivity, useAgents, useAssistantQuery, useConfigs, useConversationThreads, useConversations, useDeleteAgents, useDocuments, useFacts, useHealth, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSessions, useTags, useThumbnails, useUserUsageToday, useWorkspaceUsers, useWorkspaces } from './chunk-XKGTZ3H6.js';
|
|
3
3
|
import { formatRelativeTime } from './chunk-UDOPD3GK.js';
|
|
4
4
|
export { DEFAULT_NOTIFY_TONE, NotificationBell, Toaster, formatRelativeTime, notify, seedNotifications, selectUnread, toast, useNotify } from './chunk-UDOPD3GK.js';
|
|
5
|
-
import { returnFocusToMark, MarkMenu, AiMarkdown, Card,
|
|
6
|
-
export { AgentBadge, AiMarkdown, ArbiBotHeadIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge,
|
|
5
|
+
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-CVN7MAGQ.js';
|
|
6
|
+
export { AgentBadge, AiMarkdown, ArbiBotHeadIcon, 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, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, IconToggle, ImgIcon, InlineMicButton, Input, Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, 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, VISIBILITY_ICONS, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, badgeVariants, cardVariants, configureEntityRegistry, configureRagLabels, configureStatusRegistry, formatElapsed, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, toggleVariants, useAudioRecorder } from './chunk-CVN7MAGQ.js';
|
|
7
|
+
import { Button, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from './chunk-QS3Q5542.js';
|
|
8
|
+
export { Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, buttonVariants } from './chunk-QS3Q5542.js';
|
|
7
9
|
import { normalizeCitationMarkup, MarkdownRenderer } from './chunk-JPGV7NMY.js';
|
|
8
10
|
export { MarkdownRenderer, MarkdownStreamingContext, closeOpenEmphasis, markdownBaseComponents, normalizeCitationMarkup, splitMarkdownBlocks, trimOpenCitation } from './chunk-JPGV7NMY.js';
|
|
9
11
|
import { ScrollArea, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from './chunk-N5SVBDLC.js';
|
|
@@ -57,28 +59,6 @@ function useRunConversation() {
|
|
|
57
59
|
onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.allConversations() })
|
|
58
60
|
});
|
|
59
61
|
}
|
|
60
|
-
function useReviewConversation() {
|
|
61
|
-
const arbi = useArbi();
|
|
62
|
-
const qc = useQueryClient();
|
|
63
|
-
return useMutation({
|
|
64
|
-
mutationFn: ({
|
|
65
|
-
conversationId,
|
|
66
|
-
review
|
|
67
|
-
}) => arbi.conversations.review(conversationId, review),
|
|
68
|
-
onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.allConversations() })
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
function useRequestConversationApproval() {
|
|
72
|
-
const arbi = useArbi();
|
|
73
|
-
const qc = useQueryClient();
|
|
74
|
-
return useMutation({
|
|
75
|
-
mutationFn: ({
|
|
76
|
-
conversationId,
|
|
77
|
-
request
|
|
78
|
-
}) => arbi.conversations.requestApproval(conversationId, request),
|
|
79
|
-
onSuccess: () => qc.invalidateQueries({ queryKey: arbiQueryKeys.allConversations() })
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
62
|
function usePlanWork() {
|
|
83
63
|
const arbi = useArbi();
|
|
84
64
|
return useMutation({
|
|
@@ -3893,8 +3873,7 @@ function ActivityFeed({
|
|
|
3893
3873
|
var workTypes = [
|
|
3894
3874
|
"mention",
|
|
3895
3875
|
"workspace_access_request",
|
|
3896
|
-
"
|
|
3897
|
-
"conversation_approval_request",
|
|
3876
|
+
"conversation_ready",
|
|
3898
3877
|
"conversation_done",
|
|
3899
3878
|
"workflow_failed"
|
|
3900
3879
|
];
|
|
@@ -6122,6 +6101,6 @@ function hasVideoTrack(blob) {
|
|
|
6122
6101
|
});
|
|
6123
6102
|
}
|
|
6124
6103
|
|
|
6125
|
-
export { ActivityFeed, AiActionCard, AiAnswer, AppleIcon, ArbiBotIcon, ArbiIcon, 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, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, ImageCropModal, ImageCropper, LinkedInIcon, MAX_AVATAR_FILE_BYTES, MessageArtifactCard, MessageBubble, MessageThread, OpenAIIcon, PhotoCapture, ProviderIcon, RUN_WINDOW_MS, SemanticSearch, StartByEmail, TypingIndicator, VideoCapture, VoiceNoteRecorder, annotateThread, captureFrameAsBlob, cropImage, dayKey, describeActivity, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, isWorkspaceNotificationType, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAiTask, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAvatarCrop, useCameraStream, useCloseAgentSession, useCommandPalette, useConfirmEmailChange, useContacts, useConversationActivity, useConversationPendingAuth, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteWorkflow, useDirectMessages, useEmailChange, useGrantAgentAccess, useLogoutAllSessions, useNameEditor, useNotificationPreferences, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useRemoveContacts,
|
|
6104
|
+
export { ActivityFeed, AiActionCard, AiAnswer, AppleIcon, ArbiBotIcon, ArbiIcon, 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, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, ImageCropModal, ImageCropper, LinkedInIcon, MAX_AVATAR_FILE_BYTES, MessageArtifactCard, MessageBubble, MessageThread, OpenAIIcon, PhotoCapture, ProviderIcon, RUN_WINDOW_MS, SemanticSearch, StartByEmail, TypingIndicator, VideoCapture, VoiceNoteRecorder, annotateThread, captureFrameAsBlob, cropImage, dayKey, describeActivity, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, isWorkspaceNotificationType, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAiTask, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAvatarCrop, useCameraStream, useCloseAgentSession, useCommandPalette, useConfirmEmailChange, useContacts, useConversationActivity, useConversationPendingAuth, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteWorkflow, useDirectMessages, useEmailChange, useGrantAgentAccess, useLogoutAllSessions, useNameEditor, useNotificationPreferences, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useRemoveContacts, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSemanticSearch, useShellWorkspaces, useSkills, useStartAgentSession, useStartWorkQuery, useTerminateSession, useUpdateConversation, useUpdateProfile, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceDocs, userDisplayName, userInitials };
|
|
6126
6105
|
//# sourceMappingURL=index.js.map
|
|
6127
6106
|
//# sourceMappingURL=index.js.map
|