@arbidocs/react 0.5.73 → 0.5.74
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/README.md +80 -66
- package/dist/artifacts/index.cjs +2 -2
- package/dist/artifacts/index.js +1 -1
- package/dist/calls/livekit/index.cjs +41 -41
- package/dist/calls/livekit/index.js +2 -2
- package/dist/{chunk-M3SB5TZB.js → chunk-6PNLCGMJ.js} +3 -3
- package/dist/{chunk-M3SB5TZB.js.map → chunk-6PNLCGMJ.js.map} +1 -1
- package/dist/{chunk-RS6UUPD2.cjs → chunk-BF7ABX3X.cjs} +875 -633
- package/dist/chunk-BF7ABX3X.cjs.map +1 -0
- package/dist/{chunk-HXITD6DN.cjs → chunk-C5SVEWPU.cjs} +5 -5
- package/dist/{chunk-HXITD6DN.cjs.map → chunk-C5SVEWPU.cjs.map} +1 -1
- package/dist/{chunk-QGOYIYLI.js → chunk-YWU7HEHL.js} +870 -634
- package/dist/chunk-YWU7HEHL.js.map +1 -0
- package/dist/index.cjs +470 -421
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +353 -229
- package/dist/index.d.ts +353 -229
- package/dist/index.js +30 -5
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-QGOYIYLI.js.map +0 -1
- package/dist/chunk-RS6UUPD2.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkC5SVEWPU_cjs = require('./chunk-C5SVEWPU.cjs');
|
|
5
5
|
var chunkZNQPUPX6_cjs = require('./chunk-ZNQPUPX6.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkBF7ABX3X_cjs = require('./chunk-BF7ABX3X.cjs');
|
|
7
7
|
var chunkTGSEQGM3_cjs = require('./chunk-TGSEQGM3.cjs');
|
|
8
8
|
var chunkGQAXAZN7_cjs = require('./chunk-GQAXAZN7.cjs');
|
|
9
9
|
var chunkY7S2SQH3_cjs = require('./chunk-Y7S2SQH3.cjs');
|
|
@@ -43,10 +43,10 @@ var Cropper__default = /*#__PURE__*/_interopDefault(Cropper);
|
|
|
43
43
|
// src/host/index.ts
|
|
44
44
|
var ArbiHost2 = chunkLMW46NBD_cjs.ArbiHost;
|
|
45
45
|
function useCurrentWorkspace() {
|
|
46
|
-
const workspaceId =
|
|
47
|
-
const workspaceStatus =
|
|
48
|
-
const userId =
|
|
49
|
-
const { data: workspaces } =
|
|
46
|
+
const workspaceId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
47
|
+
const workspaceStatus = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
48
|
+
const userId = chunkBF7ABX3X_cjs.useArbiSession().user?.external_id ?? null;
|
|
49
|
+
const { data: workspaces } = chunkBF7ABX3X_cjs.useWorkspaces();
|
|
50
50
|
const workspace = workspaceId ? workspaces?.find((w) => w.external_id === workspaceId) : void 0;
|
|
51
51
|
const membership = userId ? workspace?.users?.find((member) => member.user.external_id === userId) : void 0;
|
|
52
52
|
const role = membership?.role ?? null;
|
|
@@ -86,9 +86,9 @@ function holdListPoll(refetch) {
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
function useConversationItems() {
|
|
89
|
-
const workspaceId =
|
|
90
|
-
const open =
|
|
91
|
-
const query =
|
|
89
|
+
const workspaceId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
90
|
+
const open = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
|
|
91
|
+
const query = chunkBF7ABX3X_cjs.useConversations(workspaceId ?? void 0, { enabled: open });
|
|
92
92
|
const { refetch } = query;
|
|
93
93
|
const all = query.data;
|
|
94
94
|
const tasks = React.useMemo(() => (all ?? []).filter((c) => c.status != null), [all]);
|
|
@@ -109,7 +109,7 @@ function useConversationItems() {
|
|
|
109
109
|
return { conversations: all ?? [], tasks, isLoading: query.isLoading, refetch };
|
|
110
110
|
}
|
|
111
111
|
function useConversationIsShared() {
|
|
112
|
-
const id =
|
|
112
|
+
const id = chunkBF7ABX3X_cjs.useArbiSessionState((state) => state.conversationId);
|
|
113
113
|
const { conversations } = useConversationItems();
|
|
114
114
|
return conversations.find((conversation) => conversation.external_id === id)?.is_shared ?? false;
|
|
115
115
|
}
|
|
@@ -134,7 +134,7 @@ function useNotifyConversation() {
|
|
|
134
134
|
mutationFn: ({ conversationId, userIds }) => arbi.conversations.notify(conversationId, userIds),
|
|
135
135
|
onSuccess: (_data, { conversationId }) => {
|
|
136
136
|
invalidateConversationActivity(qc, conversationId);
|
|
137
|
-
void
|
|
137
|
+
void chunkC5SVEWPU_cjs.invalidateConversationLists(qc);
|
|
138
138
|
}
|
|
139
139
|
});
|
|
140
140
|
}
|
|
@@ -151,7 +151,7 @@ var THREAD_LOOKUP_DELAY_MS = 500;
|
|
|
151
151
|
function useStartTaskQuery() {
|
|
152
152
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
153
153
|
const queryClient = reactQuery.useQueryClient();
|
|
154
|
-
const chatModel =
|
|
154
|
+
const chatModel = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.chatModel);
|
|
155
155
|
const post = reactQuery.useMutation({
|
|
156
156
|
mutationFn: (query) => {
|
|
157
157
|
const selectedConfig = chatModel || queryClient.getQueriesData({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.userSettings() }).map(([, settings]) => settings?.last_config).find(Boolean);
|
|
@@ -185,7 +185,7 @@ function useStartTaskQuery() {
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
if (!conversationId) return null;
|
|
188
|
-
await
|
|
188
|
+
await chunkC5SVEWPU_cjs.invalidateConversationLists(queryClient);
|
|
189
189
|
return { conversationId };
|
|
190
190
|
};
|
|
191
191
|
return {
|
|
@@ -214,8 +214,8 @@ function useUpdateConversation() {
|
|
|
214
214
|
}) => arbi.conversations.update(conversationId, patch),
|
|
215
215
|
// The list takes the server's version of the row; what hangs off it is read again.
|
|
216
216
|
onSuccess: (updated, { conversationId }) => {
|
|
217
|
-
|
|
218
|
-
return
|
|
217
|
+
chunkC5SVEWPU_cjs.patchConversation(qc, conversationId, updated);
|
|
218
|
+
return chunkC5SVEWPU_cjs.invalidateConversationDetails(qc, conversationId);
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
}
|
|
@@ -224,7 +224,7 @@ function useDeleteConversation() {
|
|
|
224
224
|
const qc = reactQuery.useQueryClient();
|
|
225
225
|
return reactQuery.useMutation({
|
|
226
226
|
mutationFn: (conversationId) => arbi.conversations.delete(conversationId),
|
|
227
|
-
onSuccess: (_res, conversationId) =>
|
|
227
|
+
onSuccess: (_res, conversationId) => chunkC5SVEWPU_cjs.removeConversationFromLists(qc, conversationId)
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
function useConversationSearch() {
|
|
@@ -241,7 +241,7 @@ function useCreateWork() {
|
|
|
241
241
|
// The workspace it was created from, read when it is sent: one switched to while the request
|
|
242
242
|
// ran must not receive it in its list.
|
|
243
243
|
onMutate: () => ({ workspaceId: arbi.hasWorkspace ? arbi.getWorkspaceId() : null }),
|
|
244
|
-
onSuccess: (created, _body, context) =>
|
|
244
|
+
onSuccess: (created, _body, context) => chunkC5SVEWPU_cjs.addConversationToList(qc, context?.workspaceId ?? null, created)
|
|
245
245
|
});
|
|
246
246
|
}
|
|
247
247
|
function useRunConversation() {
|
|
@@ -251,7 +251,7 @@ function useRunConversation() {
|
|
|
251
251
|
mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
|
|
252
252
|
// The server's version replaces the listed one; everything under the conversation is re-read.
|
|
253
253
|
onSuccess: (updated) => {
|
|
254
|
-
if (updated?.external_id)
|
|
254
|
+
if (updated?.external_id) chunkC5SVEWPU_cjs.patchConversation(qc, updated.external_id, updated);
|
|
255
255
|
return qc.invalidateQueries({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.allConversations() });
|
|
256
256
|
}
|
|
257
257
|
});
|
|
@@ -267,7 +267,7 @@ function useActOnStep() {
|
|
|
267
267
|
// The server's version of the conversation replaces the listed one; its history is re-read.
|
|
268
268
|
onSuccess: (updated) => {
|
|
269
269
|
if (!updated?.external_id) return;
|
|
270
|
-
|
|
270
|
+
chunkC5SVEWPU_cjs.patchConversation(qc, updated.external_id, updated);
|
|
271
271
|
invalidateConversationActivity(qc, updated.external_id);
|
|
272
272
|
}
|
|
273
273
|
});
|
|
@@ -1354,18 +1354,18 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
|
|
|
1354
1354
|
if (!conversationId) return newMode;
|
|
1355
1355
|
const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
|
|
1356
1356
|
if (threads?.assistant_mode) return threads.assistant_mode;
|
|
1357
|
-
return
|
|
1357
|
+
return chunkC5SVEWPU_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
|
|
1358
1358
|
}
|
|
1359
1359
|
function isCommentToPeople(queryClient, conversationId, content, candidates) {
|
|
1360
1360
|
const mentioned = chunkLMW46NBD_cjs.extractMentions(content, candidates);
|
|
1361
1361
|
if (mentioned.some((c) => c.kind === "assistant")) return false;
|
|
1362
|
-
if (
|
|
1362
|
+
if (chunkC5SVEWPU_cjs.isConversationShared(queryClient, conversationId)) return true;
|
|
1363
1363
|
if (mentioned.some((c) => c.kind === "user")) return true;
|
|
1364
1364
|
return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned";
|
|
1365
1365
|
}
|
|
1366
1366
|
function useMentionCandidates() {
|
|
1367
1367
|
const { data: users = [] } = useWorkspaceUsers();
|
|
1368
|
-
const currentUserId =
|
|
1368
|
+
const currentUserId = chunkBF7ABX3X_cjs.useArbiSession().user?.external_id;
|
|
1369
1369
|
return React.useMemo(() => buildMentionCandidates(users, currentUserId), [users, currentUserId]);
|
|
1370
1370
|
}
|
|
1371
1371
|
function isFullConfig(config) {
|
|
@@ -1456,12 +1456,12 @@ function useSaveConfigField(baseConfigId) {
|
|
|
1456
1456
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
1457
1457
|
const queryClient = reactQuery.useQueryClient();
|
|
1458
1458
|
const saveConfig = useSaveConfig();
|
|
1459
|
-
const { data: defaultConfig } =
|
|
1460
|
-
const chatModel =
|
|
1461
|
-
const { data: userSettings } =
|
|
1459
|
+
const { data: defaultConfig } = chunkBF7ABX3X_cjs.useConfig("default");
|
|
1460
|
+
const chatModel = chunkBF7ABX3X_cjs.useArbiSessionState((state) => state.chatModel);
|
|
1461
|
+
const { data: userSettings } = chunkC5SVEWPU_cjs.useUserSettings();
|
|
1462
1462
|
const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
|
|
1463
|
-
const { data: activeConfigData } =
|
|
1464
|
-
const session =
|
|
1463
|
+
const { data: activeConfigData } = chunkBF7ABX3X_cjs.useConfig(activeConfigId);
|
|
1464
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
1465
1465
|
const chain = React.useRef(null);
|
|
1466
1466
|
const buildDelta = (changes) => deltaOnto(
|
|
1467
1467
|
changes,
|
|
@@ -1532,8 +1532,8 @@ function pendingChatModelSave(session) {
|
|
|
1532
1532
|
return chatModelSaves.get(session);
|
|
1533
1533
|
}
|
|
1534
1534
|
function useApplyChatModel() {
|
|
1535
|
-
const session =
|
|
1536
|
-
const { data: availableModels } =
|
|
1535
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
1536
|
+
const { data: availableModels } = chunkBF7ABX3X_cjs.useAvailableModels();
|
|
1537
1537
|
const configField = useSaveConfigField();
|
|
1538
1538
|
return React.useCallback(
|
|
1539
1539
|
async (model, label) => {
|
|
@@ -1558,10 +1558,31 @@ function useApplyChatModel() {
|
|
|
1558
1558
|
);
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
|
+
// src/chat/agent-chat-owner.ts
|
|
1562
|
+
var AGENTS_FRESH_MS = 6e4;
|
|
1563
|
+
function creatorOf(queryClient, conversationId) {
|
|
1564
|
+
for (const [, data] of queryClient.getQueriesData({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.allConversations() })) {
|
|
1565
|
+
if (!Array.isArray(data)) continue;
|
|
1566
|
+
const row = data.find((entry) => entry?.external_id === conversationId);
|
|
1567
|
+
if (row?.created_by_ext_id) return row.created_by_ext_id;
|
|
1568
|
+
}
|
|
1569
|
+
return null;
|
|
1570
|
+
}
|
|
1571
|
+
async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
|
|
1572
|
+
const creator = creatorOf(queryClient, conversationId);
|
|
1573
|
+
if (!creator?.startsWith("agt-")) return void 0;
|
|
1574
|
+
const agents = await queryClient.fetchQuery({
|
|
1575
|
+
queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.agents(),
|
|
1576
|
+
queryFn: listAgents,
|
|
1577
|
+
staleTime: AGENTS_FRESH_MS
|
|
1578
|
+
}).catch(() => void 0);
|
|
1579
|
+
return agents?.some((agent) => agent.external_id === creator) ? creator : void 0;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1561
1582
|
// src/chat/thread-binding.ts
|
|
1562
1583
|
function threadBinding(queryClient, conversationId) {
|
|
1563
1584
|
if (!conversationId) return chunkLMW46NBD_cjs.UNBOUND;
|
|
1564
|
-
const row =
|
|
1585
|
+
const row = chunkC5SVEWPU_cjs.findConversation(queryClient, conversationId);
|
|
1565
1586
|
if (row) return chunkLMW46NBD_cjs.bindingOfRow(row);
|
|
1566
1587
|
const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
|
|
1567
1588
|
return chunkLMW46NBD_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
|
|
@@ -1574,7 +1595,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
|
|
|
1574
1595
|
bound_document_ext_id: binding.documentId,
|
|
1575
1596
|
bound_document_unavailable: binding.unavailable
|
|
1576
1597
|
};
|
|
1577
|
-
|
|
1598
|
+
chunkC5SVEWPU_cjs.patchConversation(queryClient, conversationId, fields);
|
|
1578
1599
|
queryClient.setQueryData(
|
|
1579
1600
|
getThreadsQueryKey(conversationId),
|
|
1580
1601
|
(old) => old ? { ...old, ...fields } : old
|
|
@@ -1588,7 +1609,7 @@ async function bindThreadDocument(arbi, queryClient, conversationId, documentId)
|
|
|
1588
1609
|
const saved = await arbi.conversations.update(conversationId, {
|
|
1589
1610
|
bound_document_ext_id: documentId
|
|
1590
1611
|
});
|
|
1591
|
-
|
|
1612
|
+
chunkC5SVEWPU_cjs.patchConversation(queryClient, conversationId, saved);
|
|
1592
1613
|
cacheThreadBinding(queryClient, conversationId, chunkLMW46NBD_cjs.bindingOfRow(saved));
|
|
1593
1614
|
} catch (error) {
|
|
1594
1615
|
cacheThreadBinding(queryClient, conversationId, before);
|
|
@@ -2518,13 +2539,13 @@ function DocumentReview({
|
|
|
2518
2539
|
});
|
|
2519
2540
|
const status = processingInProp ? polled?.status ?? doc?.status : doc?.status;
|
|
2520
2541
|
const noTextYet = stage === "final" && !!status && !PARSED_STATUSES.has(status);
|
|
2521
|
-
const parsedQuery =
|
|
2542
|
+
const parsedQuery = chunkBF7ABX3X_cjs.useParsedDocument(docId, stage, { enabled: !noTextYet });
|
|
2522
2543
|
const { isError: parsedFailed, refetch: refetchParsed } = parsedQuery;
|
|
2523
2544
|
const readable = !!status && !noTextYet;
|
|
2524
2545
|
React__default.default.useEffect(() => {
|
|
2525
2546
|
if (readable && parsedFailed) void refetchParsed();
|
|
2526
2547
|
}, [readable]);
|
|
2527
|
-
const tagsQuery =
|
|
2548
|
+
const tagsQuery = chunkBF7ABX3X_cjs.useTags(workspaceId);
|
|
2528
2549
|
const tagNameById = React__default.default.useMemo(() => {
|
|
2529
2550
|
const map = /* @__PURE__ */ new Map();
|
|
2530
2551
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -3429,7 +3450,7 @@ function useUploadFiles() {
|
|
|
3429
3450
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
3430
3451
|
const qc = reactQuery.useQueryClient();
|
|
3431
3452
|
const { resolveWorkspaceKey } = useDocumentsSupport();
|
|
3432
|
-
const { data: settings } =
|
|
3453
|
+
const { data: settings } = chunkC5SVEWPU_cjs.useUserSettings();
|
|
3433
3454
|
const { mutateAsync: generateDocTags } = useGenerateDocTags();
|
|
3434
3455
|
const direct = settings?.use_s3_direct_upload === true;
|
|
3435
3456
|
return React.useCallback(
|
|
@@ -3869,7 +3890,7 @@ var PENDING_SYNC_PREDICATE = (m) => (
|
|
|
3869
3890
|
);
|
|
3870
3891
|
function usePendingSyncItems() {
|
|
3871
3892
|
const { data: documents2 } = chunkZNQPUPX6_cjs.useDocuments();
|
|
3872
|
-
const { data: tags } =
|
|
3893
|
+
const { data: tags } = chunkBF7ABX3X_cjs.useTags();
|
|
3873
3894
|
const raw = reactQuery.useMutationState({
|
|
3874
3895
|
filters: { predicate: PENDING_SYNC_PREDICATE },
|
|
3875
3896
|
select: (m) => ({
|
|
@@ -4089,11 +4110,11 @@ function createStreamHandlers(ctx, params) {
|
|
|
4089
4110
|
const clientId = streamState.queuedClientId;
|
|
4090
4111
|
if (!clientId || queuedEntryRetired) return;
|
|
4091
4112
|
queuedEntryRetired = true;
|
|
4092
|
-
const entry =
|
|
4113
|
+
const entry = chunkBF7ABX3X_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
|
|
4093
4114
|
if (!entry) return;
|
|
4094
4115
|
const remainingVisibility = Math.max(
|
|
4095
4116
|
0,
|
|
4096
|
-
|
|
4117
|
+
chunkBF7ABX3X_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
|
|
4097
4118
|
);
|
|
4098
4119
|
if (remainingVisibility === 0) {
|
|
4099
4120
|
session.removeQueuedMessage(clientId);
|
|
@@ -4109,7 +4130,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4109
4130
|
session.moveConversation("new", serverConversationId);
|
|
4110
4131
|
const userExtId = ctx.userId();
|
|
4111
4132
|
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
4112
|
-
|
|
4133
|
+
chunkC5SVEWPU_cjs.patchConversationList(
|
|
4113
4134
|
queryClient,
|
|
4114
4135
|
streamState.workspaceId ?? session.getState().workspaceId,
|
|
4115
4136
|
(old) => old.some((c) => c.external_id === serverConversationId) ? old : [
|
|
@@ -4231,7 +4252,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4231
4252
|
ensureAssistantMessageLoading(queryClient, conversationId, answerId);
|
|
4232
4253
|
});
|
|
4233
4254
|
}
|
|
4234
|
-
void
|
|
4255
|
+
void chunkC5SVEWPU_cjs.invalidateConversationLists(queryClient);
|
|
4235
4256
|
session.setCursor(streamState.assistantId);
|
|
4236
4257
|
};
|
|
4237
4258
|
let firstTokenSeen = false;
|
|
@@ -4431,7 +4452,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4431
4452
|
}
|
|
4432
4453
|
function useStreamHandlers() {
|
|
4433
4454
|
const queryClient = reactQuery.useQueryClient();
|
|
4434
|
-
const session =
|
|
4455
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
4435
4456
|
const config = chunkY7S2SQH3_cjs.useArbiHost();
|
|
4436
4457
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
4437
4458
|
return React.useCallback(
|
|
@@ -4524,7 +4545,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
|
|
|
4524
4545
|
// src/chat/useConversationActions.ts
|
|
4525
4546
|
var RECONCILE_TIMEOUT_MS = 5e3;
|
|
4526
4547
|
function draftAfterSend(queryClient, session, wasComment) {
|
|
4527
|
-
const shared =
|
|
4548
|
+
const shared = chunkC5SVEWPU_cjs.isConversationShared(queryClient, session.getState().conversationId);
|
|
4528
4549
|
return shared && !wasComment ? `@${ASSISTANT_MENTION_LABEL} ` : "";
|
|
4529
4550
|
}
|
|
4530
4551
|
function failQueuedContinuation(queryClient, session, streamState) {
|
|
@@ -4557,7 +4578,7 @@ function useConversationActions({
|
|
|
4557
4578
|
lastFailedMessage
|
|
4558
4579
|
}) {
|
|
4559
4580
|
const queryClient = reactQuery.useQueryClient();
|
|
4560
|
-
const session =
|
|
4581
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
4561
4582
|
const currentConversationId = conversationKey2 === "new" ? null : conversationKey2;
|
|
4562
4583
|
const invalidateUserWorkspaces = React.useCallback(
|
|
4563
4584
|
() => void queryClient.invalidateQueries({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.workspaces() }),
|
|
@@ -4616,7 +4637,7 @@ function useConversationActions({
|
|
|
4616
4637
|
const bindTo = session.getState().newChatDocumentId;
|
|
4617
4638
|
session.moveConversation("new", conversationId);
|
|
4618
4639
|
if (bindTo) session.setNewChatDocumentId(null);
|
|
4619
|
-
|
|
4640
|
+
chunkC5SVEWPU_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
|
|
4620
4641
|
{
|
|
4621
4642
|
external_id: conversationId,
|
|
4622
4643
|
title: content.slice(0, 40),
|
|
@@ -4638,14 +4659,14 @@ function useConversationActions({
|
|
|
4638
4659
|
);
|
|
4639
4660
|
invalidateUserWorkspaces();
|
|
4640
4661
|
} else {
|
|
4641
|
-
|
|
4662
|
+
chunkC5SVEWPU_cjs.patchConversation(queryClient, conversationId, (c) => ({
|
|
4642
4663
|
...c,
|
|
4643
4664
|
message_count: c.message_count + 1,
|
|
4644
4665
|
updated_at: nowIso
|
|
4645
4666
|
}));
|
|
4646
4667
|
}
|
|
4647
4668
|
if (mentions.some((m) => m.type === "user")) {
|
|
4648
|
-
await
|
|
4669
|
+
await chunkC5SVEWPU_cjs.invalidateConversationLists(queryClient);
|
|
4649
4670
|
}
|
|
4650
4671
|
await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
4651
4672
|
session.setCursor(saved.external_id);
|
|
@@ -4653,7 +4674,7 @@ function useConversationActions({
|
|
|
4653
4674
|
chunkDZUBZ45Y_cjs.notify.error(
|
|
4654
4675
|
error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
|
|
4655
4676
|
);
|
|
4656
|
-
if (!
|
|
4677
|
+
if (!chunkBF7ABX3X_cjs.selectDraft(session.getState())) session.setDraft(content);
|
|
4657
4678
|
}
|
|
4658
4679
|
},
|
|
4659
4680
|
[arbi, session, queryClient, invalidateUserWorkspaces]
|
|
@@ -4678,7 +4699,11 @@ function useConversationActions({
|
|
|
4678
4699
|
const convKey = convId || "new";
|
|
4679
4700
|
const turnWorkspaceId = target?.workspaceId ?? conversationWorkspaceOf(queryClient, convId) ?? selectedWorkspaceId;
|
|
4680
4701
|
const agentChat = state.newAgentChat;
|
|
4681
|
-
|
|
4702
|
+
let agentExtId = convId ? state.agentChatOwners[convId] : agentChat?.workspaceId === turnWorkspaceId ? agentChat.agentId : void 0;
|
|
4703
|
+
if (convId && !agentExtId && creatorOf(queryClient, convId)?.startsWith("agt-")) {
|
|
4704
|
+
agentExtId = await agentChatOwnerOf(queryClient, () => arbi.agents.list(), convId);
|
|
4705
|
+
if (agentExtId) session.setAgentChatOwner(convId, agentExtId);
|
|
4706
|
+
}
|
|
4682
4707
|
const queuedContinuation = options?.queuedContinuation === true;
|
|
4683
4708
|
const isNewConversation = !convId;
|
|
4684
4709
|
const documentIds = (state.conversationDocuments[convKey] || []).map((doc) => doc.docId);
|
|
@@ -4720,7 +4745,7 @@ function useConversationActions({
|
|
|
4720
4745
|
session.setConversationGenerating(convKey, true, abortController);
|
|
4721
4746
|
}
|
|
4722
4747
|
if (!queuedContinuation) {
|
|
4723
|
-
|
|
4748
|
+
chunkC5SVEWPU_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
|
|
4724
4749
|
}
|
|
4725
4750
|
const streamState = {
|
|
4726
4751
|
conversationId: convKey,
|
|
@@ -4831,7 +4856,7 @@ function useConversationActions({
|
|
|
4831
4856
|
void queryClient.invalidateQueries({
|
|
4832
4857
|
queryKey: getThreadsQueryKey(streamState.conversationId)
|
|
4833
4858
|
});
|
|
4834
|
-
void
|
|
4859
|
+
void chunkC5SVEWPU_cjs.invalidateConversationLists(queryClient);
|
|
4835
4860
|
}
|
|
4836
4861
|
return;
|
|
4837
4862
|
}
|
|
@@ -4859,7 +4884,7 @@ function useConversationActions({
|
|
|
4859
4884
|
}
|
|
4860
4885
|
if (ownsGeneration) {
|
|
4861
4886
|
const lastStatus = streamState.serverError ? "failed" : "completed";
|
|
4862
|
-
|
|
4887
|
+
chunkC5SVEWPU_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4863
4888
|
last_message_status: lastStatus
|
|
4864
4889
|
});
|
|
4865
4890
|
}
|
|
@@ -4892,7 +4917,7 @@ function useConversationActions({
|
|
|
4892
4917
|
});
|
|
4893
4918
|
if (ownsActiveGeneration()) {
|
|
4894
4919
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4895
|
-
|
|
4920
|
+
chunkC5SVEWPU_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4896
4921
|
last_message_status: "completed"
|
|
4897
4922
|
});
|
|
4898
4923
|
}
|
|
@@ -4915,10 +4940,10 @@ function useConversationActions({
|
|
|
4915
4940
|
if (ownsActiveGeneration()) {
|
|
4916
4941
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4917
4942
|
}
|
|
4918
|
-
void
|
|
4943
|
+
void chunkC5SVEWPU_cjs.invalidateConversationLists(queryClient);
|
|
4919
4944
|
return;
|
|
4920
4945
|
}
|
|
4921
|
-
|
|
4946
|
+
chunkC5SVEWPU_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4922
4947
|
last_message_status: "failed"
|
|
4923
4948
|
});
|
|
4924
4949
|
const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
|
|
@@ -4953,7 +4978,7 @@ function useConversationActions({
|
|
|
4953
4978
|
);
|
|
4954
4979
|
const handleSendMessage = React.useCallback(
|
|
4955
4980
|
async (options) => {
|
|
4956
|
-
const currentMessage =
|
|
4981
|
+
const currentMessage = chunkBF7ABX3X_cjs.selectDraft(session.getState()).trim();
|
|
4957
4982
|
if (!selectedWorkspaceId || !chunkLMW46NBD_cjs.hasMessageBody(currentMessage)) return;
|
|
4958
4983
|
session.setSuggestedQuery(null);
|
|
4959
4984
|
if (refuseChatWhenOffline()) return;
|
|
@@ -5064,7 +5089,7 @@ function useConversationActions({
|
|
|
5064
5089
|
if (!replyTo && currentConversationId) {
|
|
5065
5090
|
try {
|
|
5066
5091
|
await arbi.conversations.delete(currentConversationId);
|
|
5067
|
-
|
|
5092
|
+
chunkC5SVEWPU_cjs.removeConversationFromLists(queryClient, currentConversationId);
|
|
5068
5093
|
session.startNewConversation();
|
|
5069
5094
|
} catch (error) {
|
|
5070
5095
|
console.error("Failed to delete conversation with orphaned first message:", error);
|
|
@@ -5132,16 +5157,16 @@ function selectThread(session, leafId) {
|
|
|
5132
5157
|
if (session.getState().cursor !== leafId) session.setCursor(leafId);
|
|
5133
5158
|
}
|
|
5134
5159
|
function useConversationData() {
|
|
5135
|
-
const session =
|
|
5136
|
-
const selectedWorkspaceId =
|
|
5137
|
-
const currentConversationId =
|
|
5138
|
-
const parentMessageId =
|
|
5139
|
-
const deepLinkMessageId =
|
|
5160
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
5161
|
+
const selectedWorkspaceId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5162
|
+
const currentConversationId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5163
|
+
const parentMessageId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.cursor);
|
|
5164
|
+
const deepLinkMessageId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
|
|
5140
5165
|
const {
|
|
5141
5166
|
data: threadsData,
|
|
5142
5167
|
isLoading: threadsLoading,
|
|
5143
5168
|
error: threadsError
|
|
5144
|
-
} =
|
|
5169
|
+
} = chunkBF7ABX3X_cjs.useConversationThreads(currentConversationId || void 0);
|
|
5145
5170
|
const processedDeepLinkRef = React.useRef(null);
|
|
5146
5171
|
const prevConversationIdRef = React.useRef(null);
|
|
5147
5172
|
React.useEffect(() => {
|
|
@@ -5334,7 +5359,7 @@ function useBranchNavigation(threads, parentMessageId, messageHistory, setParent
|
|
|
5334
5359
|
var RECONNECT_DELAY_MS = 2e3;
|
|
5335
5360
|
var MAX_RECONNECTS = 5;
|
|
5336
5361
|
function useConnectRunStream(conversationId, messages) {
|
|
5337
|
-
const generation =
|
|
5362
|
+
const generation = chunkBF7ABX3X_cjs.useArbiSessionState(
|
|
5338
5363
|
(s) => conversationId ? s.generating[conversationId] : void 0
|
|
5339
5364
|
);
|
|
5340
5365
|
const responseId = conversationId ? browser.getRunToAttach(generation, messages) : null;
|
|
@@ -5342,7 +5367,7 @@ function useConnectRunStream(conversationId, messages) {
|
|
|
5342
5367
|
}
|
|
5343
5368
|
function useAttachRun(conversationId, responseId) {
|
|
5344
5369
|
const queryClient = reactQuery.useQueryClient();
|
|
5345
|
-
const session =
|
|
5370
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
5346
5371
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
5347
5372
|
const arbiRef = React.useRef(arbi);
|
|
5348
5373
|
arbiRef.current = arbi;
|
|
@@ -5541,14 +5566,14 @@ function useConversation(options = {}) {
|
|
|
5541
5566
|
const { agentId, model, titleLength = 48 } = options;
|
|
5542
5567
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
5543
5568
|
const queryClient = reactQuery.useQueryClient();
|
|
5544
|
-
const session =
|
|
5545
|
-
const sessionWorkspaceId =
|
|
5569
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
5570
|
+
const sessionWorkspaceId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5546
5571
|
const workspaceId = options.workspaceId ?? sessionWorkspaceId ?? void 0;
|
|
5547
|
-
const conversationId =
|
|
5572
|
+
const conversationId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5548
5573
|
const conversationKey2 = conversationId ?? NEW;
|
|
5549
|
-
const generation =
|
|
5550
|
-
const newConversationMode =
|
|
5551
|
-
const queuedMessages2 =
|
|
5574
|
+
const generation = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
|
|
5575
|
+
const newConversationMode = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
|
|
5576
|
+
const queuedMessages2 = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.queuedMessages);
|
|
5552
5577
|
const isRunning = !!generation?.isGenerating;
|
|
5553
5578
|
React.useEffect(() => {
|
|
5554
5579
|
if (workspaceId && session.getState().workspaceId !== workspaceId)
|
|
@@ -5561,7 +5586,7 @@ function useConversation(options = {}) {
|
|
|
5561
5586
|
if (agentId && workspaceId && !conversationId) session.setNewAgentChat({ agentId, workspaceId });
|
|
5562
5587
|
}, [session, agentId, workspaceId, conversationId]);
|
|
5563
5588
|
const { data: docs = [], isLoading: isLoadingDocuments } = chunkZNQPUPX6_cjs.useDocuments(workspaceId);
|
|
5564
|
-
const ordinaryHistory =
|
|
5589
|
+
const ordinaryHistory = chunkBF7ABX3X_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
|
|
5565
5590
|
const agentHistory = useAgentChats(agentId);
|
|
5566
5591
|
const stored = React.useMemo(
|
|
5567
5592
|
() => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
|
|
@@ -5787,7 +5812,7 @@ function useConversation(options = {}) {
|
|
|
5787
5812
|
void (async () => {
|
|
5788
5813
|
try {
|
|
5789
5814
|
await arbi.conversations.delete(id);
|
|
5790
|
-
|
|
5815
|
+
chunkC5SVEWPU_cjs.removeConversationFromLists(queryClient, id);
|
|
5791
5816
|
if (session.getState().conversationId === id) session.startNewConversation();
|
|
5792
5817
|
} catch (e) {
|
|
5793
5818
|
setHistoryError(messageOf(e, "The conversation could not be deleted."));
|
|
@@ -5875,10 +5900,10 @@ function ConversationScope({
|
|
|
5875
5900
|
conversationId,
|
|
5876
5901
|
children
|
|
5877
5902
|
}) {
|
|
5878
|
-
const outerWorkspaceId =
|
|
5903
|
+
const outerWorkspaceId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5879
5904
|
const scopeWorkspaceId = workspaceId ?? outerWorkspaceId;
|
|
5880
5905
|
const [session] = React.useState(
|
|
5881
|
-
() =>
|
|
5906
|
+
() => chunkBF7ABX3X_cjs.createArbiSessionStore({
|
|
5882
5907
|
workspaceId: scopeWorkspaceId,
|
|
5883
5908
|
conversationId: conversationId ?? null
|
|
5884
5909
|
})
|
|
@@ -5899,11 +5924,11 @@ async function applyConversationEvent(queryClient, event) {
|
|
|
5899
5924
|
if (e.type === "response_complete") return applyRunEnded(queryClient, e);
|
|
5900
5925
|
if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
|
|
5901
5926
|
if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
|
|
5902
|
-
|
|
5927
|
+
chunkC5SVEWPU_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
|
|
5903
5928
|
}
|
|
5904
5929
|
if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
|
|
5905
5930
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
|
|
5906
|
-
void
|
|
5931
|
+
void chunkC5SVEWPU_cjs.invalidateConversationLists(queryClient);
|
|
5907
5932
|
}
|
|
5908
5933
|
}
|
|
5909
5934
|
function applyRunEnded(queryClient, e) {
|
|
@@ -5920,10 +5945,10 @@ function applyRunEnded(queryClient, e) {
|
|
|
5920
5945
|
);
|
|
5921
5946
|
}
|
|
5922
5947
|
if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
|
|
5923
|
-
|
|
5948
|
+
chunkC5SVEWPU_cjs.patchConversation(queryClient, conversationId, {
|
|
5924
5949
|
last_message_status: failed ? "failed" : "completed"
|
|
5925
5950
|
});
|
|
5926
|
-
void
|
|
5951
|
+
void chunkC5SVEWPU_cjs.invalidateConversationLists(queryClient);
|
|
5927
5952
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
5928
5953
|
if (!failed) void queryClient.invalidateQueries({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.userUsageToday() });
|
|
5929
5954
|
}
|
|
@@ -5931,7 +5956,7 @@ async function applyMessagePosted(queryClient, e) {
|
|
|
5931
5956
|
if (!e.conversation_ext_id) return;
|
|
5932
5957
|
const queryKey = getThreadsQueryKey(e.conversation_ext_id);
|
|
5933
5958
|
const refreshed = queryClient.invalidateQueries({ queryKey });
|
|
5934
|
-
void
|
|
5959
|
+
void chunkC5SVEWPU_cjs.invalidateConversationLists(queryClient);
|
|
5935
5960
|
await refreshed;
|
|
5936
5961
|
const cached = queryClient.getQueryData(
|
|
5937
5962
|
queryKey
|
|
@@ -5944,10 +5969,10 @@ var migratedWorkspaces = /* @__PURE__ */ new Set();
|
|
|
5944
5969
|
function useThreadDocument() {
|
|
5945
5970
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
5946
5971
|
const queryClient = reactQuery.useQueryClient();
|
|
5947
|
-
const session =
|
|
5948
|
-
const conversationId =
|
|
5949
|
-
const workspaceId =
|
|
5950
|
-
const newChatDocumentId =
|
|
5972
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
5973
|
+
const conversationId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5974
|
+
const workspaceId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5975
|
+
const newChatDocumentId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.newChatDocumentId);
|
|
5951
5976
|
const subscribe = React.useCallback(
|
|
5952
5977
|
(onChange) => queryClient.getQueryCache().subscribe(onChange),
|
|
5953
5978
|
[queryClient]
|
|
@@ -5962,7 +5987,7 @@ function useThreadDocument() {
|
|
|
5962
5987
|
() => threadBinding(queryClient, conversationId).unavailable,
|
|
5963
5988
|
() => false
|
|
5964
5989
|
);
|
|
5965
|
-
const { data: conversations, isPlaceholderData } =
|
|
5990
|
+
const { data: conversations, isPlaceholderData } = chunkBF7ABX3X_cjs.useConversations(workspaceId ?? void 0);
|
|
5966
5991
|
React.useEffect(() => {
|
|
5967
5992
|
if (!workspaceId || !conversations || isPlaceholderData || migratedWorkspaces.has(workspaceId))
|
|
5968
5993
|
return;
|
|
@@ -6012,9 +6037,9 @@ function useConversationTurn({
|
|
|
6012
6037
|
selectedWorkspaceId,
|
|
6013
6038
|
parentMessageId
|
|
6014
6039
|
}) {
|
|
6015
|
-
const currentConversationId =
|
|
6040
|
+
const currentConversationId = chunkBF7ABX3X_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6016
6041
|
const conversationKey2 = currentConversationId || "new";
|
|
6017
|
-
const generationState =
|
|
6042
|
+
const generationState = chunkBF7ABX3X_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
|
|
6018
6043
|
const isGenerating = generationState?.isGenerating ?? false;
|
|
6019
6044
|
const generationError = generationState?.error ?? null;
|
|
6020
6045
|
const lastFailedMessage = generationState?.lastFailedMessage ?? null;
|
|
@@ -6034,10 +6059,10 @@ function useConversationTurn({
|
|
|
6034
6059
|
};
|
|
6035
6060
|
}
|
|
6036
6061
|
function useActiveConfigId() {
|
|
6037
|
-
const chatModel =
|
|
6038
|
-
const cursor =
|
|
6062
|
+
const chatModel = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6063
|
+
const cursor = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.cursor);
|
|
6039
6064
|
const { messageHistory } = useConversationData();
|
|
6040
|
-
const { data: userSettings } =
|
|
6065
|
+
const { data: userSettings } = chunkC5SVEWPU_cjs.useUserSettings();
|
|
6041
6066
|
return React.useMemo(() => {
|
|
6042
6067
|
if (chatModel) return chatModel;
|
|
6043
6068
|
const parent = cursor ? messageHistory?.find((m) => m.external_id === cursor) : void 0;
|
|
@@ -6047,9 +6072,9 @@ function useActiveConfigId() {
|
|
|
6047
6072
|
}
|
|
6048
6073
|
var EMPTY_DOCS = [];
|
|
6049
6074
|
function useConversationDocuments() {
|
|
6050
|
-
const currentConversationId =
|
|
6075
|
+
const currentConversationId = chunkBF7ABX3X_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6051
6076
|
const convKey = currentConversationId || "new";
|
|
6052
|
-
const inConversationDocuments =
|
|
6077
|
+
const inConversationDocuments = chunkBF7ABX3X_cjs.useArbiSessionState(
|
|
6053
6078
|
(state) => state.conversationDocuments[convKey] || EMPTY_DOCS
|
|
6054
6079
|
);
|
|
6055
6080
|
const { data: documents2 = [], isLoading: isLoadingDocs } = chunkZNQPUPX6_cjs.useDocuments();
|
|
@@ -6084,8 +6109,8 @@ function useDocumentAutoAdd({
|
|
|
6084
6109
|
allWorkspaceDocuments,
|
|
6085
6110
|
hasContent = false
|
|
6086
6111
|
}) {
|
|
6087
|
-
const session =
|
|
6088
|
-
const currentConversationId =
|
|
6112
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
6113
|
+
const currentConversationId = chunkBF7ABX3X_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6089
6114
|
const convKey = currentConversationId || "new";
|
|
6090
6115
|
const observedRef = React.useRef(null);
|
|
6091
6116
|
const offeredRef = React.useRef(/* @__PURE__ */ new Set());
|
|
@@ -6146,12 +6171,12 @@ function useDocumentAutoAdd({
|
|
|
6146
6171
|
}, [selectedWorkspaceId, convKey, allWorkspaceDocuments, hasContent, session]);
|
|
6147
6172
|
}
|
|
6148
6173
|
function useAutoSendDraft(sendDraft, ready = true) {
|
|
6149
|
-
const session =
|
|
6150
|
-
const autoSendDraft =
|
|
6174
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
6175
|
+
const autoSendDraft = chunkBF7ABX3X_cjs.useArbiSessionState((state) => state.autoSendDraft);
|
|
6151
6176
|
React.useEffect(() => {
|
|
6152
6177
|
if (!autoSendDraft || !ready) return;
|
|
6153
6178
|
session.setAutoSendDraft(false);
|
|
6154
|
-
if (
|
|
6179
|
+
if (chunkBF7ABX3X_cjs.selectDraft(session.getState()).trim()) {
|
|
6155
6180
|
sendDraft();
|
|
6156
6181
|
}
|
|
6157
6182
|
}, [autoSendDraft, ready, sendDraft, session]);
|
|
@@ -6237,7 +6262,7 @@ function useAnswerAgentQuestion() {
|
|
|
6237
6262
|
);
|
|
6238
6263
|
}
|
|
6239
6264
|
function useAskAgain(options) {
|
|
6240
|
-
const session =
|
|
6265
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
6241
6266
|
const optionsRef = React.useRef(options);
|
|
6242
6267
|
React.useEffect(() => {
|
|
6243
6268
|
optionsRef.current = options;
|
|
@@ -6329,11 +6354,11 @@ function useMessageTimer({
|
|
|
6329
6354
|
isUser,
|
|
6330
6355
|
isGenerating
|
|
6331
6356
|
}) {
|
|
6332
|
-
const session =
|
|
6357
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
6333
6358
|
const convId = conversationId || "new";
|
|
6334
6359
|
const timerKey = `${convId}:${messageId}`;
|
|
6335
|
-
const generationStartTime =
|
|
6336
|
-
const storedElapsed =
|
|
6360
|
+
const generationStartTime = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
|
|
6361
|
+
const storedElapsed = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
|
|
6337
6362
|
const [elapsedTime, setElapsedTime] = React.useState(0);
|
|
6338
6363
|
const lastElapsedRef = React.useRef(0);
|
|
6339
6364
|
React.useEffect(() => {
|
|
@@ -6358,7 +6383,7 @@ function useMessageTimer({
|
|
|
6358
6383
|
}
|
|
6359
6384
|
function useAgentRunControl(assistantMessageExtId) {
|
|
6360
6385
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
6361
|
-
const session =
|
|
6386
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
6362
6387
|
const send = React.useCallback(
|
|
6363
6388
|
(command) => {
|
|
6364
6389
|
if (!assistantMessageExtId) return;
|
|
@@ -7140,7 +7165,7 @@ function ArbiWebSocketProvider({
|
|
|
7140
7165
|
const setEvicted = chunkZNQPUPX6_cjs.useArbiWsStore((s) => s.setEvicted);
|
|
7141
7166
|
const onAuthenticatedRef = React.useRef(onAuthenticated);
|
|
7142
7167
|
onAuthenticatedRef.current = onAuthenticated;
|
|
7143
|
-
const acceptRings =
|
|
7168
|
+
const acceptRings = chunkC5SVEWPU_cjs.useFeature("calls");
|
|
7144
7169
|
const acceptRingsRef = React.useRef(acceptRings);
|
|
7145
7170
|
acceptRingsRef.current = acceptRings;
|
|
7146
7171
|
const context = React.useMemo(
|
|
@@ -7182,9 +7207,9 @@ function ArbiWebSocketProvider({
|
|
|
7182
7207
|
void queryClient.invalidateQueries({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.allTags() });
|
|
7183
7208
|
}
|
|
7184
7209
|
} else if (type.startsWith("chat.") || type === "agent_dm_status")
|
|
7185
|
-
void
|
|
7210
|
+
void chunkC5SVEWPU_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
|
|
7186
7211
|
else if (type.startsWith("call."))
|
|
7187
|
-
|
|
7212
|
+
chunkC5SVEWPU_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
|
|
7188
7213
|
else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
|
|
7189
7214
|
else void applyLiveUpdate(queryClient, msg);
|
|
7190
7215
|
for (const fn of subscribersRef.current) {
|
|
@@ -7436,7 +7461,7 @@ function useSwitchWorkspace() {
|
|
|
7436
7461
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
7437
7462
|
const arbiRef = React.useRef(arbi);
|
|
7438
7463
|
arbiRef.current = arbi;
|
|
7439
|
-
const session =
|
|
7464
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
7440
7465
|
const queryClient = reactQuery.useQueryClient();
|
|
7441
7466
|
React.useEffect(
|
|
7442
7467
|
() => arbi.onSigningOut?.(() => {
|
|
@@ -7453,11 +7478,11 @@ function useSwitchWorkspace() {
|
|
|
7453
7478
|
function useOpenSelectedWorkspace() {
|
|
7454
7479
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
7455
7480
|
const { clearWorkspace, openSelectedWorkspace } = useSwitchWorkspace();
|
|
7456
|
-
const workspaceId =
|
|
7457
|
-
const status =
|
|
7458
|
-
const session =
|
|
7481
|
+
const workspaceId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
7482
|
+
const status = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
7483
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
7459
7484
|
const queryClient = reactQuery.useQueryClient();
|
|
7460
|
-
const { data: workspaces, isLoading: listing, isFetching } =
|
|
7485
|
+
const { data: workspaces, isLoading: listing, isFetching } = chunkBF7ABX3X_cjs.useWorkspaces();
|
|
7461
7486
|
const listed = workspaces;
|
|
7462
7487
|
const archived = listed?.find((w) => w.external_id === workspaceId && w.archive);
|
|
7463
7488
|
const reads = queryClient.getQueryState(chunkGQAXAZN7_cjs.arbiQueryKeys.workspaces())?.dataUpdateCount ?? 0;
|
|
@@ -7628,8 +7653,8 @@ function useShellWorkspaces(options) {
|
|
|
7628
7653
|
};
|
|
7629
7654
|
}
|
|
7630
7655
|
function useArbiShellWorkspaces(options = {}) {
|
|
7631
|
-
const sessionWorkspaceId =
|
|
7632
|
-
const query =
|
|
7656
|
+
const sessionWorkspaceId = chunkBF7ABX3X_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
7657
|
+
const query = chunkBF7ABX3X_cjs.useWorkspaces();
|
|
7633
7658
|
const { switchWorkspace } = useSwitchWorkspace();
|
|
7634
7659
|
const { select, ...rest } = options;
|
|
7635
7660
|
const defaultSelect = React.useCallback(
|
|
@@ -8006,9 +8031,9 @@ var EMPTY2 = { query: "", lastQuery: "", hits: null, workspaceId: null };
|
|
|
8006
8031
|
function useFactsSearch(options = {}) {
|
|
8007
8032
|
const { mode = "hybrid", limit = 30 } = options;
|
|
8008
8033
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
8009
|
-
const session =
|
|
8034
|
+
const session = chunkBF7ABX3X_cjs.useArbiSessionStore();
|
|
8010
8035
|
const workspaceId = options.workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : null);
|
|
8011
|
-
const [kept, setKept] =
|
|
8036
|
+
const [kept, setKept] = chunkBF7ABX3X_cjs.useTransientView(FACTS_SEARCH_VIEW, EMPTY2);
|
|
8012
8037
|
const searchFacts = useSearchFacts(workspaceId);
|
|
8013
8038
|
const run = React.useRef(0);
|
|
8014
8039
|
const foreign = !!kept.workspaceId && !!workspaceId && kept.workspaceId !== workspaceId;
|
|
@@ -8599,7 +8624,7 @@ function namesOfWorkspaces(workspaces) {
|
|
|
8599
8624
|
return names;
|
|
8600
8625
|
}
|
|
8601
8626
|
function useNames(enabled = true) {
|
|
8602
|
-
const { data } =
|
|
8627
|
+
const { data } = chunkBF7ABX3X_cjs.useWorkspaces({ enabled });
|
|
8603
8628
|
return React.useMemo(() => {
|
|
8604
8629
|
const names = namesOfWorkspaces(data);
|
|
8605
8630
|
return (id) => id ? names.get(id) ?? id : null;
|
|
@@ -8648,7 +8673,7 @@ function createConversationsSource(labels) {
|
|
|
8648
8673
|
useRows(params, enabled) {
|
|
8649
8674
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
8650
8675
|
const workspaceId = typeof params.workspaceId === "string" && params.workspaceId ? params.workspaceId : arbi.hasWorkspace ? arbi.getWorkspaceId() : void 0;
|
|
8651
|
-
const query =
|
|
8676
|
+
const query = chunkBF7ABX3X_cjs.useConversations(workspaceId, { enabled });
|
|
8652
8677
|
const nameOf = useNames(enabled);
|
|
8653
8678
|
const rows = React.useMemo(() => {
|
|
8654
8679
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -8756,7 +8781,7 @@ function createDatabaseSource(labels) {
|
|
|
8756
8781
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
8757
8782
|
const databaseId = text(params.databaseId);
|
|
8758
8783
|
const viewName = text(params.view);
|
|
8759
|
-
const settings =
|
|
8784
|
+
const settings = chunkC5SVEWPU_cjs.useUserSettings({ enabled: Boolean(viewName) });
|
|
8760
8785
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
8761
8786
|
return React.useMemo(
|
|
8762
8787
|
() => viewName && databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).find(
|
|
@@ -8820,7 +8845,7 @@ function createDatabaseSource(labels) {
|
|
|
8820
8845
|
useOptions(params) {
|
|
8821
8846
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
8822
8847
|
const databaseId = text(params.databaseId);
|
|
8823
|
-
const settings =
|
|
8848
|
+
const settings = chunkC5SVEWPU_cjs.useUserSettings({ enabled: Boolean(databaseId) });
|
|
8824
8849
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
8825
8850
|
const options = React.useMemo(
|
|
8826
8851
|
() => databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).map((v) => ({
|
|
@@ -8963,7 +8988,7 @@ function createProjectsSource(options = {}) {
|
|
|
8963
8988
|
label: l.source,
|
|
8964
8989
|
description: l.description,
|
|
8965
8990
|
useFields() {
|
|
8966
|
-
const query =
|
|
8991
|
+
const query = chunkBF7ABX3X_cjs.useProjects();
|
|
8967
8992
|
const fields = React.useMemo(
|
|
8968
8993
|
() => fieldsOf(query.data),
|
|
8969
8994
|
[query.data]
|
|
@@ -8971,7 +8996,7 @@ function createProjectsSource(options = {}) {
|
|
|
8971
8996
|
return { fields, isLoading: query.isLoading, error: query.error };
|
|
8972
8997
|
},
|
|
8973
8998
|
useRows(_params, enabled) {
|
|
8974
|
-
const query =
|
|
8999
|
+
const query = chunkBF7ABX3X_cjs.useProjects({ enabled });
|
|
8975
9000
|
const nameOf = useNames(enabled);
|
|
8976
9001
|
const rows = React.useMemo(() => {
|
|
8977
9002
|
const projects = query.data;
|
|
@@ -9071,7 +9096,7 @@ function createUsageSource(labels) {
|
|
|
9071
9096
|
useRows(params, enabled) {
|
|
9072
9097
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
9073
9098
|
const monthsBack = monthsBackOf(params);
|
|
9074
|
-
const projects =
|
|
9099
|
+
const projects = chunkBF7ABX3X_cjs.useProjects({ enabled });
|
|
9075
9100
|
const list = projects.data ?? [];
|
|
9076
9101
|
const results = reactQuery.useQueries({
|
|
9077
9102
|
queries: list.map((p) => ({
|
|
@@ -9127,8 +9152,8 @@ function createWorkspacesSource(labels) {
|
|
|
9127
9152
|
description: l.description,
|
|
9128
9153
|
useFields: staticFields(fields),
|
|
9129
9154
|
useRows(_params, enabled) {
|
|
9130
|
-
const workspaces =
|
|
9131
|
-
const projects =
|
|
9155
|
+
const workspaces = chunkBF7ABX3X_cjs.useWorkspaces({ enabled });
|
|
9156
|
+
const projects = chunkBF7ABX3X_cjs.useProjects({ enabled });
|
|
9132
9157
|
const rows = React.useMemo(() => {
|
|
9133
9158
|
const list = workspaces.data;
|
|
9134
9159
|
if (!list) return void 0;
|
|
@@ -9936,8 +9961,8 @@ function usePeople() {
|
|
|
9936
9961
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
9937
9962
|
const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
|
|
9938
9963
|
const { data: contacts = [] } = useContacts();
|
|
9939
|
-
const { data: workspaces = [] } =
|
|
9940
|
-
const { data: agents = [] } =
|
|
9964
|
+
const { data: workspaces = [] } = chunkBF7ABX3X_cjs.useWorkspaces();
|
|
9965
|
+
const { data: agents = [] } = chunkBF7ABX3X_cjs.useAgents();
|
|
9941
9966
|
return React.useMemo(() => {
|
|
9942
9967
|
const people = [];
|
|
9943
9968
|
const contactOf = /* @__PURE__ */ new Map();
|
|
@@ -10037,7 +10062,7 @@ var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
|
|
|
10037
10062
|
var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
|
|
10038
10063
|
function useModelConnections() {
|
|
10039
10064
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
10040
|
-
const userId =
|
|
10065
|
+
const userId = chunkBF7ABX3X_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
10041
10066
|
return reactQuery.useQuery({
|
|
10042
10067
|
queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.modelConnections(userId),
|
|
10043
10068
|
queryFn: () => arbi.modelConnections.list(),
|
|
@@ -10046,7 +10071,7 @@ function useModelConnections() {
|
|
|
10046
10071
|
}
|
|
10047
10072
|
function useDirectModelUsage() {
|
|
10048
10073
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
10049
|
-
const userId =
|
|
10074
|
+
const userId = chunkBF7ABX3X_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
10050
10075
|
return reactQuery.useQuery({
|
|
10051
10076
|
queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.directModelUsage(userId),
|
|
10052
10077
|
queryFn: () => arbi.modelConnections.usage(),
|
|
@@ -10055,7 +10080,7 @@ function useDirectModelUsage() {
|
|
|
10055
10080
|
}
|
|
10056
10081
|
function useRefreshModelConnections() {
|
|
10057
10082
|
const qc = reactQuery.useQueryClient();
|
|
10058
|
-
const userId =
|
|
10083
|
+
const userId = chunkBF7ABX3X_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
10059
10084
|
return async () => {
|
|
10060
10085
|
await qc.invalidateQueries({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.modelConnections(userId) });
|
|
10061
10086
|
await qc.invalidateQueries({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.availableModels() });
|
|
@@ -10082,13 +10107,13 @@ function useUnlockModelConnections() {
|
|
|
10082
10107
|
return reactQuery.useMutation({ mutationFn: () => arbi.modelConnections.unlock() });
|
|
10083
10108
|
}
|
|
10084
10109
|
function useRequestEmailChange() {
|
|
10085
|
-
const { client } =
|
|
10110
|
+
const { client } = chunkC5SVEWPU_cjs.useAccountClient();
|
|
10086
10111
|
return reactQuery.useMutation({
|
|
10087
10112
|
mutationFn: (newEmail) => client.requestEmailChange(newEmail)
|
|
10088
10113
|
});
|
|
10089
10114
|
}
|
|
10090
10115
|
function useConfirmEmailChange() {
|
|
10091
|
-
const { client } =
|
|
10116
|
+
const { client } = chunkC5SVEWPU_cjs.useAccountClient();
|
|
10092
10117
|
const qc = reactQuery.useQueryClient();
|
|
10093
10118
|
return reactQuery.useMutation({
|
|
10094
10119
|
mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
|
|
@@ -10156,7 +10181,7 @@ function useEmailChange({
|
|
|
10156
10181
|
};
|
|
10157
10182
|
}
|
|
10158
10183
|
function usePasswordChange() {
|
|
10159
|
-
const { client } =
|
|
10184
|
+
const { client } = chunkC5SVEWPU_cjs.useAccountClient();
|
|
10160
10185
|
return reactQuery.useMutation({
|
|
10161
10186
|
mutationFn: (vars) => client.changePassword(vars)
|
|
10162
10187
|
});
|
|
@@ -10250,8 +10275,8 @@ function usePasswordChangeForm({
|
|
|
10250
10275
|
}
|
|
10251
10276
|
function useDismissedTips() {
|
|
10252
10277
|
const queryClient = reactQuery.useQueryClient();
|
|
10253
|
-
const { data: userSettings } =
|
|
10254
|
-
const { mutate: updateUserSettings } =
|
|
10278
|
+
const { data: userSettings } = chunkC5SVEWPU_cjs.useUserSettings();
|
|
10279
|
+
const { mutate: updateUserSettings } = chunkC5SVEWPU_cjs.useUpdateUserSettings();
|
|
10255
10280
|
const loaded = userSettings !== void 0;
|
|
10256
10281
|
const dismissed = userSettings?.dismissed_tips ?? [];
|
|
10257
10282
|
const dismissTip = React.useCallback(
|
|
@@ -10285,7 +10310,7 @@ function toNotificationPreferences(stored, keys) {
|
|
|
10285
10310
|
function useNotificationPreferences(keys, options) {
|
|
10286
10311
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
10287
10312
|
const qc = reactQuery.useQueryClient();
|
|
10288
|
-
const settings =
|
|
10313
|
+
const settings = chunkC5SVEWPU_cjs.useUserSettings(options);
|
|
10289
10314
|
const stored = settings.data?.email_notifications;
|
|
10290
10315
|
const save = reactQuery.useMutation({
|
|
10291
10316
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
@@ -10344,7 +10369,7 @@ function useRelevanceSave() {
|
|
|
10344
10369
|
}
|
|
10345
10370
|
function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
10346
10371
|
const qc = reactQuery.useQueryClient();
|
|
10347
|
-
const settings =
|
|
10372
|
+
const settings = chunkC5SVEWPU_cjs.useUserSettings(options);
|
|
10348
10373
|
const save = useRelevanceSave();
|
|
10349
10374
|
const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
|
|
10350
10375
|
const setLevel = React.useCallback(
|
|
@@ -10365,7 +10390,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
|
10365
10390
|
}
|
|
10366
10391
|
function useFollowThread(conversationId, options) {
|
|
10367
10392
|
const qc = reactQuery.useQueryClient();
|
|
10368
|
-
const settings =
|
|
10393
|
+
const settings = chunkC5SVEWPU_cjs.useUserSettings(options);
|
|
10369
10394
|
const save = useRelevanceSave();
|
|
10370
10395
|
const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
|
|
10371
10396
|
const setFollowing = React.useCallback(
|
|
@@ -10394,7 +10419,7 @@ function useFollowThread(conversationId, options) {
|
|
|
10394
10419
|
};
|
|
10395
10420
|
}
|
|
10396
10421
|
function useSessions(options) {
|
|
10397
|
-
const { client, enabled } =
|
|
10422
|
+
const { client, enabled } = chunkC5SVEWPU_cjs.useAccountClient();
|
|
10398
10423
|
return reactQuery.useQuery({
|
|
10399
10424
|
queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.sessions(),
|
|
10400
10425
|
queryFn: () => client.listSessions(),
|
|
@@ -10402,7 +10427,7 @@ function useSessions(options) {
|
|
|
10402
10427
|
});
|
|
10403
10428
|
}
|
|
10404
10429
|
function useTerminateSession() {
|
|
10405
|
-
const { client } =
|
|
10430
|
+
const { client } = chunkC5SVEWPU_cjs.useAccountClient();
|
|
10406
10431
|
const qc = reactQuery.useQueryClient();
|
|
10407
10432
|
return reactQuery.useMutation({
|
|
10408
10433
|
mutationFn: (sessionId) => client.terminateSession(sessionId),
|
|
@@ -10410,7 +10435,7 @@ function useTerminateSession() {
|
|
|
10410
10435
|
});
|
|
10411
10436
|
}
|
|
10412
10437
|
function useSignOut() {
|
|
10413
|
-
const { client } =
|
|
10438
|
+
const { client } = chunkC5SVEWPU_cjs.useAccountClient();
|
|
10414
10439
|
const qc = reactQuery.useQueryClient();
|
|
10415
10440
|
return reactQuery.useMutation({
|
|
10416
10441
|
mutationFn: (options = {}) => client.signOut(options),
|
|
@@ -10418,7 +10443,7 @@ function useSignOut() {
|
|
|
10418
10443
|
});
|
|
10419
10444
|
}
|
|
10420
10445
|
function useCurrentSessionId() {
|
|
10421
|
-
return
|
|
10446
|
+
return chunkC5SVEWPU_cjs.useAccountClient().client.currentSessionId();
|
|
10422
10447
|
}
|
|
10423
10448
|
function parseDeleteAccountBlockers(error) {
|
|
10424
10449
|
const body = error?.apiError ?? error;
|
|
@@ -10433,7 +10458,7 @@ function parseDeleteAccountBlockers(error) {
|
|
|
10433
10458
|
return [];
|
|
10434
10459
|
}
|
|
10435
10460
|
function useDeleteAccount() {
|
|
10436
|
-
const { client } =
|
|
10461
|
+
const { client } = chunkC5SVEWPU_cjs.useAccountClient();
|
|
10437
10462
|
return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
|
|
10438
10463
|
}
|
|
10439
10464
|
function useDeleteAccountFlow({
|
|
@@ -10755,7 +10780,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
10755
10780
|
};
|
|
10756
10781
|
}
|
|
10757
10782
|
function useIdentityVerification(options = {}) {
|
|
10758
|
-
const { client, enabled } =
|
|
10783
|
+
const { client, enabled } = chunkC5SVEWPU_cjs.useAccountClient();
|
|
10759
10784
|
const qc = reactQuery.useQueryClient();
|
|
10760
10785
|
const { onVerifiedChange, onNameAccepted, formatPrice } = options;
|
|
10761
10786
|
return useIdentityVerificationFlow(client.identity, {
|
|
@@ -10811,7 +10836,7 @@ function useDisconnectConnector() {
|
|
|
10811
10836
|
);
|
|
10812
10837
|
}
|
|
10813
10838
|
function useConnectorVendorVisibility() {
|
|
10814
|
-
const { data: settings } =
|
|
10839
|
+
const { data: settings } = chunkC5SVEWPU_cjs.useUserSettings();
|
|
10815
10840
|
return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
|
|
10816
10841
|
}
|
|
10817
10842
|
function connectorReturnTo(reopen) {
|
|
@@ -11583,7 +11608,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
11583
11608
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
11584
11609
|
}
|
|
11585
11610
|
function useAiTask() {
|
|
11586
|
-
const mutation =
|
|
11611
|
+
const mutation = chunkBF7ABX3X_cjs.useAssistantQuery();
|
|
11587
11612
|
const [status, setStatus] = React.useState("idle");
|
|
11588
11613
|
const [text2, setText] = React.useState("");
|
|
11589
11614
|
const [stepCount, setStepCount] = React.useState(0);
|
|
@@ -13025,7 +13050,7 @@ function ActivityFeed({
|
|
|
13025
13050
|
enabled,
|
|
13026
13051
|
"data-testid": testId = "activity-feed"
|
|
13027
13052
|
}) {
|
|
13028
|
-
const { data, isLoading, isError } =
|
|
13053
|
+
const { data, isLoading, isError } = chunkBF7ABX3X_cjs.useActivity({ limit, enabled });
|
|
13029
13054
|
if (isLoading) {
|
|
13030
13055
|
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: [
|
|
13031
13056
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -13976,7 +14001,7 @@ function useChatUnreadTotal() {
|
|
|
13976
14001
|
function useUnreadByPeer() {
|
|
13977
14002
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
13978
14003
|
const { data = [] } = useChats();
|
|
13979
|
-
const me =
|
|
14004
|
+
const me = chunkC5SVEWPU_cjs.myChatId(arbi);
|
|
13980
14005
|
return React.useMemo(() => {
|
|
13981
14006
|
const out = /* @__PURE__ */ new Map();
|
|
13982
14007
|
for (const c of data) {
|
|
@@ -14063,13 +14088,13 @@ function useChatPost() {
|
|
|
14063
14088
|
const queryClient = reactQuery.useQueryClient();
|
|
14064
14089
|
return React.useCallback(
|
|
14065
14090
|
async (target, post) => {
|
|
14066
|
-
const me =
|
|
14091
|
+
const me = chunkC5SVEWPU_cjs.myChatId(arbi);
|
|
14067
14092
|
if (!me) throw new Error("No active session");
|
|
14068
14093
|
let chat = target.chat;
|
|
14069
14094
|
if (!chat) {
|
|
14070
14095
|
if (!target.peerExtId) throw new Error("Could not resolve the conversation");
|
|
14071
14096
|
chat = await arbi.chats.openDirect(target.peerExtId);
|
|
14072
|
-
|
|
14097
|
+
chunkC5SVEWPU_cjs.upsertChat(queryClient, chat);
|
|
14073
14098
|
queryClient.setQueryData(
|
|
14074
14099
|
chunkGQAXAZN7_cjs.arbiQueryKeys.chatThread(chat.external_id),
|
|
14075
14100
|
(old) => old ?? { messages: [], hasMore: false }
|
|
@@ -14092,7 +14117,7 @@ function useChatPost() {
|
|
|
14092
14117
|
updated_at: now,
|
|
14093
14118
|
optimistic: true
|
|
14094
14119
|
};
|
|
14095
|
-
|
|
14120
|
+
chunkC5SVEWPU_cjs.appendToThread(queryClient, chat.external_id, optimistic);
|
|
14096
14121
|
try {
|
|
14097
14122
|
let attachments = [];
|
|
14098
14123
|
if (files.length) {
|
|
@@ -14112,15 +14137,15 @@ function useChatPost() {
|
|
|
14112
14137
|
...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
|
|
14113
14138
|
contextOnly: !!post.contextOnly
|
|
14114
14139
|
});
|
|
14115
|
-
|
|
14116
|
-
|
|
14140
|
+
chunkC5SVEWPU_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
|
|
14141
|
+
chunkC5SVEWPU_cjs.upsertChat(queryClient, {
|
|
14117
14142
|
...chat,
|
|
14118
14143
|
last_message: message,
|
|
14119
14144
|
last_message_at: message.created_at
|
|
14120
14145
|
});
|
|
14121
14146
|
return { chat, message };
|
|
14122
14147
|
} catch (err) {
|
|
14123
|
-
|
|
14148
|
+
chunkC5SVEWPU_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
|
|
14124
14149
|
void queryClient.invalidateQueries({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.chatList() });
|
|
14125
14150
|
throw err;
|
|
14126
14151
|
}
|
|
@@ -14132,7 +14157,7 @@ function useDeleteChatMessage() {
|
|
|
14132
14157
|
const arbi = chunkY7S2SQH3_cjs.useArbi();
|
|
14133
14158
|
const queryClient = reactQuery.useQueryClient();
|
|
14134
14159
|
return React.useCallback(
|
|
14135
|
-
(chatExtId, messageExtId) =>
|
|
14160
|
+
(chatExtId, messageExtId) => chunkC5SVEWPU_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
|
|
14136
14161
|
[arbi, queryClient]
|
|
14137
14162
|
);
|
|
14138
14163
|
}
|
|
@@ -14141,7 +14166,7 @@ function useMarkChatRead() {
|
|
|
14141
14166
|
const queryClient = reactQuery.useQueryClient();
|
|
14142
14167
|
return React.useCallback(
|
|
14143
14168
|
(chat, messageExtId) => {
|
|
14144
|
-
|
|
14169
|
+
chunkC5SVEWPU_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
|
|
14145
14170
|
return arbi.chats.markRead(chat.external_id, messageExtId).then(
|
|
14146
14171
|
() => void 0,
|
|
14147
14172
|
() => void 0
|
|
@@ -14155,7 +14180,7 @@ function useCreateGroupChat() {
|
|
|
14155
14180
|
const queryClient = reactQuery.useQueryClient();
|
|
14156
14181
|
return reactQuery.useMutation({
|
|
14157
14182
|
mutationFn: (params) => arbi.chats.createGroup(params),
|
|
14158
|
-
onSuccess: (chat) =>
|
|
14183
|
+
onSuccess: (chat) => chunkC5SVEWPU_cjs.upsertChat(queryClient, chat)
|
|
14159
14184
|
});
|
|
14160
14185
|
}
|
|
14161
14186
|
function useRenameChat() {
|
|
@@ -14163,7 +14188,7 @@ function useRenameChat() {
|
|
|
14163
14188
|
const queryClient = reactQuery.useQueryClient();
|
|
14164
14189
|
return reactQuery.useMutation({
|
|
14165
14190
|
mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
|
|
14166
|
-
onSuccess: (chat) =>
|
|
14191
|
+
onSuccess: (chat) => chunkC5SVEWPU_cjs.upsertChat(queryClient, chat)
|
|
14167
14192
|
});
|
|
14168
14193
|
}
|
|
14169
14194
|
function useAddChatMembers() {
|
|
@@ -14171,7 +14196,7 @@ function useAddChatMembers() {
|
|
|
14171
14196
|
const queryClient = reactQuery.useQueryClient();
|
|
14172
14197
|
return reactQuery.useMutation({
|
|
14173
14198
|
mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
|
|
14174
|
-
onSuccess: (chat) =>
|
|
14199
|
+
onSuccess: (chat) => chunkC5SVEWPU_cjs.upsertChat(queryClient, chat)
|
|
14175
14200
|
});
|
|
14176
14201
|
}
|
|
14177
14202
|
function useRemoveChatMember() {
|
|
@@ -14180,7 +14205,7 @@ function useRemoveChatMember() {
|
|
|
14180
14205
|
return reactQuery.useMutation({
|
|
14181
14206
|
mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
|
|
14182
14207
|
onSuccess: (_data, vars) => {
|
|
14183
|
-
if (vars.userExtId ===
|
|
14208
|
+
if (vars.userExtId === chunkC5SVEWPU_cjs.myChatId(arbi)) chunkC5SVEWPU_cjs.removeChat(queryClient, vars.chat.external_id);
|
|
14184
14209
|
else return queryClient.invalidateQueries({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.chatList() });
|
|
14185
14210
|
}
|
|
14186
14211
|
});
|
|
@@ -14190,11 +14215,11 @@ function useChatArrivals(onArrival) {
|
|
|
14190
14215
|
const queryClient = reactQuery.useQueryClient();
|
|
14191
14216
|
useArbiWsMessage("chat.message", (message) => {
|
|
14192
14217
|
const senderId = message.message.sender_ext_id;
|
|
14193
|
-
if (!senderId || senderId ===
|
|
14194
|
-
if (message.message.kind !== "text" ||
|
|
14218
|
+
if (!senderId || senderId === chunkC5SVEWPU_cjs.myChatId(arbi)) return;
|
|
14219
|
+
if (message.message.kind !== "text" || chunkC5SVEWPU_cjs.getOpenChat() === message.chat_ext_id) return;
|
|
14195
14220
|
const muted = queryClient.getQueriesData({ queryKey: chunkGQAXAZN7_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
|
|
14196
14221
|
if (muted?.includes(senderId)) return;
|
|
14197
|
-
const chat =
|
|
14222
|
+
const chat = chunkC5SVEWPU_cjs.cachedChat(queryClient, message.chat_ext_id);
|
|
14198
14223
|
const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
|
|
14199
14224
|
onArrival({
|
|
14200
14225
|
chatId: message.chat_ext_id,
|
|
@@ -14644,763 +14669,763 @@ function CommandPaletteProvider({
|
|
|
14644
14669
|
|
|
14645
14670
|
Object.defineProperty(exports, "AUDIENCE_CHOICES", {
|
|
14646
14671
|
enumerable: true,
|
|
14647
|
-
get: function () { return
|
|
14672
|
+
get: function () { return chunkC5SVEWPU_cjs.AUDIENCE_CHOICES; }
|
|
14648
14673
|
});
|
|
14649
14674
|
Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
|
|
14650
14675
|
enumerable: true,
|
|
14651
|
-
get: function () { return
|
|
14676
|
+
get: function () { return chunkC5SVEWPU_cjs.CALL_CAPTION_TOPIC; }
|
|
14652
14677
|
});
|
|
14653
14678
|
Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
|
|
14654
14679
|
enumerable: true,
|
|
14655
|
-
get: function () { return
|
|
14680
|
+
get: function () { return chunkC5SVEWPU_cjs.CALL_CHAT_MAX_CHARS; }
|
|
14656
14681
|
});
|
|
14657
14682
|
Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
|
|
14658
14683
|
enumerable: true,
|
|
14659
|
-
get: function () { return
|
|
14684
|
+
get: function () { return chunkC5SVEWPU_cjs.CALL_CHAT_TOPIC; }
|
|
14660
14685
|
});
|
|
14661
14686
|
Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
|
|
14662
14687
|
enumerable: true,
|
|
14663
|
-
get: function () { return
|
|
14688
|
+
get: function () { return chunkC5SVEWPU_cjs.CALL_MODERATION_TOPIC; }
|
|
14664
14689
|
});
|
|
14665
14690
|
Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
|
|
14666
14691
|
enumerable: true,
|
|
14667
|
-
get: function () { return
|
|
14692
|
+
get: function () { return chunkC5SVEWPU_cjs.CALL_RECORDING_TOPIC; }
|
|
14668
14693
|
});
|
|
14669
14694
|
Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
|
|
14670
14695
|
enumerable: true,
|
|
14671
|
-
get: function () { return
|
|
14696
|
+
get: function () { return chunkC5SVEWPU_cjs.CALL_TRANSCRIPTION_TOPIC; }
|
|
14672
14697
|
});
|
|
14673
14698
|
Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
|
|
14674
14699
|
enumerable: true,
|
|
14675
|
-
get: function () { return
|
|
14700
|
+
get: function () { return chunkC5SVEWPU_cjs.CALL_WEBINAR_TOPIC; }
|
|
14676
14701
|
});
|
|
14677
14702
|
Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
|
|
14678
14703
|
enumerable: true,
|
|
14679
|
-
get: function () { return
|
|
14704
|
+
get: function () { return chunkC5SVEWPU_cjs.CAPTION_MAX_CHARS; }
|
|
14680
14705
|
});
|
|
14681
14706
|
Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
|
|
14682
14707
|
enumerable: true,
|
|
14683
|
-
get: function () { return
|
|
14708
|
+
get: function () { return chunkC5SVEWPU_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
|
|
14684
14709
|
});
|
|
14685
14710
|
Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
|
|
14686
14711
|
enumerable: true,
|
|
14687
|
-
get: function () { return
|
|
14712
|
+
get: function () { return chunkC5SVEWPU_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
|
|
14688
14713
|
});
|
|
14689
14714
|
Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
|
|
14690
14715
|
enumerable: true,
|
|
14691
|
-
get: function () { return
|
|
14716
|
+
get: function () { return chunkC5SVEWPU_cjs.DEFAULT_JOIN_CHOICES; }
|
|
14692
14717
|
});
|
|
14693
14718
|
Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
|
|
14694
14719
|
enumerable: true,
|
|
14695
|
-
get: function () { return
|
|
14720
|
+
get: function () { return chunkC5SVEWPU_cjs.EMPTY_CALL_SESSION; }
|
|
14696
14721
|
});
|
|
14697
14722
|
Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
|
|
14698
14723
|
enumerable: true,
|
|
14699
|
-
get: function () { return
|
|
14724
|
+
get: function () { return chunkC5SVEWPU_cjs.EXPORT_SAMPLE_RATE; }
|
|
14700
14725
|
});
|
|
14701
14726
|
Object.defineProperty(exports, "HISTORY_LIMIT", {
|
|
14702
14727
|
enumerable: true,
|
|
14703
|
-
get: function () { return
|
|
14728
|
+
get: function () { return chunkC5SVEWPU_cjs.HISTORY_LIMIT; }
|
|
14704
14729
|
});
|
|
14705
14730
|
Object.defineProperty(exports, "LIVE_SEGMENTER", {
|
|
14706
14731
|
enumerable: true,
|
|
14707
|
-
get: function () { return
|
|
14732
|
+
get: function () { return chunkC5SVEWPU_cjs.LIVE_SEGMENTER; }
|
|
14708
14733
|
});
|
|
14709
14734
|
Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
|
|
14710
14735
|
enumerable: true,
|
|
14711
|
-
get: function () { return
|
|
14736
|
+
get: function () { return chunkC5SVEWPU_cjs.MAX_AVATAR_FILE_BYTES; }
|
|
14712
14737
|
});
|
|
14713
14738
|
Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
|
|
14714
14739
|
enumerable: true,
|
|
14715
|
-
get: function () { return
|
|
14740
|
+
get: function () { return chunkC5SVEWPU_cjs.MUTED_DEDUPE_MS; }
|
|
14716
14741
|
});
|
|
14717
14742
|
Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
|
|
14718
14743
|
enumerable: true,
|
|
14719
|
-
get: function () { return
|
|
14744
|
+
get: function () { return chunkC5SVEWPU_cjs.PLAYBACK_LOOKAHEAD_MS; }
|
|
14720
14745
|
});
|
|
14721
14746
|
Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
|
|
14722
14747
|
enumerable: true,
|
|
14723
|
-
get: function () { return
|
|
14748
|
+
get: function () { return chunkC5SVEWPU_cjs.READ_ONLY_MEETING_TEXT; }
|
|
14724
14749
|
});
|
|
14725
14750
|
Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
|
|
14726
14751
|
enumerable: true,
|
|
14727
|
-
get: function () { return
|
|
14752
|
+
get: function () { return chunkC5SVEWPU_cjs.RECORDING_CHUNK_MS; }
|
|
14728
14753
|
});
|
|
14729
14754
|
Object.defineProperty(exports, "RECORDING_SEGMENTER", {
|
|
14730
14755
|
enumerable: true,
|
|
14731
|
-
get: function () { return
|
|
14756
|
+
get: function () { return chunkC5SVEWPU_cjs.RECORDING_SEGMENTER; }
|
|
14732
14757
|
});
|
|
14733
14758
|
Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
|
|
14734
14759
|
enumerable: true,
|
|
14735
|
-
get: function () { return
|
|
14760
|
+
get: function () { return chunkC5SVEWPU_cjs.SEGMENT_FRAME_MS; }
|
|
14736
14761
|
});
|
|
14737
14762
|
Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
|
|
14738
14763
|
enumerable: true,
|
|
14739
|
-
get: function () { return
|
|
14764
|
+
get: function () { return chunkC5SVEWPU_cjs.SEGMENT_ID_PATTERN; }
|
|
14740
14765
|
});
|
|
14741
14766
|
Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
|
|
14742
14767
|
enumerable: true,
|
|
14743
|
-
get: function () { return
|
|
14768
|
+
get: function () { return chunkC5SVEWPU_cjs.SEGMENT_PRE_ROLL_MS; }
|
|
14744
14769
|
});
|
|
14745
14770
|
Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
|
|
14746
14771
|
enumerable: true,
|
|
14747
|
-
get: function () { return
|
|
14772
|
+
get: function () { return chunkC5SVEWPU_cjs.SHORT_PIECE_MERGE_GAP_MS; }
|
|
14748
14773
|
});
|
|
14749
14774
|
Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
|
|
14750
14775
|
enumerable: true,
|
|
14751
|
-
get: function () { return
|
|
14776
|
+
get: function () { return chunkC5SVEWPU_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
|
|
14752
14777
|
});
|
|
14753
14778
|
Object.defineProperty(exports, "TrackUploader", {
|
|
14754
14779
|
enumerable: true,
|
|
14755
|
-
get: function () { return
|
|
14780
|
+
get: function () { return chunkC5SVEWPU_cjs.TrackUploader; }
|
|
14756
14781
|
});
|
|
14757
14782
|
Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
|
|
14758
14783
|
enumerable: true,
|
|
14759
|
-
get: function () { return
|
|
14784
|
+
get: function () { return chunkC5SVEWPU_cjs.UPLOAD_ATTEMPTS; }
|
|
14760
14785
|
});
|
|
14761
14786
|
Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
|
|
14762
14787
|
enumerable: true,
|
|
14763
|
-
get: function () { return
|
|
14788
|
+
get: function () { return chunkC5SVEWPU_cjs.UPLOAD_BACKOFF_MS; }
|
|
14764
14789
|
});
|
|
14765
14790
|
Object.defineProperty(exports, "acceptRing", {
|
|
14766
14791
|
enumerable: true,
|
|
14767
|
-
get: function () { return
|
|
14792
|
+
get: function () { return chunkC5SVEWPU_cjs.acceptRing; }
|
|
14768
14793
|
});
|
|
14769
14794
|
Object.defineProperty(exports, "addConversationToList", {
|
|
14770
14795
|
enumerable: true,
|
|
14771
|
-
get: function () { return
|
|
14796
|
+
get: function () { return chunkC5SVEWPU_cjs.addConversationToList; }
|
|
14772
14797
|
});
|
|
14773
14798
|
Object.defineProperty(exports, "appendToThread", {
|
|
14774
14799
|
enumerable: true,
|
|
14775
|
-
get: function () { return
|
|
14800
|
+
get: function () { return chunkC5SVEWPU_cjs.appendToThread; }
|
|
14776
14801
|
});
|
|
14777
14802
|
Object.defineProperty(exports, "applyAgentDmStatus", {
|
|
14778
14803
|
enumerable: true,
|
|
14779
|
-
get: function () { return
|
|
14804
|
+
get: function () { return chunkC5SVEWPU_cjs.applyAgentDmStatus; }
|
|
14780
14805
|
});
|
|
14781
14806
|
Object.defineProperty(exports, "applyCallEvent", {
|
|
14782
14807
|
enumerable: true,
|
|
14783
|
-
get: function () { return
|
|
14808
|
+
get: function () { return chunkC5SVEWPU_cjs.applyCallEvent; }
|
|
14784
14809
|
});
|
|
14785
14810
|
Object.defineProperty(exports, "applyChatEvent", {
|
|
14786
14811
|
enumerable: true,
|
|
14787
|
-
get: function () { return
|
|
14812
|
+
get: function () { return chunkC5SVEWPU_cjs.applyChatEvent; }
|
|
14788
14813
|
});
|
|
14789
14814
|
Object.defineProperty(exports, "applyChatMessage", {
|
|
14790
14815
|
enumerable: true,
|
|
14791
|
-
get: function () { return
|
|
14816
|
+
get: function () { return chunkC5SVEWPU_cjs.applyChatMessage; }
|
|
14792
14817
|
});
|
|
14793
14818
|
Object.defineProperty(exports, "applyChatRead", {
|
|
14794
14819
|
enumerable: true,
|
|
14795
|
-
get: function () { return
|
|
14820
|
+
get: function () { return chunkC5SVEWPU_cjs.applyChatRead; }
|
|
14796
14821
|
});
|
|
14797
14822
|
Object.defineProperty(exports, "applyChatUpdated", {
|
|
14798
14823
|
enumerable: true,
|
|
14799
|
-
get: function () { return
|
|
14824
|
+
get: function () { return chunkC5SVEWPU_cjs.applyChatUpdated; }
|
|
14800
14825
|
});
|
|
14801
14826
|
Object.defineProperty(exports, "arbiAccountClient", {
|
|
14802
14827
|
enumerable: true,
|
|
14803
|
-
get: function () { return
|
|
14828
|
+
get: function () { return chunkC5SVEWPU_cjs.arbiAccountClient; }
|
|
14804
14829
|
});
|
|
14805
14830
|
Object.defineProperty(exports, "buildMeetingChatBody", {
|
|
14806
14831
|
enumerable: true,
|
|
14807
|
-
get: function () { return
|
|
14832
|
+
get: function () { return chunkC5SVEWPU_cjs.buildMeetingChatBody; }
|
|
14808
14833
|
});
|
|
14809
14834
|
Object.defineProperty(exports, "cachedChat", {
|
|
14810
14835
|
enumerable: true,
|
|
14811
|
-
get: function () { return
|
|
14836
|
+
get: function () { return chunkC5SVEWPU_cjs.cachedChat; }
|
|
14812
14837
|
});
|
|
14813
14838
|
Object.defineProperty(exports, "cachedChats", {
|
|
14814
14839
|
enumerable: true,
|
|
14815
|
-
get: function () { return
|
|
14840
|
+
get: function () { return chunkC5SVEWPU_cjs.cachedChats; }
|
|
14816
14841
|
});
|
|
14817
14842
|
Object.defineProperty(exports, "callLink", {
|
|
14818
14843
|
enumerable: true,
|
|
14819
|
-
get: function () { return
|
|
14844
|
+
get: function () { return chunkC5SVEWPU_cjs.callLink; }
|
|
14820
14845
|
});
|
|
14821
14846
|
Object.defineProperty(exports, "callMemberKeys", {
|
|
14822
14847
|
enumerable: true,
|
|
14823
|
-
get: function () { return
|
|
14848
|
+
get: function () { return chunkC5SVEWPU_cjs.callMemberKeys; }
|
|
14824
14849
|
});
|
|
14825
14850
|
Object.defineProperty(exports, "callSession", {
|
|
14826
14851
|
enumerable: true,
|
|
14827
|
-
get: function () { return
|
|
14852
|
+
get: function () { return chunkC5SVEWPU_cjs.callSession; }
|
|
14828
14853
|
});
|
|
14829
14854
|
Object.defineProperty(exports, "chatByExtId", {
|
|
14830
14855
|
enumerable: true,
|
|
14831
|
-
get: function () { return
|
|
14856
|
+
get: function () { return chunkC5SVEWPU_cjs.chatByExtId; }
|
|
14832
14857
|
});
|
|
14833
14858
|
Object.defineProperty(exports, "chatHasLiveCall", {
|
|
14834
14859
|
enumerable: true,
|
|
14835
|
-
get: function () { return
|
|
14860
|
+
get: function () { return chunkC5SVEWPU_cjs.chatHasLiveCall; }
|
|
14836
14861
|
});
|
|
14837
14862
|
Object.defineProperty(exports, "chatLiveCallId", {
|
|
14838
14863
|
enumerable: true,
|
|
14839
|
-
get: function () { return
|
|
14864
|
+
get: function () { return chunkC5SVEWPU_cjs.chatLiveCallId; }
|
|
14840
14865
|
});
|
|
14841
14866
|
Object.defineProperty(exports, "chatTranscriptRef", {
|
|
14842
14867
|
enumerable: true,
|
|
14843
|
-
get: function () { return
|
|
14868
|
+
get: function () { return chunkC5SVEWPU_cjs.chatTranscriptRef; }
|
|
14844
14869
|
});
|
|
14845
14870
|
Object.defineProperty(exports, "clearMeetingChatCache", {
|
|
14846
14871
|
enumerable: true,
|
|
14847
|
-
get: function () { return
|
|
14872
|
+
get: function () { return chunkC5SVEWPU_cjs.clearMeetingChatCache; }
|
|
14848
14873
|
});
|
|
14849
14874
|
Object.defineProperty(exports, "clearTrackUploaders", {
|
|
14850
14875
|
enumerable: true,
|
|
14851
|
-
get: function () { return
|
|
14876
|
+
get: function () { return chunkC5SVEWPU_cjs.clearTrackUploaders; }
|
|
14852
14877
|
});
|
|
14853
14878
|
Object.defineProperty(exports, "clockTime", {
|
|
14854
14879
|
enumerable: true,
|
|
14855
|
-
get: function () { return
|
|
14880
|
+
get: function () { return chunkC5SVEWPU_cjs.clockTime; }
|
|
14856
14881
|
});
|
|
14857
14882
|
Object.defineProperty(exports, "compositeFiles", {
|
|
14858
14883
|
enumerable: true,
|
|
14859
|
-
get: function () { return
|
|
14884
|
+
get: function () { return chunkC5SVEWPU_cjs.compositeFiles; }
|
|
14860
14885
|
});
|
|
14861
14886
|
Object.defineProperty(exports, "compositeTrack", {
|
|
14862
14887
|
enumerable: true,
|
|
14863
|
-
get: function () { return
|
|
14888
|
+
get: function () { return chunkC5SVEWPU_cjs.compositeTrack; }
|
|
14864
14889
|
});
|
|
14865
14890
|
Object.defineProperty(exports, "conversationKeyForCall", {
|
|
14866
14891
|
enumerable: true,
|
|
14867
|
-
get: function () { return
|
|
14892
|
+
get: function () { return chunkC5SVEWPU_cjs.conversationKeyForCall; }
|
|
14868
14893
|
});
|
|
14869
14894
|
Object.defineProperty(exports, "createLocalFeatureStore", {
|
|
14870
14895
|
enumerable: true,
|
|
14871
|
-
get: function () { return
|
|
14896
|
+
get: function () { return chunkC5SVEWPU_cjs.createLocalFeatureStore; }
|
|
14872
14897
|
});
|
|
14873
14898
|
Object.defineProperty(exports, "createMutedNotifier", {
|
|
14874
14899
|
enumerable: true,
|
|
14875
|
-
get: function () { return
|
|
14900
|
+
get: function () { return chunkC5SVEWPU_cjs.createMutedNotifier; }
|
|
14876
14901
|
});
|
|
14877
14902
|
Object.defineProperty(exports, "createTrackCutter", {
|
|
14878
14903
|
enumerable: true,
|
|
14879
|
-
get: function () { return
|
|
14904
|
+
get: function () { return chunkC5SVEWPU_cjs.createTrackCutter; }
|
|
14880
14905
|
});
|
|
14881
14906
|
Object.defineProperty(exports, "cutAtPauses", {
|
|
14882
14907
|
enumerable: true,
|
|
14883
|
-
get: function () { return
|
|
14908
|
+
get: function () { return chunkC5SVEWPU_cjs.cutAtPauses; }
|
|
14884
14909
|
});
|
|
14885
14910
|
Object.defineProperty(exports, "declineRing", {
|
|
14886
14911
|
enumerable: true,
|
|
14887
|
-
get: function () { return
|
|
14912
|
+
get: function () { return chunkC5SVEWPU_cjs.declineRing; }
|
|
14888
14913
|
});
|
|
14889
14914
|
Object.defineProperty(exports, "decodeCallChatPacket", {
|
|
14890
14915
|
enumerable: true,
|
|
14891
|
-
get: function () { return
|
|
14916
|
+
get: function () { return chunkC5SVEWPU_cjs.decodeCallChatPacket; }
|
|
14892
14917
|
});
|
|
14893
14918
|
Object.defineProperty(exports, "decodeCaptionPacket", {
|
|
14894
14919
|
enumerable: true,
|
|
14895
|
-
get: function () { return
|
|
14920
|
+
get: function () { return chunkC5SVEWPU_cjs.decodeCaptionPacket; }
|
|
14896
14921
|
});
|
|
14897
14922
|
Object.defineProperty(exports, "decodeMono16k", {
|
|
14898
14923
|
enumerable: true,
|
|
14899
|
-
get: function () { return
|
|
14924
|
+
get: function () { return chunkC5SVEWPU_cjs.decodeMono16k; }
|
|
14900
14925
|
});
|
|
14901
14926
|
Object.defineProperty(exports, "decryptPart", {
|
|
14902
14927
|
enumerable: true,
|
|
14903
|
-
get: function () { return
|
|
14928
|
+
get: function () { return chunkC5SVEWPU_cjs.decryptPart; }
|
|
14904
14929
|
});
|
|
14905
14930
|
Object.defineProperty(exports, "encodeCallChatPacket", {
|
|
14906
14931
|
enumerable: true,
|
|
14907
|
-
get: function () { return
|
|
14932
|
+
get: function () { return chunkC5SVEWPU_cjs.encodeCallChatPacket; }
|
|
14908
14933
|
});
|
|
14909
14934
|
Object.defineProperty(exports, "encodeCaptionPacket", {
|
|
14910
14935
|
enumerable: true,
|
|
14911
|
-
get: function () { return
|
|
14936
|
+
get: function () { return chunkC5SVEWPU_cjs.encodeCaptionPacket; }
|
|
14912
14937
|
});
|
|
14913
14938
|
Object.defineProperty(exports, "encodeWav", {
|
|
14914
14939
|
enumerable: true,
|
|
14915
|
-
get: function () { return
|
|
14940
|
+
get: function () { return chunkC5SVEWPU_cjs.encodeWav; }
|
|
14916
14941
|
});
|
|
14917
14942
|
Object.defineProperty(exports, "encryptPart", {
|
|
14918
14943
|
enumerable: true,
|
|
14919
|
-
get: function () { return
|
|
14944
|
+
get: function () { return chunkC5SVEWPU_cjs.encryptPart; }
|
|
14920
14945
|
});
|
|
14921
14946
|
Object.defineProperty(exports, "ensureMeetingChat", {
|
|
14922
14947
|
enumerable: true,
|
|
14923
|
-
get: function () { return
|
|
14948
|
+
get: function () { return chunkC5SVEWPU_cjs.ensureMeetingChat; }
|
|
14924
14949
|
});
|
|
14925
14950
|
Object.defineProperty(exports, "entitlementRefusal", {
|
|
14926
14951
|
enumerable: true,
|
|
14927
|
-
get: function () { return
|
|
14952
|
+
get: function () { return chunkC5SVEWPU_cjs.entitlementRefusal; }
|
|
14928
14953
|
});
|
|
14929
14954
|
Object.defineProperty(exports, "extensionFor", {
|
|
14930
14955
|
enumerable: true,
|
|
14931
|
-
get: function () { return
|
|
14956
|
+
get: function () { return chunkC5SVEWPU_cjs.extensionFor; }
|
|
14932
14957
|
});
|
|
14933
14958
|
Object.defineProperty(exports, "fetchPart", {
|
|
14934
14959
|
enumerable: true,
|
|
14935
|
-
get: function () { return
|
|
14960
|
+
get: function () { return chunkC5SVEWPU_cjs.fetchPart; }
|
|
14936
14961
|
});
|
|
14937
14962
|
Object.defineProperty(exports, "fileSafe", {
|
|
14938
14963
|
enumerable: true,
|
|
14939
|
-
get: function () { return
|
|
14964
|
+
get: function () { return chunkC5SVEWPU_cjs.fileSafe; }
|
|
14940
14965
|
});
|
|
14941
14966
|
Object.defineProperty(exports, "findConversation", {
|
|
14942
14967
|
enumerable: true,
|
|
14943
|
-
get: function () { return
|
|
14968
|
+
get: function () { return chunkC5SVEWPU_cjs.findConversation; }
|
|
14944
14969
|
});
|
|
14945
14970
|
Object.defineProperty(exports, "floatToWav", {
|
|
14946
14971
|
enumerable: true,
|
|
14947
|
-
get: function () { return
|
|
14972
|
+
get: function () { return chunkC5SVEWPU_cjs.floatToWav; }
|
|
14948
14973
|
});
|
|
14949
14974
|
Object.defineProperty(exports, "formatTranscriptMarkdown", {
|
|
14950
14975
|
enumerable: true,
|
|
14951
|
-
get: function () { return
|
|
14976
|
+
get: function () { return chunkC5SVEWPU_cjs.formatTranscriptMarkdown; }
|
|
14952
14977
|
});
|
|
14953
14978
|
Object.defineProperty(exports, "getOpenChat", {
|
|
14954
14979
|
enumerable: true,
|
|
14955
|
-
get: function () { return
|
|
14980
|
+
get: function () { return chunkC5SVEWPU_cjs.getOpenChat; }
|
|
14956
14981
|
});
|
|
14957
14982
|
Object.defineProperty(exports, "hasRecordingTranscript", {
|
|
14958
14983
|
enumerable: true,
|
|
14959
|
-
get: function () { return
|
|
14984
|
+
get: function () { return chunkC5SVEWPU_cjs.hasRecordingTranscript; }
|
|
14960
14985
|
});
|
|
14961
14986
|
Object.defineProperty(exports, "invalidateCall", {
|
|
14962
14987
|
enumerable: true,
|
|
14963
|
-
get: function () { return
|
|
14988
|
+
get: function () { return chunkC5SVEWPU_cjs.invalidateCall; }
|
|
14964
14989
|
});
|
|
14965
14990
|
Object.defineProperty(exports, "invalidateConversationDetails", {
|
|
14966
14991
|
enumerable: true,
|
|
14967
|
-
get: function () { return
|
|
14992
|
+
get: function () { return chunkC5SVEWPU_cjs.invalidateConversationDetails; }
|
|
14968
14993
|
});
|
|
14969
14994
|
Object.defineProperty(exports, "invalidateConversationLists", {
|
|
14970
14995
|
enumerable: true,
|
|
14971
|
-
get: function () { return
|
|
14996
|
+
get: function () { return chunkC5SVEWPU_cjs.invalidateConversationLists; }
|
|
14972
14997
|
});
|
|
14973
14998
|
Object.defineProperty(exports, "isConversationListKey", {
|
|
14974
14999
|
enumerable: true,
|
|
14975
|
-
get: function () { return
|
|
15000
|
+
get: function () { return chunkC5SVEWPU_cjs.isConversationListKey; }
|
|
14976
15001
|
});
|
|
14977
15002
|
Object.defineProperty(exports, "isConversationShared", {
|
|
14978
15003
|
enumerable: true,
|
|
14979
|
-
get: function () { return
|
|
15004
|
+
get: function () { return chunkC5SVEWPU_cjs.isConversationShared; }
|
|
14980
15005
|
});
|
|
14981
15006
|
Object.defineProperty(exports, "isRecordingOver", {
|
|
14982
15007
|
enumerable: true,
|
|
14983
|
-
get: function () { return
|
|
15008
|
+
get: function () { return chunkC5SVEWPU_cjs.isRecordingOver; }
|
|
14984
15009
|
});
|
|
14985
15010
|
Object.defineProperty(exports, "isRecordingSegmentId", {
|
|
14986
15011
|
enumerable: true,
|
|
14987
|
-
get: function () { return
|
|
15012
|
+
get: function () { return chunkC5SVEWPU_cjs.isRecordingSegmentId; }
|
|
14988
15013
|
});
|
|
14989
15014
|
Object.defineProperty(exports, "isRetryable", {
|
|
14990
15015
|
enumerable: true,
|
|
14991
|
-
get: function () { return
|
|
15016
|
+
get: function () { return chunkC5SVEWPU_cjs.isRetryable; }
|
|
14992
15017
|
});
|
|
14993
15018
|
Object.defineProperty(exports, "isWorkspaceGuestOf", {
|
|
14994
15019
|
enumerable: true,
|
|
14995
|
-
get: function () { return
|
|
15020
|
+
get: function () { return chunkC5SVEWPU_cjs.isWorkspaceGuestOf; }
|
|
14996
15021
|
});
|
|
14997
15022
|
Object.defineProperty(exports, "joinFromPreJoin", {
|
|
14998
15023
|
enumerable: true,
|
|
14999
|
-
get: function () { return
|
|
15024
|
+
get: function () { return chunkC5SVEWPU_cjs.joinFromPreJoin; }
|
|
15000
15025
|
});
|
|
15001
15026
|
Object.defineProperty(exports, "knownMeetingChat", {
|
|
15002
15027
|
enumerable: true,
|
|
15003
|
-
get: function () { return
|
|
15028
|
+
get: function () { return chunkC5SVEWPU_cjs.knownMeetingChat; }
|
|
15004
15029
|
});
|
|
15005
15030
|
Object.defineProperty(exports, "loadMeetingHistory", {
|
|
15006
15031
|
enumerable: true,
|
|
15007
|
-
get: function () { return
|
|
15032
|
+
get: function () { return chunkC5SVEWPU_cjs.loadMeetingHistory; }
|
|
15008
15033
|
});
|
|
15009
15034
|
Object.defineProperty(exports, "markRejoining", {
|
|
15010
15035
|
enumerable: true,
|
|
15011
|
-
get: function () { return
|
|
15036
|
+
get: function () { return chunkC5SVEWPU_cjs.markRejoining; }
|
|
15012
15037
|
});
|
|
15013
15038
|
Object.defineProperty(exports, "meetingChatRefFrom", {
|
|
15014
15039
|
enumerable: true,
|
|
15015
|
-
get: function () { return
|
|
15040
|
+
get: function () { return chunkC5SVEWPU_cjs.meetingChatRefFrom; }
|
|
15016
15041
|
});
|
|
15017
15042
|
Object.defineProperty(exports, "meetingRefForCall", {
|
|
15018
15043
|
enumerable: true,
|
|
15019
|
-
get: function () { return
|
|
15044
|
+
get: function () { return chunkC5SVEWPU_cjs.meetingRefForCall; }
|
|
15020
15045
|
});
|
|
15021
15046
|
Object.defineProperty(exports, "mergeChatLines", {
|
|
15022
15047
|
enumerable: true,
|
|
15023
|
-
get: function () { return
|
|
15048
|
+
get: function () { return chunkC5SVEWPU_cjs.mergeChatLines; }
|
|
15024
15049
|
});
|
|
15025
15050
|
Object.defineProperty(exports, "mutedNoticeFromEvent", {
|
|
15026
15051
|
enumerable: true,
|
|
15027
|
-
get: function () { return
|
|
15052
|
+
get: function () { return chunkC5SVEWPU_cjs.mutedNoticeFromEvent; }
|
|
15028
15053
|
});
|
|
15029
15054
|
Object.defineProperty(exports, "mutedNoticeFromPacket", {
|
|
15030
15055
|
enumerable: true,
|
|
15031
|
-
get: function () { return
|
|
15056
|
+
get: function () { return chunkC5SVEWPU_cjs.mutedNoticeFromPacket; }
|
|
15032
15057
|
});
|
|
15033
15058
|
Object.defineProperty(exports, "mutedNoticeText", {
|
|
15034
15059
|
enumerable: true,
|
|
15035
|
-
get: function () { return
|
|
15060
|
+
get: function () { return chunkC5SVEWPU_cjs.mutedNoticeText; }
|
|
15036
15061
|
});
|
|
15037
15062
|
Object.defineProperty(exports, "myChatId", {
|
|
15038
15063
|
enumerable: true,
|
|
15039
|
-
get: function () { return
|
|
15064
|
+
get: function () { return chunkC5SVEWPU_cjs.myChatId; }
|
|
15040
15065
|
});
|
|
15041
15066
|
Object.defineProperty(exports, "newPacketId", {
|
|
15042
15067
|
enumerable: true,
|
|
15043
|
-
get: function () { return
|
|
15068
|
+
get: function () { return chunkC5SVEWPU_cjs.newPacketId; }
|
|
15044
15069
|
});
|
|
15045
15070
|
Object.defineProperty(exports, "newSegmentId", {
|
|
15046
15071
|
enumerable: true,
|
|
15047
|
-
get: function () { return
|
|
15072
|
+
get: function () { return chunkC5SVEWPU_cjs.newSegmentId; }
|
|
15048
15073
|
});
|
|
15049
15074
|
Object.defineProperty(exports, "newTrackKey", {
|
|
15050
15075
|
enumerable: true,
|
|
15051
|
-
get: function () { return
|
|
15076
|
+
get: function () { return chunkC5SVEWPU_cjs.newTrackKey; }
|
|
15052
15077
|
});
|
|
15053
15078
|
Object.defineProperty(exports, "nextSeqAfter", {
|
|
15054
15079
|
enumerable: true,
|
|
15055
|
-
get: function () { return
|
|
15080
|
+
get: function () { return chunkC5SVEWPU_cjs.nextSeqAfter; }
|
|
15056
15081
|
});
|
|
15057
15082
|
Object.defineProperty(exports, "onCallEvent", {
|
|
15058
15083
|
enumerable: true,
|
|
15059
|
-
get: function () { return
|
|
15084
|
+
get: function () { return chunkC5SVEWPU_cjs.onCallEvent; }
|
|
15060
15085
|
});
|
|
15061
15086
|
Object.defineProperty(exports, "openCall", {
|
|
15062
15087
|
enumerable: true,
|
|
15063
|
-
get: function () { return
|
|
15088
|
+
get: function () { return chunkC5SVEWPU_cjs.openCall; }
|
|
15064
15089
|
});
|
|
15065
15090
|
Object.defineProperty(exports, "openQuestion", {
|
|
15066
15091
|
enumerable: true,
|
|
15067
|
-
get: function () { return
|
|
15092
|
+
get: function () { return chunkC5SVEWPU_cjs.openQuestion; }
|
|
15068
15093
|
});
|
|
15069
15094
|
Object.defineProperty(exports, "openRecording", {
|
|
15070
15095
|
enumerable: true,
|
|
15071
|
-
get: function () { return
|
|
15096
|
+
get: function () { return chunkC5SVEWPU_cjs.openRecording; }
|
|
15072
15097
|
});
|
|
15073
15098
|
Object.defineProperty(exports, "parseWebinarPacket", {
|
|
15074
15099
|
enumerable: true,
|
|
15075
|
-
get: function () { return
|
|
15100
|
+
get: function () { return chunkC5SVEWPU_cjs.parseWebinarPacket; }
|
|
15076
15101
|
});
|
|
15077
15102
|
Object.defineProperty(exports, "partKey", {
|
|
15078
15103
|
enumerable: true,
|
|
15079
|
-
get: function () { return
|
|
15104
|
+
get: function () { return chunkC5SVEWPU_cjs.partKey; }
|
|
15080
15105
|
});
|
|
15081
15106
|
Object.defineProperty(exports, "partOffsetMs", {
|
|
15082
15107
|
enumerable: true,
|
|
15083
|
-
get: function () { return
|
|
15108
|
+
get: function () { return chunkC5SVEWPU_cjs.partOffsetMs; }
|
|
15084
15109
|
});
|
|
15085
15110
|
Object.defineProperty(exports, "partsDue", {
|
|
15086
15111
|
enumerable: true,
|
|
15087
|
-
get: function () { return
|
|
15112
|
+
get: function () { return chunkC5SVEWPU_cjs.partsDue; }
|
|
15088
15113
|
});
|
|
15089
15114
|
Object.defineProperty(exports, "patchConversation", {
|
|
15090
15115
|
enumerable: true,
|
|
15091
|
-
get: function () { return
|
|
15116
|
+
get: function () { return chunkC5SVEWPU_cjs.patchConversation; }
|
|
15092
15117
|
});
|
|
15093
15118
|
Object.defineProperty(exports, "patchConversationList", {
|
|
15094
15119
|
enumerable: true,
|
|
15095
|
-
get: function () { return
|
|
15120
|
+
get: function () { return chunkC5SVEWPU_cjs.patchConversationList; }
|
|
15096
15121
|
});
|
|
15097
15122
|
Object.defineProperty(exports, "persistMeetingMessage", {
|
|
15098
15123
|
enumerable: true,
|
|
15099
|
-
get: function () { return
|
|
15124
|
+
get: function () { return chunkC5SVEWPU_cjs.persistMeetingMessage; }
|
|
15100
15125
|
});
|
|
15101
15126
|
Object.defineProperty(exports, "persistTranscriptSegment", {
|
|
15102
15127
|
enumerable: true,
|
|
15103
|
-
get: function () { return
|
|
15128
|
+
get: function () { return chunkC5SVEWPU_cjs.persistTranscriptSegment; }
|
|
15104
15129
|
});
|
|
15105
15130
|
Object.defineProperty(exports, "playheadAt", {
|
|
15106
15131
|
enumerable: true,
|
|
15107
|
-
get: function () { return
|
|
15132
|
+
get: function () { return chunkC5SVEWPU_cjs.playheadAt; }
|
|
15108
15133
|
});
|
|
15109
15134
|
Object.defineProperty(exports, "postRecordingDocsToThread", {
|
|
15110
15135
|
enumerable: true,
|
|
15111
|
-
get: function () { return
|
|
15136
|
+
get: function () { return chunkC5SVEWPU_cjs.postRecordingDocsToThread; }
|
|
15112
15137
|
});
|
|
15113
15138
|
Object.defineProperty(exports, "postTranscriptToThread", {
|
|
15114
15139
|
enumerable: true,
|
|
15115
|
-
get: function () { return
|
|
15140
|
+
get: function () { return chunkC5SVEWPU_cjs.postTranscriptToThread; }
|
|
15116
15141
|
});
|
|
15117
15142
|
Object.defineProperty(exports, "readLocalFeature", {
|
|
15118
15143
|
enumerable: true,
|
|
15119
|
-
get: function () { return
|
|
15144
|
+
get: function () { return chunkC5SVEWPU_cjs.readLocalFeature; }
|
|
15120
15145
|
});
|
|
15121
15146
|
Object.defineProperty(exports, "recordingFiles", {
|
|
15122
15147
|
enumerable: true,
|
|
15123
|
-
get: function () { return
|
|
15148
|
+
get: function () { return chunkC5SVEWPU_cjs.recordingFiles; }
|
|
15124
15149
|
});
|
|
15125
15150
|
Object.defineProperty(exports, "recordingWindowsOf", {
|
|
15126
15151
|
enumerable: true,
|
|
15127
|
-
get: function () { return
|
|
15152
|
+
get: function () { return chunkC5SVEWPU_cjs.recordingWindowsOf; }
|
|
15128
15153
|
});
|
|
15129
15154
|
Object.defineProperty(exports, "rejoinAsAudience", {
|
|
15130
15155
|
enumerable: true,
|
|
15131
|
-
get: function () { return
|
|
15156
|
+
get: function () { return chunkC5SVEWPU_cjs.rejoinAsAudience; }
|
|
15132
15157
|
});
|
|
15133
15158
|
Object.defineProperty(exports, "removeChat", {
|
|
15134
15159
|
enumerable: true,
|
|
15135
|
-
get: function () { return
|
|
15160
|
+
get: function () { return chunkC5SVEWPU_cjs.removeChat; }
|
|
15136
15161
|
});
|
|
15137
15162
|
Object.defineProperty(exports, "removeConversationFromLists", {
|
|
15138
15163
|
enumerable: true,
|
|
15139
|
-
get: function () { return
|
|
15164
|
+
get: function () { return chunkC5SVEWPU_cjs.removeConversationFromLists; }
|
|
15140
15165
|
});
|
|
15141
15166
|
Object.defineProperty(exports, "resetCallSession", {
|
|
15142
15167
|
enumerable: true,
|
|
15143
|
-
get: function () { return
|
|
15168
|
+
get: function () { return chunkC5SVEWPU_cjs.resetCallSession; }
|
|
15144
15169
|
});
|
|
15145
15170
|
Object.defineProperty(exports, "resolveMeetingChat", {
|
|
15146
15171
|
enumerable: true,
|
|
15147
|
-
get: function () { return
|
|
15172
|
+
get: function () { return chunkC5SVEWPU_cjs.resolveMeetingChat; }
|
|
15148
15173
|
});
|
|
15149
15174
|
Object.defineProperty(exports, "saveRecordingFilesToThread", {
|
|
15150
15175
|
enumerable: true,
|
|
15151
|
-
get: function () { return
|
|
15176
|
+
get: function () { return chunkC5SVEWPU_cjs.saveRecordingFilesToThread; }
|
|
15152
15177
|
});
|
|
15153
15178
|
Object.defineProperty(exports, "schedulePart", {
|
|
15154
15179
|
enumerable: true,
|
|
15155
|
-
get: function () { return
|
|
15180
|
+
get: function () { return chunkC5SVEWPU_cjs.schedulePart; }
|
|
15156
15181
|
});
|
|
15157
15182
|
Object.defineProperty(exports, "sealQuestionText", {
|
|
15158
15183
|
enumerable: true,
|
|
15159
|
-
get: function () { return
|
|
15184
|
+
get: function () { return chunkC5SVEWPU_cjs.sealQuestionText; }
|
|
15160
15185
|
});
|
|
15161
15186
|
Object.defineProperty(exports, "serverCallsExperimental", {
|
|
15162
15187
|
enumerable: true,
|
|
15163
|
-
get: function () { return
|
|
15188
|
+
get: function () { return chunkC5SVEWPU_cjs.serverCallsExperimental; }
|
|
15164
15189
|
});
|
|
15165
15190
|
Object.defineProperty(exports, "setOpenChat", {
|
|
15166
15191
|
enumerable: true,
|
|
15167
|
-
get: function () { return
|
|
15192
|
+
get: function () { return chunkC5SVEWPU_cjs.setOpenChat; }
|
|
15168
15193
|
});
|
|
15169
15194
|
Object.defineProperty(exports, "sortTranscriptMessages", {
|
|
15170
15195
|
enumerable: true,
|
|
15171
|
-
get: function () { return
|
|
15196
|
+
get: function () { return chunkC5SVEWPU_cjs.sortTranscriptMessages; }
|
|
15172
15197
|
});
|
|
15173
15198
|
Object.defineProperty(exports, "sortedParts", {
|
|
15174
15199
|
enumerable: true,
|
|
15175
|
-
get: function () { return
|
|
15200
|
+
get: function () { return chunkC5SVEWPU_cjs.sortedParts; }
|
|
15176
15201
|
});
|
|
15177
15202
|
Object.defineProperty(exports, "speakerTracks", {
|
|
15178
15203
|
enumerable: true,
|
|
15179
|
-
get: function () { return
|
|
15204
|
+
get: function () { return chunkC5SVEWPU_cjs.speakerTracks; }
|
|
15180
15205
|
});
|
|
15181
15206
|
Object.defineProperty(exports, "speakerWav", {
|
|
15182
15207
|
enumerable: true,
|
|
15183
|
-
get: function () { return
|
|
15208
|
+
get: function () { return chunkC5SVEWPU_cjs.speakerWav; }
|
|
15184
15209
|
});
|
|
15185
15210
|
Object.defineProperty(exports, "splitIntoFiles", {
|
|
15186
15211
|
enumerable: true,
|
|
15187
|
-
get: function () { return
|
|
15212
|
+
get: function () { return chunkC5SVEWPU_cjs.splitIntoFiles; }
|
|
15188
15213
|
});
|
|
15189
15214
|
Object.defineProperty(exports, "standalone", {
|
|
15190
15215
|
enumerable: true,
|
|
15191
|
-
get: function () { return
|
|
15216
|
+
get: function () { return chunkC5SVEWPU_cjs.standalone; }
|
|
15192
15217
|
});
|
|
15193
15218
|
Object.defineProperty(exports, "startChatCall", {
|
|
15194
15219
|
enumerable: true,
|
|
15195
|
-
get: function () { return
|
|
15220
|
+
get: function () { return chunkC5SVEWPU_cjs.startChatCall; }
|
|
15196
15221
|
});
|
|
15197
15222
|
Object.defineProperty(exports, "startContactsCall", {
|
|
15198
15223
|
enumerable: true,
|
|
15199
|
-
get: function () { return
|
|
15224
|
+
get: function () { return chunkC5SVEWPU_cjs.startContactsCall; }
|
|
15200
15225
|
});
|
|
15201
15226
|
Object.defineProperty(exports, "startDmCall", {
|
|
15202
15227
|
enumerable: true,
|
|
15203
|
-
get: function () { return
|
|
15228
|
+
get: function () { return chunkC5SVEWPU_cjs.startDmCall; }
|
|
15204
15229
|
});
|
|
15205
15230
|
Object.defineProperty(exports, "startThreadCall", {
|
|
15206
15231
|
enumerable: true,
|
|
15207
|
-
get: function () { return
|
|
15232
|
+
get: function () { return chunkC5SVEWPU_cjs.startThreadCall; }
|
|
15208
15233
|
});
|
|
15209
15234
|
Object.defineProperty(exports, "startsMediaFile", {
|
|
15210
15235
|
enumerable: true,
|
|
15211
|
-
get: function () { return
|
|
15236
|
+
get: function () { return chunkC5SVEWPU_cjs.startsMediaFile; }
|
|
15212
15237
|
});
|
|
15213
15238
|
Object.defineProperty(exports, "storeTranscriptSegment", {
|
|
15214
15239
|
enumerable: true,
|
|
15215
|
-
get: function () { return
|
|
15240
|
+
get: function () { return chunkC5SVEWPU_cjs.storeTranscriptSegment; }
|
|
15216
15241
|
});
|
|
15217
15242
|
Object.defineProperty(exports, "stripSpeakerPrefix", {
|
|
15218
15243
|
enumerable: true,
|
|
15219
|
-
get: function () { return
|
|
15244
|
+
get: function () { return chunkC5SVEWPU_cjs.stripSpeakerPrefix; }
|
|
15220
15245
|
});
|
|
15221
15246
|
Object.defineProperty(exports, "supersedeLiveTranscript", {
|
|
15222
15247
|
enumerable: true,
|
|
15223
|
-
get: function () { return
|
|
15248
|
+
get: function () { return chunkC5SVEWPU_cjs.supersedeLiveTranscript; }
|
|
15224
15249
|
});
|
|
15225
15250
|
Object.defineProperty(exports, "supersededTranscriptLines", {
|
|
15226
15251
|
enumerable: true,
|
|
15227
|
-
get: function () { return
|
|
15252
|
+
get: function () { return chunkC5SVEWPU_cjs.supersededTranscriptLines; }
|
|
15228
15253
|
});
|
|
15229
15254
|
Object.defineProperty(exports, "threadHasLiveCall", {
|
|
15230
15255
|
enumerable: true,
|
|
15231
|
-
get: function () { return
|
|
15256
|
+
get: function () { return chunkC5SVEWPU_cjs.threadHasLiveCall; }
|
|
15232
15257
|
});
|
|
15233
15258
|
Object.defineProperty(exports, "threadLiveCallId", {
|
|
15234
15259
|
enumerable: true,
|
|
15235
|
-
get: function () { return
|
|
15260
|
+
get: function () { return chunkC5SVEWPU_cjs.threadLiveCallId; }
|
|
15236
15261
|
});
|
|
15237
15262
|
Object.defineProperty(exports, "threadTranscriptLines", {
|
|
15238
15263
|
enumerable: true,
|
|
15239
|
-
get: function () { return
|
|
15264
|
+
get: function () { return chunkC5SVEWPU_cjs.threadTranscriptLines; }
|
|
15240
15265
|
});
|
|
15241
15266
|
Object.defineProperty(exports, "threadTranscriptRef", {
|
|
15242
15267
|
enumerable: true,
|
|
15243
|
-
get: function () { return
|
|
15268
|
+
get: function () { return chunkC5SVEWPU_cjs.threadTranscriptRef; }
|
|
15244
15269
|
});
|
|
15245
15270
|
Object.defineProperty(exports, "threadTranscriptText", {
|
|
15246
15271
|
enumerable: true,
|
|
15247
|
-
get: function () { return
|
|
15272
|
+
get: function () { return chunkC5SVEWPU_cjs.threadTranscriptText; }
|
|
15248
15273
|
});
|
|
15249
15274
|
Object.defineProperty(exports, "timelineDurationMs", {
|
|
15250
15275
|
enumerable: true,
|
|
15251
|
-
get: function () { return
|
|
15276
|
+
get: function () { return chunkC5SVEWPU_cjs.timelineDurationMs; }
|
|
15252
15277
|
});
|
|
15253
15278
|
Object.defineProperty(exports, "timelineOf", {
|
|
15254
15279
|
enumerable: true,
|
|
15255
|
-
get: function () { return
|
|
15280
|
+
get: function () { return chunkC5SVEWPU_cjs.timelineOf; }
|
|
15256
15281
|
});
|
|
15257
15282
|
Object.defineProperty(exports, "toProfileView", {
|
|
15258
15283
|
enumerable: true,
|
|
15259
|
-
get: function () { return
|
|
15284
|
+
get: function () { return chunkC5SVEWPU_cjs.toProfileView; }
|
|
15260
15285
|
});
|
|
15261
15286
|
Object.defineProperty(exports, "trackUploaderFor", {
|
|
15262
15287
|
enumerable: true,
|
|
15263
|
-
get: function () { return
|
|
15288
|
+
get: function () { return chunkC5SVEWPU_cjs.trackUploaderFor; }
|
|
15264
15289
|
});
|
|
15265
15290
|
Object.defineProperty(exports, "transcribeRecording", {
|
|
15266
15291
|
enumerable: true,
|
|
15267
|
-
get: function () { return
|
|
15292
|
+
get: function () { return chunkC5SVEWPU_cjs.transcribeRecording; }
|
|
15268
15293
|
});
|
|
15269
15294
|
Object.defineProperty(exports, "transcriptPersistRole", {
|
|
15270
15295
|
enumerable: true,
|
|
15271
|
-
get: function () { return
|
|
15296
|
+
get: function () { return chunkC5SVEWPU_cjs.transcriptPersistRole; }
|
|
15272
15297
|
});
|
|
15273
15298
|
Object.defineProperty(exports, "transcriptSegmentOf", {
|
|
15274
15299
|
enumerable: true,
|
|
15275
|
-
get: function () { return
|
|
15300
|
+
get: function () { return chunkC5SVEWPU_cjs.transcriptSegmentOf; }
|
|
15276
15301
|
});
|
|
15277
15302
|
Object.defineProperty(exports, "unwrapTrackKey", {
|
|
15278
15303
|
enumerable: true,
|
|
15279
|
-
get: function () { return
|
|
15304
|
+
get: function () { return chunkC5SVEWPU_cjs.unwrapTrackKey; }
|
|
15280
15305
|
});
|
|
15281
15306
|
Object.defineProperty(exports, "upsertChat", {
|
|
15282
15307
|
enumerable: true,
|
|
15283
|
-
get: function () { return
|
|
15308
|
+
get: function () { return chunkC5SVEWPU_cjs.upsertChat; }
|
|
15284
15309
|
});
|
|
15285
15310
|
Object.defineProperty(exports, "useAccountClient", {
|
|
15286
15311
|
enumerable: true,
|
|
15287
|
-
get: function () { return
|
|
15312
|
+
get: function () { return chunkC5SVEWPU_cjs.useAccountClient; }
|
|
15288
15313
|
});
|
|
15289
15314
|
Object.defineProperty(exports, "useAvatarCrop", {
|
|
15290
15315
|
enumerable: true,
|
|
15291
|
-
get: function () { return
|
|
15316
|
+
get: function () { return chunkC5SVEWPU_cjs.useAvatarCrop; }
|
|
15292
15317
|
});
|
|
15293
15318
|
Object.defineProperty(exports, "useCall", {
|
|
15294
15319
|
enumerable: true,
|
|
15295
|
-
get: function () { return
|
|
15320
|
+
get: function () { return chunkC5SVEWPU_cjs.useCall; }
|
|
15296
15321
|
});
|
|
15297
15322
|
Object.defineProperty(exports, "useCallInviteLinks", {
|
|
15298
15323
|
enumerable: true,
|
|
15299
|
-
get: function () { return
|
|
15324
|
+
get: function () { return chunkC5SVEWPU_cjs.useCallInviteLinks; }
|
|
15300
15325
|
});
|
|
15301
15326
|
Object.defineProperty(exports, "useCallRecording", {
|
|
15302
15327
|
enumerable: true,
|
|
15303
|
-
get: function () { return
|
|
15328
|
+
get: function () { return chunkC5SVEWPU_cjs.useCallRecording; }
|
|
15304
15329
|
});
|
|
15305
15330
|
Object.defineProperty(exports, "useCallRecordings", {
|
|
15306
15331
|
enumerable: true,
|
|
15307
|
-
get: function () { return
|
|
15332
|
+
get: function () { return chunkC5SVEWPU_cjs.useCallRecordings; }
|
|
15308
15333
|
});
|
|
15309
15334
|
Object.defineProperty(exports, "useCallSession", {
|
|
15310
15335
|
enumerable: true,
|
|
15311
|
-
get: function () { return
|
|
15336
|
+
get: function () { return chunkC5SVEWPU_cjs.useCallSession; }
|
|
15312
15337
|
});
|
|
15313
15338
|
Object.defineProperty(exports, "useCallTranscriptionAvailable", {
|
|
15314
15339
|
enumerable: true,
|
|
15315
|
-
get: function () { return
|
|
15340
|
+
get: function () { return chunkC5SVEWPU_cjs.useCallTranscriptionAvailable; }
|
|
15316
15341
|
});
|
|
15317
15342
|
Object.defineProperty(exports, "useCallsConfig", {
|
|
15318
15343
|
enumerable: true,
|
|
15319
|
-
get: function () { return
|
|
15344
|
+
get: function () { return chunkC5SVEWPU_cjs.useCallsConfig; }
|
|
15320
15345
|
});
|
|
15321
15346
|
Object.defineProperty(exports, "useCallsEnabled", {
|
|
15322
15347
|
enumerable: true,
|
|
15323
|
-
get: function () { return
|
|
15348
|
+
get: function () { return chunkC5SVEWPU_cjs.useCallsEnabled; }
|
|
15324
15349
|
});
|
|
15325
15350
|
Object.defineProperty(exports, "useCanHostCalls", {
|
|
15326
15351
|
enumerable: true,
|
|
15327
|
-
get: function () { return
|
|
15352
|
+
get: function () { return chunkC5SVEWPU_cjs.useCanHostCalls; }
|
|
15328
15353
|
});
|
|
15329
15354
|
Object.defineProperty(exports, "useEntitlements", {
|
|
15330
15355
|
enumerable: true,
|
|
15331
|
-
get: function () { return
|
|
15356
|
+
get: function () { return chunkC5SVEWPU_cjs.useEntitlements; }
|
|
15332
15357
|
});
|
|
15333
15358
|
Object.defineProperty(exports, "useFeature", {
|
|
15334
15359
|
enumerable: true,
|
|
15335
|
-
get: function () { return
|
|
15360
|
+
get: function () { return chunkC5SVEWPU_cjs.useFeature; }
|
|
15336
15361
|
});
|
|
15337
15362
|
Object.defineProperty(exports, "useFeatureSwitch", {
|
|
15338
15363
|
enumerable: true,
|
|
15339
|
-
get: function () { return
|
|
15364
|
+
get: function () { return chunkC5SVEWPU_cjs.useFeatureSwitch; }
|
|
15340
15365
|
});
|
|
15341
15366
|
Object.defineProperty(exports, "useIsEntitled", {
|
|
15342
15367
|
enumerable: true,
|
|
15343
|
-
get: function () { return
|
|
15368
|
+
get: function () { return chunkC5SVEWPU_cjs.useIsEntitled; }
|
|
15344
15369
|
});
|
|
15345
15370
|
Object.defineProperty(exports, "useMeetingReadOnly", {
|
|
15346
15371
|
enumerable: true,
|
|
15347
|
-
get: function () { return
|
|
15372
|
+
get: function () { return chunkC5SVEWPU_cjs.useMeetingReadOnly; }
|
|
15348
15373
|
});
|
|
15349
15374
|
Object.defineProperty(exports, "useNameEditor", {
|
|
15350
15375
|
enumerable: true,
|
|
15351
|
-
get: function () { return
|
|
15376
|
+
get: function () { return chunkC5SVEWPU_cjs.useNameEditor; }
|
|
15352
15377
|
});
|
|
15353
15378
|
Object.defineProperty(exports, "useOpenCallMeetingChat", {
|
|
15354
15379
|
enumerable: true,
|
|
15355
|
-
get: function () { return
|
|
15380
|
+
get: function () { return chunkC5SVEWPU_cjs.useOpenCallMeetingChat; }
|
|
15356
15381
|
});
|
|
15357
15382
|
Object.defineProperty(exports, "useProfile", {
|
|
15358
15383
|
enumerable: true,
|
|
15359
|
-
get: function () { return
|
|
15384
|
+
get: function () { return chunkC5SVEWPU_cjs.useProfile; }
|
|
15360
15385
|
});
|
|
15361
15386
|
Object.defineProperty(exports, "useRecordingActions", {
|
|
15362
15387
|
enumerable: true,
|
|
15363
|
-
get: function () { return
|
|
15388
|
+
get: function () { return chunkC5SVEWPU_cjs.useRecordingActions; }
|
|
15364
15389
|
});
|
|
15365
15390
|
Object.defineProperty(exports, "useRecordingWindows", {
|
|
15366
15391
|
enumerable: true,
|
|
15367
|
-
get: function () { return
|
|
15392
|
+
get: function () { return chunkC5SVEWPU_cjs.useRecordingWindows; }
|
|
15368
15393
|
});
|
|
15369
15394
|
Object.defineProperty(exports, "useRevokeCallInviteLink", {
|
|
15370
15395
|
enumerable: true,
|
|
15371
|
-
get: function () { return
|
|
15396
|
+
get: function () { return chunkC5SVEWPU_cjs.useRevokeCallInviteLink; }
|
|
15372
15397
|
});
|
|
15373
15398
|
Object.defineProperty(exports, "useSaveToThread", {
|
|
15374
15399
|
enumerable: true,
|
|
15375
|
-
get: function () { return
|
|
15400
|
+
get: function () { return chunkC5SVEWPU_cjs.useSaveToThread; }
|
|
15376
15401
|
});
|
|
15377
15402
|
Object.defineProperty(exports, "useServerCallsEnabled", {
|
|
15378
15403
|
enumerable: true,
|
|
15379
|
-
get: function () { return
|
|
15404
|
+
get: function () { return chunkC5SVEWPU_cjs.useServerCallsEnabled; }
|
|
15380
15405
|
});
|
|
15381
15406
|
Object.defineProperty(exports, "useServerCallsExperimental", {
|
|
15382
15407
|
enumerable: true,
|
|
15383
|
-
get: function () { return
|
|
15408
|
+
get: function () { return chunkC5SVEWPU_cjs.useServerCallsExperimental; }
|
|
15384
15409
|
});
|
|
15385
15410
|
Object.defineProperty(exports, "useUpdateProfile", {
|
|
15386
15411
|
enumerable: true,
|
|
15387
|
-
get: function () { return
|
|
15412
|
+
get: function () { return chunkC5SVEWPU_cjs.useUpdateProfile; }
|
|
15388
15413
|
});
|
|
15389
15414
|
Object.defineProperty(exports, "useUpdateUserSettings", {
|
|
15390
15415
|
enumerable: true,
|
|
15391
|
-
get: function () { return
|
|
15416
|
+
get: function () { return chunkC5SVEWPU_cjs.useUpdateUserSettings; }
|
|
15392
15417
|
});
|
|
15393
15418
|
Object.defineProperty(exports, "useUserSettings", {
|
|
15394
15419
|
enumerable: true,
|
|
15395
|
-
get: function () { return
|
|
15420
|
+
get: function () { return chunkC5SVEWPU_cjs.useUserSettings; }
|
|
15396
15421
|
});
|
|
15397
15422
|
Object.defineProperty(exports, "wrapTrackKey", {
|
|
15398
15423
|
enumerable: true,
|
|
15399
|
-
get: function () { return
|
|
15424
|
+
get: function () { return chunkC5SVEWPU_cjs.wrapTrackKey; }
|
|
15400
15425
|
});
|
|
15401
15426
|
Object.defineProperty(exports, "writeSamples", {
|
|
15402
15427
|
enumerable: true,
|
|
15403
|
-
get: function () { return
|
|
15428
|
+
get: function () { return chunkC5SVEWPU_cjs.writeSamples; }
|
|
15404
15429
|
});
|
|
15405
15430
|
Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
|
|
15406
15431
|
enumerable: true,
|
|
@@ -15584,287 +15609,311 @@ Object.defineProperty(exports, "useUpdateTagKindSchema", {
|
|
|
15584
15609
|
});
|
|
15585
15610
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
|
|
15586
15611
|
enumerable: true,
|
|
15587
|
-
get: function () { return
|
|
15612
|
+
get: function () { return chunkBF7ABX3X_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
|
|
15613
|
+
});
|
|
15614
|
+
Object.defineProperty(exports, "EMPTY_CHAT_STATE", {
|
|
15615
|
+
enumerable: true,
|
|
15616
|
+
get: function () { return chunkBF7ABX3X_cjs.EMPTY_CHAT_STATE; }
|
|
15588
15617
|
});
|
|
15589
15618
|
Object.defineProperty(exports, "EMPTY_SESSION_STATE", {
|
|
15590
15619
|
enumerable: true,
|
|
15591
|
-
get: function () { return
|
|
15620
|
+
get: function () { return chunkBF7ABX3X_cjs.EMPTY_SESSION_STATE; }
|
|
15592
15621
|
});
|
|
15593
15622
|
Object.defineProperty(exports, "MAX_THREAD_TABS", {
|
|
15594
15623
|
enumerable: true,
|
|
15595
|
-
get: function () { return
|
|
15624
|
+
get: function () { return chunkBF7ABX3X_cjs.MAX_THREAD_TABS; }
|
|
15596
15625
|
});
|
|
15597
15626
|
Object.defineProperty(exports, "MIN_QUEUED_MESSAGE_VISIBILITY_MS", {
|
|
15598
15627
|
enumerable: true,
|
|
15599
|
-
get: function () { return
|
|
15628
|
+
get: function () { return chunkBF7ABX3X_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
|
|
15600
15629
|
});
|
|
15601
15630
|
Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
|
|
15602
15631
|
enumerable: true,
|
|
15603
|
-
get: function () { return
|
|
15632
|
+
get: function () { return chunkBF7ABX3X_cjs.PROJECT_CREATION_DENIED_REASON; }
|
|
15604
15633
|
});
|
|
15605
15634
|
Object.defineProperty(exports, "WORKSPACE_LAST_OPENED_KEY", {
|
|
15606
15635
|
enumerable: true,
|
|
15607
|
-
get: function () { return
|
|
15636
|
+
get: function () { return chunkBF7ABX3X_cjs.WORKSPACE_LAST_OPENED_KEY; }
|
|
15608
15637
|
});
|
|
15609
15638
|
Object.defineProperty(exports, "WORKSPACE_STORAGE_KEY", {
|
|
15610
15639
|
enumerable: true,
|
|
15611
|
-
get: function () { return
|
|
15640
|
+
get: function () { return chunkBF7ABX3X_cjs.WORKSPACE_STORAGE_KEY; }
|
|
15612
15641
|
});
|
|
15613
15642
|
Object.defineProperty(exports, "agentControl", {
|
|
15614
15643
|
enumerable: true,
|
|
15615
|
-
get: function () { return
|
|
15644
|
+
get: function () { return chunkBF7ABX3X_cjs.agentControl; }
|
|
15616
15645
|
});
|
|
15617
15646
|
Object.defineProperty(exports, "browserWorkspaceStorage", {
|
|
15618
15647
|
enumerable: true,
|
|
15619
|
-
get: function () { return
|
|
15648
|
+
get: function () { return chunkBF7ABX3X_cjs.browserWorkspaceStorage; }
|
|
15620
15649
|
});
|
|
15621
15650
|
Object.defineProperty(exports, "clearSealedDrafts", {
|
|
15622
15651
|
enumerable: true,
|
|
15623
|
-
get: function () { return
|
|
15652
|
+
get: function () { return chunkBF7ABX3X_cjs.clearSealedDrafts; }
|
|
15624
15653
|
});
|
|
15625
15654
|
Object.defineProperty(exports, "closePanelIn", {
|
|
15626
15655
|
enumerable: true,
|
|
15627
|
-
get: function () { return
|
|
15656
|
+
get: function () { return chunkBF7ABX3X_cjs.closePanelIn; }
|
|
15657
|
+
});
|
|
15658
|
+
Object.defineProperty(exports, "composeArbiSessionStore", {
|
|
15659
|
+
enumerable: true,
|
|
15660
|
+
get: function () { return chunkBF7ABX3X_cjs.composeArbiSessionStore; }
|
|
15628
15661
|
});
|
|
15629
15662
|
Object.defineProperty(exports, "conversationKey", {
|
|
15630
15663
|
enumerable: true,
|
|
15631
|
-
get: function () { return
|
|
15664
|
+
get: function () { return chunkBF7ABX3X_cjs.conversationKey; }
|
|
15665
|
+
});
|
|
15666
|
+
Object.defineProperty(exports, "createArbiChatStore", {
|
|
15667
|
+
enumerable: true,
|
|
15668
|
+
get: function () { return chunkBF7ABX3X_cjs.createArbiChatStore; }
|
|
15669
|
+
});
|
|
15670
|
+
Object.defineProperty(exports, "createArbiDocumentSessionStore", {
|
|
15671
|
+
enumerable: true,
|
|
15672
|
+
get: function () { return chunkBF7ABX3X_cjs.createArbiDocumentSessionStore; }
|
|
15632
15673
|
});
|
|
15633
15674
|
Object.defineProperty(exports, "createArbiLayoutStore", {
|
|
15634
15675
|
enumerable: true,
|
|
15635
|
-
get: function () { return
|
|
15676
|
+
get: function () { return chunkBF7ABX3X_cjs.createArbiLayoutStore; }
|
|
15636
15677
|
});
|
|
15637
15678
|
Object.defineProperty(exports, "createArbiSessionStore", {
|
|
15638
15679
|
enumerable: true,
|
|
15639
|
-
get: function () { return
|
|
15680
|
+
get: function () { return chunkBF7ABX3X_cjs.createArbiSessionStore; }
|
|
15640
15681
|
});
|
|
15641
15682
|
Object.defineProperty(exports, "createArbiWorkspaceStore", {
|
|
15642
15683
|
enumerable: true,
|
|
15643
|
-
get: function () { return
|
|
15684
|
+
get: function () { return chunkBF7ABX3X_cjs.createArbiWorkspaceStore; }
|
|
15644
15685
|
});
|
|
15645
15686
|
Object.defineProperty(exports, "createDebouncedWriter", {
|
|
15646
15687
|
enumerable: true,
|
|
15647
|
-
get: function () { return
|
|
15688
|
+
get: function () { return chunkBF7ABX3X_cjs.createDebouncedWriter; }
|
|
15648
15689
|
});
|
|
15649
15690
|
Object.defineProperty(exports, "createSealedDraftStorage", {
|
|
15650
15691
|
enumerable: true,
|
|
15651
|
-
get: function () { return
|
|
15692
|
+
get: function () { return chunkBF7ABX3X_cjs.createSealedDraftStorage; }
|
|
15652
15693
|
});
|
|
15653
15694
|
Object.defineProperty(exports, "createStoragePersist", {
|
|
15654
15695
|
enumerable: true,
|
|
15655
|
-
get: function () { return
|
|
15696
|
+
get: function () { return chunkBF7ABX3X_cjs.createStoragePersist; }
|
|
15656
15697
|
});
|
|
15657
15698
|
Object.defineProperty(exports, "defaultLayoutState", {
|
|
15658
15699
|
enumerable: true,
|
|
15659
|
-
get: function () { return
|
|
15700
|
+
get: function () { return chunkBF7ABX3X_cjs.defaultLayoutState; }
|
|
15660
15701
|
});
|
|
15661
15702
|
Object.defineProperty(exports, "dmTabId", {
|
|
15662
15703
|
enumerable: true,
|
|
15663
|
-
get: function () { return
|
|
15704
|
+
get: function () { return chunkBF7ABX3X_cjs.dmTabId; }
|
|
15664
15705
|
});
|
|
15665
15706
|
Object.defineProperty(exports, "flushOnPageExit", {
|
|
15666
15707
|
enumerable: true,
|
|
15667
|
-
get: function () { return
|
|
15708
|
+
get: function () { return chunkBF7ABX3X_cjs.flushOnPageExit; }
|
|
15668
15709
|
});
|
|
15669
15710
|
Object.defineProperty(exports, "isPanelOpen", {
|
|
15670
15711
|
enumerable: true,
|
|
15671
|
-
get: function () { return
|
|
15712
|
+
get: function () { return chunkBF7ABX3X_cjs.isPanelOpen; }
|
|
15672
15713
|
});
|
|
15673
15714
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
15674
15715
|
enumerable: true,
|
|
15675
|
-
get: function () { return
|
|
15716
|
+
get: function () { return chunkBF7ABX3X_cjs.isUsageMetered; }
|
|
15676
15717
|
});
|
|
15677
15718
|
Object.defineProperty(exports, "layoutActionsOf", {
|
|
15678
15719
|
enumerable: true,
|
|
15679
|
-
get: function () { return
|
|
15720
|
+
get: function () { return chunkBF7ABX3X_cjs.layoutActionsOf; }
|
|
15680
15721
|
});
|
|
15681
15722
|
Object.defineProperty(exports, "nextViewingDocument", {
|
|
15682
15723
|
enumerable: true,
|
|
15683
|
-
get: function () { return
|
|
15724
|
+
get: function () { return chunkBF7ABX3X_cjs.nextViewingDocument; }
|
|
15684
15725
|
});
|
|
15685
15726
|
Object.defineProperty(exports, "openPanelIn", {
|
|
15686
15727
|
enumerable: true,
|
|
15687
|
-
get: function () { return
|
|
15728
|
+
get: function () { return chunkBF7ABX3X_cjs.openPanelIn; }
|
|
15688
15729
|
});
|
|
15689
15730
|
Object.defineProperty(exports, "panelPlace", {
|
|
15690
15731
|
enumerable: true,
|
|
15691
|
-
get: function () { return
|
|
15732
|
+
get: function () { return chunkBF7ABX3X_cjs.panelPlace; }
|
|
15733
|
+
});
|
|
15734
|
+
Object.defineProperty(exports, "parseSavedChat", {
|
|
15735
|
+
enumerable: true,
|
|
15736
|
+
get: function () { return chunkBF7ABX3X_cjs.parseSavedChat; }
|
|
15692
15737
|
});
|
|
15693
15738
|
Object.defineProperty(exports, "parseSavedLayout", {
|
|
15694
15739
|
enumerable: true,
|
|
15695
|
-
get: function () { return
|
|
15740
|
+
get: function () { return chunkBF7ABX3X_cjs.parseSavedLayout; }
|
|
15696
15741
|
});
|
|
15697
15742
|
Object.defineProperty(exports, "queuedMessages", {
|
|
15698
15743
|
enumerable: true,
|
|
15699
|
-
get: function () { return
|
|
15744
|
+
get: function () { return chunkBF7ABX3X_cjs.queuedMessages; }
|
|
15700
15745
|
});
|
|
15701
15746
|
Object.defineProperty(exports, "readWorkspaceLastOpened", {
|
|
15702
15747
|
enumerable: true,
|
|
15703
|
-
get: function () { return
|
|
15748
|
+
get: function () { return chunkBF7ABX3X_cjs.readWorkspaceLastOpened; }
|
|
15704
15749
|
});
|
|
15705
15750
|
Object.defineProperty(exports, "restoreLayout", {
|
|
15706
15751
|
enumerable: true,
|
|
15707
|
-
get: function () { return
|
|
15752
|
+
get: function () { return chunkBF7ABX3X_cjs.restoreLayout; }
|
|
15753
|
+
});
|
|
15754
|
+
Object.defineProperty(exports, "savedChatOf", {
|
|
15755
|
+
enumerable: true,
|
|
15756
|
+
get: function () { return chunkBF7ABX3X_cjs.savedChatOf; }
|
|
15708
15757
|
});
|
|
15709
15758
|
Object.defineProperty(exports, "savedLayoutOf", {
|
|
15710
15759
|
enumerable: true,
|
|
15711
|
-
get: function () { return
|
|
15760
|
+
get: function () { return chunkBF7ABX3X_cjs.savedLayoutOf; }
|
|
15712
15761
|
});
|
|
15713
15762
|
Object.defineProperty(exports, "selectDraft", {
|
|
15714
15763
|
enumerable: true,
|
|
15715
|
-
get: function () { return
|
|
15764
|
+
get: function () { return chunkBF7ABX3X_cjs.selectDraft; }
|
|
15716
15765
|
});
|
|
15717
15766
|
Object.defineProperty(exports, "selectIsGenerating", {
|
|
15718
15767
|
enumerable: true,
|
|
15719
|
-
get: function () { return
|
|
15768
|
+
get: function () { return chunkBF7ABX3X_cjs.selectIsGenerating; }
|
|
15720
15769
|
});
|
|
15721
15770
|
Object.defineProperty(exports, "selectViewingDocumentId", {
|
|
15722
15771
|
enumerable: true,
|
|
15723
|
-
get: function () { return
|
|
15772
|
+
get: function () { return chunkBF7ABX3X_cjs.selectViewingDocumentId; }
|
|
15724
15773
|
});
|
|
15725
15774
|
Object.defineProperty(exports, "threadTabId", {
|
|
15726
15775
|
enumerable: true,
|
|
15727
|
-
get: function () { return
|
|
15776
|
+
get: function () { return chunkBF7ABX3X_cjs.threadTabId; }
|
|
15728
15777
|
});
|
|
15729
15778
|
Object.defineProperty(exports, "useActivity", {
|
|
15730
15779
|
enumerable: true,
|
|
15731
|
-
get: function () { return
|
|
15780
|
+
get: function () { return chunkBF7ABX3X_cjs.useActivity; }
|
|
15732
15781
|
});
|
|
15733
15782
|
Object.defineProperty(exports, "useAgents", {
|
|
15734
15783
|
enumerable: true,
|
|
15735
|
-
get: function () { return
|
|
15784
|
+
get: function () { return chunkBF7ABX3X_cjs.useAgents; }
|
|
15736
15785
|
});
|
|
15737
15786
|
Object.defineProperty(exports, "useArbiSession", {
|
|
15738
15787
|
enumerable: true,
|
|
15739
|
-
get: function () { return
|
|
15788
|
+
get: function () { return chunkBF7ABX3X_cjs.useArbiSession; }
|
|
15740
15789
|
});
|
|
15741
15790
|
Object.defineProperty(exports, "useArbiSessionState", {
|
|
15742
15791
|
enumerable: true,
|
|
15743
|
-
get: function () { return
|
|
15792
|
+
get: function () { return chunkBF7ABX3X_cjs.useArbiSessionState; }
|
|
15744
15793
|
});
|
|
15745
15794
|
Object.defineProperty(exports, "useArbiSessionStore", {
|
|
15746
15795
|
enumerable: true,
|
|
15747
|
-
get: function () { return
|
|
15796
|
+
get: function () { return chunkBF7ABX3X_cjs.useArbiSessionStore; }
|
|
15748
15797
|
});
|
|
15749
15798
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
15750
15799
|
enumerable: true,
|
|
15751
|
-
get: function () { return
|
|
15800
|
+
get: function () { return chunkBF7ABX3X_cjs.useAssistantQuery; }
|
|
15752
15801
|
});
|
|
15753
15802
|
Object.defineProperty(exports, "useAvailableModels", {
|
|
15754
15803
|
enumerable: true,
|
|
15755
|
-
get: function () { return
|
|
15804
|
+
get: function () { return chunkBF7ABX3X_cjs.useAvailableModels; }
|
|
15756
15805
|
});
|
|
15757
15806
|
Object.defineProperty(exports, "useBoxRole", {
|
|
15758
15807
|
enumerable: true,
|
|
15759
|
-
get: function () { return
|
|
15808
|
+
get: function () { return chunkBF7ABX3X_cjs.useBoxRole; }
|
|
15760
15809
|
});
|
|
15761
15810
|
Object.defineProperty(exports, "useBuiltinCommands", {
|
|
15762
15811
|
enumerable: true,
|
|
15763
|
-
get: function () { return
|
|
15812
|
+
get: function () { return chunkBF7ABX3X_cjs.useBuiltinCommands; }
|
|
15764
15813
|
});
|
|
15765
15814
|
Object.defineProperty(exports, "useCanCreateProjects", {
|
|
15766
15815
|
enumerable: true,
|
|
15767
|
-
get: function () { return
|
|
15816
|
+
get: function () { return chunkBF7ABX3X_cjs.useCanCreateProjects; }
|
|
15768
15817
|
});
|
|
15769
15818
|
Object.defineProperty(exports, "useConfig", {
|
|
15770
15819
|
enumerable: true,
|
|
15771
|
-
get: function () { return
|
|
15820
|
+
get: function () { return chunkBF7ABX3X_cjs.useConfig; }
|
|
15772
15821
|
});
|
|
15773
15822
|
Object.defineProperty(exports, "useConfigs", {
|
|
15774
15823
|
enumerable: true,
|
|
15775
|
-
get: function () { return
|
|
15824
|
+
get: function () { return chunkBF7ABX3X_cjs.useConfigs; }
|
|
15776
15825
|
});
|
|
15777
15826
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
15778
15827
|
enumerable: true,
|
|
15779
|
-
get: function () { return
|
|
15828
|
+
get: function () { return chunkBF7ABX3X_cjs.useConversationThreads; }
|
|
15780
15829
|
});
|
|
15781
15830
|
Object.defineProperty(exports, "useConversations", {
|
|
15782
15831
|
enumerable: true,
|
|
15783
|
-
get: function () { return
|
|
15832
|
+
get: function () { return chunkBF7ABX3X_cjs.useConversations; }
|
|
15784
15833
|
});
|
|
15785
15834
|
Object.defineProperty(exports, "useCurrentUser", {
|
|
15786
15835
|
enumerable: true,
|
|
15787
|
-
get: function () { return
|
|
15836
|
+
get: function () { return chunkBF7ABX3X_cjs.useCurrentUser; }
|
|
15788
15837
|
});
|
|
15789
15838
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
15790
15839
|
enumerable: true,
|
|
15791
|
-
get: function () { return
|
|
15840
|
+
get: function () { return chunkBF7ABX3X_cjs.useDeleteAgents; }
|
|
15792
15841
|
});
|
|
15793
15842
|
Object.defineProperty(exports, "useDocumentVersionList", {
|
|
15794
15843
|
enumerable: true,
|
|
15795
|
-
get: function () { return
|
|
15844
|
+
get: function () { return chunkBF7ABX3X_cjs.useDocumentVersionList; }
|
|
15796
15845
|
});
|
|
15797
15846
|
Object.defineProperty(exports, "useFirmPool", {
|
|
15798
15847
|
enumerable: true,
|
|
15799
|
-
get: function () { return
|
|
15848
|
+
get: function () { return chunkBF7ABX3X_cjs.useFirmPool; }
|
|
15800
15849
|
});
|
|
15801
15850
|
Object.defineProperty(exports, "useHealth", {
|
|
15802
15851
|
enumerable: true,
|
|
15803
|
-
get: function () { return
|
|
15852
|
+
get: function () { return chunkBF7ABX3X_cjs.useHealth; }
|
|
15804
15853
|
});
|
|
15805
15854
|
Object.defineProperty(exports, "useMessageDetails", {
|
|
15806
15855
|
enumerable: true,
|
|
15807
|
-
get: function () { return
|
|
15856
|
+
get: function () { return chunkBF7ABX3X_cjs.useMessageDetails; }
|
|
15808
15857
|
});
|
|
15809
15858
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
15810
15859
|
enumerable: true,
|
|
15811
|
-
get: function () { return
|
|
15860
|
+
get: function () { return chunkBF7ABX3X_cjs.useParsedDocument; }
|
|
15812
15861
|
});
|
|
15813
15862
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
15814
15863
|
enumerable: true,
|
|
15815
|
-
get: function () { return
|
|
15864
|
+
get: function () { return chunkBF7ABX3X_cjs.useProjectInvoices; }
|
|
15816
15865
|
});
|
|
15817
15866
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
15818
15867
|
enumerable: true,
|
|
15819
|
-
get: function () { return
|
|
15868
|
+
get: function () { return chunkBF7ABX3X_cjs.useProjectUsage; }
|
|
15820
15869
|
});
|
|
15821
15870
|
Object.defineProperty(exports, "useProjects", {
|
|
15822
15871
|
enumerable: true,
|
|
15823
|
-
get: function () { return
|
|
15872
|
+
get: function () { return chunkBF7ABX3X_cjs.useProjects; }
|
|
15824
15873
|
});
|
|
15825
15874
|
Object.defineProperty(exports, "useProjectsUsage", {
|
|
15826
15875
|
enumerable: true,
|
|
15827
|
-
get: function () { return
|
|
15876
|
+
get: function () { return chunkBF7ABX3X_cjs.useProjectsUsage; }
|
|
15828
15877
|
});
|
|
15829
15878
|
Object.defineProperty(exports, "useSessionPageTab", {
|
|
15830
15879
|
enumerable: true,
|
|
15831
|
-
get: function () { return
|
|
15880
|
+
get: function () { return chunkBF7ABX3X_cjs.useSessionPageTab; }
|
|
15832
15881
|
});
|
|
15833
15882
|
Object.defineProperty(exports, "useSessionView", {
|
|
15834
15883
|
enumerable: true,
|
|
15835
|
-
get: function () { return
|
|
15884
|
+
get: function () { return chunkBF7ABX3X_cjs.useSessionView; }
|
|
15836
15885
|
});
|
|
15837
15886
|
Object.defineProperty(exports, "useSignedInSession", {
|
|
15838
15887
|
enumerable: true,
|
|
15839
|
-
get: function () { return
|
|
15888
|
+
get: function () { return chunkBF7ABX3X_cjs.useSignedInSession; }
|
|
15840
15889
|
});
|
|
15841
15890
|
Object.defineProperty(exports, "useTags", {
|
|
15842
15891
|
enumerable: true,
|
|
15843
|
-
get: function () { return
|
|
15892
|
+
get: function () { return chunkBF7ABX3X_cjs.useTags; }
|
|
15844
15893
|
});
|
|
15845
15894
|
Object.defineProperty(exports, "useThumbnails", {
|
|
15846
15895
|
enumerable: true,
|
|
15847
|
-
get: function () { return
|
|
15896
|
+
get: function () { return chunkBF7ABX3X_cjs.useThumbnails; }
|
|
15848
15897
|
});
|
|
15849
15898
|
Object.defineProperty(exports, "useTopUpFirmPool", {
|
|
15850
15899
|
enumerable: true,
|
|
15851
|
-
get: function () { return
|
|
15900
|
+
get: function () { return chunkBF7ABX3X_cjs.useTopUpFirmPool; }
|
|
15852
15901
|
});
|
|
15853
15902
|
Object.defineProperty(exports, "useTransientView", {
|
|
15854
15903
|
enumerable: true,
|
|
15855
|
-
get: function () { return
|
|
15904
|
+
get: function () { return chunkBF7ABX3X_cjs.useTransientView; }
|
|
15856
15905
|
});
|
|
15857
15906
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
15858
15907
|
enumerable: true,
|
|
15859
|
-
get: function () { return
|
|
15908
|
+
get: function () { return chunkBF7ABX3X_cjs.useUserUsageToday; }
|
|
15860
15909
|
});
|
|
15861
15910
|
Object.defineProperty(exports, "useWorkspaceActivity", {
|
|
15862
15911
|
enumerable: true,
|
|
15863
|
-
get: function () { return
|
|
15912
|
+
get: function () { return chunkBF7ABX3X_cjs.useWorkspaceActivity; }
|
|
15864
15913
|
});
|
|
15865
15914
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
15866
15915
|
enumerable: true,
|
|
15867
|
-
get: function () { return
|
|
15916
|
+
get: function () { return chunkBF7ABX3X_cjs.useWorkspaces; }
|
|
15868
15917
|
});
|
|
15869
15918
|
Object.defineProperty(exports, "arbiMutationKeys", {
|
|
15870
15919
|
enumerable: true,
|