@arbidocs/react 0.4.16 → 0.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/artifacts/index.cjs +14 -14
- package/dist/artifacts/index.js +2 -2
- package/dist/{chunk-CVBY6RKG.cjs → chunk-C3Q4TYFW.cjs} +67 -5
- package/dist/chunk-C3Q4TYFW.cjs.map +1 -0
- package/dist/{chunk-3Q3MMZVU.js → chunk-JJSPTHI2.js} +8 -14
- package/dist/chunk-JJSPTHI2.js.map +1 -0
- package/dist/{chunk-5F57JUW2.js → chunk-NGBWNGXM.js} +69 -8
- package/dist/chunk-NGBWNGXM.js.map +1 -0
- package/dist/{chunk-EEOGV7GV.cjs → chunk-SJBGNP7E.cjs} +7 -14
- package/dist/chunk-SJBGNP7E.cjs.map +1 -0
- package/dist/{index-4WLy-KDK.d.cts → index-DaTuuykQ.d.cts} +36 -1
- package/dist/{index-4WLy-KDK.d.ts → index-DaTuuykQ.d.ts} +36 -1
- package/dist/index.cjs +411 -329
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +423 -163
- package/dist/index.d.ts +423 -163
- package/dist/index.js +103 -29
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +126 -122
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-3Q3MMZVU.js.map +0 -1
- package/dist/chunk-5F57JUW2.js.map +0 -1
- package/dist/chunk-CVBY6RKG.cjs.map +0 -1
- package/dist/chunk-EEOGV7GV.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSJBGNP7E_cjs = require('./chunk-SJBGNP7E.cjs');
|
|
4
4
|
var chunkPGLV23SB_cjs = require('./chunk-PGLV23SB.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkC3Q4TYFW_cjs = require('./chunk-C3Q4TYFW.cjs');
|
|
6
6
|
var chunkEOOHRPFM_cjs = require('./chunk-EOOHRPFM.cjs');
|
|
7
7
|
var chunkOBNTJEEO_cjs = require('./chunk-OBNTJEEO.cjs');
|
|
8
8
|
var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
|
|
@@ -122,13 +122,13 @@ function useArbiChat(options = {}) {
|
|
|
122
122
|
const recoveryIntervalMs = streamRecovery?.intervalMs ?? 3e3;
|
|
123
123
|
const recoveryTimeoutMs = streamRecovery?.timeoutMs ?? 12e4;
|
|
124
124
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
125
|
-
const { data: docs = [], isLoading: isLoadingDocuments, refetch } =
|
|
125
|
+
const { data: docs = [], isLoading: isLoadingDocuments, refetch } = chunkSJBGNP7E_cjs.useDocuments(workspaceId);
|
|
126
126
|
const {
|
|
127
127
|
data: stored = [],
|
|
128
128
|
isLoading: isLoadingThreads,
|
|
129
129
|
refetch: refetchConversations
|
|
130
|
-
} =
|
|
131
|
-
const query =
|
|
130
|
+
} = chunkSJBGNP7E_cjs.useConversations(workspaceId);
|
|
131
|
+
const query = chunkSJBGNP7E_cjs.useAssistantQuery();
|
|
132
132
|
const { mutateAsync } = query;
|
|
133
133
|
const [threads, setThreads] = React.useState(() => [emptyThread()]);
|
|
134
134
|
const [activeKey, setActiveKey] = React.useState(() => threads[0].key);
|
|
@@ -177,7 +177,7 @@ function useArbiChat(options = {}) {
|
|
|
177
177
|
];
|
|
178
178
|
}, [threads, stored]);
|
|
179
179
|
const needsLoad = !!active.conversationId && !active.isLoaded;
|
|
180
|
-
const loaded =
|
|
180
|
+
const loaded = chunkSJBGNP7E_cjs.useConversationThreads(workspaceId, active.conversationId ?? void 0, {
|
|
181
181
|
enabled: needsLoad
|
|
182
182
|
});
|
|
183
183
|
React.useEffect(() => {
|
|
@@ -784,14 +784,14 @@ function useArbiDocumentSync(workspaceId) {
|
|
|
784
784
|
if (!workspaceId) return;
|
|
785
785
|
if (client.isMessageType(msg, "batch_complete")) {
|
|
786
786
|
if (msg.workspace_ext_id !== workspaceId) return;
|
|
787
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
788
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
787
|
+
void queryClient.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
788
|
+
void queryClient.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.tags(workspaceId) });
|
|
789
789
|
return;
|
|
790
790
|
}
|
|
791
791
|
if (client.isMessageType(msg, "task_update")) {
|
|
792
792
|
if (msg.workspace_ext_id !== workspaceId) return;
|
|
793
793
|
if (TERMINAL_STATUSES.has(msg.status)) {
|
|
794
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
794
|
+
void queryClient.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
797
|
});
|
|
@@ -920,7 +920,7 @@ function useShellWorkspaces(options) {
|
|
|
920
920
|
}
|
|
921
921
|
function useArbiShellWorkspaces(options = {}) {
|
|
922
922
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
923
|
-
const query =
|
|
923
|
+
const query = chunkSJBGNP7E_cjs.useWorkspaces();
|
|
924
924
|
const { select, ...rest } = options;
|
|
925
925
|
const defaultSelect = React.useCallback(
|
|
926
926
|
(workspace) => arbi.selectWorkspace(workspace.id),
|
|
@@ -934,51 +934,123 @@ function useArbiShellWorkspaces(options = {}) {
|
|
|
934
934
|
select: select ?? defaultSelect
|
|
935
935
|
});
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function useUpdateConversation() {
|
|
938
938
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
939
939
|
const qc = reactQuery.useQueryClient();
|
|
940
940
|
return reactQuery.useMutation({
|
|
941
|
-
mutationFn: (
|
|
942
|
-
|
|
941
|
+
mutationFn: ({
|
|
942
|
+
conversationId,
|
|
943
|
+
patch
|
|
944
|
+
}) => arbi.conversations.update(conversationId, patch),
|
|
945
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.allConversations() })
|
|
943
946
|
});
|
|
944
947
|
}
|
|
945
|
-
function
|
|
948
|
+
function useCreateWork() {
|
|
946
949
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
947
950
|
const qc = reactQuery.useQueryClient();
|
|
948
951
|
return reactQuery.useMutation({
|
|
949
|
-
mutationFn: (
|
|
950
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
952
|
+
mutationFn: (body) => arbi.conversations.createWork(body),
|
|
953
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.allConversations() })
|
|
951
954
|
});
|
|
952
955
|
}
|
|
953
|
-
function
|
|
956
|
+
function useRunConversation() {
|
|
954
957
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
955
958
|
const qc = reactQuery.useQueryClient();
|
|
956
959
|
return reactQuery.useMutation({
|
|
957
|
-
mutationFn: (
|
|
958
|
-
onSuccess: (
|
|
959
|
-
qc.invalidateQueries({ queryKey: chunkEEOGV7GV_cjs.arbiQueryKeys.tasks() }),
|
|
960
|
-
qc.invalidateQueries({ queryKey: chunkEEOGV7GV_cjs.arbiQueryKeys.taskRuns(taskId) })
|
|
961
|
-
])
|
|
960
|
+
mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
|
|
961
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.allConversations() })
|
|
962
962
|
});
|
|
963
963
|
}
|
|
964
|
-
function
|
|
964
|
+
function useReviewConversation() {
|
|
965
965
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
966
966
|
const qc = reactQuery.useQueryClient();
|
|
967
967
|
return reactQuery.useMutation({
|
|
968
|
-
mutationFn: (
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
}
|
|
968
|
+
mutationFn: ({
|
|
969
|
+
conversationId,
|
|
970
|
+
review
|
|
971
|
+
}) => arbi.conversations.review(conversationId, review),
|
|
972
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.allConversations() })
|
|
973
|
+
});
|
|
974
|
+
}
|
|
975
|
+
function useRequestConversationApproval() {
|
|
976
|
+
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
977
|
+
const qc = reactQuery.useQueryClient();
|
|
978
|
+
return reactQuery.useMutation({
|
|
979
|
+
mutationFn: ({
|
|
980
|
+
conversationId,
|
|
981
|
+
request
|
|
982
|
+
}) => arbi.conversations.requestApproval(conversationId, request),
|
|
983
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.allConversations() })
|
|
984
|
+
});
|
|
985
|
+
}
|
|
986
|
+
function usePlanWork() {
|
|
987
|
+
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
988
|
+
return reactQuery.useMutation({
|
|
989
|
+
mutationFn: (body) => arbi.conversations.plan(body)
|
|
973
990
|
});
|
|
974
991
|
}
|
|
975
|
-
function
|
|
992
|
+
function useConversationPendingAuth(conversationId, options) {
|
|
976
993
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
977
994
|
return reactQuery.useQuery({
|
|
978
|
-
queryKey:
|
|
979
|
-
queryFn: () => arbi.
|
|
980
|
-
enabled: (options?.enabled ?? true) && !!
|
|
981
|
-
|
|
995
|
+
queryKey: [...chunkSJBGNP7E_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "pending-auth"],
|
|
996
|
+
queryFn: () => arbi.conversations.pendingAuth(conversationId),
|
|
997
|
+
enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
|
|
998
|
+
retry: false
|
|
999
|
+
});
|
|
1000
|
+
}
|
|
1001
|
+
function useConversationActivity(conversationId, options) {
|
|
1002
|
+
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1003
|
+
return reactQuery.useQuery({
|
|
1004
|
+
queryKey: [...chunkSJBGNP7E_cjs.arbiQueryKeys.allConversations(), conversationId ?? "", "activity"],
|
|
1005
|
+
queryFn: () => arbi.conversations.activity(conversationId),
|
|
1006
|
+
enabled: (options?.enabled ?? true) && !!conversationId && arbi.isLoggedIn,
|
|
1007
|
+
refetchInterval: options?.live ? 2500 : false
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
function useWorkflows(options) {
|
|
1011
|
+
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1012
|
+
return reactQuery.useQuery({
|
|
1013
|
+
queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.workflows(),
|
|
1014
|
+
queryFn: () => arbi.workflows.list(),
|
|
1015
|
+
enabled: options?.enabled ?? arbi.isLoggedIn
|
|
1016
|
+
});
|
|
1017
|
+
}
|
|
1018
|
+
function useCreateWorkflow() {
|
|
1019
|
+
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1020
|
+
const qc = reactQuery.useQueryClient();
|
|
1021
|
+
return reactQuery.useMutation({
|
|
1022
|
+
mutationFn: (body) => arbi.workflows.create(body),
|
|
1023
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.workflows() })
|
|
1024
|
+
});
|
|
1025
|
+
}
|
|
1026
|
+
function useUpdateWorkflow() {
|
|
1027
|
+
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1028
|
+
const qc = reactQuery.useQueryClient();
|
|
1029
|
+
return reactQuery.useMutation({
|
|
1030
|
+
mutationFn: ({
|
|
1031
|
+
workflowId,
|
|
1032
|
+
patch
|
|
1033
|
+
}) => arbi.workflows.update(workflowId, patch),
|
|
1034
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.workflows() })
|
|
1035
|
+
});
|
|
1036
|
+
}
|
|
1037
|
+
function useDeleteWorkflow() {
|
|
1038
|
+
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1039
|
+
const qc = reactQuery.useQueryClient();
|
|
1040
|
+
return reactQuery.useMutation({
|
|
1041
|
+
mutationFn: (workflowId) => arbi.workflows.delete(workflowId),
|
|
1042
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.workflows() })
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1045
|
+
function useRunWorkflow() {
|
|
1046
|
+
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1047
|
+
const qc = reactQuery.useQueryClient();
|
|
1048
|
+
return reactQuery.useMutation({
|
|
1049
|
+
mutationFn: (workflowId) => arbi.workflows.run(workflowId),
|
|
1050
|
+
onSuccess: () => Promise.all([
|
|
1051
|
+
qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.workflows() }),
|
|
1052
|
+
qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.allConversations() })
|
|
1053
|
+
])
|
|
982
1054
|
});
|
|
983
1055
|
}
|
|
984
1056
|
function useCreateAgent() {
|
|
@@ -986,13 +1058,13 @@ function useCreateAgent() {
|
|
|
986
1058
|
const qc = reactQuery.useQueryClient();
|
|
987
1059
|
return reactQuery.useMutation({
|
|
988
1060
|
mutationFn: (name) => arbi.agents.create(name),
|
|
989
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1061
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.agents() })
|
|
990
1062
|
});
|
|
991
1063
|
}
|
|
992
1064
|
function useAgentConfig(agentExtId, options) {
|
|
993
1065
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
994
1066
|
return reactQuery.useQuery({
|
|
995
|
-
queryKey:
|
|
1067
|
+
queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.agentConfig(agentExtId),
|
|
996
1068
|
queryFn: async () => agentExtId ? await arbi.agents.getConfig(agentExtId) : await arbi.agentConfig.get("default"),
|
|
997
1069
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
998
1070
|
});
|
|
@@ -1000,7 +1072,7 @@ function useAgentConfig(agentExtId, options) {
|
|
|
1000
1072
|
function useAgentModels(options) {
|
|
1001
1073
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1002
1074
|
return reactQuery.useQuery({
|
|
1003
|
-
queryKey:
|
|
1075
|
+
queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.models(),
|
|
1004
1076
|
queryFn: async () => (await arbi.agentConfig.getModels()).models.map((m) => m.model_name),
|
|
1005
1077
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
1006
1078
|
});
|
|
@@ -1023,17 +1095,17 @@ function useSaveAgentConfig() {
|
|
|
1023
1095
|
});
|
|
1024
1096
|
},
|
|
1025
1097
|
onSuccess: (_saved, { agentExtId }) => Promise.all([
|
|
1026
|
-
qc.invalidateQueries({ queryKey:
|
|
1027
|
-
qc.invalidateQueries({ queryKey:
|
|
1098
|
+
qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.configs() }),
|
|
1099
|
+
qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.agentConfig(agentExtId) }),
|
|
1028
1100
|
// The agent list shows the pinned persona/model, so it refreshes too.
|
|
1029
|
-
qc.invalidateQueries({ queryKey:
|
|
1101
|
+
qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.agents() })
|
|
1030
1102
|
])
|
|
1031
1103
|
});
|
|
1032
1104
|
}
|
|
1033
1105
|
function useAgentWorkspaces(agentExtId, options) {
|
|
1034
1106
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1035
1107
|
return reactQuery.useQuery({
|
|
1036
|
-
queryKey:
|
|
1108
|
+
queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
|
|
1037
1109
|
queryFn: () => arbi.agents.listWorkspaces(agentExtId),
|
|
1038
1110
|
enabled: (options?.enabled ?? true) && !!agentExtId && arbi.isLoggedIn
|
|
1039
1111
|
});
|
|
@@ -1054,7 +1126,7 @@ function useGrantAgentAccess() {
|
|
|
1054
1126
|
if (!agent?.email) throw new Error("The agent's address is unknown.");
|
|
1055
1127
|
return arbi.workspaces.grantAccess({ workspaceId, emails: [agent.email] });
|
|
1056
1128
|
},
|
|
1057
|
-
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey:
|
|
1129
|
+
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
|
|
1058
1130
|
});
|
|
1059
1131
|
}
|
|
1060
1132
|
function useRevokeAgentAccess() {
|
|
@@ -1073,13 +1145,13 @@ function useRevokeAgentAccess() {
|
|
|
1073
1145
|
if (previous && previous !== workspaceId) await arbi.selectWorkspace(previous);
|
|
1074
1146
|
}
|
|
1075
1147
|
},
|
|
1076
|
-
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey:
|
|
1148
|
+
onSuccess: (_res, { agentExtId }) => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.agentWorkspaces(agentExtId) })
|
|
1077
1149
|
});
|
|
1078
1150
|
}
|
|
1079
1151
|
function useSkills(options) {
|
|
1080
1152
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1081
1153
|
return reactQuery.useQuery({
|
|
1082
|
-
queryKey: [...
|
|
1154
|
+
queryKey: [...chunkSJBGNP7E_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
|
|
1083
1155
|
queryFn: () => arbi.assistant.listSkills({ includeHidden: options?.includeHidden }),
|
|
1084
1156
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn,
|
|
1085
1157
|
staleTime: 3e4
|
|
@@ -1088,7 +1160,7 @@ function useSkills(options) {
|
|
|
1088
1160
|
function useContacts(options) {
|
|
1089
1161
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1090
1162
|
return reactQuery.useQuery({
|
|
1091
|
-
queryKey:
|
|
1163
|
+
queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.contacts(),
|
|
1092
1164
|
queryFn: () => arbi.contacts.list(),
|
|
1093
1165
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
1094
1166
|
});
|
|
@@ -1108,7 +1180,7 @@ function useAddContacts() {
|
|
|
1108
1180
|
const qc = reactQuery.useQueryClient();
|
|
1109
1181
|
return reactQuery.useMutation({
|
|
1110
1182
|
mutationFn: (emails) => arbi.contacts.add(emails),
|
|
1111
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1183
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.contacts() })
|
|
1112
1184
|
});
|
|
1113
1185
|
}
|
|
1114
1186
|
function useRemoveContacts() {
|
|
@@ -1116,7 +1188,7 @@ function useRemoveContacts() {
|
|
|
1116
1188
|
const qc = reactQuery.useQueryClient();
|
|
1117
1189
|
return reactQuery.useMutation({
|
|
1118
1190
|
mutationFn: (contactIds) => arbi.contacts.remove(contactIds),
|
|
1119
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1191
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.contacts() })
|
|
1120
1192
|
});
|
|
1121
1193
|
}
|
|
1122
1194
|
function toProfileView(profile) {
|
|
@@ -1128,7 +1200,7 @@ function toProfileView(profile) {
|
|
|
1128
1200
|
function useProfile(options) {
|
|
1129
1201
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1130
1202
|
return reactQuery.useQuery({
|
|
1131
|
-
queryKey:
|
|
1203
|
+
queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.profile(),
|
|
1132
1204
|
queryFn: () => {
|
|
1133
1205
|
const profile = arbi.user.profile();
|
|
1134
1206
|
return profile ? toProfileView(profile) : null;
|
|
@@ -1151,8 +1223,8 @@ function useUpdateProfile() {
|
|
|
1151
1223
|
return profile ? toProfileView(profile) : null;
|
|
1152
1224
|
},
|
|
1153
1225
|
onSuccess: (profile) => {
|
|
1154
|
-
qc.setQueryData(
|
|
1155
|
-
return qc.invalidateQueries({ queryKey:
|
|
1226
|
+
qc.setQueryData(chunkSJBGNP7E_cjs.arbiQueryKeys.profile(), profile);
|
|
1227
|
+
return qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.workspaces() });
|
|
1156
1228
|
}
|
|
1157
1229
|
});
|
|
1158
1230
|
}
|
|
@@ -1237,7 +1309,7 @@ function useConfirmEmailChange() {
|
|
|
1237
1309
|
mutationFn: ({ newEmail, code }) => arbi.account.confirmEmailChange(newEmail, code),
|
|
1238
1310
|
onSuccess: () => {
|
|
1239
1311
|
const profile = arbi.user.profile();
|
|
1240
|
-
qc.setQueryData(
|
|
1312
|
+
qc.setQueryData(chunkSJBGNP7E_cjs.arbiQueryKeys.profile(), profile ? toProfileView(profile) : null);
|
|
1241
1313
|
}
|
|
1242
1314
|
});
|
|
1243
1315
|
}
|
|
@@ -1406,7 +1478,7 @@ function toNotificationPreferences(stored, keys) {
|
|
|
1406
1478
|
function useUserSettings(options) {
|
|
1407
1479
|
const arbi = chunkZMTLGO3K_cjs.useArbi();
|
|
1408
1480
|
return reactQuery.useQuery({
|
|
1409
|
-
queryKey:
|
|
1481
|
+
queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.userSettings(),
|
|
1410
1482
|
queryFn: () => arbi.settings.get(),
|
|
1411
1483
|
enabled: (options?.enabled ?? true) && arbi.isLoggedIn
|
|
1412
1484
|
});
|
|
@@ -1419,18 +1491,18 @@ function useNotificationPreferences(keys, options) {
|
|
|
1419
1491
|
const save = reactQuery.useMutation({
|
|
1420
1492
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
1421
1493
|
onMutate: async (patch) => {
|
|
1422
|
-
await qc.cancelQueries({ queryKey:
|
|
1423
|
-
const previous = qc.getQueryData(
|
|
1494
|
+
await qc.cancelQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.userSettings() });
|
|
1495
|
+
const previous = qc.getQueryData(chunkSJBGNP7E_cjs.arbiQueryKeys.userSettings());
|
|
1424
1496
|
qc.setQueryData(
|
|
1425
|
-
|
|
1497
|
+
chunkSJBGNP7E_cjs.arbiQueryKeys.userSettings(),
|
|
1426
1498
|
(old) => old ? { ...old, email_notifications: { ...old.email_notifications, ...patch } } : old
|
|
1427
1499
|
);
|
|
1428
1500
|
return { previous };
|
|
1429
1501
|
},
|
|
1430
1502
|
onError: (_err, _patch, context) => {
|
|
1431
|
-
qc.setQueryData(
|
|
1503
|
+
qc.setQueryData(chunkSJBGNP7E_cjs.arbiQueryKeys.userSettings(), context?.previous);
|
|
1432
1504
|
},
|
|
1433
|
-
onSettled: () => qc.invalidateQueries({ queryKey:
|
|
1505
|
+
onSettled: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.userSettings() })
|
|
1434
1506
|
});
|
|
1435
1507
|
const model = React.useMemo(() => toNotificationPreferences(stored, keys), [stored, keys]);
|
|
1436
1508
|
const setAll = React.useCallback(
|
|
@@ -1456,7 +1528,7 @@ function useTerminateSession() {
|
|
|
1456
1528
|
const qc = reactQuery.useQueryClient();
|
|
1457
1529
|
return reactQuery.useMutation({
|
|
1458
1530
|
mutationFn: (sessionId) => arbi.sessions.terminate(sessionId),
|
|
1459
|
-
onSuccess: () => qc.invalidateQueries({ queryKey:
|
|
1531
|
+
onSuccess: () => qc.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.sessions() })
|
|
1460
1532
|
});
|
|
1461
1533
|
}
|
|
1462
1534
|
function useLogoutAllSessions() {
|
|
@@ -1532,7 +1604,7 @@ function useDeleteAccountFlow({
|
|
|
1532
1604
|
};
|
|
1533
1605
|
}
|
|
1534
1606
|
function useWorkspaceDocs(workspaceId) {
|
|
1535
|
-
const { data: docs = [], isLoading, isError } =
|
|
1607
|
+
const { data: docs = [], isLoading, isError } = chunkSJBGNP7E_cjs.useDocuments(workspaceId);
|
|
1536
1608
|
const docIds = React.useMemo(
|
|
1537
1609
|
() => docs.map((d) => d.external_id).filter((id) => !!id),
|
|
1538
1610
|
[docs]
|
|
@@ -1540,7 +1612,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
1540
1612
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
1541
1613
|
}
|
|
1542
1614
|
function useAiTask() {
|
|
1543
|
-
const mutation =
|
|
1615
|
+
const mutation = chunkSJBGNP7E_cjs.useAssistantQuery();
|
|
1544
1616
|
const [status, setStatus] = React.useState("idle");
|
|
1545
1617
|
const [text, setText] = React.useState("");
|
|
1546
1618
|
const [stepCount, setStepCount] = React.useState(0);
|
|
@@ -1753,7 +1825,7 @@ function AiAnswer({
|
|
|
1753
1825
|
}
|
|
1754
1826
|
),
|
|
1755
1827
|
hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1756
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1828
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.AiMarkdown, { isStreaming: running, children: text }),
|
|
1757
1829
|
!running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
|
|
1758
1830
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
1759
1831
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
|
|
@@ -1798,7 +1870,7 @@ function AiActionCard({
|
|
|
1798
1870
|
const p = typeof prompt === "function" ? prompt() : prompt;
|
|
1799
1871
|
void task.run(p, docIds);
|
|
1800
1872
|
};
|
|
1801
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1873
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkC3Q4TYFW_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
|
|
1802
1874
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
1803
1875
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1804
1876
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg bg-ai-accent-soft text-ai-accent", children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "size-4" }) }),
|
|
@@ -1808,7 +1880,7 @@ function AiActionCard({
|
|
|
1808
1880
|
] })
|
|
1809
1881
|
] }),
|
|
1810
1882
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1811
|
-
|
|
1883
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
1812
1884
|
{
|
|
1813
1885
|
variant: task.isDone ? "outline" : "accent",
|
|
1814
1886
|
size: "sm",
|
|
@@ -1940,11 +2012,11 @@ function ArtifactCanvas({
|
|
|
1940
2012
|
children: active.title
|
|
1941
2013
|
}
|
|
1942
2014
|
),
|
|
1943
|
-
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2015
|
+
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkC3Q4TYFW_cjs.Badge, { variant: "accent", className: "gap-1", children: [
|
|
1944
2016
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
|
|
1945
2017
|
" Redline"
|
|
1946
2018
|
] }),
|
|
1947
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2019
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkC3Q4TYFW_cjs.Badge, { variant: "secondary", children: [
|
|
1948
2020
|
"v",
|
|
1949
2021
|
active.version
|
|
1950
2022
|
] }),
|
|
@@ -2000,7 +2072,7 @@ function ArtifactCanvas({
|
|
|
2000
2072
|
animate: { opacity: 1, y: 0 },
|
|
2001
2073
|
transition: { duration: 0.2 },
|
|
2002
2074
|
className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
|
|
2003
|
-
children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
2075
|
+
children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.AiMarkdown, { children: active.content })
|
|
2004
2076
|
},
|
|
2005
2077
|
active.doc_ext_id
|
|
2006
2078
|
) }) })
|
|
@@ -2017,7 +2089,7 @@ function MessageArtifactCard({
|
|
|
2017
2089
|
const Icon = isImage ? lucideReact.Image : lucideReact.FileText;
|
|
2018
2090
|
const statusText = isImage ? isComplete ? "Image ready" : "Generating\u2026" : isComplete ? "Draft ready" : "Drafting\u2026";
|
|
2019
2091
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2020
|
-
|
|
2092
|
+
chunkC3Q4TYFW_cjs.Card,
|
|
2021
2093
|
{
|
|
2022
2094
|
variant: "outline",
|
|
2023
2095
|
className: "mt-3 flex items-center gap-3 px-3 py-2.5",
|
|
@@ -2093,7 +2165,7 @@ function DocSearch({
|
|
|
2093
2165
|
status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
|
|
2094
2166
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: results.length === 0 ? `No passages matched \u201C${query}\u201D.` : `${results.length} passage${results.length === 1 ? "" : "s"} for \u201C${query}\u201D` }),
|
|
2095
2167
|
results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2096
|
-
|
|
2168
|
+
chunkC3Q4TYFW_cjs.Card,
|
|
2097
2169
|
{
|
|
2098
2170
|
variant: "elevated",
|
|
2099
2171
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -2106,7 +2178,7 @@ function DocSearch({
|
|
|
2106
2178
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
2107
2179
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
|
|
2108
2180
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle ?? "Document" }),
|
|
2109
|
-
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2181
|
+
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkC3Q4TYFW_cjs.Badge, { variant: "secondary", children: [
|
|
2110
2182
|
"p.",
|
|
2111
2183
|
r.page
|
|
2112
2184
|
] }),
|
|
@@ -2132,8 +2204,8 @@ function DocumentReview({
|
|
|
2132
2204
|
onClose,
|
|
2133
2205
|
className
|
|
2134
2206
|
}) {
|
|
2135
|
-
const parsedQuery =
|
|
2136
|
-
const tagsQuery =
|
|
2207
|
+
const parsedQuery = chunkSJBGNP7E_cjs.useParsedDocument(docId, stage);
|
|
2208
|
+
const tagsQuery = chunkSJBGNP7E_cjs.useTags(workspaceId);
|
|
2137
2209
|
const tagNameById = React__default.default.useMemo(() => {
|
|
2138
2210
|
const map = /* @__PURE__ */ new Map();
|
|
2139
2211
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -2200,7 +2272,7 @@ function DocumentReview({
|
|
|
2200
2272
|
findings.length ? ` \xB7 ${findings.length} findings` : ""
|
|
2201
2273
|
] })
|
|
2202
2274
|
] }),
|
|
2203
|
-
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2275
|
+
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
|
|
2204
2276
|
onClose ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2205
2277
|
"button",
|
|
2206
2278
|
{
|
|
@@ -2237,7 +2309,7 @@ function DocumentReview({
|
|
|
2237
2309
|
className: "w-full cursor-pointer rounded-md border p-2 text-left text-xs transition hover:border-ring hover:bg-muted/50 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
2238
2310
|
children: [
|
|
2239
2311
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2240
|
-
|
|
2312
|
+
chunkC3Q4TYFW_cjs.TagEntity,
|
|
2241
2313
|
{
|
|
2242
2314
|
size: "sm",
|
|
2243
2315
|
tag: {
|
|
@@ -2282,7 +2354,7 @@ function DocumentReview({
|
|
|
2282
2354
|
),
|
|
2283
2355
|
children: [
|
|
2284
2356
|
highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2285
|
-
|
|
2357
|
+
chunkC3Q4TYFW_cjs.TagEntity,
|
|
2286
2358
|
{
|
|
2287
2359
|
size: "sm",
|
|
2288
2360
|
tag: {
|
|
@@ -2331,7 +2403,7 @@ function ResultRow({
|
|
|
2331
2403
|
onSelect
|
|
2332
2404
|
}) {
|
|
2333
2405
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2334
|
-
|
|
2406
|
+
chunkC3Q4TYFW_cjs.PassageCard,
|
|
2335
2407
|
{
|
|
2336
2408
|
onClick: onSelect,
|
|
2337
2409
|
active: isActive,
|
|
@@ -2340,7 +2412,7 @@ function ResultRow({
|
|
|
2340
2412
|
header: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2341
2413
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 shrink-0 text-ai-accent" }),
|
|
2342
2414
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: result.docTitle ?? "Document" }),
|
|
2343
|
-
result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2415
|
+
result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkC3Q4TYFW_cjs.Badge, { variant: "secondary", children: [
|
|
2344
2416
|
"p.",
|
|
2345
2417
|
result.page
|
|
2346
2418
|
] })
|
|
@@ -2364,7 +2436,7 @@ function SemanticSearch({
|
|
|
2364
2436
|
const { results, status, error, search, isRunning, query } = useSemanticSearch(docIds);
|
|
2365
2437
|
const [value, setValue] = React.useState("");
|
|
2366
2438
|
const [selected, setSelected] = React.useState(null);
|
|
2367
|
-
const { data: docs = [] } =
|
|
2439
|
+
const { data: docs = [] } = chunkSJBGNP7E_cjs.useDocuments(workspaceId, { enabled: !!workspaceId });
|
|
2368
2440
|
const docMap = React.useMemo(() => {
|
|
2369
2441
|
const map = /* @__PURE__ */ new Map();
|
|
2370
2442
|
for (const d of docs) if (d.external_id) map.set(d.external_id, d);
|
|
@@ -2450,7 +2522,7 @@ function SemanticSearch({
|
|
|
2450
2522
|
"data-testid": "arbi-semantic-search-viewer",
|
|
2451
2523
|
children: selected && selected.docId ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col gap-2", children: [
|
|
2452
2524
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2453
|
-
|
|
2525
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
2454
2526
|
{
|
|
2455
2527
|
variant: "ghost",
|
|
2456
2528
|
size: "sm",
|
|
@@ -2509,7 +2581,7 @@ Question: ${question}`,
|
|
|
2509
2581
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
|
|
2510
2582
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
2511
2583
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2512
|
-
|
|
2584
|
+
chunkC3Q4TYFW_cjs.Input,
|
|
2513
2585
|
{
|
|
2514
2586
|
value: q,
|
|
2515
2587
|
onChange: (e) => setQ(e.target.value),
|
|
@@ -2520,7 +2592,7 @@ Question: ${question}`,
|
|
|
2520
2592
|
}
|
|
2521
2593
|
),
|
|
2522
2594
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2523
|
-
|
|
2595
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
2524
2596
|
{
|
|
2525
2597
|
variant: "accent",
|
|
2526
2598
|
size: "icon",
|
|
@@ -2532,7 +2604,7 @@ Question: ${question}`,
|
|
|
2532
2604
|
}
|
|
2533
2605
|
),
|
|
2534
2606
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2535
|
-
|
|
2607
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
2536
2608
|
{
|
|
2537
2609
|
variant: "outline",
|
|
2538
2610
|
size: "sm",
|
|
@@ -2896,7 +2968,7 @@ var CitationLink = ({
|
|
|
2896
2968
|
triggerRef,
|
|
2897
2969
|
children
|
|
2898
2970
|
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2899
|
-
|
|
2971
|
+
chunkC3Q4TYFW_cjs.MarkMenu,
|
|
2900
2972
|
{
|
|
2901
2973
|
triggerRef,
|
|
2902
2974
|
items,
|
|
@@ -2934,8 +3006,8 @@ var DocIcon = ({ size = 16, className = "" }) => {
|
|
|
2934
3006
|
"path",
|
|
2935
3007
|
{
|
|
2936
3008
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
2937
|
-
fill:
|
|
2938
|
-
stroke:
|
|
3009
|
+
fill: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.doc,
|
|
3010
|
+
stroke: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.doc,
|
|
2939
3011
|
strokeWidth: "1",
|
|
2940
3012
|
strokeLinecap: "round",
|
|
2941
3013
|
strokeLinejoin: "round"
|
|
@@ -2946,7 +3018,7 @@ var DocIcon = ({ size = 16, className = "" }) => {
|
|
|
2946
3018
|
{
|
|
2947
3019
|
d: "M14 2v6h6",
|
|
2948
3020
|
fill: "none",
|
|
2949
|
-
stroke:
|
|
3021
|
+
stroke: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.white,
|
|
2950
3022
|
strokeWidth: "1",
|
|
2951
3023
|
strokeLinecap: "round",
|
|
2952
3024
|
strokeLinejoin: "round"
|
|
@@ -2984,8 +3056,8 @@ var HtmlIcon = ({ size = 16, className = "" }) => {
|
|
|
2984
3056
|
"path",
|
|
2985
3057
|
{
|
|
2986
3058
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
2987
|
-
fill:
|
|
2988
|
-
stroke:
|
|
3059
|
+
fill: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.html,
|
|
3060
|
+
stroke: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.html,
|
|
2989
3061
|
strokeWidth: "1",
|
|
2990
3062
|
strokeLinecap: "round",
|
|
2991
3063
|
strokeLinejoin: "round"
|
|
@@ -2996,7 +3068,7 @@ var HtmlIcon = ({ size = 16, className = "" }) => {
|
|
|
2996
3068
|
{
|
|
2997
3069
|
d: "M14 2v6h6",
|
|
2998
3070
|
fill: "none",
|
|
2999
|
-
stroke:
|
|
3071
|
+
stroke: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.white,
|
|
3000
3072
|
strokeWidth: "1",
|
|
3001
3073
|
strokeLinecap: "round",
|
|
3002
3074
|
strokeLinejoin: "round"
|
|
@@ -3034,8 +3106,8 @@ var TxtIcon = ({ size = 16, className = "" }) => {
|
|
|
3034
3106
|
"path",
|
|
3035
3107
|
{
|
|
3036
3108
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3037
|
-
fill:
|
|
3038
|
-
stroke:
|
|
3109
|
+
fill: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.txt,
|
|
3110
|
+
stroke: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.txt,
|
|
3039
3111
|
strokeWidth: "1",
|
|
3040
3112
|
strokeLinecap: "round",
|
|
3041
3113
|
strokeLinejoin: "round"
|
|
@@ -3046,7 +3118,7 @@ var TxtIcon = ({ size = 16, className = "" }) => {
|
|
|
3046
3118
|
{
|
|
3047
3119
|
d: "M14 2v6h6",
|
|
3048
3120
|
fill: "none",
|
|
3049
|
-
stroke:
|
|
3121
|
+
stroke: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.white,
|
|
3050
3122
|
strokeWidth: "1",
|
|
3051
3123
|
strokeLinecap: "round",
|
|
3052
3124
|
strokeLinejoin: "round"
|
|
@@ -3084,8 +3156,8 @@ var XlsIcon = ({ size = 16, className = "" }) => {
|
|
|
3084
3156
|
"path",
|
|
3085
3157
|
{
|
|
3086
3158
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3087
|
-
fill:
|
|
3088
|
-
stroke:
|
|
3159
|
+
fill: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.xls,
|
|
3160
|
+
stroke: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.xls,
|
|
3089
3161
|
strokeWidth: "1",
|
|
3090
3162
|
strokeLinecap: "round",
|
|
3091
3163
|
strokeLinejoin: "round"
|
|
@@ -3096,7 +3168,7 @@ var XlsIcon = ({ size = 16, className = "" }) => {
|
|
|
3096
3168
|
{
|
|
3097
3169
|
d: "M14 2v6h6",
|
|
3098
3170
|
fill: "none",
|
|
3099
|
-
stroke:
|
|
3171
|
+
stroke: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.white,
|
|
3100
3172
|
strokeWidth: "1",
|
|
3101
3173
|
strokeLinecap: "round",
|
|
3102
3174
|
strokeLinejoin: "round"
|
|
@@ -3134,8 +3206,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
3134
3206
|
"path",
|
|
3135
3207
|
{
|
|
3136
3208
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3137
|
-
fill:
|
|
3138
|
-
stroke:
|
|
3209
|
+
fill: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.generic,
|
|
3210
|
+
stroke: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.generic,
|
|
3139
3211
|
strokeWidth: "1",
|
|
3140
3212
|
strokeLinecap: "round",
|
|
3141
3213
|
strokeLinejoin: "round"
|
|
@@ -3146,7 +3218,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
3146
3218
|
{
|
|
3147
3219
|
d: "M14 2v6h6",
|
|
3148
3220
|
fill: "none",
|
|
3149
|
-
stroke:
|
|
3221
|
+
stroke: chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS.white,
|
|
3150
3222
|
strokeWidth: "1",
|
|
3151
3223
|
strokeLinecap: "round",
|
|
3152
3224
|
strokeLinejoin: "round"
|
|
@@ -3502,7 +3574,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
|
|
|
3502
3574
|
);
|
|
3503
3575
|
};
|
|
3504
3576
|
function getNotificationTypeMeta(type) {
|
|
3505
|
-
const WorkspaceIcon =
|
|
3577
|
+
const WorkspaceIcon = chunkC3Q4TYFW_cjs.getEntityIcon("WORKSPACE");
|
|
3506
3578
|
switch (type) {
|
|
3507
3579
|
case "user_message":
|
|
3508
3580
|
return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Message" };
|
|
@@ -3516,6 +3588,8 @@ function getNotificationTypeMeta(type) {
|
|
|
3516
3588
|
case "workspaceuser_updated_collaborator":
|
|
3517
3589
|
case "workspaceuser_updated_guest":
|
|
3518
3590
|
return { Icon: WorkspaceIcon, iconClassName: "text-primary", label: "Role changed" };
|
|
3591
|
+
case "mention":
|
|
3592
|
+
return { Icon: lucideReact.AtSign, iconClassName: "text-primary", label: "Mention" };
|
|
3519
3593
|
case "contact_accepted":
|
|
3520
3594
|
return { Icon: lucideReact.UserCheck, iconClassName: "text-green-500", label: "Invitation" };
|
|
3521
3595
|
case "signup_reward":
|
|
@@ -3617,7 +3691,7 @@ function describeActivity(content) {
|
|
|
3617
3691
|
}
|
|
3618
3692
|
default:
|
|
3619
3693
|
return {
|
|
3620
|
-
Icon: parsed.workspace_ext_id ?
|
|
3694
|
+
Icon: parsed.workspace_ext_id ? chunkC3Q4TYFW_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
|
|
3621
3695
|
iconClassName: "text-muted-foreground",
|
|
3622
3696
|
title: humaniseEvent(parsed.event)
|
|
3623
3697
|
};
|
|
@@ -3647,7 +3721,7 @@ function ActivityFeed({
|
|
|
3647
3721
|
enabled,
|
|
3648
3722
|
"data-testid": testId = "activity-feed"
|
|
3649
3723
|
}) {
|
|
3650
|
-
const { data, isLoading, isError } =
|
|
3724
|
+
const { data, isLoading, isError } = chunkSJBGNP7E_cjs.useActivity({ limit, enabled });
|
|
3651
3725
|
if (isLoading) {
|
|
3652
3726
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS6A6FSG7_cjs.cn("space-y-2", className), "data-testid": testId, "aria-busy": "true", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 py-1.5", children: [
|
|
3653
3727
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -3771,7 +3845,7 @@ function useDirectMessages(options) {
|
|
|
3771
3845
|
enabled
|
|
3772
3846
|
});
|
|
3773
3847
|
const contactsQuery = reactQuery.useQuery({
|
|
3774
|
-
queryKey:
|
|
3848
|
+
queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.contacts(),
|
|
3775
3849
|
queryFn: () => arbi.contacts.list(),
|
|
3776
3850
|
enabled
|
|
3777
3851
|
});
|
|
@@ -3833,7 +3907,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
3833
3907
|
const presence = useArbiWsStore((s) => s.presence[user.external_id]);
|
|
3834
3908
|
const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
|
|
3835
3909
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3836
|
-
|
|
3910
|
+
chunkC3Q4TYFW_cjs.UserEntity,
|
|
3837
3911
|
{
|
|
3838
3912
|
variant: "icon",
|
|
3839
3913
|
size,
|
|
@@ -3843,7 +3917,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
3843
3917
|
initials: userInitials(user),
|
|
3844
3918
|
displayName: userDisplayName(user),
|
|
3845
3919
|
picture: user.picture,
|
|
3846
|
-
avatarStyle:
|
|
3920
|
+
avatarStyle: chunkC3Q4TYFW_cjs.getEntityColorStyles(user.external_id),
|
|
3847
3921
|
isAgent: isAgentUser(user),
|
|
3848
3922
|
displayStatus
|
|
3849
3923
|
}
|
|
@@ -3898,10 +3972,10 @@ function ConversationList({
|
|
|
3898
3972
|
children: userDisplayName(peer)
|
|
3899
3973
|
}
|
|
3900
3974
|
),
|
|
3901
|
-
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3975
|
+
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.AgentBadge, {}) : null)
|
|
3902
3976
|
] }),
|
|
3903
3977
|
c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3904
|
-
|
|
3978
|
+
chunkC3Q4TYFW_cjs.Badge,
|
|
3905
3979
|
{
|
|
3906
3980
|
variant: "outline",
|
|
3907
3981
|
className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
|
|
@@ -3912,7 +3986,7 @@ function ConversationList({
|
|
|
3912
3986
|
// shouted louder than the message it was counting.
|
|
3913
3987
|
// Enough to catch the eye scanning the list, no more.
|
|
3914
3988
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3915
|
-
|
|
3989
|
+
chunkC3Q4TYFW_cjs.Badge,
|
|
3916
3990
|
{
|
|
3917
3991
|
variant: "accent",
|
|
3918
3992
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -4131,7 +4205,7 @@ function DmComposer({
|
|
|
4131
4205
|
children,
|
|
4132
4206
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end gap-2", children: [
|
|
4133
4207
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4134
|
-
|
|
4208
|
+
chunkC3Q4TYFW_cjs.Textarea,
|
|
4135
4209
|
{
|
|
4136
4210
|
ref: inputRef,
|
|
4137
4211
|
value: draft,
|
|
@@ -4145,7 +4219,7 @@ function DmComposer({
|
|
|
4145
4219
|
}
|
|
4146
4220
|
),
|
|
4147
4221
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4148
|
-
|
|
4222
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
4149
4223
|
{
|
|
4150
4224
|
type: "button",
|
|
4151
4225
|
onClick: () => void submit(),
|
|
@@ -4213,9 +4287,9 @@ function StartByEmail({
|
|
|
4213
4287
|
void submit();
|
|
4214
4288
|
},
|
|
4215
4289
|
children: [
|
|
4216
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4290
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
|
|
4217
4291
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4218
|
-
|
|
4292
|
+
chunkC3Q4TYFW_cjs.Input,
|
|
4219
4293
|
{
|
|
4220
4294
|
id: `${uid}-email`,
|
|
4221
4295
|
type: "email",
|
|
@@ -4229,9 +4303,9 @@ function StartByEmail({
|
|
|
4229
4303
|
}
|
|
4230
4304
|
),
|
|
4231
4305
|
email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
|
|
4232
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4306
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
|
|
4233
4307
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4234
|
-
|
|
4308
|
+
chunkC3Q4TYFW_cjs.Textarea,
|
|
4235
4309
|
{
|
|
4236
4310
|
id: `${uid}-text`,
|
|
4237
4311
|
value: text,
|
|
@@ -4244,7 +4318,7 @@ function StartByEmail({
|
|
|
4244
4318
|
),
|
|
4245
4319
|
error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-xs text-destructive", "data-testid": "arbi-dm-start-error", children: error }),
|
|
4246
4320
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4247
|
-
|
|
4321
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
4248
4322
|
{
|
|
4249
4323
|
type: "submit",
|
|
4250
4324
|
size: "sm",
|
|
@@ -4434,7 +4508,7 @@ function ImageCropper({
|
|
|
4434
4508
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
4435
4509
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
|
|
4436
4510
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4437
|
-
|
|
4511
|
+
chunkC3Q4TYFW_cjs.Slider,
|
|
4438
4512
|
{
|
|
4439
4513
|
value: [zoom],
|
|
4440
4514
|
onValueChange: ([v]) => setZoom(v ?? 1),
|
|
@@ -4511,8 +4585,8 @@ function ImageCropModal({
|
|
|
4511
4585
|
setBusy(false);
|
|
4512
4586
|
}
|
|
4513
4587
|
};
|
|
4514
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4515
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4588
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.Dialog, { open, onOpenChange: (next) => !next ? onCancel() : void 0, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkC3Q4TYFW_cjs.DialogContent, { className: "sm:max-w-md", "data-testid": "image-crop-modal", children: [
|
|
4589
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.DialogTitle, { children: title }) }),
|
|
4516
4590
|
image ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4517
4591
|
ImageCropper,
|
|
4518
4592
|
{
|
|
@@ -4523,9 +4597,9 @@ function ImageCropModal({
|
|
|
4523
4597
|
onCropComplete: setArea
|
|
4524
4598
|
}
|
|
4525
4599
|
) : null,
|
|
4526
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4527
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4528
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4600
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkC3Q4TYFW_cjs.DialogFooter, { className: "gap-2 sm:gap-2", children: [
|
|
4601
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.Button, { variant: "ghost", onClick: onCancel, disabled: busy, children: "Cancel" }),
|
|
4602
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkC3Q4TYFW_cjs.Button, { onClick: handleSave, disabled: !area || busy, "data-testid": "image-crop-save", children: [
|
|
4529
4603
|
busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "mr-1 size-4 animate-spin" }) : null,
|
|
4530
4604
|
saveLabel
|
|
4531
4605
|
] })
|
|
@@ -4591,8 +4665,8 @@ function CommandPalette({
|
|
|
4591
4665
|
if (!q || task.isRunning) return;
|
|
4592
4666
|
void task.run(buildAskPrompt(q), askDocIds, { model });
|
|
4593
4667
|
};
|
|
4594
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4595
|
-
|
|
4668
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4669
|
+
chunkC3Q4TYFW_cjs.DialogContent,
|
|
4596
4670
|
{
|
|
4597
4671
|
className: chunkS6A6FSG7_cjs.cn(
|
|
4598
4672
|
"top-[12%] max-w-2xl translate-y-0 gap-0 overflow-hidden p-0",
|
|
@@ -4600,7 +4674,7 @@ function CommandPalette({
|
|
|
4600
4674
|
),
|
|
4601
4675
|
"data-testid": testId,
|
|
4602
4676
|
children: [
|
|
4603
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4677
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.DialogTitle, { className: "sr-only", children: "Command palette" }),
|
|
4604
4678
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 border-b border-border px-4", children: [
|
|
4605
4679
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: chunkS6A6FSG7_cjs.cn("size-4 shrink-0 text-ai-accent", classNames?.leadingIcon) }),
|
|
4606
4680
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4671,7 +4745,7 @@ function CommandPalette({
|
|
|
4671
4745
|
}
|
|
4672
4746
|
),
|
|
4673
4747
|
task.isDone && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4674
|
-
|
|
4748
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
4675
4749
|
{
|
|
4676
4750
|
variant: "outline",
|
|
4677
4751
|
size: "sm",
|
|
@@ -4806,10 +4880,10 @@ function DocumentTable({
|
|
|
4806
4880
|
extraColumns,
|
|
4807
4881
|
className
|
|
4808
4882
|
}) {
|
|
4809
|
-
const query =
|
|
4883
|
+
const query = chunkSJBGNP7E_cjs.useDocuments(workspaceId, { enabled: !documents });
|
|
4810
4884
|
const rows = documents ?? query.data ?? [];
|
|
4811
4885
|
const isLoading = !documents && query.isLoading;
|
|
4812
|
-
const tagsQuery =
|
|
4886
|
+
const tagsQuery = chunkSJBGNP7E_cjs.useTags(workspaceId);
|
|
4813
4887
|
const tagNameById = React__default.default.useMemo(() => {
|
|
4814
4888
|
const map = /* @__PURE__ */ new Map();
|
|
4815
4889
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -4869,7 +4943,7 @@ function DocumentTable({
|
|
|
4869
4943
|
const doc = p.data;
|
|
4870
4944
|
if (!doc) return null;
|
|
4871
4945
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4872
|
-
|
|
4946
|
+
chunkC3Q4TYFW_cjs.DocumentEntity,
|
|
4873
4947
|
{
|
|
4874
4948
|
doc,
|
|
4875
4949
|
size: "base",
|
|
@@ -4892,7 +4966,7 @@ function DocumentTable({
|
|
|
4892
4966
|
cellRenderer: (p) => {
|
|
4893
4967
|
const status = p.data?.status;
|
|
4894
4968
|
if (!status) return null;
|
|
4895
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4969
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkC3Q4TYFW_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
|
|
4896
4970
|
}
|
|
4897
4971
|
},
|
|
4898
4972
|
{
|
|
@@ -4906,7 +4980,7 @@ function DocumentTable({
|
|
|
4906
4980
|
const doctags = p.data?.doctags ?? [];
|
|
4907
4981
|
if (doctags.length === 0) return null;
|
|
4908
4982
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4909
|
-
|
|
4983
|
+
chunkC3Q4TYFW_cjs.TagEntity,
|
|
4910
4984
|
{
|
|
4911
4985
|
size: "sm",
|
|
4912
4986
|
tag: {
|
|
@@ -4990,7 +5064,7 @@ function DocumentCardMenu({
|
|
|
4990
5064
|
const invalidateDocuments = () => {
|
|
4991
5065
|
const workspaceId = arbi.getWorkspaceId();
|
|
4992
5066
|
if (workspaceId) {
|
|
4993
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
5067
|
+
void queryClient.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.documents(workspaceId) });
|
|
4994
5068
|
}
|
|
4995
5069
|
};
|
|
4996
5070
|
const download = reactQuery.useMutation({
|
|
@@ -5089,10 +5163,10 @@ function DocumentGallery({
|
|
|
5089
5163
|
minTileWidth = 148,
|
|
5090
5164
|
className
|
|
5091
5165
|
}) {
|
|
5092
|
-
const query =
|
|
5166
|
+
const query = chunkSJBGNP7E_cjs.useDocuments(workspaceId, { enabled: !documents });
|
|
5093
5167
|
const rows = documents ?? query.data ?? [];
|
|
5094
5168
|
const isLoading = !documents && query.isLoading;
|
|
5095
|
-
const tagsQuery =
|
|
5169
|
+
const tagsQuery = chunkSJBGNP7E_cjs.useTags(workspaceId);
|
|
5096
5170
|
const tagNameById = React__default.default.useMemo(() => {
|
|
5097
5171
|
const map = /* @__PURE__ */ new Map();
|
|
5098
5172
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -5104,7 +5178,7 @@ function DocumentGallery({
|
|
|
5104
5178
|
() => rows.map((d) => d.external_id).filter((id) => !!id),
|
|
5105
5179
|
[rows]
|
|
5106
5180
|
);
|
|
5107
|
-
const thumbsQuery =
|
|
5181
|
+
const thumbsQuery = chunkSJBGNP7E_cjs.useThumbnails(docIds);
|
|
5108
5182
|
const thumbs = thumbsQuery.data ?? {};
|
|
5109
5183
|
const storeSelected = useArbiUiStore((s) => s.selectedDocIds);
|
|
5110
5184
|
const storeSetSelected = useArbiUiStore((s) => s.setSelectedDocIds);
|
|
@@ -5140,7 +5214,7 @@ function DocumentGallery({
|
|
|
5140
5214
|
setRenamingId(null);
|
|
5141
5215
|
const activeWorkspace = workspaceId ?? arbi.getWorkspaceId();
|
|
5142
5216
|
if (activeWorkspace) {
|
|
5143
|
-
void queryClient.invalidateQueries({ queryKey:
|
|
5217
|
+
void queryClient.invalidateQueries({ queryKey: chunkSJBGNP7E_cjs.arbiQueryKeys.documents(activeWorkspace) });
|
|
5144
5218
|
}
|
|
5145
5219
|
}
|
|
5146
5220
|
});
|
|
@@ -5182,7 +5256,7 @@ function DocumentGallery({
|
|
|
5182
5256
|
(dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
|
|
5183
5257
|
);
|
|
5184
5258
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5185
|
-
|
|
5259
|
+
chunkC3Q4TYFW_cjs.DocumentCard,
|
|
5186
5260
|
{
|
|
5187
5261
|
doc,
|
|
5188
5262
|
thumbnailUrl: thumbs[id],
|
|
@@ -5219,7 +5293,7 @@ function VoiceNoteRecorder({
|
|
|
5219
5293
|
isSaving = false,
|
|
5220
5294
|
transcribe
|
|
5221
5295
|
}) {
|
|
5222
|
-
const recorder =
|
|
5296
|
+
const recorder = chunkC3Q4TYFW_cjs.useAudioRecorder();
|
|
5223
5297
|
const [transcript, setTranscript] = React.useState(null);
|
|
5224
5298
|
const [isTranscribing, setIsTranscribing] = React.useState(false);
|
|
5225
5299
|
React.useEffect(() => {
|
|
@@ -5251,7 +5325,7 @@ function VoiceNoteRecorder({
|
|
|
5251
5325
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col items-center justify-center gap-6 p-8", children: [
|
|
5252
5326
|
recorder.state === "idle" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5253
5327
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5254
|
-
|
|
5328
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5255
5329
|
{
|
|
5256
5330
|
type: "button",
|
|
5257
5331
|
size: "lg",
|
|
@@ -5265,7 +5339,7 @@ function VoiceNoteRecorder({
|
|
|
5265
5339
|
] }),
|
|
5266
5340
|
(recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5267
5341
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5268
|
-
|
|
5342
|
+
chunkC3Q4TYFW_cjs.MicWaveformIndicator,
|
|
5269
5343
|
{
|
|
5270
5344
|
level: recorder.level,
|
|
5271
5345
|
elapsedMs: recorder.elapsedMs,
|
|
@@ -5274,7 +5348,7 @@ function VoiceNoteRecorder({
|
|
|
5274
5348
|
),
|
|
5275
5349
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5276
5350
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5277
|
-
|
|
5351
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5278
5352
|
{
|
|
5279
5353
|
type: "button",
|
|
5280
5354
|
variant: "outline",
|
|
@@ -5286,7 +5360,7 @@ function VoiceNoteRecorder({
|
|
|
5286
5360
|
]
|
|
5287
5361
|
}
|
|
5288
5362
|
) : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5289
|
-
|
|
5363
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5290
5364
|
{
|
|
5291
5365
|
type: "button",
|
|
5292
5366
|
variant: "outline",
|
|
@@ -5298,7 +5372,7 @@ function VoiceNoteRecorder({
|
|
|
5298
5372
|
]
|
|
5299
5373
|
}
|
|
5300
5374
|
),
|
|
5301
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5375
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkC3Q4TYFW_cjs.Button, { type: "button", onClick: recorder.stop, "data-testid": "voice-note-stop-button", children: [
|
|
5302
5376
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "mr-1.5 h-3.5 w-3.5 fill-current" }),
|
|
5303
5377
|
"Stop"
|
|
5304
5378
|
] })
|
|
@@ -5322,7 +5396,7 @@ function VoiceNoteRecorder({
|
|
|
5322
5396
|
),
|
|
5323
5397
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5324
5398
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5325
|
-
|
|
5399
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5326
5400
|
{
|
|
5327
5401
|
type: "button",
|
|
5328
5402
|
variant: "outline",
|
|
@@ -5336,7 +5410,7 @@ function VoiceNoteRecorder({
|
|
|
5336
5410
|
}
|
|
5337
5411
|
),
|
|
5338
5412
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5339
|
-
|
|
5413
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5340
5414
|
{
|
|
5341
5415
|
type: "button",
|
|
5342
5416
|
variant: "outline",
|
|
@@ -5350,7 +5424,7 @@ function VoiceNoteRecorder({
|
|
|
5350
5424
|
}
|
|
5351
5425
|
),
|
|
5352
5426
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5353
|
-
|
|
5427
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5354
5428
|
{
|
|
5355
5429
|
type: "button",
|
|
5356
5430
|
onClick: handleSave,
|
|
@@ -5387,7 +5461,7 @@ function DraftTitleControls({
|
|
|
5387
5461
|
}
|
|
5388
5462
|
),
|
|
5389
5463
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5390
|
-
|
|
5464
|
+
chunkC3Q4TYFW_cjs.IconToggle,
|
|
5391
5465
|
{
|
|
5392
5466
|
icon: lucideReact.Sparkles,
|
|
5393
5467
|
isActive: autoRename,
|
|
@@ -5421,7 +5495,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
|
|
|
5421
5495
|
streamRef.current = media;
|
|
5422
5496
|
setStream(media);
|
|
5423
5497
|
} catch (err) {
|
|
5424
|
-
setError(
|
|
5498
|
+
setError(chunkC3Q4TYFW_cjs.classifyMediaError(err, "camera"));
|
|
5425
5499
|
} finally {
|
|
5426
5500
|
setIsStarting(false);
|
|
5427
5501
|
}
|
|
@@ -5552,7 +5626,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5552
5626
|
}
|
|
5553
5627
|
) }),
|
|
5554
5628
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5555
|
-
|
|
5629
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5556
5630
|
{
|
|
5557
5631
|
type: "button",
|
|
5558
5632
|
size: "lg",
|
|
@@ -5570,7 +5644,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5570
5644
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.ImageViewer, { blob: capturedBlob, alt: "Captured photo" }) }),
|
|
5571
5645
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5572
5646
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5573
|
-
|
|
5647
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5574
5648
|
{
|
|
5575
5649
|
type: "button",
|
|
5576
5650
|
variant: "outline",
|
|
@@ -5584,7 +5658,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5584
5658
|
}
|
|
5585
5659
|
),
|
|
5586
5660
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5587
|
-
|
|
5661
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5588
5662
|
{
|
|
5589
5663
|
type: "button",
|
|
5590
5664
|
variant: "outline",
|
|
@@ -5598,7 +5672,7 @@ function PhotoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5598
5672
|
}
|
|
5599
5673
|
),
|
|
5600
5674
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5601
|
-
|
|
5675
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5602
5676
|
{
|
|
5603
5677
|
type: "button",
|
|
5604
5678
|
onClick: handleSave,
|
|
@@ -5657,10 +5731,10 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5657
5731
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
|
|
5658
5732
|
] }),
|
|
5659
5733
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
|
|
5660
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children:
|
|
5734
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkC3Q4TYFW_cjs.formatElapsed(recorder.elapsedMs) })
|
|
5661
5735
|
] }),
|
|
5662
5736
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5663
|
-
|
|
5737
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5664
5738
|
{
|
|
5665
5739
|
type: "button",
|
|
5666
5740
|
size: "lg",
|
|
@@ -5670,7 +5744,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5670
5744
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-5 w-5 fill-current" })
|
|
5671
5745
|
}
|
|
5672
5746
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5673
|
-
|
|
5747
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5674
5748
|
{
|
|
5675
5749
|
type: "button",
|
|
5676
5750
|
size: "lg",
|
|
@@ -5687,7 +5761,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5687
5761
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTMPDW7J5_cjs.VideoViewer, { blob: recorder.blob, title: "Captured video" }) }),
|
|
5688
5762
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5689
5763
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5690
|
-
|
|
5764
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5691
5765
|
{
|
|
5692
5766
|
type: "button",
|
|
5693
5767
|
variant: "outline",
|
|
@@ -5701,7 +5775,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5701
5775
|
}
|
|
5702
5776
|
),
|
|
5703
5777
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5704
|
-
|
|
5778
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5705
5779
|
{
|
|
5706
5780
|
type: "button",
|
|
5707
5781
|
variant: "outline",
|
|
@@ -5715,7 +5789,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
5715
5789
|
}
|
|
5716
5790
|
),
|
|
5717
5791
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5718
|
-
|
|
5792
|
+
chunkC3Q4TYFW_cjs.Button,
|
|
5719
5793
|
{
|
|
5720
5794
|
type: "button",
|
|
5721
5795
|
onClick: handleSave,
|
|
@@ -5758,139 +5832,135 @@ function hasVideoTrack(blob) {
|
|
|
5758
5832
|
|
|
5759
5833
|
Object.defineProperty(exports, "DEFAULT_USD_PER_CREDIT", {
|
|
5760
5834
|
enumerable: true,
|
|
5761
|
-
get: function () { return
|
|
5835
|
+
get: function () { return chunkSJBGNP7E_cjs.DEFAULT_USD_PER_CREDIT; }
|
|
5762
5836
|
});
|
|
5763
5837
|
Object.defineProperty(exports, "arbiQueryKeys", {
|
|
5764
5838
|
enumerable: true,
|
|
5765
|
-
get: function () { return
|
|
5839
|
+
get: function () { return chunkSJBGNP7E_cjs.arbiQueryKeys; }
|
|
5766
5840
|
});
|
|
5767
5841
|
Object.defineProperty(exports, "cleanDraftMarkdown", {
|
|
5768
5842
|
enumerable: true,
|
|
5769
|
-
get: function () { return
|
|
5843
|
+
get: function () { return chunkSJBGNP7E_cjs.cleanDraftMarkdown; }
|
|
5770
5844
|
});
|
|
5771
5845
|
Object.defineProperty(exports, "cleanDraftWithReport", {
|
|
5772
5846
|
enumerable: true,
|
|
5773
|
-
get: function () { return
|
|
5847
|
+
get: function () { return chunkSJBGNP7E_cjs.cleanDraftWithReport; }
|
|
5774
5848
|
});
|
|
5775
5849
|
Object.defineProperty(exports, "creditsToUsd", {
|
|
5776
5850
|
enumerable: true,
|
|
5777
|
-
get: function () { return
|
|
5851
|
+
get: function () { return chunkSJBGNP7E_cjs.creditsToUsd; }
|
|
5778
5852
|
});
|
|
5779
5853
|
Object.defineProperty(exports, "formatCredits", {
|
|
5780
5854
|
enumerable: true,
|
|
5781
|
-
get: function () { return
|
|
5855
|
+
get: function () { return chunkSJBGNP7E_cjs.formatCredits; }
|
|
5782
5856
|
});
|
|
5783
5857
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
5784
5858
|
enumerable: true,
|
|
5785
|
-
get: function () { return
|
|
5859
|
+
get: function () { return chunkSJBGNP7E_cjs.isUsageMetered; }
|
|
5786
5860
|
});
|
|
5787
5861
|
Object.defineProperty(exports, "promoteBoldTitle", {
|
|
5788
5862
|
enumerable: true,
|
|
5789
|
-
get: function () { return
|
|
5863
|
+
get: function () { return chunkSJBGNP7E_cjs.promoteBoldTitle; }
|
|
5790
5864
|
});
|
|
5791
5865
|
Object.defineProperty(exports, "repairParsedStructure", {
|
|
5792
5866
|
enumerable: true,
|
|
5793
|
-
get: function () { return
|
|
5867
|
+
get: function () { return chunkSJBGNP7E_cjs.repairParsedStructure; }
|
|
5794
5868
|
});
|
|
5795
5869
|
Object.defineProperty(exports, "repairParsedTitle", {
|
|
5796
5870
|
enumerable: true,
|
|
5797
|
-
get: function () { return
|
|
5871
|
+
get: function () { return chunkSJBGNP7E_cjs.repairParsedTitle; }
|
|
5798
5872
|
});
|
|
5799
5873
|
Object.defineProperty(exports, "stripAgentPreamble", {
|
|
5800
5874
|
enumerable: true,
|
|
5801
|
-
get: function () { return
|
|
5875
|
+
get: function () { return chunkSJBGNP7E_cjs.stripAgentPreamble; }
|
|
5802
5876
|
});
|
|
5803
5877
|
Object.defineProperty(exports, "unescapeMarkdown", {
|
|
5804
5878
|
enumerable: true,
|
|
5805
|
-
get: function () { return
|
|
5879
|
+
get: function () { return chunkSJBGNP7E_cjs.unescapeMarkdown; }
|
|
5806
5880
|
});
|
|
5807
5881
|
Object.defineProperty(exports, "unwrapCitationLinks", {
|
|
5808
5882
|
enumerable: true,
|
|
5809
|
-
get: function () { return
|
|
5883
|
+
get: function () { return chunkSJBGNP7E_cjs.unwrapCitationLinks; }
|
|
5810
5884
|
});
|
|
5811
5885
|
Object.defineProperty(exports, "useActivity", {
|
|
5812
5886
|
enumerable: true,
|
|
5813
|
-
get: function () { return
|
|
5887
|
+
get: function () { return chunkSJBGNP7E_cjs.useActivity; }
|
|
5814
5888
|
});
|
|
5815
5889
|
Object.defineProperty(exports, "useAgents", {
|
|
5816
5890
|
enumerable: true,
|
|
5817
|
-
get: function () { return
|
|
5891
|
+
get: function () { return chunkSJBGNP7E_cjs.useAgents; }
|
|
5818
5892
|
});
|
|
5819
5893
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
5820
5894
|
enumerable: true,
|
|
5821
|
-
get: function () { return
|
|
5895
|
+
get: function () { return chunkSJBGNP7E_cjs.useAssistantQuery; }
|
|
5822
5896
|
});
|
|
5823
5897
|
Object.defineProperty(exports, "useConfigs", {
|
|
5824
5898
|
enumerable: true,
|
|
5825
|
-
get: function () { return
|
|
5899
|
+
get: function () { return chunkSJBGNP7E_cjs.useConfigs; }
|
|
5826
5900
|
});
|
|
5827
5901
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
5828
5902
|
enumerable: true,
|
|
5829
|
-
get: function () { return
|
|
5903
|
+
get: function () { return chunkSJBGNP7E_cjs.useConversationThreads; }
|
|
5830
5904
|
});
|
|
5831
5905
|
Object.defineProperty(exports, "useConversations", {
|
|
5832
5906
|
enumerable: true,
|
|
5833
|
-
get: function () { return
|
|
5907
|
+
get: function () { return chunkSJBGNP7E_cjs.useConversations; }
|
|
5834
5908
|
});
|
|
5835
5909
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
5836
5910
|
enumerable: true,
|
|
5837
|
-
get: function () { return
|
|
5911
|
+
get: function () { return chunkSJBGNP7E_cjs.useDeleteAgents; }
|
|
5838
5912
|
});
|
|
5839
5913
|
Object.defineProperty(exports, "useDocuments", {
|
|
5840
5914
|
enumerable: true,
|
|
5841
|
-
get: function () { return
|
|
5915
|
+
get: function () { return chunkSJBGNP7E_cjs.useDocuments; }
|
|
5842
5916
|
});
|
|
5843
5917
|
Object.defineProperty(exports, "useFacts", {
|
|
5844
5918
|
enumerable: true,
|
|
5845
|
-
get: function () { return
|
|
5919
|
+
get: function () { return chunkSJBGNP7E_cjs.useFacts; }
|
|
5846
5920
|
});
|
|
5847
5921
|
Object.defineProperty(exports, "useHealth", {
|
|
5848
5922
|
enumerable: true,
|
|
5849
|
-
get: function () { return
|
|
5923
|
+
get: function () { return chunkSJBGNP7E_cjs.useHealth; }
|
|
5850
5924
|
});
|
|
5851
5925
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
5852
5926
|
enumerable: true,
|
|
5853
|
-
get: function () { return
|
|
5927
|
+
get: function () { return chunkSJBGNP7E_cjs.useParsedDocument; }
|
|
5854
5928
|
});
|
|
5855
5929
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
5856
5930
|
enumerable: true,
|
|
5857
|
-
get: function () { return
|
|
5931
|
+
get: function () { return chunkSJBGNP7E_cjs.useProjectInvoices; }
|
|
5858
5932
|
});
|
|
5859
5933
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
5860
5934
|
enumerable: true,
|
|
5861
|
-
get: function () { return
|
|
5935
|
+
get: function () { return chunkSJBGNP7E_cjs.useProjectUsage; }
|
|
5862
5936
|
});
|
|
5863
5937
|
Object.defineProperty(exports, "useProjects", {
|
|
5864
5938
|
enumerable: true,
|
|
5865
|
-
get: function () { return
|
|
5939
|
+
get: function () { return chunkSJBGNP7E_cjs.useProjects; }
|
|
5866
5940
|
});
|
|
5867
5941
|
Object.defineProperty(exports, "useProjectsUsage", {
|
|
5868
5942
|
enumerable: true,
|
|
5869
|
-
get: function () { return
|
|
5943
|
+
get: function () { return chunkSJBGNP7E_cjs.useProjectsUsage; }
|
|
5870
5944
|
});
|
|
5871
5945
|
Object.defineProperty(exports, "useSessions", {
|
|
5872
5946
|
enumerable: true,
|
|
5873
|
-
get: function () { return
|
|
5947
|
+
get: function () { return chunkSJBGNP7E_cjs.useSessions; }
|
|
5874
5948
|
});
|
|
5875
5949
|
Object.defineProperty(exports, "useTags", {
|
|
5876
5950
|
enumerable: true,
|
|
5877
|
-
get: function () { return
|
|
5878
|
-
});
|
|
5879
|
-
Object.defineProperty(exports, "useTasks", {
|
|
5880
|
-
enumerable: true,
|
|
5881
|
-
get: function () { return chunkEEOGV7GV_cjs.useTasks; }
|
|
5951
|
+
get: function () { return chunkSJBGNP7E_cjs.useTags; }
|
|
5882
5952
|
});
|
|
5883
5953
|
Object.defineProperty(exports, "useThumbnails", {
|
|
5884
5954
|
enumerable: true,
|
|
5885
|
-
get: function () { return
|
|
5955
|
+
get: function () { return chunkSJBGNP7E_cjs.useThumbnails; }
|
|
5886
5956
|
});
|
|
5887
5957
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
5888
5958
|
enumerable: true,
|
|
5889
|
-
get: function () { return
|
|
5959
|
+
get: function () { return chunkSJBGNP7E_cjs.useUserUsageToday; }
|
|
5890
5960
|
});
|
|
5891
5961
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
5892
5962
|
enumerable: true,
|
|
5893
|
-
get: function () { return
|
|
5963
|
+
get: function () { return chunkSJBGNP7E_cjs.useWorkspaces; }
|
|
5894
5964
|
});
|
|
5895
5965
|
Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
|
|
5896
5966
|
enumerable: true,
|
|
@@ -5930,535 +6000,539 @@ Object.defineProperty(exports, "useNotify", {
|
|
|
5930
6000
|
});
|
|
5931
6001
|
Object.defineProperty(exports, "AgentBadge", {
|
|
5932
6002
|
enumerable: true,
|
|
5933
|
-
get: function () { return
|
|
6003
|
+
get: function () { return chunkC3Q4TYFW_cjs.AgentBadge; }
|
|
5934
6004
|
});
|
|
5935
6005
|
Object.defineProperty(exports, "AiMarkdown", {
|
|
5936
6006
|
enumerable: true,
|
|
5937
|
-
get: function () { return
|
|
6007
|
+
get: function () { return chunkC3Q4TYFW_cjs.AiMarkdown; }
|
|
5938
6008
|
});
|
|
5939
6009
|
Object.defineProperty(exports, "ArbiBotHeadIcon", {
|
|
5940
6010
|
enumerable: true,
|
|
5941
|
-
get: function () { return
|
|
6011
|
+
get: function () { return chunkC3Q4TYFW_cjs.ArbiBotHeadIcon; }
|
|
5942
6012
|
});
|
|
5943
6013
|
Object.defineProperty(exports, "AudIcon", {
|
|
5944
6014
|
enumerable: true,
|
|
5945
|
-
get: function () { return
|
|
6015
|
+
get: function () { return chunkC3Q4TYFW_cjs.AudIcon; }
|
|
5946
6016
|
});
|
|
5947
6017
|
Object.defineProperty(exports, "Avatar", {
|
|
5948
6018
|
enumerable: true,
|
|
5949
|
-
get: function () { return
|
|
6019
|
+
get: function () { return chunkC3Q4TYFW_cjs.Avatar; }
|
|
5950
6020
|
});
|
|
5951
6021
|
Object.defineProperty(exports, "AvatarFallback", {
|
|
5952
6022
|
enumerable: true,
|
|
5953
|
-
get: function () { return
|
|
6023
|
+
get: function () { return chunkC3Q4TYFW_cjs.AvatarFallback; }
|
|
5954
6024
|
});
|
|
5955
6025
|
Object.defineProperty(exports, "AvatarImage", {
|
|
5956
6026
|
enumerable: true,
|
|
5957
|
-
get: function () { return
|
|
6027
|
+
get: function () { return chunkC3Q4TYFW_cjs.AvatarImage; }
|
|
5958
6028
|
});
|
|
5959
6029
|
Object.defineProperty(exports, "BASE_COLORS", {
|
|
5960
6030
|
enumerable: true,
|
|
5961
|
-
get: function () { return
|
|
6031
|
+
get: function () { return chunkC3Q4TYFW_cjs.BASE_COLORS; }
|
|
5962
6032
|
});
|
|
5963
6033
|
Object.defineProperty(exports, "Badge", {
|
|
5964
6034
|
enumerable: true,
|
|
5965
|
-
get: function () { return
|
|
6035
|
+
get: function () { return chunkC3Q4TYFW_cjs.Badge; }
|
|
5966
6036
|
});
|
|
5967
6037
|
Object.defineProperty(exports, "Button", {
|
|
5968
6038
|
enumerable: true,
|
|
5969
|
-
get: function () { return
|
|
6039
|
+
get: function () { return chunkC3Q4TYFW_cjs.Button; }
|
|
5970
6040
|
});
|
|
5971
6041
|
Object.defineProperty(exports, "Card", {
|
|
5972
6042
|
enumerable: true,
|
|
5973
|
-
get: function () { return
|
|
6043
|
+
get: function () { return chunkC3Q4TYFW_cjs.Card; }
|
|
5974
6044
|
});
|
|
5975
6045
|
Object.defineProperty(exports, "CardContent", {
|
|
5976
6046
|
enumerable: true,
|
|
5977
|
-
get: function () { return
|
|
6047
|
+
get: function () { return chunkC3Q4TYFW_cjs.CardContent; }
|
|
5978
6048
|
});
|
|
5979
6049
|
Object.defineProperty(exports, "CardDescription", {
|
|
5980
6050
|
enumerable: true,
|
|
5981
|
-
get: function () { return
|
|
6051
|
+
get: function () { return chunkC3Q4TYFW_cjs.CardDescription; }
|
|
5982
6052
|
});
|
|
5983
6053
|
Object.defineProperty(exports, "CardFooter", {
|
|
5984
6054
|
enumerable: true,
|
|
5985
|
-
get: function () { return
|
|
6055
|
+
get: function () { return chunkC3Q4TYFW_cjs.CardFooter; }
|
|
5986
6056
|
});
|
|
5987
6057
|
Object.defineProperty(exports, "CardHeader", {
|
|
5988
6058
|
enumerable: true,
|
|
5989
|
-
get: function () { return
|
|
6059
|
+
get: function () { return chunkC3Q4TYFW_cjs.CardHeader; }
|
|
5990
6060
|
});
|
|
5991
6061
|
Object.defineProperty(exports, "CardTitle", {
|
|
5992
6062
|
enumerable: true,
|
|
5993
|
-
get: function () { return
|
|
6063
|
+
get: function () { return chunkC3Q4TYFW_cjs.CardTitle; }
|
|
5994
6064
|
});
|
|
5995
6065
|
Object.defineProperty(exports, "Checkbox", {
|
|
5996
6066
|
enumerable: true,
|
|
5997
|
-
get: function () { return
|
|
6067
|
+
get: function () { return chunkC3Q4TYFW_cjs.Checkbox; }
|
|
5998
6068
|
});
|
|
5999
6069
|
Object.defineProperty(exports, "Collapsible", {
|
|
6000
6070
|
enumerable: true,
|
|
6001
|
-
get: function () { return
|
|
6071
|
+
get: function () { return chunkC3Q4TYFW_cjs.Collapsible; }
|
|
6002
6072
|
});
|
|
6003
6073
|
Object.defineProperty(exports, "CollapsibleContent", {
|
|
6004
6074
|
enumerable: true,
|
|
6005
|
-
get: function () { return
|
|
6075
|
+
get: function () { return chunkC3Q4TYFW_cjs.CollapsibleContent; }
|
|
6006
6076
|
});
|
|
6007
6077
|
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
6008
6078
|
enumerable: true,
|
|
6009
|
-
get: function () { return
|
|
6079
|
+
get: function () { return chunkC3Q4TYFW_cjs.CollapsibleTrigger; }
|
|
6010
6080
|
});
|
|
6011
6081
|
Object.defineProperty(exports, "Command", {
|
|
6012
6082
|
enumerable: true,
|
|
6013
|
-
get: function () { return
|
|
6083
|
+
get: function () { return chunkC3Q4TYFW_cjs.Command; }
|
|
6014
6084
|
});
|
|
6015
6085
|
Object.defineProperty(exports, "CommandDialog", {
|
|
6016
6086
|
enumerable: true,
|
|
6017
|
-
get: function () { return
|
|
6087
|
+
get: function () { return chunkC3Q4TYFW_cjs.CommandDialog; }
|
|
6018
6088
|
});
|
|
6019
6089
|
Object.defineProperty(exports, "CommandEmpty", {
|
|
6020
6090
|
enumerable: true,
|
|
6021
|
-
get: function () { return
|
|
6091
|
+
get: function () { return chunkC3Q4TYFW_cjs.CommandEmpty; }
|
|
6022
6092
|
});
|
|
6023
6093
|
Object.defineProperty(exports, "CommandGroup", {
|
|
6024
6094
|
enumerable: true,
|
|
6025
|
-
get: function () { return
|
|
6095
|
+
get: function () { return chunkC3Q4TYFW_cjs.CommandGroup; }
|
|
6026
6096
|
});
|
|
6027
6097
|
Object.defineProperty(exports, "CommandInput", {
|
|
6028
6098
|
enumerable: true,
|
|
6029
|
-
get: function () { return
|
|
6099
|
+
get: function () { return chunkC3Q4TYFW_cjs.CommandInput; }
|
|
6030
6100
|
});
|
|
6031
6101
|
Object.defineProperty(exports, "CommandItem", {
|
|
6032
6102
|
enumerable: true,
|
|
6033
|
-
get: function () { return
|
|
6103
|
+
get: function () { return chunkC3Q4TYFW_cjs.CommandItem; }
|
|
6034
6104
|
});
|
|
6035
6105
|
Object.defineProperty(exports, "CommandList", {
|
|
6036
6106
|
enumerable: true,
|
|
6037
|
-
get: function () { return
|
|
6107
|
+
get: function () { return chunkC3Q4TYFW_cjs.CommandList; }
|
|
6038
6108
|
});
|
|
6039
6109
|
Object.defineProperty(exports, "CommandSeparator", {
|
|
6040
6110
|
enumerable: true,
|
|
6041
|
-
get: function () { return
|
|
6111
|
+
get: function () { return chunkC3Q4TYFW_cjs.CommandSeparator; }
|
|
6042
6112
|
});
|
|
6043
6113
|
Object.defineProperty(exports, "CommandShortcut", {
|
|
6044
6114
|
enumerable: true,
|
|
6045
|
-
get: function () { return
|
|
6115
|
+
get: function () { return chunkC3Q4TYFW_cjs.CommandShortcut; }
|
|
6046
6116
|
});
|
|
6047
6117
|
Object.defineProperty(exports, "Dialog", {
|
|
6048
6118
|
enumerable: true,
|
|
6049
|
-
get: function () { return
|
|
6119
|
+
get: function () { return chunkC3Q4TYFW_cjs.Dialog; }
|
|
6050
6120
|
});
|
|
6051
6121
|
Object.defineProperty(exports, "DialogClose", {
|
|
6052
6122
|
enumerable: true,
|
|
6053
|
-
get: function () { return
|
|
6123
|
+
get: function () { return chunkC3Q4TYFW_cjs.DialogClose; }
|
|
6054
6124
|
});
|
|
6055
6125
|
Object.defineProperty(exports, "DialogContent", {
|
|
6056
6126
|
enumerable: true,
|
|
6057
|
-
get: function () { return
|
|
6127
|
+
get: function () { return chunkC3Q4TYFW_cjs.DialogContent; }
|
|
6058
6128
|
});
|
|
6059
6129
|
Object.defineProperty(exports, "DialogDescription", {
|
|
6060
6130
|
enumerable: true,
|
|
6061
|
-
get: function () { return
|
|
6131
|
+
get: function () { return chunkC3Q4TYFW_cjs.DialogDescription; }
|
|
6062
6132
|
});
|
|
6063
6133
|
Object.defineProperty(exports, "DialogFooter", {
|
|
6064
6134
|
enumerable: true,
|
|
6065
|
-
get: function () { return
|
|
6135
|
+
get: function () { return chunkC3Q4TYFW_cjs.DialogFooter; }
|
|
6066
6136
|
});
|
|
6067
6137
|
Object.defineProperty(exports, "DialogHeader", {
|
|
6068
6138
|
enumerable: true,
|
|
6069
|
-
get: function () { return
|
|
6139
|
+
get: function () { return chunkC3Q4TYFW_cjs.DialogHeader; }
|
|
6070
6140
|
});
|
|
6071
6141
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
6072
6142
|
enumerable: true,
|
|
6073
|
-
get: function () { return
|
|
6143
|
+
get: function () { return chunkC3Q4TYFW_cjs.DialogOverlay; }
|
|
6074
6144
|
});
|
|
6075
6145
|
Object.defineProperty(exports, "DialogPortal", {
|
|
6076
6146
|
enumerable: true,
|
|
6077
|
-
get: function () { return
|
|
6147
|
+
get: function () { return chunkC3Q4TYFW_cjs.DialogPortal; }
|
|
6078
6148
|
});
|
|
6079
6149
|
Object.defineProperty(exports, "DialogTitle", {
|
|
6080
6150
|
enumerable: true,
|
|
6081
|
-
get: function () { return
|
|
6151
|
+
get: function () { return chunkC3Q4TYFW_cjs.DialogTitle; }
|
|
6082
6152
|
});
|
|
6083
6153
|
Object.defineProperty(exports, "DialogTrigger", {
|
|
6084
6154
|
enumerable: true,
|
|
6085
|
-
get: function () { return
|
|
6155
|
+
get: function () { return chunkC3Q4TYFW_cjs.DialogTrigger; }
|
|
6086
6156
|
});
|
|
6087
6157
|
Object.defineProperty(exports, "DictateProvider", {
|
|
6088
6158
|
enumerable: true,
|
|
6089
|
-
get: function () { return
|
|
6159
|
+
get: function () { return chunkC3Q4TYFW_cjs.DictateProvider; }
|
|
6090
6160
|
});
|
|
6091
6161
|
Object.defineProperty(exports, "DocumentCard", {
|
|
6092
6162
|
enumerable: true,
|
|
6093
|
-
get: function () { return
|
|
6163
|
+
get: function () { return chunkC3Q4TYFW_cjs.DocumentCard; }
|
|
6094
6164
|
});
|
|
6095
6165
|
Object.defineProperty(exports, "DocumentEntity", {
|
|
6096
6166
|
enumerable: true,
|
|
6097
|
-
get: function () { return
|
|
6167
|
+
get: function () { return chunkC3Q4TYFW_cjs.DocumentEntity; }
|
|
6098
6168
|
});
|
|
6099
6169
|
Object.defineProperty(exports, "ENTITY_MAPPINGS", {
|
|
6100
6170
|
enumerable: true,
|
|
6101
|
-
get: function () { return
|
|
6171
|
+
get: function () { return chunkC3Q4TYFW_cjs.ENTITY_MAPPINGS; }
|
|
6102
6172
|
});
|
|
6103
6173
|
Object.defineProperty(exports, "EmlIcon", {
|
|
6104
6174
|
enumerable: true,
|
|
6105
|
-
get: function () { return
|
|
6175
|
+
get: function () { return chunkC3Q4TYFW_cjs.EmlIcon; }
|
|
6106
6176
|
});
|
|
6107
6177
|
Object.defineProperty(exports, "EntityIcon", {
|
|
6108
6178
|
enumerable: true,
|
|
6109
|
-
get: function () { return
|
|
6179
|
+
get: function () { return chunkC3Q4TYFW_cjs.EntityIcon; }
|
|
6110
6180
|
});
|
|
6111
6181
|
Object.defineProperty(exports, "EntityPill", {
|
|
6112
6182
|
enumerable: true,
|
|
6113
|
-
get: function () { return
|
|
6183
|
+
get: function () { return chunkC3Q4TYFW_cjs.EntityPill; }
|
|
6114
6184
|
});
|
|
6115
6185
|
Object.defineProperty(exports, "FILE_TYPE_COLORS", {
|
|
6116
6186
|
enumerable: true,
|
|
6117
|
-
get: function () { return
|
|
6187
|
+
get: function () { return chunkC3Q4TYFW_cjs.FILE_TYPE_COLORS; }
|
|
6118
6188
|
});
|
|
6119
6189
|
Object.defineProperty(exports, "HoverCard", {
|
|
6120
6190
|
enumerable: true,
|
|
6121
|
-
get: function () { return
|
|
6191
|
+
get: function () { return chunkC3Q4TYFW_cjs.HoverCard; }
|
|
6122
6192
|
});
|
|
6123
6193
|
Object.defineProperty(exports, "HoverCardContent", {
|
|
6124
6194
|
enumerable: true,
|
|
6125
|
-
get: function () { return
|
|
6195
|
+
get: function () { return chunkC3Q4TYFW_cjs.HoverCardContent; }
|
|
6126
6196
|
});
|
|
6127
6197
|
Object.defineProperty(exports, "HoverCardTrigger", {
|
|
6128
6198
|
enumerable: true,
|
|
6129
|
-
get: function () { return
|
|
6199
|
+
get: function () { return chunkC3Q4TYFW_cjs.HoverCardTrigger; }
|
|
6130
6200
|
});
|
|
6131
6201
|
Object.defineProperty(exports, "IconToggle", {
|
|
6132
6202
|
enumerable: true,
|
|
6133
|
-
get: function () { return
|
|
6203
|
+
get: function () { return chunkC3Q4TYFW_cjs.IconToggle; }
|
|
6134
6204
|
});
|
|
6135
6205
|
Object.defineProperty(exports, "ImgIcon", {
|
|
6136
6206
|
enumerable: true,
|
|
6137
|
-
get: function () { return
|
|
6207
|
+
get: function () { return chunkC3Q4TYFW_cjs.ImgIcon; }
|
|
6138
6208
|
});
|
|
6139
6209
|
Object.defineProperty(exports, "InlineMicButton", {
|
|
6140
6210
|
enumerable: true,
|
|
6141
|
-
get: function () { return
|
|
6211
|
+
get: function () { return chunkC3Q4TYFW_cjs.InlineMicButton; }
|
|
6142
6212
|
});
|
|
6143
6213
|
Object.defineProperty(exports, "Input", {
|
|
6144
6214
|
enumerable: true,
|
|
6145
|
-
get: function () { return
|
|
6215
|
+
get: function () { return chunkC3Q4TYFW_cjs.Input; }
|
|
6146
6216
|
});
|
|
6147
6217
|
Object.defineProperty(exports, "Label", {
|
|
6148
6218
|
enumerable: true,
|
|
6149
|
-
get: function () { return
|
|
6219
|
+
get: function () { return chunkC3Q4TYFW_cjs.Label; }
|
|
6150
6220
|
});
|
|
6151
6221
|
Object.defineProperty(exports, "MarkMenu", {
|
|
6152
6222
|
enumerable: true,
|
|
6153
|
-
get: function () { return
|
|
6223
|
+
get: function () { return chunkC3Q4TYFW_cjs.MarkMenu; }
|
|
6154
6224
|
});
|
|
6155
6225
|
Object.defineProperty(exports, "MicRecordingOverlay", {
|
|
6156
6226
|
enumerable: true,
|
|
6157
|
-
get: function () { return
|
|
6227
|
+
get: function () { return chunkC3Q4TYFW_cjs.MicRecordingOverlay; }
|
|
6158
6228
|
});
|
|
6159
6229
|
Object.defineProperty(exports, "MicWaveformIndicator", {
|
|
6160
6230
|
enumerable: true,
|
|
6161
|
-
get: function () { return
|
|
6231
|
+
get: function () { return chunkC3Q4TYFW_cjs.MicWaveformIndicator; }
|
|
6162
6232
|
});
|
|
6163
6233
|
Object.defineProperty(exports, "NEUTRAL_GRAY", {
|
|
6164
6234
|
enumerable: true,
|
|
6165
|
-
get: function () { return
|
|
6235
|
+
get: function () { return chunkC3Q4TYFW_cjs.NEUTRAL_GRAY; }
|
|
6166
6236
|
});
|
|
6167
6237
|
Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
|
|
6168
6238
|
enumerable: true,
|
|
6169
|
-
get: function () { return
|
|
6239
|
+
get: function () { return chunkC3Q4TYFW_cjs.PLACEHOLDER_COLOR; }
|
|
6170
6240
|
});
|
|
6171
6241
|
Object.defineProperty(exports, "PassageCard", {
|
|
6172
6242
|
enumerable: true,
|
|
6173
|
-
get: function () { return
|
|
6243
|
+
get: function () { return chunkC3Q4TYFW_cjs.PassageCard; }
|
|
6174
6244
|
});
|
|
6175
6245
|
Object.defineProperty(exports, "PdfIcon", {
|
|
6176
6246
|
enumerable: true,
|
|
6177
|
-
get: function () { return
|
|
6247
|
+
get: function () { return chunkC3Q4TYFW_cjs.PdfIcon; }
|
|
6178
6248
|
});
|
|
6179
6249
|
Object.defineProperty(exports, "Popover", {
|
|
6180
6250
|
enumerable: true,
|
|
6181
|
-
get: function () { return
|
|
6251
|
+
get: function () { return chunkC3Q4TYFW_cjs.Popover; }
|
|
6182
6252
|
});
|
|
6183
6253
|
Object.defineProperty(exports, "PopoverAnchor", {
|
|
6184
6254
|
enumerable: true,
|
|
6185
|
-
get: function () { return
|
|
6255
|
+
get: function () { return chunkC3Q4TYFW_cjs.PopoverAnchor; }
|
|
6186
6256
|
});
|
|
6187
6257
|
Object.defineProperty(exports, "PopoverContent", {
|
|
6188
6258
|
enumerable: true,
|
|
6189
|
-
get: function () { return
|
|
6259
|
+
get: function () { return chunkC3Q4TYFW_cjs.PopoverContent; }
|
|
6190
6260
|
});
|
|
6191
6261
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
6192
6262
|
enumerable: true,
|
|
6193
|
-
get: function () { return
|
|
6263
|
+
get: function () { return chunkC3Q4TYFW_cjs.PopoverTrigger; }
|
|
6194
6264
|
});
|
|
6195
6265
|
Object.defineProperty(exports, "PresenceLabel", {
|
|
6196
6266
|
enumerable: true,
|
|
6197
|
-
get: function () { return
|
|
6267
|
+
get: function () { return chunkC3Q4TYFW_cjs.PresenceLabel; }
|
|
6198
6268
|
});
|
|
6199
6269
|
Object.defineProperty(exports, "Progress", {
|
|
6200
6270
|
enumerable: true,
|
|
6201
|
-
get: function () { return
|
|
6271
|
+
get: function () { return chunkC3Q4TYFW_cjs.Progress; }
|
|
6202
6272
|
});
|
|
6203
6273
|
Object.defineProperty(exports, "ProjectEntity", {
|
|
6204
6274
|
enumerable: true,
|
|
6205
|
-
get: function () { return
|
|
6275
|
+
get: function () { return chunkC3Q4TYFW_cjs.ProjectEntity; }
|
|
6206
6276
|
});
|
|
6207
6277
|
Object.defineProperty(exports, "RadioGroup", {
|
|
6208
6278
|
enumerable: true,
|
|
6209
|
-
get: function () { return
|
|
6279
|
+
get: function () { return chunkC3Q4TYFW_cjs.RadioGroup; }
|
|
6210
6280
|
});
|
|
6211
6281
|
Object.defineProperty(exports, "RadioGroupItem", {
|
|
6212
6282
|
enumerable: true,
|
|
6213
|
-
get: function () { return
|
|
6283
|
+
get: function () { return chunkC3Q4TYFW_cjs.RadioGroupItem; }
|
|
6214
6284
|
});
|
|
6215
6285
|
Object.defineProperty(exports, "RagDot", {
|
|
6216
6286
|
enumerable: true,
|
|
6217
|
-
get: function () { return
|
|
6287
|
+
get: function () { return chunkC3Q4TYFW_cjs.RagDot; }
|
|
6218
6288
|
});
|
|
6219
6289
|
Object.defineProperty(exports, "RelevanceDot", {
|
|
6220
6290
|
enumerable: true,
|
|
6221
|
-
get: function () { return
|
|
6291
|
+
get: function () { return chunkC3Q4TYFW_cjs.RelevanceDot; }
|
|
6222
6292
|
});
|
|
6223
6293
|
Object.defineProperty(exports, "Select", {
|
|
6224
6294
|
enumerable: true,
|
|
6225
|
-
get: function () { return
|
|
6295
|
+
get: function () { return chunkC3Q4TYFW_cjs.Select; }
|
|
6226
6296
|
});
|
|
6227
6297
|
Object.defineProperty(exports, "SelectContent", {
|
|
6228
6298
|
enumerable: true,
|
|
6229
|
-
get: function () { return
|
|
6299
|
+
get: function () { return chunkC3Q4TYFW_cjs.SelectContent; }
|
|
6230
6300
|
});
|
|
6231
6301
|
Object.defineProperty(exports, "SelectGroup", {
|
|
6232
6302
|
enumerable: true,
|
|
6233
|
-
get: function () { return
|
|
6303
|
+
get: function () { return chunkC3Q4TYFW_cjs.SelectGroup; }
|
|
6234
6304
|
});
|
|
6235
6305
|
Object.defineProperty(exports, "SelectItem", {
|
|
6236
6306
|
enumerable: true,
|
|
6237
|
-
get: function () { return
|
|
6307
|
+
get: function () { return chunkC3Q4TYFW_cjs.SelectItem; }
|
|
6238
6308
|
});
|
|
6239
6309
|
Object.defineProperty(exports, "SelectLabel", {
|
|
6240
6310
|
enumerable: true,
|
|
6241
|
-
get: function () { return
|
|
6311
|
+
get: function () { return chunkC3Q4TYFW_cjs.SelectLabel; }
|
|
6242
6312
|
});
|
|
6243
6313
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
6244
6314
|
enumerable: true,
|
|
6245
|
-
get: function () { return
|
|
6315
|
+
get: function () { return chunkC3Q4TYFW_cjs.SelectScrollDownButton; }
|
|
6246
6316
|
});
|
|
6247
6317
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
6248
6318
|
enumerable: true,
|
|
6249
|
-
get: function () { return
|
|
6319
|
+
get: function () { return chunkC3Q4TYFW_cjs.SelectScrollUpButton; }
|
|
6250
6320
|
});
|
|
6251
6321
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
6252
6322
|
enumerable: true,
|
|
6253
|
-
get: function () { return
|
|
6323
|
+
get: function () { return chunkC3Q4TYFW_cjs.SelectSeparator; }
|
|
6254
6324
|
});
|
|
6255
6325
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
6256
6326
|
enumerable: true,
|
|
6257
|
-
get: function () { return
|
|
6327
|
+
get: function () { return chunkC3Q4TYFW_cjs.SelectTrigger; }
|
|
6258
6328
|
});
|
|
6259
6329
|
Object.defineProperty(exports, "SelectValue", {
|
|
6260
6330
|
enumerable: true,
|
|
6261
|
-
get: function () { return
|
|
6331
|
+
get: function () { return chunkC3Q4TYFW_cjs.SelectValue; }
|
|
6262
6332
|
});
|
|
6263
6333
|
Object.defineProperty(exports, "Separator", {
|
|
6264
6334
|
enumerable: true,
|
|
6265
|
-
get: function () { return
|
|
6335
|
+
get: function () { return chunkC3Q4TYFW_cjs.Separator; }
|
|
6266
6336
|
});
|
|
6267
6337
|
Object.defineProperty(exports, "Slider", {
|
|
6268
6338
|
enumerable: true,
|
|
6269
|
-
get: function () { return
|
|
6339
|
+
get: function () { return chunkC3Q4TYFW_cjs.Slider; }
|
|
6270
6340
|
});
|
|
6271
6341
|
Object.defineProperty(exports, "StatusPill", {
|
|
6272
6342
|
enumerable: true,
|
|
6273
|
-
get: function () { return
|
|
6343
|
+
get: function () { return chunkC3Q4TYFW_cjs.StatusPill; }
|
|
6274
6344
|
});
|
|
6275
6345
|
Object.defineProperty(exports, "Switch", {
|
|
6276
6346
|
enumerable: true,
|
|
6277
|
-
get: function () { return
|
|
6347
|
+
get: function () { return chunkC3Q4TYFW_cjs.Switch; }
|
|
6278
6348
|
});
|
|
6279
6349
|
Object.defineProperty(exports, "TAG_TYPE_ICONS", {
|
|
6280
6350
|
enumerable: true,
|
|
6281
|
-
get: function () { return
|
|
6351
|
+
get: function () { return chunkC3Q4TYFW_cjs.TAG_TYPE_ICONS; }
|
|
6282
6352
|
});
|
|
6283
6353
|
Object.defineProperty(exports, "TAG_TYPE_LABELS", {
|
|
6284
6354
|
enumerable: true,
|
|
6285
|
-
get: function () { return
|
|
6355
|
+
get: function () { return chunkC3Q4TYFW_cjs.TAG_TYPE_LABELS; }
|
|
6286
6356
|
});
|
|
6287
6357
|
Object.defineProperty(exports, "Table", {
|
|
6288
6358
|
enumerable: true,
|
|
6289
|
-
get: function () { return
|
|
6359
|
+
get: function () { return chunkC3Q4TYFW_cjs.Table; }
|
|
6290
6360
|
});
|
|
6291
6361
|
Object.defineProperty(exports, "TableBody", {
|
|
6292
6362
|
enumerable: true,
|
|
6293
|
-
get: function () { return
|
|
6363
|
+
get: function () { return chunkC3Q4TYFW_cjs.TableBody; }
|
|
6294
6364
|
});
|
|
6295
6365
|
Object.defineProperty(exports, "TableCaption", {
|
|
6296
6366
|
enumerable: true,
|
|
6297
|
-
get: function () { return
|
|
6367
|
+
get: function () { return chunkC3Q4TYFW_cjs.TableCaption; }
|
|
6298
6368
|
});
|
|
6299
6369
|
Object.defineProperty(exports, "TableCell", {
|
|
6300
6370
|
enumerable: true,
|
|
6301
|
-
get: function () { return
|
|
6371
|
+
get: function () { return chunkC3Q4TYFW_cjs.TableCell; }
|
|
6302
6372
|
});
|
|
6303
6373
|
Object.defineProperty(exports, "TableFooter", {
|
|
6304
6374
|
enumerable: true,
|
|
6305
|
-
get: function () { return
|
|
6375
|
+
get: function () { return chunkC3Q4TYFW_cjs.TableFooter; }
|
|
6306
6376
|
});
|
|
6307
6377
|
Object.defineProperty(exports, "TableHead", {
|
|
6308
6378
|
enumerable: true,
|
|
6309
|
-
get: function () { return
|
|
6379
|
+
get: function () { return chunkC3Q4TYFW_cjs.TableHead; }
|
|
6310
6380
|
});
|
|
6311
6381
|
Object.defineProperty(exports, "TableHeader", {
|
|
6312
6382
|
enumerable: true,
|
|
6313
|
-
get: function () { return
|
|
6383
|
+
get: function () { return chunkC3Q4TYFW_cjs.TableHeader; }
|
|
6314
6384
|
});
|
|
6315
6385
|
Object.defineProperty(exports, "TableRow", {
|
|
6316
6386
|
enumerable: true,
|
|
6317
|
-
get: function () { return
|
|
6387
|
+
get: function () { return chunkC3Q4TYFW_cjs.TableRow; }
|
|
6318
6388
|
});
|
|
6319
6389
|
Object.defineProperty(exports, "Tabs", {
|
|
6320
6390
|
enumerable: true,
|
|
6321
|
-
get: function () { return
|
|
6391
|
+
get: function () { return chunkC3Q4TYFW_cjs.Tabs; }
|
|
6322
6392
|
});
|
|
6323
6393
|
Object.defineProperty(exports, "TabsContent", {
|
|
6324
6394
|
enumerable: true,
|
|
6325
|
-
get: function () { return
|
|
6395
|
+
get: function () { return chunkC3Q4TYFW_cjs.TabsContent; }
|
|
6326
6396
|
});
|
|
6327
6397
|
Object.defineProperty(exports, "TabsList", {
|
|
6328
6398
|
enumerable: true,
|
|
6329
|
-
get: function () { return
|
|
6399
|
+
get: function () { return chunkC3Q4TYFW_cjs.TabsList; }
|
|
6330
6400
|
});
|
|
6331
6401
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
6332
6402
|
enumerable: true,
|
|
6333
|
-
get: function () { return
|
|
6403
|
+
get: function () { return chunkC3Q4TYFW_cjs.TabsTrigger; }
|
|
6334
6404
|
});
|
|
6335
6405
|
Object.defineProperty(exports, "TagEntity", {
|
|
6336
6406
|
enumerable: true,
|
|
6337
|
-
get: function () { return
|
|
6407
|
+
get: function () { return chunkC3Q4TYFW_cjs.TagEntity; }
|
|
6338
6408
|
});
|
|
6339
6409
|
Object.defineProperty(exports, "Textarea", {
|
|
6340
6410
|
enumerable: true,
|
|
6341
|
-
get: function () { return
|
|
6411
|
+
get: function () { return chunkC3Q4TYFW_cjs.Textarea; }
|
|
6342
6412
|
});
|
|
6343
6413
|
Object.defineProperty(exports, "Toggle", {
|
|
6344
6414
|
enumerable: true,
|
|
6345
|
-
get: function () { return
|
|
6415
|
+
get: function () { return chunkC3Q4TYFW_cjs.Toggle; }
|
|
6346
6416
|
});
|
|
6347
6417
|
Object.defineProperty(exports, "ToggleGroup", {
|
|
6348
6418
|
enumerable: true,
|
|
6349
|
-
get: function () { return
|
|
6419
|
+
get: function () { return chunkC3Q4TYFW_cjs.ToggleGroup; }
|
|
6350
6420
|
});
|
|
6351
6421
|
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
6352
6422
|
enumerable: true,
|
|
6353
|
-
get: function () { return
|
|
6423
|
+
get: function () { return chunkC3Q4TYFW_cjs.ToggleGroupItem; }
|
|
6354
6424
|
});
|
|
6355
6425
|
Object.defineProperty(exports, "Tooltip", {
|
|
6356
6426
|
enumerable: true,
|
|
6357
|
-
get: function () { return
|
|
6427
|
+
get: function () { return chunkC3Q4TYFW_cjs.Tooltip; }
|
|
6358
6428
|
});
|
|
6359
6429
|
Object.defineProperty(exports, "TooltipContent", {
|
|
6360
6430
|
enumerable: true,
|
|
6361
|
-
get: function () { return
|
|
6431
|
+
get: function () { return chunkC3Q4TYFW_cjs.TooltipContent; }
|
|
6362
6432
|
});
|
|
6363
6433
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
6364
6434
|
enumerable: true,
|
|
6365
|
-
get: function () { return
|
|
6435
|
+
get: function () { return chunkC3Q4TYFW_cjs.TooltipProvider; }
|
|
6366
6436
|
});
|
|
6367
6437
|
Object.defineProperty(exports, "TooltipTrigger", {
|
|
6368
6438
|
enumerable: true,
|
|
6369
|
-
get: function () { return
|
|
6439
|
+
get: function () { return chunkC3Q4TYFW_cjs.TooltipTrigger; }
|
|
6370
6440
|
});
|
|
6371
6441
|
Object.defineProperty(exports, "UserEntity", {
|
|
6372
6442
|
enumerable: true,
|
|
6373
|
-
get: function () { return
|
|
6443
|
+
get: function () { return chunkC3Q4TYFW_cjs.UserEntity; }
|
|
6374
6444
|
});
|
|
6375
6445
|
Object.defineProperty(exports, "UserMenu", {
|
|
6376
6446
|
enumerable: true,
|
|
6377
|
-
get: function () { return
|
|
6447
|
+
get: function () { return chunkC3Q4TYFW_cjs.UserMenu; }
|
|
6378
6448
|
});
|
|
6379
6449
|
Object.defineProperty(exports, "VISIBILITY_ICONS", {
|
|
6380
6450
|
enumerable: true,
|
|
6381
|
-
get: function () { return
|
|
6451
|
+
get: function () { return chunkC3Q4TYFW_cjs.VISIBILITY_ICONS; }
|
|
6382
6452
|
});
|
|
6383
6453
|
Object.defineProperty(exports, "VidIcon", {
|
|
6384
6454
|
enumerable: true,
|
|
6385
|
-
get: function () { return
|
|
6455
|
+
get: function () { return chunkC3Q4TYFW_cjs.VidIcon; }
|
|
6386
6456
|
});
|
|
6387
6457
|
Object.defineProperty(exports, "VisibilityIcon", {
|
|
6388
6458
|
enumerable: true,
|
|
6389
|
-
get: function () { return
|
|
6459
|
+
get: function () { return chunkC3Q4TYFW_cjs.VisibilityIcon; }
|
|
6460
|
+
});
|
|
6461
|
+
Object.defineProperty(exports, "VisibilityToggle", {
|
|
6462
|
+
enumerable: true,
|
|
6463
|
+
get: function () { return chunkC3Q4TYFW_cjs.VisibilityToggle; }
|
|
6390
6464
|
});
|
|
6391
6465
|
Object.defineProperty(exports, "badgeVariants", {
|
|
6392
6466
|
enumerable: true,
|
|
6393
|
-
get: function () { return
|
|
6467
|
+
get: function () { return chunkC3Q4TYFW_cjs.badgeVariants; }
|
|
6394
6468
|
});
|
|
6395
6469
|
Object.defineProperty(exports, "buttonVariants", {
|
|
6396
6470
|
enumerable: true,
|
|
6397
|
-
get: function () { return
|
|
6471
|
+
get: function () { return chunkC3Q4TYFW_cjs.buttonVariants; }
|
|
6398
6472
|
});
|
|
6399
6473
|
Object.defineProperty(exports, "cardVariants", {
|
|
6400
6474
|
enumerable: true,
|
|
6401
|
-
get: function () { return
|
|
6475
|
+
get: function () { return chunkC3Q4TYFW_cjs.cardVariants; }
|
|
6402
6476
|
});
|
|
6403
6477
|
Object.defineProperty(exports, "configureEntityRegistry", {
|
|
6404
6478
|
enumerable: true,
|
|
6405
|
-
get: function () { return
|
|
6479
|
+
get: function () { return chunkC3Q4TYFW_cjs.configureEntityRegistry; }
|
|
6406
6480
|
});
|
|
6407
6481
|
Object.defineProperty(exports, "configureRagLabels", {
|
|
6408
6482
|
enumerable: true,
|
|
6409
|
-
get: function () { return
|
|
6483
|
+
get: function () { return chunkC3Q4TYFW_cjs.configureRagLabels; }
|
|
6410
6484
|
});
|
|
6411
6485
|
Object.defineProperty(exports, "configureStatusRegistry", {
|
|
6412
6486
|
enumerable: true,
|
|
6413
|
-
get: function () { return
|
|
6487
|
+
get: function () { return chunkC3Q4TYFW_cjs.configureStatusRegistry; }
|
|
6414
6488
|
});
|
|
6415
6489
|
Object.defineProperty(exports, "formatElapsed", {
|
|
6416
6490
|
enumerable: true,
|
|
6417
|
-
get: function () { return
|
|
6491
|
+
get: function () { return chunkC3Q4TYFW_cjs.formatElapsed; }
|
|
6418
6492
|
});
|
|
6419
6493
|
Object.defineProperty(exports, "getDocIcon", {
|
|
6420
6494
|
enumerable: true,
|
|
6421
|
-
get: function () { return
|
|
6495
|
+
get: function () { return chunkC3Q4TYFW_cjs.getDocIcon; }
|
|
6422
6496
|
});
|
|
6423
6497
|
Object.defineProperty(exports, "getEntityColor", {
|
|
6424
6498
|
enumerable: true,
|
|
6425
|
-
get: function () { return
|
|
6499
|
+
get: function () { return chunkC3Q4TYFW_cjs.getEntityColor; }
|
|
6426
6500
|
});
|
|
6427
6501
|
Object.defineProperty(exports, "getEntityColorStyles", {
|
|
6428
6502
|
enumerable: true,
|
|
6429
|
-
get: function () { return
|
|
6503
|
+
get: function () { return chunkC3Q4TYFW_cjs.getEntityColorStyles; }
|
|
6430
6504
|
});
|
|
6431
6505
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
6432
6506
|
enumerable: true,
|
|
6433
|
-
get: function () { return
|
|
6507
|
+
get: function () { return chunkC3Q4TYFW_cjs.getEntityIcon; }
|
|
6434
6508
|
});
|
|
6435
6509
|
Object.defineProperty(exports, "getEntityLabel", {
|
|
6436
6510
|
enumerable: true,
|
|
6437
|
-
get: function () { return
|
|
6511
|
+
get: function () { return chunkC3Q4TYFW_cjs.getEntityLabel; }
|
|
6438
6512
|
});
|
|
6439
6513
|
Object.defineProperty(exports, "getStatusVariant", {
|
|
6440
6514
|
enumerable: true,
|
|
6441
|
-
get: function () { return
|
|
6515
|
+
get: function () { return chunkC3Q4TYFW_cjs.getStatusVariant; }
|
|
6442
6516
|
});
|
|
6443
6517
|
Object.defineProperty(exports, "getTagTypeIcon", {
|
|
6444
6518
|
enumerable: true,
|
|
6445
|
-
get: function () { return
|
|
6519
|
+
get: function () { return chunkC3Q4TYFW_cjs.getTagTypeIcon; }
|
|
6446
6520
|
});
|
|
6447
6521
|
Object.defineProperty(exports, "getTagTypeLabel", {
|
|
6448
6522
|
enumerable: true,
|
|
6449
|
-
get: function () { return
|
|
6523
|
+
get: function () { return chunkC3Q4TYFW_cjs.getTagTypeLabel; }
|
|
6450
6524
|
});
|
|
6451
6525
|
Object.defineProperty(exports, "getWorkspaceColor", {
|
|
6452
6526
|
enumerable: true,
|
|
6453
|
-
get: function () { return
|
|
6527
|
+
get: function () { return chunkC3Q4TYFW_cjs.getWorkspaceColor; }
|
|
6454
6528
|
});
|
|
6455
6529
|
Object.defineProperty(exports, "toggleVariants", {
|
|
6456
6530
|
enumerable: true,
|
|
6457
|
-
get: function () { return
|
|
6531
|
+
get: function () { return chunkC3Q4TYFW_cjs.toggleVariants; }
|
|
6458
6532
|
});
|
|
6459
6533
|
Object.defineProperty(exports, "useAudioRecorder", {
|
|
6460
6534
|
enumerable: true,
|
|
6461
|
-
get: function () { return
|
|
6535
|
+
get: function () { return chunkC3Q4TYFW_cjs.useAudioRecorder; }
|
|
6462
6536
|
});
|
|
6463
6537
|
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
6464
6538
|
enumerable: true,
|
|
@@ -6678,12 +6752,15 @@ exports.useCameraStream = useCameraStream;
|
|
|
6678
6752
|
exports.useCommandPalette = useCommandPalette;
|
|
6679
6753
|
exports.useConfirmEmailChange = useConfirmEmailChange;
|
|
6680
6754
|
exports.useContacts = useContacts;
|
|
6755
|
+
exports.useConversationActivity = useConversationActivity;
|
|
6756
|
+
exports.useConversationPendingAuth = useConversationPendingAuth;
|
|
6681
6757
|
exports.useCreateAgent = useCreateAgent;
|
|
6682
|
-
exports.
|
|
6758
|
+
exports.useCreateWork = useCreateWork;
|
|
6759
|
+
exports.useCreateWorkflow = useCreateWorkflow;
|
|
6683
6760
|
exports.useCurrentSessionId = useCurrentSessionId;
|
|
6684
6761
|
exports.useDeleteAccount = useDeleteAccount;
|
|
6685
6762
|
exports.useDeleteAccountFlow = useDeleteAccountFlow;
|
|
6686
|
-
exports.
|
|
6763
|
+
exports.useDeleteWorkflow = useDeleteWorkflow;
|
|
6687
6764
|
exports.useDirectMessages = useDirectMessages;
|
|
6688
6765
|
exports.useEmailChange = useEmailChange;
|
|
6689
6766
|
exports.useGrantAgentAccess = useGrantAgentAccess;
|
|
@@ -6693,21 +6770,26 @@ exports.useNotificationPreferences = useNotificationPreferences;
|
|
|
6693
6770
|
exports.usePasswordChange = usePasswordChange;
|
|
6694
6771
|
exports.usePasswordChangeForm = usePasswordChangeForm;
|
|
6695
6772
|
exports.usePendingContacts = usePendingContacts;
|
|
6773
|
+
exports.usePlanWork = usePlanWork;
|
|
6696
6774
|
exports.useProfile = useProfile;
|
|
6697
6775
|
exports.useRemoveContacts = useRemoveContacts;
|
|
6776
|
+
exports.useRequestConversationApproval = useRequestConversationApproval;
|
|
6698
6777
|
exports.useRequestEmailChange = useRequestEmailChange;
|
|
6778
|
+
exports.useReviewConversation = useReviewConversation;
|
|
6699
6779
|
exports.useRevokeAgentAccess = useRevokeAgentAccess;
|
|
6700
|
-
exports.
|
|
6780
|
+
exports.useRunConversation = useRunConversation;
|
|
6781
|
+
exports.useRunWorkflow = useRunWorkflow;
|
|
6701
6782
|
exports.useSaveAgentConfig = useSaveAgentConfig;
|
|
6702
6783
|
exports.useSemanticSearch = useSemanticSearch;
|
|
6703
6784
|
exports.useShellWorkspaces = useShellWorkspaces;
|
|
6704
6785
|
exports.useSkills = useSkills;
|
|
6705
|
-
exports.useTaskRuns = useTaskRuns;
|
|
6706
6786
|
exports.useTerminateSession = useTerminateSession;
|
|
6787
|
+
exports.useUpdateConversation = useUpdateConversation;
|
|
6707
6788
|
exports.useUpdateProfile = useUpdateProfile;
|
|
6708
|
-
exports.
|
|
6789
|
+
exports.useUpdateWorkflow = useUpdateWorkflow;
|
|
6709
6790
|
exports.useUserSettings = useUserSettings;
|
|
6710
6791
|
exports.useVideoRecorder = useVideoRecorder;
|
|
6792
|
+
exports.useWorkflows = useWorkflows;
|
|
6711
6793
|
exports.useWorkspaceDocs = useWorkspaceDocs;
|
|
6712
6794
|
exports.userDisplayName = userDisplayName;
|
|
6713
6795
|
exports.userInitials = userInitials;
|