@arbidocs/react 0.5.131 → 0.5.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/artifacts/index.cjs +2 -2
- package/dist/billing.js +34 -0
- package/dist/billing.js.map +2 -2
- package/dist/calls/in-call-chat.js +1 -1
- package/dist/calls/in-call-chat.js.map +1 -1
- package/dist/calls/livekit/index.cjs +41 -41
- package/dist/calls/livekit/index.d.ts +1 -1
- package/dist/{chunk-NT3SMYRP.cjs → chunk-HE4AQEWB.cjs} +6 -6
- package/dist/{chunk-NT3SMYRP.cjs.map → chunk-HE4AQEWB.cjs.map} +1 -1
- package/dist/{chunk-PH3RGDYE.cjs → chunk-MDSWUCCL.cjs} +28 -4
- package/dist/chunk-MDSWUCCL.cjs.map +1 -0
- package/dist/hooks.js +26 -2
- package/dist/hooks.js.map +2 -2
- package/dist/index.cjs +615 -573
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +309 -93
- package/dist/index.js +4 -0
- package/dist/index.js.map +2 -2
- package/dist/notifications/notification-types.js +4 -4
- package/dist/notifications/notification-types.js.map +2 -2
- package/dist/notifications/server-notifications.js +2 -2
- package/dist/notifications/server-notifications.js.map +2 -2
- package/dist/{useAudioRecorder.d-B9rlMI_E.d.ts → useAudioRecorder.d-DYVIWxKQ.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-PH3RGDYE.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 chunkHE4AQEWB_cjs = require('./chunk-HE4AQEWB.cjs');
|
|
5
5
|
var chunkPDE246CA_cjs = require('./chunk-PDE246CA.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkMDSWUCCL_cjs = require('./chunk-MDSWUCCL.cjs');
|
|
7
7
|
var chunkFDYZA6NO_cjs = require('./chunk-FDYZA6NO.cjs');
|
|
8
8
|
var chunkFE6ZSNZE_cjs = require('./chunk-FE6ZSNZE.cjs');
|
|
9
9
|
var chunk6RRKO4ZK_cjs = require('./chunk-6RRKO4ZK.cjs');
|
|
@@ -43,10 +43,10 @@ var Cropper__default = /*#__PURE__*/_interopDefault(Cropper);
|
|
|
43
43
|
// src/host/index.ts
|
|
44
44
|
var ArbiHost2 = chunk6RRKO4ZK_cjs.ArbiHost;
|
|
45
45
|
function useCurrentWorkspace() {
|
|
46
|
-
const workspaceId =
|
|
47
|
-
const workspaceStatus =
|
|
48
|
-
const userId =
|
|
49
|
-
const { data: workspaces } =
|
|
46
|
+
const workspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
47
|
+
const workspaceStatus = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
48
|
+
const userId = chunkMDSWUCCL_cjs.useArbiSession().user?.external_id ?? null;
|
|
49
|
+
const { data: workspaces } = chunkMDSWUCCL_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 = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
90
|
+
const open = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
|
|
91
|
+
const query = chunkMDSWUCCL_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 = chunkMDSWUCCL_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
|
}
|
|
@@ -140,7 +140,7 @@ var THREAD_LOOKUP_DELAY_MS = 500;
|
|
|
140
140
|
function useStartTaskQuery() {
|
|
141
141
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
142
142
|
const queryClient = reactQuery.useQueryClient();
|
|
143
|
-
const chatModel =
|
|
143
|
+
const chatModel = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.chatModel);
|
|
144
144
|
const post = reactQuery.useMutation({
|
|
145
145
|
mutationFn: (query) => {
|
|
146
146
|
const selectedConfig = chatModel || queryClient.getQueriesData({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.userSettings() }).map(([, settings]) => settings?.last_config).find(Boolean);
|
|
@@ -174,7 +174,7 @@ function useStartTaskQuery() {
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
if (!conversationId) return null;
|
|
177
|
-
await
|
|
177
|
+
await chunkHE4AQEWB_cjs.invalidateConversationLists(queryClient);
|
|
178
178
|
return { conversationId };
|
|
179
179
|
};
|
|
180
180
|
return {
|
|
@@ -203,8 +203,8 @@ function useUpdateConversation() {
|
|
|
203
203
|
}) => arbi.conversations.update(conversationId, patch),
|
|
204
204
|
// The list takes the server's version of the row; what hangs off it is read again.
|
|
205
205
|
onSuccess: (updated, { conversationId }) => {
|
|
206
|
-
|
|
207
|
-
return
|
|
206
|
+
chunkHE4AQEWB_cjs.patchConversation(qc, conversationId, updated);
|
|
207
|
+
return chunkHE4AQEWB_cjs.invalidateConversationDetails(qc, conversationId);
|
|
208
208
|
}
|
|
209
209
|
});
|
|
210
210
|
}
|
|
@@ -213,7 +213,7 @@ function useDeleteConversation() {
|
|
|
213
213
|
const qc = reactQuery.useQueryClient();
|
|
214
214
|
return reactQuery.useMutation({
|
|
215
215
|
mutationFn: (conversationId) => arbi.conversations.delete(conversationId),
|
|
216
|
-
onSuccess: (_res, conversationId) =>
|
|
216
|
+
onSuccess: (_res, conversationId) => chunkHE4AQEWB_cjs.removeConversationFromLists(qc, conversationId)
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
219
|
function workWorkspace(arbi, workspaceId) {
|
|
@@ -236,7 +236,7 @@ function useCreateWork(options) {
|
|
|
236
236
|
mutationFn: async (body) => {
|
|
237
237
|
const workspaceId = workWorkspace(arbi, named);
|
|
238
238
|
const created = await arbi.conversations.createWork(body, { workspaceId });
|
|
239
|
-
|
|
239
|
+
chunkHE4AQEWB_cjs.addConversationToList(qc, workspaceId ?? null, created);
|
|
240
240
|
return created;
|
|
241
241
|
}
|
|
242
242
|
});
|
|
@@ -248,7 +248,7 @@ function useRunConversation() {
|
|
|
248
248
|
mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
|
|
249
249
|
// The server's version replaces the listed one; everything under the conversation is re-read.
|
|
250
250
|
onSuccess: (updated) => {
|
|
251
|
-
if (updated?.external_id)
|
|
251
|
+
if (updated?.external_id) chunkHE4AQEWB_cjs.patchConversation(qc, updated.external_id, updated);
|
|
252
252
|
return qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.allConversations() });
|
|
253
253
|
}
|
|
254
254
|
});
|
|
@@ -264,7 +264,7 @@ function useActOnStep() {
|
|
|
264
264
|
// The server's version of the conversation replaces the listed one; its history is re-read.
|
|
265
265
|
onSuccess: (updated) => {
|
|
266
266
|
if (!updated?.external_id) return;
|
|
267
|
-
|
|
267
|
+
chunkHE4AQEWB_cjs.patchConversation(qc, updated.external_id, updated);
|
|
268
268
|
invalidateConversationActivity(qc, updated.external_id);
|
|
269
269
|
}
|
|
270
270
|
});
|
|
@@ -1298,12 +1298,12 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
|
|
|
1298
1298
|
if (!conversationId) return newMode;
|
|
1299
1299
|
const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
|
|
1300
1300
|
if (threads?.assistant_mode) return threads.assistant_mode;
|
|
1301
|
-
return
|
|
1301
|
+
return chunkHE4AQEWB_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
|
|
1302
1302
|
}
|
|
1303
1303
|
function isCommentToPeople(queryClient, conversationId, content, candidates) {
|
|
1304
1304
|
const mentioned = chunk6RRKO4ZK_cjs.extractMentions(content, candidates);
|
|
1305
1305
|
if (mentioned.some((c) => c.kind === "assistant")) return false;
|
|
1306
|
-
if (
|
|
1306
|
+
if (chunkHE4AQEWB_cjs.isConversationShared(queryClient, conversationId)) return true;
|
|
1307
1307
|
if (mentioned.some((c) => c.kind === "user")) return true;
|
|
1308
1308
|
return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned";
|
|
1309
1309
|
}
|
|
@@ -1395,12 +1395,12 @@ function useSaveConfigField(baseConfigId) {
|
|
|
1395
1395
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
1396
1396
|
const queryClient = reactQuery.useQueryClient();
|
|
1397
1397
|
const saveConfig = useSaveConfig();
|
|
1398
|
-
const { data: defaultConfig } =
|
|
1399
|
-
const chatModel =
|
|
1400
|
-
const { data: userSettings } =
|
|
1398
|
+
const { data: defaultConfig } = chunkMDSWUCCL_cjs.useConfig("default");
|
|
1399
|
+
const chatModel = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.chatModel);
|
|
1400
|
+
const { data: userSettings } = chunkHE4AQEWB_cjs.useUserSettings();
|
|
1401
1401
|
const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
|
|
1402
|
-
const { data: activeConfigData } =
|
|
1403
|
-
const session =
|
|
1402
|
+
const { data: activeConfigData } = chunkMDSWUCCL_cjs.useConfig(activeConfigId);
|
|
1403
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
1404
1404
|
const chain2 = React.useRef(null);
|
|
1405
1405
|
const buildDelta = (changes) => deltaOnto(
|
|
1406
1406
|
changes,
|
|
@@ -1471,8 +1471,8 @@ function pendingChatModelSave(session) {
|
|
|
1471
1471
|
return chatModelSaves.get(session);
|
|
1472
1472
|
}
|
|
1473
1473
|
function useApplyChatModel() {
|
|
1474
|
-
const session =
|
|
1475
|
-
const { data: availableModels } =
|
|
1474
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
1475
|
+
const { data: availableModels } = chunkMDSWUCCL_cjs.useAvailableModels();
|
|
1476
1476
|
const configField = useSaveConfigField();
|
|
1477
1477
|
return React.useCallback(
|
|
1478
1478
|
async (model, label) => {
|
|
@@ -1521,7 +1521,7 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
|
|
|
1521
1521
|
// src/chat/thread-binding.ts
|
|
1522
1522
|
function threadBinding(queryClient, conversationId) {
|
|
1523
1523
|
if (!conversationId) return chunk6RRKO4ZK_cjs.UNBOUND;
|
|
1524
|
-
const row =
|
|
1524
|
+
const row = chunkHE4AQEWB_cjs.findConversation(queryClient, conversationId);
|
|
1525
1525
|
if (row) return chunk6RRKO4ZK_cjs.bindingOfRow(row);
|
|
1526
1526
|
const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
|
|
1527
1527
|
return chunk6RRKO4ZK_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
|
|
@@ -1534,7 +1534,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
|
|
|
1534
1534
|
bound_document_ext_id: binding.documentId,
|
|
1535
1535
|
bound_document_unavailable: binding.unavailable
|
|
1536
1536
|
};
|
|
1537
|
-
|
|
1537
|
+
chunkHE4AQEWB_cjs.patchConversation(queryClient, conversationId, fields);
|
|
1538
1538
|
queryClient.setQueryData(
|
|
1539
1539
|
getThreadsQueryKey(conversationId),
|
|
1540
1540
|
(old) => old ? { ...old, ...fields } : old
|
|
@@ -1570,7 +1570,7 @@ async function performBindingWrite(arbi, queryClient, conversationId, documentId
|
|
|
1570
1570
|
const saved = await arbi.conversations.update(conversationId, {
|
|
1571
1571
|
bound_document_ext_id: documentId
|
|
1572
1572
|
});
|
|
1573
|
-
|
|
1573
|
+
chunkHE4AQEWB_cjs.patchConversation(queryClient, conversationId, saved);
|
|
1574
1574
|
cacheThreadBinding(queryClient, conversationId, chunk6RRKO4ZK_cjs.bindingOfRow(saved));
|
|
1575
1575
|
} catch (error) {
|
|
1576
1576
|
cacheThreadBinding(queryClient, conversationId, before);
|
|
@@ -2423,13 +2423,13 @@ function DocumentReview({
|
|
|
2423
2423
|
});
|
|
2424
2424
|
const status = processingInProp ? polled?.status ?? doc?.status : doc?.status;
|
|
2425
2425
|
const noTextYet = stage === "final" && !!status && !PARSED_STATUSES.has(status);
|
|
2426
|
-
const parsedQuery =
|
|
2426
|
+
const parsedQuery = chunkMDSWUCCL_cjs.useParsedDocument(docId, stage, { enabled: !noTextYet });
|
|
2427
2427
|
const { isError: parsedFailed, refetch: refetchParsed } = parsedQuery;
|
|
2428
2428
|
const readable = !!status && !noTextYet;
|
|
2429
2429
|
React__default.default.useEffect(() => {
|
|
2430
2430
|
if (readable && parsedFailed) void refetchParsed();
|
|
2431
2431
|
}, [readable]);
|
|
2432
|
-
const tagsQuery =
|
|
2432
|
+
const tagsQuery = chunkMDSWUCCL_cjs.useTags(workspaceId);
|
|
2433
2433
|
const tagNameById = React__default.default.useMemo(() => {
|
|
2434
2434
|
const map = /* @__PURE__ */ new Map();
|
|
2435
2435
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -3334,7 +3334,7 @@ function useUploadFiles() {
|
|
|
3334
3334
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
3335
3335
|
const qc = reactQuery.useQueryClient();
|
|
3336
3336
|
const { resolveWorkspaceKey } = useDocumentsSupport();
|
|
3337
|
-
const { data: settings } =
|
|
3337
|
+
const { data: settings } = chunkHE4AQEWB_cjs.useUserSettings();
|
|
3338
3338
|
const { mutateAsync: generateDocTags } = useGenerateDocTags();
|
|
3339
3339
|
const direct = settings?.use_s3_direct_upload === true;
|
|
3340
3340
|
return React.useCallback(
|
|
@@ -3795,7 +3795,7 @@ var PENDING_SYNC_PREDICATE = (m) => (
|
|
|
3795
3795
|
);
|
|
3796
3796
|
function usePendingSyncItems() {
|
|
3797
3797
|
const { data: documents2 } = chunkPDE246CA_cjs.useDocuments();
|
|
3798
|
-
const { data: tags } =
|
|
3798
|
+
const { data: tags } = chunkMDSWUCCL_cjs.useTags();
|
|
3799
3799
|
const raw = reactQuery.useMutationState({
|
|
3800
3800
|
filters: { predicate: PENDING_SYNC_PREDICATE },
|
|
3801
3801
|
select: (m) => ({
|
|
@@ -4015,11 +4015,11 @@ function createStreamHandlers(ctx, params) {
|
|
|
4015
4015
|
const clientId = streamState.queuedClientId;
|
|
4016
4016
|
if (!clientId || queuedEntryRetired) return;
|
|
4017
4017
|
queuedEntryRetired = true;
|
|
4018
|
-
const entry =
|
|
4018
|
+
const entry = chunkMDSWUCCL_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
|
|
4019
4019
|
if (!entry) return;
|
|
4020
4020
|
const remainingVisibility = Math.max(
|
|
4021
4021
|
0,
|
|
4022
|
-
|
|
4022
|
+
chunkMDSWUCCL_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
|
|
4023
4023
|
);
|
|
4024
4024
|
if (remainingVisibility === 0) {
|
|
4025
4025
|
session.removeQueuedMessage(clientId);
|
|
@@ -4035,7 +4035,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4035
4035
|
session.moveConversation("new", serverConversationId);
|
|
4036
4036
|
const userExtId = ctx.userId();
|
|
4037
4037
|
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
4038
|
-
|
|
4038
|
+
chunkHE4AQEWB_cjs.patchConversationList(
|
|
4039
4039
|
queryClient,
|
|
4040
4040
|
streamState.workspaceId ?? session.getState().workspaceId,
|
|
4041
4041
|
(old) => old.some((c) => c.external_id === serverConversationId) ? old : [
|
|
@@ -4157,7 +4157,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4157
4157
|
ensureAssistantMessageLoading(queryClient, conversationId, answerId);
|
|
4158
4158
|
});
|
|
4159
4159
|
}
|
|
4160
|
-
void
|
|
4160
|
+
void chunkHE4AQEWB_cjs.invalidateConversationLists(queryClient);
|
|
4161
4161
|
session.setCursor(streamState.assistantId);
|
|
4162
4162
|
};
|
|
4163
4163
|
let firstTokenSeen = false;
|
|
@@ -4357,7 +4357,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4357
4357
|
}
|
|
4358
4358
|
function useStreamHandlers() {
|
|
4359
4359
|
const queryClient = reactQuery.useQueryClient();
|
|
4360
|
-
const session =
|
|
4360
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
4361
4361
|
const config = chunkFE6ZSNZE_cjs.useArbiHost();
|
|
4362
4362
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
4363
4363
|
return React.useCallback(
|
|
@@ -4450,7 +4450,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
|
|
|
4450
4450
|
// src/chat/useConversationActions.ts
|
|
4451
4451
|
var RECONCILE_TIMEOUT_MS = 5e3;
|
|
4452
4452
|
function draftAfterSend(queryClient, session, wasComment, assistantName) {
|
|
4453
|
-
const shared =
|
|
4453
|
+
const shared = chunkHE4AQEWB_cjs.isConversationShared(queryClient, session.getState().conversationId);
|
|
4454
4454
|
return shared && !wasComment ? `@${assistantName} ` : "";
|
|
4455
4455
|
}
|
|
4456
4456
|
function failQueuedContinuation(queryClient, session, streamState) {
|
|
@@ -4483,7 +4483,7 @@ function useConversationActions({
|
|
|
4483
4483
|
lastFailedMessage
|
|
4484
4484
|
}) {
|
|
4485
4485
|
const queryClient = reactQuery.useQueryClient();
|
|
4486
|
-
const session =
|
|
4486
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
4487
4487
|
const currentConversationId = conversationKey2 === "new" ? null : conversationKey2;
|
|
4488
4488
|
const invalidateUserWorkspaces = React.useCallback(
|
|
4489
4489
|
() => void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.workspaces() }),
|
|
@@ -4548,7 +4548,7 @@ function useConversationActions({
|
|
|
4548
4548
|
const bindTo = session.getState().newChatDocumentId;
|
|
4549
4549
|
session.moveConversation("new", conversationId);
|
|
4550
4550
|
if (bindTo) session.setNewChatDocumentId(null);
|
|
4551
|
-
|
|
4551
|
+
chunkHE4AQEWB_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
|
|
4552
4552
|
{
|
|
4553
4553
|
external_id: conversationId,
|
|
4554
4554
|
title: content.slice(0, 40),
|
|
@@ -4570,14 +4570,14 @@ function useConversationActions({
|
|
|
4570
4570
|
);
|
|
4571
4571
|
invalidateUserWorkspaces();
|
|
4572
4572
|
} else {
|
|
4573
|
-
|
|
4573
|
+
chunkHE4AQEWB_cjs.patchConversation(queryClient, conversationId, (c) => ({
|
|
4574
4574
|
...c,
|
|
4575
4575
|
message_count: c.message_count + 1,
|
|
4576
4576
|
updated_at: nowIso
|
|
4577
4577
|
}));
|
|
4578
4578
|
}
|
|
4579
4579
|
if (mentions.some((m) => m.type === "user")) {
|
|
4580
|
-
await
|
|
4580
|
+
await chunkHE4AQEWB_cjs.invalidateConversationLists(queryClient);
|
|
4581
4581
|
}
|
|
4582
4582
|
await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
4583
4583
|
session.setCursor(saved.external_id);
|
|
@@ -4585,7 +4585,7 @@ function useConversationActions({
|
|
|
4585
4585
|
chunkIX4HOS5Z_cjs.notify.error(
|
|
4586
4586
|
error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
|
|
4587
4587
|
);
|
|
4588
|
-
if (!
|
|
4588
|
+
if (!chunkMDSWUCCL_cjs.selectDraft(session.getState())) session.setDraft(content);
|
|
4589
4589
|
}
|
|
4590
4590
|
},
|
|
4591
4591
|
[arbi, session, queryClient, invalidateUserWorkspaces]
|
|
@@ -4658,7 +4658,7 @@ function useConversationActions({
|
|
|
4658
4658
|
session.setConversationGenerating(convKey, true, abortController);
|
|
4659
4659
|
}
|
|
4660
4660
|
if (!queuedContinuation) {
|
|
4661
|
-
|
|
4661
|
+
chunkHE4AQEWB_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
|
|
4662
4662
|
}
|
|
4663
4663
|
const streamState = {
|
|
4664
4664
|
conversationId: convKey,
|
|
@@ -4769,7 +4769,7 @@ function useConversationActions({
|
|
|
4769
4769
|
void queryClient.invalidateQueries({
|
|
4770
4770
|
queryKey: getThreadsQueryKey(streamState.conversationId)
|
|
4771
4771
|
});
|
|
4772
|
-
void
|
|
4772
|
+
void chunkHE4AQEWB_cjs.invalidateConversationLists(queryClient);
|
|
4773
4773
|
}
|
|
4774
4774
|
return;
|
|
4775
4775
|
}
|
|
@@ -4797,7 +4797,7 @@ function useConversationActions({
|
|
|
4797
4797
|
}
|
|
4798
4798
|
if (ownsGeneration) {
|
|
4799
4799
|
const lastStatus = streamState.serverError ? "failed" : "completed";
|
|
4800
|
-
|
|
4800
|
+
chunkHE4AQEWB_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4801
4801
|
last_message_status: lastStatus
|
|
4802
4802
|
});
|
|
4803
4803
|
}
|
|
@@ -4830,7 +4830,7 @@ function useConversationActions({
|
|
|
4830
4830
|
});
|
|
4831
4831
|
if (ownsActiveGeneration()) {
|
|
4832
4832
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4833
|
-
|
|
4833
|
+
chunkHE4AQEWB_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4834
4834
|
last_message_status: "completed"
|
|
4835
4835
|
});
|
|
4836
4836
|
}
|
|
@@ -4853,10 +4853,10 @@ function useConversationActions({
|
|
|
4853
4853
|
if (ownsActiveGeneration()) {
|
|
4854
4854
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4855
4855
|
}
|
|
4856
|
-
void
|
|
4856
|
+
void chunkHE4AQEWB_cjs.invalidateConversationLists(queryClient);
|
|
4857
4857
|
return;
|
|
4858
4858
|
}
|
|
4859
|
-
|
|
4859
|
+
chunkHE4AQEWB_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4860
4860
|
last_message_status: "failed"
|
|
4861
4861
|
});
|
|
4862
4862
|
const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
|
|
@@ -4891,7 +4891,7 @@ function useConversationActions({
|
|
|
4891
4891
|
);
|
|
4892
4892
|
const handleSendMessage = React.useCallback(
|
|
4893
4893
|
async (options) => {
|
|
4894
|
-
const currentMessage =
|
|
4894
|
+
const currentMessage = chunkMDSWUCCL_cjs.selectDraft(session.getState()).trim();
|
|
4895
4895
|
if (!selectedWorkspaceId || !chunk6RRKO4ZK_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
|
|
4896
4896
|
return;
|
|
4897
4897
|
session.setSuggestedQuery(null);
|
|
@@ -5006,7 +5006,7 @@ function useConversationActions({
|
|
|
5006
5006
|
if (!replyTo && currentConversationId) {
|
|
5007
5007
|
try {
|
|
5008
5008
|
await arbi.conversations.delete(currentConversationId);
|
|
5009
|
-
|
|
5009
|
+
chunkHE4AQEWB_cjs.removeConversationFromLists(queryClient, currentConversationId);
|
|
5010
5010
|
session.startNewConversation();
|
|
5011
5011
|
} catch (error) {
|
|
5012
5012
|
console.error("Failed to delete conversation with orphaned first message:", error);
|
|
@@ -5074,16 +5074,16 @@ function selectThread(session, leafId) {
|
|
|
5074
5074
|
if (session.getState().cursor !== leafId) session.setCursor(leafId);
|
|
5075
5075
|
}
|
|
5076
5076
|
function useConversationData() {
|
|
5077
|
-
const session =
|
|
5078
|
-
const selectedWorkspaceId =
|
|
5079
|
-
const currentConversationId =
|
|
5080
|
-
const parentMessageId =
|
|
5081
|
-
const deepLinkMessageId =
|
|
5077
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
5078
|
+
const selectedWorkspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5079
|
+
const currentConversationId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5080
|
+
const parentMessageId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.cursor);
|
|
5081
|
+
const deepLinkMessageId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
|
|
5082
5082
|
const {
|
|
5083
5083
|
data: threadsData,
|
|
5084
5084
|
isLoading: threadsLoading,
|
|
5085
5085
|
error: threadsError
|
|
5086
|
-
} =
|
|
5086
|
+
} = chunkMDSWUCCL_cjs.useConversationThreads(currentConversationId || void 0);
|
|
5087
5087
|
const processedDeepLinkRef = React.useRef(null);
|
|
5088
5088
|
const prevConversationIdRef = React.useRef(null);
|
|
5089
5089
|
React.useEffect(() => {
|
|
@@ -5276,7 +5276,7 @@ function useBranchNavigation(threads, parentMessageId, messageHistory, setParent
|
|
|
5276
5276
|
var RECONNECT_DELAY_MS = 2e3;
|
|
5277
5277
|
var MAX_RECONNECTS = 5;
|
|
5278
5278
|
function useConnectRunStream(conversationId, messages) {
|
|
5279
|
-
const generation =
|
|
5279
|
+
const generation = chunkMDSWUCCL_cjs.useArbiSessionState(
|
|
5280
5280
|
(s) => conversationId ? s.generating[conversationId] : void 0
|
|
5281
5281
|
);
|
|
5282
5282
|
const responseId = conversationId ? browser.getRunToAttach(generation, messages) : null;
|
|
@@ -5284,7 +5284,7 @@ function useConnectRunStream(conversationId, messages) {
|
|
|
5284
5284
|
}
|
|
5285
5285
|
function useAttachRun(conversationId, responseId) {
|
|
5286
5286
|
const queryClient = reactQuery.useQueryClient();
|
|
5287
|
-
const session =
|
|
5287
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
5288
5288
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
5289
5289
|
const arbiRef = React.useRef(arbi);
|
|
5290
5290
|
arbiRef.current = arbi;
|
|
@@ -5524,14 +5524,14 @@ function useConversation(options = {}) {
|
|
|
5524
5524
|
const { agentId, model, titleLength = 48 } = options;
|
|
5525
5525
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
5526
5526
|
const queryClient = reactQuery.useQueryClient();
|
|
5527
|
-
const session =
|
|
5528
|
-
const sessionWorkspaceId =
|
|
5527
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
5528
|
+
const sessionWorkspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5529
5529
|
const workspaceId = options.workspaceId ?? sessionWorkspaceId ?? void 0;
|
|
5530
|
-
const conversationId =
|
|
5530
|
+
const conversationId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5531
5531
|
const conversationKey2 = conversationId ?? NEW;
|
|
5532
|
-
const generation =
|
|
5533
|
-
const newConversationMode =
|
|
5534
|
-
const queuedMessages2 =
|
|
5532
|
+
const generation = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
|
|
5533
|
+
const newConversationMode = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
|
|
5534
|
+
const queuedMessages2 = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.queuedMessages);
|
|
5535
5535
|
const isRunning = !!generation?.isGenerating;
|
|
5536
5536
|
React.useEffect(() => {
|
|
5537
5537
|
if (workspaceId && session.getState().workspaceId !== workspaceId)
|
|
@@ -5544,7 +5544,7 @@ function useConversation(options = {}) {
|
|
|
5544
5544
|
if (agentId && workspaceId && !conversationId) session.setNewAgentChat({ agentId, workspaceId });
|
|
5545
5545
|
}, [session, agentId, workspaceId, conversationId]);
|
|
5546
5546
|
const { data: docs = [], isLoading: isLoadingDocuments } = chunkPDE246CA_cjs.useDocuments(workspaceId);
|
|
5547
|
-
const ordinaryHistory =
|
|
5547
|
+
const ordinaryHistory = chunkMDSWUCCL_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
|
|
5548
5548
|
const agentHistory = useAgentChats(agentId);
|
|
5549
5549
|
const stored = React.useMemo(
|
|
5550
5550
|
() => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
|
|
@@ -5782,7 +5782,7 @@ function useConversation(options = {}) {
|
|
|
5782
5782
|
void (async () => {
|
|
5783
5783
|
try {
|
|
5784
5784
|
await arbi.conversations.delete(id);
|
|
5785
|
-
|
|
5785
|
+
chunkHE4AQEWB_cjs.removeConversationFromLists(queryClient, id);
|
|
5786
5786
|
if (session.getState().conversationId === id) session.startNewConversation();
|
|
5787
5787
|
} catch (e) {
|
|
5788
5788
|
setHistoryError(messageOf(e, "The conversation could not be deleted."));
|
|
@@ -5870,10 +5870,10 @@ function ConversationScope({
|
|
|
5870
5870
|
conversationId,
|
|
5871
5871
|
children
|
|
5872
5872
|
}) {
|
|
5873
|
-
const outerWorkspaceId =
|
|
5873
|
+
const outerWorkspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5874
5874
|
const scopeWorkspaceId = workspaceId ?? outerWorkspaceId;
|
|
5875
5875
|
const [session] = React.useState(
|
|
5876
|
-
() =>
|
|
5876
|
+
() => chunkMDSWUCCL_cjs.createArbiSessionStore({
|
|
5877
5877
|
workspaceId: scopeWorkspaceId,
|
|
5878
5878
|
conversationId: conversationId ?? null
|
|
5879
5879
|
})
|
|
@@ -5889,7 +5889,7 @@ function ConversationScope({
|
|
|
5889
5889
|
}
|
|
5890
5890
|
function useConversationWorkspace(conversationId) {
|
|
5891
5891
|
const queryClient = reactQuery.useQueryClient();
|
|
5892
|
-
const sessionWorkspaceId =
|
|
5892
|
+
const sessionWorkspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5893
5893
|
return conversationWorkspaceOf(queryClient, conversationId) ?? sessionWorkspaceId;
|
|
5894
5894
|
}
|
|
5895
5895
|
|
|
@@ -5899,11 +5899,11 @@ async function applyConversationEvent(queryClient, event) {
|
|
|
5899
5899
|
if (e.type === "response_complete") return applyRunEnded(queryClient, e);
|
|
5900
5900
|
if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
|
|
5901
5901
|
if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
|
|
5902
|
-
|
|
5902
|
+
chunkHE4AQEWB_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
|
|
5903
5903
|
}
|
|
5904
5904
|
if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
|
|
5905
5905
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
|
|
5906
|
-
void
|
|
5906
|
+
void chunkHE4AQEWB_cjs.invalidateConversationLists(queryClient);
|
|
5907
5907
|
}
|
|
5908
5908
|
}
|
|
5909
5909
|
function applyRunEnded(queryClient, e) {
|
|
@@ -5920,10 +5920,10 @@ function applyRunEnded(queryClient, e) {
|
|
|
5920
5920
|
);
|
|
5921
5921
|
}
|
|
5922
5922
|
if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
|
|
5923
|
-
|
|
5923
|
+
chunkHE4AQEWB_cjs.patchConversation(queryClient, conversationId, {
|
|
5924
5924
|
last_message_status: failed ? "failed" : "completed"
|
|
5925
5925
|
});
|
|
5926
|
-
void
|
|
5926
|
+
void chunkHE4AQEWB_cjs.invalidateConversationLists(queryClient);
|
|
5927
5927
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
5928
5928
|
if (!failed) void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.userUsageToday() });
|
|
5929
5929
|
}
|
|
@@ -5931,7 +5931,7 @@ async function applyMessagePosted(queryClient, e) {
|
|
|
5931
5931
|
if (!e.conversation_ext_id) return;
|
|
5932
5932
|
const queryKey = getThreadsQueryKey(e.conversation_ext_id);
|
|
5933
5933
|
const refreshed = queryClient.invalidateQueries({ queryKey });
|
|
5934
|
-
void
|
|
5934
|
+
void chunkHE4AQEWB_cjs.invalidateConversationLists(queryClient);
|
|
5935
5935
|
await refreshed;
|
|
5936
5936
|
const cached = queryClient.getQueryData(
|
|
5937
5937
|
queryKey
|
|
@@ -5944,10 +5944,10 @@ var migratedWorkspaces = /* @__PURE__ */ new Set();
|
|
|
5944
5944
|
function useThreadDocument() {
|
|
5945
5945
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
5946
5946
|
const queryClient = reactQuery.useQueryClient();
|
|
5947
|
-
const session =
|
|
5948
|
-
const conversationId =
|
|
5949
|
-
const workspaceId =
|
|
5950
|
-
const newChatDocumentId =
|
|
5947
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
5948
|
+
const conversationId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5949
|
+
const workspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5950
|
+
const newChatDocumentId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.newChatDocumentId);
|
|
5951
5951
|
const subscribe = React.useCallback(
|
|
5952
5952
|
(onChange) => queryClient.getQueryCache().subscribe(onChange),
|
|
5953
5953
|
[queryClient]
|
|
@@ -5962,7 +5962,7 @@ function useThreadDocument() {
|
|
|
5962
5962
|
() => threadBinding(queryClient, conversationId).unavailable,
|
|
5963
5963
|
() => false
|
|
5964
5964
|
);
|
|
5965
|
-
const { data: conversations, isPlaceholderData } =
|
|
5965
|
+
const { data: conversations, isPlaceholderData } = chunkMDSWUCCL_cjs.useConversations(workspaceId ?? void 0);
|
|
5966
5966
|
React.useEffect(() => {
|
|
5967
5967
|
if (!workspaceId || !conversations || isPlaceholderData || migratedWorkspaces.has(workspaceId))
|
|
5968
5968
|
return;
|
|
@@ -6016,9 +6016,9 @@ function useConversationTurn({
|
|
|
6016
6016
|
selectedWorkspaceId,
|
|
6017
6017
|
parentMessageId
|
|
6018
6018
|
}) {
|
|
6019
|
-
const currentConversationId =
|
|
6019
|
+
const currentConversationId = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6020
6020
|
const conversationKey2 = currentConversationId || "new";
|
|
6021
|
-
const generationState =
|
|
6021
|
+
const generationState = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
|
|
6022
6022
|
const isGenerating = generationState?.isGenerating ?? false;
|
|
6023
6023
|
const generationError = generationState?.error ?? null;
|
|
6024
6024
|
const lastFailedMessage = generationState?.lastFailedMessage ?? null;
|
|
@@ -6038,10 +6038,10 @@ function useConversationTurn({
|
|
|
6038
6038
|
};
|
|
6039
6039
|
}
|
|
6040
6040
|
function useActiveConfigId() {
|
|
6041
|
-
const chatModel =
|
|
6042
|
-
const cursor =
|
|
6041
|
+
const chatModel = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6042
|
+
const cursor = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.cursor);
|
|
6043
6043
|
const { messageHistory } = useConversationData();
|
|
6044
|
-
const { data: userSettings } =
|
|
6044
|
+
const { data: userSettings } = chunkHE4AQEWB_cjs.useUserSettings();
|
|
6045
6045
|
return React.useMemo(() => {
|
|
6046
6046
|
if (chatModel) return chatModel;
|
|
6047
6047
|
const parent = cursor ? messageHistory?.find((m) => m.external_id === cursor) : void 0;
|
|
@@ -6051,9 +6051,9 @@ function useActiveConfigId() {
|
|
|
6051
6051
|
}
|
|
6052
6052
|
var EMPTY_DOCS = [];
|
|
6053
6053
|
function useConversationDocuments() {
|
|
6054
|
-
const currentConversationId =
|
|
6054
|
+
const currentConversationId = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6055
6055
|
const convKey = currentConversationId || "new";
|
|
6056
|
-
const inConversationDocuments =
|
|
6056
|
+
const inConversationDocuments = chunkMDSWUCCL_cjs.useArbiSessionState(
|
|
6057
6057
|
(state) => state.conversationDocuments[convKey] || EMPTY_DOCS
|
|
6058
6058
|
);
|
|
6059
6059
|
const { data: documents2 = [], isLoading: isLoadingDocs } = chunkPDE246CA_cjs.useDocuments();
|
|
@@ -6088,8 +6088,8 @@ function useDocumentAutoAdd({
|
|
|
6088
6088
|
allWorkspaceDocuments,
|
|
6089
6089
|
hasContent = false
|
|
6090
6090
|
}) {
|
|
6091
|
-
const session =
|
|
6092
|
-
const currentConversationId =
|
|
6091
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6092
|
+
const currentConversationId = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6093
6093
|
const convKey = currentConversationId || "new";
|
|
6094
6094
|
const observedRef = React.useRef(null);
|
|
6095
6095
|
const offeredRef = React.useRef(/* @__PURE__ */ new Set());
|
|
@@ -6150,12 +6150,12 @@ function useDocumentAutoAdd({
|
|
|
6150
6150
|
}, [selectedWorkspaceId, convKey, allWorkspaceDocuments, hasContent, session]);
|
|
6151
6151
|
}
|
|
6152
6152
|
function useAutoSendDraft(sendDraft, ready = true, canSend) {
|
|
6153
|
-
const session =
|
|
6154
|
-
const autoSendDraft =
|
|
6153
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6154
|
+
const autoSendDraft = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.autoSendDraft);
|
|
6155
6155
|
React.useEffect(() => {
|
|
6156
6156
|
if (!autoSendDraft || !ready || canSend && !canSend()) return;
|
|
6157
6157
|
session.setAutoSendDraft(false);
|
|
6158
|
-
if (
|
|
6158
|
+
if (chunkMDSWUCCL_cjs.selectDraft(session.getState()).trim()) {
|
|
6159
6159
|
sendDraft();
|
|
6160
6160
|
}
|
|
6161
6161
|
}, [autoSendDraft, ready, canSend, sendDraft, session]);
|
|
@@ -6242,18 +6242,18 @@ function useAnswerAgentQuestion() {
|
|
|
6242
6242
|
}
|
|
6243
6243
|
var TITLE_MAX = 50;
|
|
6244
6244
|
function useConversationSettings() {
|
|
6245
|
-
const session =
|
|
6246
|
-
const conversationId =
|
|
6247
|
-
const chatModel =
|
|
6248
|
-
const parentMessageId =
|
|
6249
|
-
const currentUser =
|
|
6245
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6246
|
+
const conversationId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.conversationId);
|
|
6247
|
+
const chatModel = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6248
|
+
const parentMessageId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.cursor);
|
|
6249
|
+
const currentUser = chunkMDSWUCCL_cjs.useArbiSession().user;
|
|
6250
6250
|
const { messageHistory } = useConversationData();
|
|
6251
6251
|
const { conversations } = useConversationItems();
|
|
6252
|
-
const { data: userSettings } =
|
|
6252
|
+
const { data: userSettings } = chunkHE4AQEWB_cjs.useUserSettings();
|
|
6253
6253
|
const parentMessage = messageHistory?.find((m) => m.external_id === parentMessageId);
|
|
6254
6254
|
const configToLoad = chatModel || parentMessage?.config_ext_id || userSettings?.last_config || "default";
|
|
6255
|
-
const { data: activeConfig } =
|
|
6256
|
-
const { refetch: refetchSystemDefaults } =
|
|
6255
|
+
const { data: activeConfig } = chunkMDSWUCCL_cjs.useConfig(configToLoad);
|
|
6256
|
+
const { refetch: refetchSystemDefaults } = chunkMDSWUCCL_cjs.useConfig("default");
|
|
6257
6257
|
const conversation = conversations.find((c) => c.external_id === conversationId);
|
|
6258
6258
|
const isOwner = !!conversation && conversation.created_by_ext_id === currentUser?.external_id;
|
|
6259
6259
|
const isShared = conversation?.is_shared ?? false;
|
|
@@ -6306,7 +6306,7 @@ function useConversationSettings() {
|
|
|
6306
6306
|
};
|
|
6307
6307
|
}
|
|
6308
6308
|
function useAskAgain(options) {
|
|
6309
|
-
const session =
|
|
6309
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6310
6310
|
const optionsRef = React.useRef(options);
|
|
6311
6311
|
React.useEffect(() => {
|
|
6312
6312
|
optionsRef.current = options;
|
|
@@ -6398,11 +6398,11 @@ function useMessageTimer({
|
|
|
6398
6398
|
isUser,
|
|
6399
6399
|
isGenerating
|
|
6400
6400
|
}) {
|
|
6401
|
-
const session =
|
|
6401
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6402
6402
|
const convId = conversationId || "new";
|
|
6403
6403
|
const timerKey = `${convId}:${messageId}`;
|
|
6404
|
-
const generationStartTime =
|
|
6405
|
-
const storedElapsed =
|
|
6404
|
+
const generationStartTime = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
|
|
6405
|
+
const storedElapsed = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
|
|
6406
6406
|
const [elapsedTime, setElapsedTime] = React.useState(0);
|
|
6407
6407
|
const lastElapsedRef = React.useRef(0);
|
|
6408
6408
|
React.useEffect(() => {
|
|
@@ -6427,7 +6427,7 @@ function useMessageTimer({
|
|
|
6427
6427
|
}
|
|
6428
6428
|
function useAgentRunControl(assistantMessageExtId) {
|
|
6429
6429
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
6430
|
-
const session =
|
|
6430
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6431
6431
|
const send = React.useCallback(
|
|
6432
6432
|
(command) => {
|
|
6433
6433
|
if (!assistantMessageExtId) return;
|
|
@@ -6787,8 +6787,8 @@ var WORK_OFFLINE_VIEW = "app.workOffline";
|
|
|
6787
6787
|
var isWorkingOffline = (session) => session.getState().views.transient[WORK_OFFLINE_VIEW] === true;
|
|
6788
6788
|
var setWorkOfflineIn = (session, on) => session.setTransientView(WORK_OFFLINE_VIEW, on || void 0);
|
|
6789
6789
|
function useWorkOffline() {
|
|
6790
|
-
const session =
|
|
6791
|
-
const on =
|
|
6790
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6791
|
+
const on = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.views.transient[WORK_OFFLINE_VIEW] === true);
|
|
6792
6792
|
const set2 = React.useCallback((next) => setWorkOfflineIn(session, next), [session]);
|
|
6793
6793
|
return [on, set2];
|
|
6794
6794
|
}
|
|
@@ -6800,9 +6800,9 @@ function computeOnline(wsStatus, isAuthenticated, workOffline, wsEverConnected)
|
|
|
6800
6800
|
return navOnline && wsOnline;
|
|
6801
6801
|
}
|
|
6802
6802
|
function useOnlineSync() {
|
|
6803
|
-
const session =
|
|
6803
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6804
6804
|
const wsStatus = chunkPDE246CA_cjs.useArbiWsStore((s) => s.status);
|
|
6805
|
-
const signedIn2 =
|
|
6805
|
+
const signedIn2 = chunkMDSWUCCL_cjs.useArbiSession().status === "signed-in";
|
|
6806
6806
|
const [workOffline] = useWorkOffline();
|
|
6807
6807
|
const wsEverConnected = React.useRef(false);
|
|
6808
6808
|
if (wsStatus === "connected") wsEverConnected.current = true;
|
|
@@ -6829,7 +6829,7 @@ function useOnlineSync() {
|
|
|
6829
6829
|
}, [session]);
|
|
6830
6830
|
}
|
|
6831
6831
|
function useReconnect() {
|
|
6832
|
-
const session =
|
|
6832
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6833
6833
|
return React.useCallback(() => {
|
|
6834
6834
|
if (isWorkingOffline(session)) {
|
|
6835
6835
|
setWorkOfflineIn(session, false);
|
|
@@ -7007,53 +7007,53 @@ async function nativeThreadKeys(secret, message) {
|
|
|
7007
7007
|
|
|
7008
7008
|
// src/mail/offline/mailbox.ts
|
|
7009
7009
|
var keyOf = {
|
|
7010
|
-
accounts: () =>
|
|
7011
|
-
policy: () =>
|
|
7012
|
-
folders: (accountId) =>
|
|
7013
|
-
header: (accountId, folderId, messageId) =>
|
|
7014
|
-
body: (accountId, messageId) =>
|
|
7015
|
-
attachment: (accountId, messageId, attachmentId) =>
|
|
7010
|
+
accounts: () => chunkHE4AQEWB_cjs.blind("accounts"),
|
|
7011
|
+
policy: () => chunkHE4AQEWB_cjs.blind("policy"),
|
|
7012
|
+
folders: (accountId) => chunkHE4AQEWB_cjs.blind("folders", accountId),
|
|
7013
|
+
header: (accountId, folderId, messageId) => chunkHE4AQEWB_cjs.blind("header", accountId, folderId, messageId),
|
|
7014
|
+
body: (accountId, messageId) => chunkHE4AQEWB_cjs.blind("body", accountId, messageId),
|
|
7015
|
+
attachment: (accountId, messageId, attachmentId) => chunkHE4AQEWB_cjs.blind("attachment", accountId, messageId, attachmentId)
|
|
7016
7016
|
};
|
|
7017
7017
|
var bucketOf = {
|
|
7018
|
-
global: () =>
|
|
7019
|
-
folder: (accountId, folderId) =>
|
|
7020
|
-
account: (accountId) =>
|
|
7018
|
+
global: () => chunkHE4AQEWB_cjs.blind("bucket", "global"),
|
|
7019
|
+
folder: (accountId, folderId) => chunkHE4AQEWB_cjs.blind("bucket", "folder", accountId, folderId),
|
|
7020
|
+
account: (accountId) => chunkHE4AQEWB_cjs.blind("bucket", "account", accountId)
|
|
7021
7021
|
};
|
|
7022
7022
|
async function put(kind, key, bucket3, data, sortAt = Date.now()) {
|
|
7023
7023
|
const now = Date.now();
|
|
7024
|
-
await
|
|
7024
|
+
await chunkHE4AQEWB_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
|
|
7025
7025
|
}
|
|
7026
7026
|
async function readJson(record) {
|
|
7027
7027
|
if (!record) return void 0;
|
|
7028
7028
|
try {
|
|
7029
|
-
return await
|
|
7029
|
+
return await chunkHE4AQEWB_cjs.openJson(record.data);
|
|
7030
7030
|
} catch {
|
|
7031
7031
|
return void 0;
|
|
7032
7032
|
}
|
|
7033
7033
|
}
|
|
7034
7034
|
var receivedAt = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
|
|
7035
7035
|
async function saveAccounts(accounts) {
|
|
7036
|
-
await put("accounts", await keyOf.accounts(), await bucketOf.global(), await
|
|
7036
|
+
await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkHE4AQEWB_cjs.sealJson(accounts));
|
|
7037
7037
|
}
|
|
7038
7038
|
async function loadAccounts() {
|
|
7039
|
-
return readJson(await
|
|
7039
|
+
return readJson(await chunkHE4AQEWB_cjs.getRecord(await keyOf.accounts()));
|
|
7040
7040
|
}
|
|
7041
7041
|
async function savePolicy(policy) {
|
|
7042
|
-
await put("policy", await keyOf.policy(), await bucketOf.global(), await
|
|
7042
|
+
await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkHE4AQEWB_cjs.sealJson(policy));
|
|
7043
7043
|
}
|
|
7044
7044
|
async function loadPolicy() {
|
|
7045
|
-
return readJson(await
|
|
7045
|
+
return readJson(await chunkHE4AQEWB_cjs.getRecord(await keyOf.policy()));
|
|
7046
7046
|
}
|
|
7047
7047
|
async function saveFolders(accountId, folders) {
|
|
7048
7048
|
await put(
|
|
7049
7049
|
"folders",
|
|
7050
7050
|
await keyOf.folders(accountId),
|
|
7051
7051
|
await bucketOf.account(accountId),
|
|
7052
|
-
await
|
|
7052
|
+
await chunkHE4AQEWB_cjs.sealJson(folders)
|
|
7053
7053
|
);
|
|
7054
7054
|
}
|
|
7055
7055
|
async function loadFolders(accountId) {
|
|
7056
|
-
return readJson(await
|
|
7056
|
+
return readJson(await chunkHE4AQEWB_cjs.getRecord(await keyOf.folders(accountId)));
|
|
7057
7057
|
}
|
|
7058
7058
|
function toHeader(message) {
|
|
7059
7059
|
return {
|
|
@@ -7069,12 +7069,12 @@ async function saveHeader(accountId, folderId, message) {
|
|
|
7069
7069
|
"header",
|
|
7070
7070
|
await keyOf.header(accountId, folderId, message.id),
|
|
7071
7071
|
await bucketOf.folder(accountId, folderId),
|
|
7072
|
-
await
|
|
7072
|
+
await chunkHE4AQEWB_cjs.sealJson(toHeader(message)),
|
|
7073
7073
|
receivedAt(message)
|
|
7074
7074
|
);
|
|
7075
7075
|
}
|
|
7076
7076
|
async function loadHeaders(accountId, folderId) {
|
|
7077
|
-
const records = await
|
|
7077
|
+
const records = await chunkHE4AQEWB_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
|
|
7078
7078
|
const out = [];
|
|
7079
7079
|
for (const record of records) {
|
|
7080
7080
|
if (record.kind !== "header") continue;
|
|
@@ -7084,7 +7084,7 @@ async function loadHeaders(accountId, folderId) {
|
|
|
7084
7084
|
return out.sort((a, b) => b.sortAt - a.sortAt);
|
|
7085
7085
|
}
|
|
7086
7086
|
async function hasFolder(accountId) {
|
|
7087
|
-
return
|
|
7087
|
+
return chunkHE4AQEWB_cjs.hasRecord(await keyOf.folders(accountId));
|
|
7088
7088
|
}
|
|
7089
7089
|
async function saveBody(accountId, message) {
|
|
7090
7090
|
const stripped = {
|
|
@@ -7095,42 +7095,42 @@ async function saveBody(accountId, message) {
|
|
|
7095
7095
|
"body",
|
|
7096
7096
|
await keyOf.body(accountId, message.id),
|
|
7097
7097
|
await bucketOf.account(accountId),
|
|
7098
|
-
await
|
|
7098
|
+
await chunkHE4AQEWB_cjs.sealJson(stripped),
|
|
7099
7099
|
receivedAt(message)
|
|
7100
7100
|
);
|
|
7101
7101
|
}
|
|
7102
7102
|
async function hasBody(accountId, messageId) {
|
|
7103
|
-
return
|
|
7103
|
+
return chunkHE4AQEWB_cjs.hasRecord(await keyOf.body(accountId, messageId));
|
|
7104
7104
|
}
|
|
7105
7105
|
async function loadBody(accountId, messageId) {
|
|
7106
|
-
return readJson(await
|
|
7106
|
+
return readJson(await chunkHE4AQEWB_cjs.getRecord(await keyOf.body(accountId, messageId)));
|
|
7107
7107
|
}
|
|
7108
7108
|
async function saveAttachment(accountId, messageId, attachmentId, bytes, sortAt) {
|
|
7109
7109
|
await put(
|
|
7110
7110
|
"attachment",
|
|
7111
7111
|
await keyOf.attachment(accountId, messageId, attachmentId),
|
|
7112
7112
|
await bucketOf.account(accountId),
|
|
7113
|
-
await
|
|
7113
|
+
await chunkHE4AQEWB_cjs.sealBytes(bytes),
|
|
7114
7114
|
sortAt || void 0
|
|
7115
7115
|
);
|
|
7116
7116
|
}
|
|
7117
7117
|
async function hasAttachment(accountId, messageId, attachmentId) {
|
|
7118
|
-
return
|
|
7118
|
+
return chunkHE4AQEWB_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
|
|
7119
7119
|
}
|
|
7120
7120
|
async function loadAttachment(accountId, messageId, attachmentId) {
|
|
7121
7121
|
const key = await keyOf.attachment(accountId, messageId, attachmentId);
|
|
7122
|
-
const record = await
|
|
7122
|
+
const record = await chunkHE4AQEWB_cjs.getRecord(key);
|
|
7123
7123
|
if (!record) return void 0;
|
|
7124
7124
|
try {
|
|
7125
|
-
const bytes = await
|
|
7126
|
-
void
|
|
7125
|
+
const bytes = await chunkHE4AQEWB_cjs.openBytes(record.data);
|
|
7126
|
+
void chunkHE4AQEWB_cjs.touchRecord(key);
|
|
7127
7127
|
return bytes;
|
|
7128
7128
|
} catch {
|
|
7129
7129
|
return void 0;
|
|
7130
7130
|
}
|
|
7131
7131
|
}
|
|
7132
7132
|
async function removeKeys(keys) {
|
|
7133
|
-
await
|
|
7133
|
+
await chunkHE4AQEWB_cjs.deleteRecords(keys);
|
|
7134
7134
|
}
|
|
7135
7135
|
function bodyText(body) {
|
|
7136
7136
|
const html = body.text ? "" : (body.html ?? "").replace(/<[^>]*>/g, " ");
|
|
@@ -7175,27 +7175,27 @@ function isBrowserOffline() {
|
|
|
7175
7175
|
// src/mail/offline/changes.ts
|
|
7176
7176
|
var isFiling = (change) => change.kind === "file";
|
|
7177
7177
|
var MAX_ATTEMPTS = 5;
|
|
7178
|
-
var bucket = () =>
|
|
7179
|
-
var keyFor = (id) =>
|
|
7178
|
+
var bucket = () => chunkHE4AQEWB_cjs.blind("bucket", "changes");
|
|
7179
|
+
var keyFor = (id) => chunkHE4AQEWB_cjs.blind("change", id);
|
|
7180
7180
|
async function write(item) {
|
|
7181
|
-
await
|
|
7181
|
+
await chunkHE4AQEWB_cjs.putRecord({
|
|
7182
7182
|
key: await keyFor(item.id),
|
|
7183
7183
|
kind: "change",
|
|
7184
7184
|
bucket: await bucket(),
|
|
7185
7185
|
sortAt: item.seq,
|
|
7186
7186
|
size: 0,
|
|
7187
7187
|
lastAccess: Date.now(),
|
|
7188
|
-
data: await
|
|
7188
|
+
data: await chunkHE4AQEWB_cjs.sealJson(item)
|
|
7189
7189
|
});
|
|
7190
7190
|
}
|
|
7191
7191
|
async function drop(item) {
|
|
7192
|
-
await
|
|
7192
|
+
await chunkHE4AQEWB_cjs.deleteRecords([await keyFor(item.id)]);
|
|
7193
7193
|
}
|
|
7194
7194
|
async function readHeader(accountId, folderId, messageId) {
|
|
7195
|
-
const record = await
|
|
7195
|
+
const record = await chunkHE4AQEWB_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
|
|
7196
7196
|
if (!record) return void 0;
|
|
7197
7197
|
try {
|
|
7198
|
-
return await
|
|
7198
|
+
return await chunkHE4AQEWB_cjs.openJson(record.data);
|
|
7199
7199
|
} catch {
|
|
7200
7200
|
return void 0;
|
|
7201
7201
|
}
|
|
@@ -7277,9 +7277,9 @@ function combine(pending, next) {
|
|
|
7277
7277
|
}
|
|
7278
7278
|
async function listMailChanges() {
|
|
7279
7279
|
const items = [];
|
|
7280
|
-
for (const record of await
|
|
7280
|
+
for (const record of await chunkHE4AQEWB_cjs.recordsInBucket(await bucket())) {
|
|
7281
7281
|
try {
|
|
7282
|
-
items.push(await
|
|
7282
|
+
items.push(await chunkHE4AQEWB_cjs.openJson(record.data));
|
|
7283
7283
|
} catch {
|
|
7284
7284
|
}
|
|
7285
7285
|
}
|
|
@@ -7334,14 +7334,14 @@ function serially(fn) {
|
|
|
7334
7334
|
}
|
|
7335
7335
|
async function queueMailChange(input) {
|
|
7336
7336
|
await serially(() => queue(input));
|
|
7337
|
-
|
|
7338
|
-
|
|
7337
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("changes");
|
|
7338
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("mailbox");
|
|
7339
7339
|
}
|
|
7340
7340
|
async function readChange(id) {
|
|
7341
|
-
const record = await
|
|
7341
|
+
const record = await chunkHE4AQEWB_cjs.getRecord(await keyFor(id));
|
|
7342
7342
|
if (!record) return void 0;
|
|
7343
7343
|
try {
|
|
7344
|
-
return await
|
|
7344
|
+
return await chunkHE4AQEWB_cjs.openJson(record.data);
|
|
7345
7345
|
} catch {
|
|
7346
7346
|
return void 0;
|
|
7347
7347
|
}
|
|
@@ -7414,7 +7414,7 @@ async function applyMailChangesOnce(sender, isOnline) {
|
|
|
7414
7414
|
result.interrupted = true;
|
|
7415
7415
|
}
|
|
7416
7416
|
}
|
|
7417
|
-
if (result.applied + result.gone + result.refused.length > 0)
|
|
7417
|
+
if (result.applied + result.gone + result.refused.length > 0) chunkHE4AQEWB_cjs.notifyOfflineMailChange("changes");
|
|
7418
7418
|
return result;
|
|
7419
7419
|
}
|
|
7420
7420
|
var NO_PRIMER = () => void 0;
|
|
@@ -7530,26 +7530,26 @@ function useConnectedMailFiling(account, messages) {
|
|
|
7530
7530
|
}
|
|
7531
7531
|
|
|
7532
7532
|
// src/mail/offline/drafts.ts
|
|
7533
|
-
var keyFor2 = (id) =>
|
|
7533
|
+
var keyFor2 = (id) => chunkHE4AQEWB_cjs.blind("draft", id);
|
|
7534
7534
|
async function saveLocalDraft(accountId, compose, id = crypto.randomUUID()) {
|
|
7535
7535
|
const draft = { id, accountId, compose, updatedAt: Date.now() };
|
|
7536
|
-
await
|
|
7536
|
+
await chunkHE4AQEWB_cjs.putRecord({
|
|
7537
7537
|
key: await keyFor2(id),
|
|
7538
7538
|
kind: "draft",
|
|
7539
|
-
bucket: await
|
|
7539
|
+
bucket: await chunkHE4AQEWB_cjs.blind("bucket", "drafts", accountId),
|
|
7540
7540
|
sortAt: draft.updatedAt,
|
|
7541
7541
|
size: 0,
|
|
7542
7542
|
lastAccess: draft.updatedAt,
|
|
7543
|
-
data: await
|
|
7543
|
+
data: await chunkHE4AQEWB_cjs.sealJson(draft)
|
|
7544
7544
|
});
|
|
7545
|
-
|
|
7545
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("drafts");
|
|
7546
7546
|
return draft;
|
|
7547
7547
|
}
|
|
7548
7548
|
async function listLocalDrafts(accountId) {
|
|
7549
7549
|
const drafts = [];
|
|
7550
|
-
for (const record of await
|
|
7550
|
+
for (const record of await chunkHE4AQEWB_cjs.recordsOfKind("draft")) {
|
|
7551
7551
|
try {
|
|
7552
|
-
const draft = await
|
|
7552
|
+
const draft = await chunkHE4AQEWB_cjs.openJson(record.data);
|
|
7553
7553
|
if (!accountId || draft.accountId === accountId) drafts.push(draft);
|
|
7554
7554
|
} catch {
|
|
7555
7555
|
}
|
|
@@ -7557,8 +7557,8 @@ async function listLocalDrafts(accountId) {
|
|
|
7557
7557
|
return drafts.sort((a, b) => b.updatedAt - a.updatedAt);
|
|
7558
7558
|
}
|
|
7559
7559
|
async function deleteLocalDraft(id) {
|
|
7560
|
-
await
|
|
7561
|
-
|
|
7560
|
+
await chunkHE4AQEWB_cjs.deleteRecords([await keyFor2(id)]);
|
|
7561
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("drafts");
|
|
7562
7562
|
}
|
|
7563
7563
|
async function syncLocalDrafts(save) {
|
|
7564
7564
|
let uploaded = 0;
|
|
@@ -7571,27 +7571,27 @@ async function syncLocalDrafts(save) {
|
|
|
7571
7571
|
} catch (error) {
|
|
7572
7572
|
const status = error.status;
|
|
7573
7573
|
if (isNetworkFailure(error) || status === void 0 || status === 401 || status >= 500) break;
|
|
7574
|
-
await
|
|
7574
|
+
await chunkHE4AQEWB_cjs.putRecord({
|
|
7575
7575
|
key: await keyFor2(draft.id),
|
|
7576
7576
|
kind: "draft",
|
|
7577
|
-
bucket: await
|
|
7577
|
+
bucket: await chunkHE4AQEWB_cjs.blind("bucket", "drafts", draft.accountId),
|
|
7578
7578
|
sortAt: draft.updatedAt,
|
|
7579
7579
|
size: 0,
|
|
7580
7580
|
lastAccess: Date.now(),
|
|
7581
|
-
data: await
|
|
7581
|
+
data: await chunkHE4AQEWB_cjs.sealJson({
|
|
7582
7582
|
...draft,
|
|
7583
7583
|
error: error instanceof Error ? error.message : "The server refused this draft"
|
|
7584
7584
|
})
|
|
7585
7585
|
});
|
|
7586
|
-
|
|
7586
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("drafts");
|
|
7587
7587
|
}
|
|
7588
7588
|
}
|
|
7589
7589
|
return uploaded;
|
|
7590
7590
|
}
|
|
7591
7591
|
|
|
7592
7592
|
// src/mail/offline/outbox.ts
|
|
7593
|
-
var bucket2 = () =>
|
|
7594
|
-
var keyFor3 = (id) =>
|
|
7593
|
+
var bucket2 = () => chunkHE4AQEWB_cjs.blind("bucket", "outbox");
|
|
7594
|
+
var keyFor3 = (id) => chunkHE4AQEWB_cjs.blind("outbox", id);
|
|
7595
7595
|
function outboxProblem(compose) {
|
|
7596
7596
|
const missing = compose.attachments.find((a) => a.content_base64 == null);
|
|
7597
7597
|
if (missing)
|
|
@@ -7600,22 +7600,22 @@ function outboxProblem(compose) {
|
|
|
7600
7600
|
}
|
|
7601
7601
|
var seqCounter = 0;
|
|
7602
7602
|
async function write2(item) {
|
|
7603
|
-
await
|
|
7603
|
+
await chunkHE4AQEWB_cjs.putRecord({
|
|
7604
7604
|
key: await keyFor3(item.id),
|
|
7605
7605
|
kind: "outbox",
|
|
7606
7606
|
bucket: await bucket2(),
|
|
7607
7607
|
sortAt: item.seq,
|
|
7608
7608
|
size: 0,
|
|
7609
7609
|
lastAccess: Date.now(),
|
|
7610
|
-
data: await
|
|
7610
|
+
data: await chunkHE4AQEWB_cjs.sealJson(item)
|
|
7611
7611
|
});
|
|
7612
7612
|
}
|
|
7613
7613
|
async function listOutbox() {
|
|
7614
|
-
const records = await
|
|
7614
|
+
const records = await chunkHE4AQEWB_cjs.recordsInBucket(await bucket2());
|
|
7615
7615
|
const items = [];
|
|
7616
7616
|
for (const record of records) {
|
|
7617
7617
|
try {
|
|
7618
|
-
items.push(await
|
|
7618
|
+
items.push(await chunkHE4AQEWB_cjs.openJson(record.data));
|
|
7619
7619
|
} catch {
|
|
7620
7620
|
}
|
|
7621
7621
|
}
|
|
@@ -7639,18 +7639,18 @@ async function enqueueOutbox(input) {
|
|
|
7639
7639
|
seq: seqCounter
|
|
7640
7640
|
};
|
|
7641
7641
|
await write2(item);
|
|
7642
|
-
|
|
7642
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("outbox");
|
|
7643
7643
|
return item;
|
|
7644
7644
|
}
|
|
7645
7645
|
async function update(item, patch) {
|
|
7646
7646
|
const next = { ...item, ...patch };
|
|
7647
7647
|
await write2(next);
|
|
7648
|
-
|
|
7648
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("outbox");
|
|
7649
7649
|
return next;
|
|
7650
7650
|
}
|
|
7651
7651
|
async function deleteOutboxItem(id) {
|
|
7652
|
-
await
|
|
7653
|
-
|
|
7652
|
+
await chunkHE4AQEWB_cjs.deleteRecords([await keyFor3(id)]);
|
|
7653
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("outbox");
|
|
7654
7654
|
}
|
|
7655
7655
|
async function retryOutboxItem(id) {
|
|
7656
7656
|
const item = (await listOutbox()).find((i) => i.id === id);
|
|
@@ -7741,14 +7741,14 @@ async function purgeSentOutbox(olderThanMs = 0) {
|
|
|
7741
7741
|
const cutoff = Date.now() - olderThanMs;
|
|
7742
7742
|
const done = (await listOutbox()).filter((i) => i.status === "sent" && (i.sentAt ?? 0) <= cutoff);
|
|
7743
7743
|
if (done.length === 0) return;
|
|
7744
|
-
await
|
|
7745
|
-
|
|
7744
|
+
await chunkHE4AQEWB_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
|
|
7745
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("outbox");
|
|
7746
7746
|
}
|
|
7747
7747
|
var STATUS_KEY = "status";
|
|
7748
7748
|
var FULL_SYNC_EVERY_MS = 60 * 60 * 1e3;
|
|
7749
7749
|
var MAX_PAGES = 200;
|
|
7750
7750
|
async function getOfflineMailStatus() {
|
|
7751
|
-
return await
|
|
7751
|
+
return await chunkHE4AQEWB_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
|
|
7752
7752
|
}
|
|
7753
7753
|
var MB = 1024 * 1024;
|
|
7754
7754
|
var time = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
|
|
@@ -7839,23 +7839,23 @@ async function collectGarbage(accounts) {
|
|
|
7839
7839
|
expected.add(await keyOf.attachment(account.id, message.id, attachment.id));
|
|
7840
7840
|
}
|
|
7841
7841
|
}
|
|
7842
|
-
const orphans = (await
|
|
7842
|
+
const orphans = (await chunkHE4AQEWB_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
|
|
7843
7843
|
await removeKeys(orphans);
|
|
7844
7844
|
}
|
|
7845
7845
|
}
|
|
7846
7846
|
async function forgetAccount(accountId) {
|
|
7847
7847
|
for (const folder of await loadFolders(accountId) ?? []) {
|
|
7848
|
-
const records2 = await
|
|
7848
|
+
const records2 = await chunkHE4AQEWB_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
|
|
7849
7849
|
await removeKeys(records2.map((r) => r.key));
|
|
7850
7850
|
}
|
|
7851
|
-
const records = await
|
|
7851
|
+
const records = await chunkHE4AQEWB_cjs.recordsInBucket(await bucketOf.account(accountId));
|
|
7852
7852
|
await removeKeys(records.filter((r) => r.kind !== "draft").map((r) => r.key));
|
|
7853
7853
|
}
|
|
7854
7854
|
async function enforceQuota(quotaBytes) {
|
|
7855
|
-
let used = (await
|
|
7855
|
+
let used = (await chunkHE4AQEWB_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
|
|
7856
7856
|
if (used <= quotaBytes) return used;
|
|
7857
7857
|
for (const kind of ["attachment", "body"]) {
|
|
7858
|
-
const records = (await
|
|
7858
|
+
const records = (await chunkHE4AQEWB_cjs.recordsOfKind(kind)).sort(
|
|
7859
7859
|
(a, b) => kind === "attachment" ? a.lastAccess - b.lastAccess : a.sortAt - b.sortAt
|
|
7860
7860
|
);
|
|
7861
7861
|
const evict = [];
|
|
@@ -7871,34 +7871,34 @@ async function enforceQuota(quotaBytes) {
|
|
|
7871
7871
|
}
|
|
7872
7872
|
var CONTENT_KINDS = ["header", "body", "attachment"];
|
|
7873
7873
|
async function trimOfflineMailbox(settings, now = Date.now()) {
|
|
7874
|
-
const windowStart =
|
|
7874
|
+
const windowStart = chunkHE4AQEWB_cjs.offlineWindowStart(settings, now);
|
|
7875
7875
|
const kinds = settings.enabled ? CONTENT_KINDS : [...CONTENT_KINDS, "folders"];
|
|
7876
7876
|
for (const kind of kinds) {
|
|
7877
|
-
const records = await
|
|
7877
|
+
const records = await chunkHE4AQEWB_cjs.recordsOfKind(kind);
|
|
7878
7878
|
const old = settings.enabled ? records.filter((r) => r.sortAt > 0 && r.sortAt < windowStart) : records;
|
|
7879
7879
|
await removeKeys(old.map((r) => r.key));
|
|
7880
7880
|
}
|
|
7881
7881
|
const previous = await getOfflineMailStatus();
|
|
7882
7882
|
const status = {
|
|
7883
7883
|
...previous,
|
|
7884
|
-
messages: (await
|
|
7885
|
-
bytes: (await
|
|
7884
|
+
messages: (await chunkHE4AQEWB_cjs.recordsOfKind("header")).length,
|
|
7885
|
+
bytes: (await chunkHE4AQEWB_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
|
|
7886
7886
|
// A shorter window no longer covers what the last full pass fetched: growing it again (even
|
|
7887
7887
|
// before the next hourly full pass) makes the next pass a full one.
|
|
7888
|
-
windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays,
|
|
7888
|
+
windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkHE4AQEWB_cjs.SCOPE_DAYS[settings.scope]) : void 0,
|
|
7889
7889
|
// Off: nothing is saved, so turning it back on starts with a full pass.
|
|
7890
7890
|
...!settings.enabled && { lastSyncedAt: void 0, lastFullSyncAt: void 0 }
|
|
7891
7891
|
};
|
|
7892
|
-
await
|
|
7893
|
-
|
|
7892
|
+
await chunkHE4AQEWB_cjs.setMeta(STATUS_KEY, status);
|
|
7893
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("status");
|
|
7894
7894
|
return status;
|
|
7895
7895
|
}
|
|
7896
7896
|
async function syncMailbox(transport, settings, options = {}) {
|
|
7897
7897
|
const now = options.now ?? Date.now();
|
|
7898
7898
|
const previous = await getOfflineMailStatus();
|
|
7899
|
-
const days =
|
|
7899
|
+
const days = chunkHE4AQEWB_cjs.SCOPE_DAYS[settings.scope];
|
|
7900
7900
|
const full = options.full || !previous.lastFullSyncAt || now - previous.lastFullSyncAt > FULL_SYNC_EVERY_MS || (previous.windowDays ?? 0) < days;
|
|
7901
|
-
const windowStart =
|
|
7901
|
+
const windowStart = chunkHE4AQEWB_cjs.offlineWindowStart(settings, now);
|
|
7902
7902
|
const quota = settings.quotaMb * MB;
|
|
7903
7903
|
const skipped = [];
|
|
7904
7904
|
let error;
|
|
@@ -7910,7 +7910,7 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7910
7910
|
for (const gone of before.filter((b) => !accounts.some((a) => a.id === b.id)))
|
|
7911
7911
|
await forgetAccount(gone.id);
|
|
7912
7912
|
const budget = new Budget(
|
|
7913
|
-
(await
|
|
7913
|
+
(await chunkHE4AQEWB_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
|
|
7914
7914
|
quota
|
|
7915
7915
|
);
|
|
7916
7916
|
for (const account of accounts) {
|
|
@@ -7924,12 +7924,12 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7924
7924
|
const oldFolders = await loadFolders(account.id) ?? [];
|
|
7925
7925
|
await saveFolders(account.id, folders);
|
|
7926
7926
|
for (const gone of oldFolders.filter((o) => !folders.some((f) => f.id === o.id))) {
|
|
7927
|
-
const records = await
|
|
7927
|
+
const records = await chunkHE4AQEWB_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
|
|
7928
7928
|
await removeKeys(records.map((r) => r.key));
|
|
7929
7929
|
}
|
|
7930
7930
|
for (const folder of folders.filter((f) => !isVirtualFolder(f)))
|
|
7931
7931
|
await syncFolder(transport, account, folder, settings, windowStart, full, budget);
|
|
7932
|
-
|
|
7932
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("mailbox");
|
|
7933
7933
|
} catch (accountError) {
|
|
7934
7934
|
if (accountError.status === void 0) throw accountError;
|
|
7935
7935
|
client.logger.warn("[offline-mail] account sync failed", accountError);
|
|
@@ -7947,19 +7947,19 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7947
7947
|
const trimmed = await trimOfflineMailbox(current, now);
|
|
7948
7948
|
if (!current.enabled) return trimmed;
|
|
7949
7949
|
const bytes = await enforceQuota(current.quotaMb * MB);
|
|
7950
|
-
const messages = (await
|
|
7950
|
+
const messages = (await chunkHE4AQEWB_cjs.recordsOfKind("header")).length;
|
|
7951
7951
|
const fullDone = !error && full;
|
|
7952
7952
|
const status = {
|
|
7953
7953
|
lastSyncedAt: error ? previous.lastSyncedAt : now,
|
|
7954
7954
|
lastFullSyncAt: fullDone ? now : previous.lastFullSyncAt,
|
|
7955
|
-
windowDays: fullDone ? Math.min(days,
|
|
7955
|
+
windowDays: fullDone ? Math.min(days, chunkHE4AQEWB_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
|
|
7956
7956
|
messages,
|
|
7957
7957
|
bytes,
|
|
7958
7958
|
error,
|
|
7959
7959
|
skipped
|
|
7960
7960
|
};
|
|
7961
|
-
await
|
|
7962
|
-
|
|
7961
|
+
await chunkHE4AQEWB_cjs.setMeta(STATUS_KEY, status);
|
|
7962
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("status");
|
|
7963
7963
|
return status;
|
|
7964
7964
|
}
|
|
7965
7965
|
|
|
@@ -8158,20 +8158,20 @@ function isMailSyncRunning() {
|
|
|
8158
8158
|
return syncing;
|
|
8159
8159
|
}
|
|
8160
8160
|
async function syncOfflineMailbox({ arbi }, options = {}) {
|
|
8161
|
-
const latest = () =>
|
|
8161
|
+
const latest = () => chunkHE4AQEWB_cjs.getOfflineMailSettings(sessionUser(arbi));
|
|
8162
8162
|
const settings = latest();
|
|
8163
8163
|
if (!settings.enabled || !canReachMail(arbi)) return;
|
|
8164
8164
|
void requestPersistentStorage();
|
|
8165
8165
|
await exclusive("arbi-mail-sync", async () => {
|
|
8166
8166
|
syncing = true;
|
|
8167
|
-
|
|
8167
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("status");
|
|
8168
8168
|
try {
|
|
8169
8169
|
await syncMailbox(liveTransport(arbi), latest(), { ...options, latest });
|
|
8170
8170
|
} catch (error) {
|
|
8171
8171
|
client.logger.error("[offline-mail] sync failed", error);
|
|
8172
8172
|
} finally {
|
|
8173
8173
|
syncing = false;
|
|
8174
|
-
|
|
8174
|
+
chunkHE4AQEWB_cjs.notifyOfflineMailChange("status");
|
|
8175
8175
|
}
|
|
8176
8176
|
});
|
|
8177
8177
|
}
|
|
@@ -8202,9 +8202,9 @@ async function savedFolder(accountId, folderId) {
|
|
|
8202
8202
|
}
|
|
8203
8203
|
function offlineMailReads(getArbi, { keepsMail = () => true } = {}) {
|
|
8204
8204
|
const call = (path) => mailJson((p, i) => getArbi().mail.fetch(p, i), path);
|
|
8205
|
-
const settings = () =>
|
|
8205
|
+
const settings = () => chunkHE4AQEWB_cjs.getOfflineMailSettings(sessionUser(getArbi()));
|
|
8206
8206
|
const storeEnabled = () => settings().enabled;
|
|
8207
|
-
const keeps = (message) =>
|
|
8207
|
+
const keeps = (message) => chunkHE4AQEWB_cjs.inOfflineWindow(settings(), message.received_at);
|
|
8208
8208
|
const remember = (write3) => {
|
|
8209
8209
|
if (!keepsMail()) return;
|
|
8210
8210
|
write3().catch((error) => client.logger.warn("[offline-mail] could not save for offline use", error));
|
|
@@ -8807,13 +8807,13 @@ function ArbiWebSocketProvider({
|
|
|
8807
8807
|
onAuthenticatedRef.current = onAuthenticated;
|
|
8808
8808
|
const handlersRef = React.useRef(handlers);
|
|
8809
8809
|
handlersRef.current = handlers;
|
|
8810
|
-
const session =
|
|
8810
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
8811
8811
|
const sessionRef = React.useRef(session);
|
|
8812
8812
|
sessionRef.current = session;
|
|
8813
8813
|
const host = chunkFE6ZSNZE_cjs.useArbiHost();
|
|
8814
8814
|
const hostRef = React.useRef(host);
|
|
8815
8815
|
hostRef.current = host;
|
|
8816
|
-
const acceptRings =
|
|
8816
|
+
const acceptRings = chunkHE4AQEWB_cjs.useFeature("calls");
|
|
8817
8817
|
const acceptRingsRef = React.useRef(acceptRings);
|
|
8818
8818
|
acceptRingsRef.current = acceptRings;
|
|
8819
8819
|
useOnlineSync();
|
|
@@ -8866,9 +8866,9 @@ function ArbiWebSocketProvider({
|
|
|
8866
8866
|
void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.allTags() });
|
|
8867
8867
|
}
|
|
8868
8868
|
} else if (type.startsWith("chat.") || type === "agent_dm_status")
|
|
8869
|
-
void
|
|
8869
|
+
void chunkHE4AQEWB_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
|
|
8870
8870
|
else if (type.startsWith("call."))
|
|
8871
|
-
|
|
8871
|
+
chunkHE4AQEWB_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
|
|
8872
8872
|
else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
|
|
8873
8873
|
else void applyLiveUpdate(queryClient, msg);
|
|
8874
8874
|
try {
|
|
@@ -9244,7 +9244,7 @@ function useSwitchWorkspace() {
|
|
|
9244
9244
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
9245
9245
|
const arbiRef = React.useRef(arbi);
|
|
9246
9246
|
arbiRef.current = arbi;
|
|
9247
|
-
const session =
|
|
9247
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
9248
9248
|
const queryClient = reactQuery.useQueryClient();
|
|
9249
9249
|
React.useEffect(
|
|
9250
9250
|
() => arbi.onSigningOut?.(() => {
|
|
@@ -9261,11 +9261,11 @@ function useSwitchWorkspace() {
|
|
|
9261
9261
|
function useOpenSelectedWorkspace() {
|
|
9262
9262
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
9263
9263
|
const { clearWorkspace, openSelectedWorkspace } = useSwitchWorkspace();
|
|
9264
|
-
const workspaceId =
|
|
9265
|
-
const status =
|
|
9266
|
-
const session =
|
|
9264
|
+
const workspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
9265
|
+
const status = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
9266
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
9267
9267
|
const queryClient = reactQuery.useQueryClient();
|
|
9268
|
-
const { data: workspaces, isLoading: listing, isFetching } =
|
|
9268
|
+
const { data: workspaces, isLoading: listing, isFetching } = chunkMDSWUCCL_cjs.useWorkspaces();
|
|
9269
9269
|
const listed = workspaces;
|
|
9270
9270
|
const archived = listed?.find((w) => w.external_id === workspaceId && w.archive);
|
|
9271
9271
|
const reads = queryClient.getQueryState(chunkFE6ZSNZE_cjs.arbiQueryKeys.workspaces())?.dataUpdateCount ?? 0;
|
|
@@ -9732,9 +9732,9 @@ var EMPTY2 = { query: "", lastQuery: "", hits: null, workspaceId: null };
|
|
|
9732
9732
|
function useFactsSearch(options = {}) {
|
|
9733
9733
|
const { mode = "hybrid", limit = 30 } = options;
|
|
9734
9734
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
9735
|
-
const session =
|
|
9735
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
9736
9736
|
const workspaceId = options.workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : null);
|
|
9737
|
-
const [kept, setKept] =
|
|
9737
|
+
const [kept, setKept] = chunkMDSWUCCL_cjs.useTransientView(FACTS_SEARCH_VIEW, EMPTY2);
|
|
9738
9738
|
const searchFacts = useSearchFacts(workspaceId);
|
|
9739
9739
|
const run2 = React.useRef(0);
|
|
9740
9740
|
const foreign = !!kept.workspaceId && !!workspaceId && kept.workspaceId !== workspaceId;
|
|
@@ -10326,7 +10326,7 @@ function namesOfWorkspaces(workspaces) {
|
|
|
10326
10326
|
return names;
|
|
10327
10327
|
}
|
|
10328
10328
|
function useNames(enabled = true) {
|
|
10329
|
-
const { data } =
|
|
10329
|
+
const { data } = chunkMDSWUCCL_cjs.useWorkspaces({ enabled });
|
|
10330
10330
|
return React.useMemo(() => {
|
|
10331
10331
|
const names = namesOfWorkspaces(data);
|
|
10332
10332
|
return (id) => id ? names.get(id) ?? id : null;
|
|
@@ -10387,8 +10387,8 @@ function createWorkflowsSource(labels) {
|
|
|
10387
10387
|
description: l.description,
|
|
10388
10388
|
useFields: staticFields(fields),
|
|
10389
10389
|
useRows(_params, enabled) {
|
|
10390
|
-
const on =
|
|
10391
|
-
const workspaceId =
|
|
10390
|
+
const on = chunkHE4AQEWB_cjs.useFeature("workflows");
|
|
10391
|
+
const workspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
10392
10392
|
const query = useWorkflows({ enabled: enabled && on });
|
|
10393
10393
|
const nameOf = useNames(enabled);
|
|
10394
10394
|
const rows = React.useMemo(
|
|
@@ -10456,9 +10456,9 @@ function createActivitySource(labels) {
|
|
|
10456
10456
|
useFields: staticFields(fields),
|
|
10457
10457
|
useRows(_params, enabled) {
|
|
10458
10458
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10459
|
-
const workspaceId =
|
|
10459
|
+
const workspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId) ?? void 0;
|
|
10460
10460
|
const { settled, openSelectedWorkspace } = useSwitchWorkspace();
|
|
10461
|
-
const feed =
|
|
10461
|
+
const feed = chunkMDSWUCCL_cjs.useWorkspaceActivity(workspaceId, {
|
|
10462
10462
|
enabled: enabled && arbi.isLoggedIn,
|
|
10463
10463
|
limit: ENTRIES,
|
|
10464
10464
|
beforeFetch: async () => {
|
|
@@ -10526,7 +10526,7 @@ function createConversationsSource(labels) {
|
|
|
10526
10526
|
useRows(params, enabled) {
|
|
10527
10527
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10528
10528
|
const workspaceId = typeof params.workspaceId === "string" && params.workspaceId ? params.workspaceId : arbi.hasWorkspace ? arbi.getWorkspaceId() : void 0;
|
|
10529
|
-
const query =
|
|
10529
|
+
const query = chunkMDSWUCCL_cjs.useConversations(workspaceId, { enabled });
|
|
10530
10530
|
const nameOf = useNames(enabled);
|
|
10531
10531
|
const rows = React.useMemo(() => {
|
|
10532
10532
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -10634,7 +10634,7 @@ function createDatabaseSource(labels) {
|
|
|
10634
10634
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10635
10635
|
const databaseId = text(params.databaseId);
|
|
10636
10636
|
const viewName = text(params.view);
|
|
10637
|
-
const settings =
|
|
10637
|
+
const settings = chunkHE4AQEWB_cjs.useUserSettings({ enabled: Boolean(viewName) });
|
|
10638
10638
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
10639
10639
|
return React.useMemo(
|
|
10640
10640
|
() => viewName && databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).find(
|
|
@@ -10716,7 +10716,7 @@ function createDatabaseSource(labels) {
|
|
|
10716
10716
|
useOptions(params) {
|
|
10717
10717
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10718
10718
|
const databaseId = text(params.databaseId);
|
|
10719
|
-
const settings =
|
|
10719
|
+
const settings = chunkHE4AQEWB_cjs.useUserSettings({ enabled: Boolean(databaseId) });
|
|
10720
10720
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
10721
10721
|
const options = React.useMemo(
|
|
10722
10722
|
() => databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).map((v) => ({
|
|
@@ -10925,7 +10925,7 @@ function createProjectsSource(options = {}) {
|
|
|
10925
10925
|
label: l.source,
|
|
10926
10926
|
description: l.description,
|
|
10927
10927
|
useFields() {
|
|
10928
|
-
const query =
|
|
10928
|
+
const query = chunkMDSWUCCL_cjs.useProjects();
|
|
10929
10929
|
const fields = React.useMemo(
|
|
10930
10930
|
() => fieldsOf(query.data),
|
|
10931
10931
|
[query.data]
|
|
@@ -10933,7 +10933,7 @@ function createProjectsSource(options = {}) {
|
|
|
10933
10933
|
return { fields, isLoading: query.isLoading, error: query.error };
|
|
10934
10934
|
},
|
|
10935
10935
|
useRows(_params, enabled) {
|
|
10936
|
-
const query =
|
|
10936
|
+
const query = chunkMDSWUCCL_cjs.useProjects({ enabled });
|
|
10937
10937
|
const nameOf = useNames(enabled);
|
|
10938
10938
|
const rows = React.useMemo(() => {
|
|
10939
10939
|
const projects = query.data;
|
|
@@ -11010,7 +11010,7 @@ function createTagsSource(labels) {
|
|
|
11010
11010
|
description: l.description,
|
|
11011
11011
|
useFields: staticFields(fields),
|
|
11012
11012
|
useRows(_params, enabled) {
|
|
11013
|
-
const query =
|
|
11013
|
+
const query = chunkMDSWUCCL_cjs.useTags(void 0, { enabled });
|
|
11014
11014
|
const nameOf = useNames(enabled);
|
|
11015
11015
|
const rows = React.useMemo(
|
|
11016
11016
|
() => query.data?.map((t) => ({
|
|
@@ -11135,8 +11135,8 @@ function useUsageResponses(params, enabled) {
|
|
|
11135
11135
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
11136
11136
|
const monthsBack = monthsBackOf(params);
|
|
11137
11137
|
const only = projectOf(params);
|
|
11138
|
-
const projects =
|
|
11139
|
-
const user =
|
|
11138
|
+
const projects = chunkMDSWUCCL_cjs.useProjects({ enabled });
|
|
11139
|
+
const user = chunkMDSWUCCL_cjs.useCurrentUser({ enabled: enabled && arbi.isLoggedIn && !only });
|
|
11140
11140
|
const me = user.data?.external_id;
|
|
11141
11141
|
const list = React.useMemo(() => {
|
|
11142
11142
|
const all = projects.data ?? [];
|
|
@@ -11192,8 +11192,8 @@ function usageParams(l) {
|
|
|
11192
11192
|
placeholder: l.allProjects,
|
|
11193
11193
|
useOptions() {
|
|
11194
11194
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
11195
|
-
const projects =
|
|
11196
|
-
const user =
|
|
11195
|
+
const projects = chunkMDSWUCCL_cjs.useProjects();
|
|
11196
|
+
const user = chunkMDSWUCCL_cjs.useCurrentUser({ enabled: arbi.isLoggedIn });
|
|
11197
11197
|
const me = user.data?.external_id;
|
|
11198
11198
|
const options = React.useMemo(
|
|
11199
11199
|
() => ownedBy(projects.data, me).map((p) => ({ value: p.external_id, label: p.name })),
|
|
@@ -11264,7 +11264,7 @@ function createUsageBreakdownSource(labels) {
|
|
|
11264
11264
|
useRows(params, enabled) {
|
|
11265
11265
|
const by = breakdownOf(params);
|
|
11266
11266
|
const { usages, isLoading, error } = useUsageResponses(params, enabled);
|
|
11267
|
-
const workspaces =
|
|
11267
|
+
const workspaces = chunkMDSWUCCL_cjs.useWorkspaces({
|
|
11268
11268
|
enabled: enabled && (by === "user" || by === "workspace")
|
|
11269
11269
|
});
|
|
11270
11270
|
const names = React.useMemo(
|
|
@@ -11313,8 +11313,8 @@ function createWorkspacesSource(labels) {
|
|
|
11313
11313
|
description: l.description,
|
|
11314
11314
|
useFields: staticFields(fields),
|
|
11315
11315
|
useRows(_params, enabled) {
|
|
11316
|
-
const workspaces =
|
|
11317
|
-
const projects =
|
|
11316
|
+
const workspaces = chunkMDSWUCCL_cjs.useWorkspaces({ enabled });
|
|
11317
|
+
const projects = chunkMDSWUCCL_cjs.useProjects({ enabled });
|
|
11318
11318
|
const rows = React.useMemo(() => {
|
|
11319
11319
|
const list = workspaces.data;
|
|
11320
11320
|
if (!list) return void 0;
|
|
@@ -11780,6 +11780,20 @@ function useInvalidateProjects() {
|
|
|
11780
11780
|
const qc = reactQuery.useQueryClient();
|
|
11781
11781
|
return () => qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.projects() });
|
|
11782
11782
|
}
|
|
11783
|
+
function useProjectBillingCache() {
|
|
11784
|
+
const qc = reactQuery.useQueryClient();
|
|
11785
|
+
return {
|
|
11786
|
+
publish: (project) => qc.setQueryData(
|
|
11787
|
+
chunkFE6ZSNZE_cjs.arbiQueryKeys.projects(),
|
|
11788
|
+
(rows) => rows?.map((row) => row.external_id === project.external_id ? project : row)
|
|
11789
|
+
),
|
|
11790
|
+
invalidate: () => Promise.all([
|
|
11791
|
+
qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.projects() }),
|
|
11792
|
+
qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.userSettings() }),
|
|
11793
|
+
qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.workspaces() })
|
|
11794
|
+
])
|
|
11795
|
+
};
|
|
11796
|
+
}
|
|
11783
11797
|
function useProducts(options) {
|
|
11784
11798
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
11785
11799
|
return reactQuery.useQuery({
|
|
@@ -11935,6 +11949,24 @@ function useUpdateProjectAddonSettings() {
|
|
|
11935
11949
|
onSuccess: () => refreshProjects(qc)
|
|
11936
11950
|
});
|
|
11937
11951
|
}
|
|
11952
|
+
function useConfirmProjectSpendLimits() {
|
|
11953
|
+
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
11954
|
+
const qc = reactQuery.useQueryClient();
|
|
11955
|
+
return reactQuery.useMutation({
|
|
11956
|
+
mutationFn: ({
|
|
11957
|
+
projectExtId,
|
|
11958
|
+
body
|
|
11959
|
+
}) => arbi.projects.confirmSpendLimits(projectExtId, body),
|
|
11960
|
+
onSuccess: (project) => {
|
|
11961
|
+
qc.setQueryData(
|
|
11962
|
+
chunkFE6ZSNZE_cjs.arbiQueryKeys.projects(),
|
|
11963
|
+
(old) => Array.isArray(old) ? old.map((item) => item.external_id === project.external_id ? project : item) : old
|
|
11964
|
+
);
|
|
11965
|
+
refreshProjects(qc);
|
|
11966
|
+
},
|
|
11967
|
+
onError: () => refreshProjects(qc)
|
|
11968
|
+
});
|
|
11969
|
+
}
|
|
11938
11970
|
function dataOrThrow({ data, error }) {
|
|
11939
11971
|
if (error !== void 0) throw error;
|
|
11940
11972
|
return data;
|
|
@@ -12239,8 +12271,8 @@ function usePeople() {
|
|
|
12239
12271
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12240
12272
|
const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
|
|
12241
12273
|
const { data: contacts = [] } = useContacts();
|
|
12242
|
-
const { data: workspaces = [] } =
|
|
12243
|
-
const { data: agents = [] } =
|
|
12274
|
+
const { data: workspaces = [] } = chunkMDSWUCCL_cjs.useWorkspaces();
|
|
12275
|
+
const { data: agents = [] } = chunkMDSWUCCL_cjs.useAgents();
|
|
12244
12276
|
return React.useMemo(() => {
|
|
12245
12277
|
const people = [];
|
|
12246
12278
|
const contactOf = /* @__PURE__ */ new Map();
|
|
@@ -12340,7 +12372,7 @@ var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
|
|
|
12340
12372
|
var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
|
|
12341
12373
|
function useModelConnections() {
|
|
12342
12374
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12343
|
-
const userId =
|
|
12375
|
+
const userId = chunkMDSWUCCL_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12344
12376
|
return reactQuery.useQuery({
|
|
12345
12377
|
queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.modelConnections(userId),
|
|
12346
12378
|
queryFn: () => arbi.modelConnections.list(),
|
|
@@ -12349,7 +12381,7 @@ function useModelConnections() {
|
|
|
12349
12381
|
}
|
|
12350
12382
|
function useDirectModelUsage() {
|
|
12351
12383
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12352
|
-
const userId =
|
|
12384
|
+
const userId = chunkMDSWUCCL_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12353
12385
|
return reactQuery.useQuery({
|
|
12354
12386
|
queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.directModelUsage(userId),
|
|
12355
12387
|
queryFn: () => arbi.modelConnections.usage(),
|
|
@@ -12358,7 +12390,7 @@ function useDirectModelUsage() {
|
|
|
12358
12390
|
}
|
|
12359
12391
|
function useRefreshModelConnections() {
|
|
12360
12392
|
const qc = reactQuery.useQueryClient();
|
|
12361
|
-
const userId =
|
|
12393
|
+
const userId = chunkMDSWUCCL_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12362
12394
|
return async () => {
|
|
12363
12395
|
await qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.modelConnections(userId) });
|
|
12364
12396
|
await qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.availableModels() });
|
|
@@ -12477,13 +12509,13 @@ function useAssistantStatus(workspaceExtId) {
|
|
|
12477
12509
|
return query;
|
|
12478
12510
|
}
|
|
12479
12511
|
function useRequestEmailChange() {
|
|
12480
|
-
const { client } =
|
|
12512
|
+
const { client } = chunkHE4AQEWB_cjs.useAccountClient();
|
|
12481
12513
|
return reactQuery.useMutation({
|
|
12482
12514
|
mutationFn: (newEmail) => client.requestEmailChange(newEmail)
|
|
12483
12515
|
});
|
|
12484
12516
|
}
|
|
12485
12517
|
function useConfirmEmailChange() {
|
|
12486
|
-
const { client } =
|
|
12518
|
+
const { client } = chunkHE4AQEWB_cjs.useAccountClient();
|
|
12487
12519
|
const qc = reactQuery.useQueryClient();
|
|
12488
12520
|
return reactQuery.useMutation({
|
|
12489
12521
|
mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
|
|
@@ -12551,7 +12583,7 @@ function useEmailChange({
|
|
|
12551
12583
|
};
|
|
12552
12584
|
}
|
|
12553
12585
|
function usePasswordChange() {
|
|
12554
|
-
const { client } =
|
|
12586
|
+
const { client } = chunkHE4AQEWB_cjs.useAccountClient();
|
|
12555
12587
|
return reactQuery.useMutation({
|
|
12556
12588
|
mutationFn: (vars) => client.changePassword(vars)
|
|
12557
12589
|
});
|
|
@@ -12645,8 +12677,8 @@ function usePasswordChangeForm({
|
|
|
12645
12677
|
}
|
|
12646
12678
|
function useDismissedTips() {
|
|
12647
12679
|
const queryClient = reactQuery.useQueryClient();
|
|
12648
|
-
const { data: userSettings } =
|
|
12649
|
-
const { mutate: updateUserSettings } =
|
|
12680
|
+
const { data: userSettings } = chunkHE4AQEWB_cjs.useUserSettings();
|
|
12681
|
+
const { mutate: updateUserSettings } = chunkHE4AQEWB_cjs.useUpdateUserSettings();
|
|
12650
12682
|
const loaded = userSettings !== void 0;
|
|
12651
12683
|
const dismissed = userSettings?.dismissed_tips ?? [];
|
|
12652
12684
|
const dismissTip = React.useCallback(
|
|
@@ -12680,7 +12712,7 @@ function toNotificationPreferences(stored, keys) {
|
|
|
12680
12712
|
function useNotificationPreferences(keys, options) {
|
|
12681
12713
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12682
12714
|
const qc = reactQuery.useQueryClient();
|
|
12683
|
-
const settings =
|
|
12715
|
+
const settings = chunkHE4AQEWB_cjs.useUserSettings(options);
|
|
12684
12716
|
const stored = settings.data?.email_notifications;
|
|
12685
12717
|
const save = reactQuery.useMutation({
|
|
12686
12718
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
@@ -12739,7 +12771,7 @@ function useRelevanceSave() {
|
|
|
12739
12771
|
}
|
|
12740
12772
|
function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
12741
12773
|
const qc = reactQuery.useQueryClient();
|
|
12742
|
-
const settings =
|
|
12774
|
+
const settings = chunkHE4AQEWB_cjs.useUserSettings(options);
|
|
12743
12775
|
const save = useRelevanceSave();
|
|
12744
12776
|
const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
|
|
12745
12777
|
const setLevel = React.useCallback(
|
|
@@ -12760,7 +12792,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
|
12760
12792
|
}
|
|
12761
12793
|
function useFollowThread(conversationId, options) {
|
|
12762
12794
|
const qc = reactQuery.useQueryClient();
|
|
12763
|
-
const settings =
|
|
12795
|
+
const settings = chunkHE4AQEWB_cjs.useUserSettings(options);
|
|
12764
12796
|
const save = useRelevanceSave();
|
|
12765
12797
|
const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
|
|
12766
12798
|
const setFollowing = React.useCallback(
|
|
@@ -12789,7 +12821,7 @@ function useFollowThread(conversationId, options) {
|
|
|
12789
12821
|
};
|
|
12790
12822
|
}
|
|
12791
12823
|
function useSessions(options) {
|
|
12792
|
-
const { client, enabled } =
|
|
12824
|
+
const { client, enabled } = chunkHE4AQEWB_cjs.useAccountClient();
|
|
12793
12825
|
return reactQuery.useQuery({
|
|
12794
12826
|
queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.sessions(),
|
|
12795
12827
|
queryFn: () => client.listSessions(),
|
|
@@ -12797,7 +12829,7 @@ function useSessions(options) {
|
|
|
12797
12829
|
});
|
|
12798
12830
|
}
|
|
12799
12831
|
function useTerminateSession() {
|
|
12800
|
-
const { client } =
|
|
12832
|
+
const { client } = chunkHE4AQEWB_cjs.useAccountClient();
|
|
12801
12833
|
const qc = reactQuery.useQueryClient();
|
|
12802
12834
|
return reactQuery.useMutation({
|
|
12803
12835
|
mutationFn: (sessionId) => client.terminateSession(sessionId),
|
|
@@ -12805,7 +12837,7 @@ function useTerminateSession() {
|
|
|
12805
12837
|
});
|
|
12806
12838
|
}
|
|
12807
12839
|
function useSignOut() {
|
|
12808
|
-
const { client } =
|
|
12840
|
+
const { client } = chunkHE4AQEWB_cjs.useAccountClient();
|
|
12809
12841
|
const qc = reactQuery.useQueryClient();
|
|
12810
12842
|
return reactQuery.useMutation({
|
|
12811
12843
|
mutationFn: (options = {}) => client.signOut(options),
|
|
@@ -12813,7 +12845,7 @@ function useSignOut() {
|
|
|
12813
12845
|
});
|
|
12814
12846
|
}
|
|
12815
12847
|
function useCurrentSessionId() {
|
|
12816
|
-
return
|
|
12848
|
+
return chunkHE4AQEWB_cjs.useAccountClient().client.currentSessionId();
|
|
12817
12849
|
}
|
|
12818
12850
|
function parseDeleteAccountBlockers(error) {
|
|
12819
12851
|
const body = error?.apiError ?? error;
|
|
@@ -12828,7 +12860,7 @@ function parseDeleteAccountBlockers(error) {
|
|
|
12828
12860
|
return [];
|
|
12829
12861
|
}
|
|
12830
12862
|
function useDeleteAccount() {
|
|
12831
|
-
const { client } =
|
|
12863
|
+
const { client } = chunkHE4AQEWB_cjs.useAccountClient();
|
|
12832
12864
|
return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
|
|
12833
12865
|
}
|
|
12834
12866
|
function useDeleteAccountFlow({
|
|
@@ -13150,7 +13182,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
13150
13182
|
};
|
|
13151
13183
|
}
|
|
13152
13184
|
function useIdentityVerification(options = {}) {
|
|
13153
|
-
const { client, enabled } =
|
|
13185
|
+
const { client, enabled } = chunkHE4AQEWB_cjs.useAccountClient();
|
|
13154
13186
|
const qc = reactQuery.useQueryClient();
|
|
13155
13187
|
const { onVerifiedChange, onNameAccepted, formatPrice } = options;
|
|
13156
13188
|
return useIdentityVerificationFlow(client.identity, {
|
|
@@ -13248,15 +13280,15 @@ function useNativeThreadKeys(account, messages) {
|
|
|
13248
13280
|
var SYNC_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13249
13281
|
var NEW_MAIL_DEBOUNCE_MS = 5e3;
|
|
13250
13282
|
function useOfflineMailActive() {
|
|
13251
|
-
const { user, status } =
|
|
13252
|
-
const mailEnabled =
|
|
13253
|
-
const entitled =
|
|
13283
|
+
const { user, status } = chunkMDSWUCCL_cjs.useArbiSession();
|
|
13284
|
+
const mailEnabled = chunkHE4AQEWB_cjs.useFeature("mail");
|
|
13285
|
+
const entitled = chunkHE4AQEWB_cjs.useIsEntitled("mail");
|
|
13254
13286
|
const eligible = status === "signed-in" && !!user?.external_id && mailEnabled && entitled;
|
|
13255
13287
|
const { data: policy } = useMailPolicy({ enabled: eligible });
|
|
13256
13288
|
return eligible && !!policy?.enabled && (policy.native_enabled || policy.enabled_providers.length > 0);
|
|
13257
13289
|
}
|
|
13258
13290
|
function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
13259
|
-
const { user, serverSessionKey } =
|
|
13291
|
+
const { user, serverSessionKey } = chunkMDSWUCCL_cjs.useArbiSession();
|
|
13260
13292
|
const userExtId = user?.external_id;
|
|
13261
13293
|
const hasSession = !!serverSessionKey;
|
|
13262
13294
|
const active = useOfflineMailActive();
|
|
@@ -13266,15 +13298,15 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13266
13298
|
latest.current = { arbi, queryClient, openOutbox };
|
|
13267
13299
|
React.useEffect(() => {
|
|
13268
13300
|
if (!active || !userExtId) return;
|
|
13269
|
-
|
|
13301
|
+
chunkHE4AQEWB_cjs.claimOfflineMail(userExtId).catch(
|
|
13270
13302
|
(error) => client.logger.warn("[offline-mail] could not bind the store", error)
|
|
13271
13303
|
);
|
|
13272
13304
|
}, [active, userExtId]);
|
|
13273
13305
|
React.useEffect(() => {
|
|
13274
13306
|
if (!active || !userExtId) return;
|
|
13275
|
-
return
|
|
13307
|
+
return chunkHE4AQEWB_cjs.onOfflineMailChange((change) => {
|
|
13276
13308
|
if (change !== "settings") return;
|
|
13277
|
-
trimOfflineMailbox(
|
|
13309
|
+
trimOfflineMailbox(chunkHE4AQEWB_cjs.getOfflineMailSettings(userExtId)).then(
|
|
13278
13310
|
() => latest.current.queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.mailQueryKeys.allMessages() })
|
|
13279
13311
|
).catch((error) => client.logger.warn("[offline-mail] could not trim the device copy", error));
|
|
13280
13312
|
});
|
|
@@ -13299,7 +13331,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13299
13331
|
const interval = setInterval(() => {
|
|
13300
13332
|
if (document.visibilityState === "visible") run2();
|
|
13301
13333
|
}, SYNC_INTERVAL_MS);
|
|
13302
|
-
const enabled = () =>
|
|
13334
|
+
const enabled = () => chunkHE4AQEWB_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
|
|
13303
13335
|
let newMailTimer = null;
|
|
13304
13336
|
const offCache = queryClient.getQueryCache().subscribe((event) => {
|
|
13305
13337
|
if (event.type !== "updated" || event.action.type !== "invalidate") return;
|
|
@@ -13307,7 +13339,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13307
13339
|
if (newMailTimer) clearTimeout(newMailTimer);
|
|
13308
13340
|
newMailTimer = setTimeout(() => void syncOfflineMailbox(context()), NEW_MAIL_DEBOUNCE_MS);
|
|
13309
13341
|
});
|
|
13310
|
-
const offSettings =
|
|
13342
|
+
const offSettings = chunkHE4AQEWB_cjs.onOfflineMailChange((change) => {
|
|
13311
13343
|
if (change === "settings" && enabled()) void syncOfflineMailbox(context(), { full: true });
|
|
13312
13344
|
if (change === "outbox") void flushOutbox(context());
|
|
13313
13345
|
if (change === "changes") void flushOutbox(context());
|
|
@@ -13329,7 +13361,7 @@ function useStoreValue(load, initial, changes) {
|
|
|
13329
13361
|
let alive = true;
|
|
13330
13362
|
const read = () => load().then((next) => alive && setValue(next)).catch((error) => client.logger.warn("[offline-mail] read failed", error));
|
|
13331
13363
|
void read();
|
|
13332
|
-
const off =
|
|
13364
|
+
const off = chunkHE4AQEWB_cjs.onOfflineMailChange((change) => {
|
|
13333
13365
|
if (change === "wiped") setValue(initial);
|
|
13334
13366
|
if (change === "wiped" || key.split(",").includes(change)) void read();
|
|
13335
13367
|
});
|
|
@@ -13341,20 +13373,20 @@ function useStoreValue(load, initial, changes) {
|
|
|
13341
13373
|
return value;
|
|
13342
13374
|
}
|
|
13343
13375
|
function useOfflineMailSettings() {
|
|
13344
|
-
const userExtId =
|
|
13376
|
+
const userExtId = chunkMDSWUCCL_cjs.useArbiSession().user?.external_id;
|
|
13345
13377
|
const subscribe = React.useCallback(
|
|
13346
|
-
(onChange) =>
|
|
13378
|
+
(onChange) => chunkHE4AQEWB_cjs.onOfflineMailChange((change) => {
|
|
13347
13379
|
if (change === "settings") onChange();
|
|
13348
13380
|
}),
|
|
13349
13381
|
[]
|
|
13350
13382
|
);
|
|
13351
13383
|
const raw = React.useSyncExternalStore(
|
|
13352
13384
|
subscribe,
|
|
13353
|
-
() => JSON.stringify([userExtId,
|
|
13385
|
+
() => JSON.stringify([userExtId, chunkHE4AQEWB_cjs.getOfflineMailSettings(userExtId)])
|
|
13354
13386
|
);
|
|
13355
13387
|
const settings = React.useMemo(() => JSON.parse(raw)[1], [raw]);
|
|
13356
13388
|
const update2 = React.useCallback(
|
|
13357
|
-
(patch) => void
|
|
13389
|
+
(patch) => void chunkHE4AQEWB_cjs.setOfflineMailSettings(userExtId, patch),
|
|
13358
13390
|
[userExtId]
|
|
13359
13391
|
);
|
|
13360
13392
|
return [settings, update2];
|
|
@@ -13364,7 +13396,7 @@ function useOfflineMailStatus() {
|
|
|
13364
13396
|
const status = useStoreValue(getOfflineMailStatus, EMPTY_STATUS, ["status", "mailbox"]);
|
|
13365
13397
|
const [syncing2, setSyncing] = React.useState(isMailSyncRunning);
|
|
13366
13398
|
React.useEffect(
|
|
13367
|
-
() =>
|
|
13399
|
+
() => chunkHE4AQEWB_cjs.onOfflineMailChange((change) => {
|
|
13368
13400
|
if (change === "status") setSyncing(isMailSyncRunning());
|
|
13369
13401
|
}),
|
|
13370
13402
|
[]
|
|
@@ -13406,7 +13438,7 @@ function useSyncOfflineMailbox() {
|
|
|
13406
13438
|
async function storeExists() {
|
|
13407
13439
|
try {
|
|
13408
13440
|
const databases = await indexedDB.databases?.();
|
|
13409
|
-
return databases ? databases.some((d) => d.name ===
|
|
13441
|
+
return databases ? databases.some((d) => d.name === chunkHE4AQEWB_cjs.OFFLINE_MAIL_DB) : true;
|
|
13410
13442
|
} catch {
|
|
13411
13443
|
return true;
|
|
13412
13444
|
}
|
|
@@ -13464,7 +13496,7 @@ function useDisconnectConnector() {
|
|
|
13464
13496
|
);
|
|
13465
13497
|
}
|
|
13466
13498
|
function useConnectorVendorVisibility() {
|
|
13467
|
-
const { data: settings } =
|
|
13499
|
+
const { data: settings } = chunkHE4AQEWB_cjs.useUserSettings();
|
|
13468
13500
|
return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
|
|
13469
13501
|
}
|
|
13470
13502
|
function connectorReturnTo(reopen) {
|
|
@@ -13642,7 +13674,7 @@ function checkNowAndOnFocus(check) {
|
|
|
13642
13674
|
function useConnectorAutoSync(workspaceExtId, opened) {
|
|
13643
13675
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
13644
13676
|
const qc = reactQuery.useQueryClient();
|
|
13645
|
-
const hasMail =
|
|
13677
|
+
const hasMail = chunkHE4AQEWB_cjs.useIsEntitled("mail");
|
|
13646
13678
|
React.useEffect(() => {
|
|
13647
13679
|
if (!opened || !workspaceExtId || !arbi.isLoggedIn) return;
|
|
13648
13680
|
return checkNowAndOnFocus(() => {
|
|
@@ -14260,7 +14292,7 @@ var OfflineCalendarLockedError = class extends Error {
|
|
|
14260
14292
|
this.name = "OfflineCalendarLockedError";
|
|
14261
14293
|
}
|
|
14262
14294
|
};
|
|
14263
|
-
var store =
|
|
14295
|
+
var store = chunkHE4AQEWB_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
|
|
14264
14296
|
var sealer = client.createOfflineSealer("arbi-offline-calendar-v1", {
|
|
14265
14297
|
locked: () => new OfflineCalendarLockedError()
|
|
14266
14298
|
});
|
|
@@ -14539,7 +14571,7 @@ async function replay(arbi, queryClient) {
|
|
|
14539
14571
|
);
|
|
14540
14572
|
}
|
|
14541
14573
|
function useCalendarOfflineRuntime() {
|
|
14542
|
-
const { status, serverSessionKey, user } =
|
|
14574
|
+
const { status, serverSessionKey, user } = chunkMDSWUCCL_cjs.useArbiSession();
|
|
14543
14575
|
const userExtId = user?.external_id;
|
|
14544
14576
|
const authenticated = status === "signed-in";
|
|
14545
14577
|
const hasSession = !!serverSessionKey;
|
|
@@ -14596,7 +14628,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
14596
14628
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
14597
14629
|
}
|
|
14598
14630
|
function useAiTask() {
|
|
14599
|
-
const mutation =
|
|
14631
|
+
const mutation = chunkMDSWUCCL_cjs.useAssistantQuery();
|
|
14600
14632
|
const [status, setStatus] = React.useState("idle");
|
|
14601
14633
|
const [text2, setText] = React.useState("");
|
|
14602
14634
|
const [stepCount, setStepCount] = React.useState(0);
|
|
@@ -15657,7 +15689,7 @@ function getWorkspaceActionText(type) {
|
|
|
15657
15689
|
case "workspaceuser_added_collaborator":
|
|
15658
15690
|
return "added you as collaborator";
|
|
15659
15691
|
case "workspaceuser_added_guest":
|
|
15660
|
-
return "added you as
|
|
15692
|
+
return "added you as a viewer";
|
|
15661
15693
|
case "workspaceuser_removed":
|
|
15662
15694
|
return "removed you";
|
|
15663
15695
|
case "workspaceuser_updated_owner":
|
|
@@ -15665,7 +15697,7 @@ function getWorkspaceActionText(type) {
|
|
|
15665
15697
|
case "workspaceuser_updated_collaborator":
|
|
15666
15698
|
return "changed your role to collaborator";
|
|
15667
15699
|
case "workspaceuser_updated_guest":
|
|
15668
|
-
return "changed your role to
|
|
15700
|
+
return "changed your role to viewer";
|
|
15669
15701
|
default:
|
|
15670
15702
|
return "updated your access";
|
|
15671
15703
|
}
|
|
@@ -15677,7 +15709,7 @@ function getWorkspaceSentPhrase(type) {
|
|
|
15677
15709
|
case "workspaceuser_added_collaborator":
|
|
15678
15710
|
return { before: "You added", after: "as collaborator" };
|
|
15679
15711
|
case "workspaceuser_added_guest":
|
|
15680
|
-
return { before: "You added", after: "as
|
|
15712
|
+
return { before: "You added", after: "as a viewer" };
|
|
15681
15713
|
case "workspaceuser_removed":
|
|
15682
15714
|
return { before: "You removed", after: "" };
|
|
15683
15715
|
case "workspaceuser_updated_owner":
|
|
@@ -15685,7 +15717,7 @@ function getWorkspaceSentPhrase(type) {
|
|
|
15685
15717
|
case "workspaceuser_updated_collaborator":
|
|
15686
15718
|
return { before: "You set", after: "as collaborator" };
|
|
15687
15719
|
case "workspaceuser_updated_guest":
|
|
15688
|
-
return { before: "You set", after: "as
|
|
15720
|
+
return { before: "You set", after: "as a viewer" };
|
|
15689
15721
|
default:
|
|
15690
15722
|
return { before: "You updated access for", after: "" };
|
|
15691
15723
|
}
|
|
@@ -15760,7 +15792,7 @@ function ActivityFeed({
|
|
|
15760
15792
|
enabled,
|
|
15761
15793
|
"data-testid": testId = "activity-feed"
|
|
15762
15794
|
}) {
|
|
15763
|
-
const { data, isLoading, isError } =
|
|
15795
|
+
const { data, isLoading, isError } = chunkMDSWUCCL_cjs.useActivity({ limit, enabled });
|
|
15764
15796
|
if (isLoading) {
|
|
15765
15797
|
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: [
|
|
15766
15798
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -16060,7 +16092,7 @@ function describeServerNotification(n, options = {}) {
|
|
|
16060
16092
|
target: workspace
|
|
16061
16093
|
};
|
|
16062
16094
|
case "workspaceuser_added_guest":
|
|
16063
|
-
return { title: `${senderName} added you as
|
|
16095
|
+
return { title: `${senderName} added you as a viewer`, variant: "info", target: workspace };
|
|
16064
16096
|
case "workspaceuser_removed":
|
|
16065
16097
|
return { title: `${senderName} removed you from a workspace`, variant: "warning" };
|
|
16066
16098
|
case "workspaceuser_updated_owner":
|
|
@@ -16077,7 +16109,7 @@ function describeServerNotification(n, options = {}) {
|
|
|
16077
16109
|
};
|
|
16078
16110
|
case "workspaceuser_updated_guest":
|
|
16079
16111
|
return {
|
|
16080
|
-
title: `${senderName} changed your role to
|
|
16112
|
+
title: `${senderName} changed your role to viewer`,
|
|
16081
16113
|
variant: "info",
|
|
16082
16114
|
target: workspace
|
|
16083
16115
|
};
|
|
@@ -16738,7 +16770,7 @@ function useChatUnreadTotal() {
|
|
|
16738
16770
|
function useUnreadByPeer() {
|
|
16739
16771
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
16740
16772
|
const { data = [] } = useChats();
|
|
16741
|
-
const me =
|
|
16773
|
+
const me = chunkHE4AQEWB_cjs.myChatId(arbi);
|
|
16742
16774
|
return React.useMemo(() => {
|
|
16743
16775
|
const out = /* @__PURE__ */ new Map();
|
|
16744
16776
|
for (const c of data) {
|
|
@@ -16828,13 +16860,13 @@ function useChatPost() {
|
|
|
16828
16860
|
const queryClient = reactQuery.useQueryClient();
|
|
16829
16861
|
return React.useCallback(
|
|
16830
16862
|
async (target, post) => {
|
|
16831
|
-
const me =
|
|
16863
|
+
const me = chunkHE4AQEWB_cjs.myChatId(arbi);
|
|
16832
16864
|
if (!me) throw new Error("No active session");
|
|
16833
16865
|
let chat = target.chat;
|
|
16834
16866
|
if (!chat) {
|
|
16835
16867
|
if (!target.peerExtId) throw new Error("Could not resolve the conversation");
|
|
16836
16868
|
chat = await arbi.chats.openDirect(target.peerExtId);
|
|
16837
|
-
|
|
16869
|
+
chunkHE4AQEWB_cjs.upsertChat(queryClient, chat);
|
|
16838
16870
|
queryClient.setQueryData(
|
|
16839
16871
|
chunkFE6ZSNZE_cjs.arbiQueryKeys.chatThread(chat.external_id),
|
|
16840
16872
|
(old) => old ?? { messages: [], hasMore: false }
|
|
@@ -16857,7 +16889,7 @@ function useChatPost() {
|
|
|
16857
16889
|
updated_at: now,
|
|
16858
16890
|
optimistic: true
|
|
16859
16891
|
};
|
|
16860
|
-
|
|
16892
|
+
chunkHE4AQEWB_cjs.appendToThread(queryClient, chat.external_id, optimistic);
|
|
16861
16893
|
try {
|
|
16862
16894
|
let attachments = [];
|
|
16863
16895
|
if (files.length) {
|
|
@@ -16877,15 +16909,15 @@ function useChatPost() {
|
|
|
16877
16909
|
...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
|
|
16878
16910
|
contextOnly: !!post.contextOnly
|
|
16879
16911
|
});
|
|
16880
|
-
|
|
16881
|
-
|
|
16912
|
+
chunkHE4AQEWB_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
|
|
16913
|
+
chunkHE4AQEWB_cjs.upsertChat(queryClient, {
|
|
16882
16914
|
...chat,
|
|
16883
16915
|
last_message: message,
|
|
16884
16916
|
last_message_at: message.created_at
|
|
16885
16917
|
});
|
|
16886
16918
|
return { chat, message };
|
|
16887
16919
|
} catch (err) {
|
|
16888
|
-
|
|
16920
|
+
chunkHE4AQEWB_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
|
|
16889
16921
|
void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.chatList() });
|
|
16890
16922
|
throw err;
|
|
16891
16923
|
}
|
|
@@ -16897,7 +16929,7 @@ function useDeleteChatMessage() {
|
|
|
16897
16929
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
16898
16930
|
const queryClient = reactQuery.useQueryClient();
|
|
16899
16931
|
return React.useCallback(
|
|
16900
|
-
(chatExtId, messageExtId) =>
|
|
16932
|
+
(chatExtId, messageExtId) => chunkHE4AQEWB_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
|
|
16901
16933
|
[arbi, queryClient]
|
|
16902
16934
|
);
|
|
16903
16935
|
}
|
|
@@ -16906,7 +16938,7 @@ function useMarkChatRead() {
|
|
|
16906
16938
|
const queryClient = reactQuery.useQueryClient();
|
|
16907
16939
|
return React.useCallback(
|
|
16908
16940
|
(chat, messageExtId) => {
|
|
16909
|
-
|
|
16941
|
+
chunkHE4AQEWB_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
|
|
16910
16942
|
return arbi.chats.markRead(chat.external_id, messageExtId).then(
|
|
16911
16943
|
() => void 0,
|
|
16912
16944
|
() => void 0
|
|
@@ -16920,7 +16952,7 @@ function useCreateGroupChat() {
|
|
|
16920
16952
|
const queryClient = reactQuery.useQueryClient();
|
|
16921
16953
|
return reactQuery.useMutation({
|
|
16922
16954
|
mutationFn: (params) => arbi.chats.createGroup(params),
|
|
16923
|
-
onSuccess: (chat) =>
|
|
16955
|
+
onSuccess: (chat) => chunkHE4AQEWB_cjs.upsertChat(queryClient, chat)
|
|
16924
16956
|
});
|
|
16925
16957
|
}
|
|
16926
16958
|
function useRenameChat() {
|
|
@@ -16928,7 +16960,7 @@ function useRenameChat() {
|
|
|
16928
16960
|
const queryClient = reactQuery.useQueryClient();
|
|
16929
16961
|
return reactQuery.useMutation({
|
|
16930
16962
|
mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
|
|
16931
|
-
onSuccess: (chat) =>
|
|
16963
|
+
onSuccess: (chat) => chunkHE4AQEWB_cjs.upsertChat(queryClient, chat)
|
|
16932
16964
|
});
|
|
16933
16965
|
}
|
|
16934
16966
|
function useAddChatMembers() {
|
|
@@ -16936,7 +16968,7 @@ function useAddChatMembers() {
|
|
|
16936
16968
|
const queryClient = reactQuery.useQueryClient();
|
|
16937
16969
|
return reactQuery.useMutation({
|
|
16938
16970
|
mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
|
|
16939
|
-
onSuccess: (chat) =>
|
|
16971
|
+
onSuccess: (chat) => chunkHE4AQEWB_cjs.upsertChat(queryClient, chat)
|
|
16940
16972
|
});
|
|
16941
16973
|
}
|
|
16942
16974
|
function useRemoveChatMember() {
|
|
@@ -16945,7 +16977,7 @@ function useRemoveChatMember() {
|
|
|
16945
16977
|
return reactQuery.useMutation({
|
|
16946
16978
|
mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
|
|
16947
16979
|
onSuccess: (_data, vars) => {
|
|
16948
|
-
if (vars.userExtId ===
|
|
16980
|
+
if (vars.userExtId === chunkHE4AQEWB_cjs.myChatId(arbi)) chunkHE4AQEWB_cjs.removeChat(queryClient, vars.chat.external_id);
|
|
16949
16981
|
else return queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.chatList() });
|
|
16950
16982
|
}
|
|
16951
16983
|
});
|
|
@@ -16955,11 +16987,11 @@ function useChatArrivals(onArrival) {
|
|
|
16955
16987
|
const queryClient = reactQuery.useQueryClient();
|
|
16956
16988
|
useArbiWsMessage("chat.message", (message) => {
|
|
16957
16989
|
const senderId = message.message.sender_ext_id;
|
|
16958
|
-
if (!senderId || senderId ===
|
|
16959
|
-
if (message.message.kind !== "text" ||
|
|
16990
|
+
if (!senderId || senderId === chunkHE4AQEWB_cjs.myChatId(arbi)) return;
|
|
16991
|
+
if (message.message.kind !== "text" || chunkHE4AQEWB_cjs.getOpenChat() === message.chat_ext_id) return;
|
|
16960
16992
|
const muted = queryClient.getQueriesData({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
|
|
16961
16993
|
if (muted?.includes(senderId)) return;
|
|
16962
|
-
const chat =
|
|
16994
|
+
const chat = chunkHE4AQEWB_cjs.cachedChat(queryClient, message.chat_ext_id);
|
|
16963
16995
|
const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
|
|
16964
16996
|
onArrival({
|
|
16965
16997
|
chatId: message.chat_ext_id,
|
|
@@ -17175,7 +17207,7 @@ var REMOTE_CONTROL_VIEW = "actions.remoteControl";
|
|
|
17175
17207
|
var OFF = { enabled: false, pending: null, controllingAgent: null };
|
|
17176
17208
|
var remoteControlStateOf = (state) => state.views.transient[REMOTE_CONTROL_VIEW] ?? OFF;
|
|
17177
17209
|
function useRemoteControl(selector) {
|
|
17178
|
-
return
|
|
17210
|
+
return chunkMDSWUCCL_cjs.useArbiSessionState((state) => selector(remoteControlStateOf(state)));
|
|
17179
17211
|
}
|
|
17180
17212
|
function remoteControlActions(session) {
|
|
17181
17213
|
const update2 = (change) => {
|
|
@@ -17267,775 +17299,775 @@ function useRateSupportTicket() {
|
|
|
17267
17299
|
|
|
17268
17300
|
Object.defineProperty(exports, "AUDIENCE_CHOICES", {
|
|
17269
17301
|
enumerable: true,
|
|
17270
|
-
get: function () { return
|
|
17302
|
+
get: function () { return chunkHE4AQEWB_cjs.AUDIENCE_CHOICES; }
|
|
17271
17303
|
});
|
|
17272
17304
|
Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
|
|
17273
17305
|
enumerable: true,
|
|
17274
|
-
get: function () { return
|
|
17306
|
+
get: function () { return chunkHE4AQEWB_cjs.CALL_CAPTION_TOPIC; }
|
|
17275
17307
|
});
|
|
17276
17308
|
Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
|
|
17277
17309
|
enumerable: true,
|
|
17278
|
-
get: function () { return
|
|
17310
|
+
get: function () { return chunkHE4AQEWB_cjs.CALL_CHAT_MAX_CHARS; }
|
|
17279
17311
|
});
|
|
17280
17312
|
Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
|
|
17281
17313
|
enumerable: true,
|
|
17282
|
-
get: function () { return
|
|
17314
|
+
get: function () { return chunkHE4AQEWB_cjs.CALL_CHAT_TOPIC; }
|
|
17283
17315
|
});
|
|
17284
17316
|
Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
|
|
17285
17317
|
enumerable: true,
|
|
17286
|
-
get: function () { return
|
|
17318
|
+
get: function () { return chunkHE4AQEWB_cjs.CALL_MODERATION_TOPIC; }
|
|
17287
17319
|
});
|
|
17288
17320
|
Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
|
|
17289
17321
|
enumerable: true,
|
|
17290
|
-
get: function () { return
|
|
17322
|
+
get: function () { return chunkHE4AQEWB_cjs.CALL_RECORDING_TOPIC; }
|
|
17291
17323
|
});
|
|
17292
17324
|
Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
|
|
17293
17325
|
enumerable: true,
|
|
17294
|
-
get: function () { return
|
|
17326
|
+
get: function () { return chunkHE4AQEWB_cjs.CALL_TRANSCRIPTION_TOPIC; }
|
|
17295
17327
|
});
|
|
17296
17328
|
Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
|
|
17297
17329
|
enumerable: true,
|
|
17298
|
-
get: function () { return
|
|
17330
|
+
get: function () { return chunkHE4AQEWB_cjs.CALL_WEBINAR_TOPIC; }
|
|
17299
17331
|
});
|
|
17300
17332
|
Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
|
|
17301
17333
|
enumerable: true,
|
|
17302
|
-
get: function () { return
|
|
17334
|
+
get: function () { return chunkHE4AQEWB_cjs.CAPTION_MAX_CHARS; }
|
|
17303
17335
|
});
|
|
17304
17336
|
Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
|
|
17305
17337
|
enumerable: true,
|
|
17306
|
-
get: function () { return
|
|
17338
|
+
get: function () { return chunkHE4AQEWB_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
|
|
17307
17339
|
});
|
|
17308
17340
|
Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
|
|
17309
17341
|
enumerable: true,
|
|
17310
|
-
get: function () { return
|
|
17342
|
+
get: function () { return chunkHE4AQEWB_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
|
|
17311
17343
|
});
|
|
17312
17344
|
Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
|
|
17313
17345
|
enumerable: true,
|
|
17314
|
-
get: function () { return
|
|
17346
|
+
get: function () { return chunkHE4AQEWB_cjs.DEFAULT_JOIN_CHOICES; }
|
|
17315
17347
|
});
|
|
17316
17348
|
Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
|
|
17317
17349
|
enumerable: true,
|
|
17318
|
-
get: function () { return
|
|
17350
|
+
get: function () { return chunkHE4AQEWB_cjs.EMPTY_CALL_SESSION; }
|
|
17319
17351
|
});
|
|
17320
17352
|
Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
|
|
17321
17353
|
enumerable: true,
|
|
17322
|
-
get: function () { return
|
|
17354
|
+
get: function () { return chunkHE4AQEWB_cjs.EXPORT_SAMPLE_RATE; }
|
|
17323
17355
|
});
|
|
17324
17356
|
Object.defineProperty(exports, "HISTORY_LIMIT", {
|
|
17325
17357
|
enumerable: true,
|
|
17326
|
-
get: function () { return
|
|
17358
|
+
get: function () { return chunkHE4AQEWB_cjs.HISTORY_LIMIT; }
|
|
17327
17359
|
});
|
|
17328
17360
|
Object.defineProperty(exports, "LIVE_SEGMENTER", {
|
|
17329
17361
|
enumerable: true,
|
|
17330
|
-
get: function () { return
|
|
17362
|
+
get: function () { return chunkHE4AQEWB_cjs.LIVE_SEGMENTER; }
|
|
17331
17363
|
});
|
|
17332
17364
|
Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
|
|
17333
17365
|
enumerable: true,
|
|
17334
|
-
get: function () { return
|
|
17366
|
+
get: function () { return chunkHE4AQEWB_cjs.MAX_AVATAR_FILE_BYTES; }
|
|
17335
17367
|
});
|
|
17336
17368
|
Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
|
|
17337
17369
|
enumerable: true,
|
|
17338
|
-
get: function () { return
|
|
17370
|
+
get: function () { return chunkHE4AQEWB_cjs.MUTED_DEDUPE_MS; }
|
|
17339
17371
|
});
|
|
17340
17372
|
Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
|
|
17341
17373
|
enumerable: true,
|
|
17342
|
-
get: function () { return
|
|
17374
|
+
get: function () { return chunkHE4AQEWB_cjs.PLAYBACK_LOOKAHEAD_MS; }
|
|
17343
17375
|
});
|
|
17344
17376
|
Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
|
|
17345
17377
|
enumerable: true,
|
|
17346
|
-
get: function () { return
|
|
17378
|
+
get: function () { return chunkHE4AQEWB_cjs.READ_ONLY_MEETING_TEXT; }
|
|
17347
17379
|
});
|
|
17348
17380
|
Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
|
|
17349
17381
|
enumerable: true,
|
|
17350
|
-
get: function () { return
|
|
17382
|
+
get: function () { return chunkHE4AQEWB_cjs.RECORDING_CHUNK_MS; }
|
|
17351
17383
|
});
|
|
17352
17384
|
Object.defineProperty(exports, "RECORDING_SEGMENTER", {
|
|
17353
17385
|
enumerable: true,
|
|
17354
|
-
get: function () { return
|
|
17386
|
+
get: function () { return chunkHE4AQEWB_cjs.RECORDING_SEGMENTER; }
|
|
17355
17387
|
});
|
|
17356
17388
|
Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
|
|
17357
17389
|
enumerable: true,
|
|
17358
|
-
get: function () { return
|
|
17390
|
+
get: function () { return chunkHE4AQEWB_cjs.SEGMENT_FRAME_MS; }
|
|
17359
17391
|
});
|
|
17360
17392
|
Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
|
|
17361
17393
|
enumerable: true,
|
|
17362
|
-
get: function () { return
|
|
17394
|
+
get: function () { return chunkHE4AQEWB_cjs.SEGMENT_ID_PATTERN; }
|
|
17363
17395
|
});
|
|
17364
17396
|
Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
|
|
17365
17397
|
enumerable: true,
|
|
17366
|
-
get: function () { return
|
|
17398
|
+
get: function () { return chunkHE4AQEWB_cjs.SEGMENT_PRE_ROLL_MS; }
|
|
17367
17399
|
});
|
|
17368
17400
|
Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
|
|
17369
17401
|
enumerable: true,
|
|
17370
|
-
get: function () { return
|
|
17402
|
+
get: function () { return chunkHE4AQEWB_cjs.SHORT_PIECE_MERGE_GAP_MS; }
|
|
17371
17403
|
});
|
|
17372
17404
|
Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
|
|
17373
17405
|
enumerable: true,
|
|
17374
|
-
get: function () { return
|
|
17406
|
+
get: function () { return chunkHE4AQEWB_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
|
|
17375
17407
|
});
|
|
17376
17408
|
Object.defineProperty(exports, "TrackUploader", {
|
|
17377
17409
|
enumerable: true,
|
|
17378
|
-
get: function () { return
|
|
17410
|
+
get: function () { return chunkHE4AQEWB_cjs.TrackUploader; }
|
|
17379
17411
|
});
|
|
17380
17412
|
Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
|
|
17381
17413
|
enumerable: true,
|
|
17382
|
-
get: function () { return
|
|
17414
|
+
get: function () { return chunkHE4AQEWB_cjs.UPLOAD_ATTEMPTS; }
|
|
17383
17415
|
});
|
|
17384
17416
|
Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
|
|
17385
17417
|
enumerable: true,
|
|
17386
|
-
get: function () { return
|
|
17418
|
+
get: function () { return chunkHE4AQEWB_cjs.UPLOAD_BACKOFF_MS; }
|
|
17387
17419
|
});
|
|
17388
17420
|
Object.defineProperty(exports, "acceptRing", {
|
|
17389
17421
|
enumerable: true,
|
|
17390
|
-
get: function () { return
|
|
17422
|
+
get: function () { return chunkHE4AQEWB_cjs.acceptRing; }
|
|
17391
17423
|
});
|
|
17392
17424
|
Object.defineProperty(exports, "addConversationToList", {
|
|
17393
17425
|
enumerable: true,
|
|
17394
|
-
get: function () { return
|
|
17426
|
+
get: function () { return chunkHE4AQEWB_cjs.addConversationToList; }
|
|
17395
17427
|
});
|
|
17396
17428
|
Object.defineProperty(exports, "appendToThread", {
|
|
17397
17429
|
enumerable: true,
|
|
17398
|
-
get: function () { return
|
|
17430
|
+
get: function () { return chunkHE4AQEWB_cjs.appendToThread; }
|
|
17399
17431
|
});
|
|
17400
17432
|
Object.defineProperty(exports, "applyAgentDmStatus", {
|
|
17401
17433
|
enumerable: true,
|
|
17402
|
-
get: function () { return
|
|
17434
|
+
get: function () { return chunkHE4AQEWB_cjs.applyAgentDmStatus; }
|
|
17403
17435
|
});
|
|
17404
17436
|
Object.defineProperty(exports, "applyCallEvent", {
|
|
17405
17437
|
enumerable: true,
|
|
17406
|
-
get: function () { return
|
|
17438
|
+
get: function () { return chunkHE4AQEWB_cjs.applyCallEvent; }
|
|
17407
17439
|
});
|
|
17408
17440
|
Object.defineProperty(exports, "applyChatEvent", {
|
|
17409
17441
|
enumerable: true,
|
|
17410
|
-
get: function () { return
|
|
17442
|
+
get: function () { return chunkHE4AQEWB_cjs.applyChatEvent; }
|
|
17411
17443
|
});
|
|
17412
17444
|
Object.defineProperty(exports, "applyChatMessage", {
|
|
17413
17445
|
enumerable: true,
|
|
17414
|
-
get: function () { return
|
|
17446
|
+
get: function () { return chunkHE4AQEWB_cjs.applyChatMessage; }
|
|
17415
17447
|
});
|
|
17416
17448
|
Object.defineProperty(exports, "applyChatRead", {
|
|
17417
17449
|
enumerable: true,
|
|
17418
|
-
get: function () { return
|
|
17450
|
+
get: function () { return chunkHE4AQEWB_cjs.applyChatRead; }
|
|
17419
17451
|
});
|
|
17420
17452
|
Object.defineProperty(exports, "applyChatUpdated", {
|
|
17421
17453
|
enumerable: true,
|
|
17422
|
-
get: function () { return
|
|
17454
|
+
get: function () { return chunkHE4AQEWB_cjs.applyChatUpdated; }
|
|
17423
17455
|
});
|
|
17424
17456
|
Object.defineProperty(exports, "arbiAccountClient", {
|
|
17425
17457
|
enumerable: true,
|
|
17426
|
-
get: function () { return
|
|
17458
|
+
get: function () { return chunkHE4AQEWB_cjs.arbiAccountClient; }
|
|
17427
17459
|
});
|
|
17428
17460
|
Object.defineProperty(exports, "buildMeetingChatBody", {
|
|
17429
17461
|
enumerable: true,
|
|
17430
|
-
get: function () { return
|
|
17462
|
+
get: function () { return chunkHE4AQEWB_cjs.buildMeetingChatBody; }
|
|
17431
17463
|
});
|
|
17432
17464
|
Object.defineProperty(exports, "cachedChat", {
|
|
17433
17465
|
enumerable: true,
|
|
17434
|
-
get: function () { return
|
|
17466
|
+
get: function () { return chunkHE4AQEWB_cjs.cachedChat; }
|
|
17435
17467
|
});
|
|
17436
17468
|
Object.defineProperty(exports, "cachedChats", {
|
|
17437
17469
|
enumerable: true,
|
|
17438
|
-
get: function () { return
|
|
17470
|
+
get: function () { return chunkHE4AQEWB_cjs.cachedChats; }
|
|
17439
17471
|
});
|
|
17440
17472
|
Object.defineProperty(exports, "callLink", {
|
|
17441
17473
|
enumerable: true,
|
|
17442
|
-
get: function () { return
|
|
17474
|
+
get: function () { return chunkHE4AQEWB_cjs.callLink; }
|
|
17443
17475
|
});
|
|
17444
17476
|
Object.defineProperty(exports, "callMemberKeys", {
|
|
17445
17477
|
enumerable: true,
|
|
17446
|
-
get: function () { return
|
|
17478
|
+
get: function () { return chunkHE4AQEWB_cjs.callMemberKeys; }
|
|
17447
17479
|
});
|
|
17448
17480
|
Object.defineProperty(exports, "callSession", {
|
|
17449
17481
|
enumerable: true,
|
|
17450
|
-
get: function () { return
|
|
17482
|
+
get: function () { return chunkHE4AQEWB_cjs.callSession; }
|
|
17451
17483
|
});
|
|
17452
17484
|
Object.defineProperty(exports, "chatByExtId", {
|
|
17453
17485
|
enumerable: true,
|
|
17454
|
-
get: function () { return
|
|
17486
|
+
get: function () { return chunkHE4AQEWB_cjs.chatByExtId; }
|
|
17455
17487
|
});
|
|
17456
17488
|
Object.defineProperty(exports, "chatHasLiveCall", {
|
|
17457
17489
|
enumerable: true,
|
|
17458
|
-
get: function () { return
|
|
17490
|
+
get: function () { return chunkHE4AQEWB_cjs.chatHasLiveCall; }
|
|
17459
17491
|
});
|
|
17460
17492
|
Object.defineProperty(exports, "chatLiveCallId", {
|
|
17461
17493
|
enumerable: true,
|
|
17462
|
-
get: function () { return
|
|
17494
|
+
get: function () { return chunkHE4AQEWB_cjs.chatLiveCallId; }
|
|
17463
17495
|
});
|
|
17464
17496
|
Object.defineProperty(exports, "chatTranscriptRef", {
|
|
17465
17497
|
enumerable: true,
|
|
17466
|
-
get: function () { return
|
|
17498
|
+
get: function () { return chunkHE4AQEWB_cjs.chatTranscriptRef; }
|
|
17467
17499
|
});
|
|
17468
17500
|
Object.defineProperty(exports, "clearMeetingChatCache", {
|
|
17469
17501
|
enumerable: true,
|
|
17470
|
-
get: function () { return
|
|
17502
|
+
get: function () { return chunkHE4AQEWB_cjs.clearMeetingChatCache; }
|
|
17471
17503
|
});
|
|
17472
17504
|
Object.defineProperty(exports, "clearTrackUploaders", {
|
|
17473
17505
|
enumerable: true,
|
|
17474
|
-
get: function () { return
|
|
17506
|
+
get: function () { return chunkHE4AQEWB_cjs.clearTrackUploaders; }
|
|
17475
17507
|
});
|
|
17476
17508
|
Object.defineProperty(exports, "clockTime", {
|
|
17477
17509
|
enumerable: true,
|
|
17478
|
-
get: function () { return
|
|
17510
|
+
get: function () { return chunkHE4AQEWB_cjs.clockTime; }
|
|
17479
17511
|
});
|
|
17480
17512
|
Object.defineProperty(exports, "compositeFiles", {
|
|
17481
17513
|
enumerable: true,
|
|
17482
|
-
get: function () { return
|
|
17514
|
+
get: function () { return chunkHE4AQEWB_cjs.compositeFiles; }
|
|
17483
17515
|
});
|
|
17484
17516
|
Object.defineProperty(exports, "compositeTrack", {
|
|
17485
17517
|
enumerable: true,
|
|
17486
|
-
get: function () { return
|
|
17518
|
+
get: function () { return chunkHE4AQEWB_cjs.compositeTrack; }
|
|
17487
17519
|
});
|
|
17488
17520
|
Object.defineProperty(exports, "conversationKeyForCall", {
|
|
17489
17521
|
enumerable: true,
|
|
17490
|
-
get: function () { return
|
|
17522
|
+
get: function () { return chunkHE4AQEWB_cjs.conversationKeyForCall; }
|
|
17491
17523
|
});
|
|
17492
17524
|
Object.defineProperty(exports, "createLocalFeatureStore", {
|
|
17493
17525
|
enumerable: true,
|
|
17494
|
-
get: function () { return
|
|
17526
|
+
get: function () { return chunkHE4AQEWB_cjs.createLocalFeatureStore; }
|
|
17495
17527
|
});
|
|
17496
17528
|
Object.defineProperty(exports, "createMutedNotifier", {
|
|
17497
17529
|
enumerable: true,
|
|
17498
|
-
get: function () { return
|
|
17530
|
+
get: function () { return chunkHE4AQEWB_cjs.createMutedNotifier; }
|
|
17499
17531
|
});
|
|
17500
17532
|
Object.defineProperty(exports, "createTrackCutter", {
|
|
17501
17533
|
enumerable: true,
|
|
17502
|
-
get: function () { return
|
|
17534
|
+
get: function () { return chunkHE4AQEWB_cjs.createTrackCutter; }
|
|
17503
17535
|
});
|
|
17504
17536
|
Object.defineProperty(exports, "cutAtPauses", {
|
|
17505
17537
|
enumerable: true,
|
|
17506
|
-
get: function () { return
|
|
17538
|
+
get: function () { return chunkHE4AQEWB_cjs.cutAtPauses; }
|
|
17507
17539
|
});
|
|
17508
17540
|
Object.defineProperty(exports, "declineRing", {
|
|
17509
17541
|
enumerable: true,
|
|
17510
|
-
get: function () { return
|
|
17542
|
+
get: function () { return chunkHE4AQEWB_cjs.declineRing; }
|
|
17511
17543
|
});
|
|
17512
17544
|
Object.defineProperty(exports, "decodeCallChatPacket", {
|
|
17513
17545
|
enumerable: true,
|
|
17514
|
-
get: function () { return
|
|
17546
|
+
get: function () { return chunkHE4AQEWB_cjs.decodeCallChatPacket; }
|
|
17515
17547
|
});
|
|
17516
17548
|
Object.defineProperty(exports, "decodeCaptionPacket", {
|
|
17517
17549
|
enumerable: true,
|
|
17518
|
-
get: function () { return
|
|
17550
|
+
get: function () { return chunkHE4AQEWB_cjs.decodeCaptionPacket; }
|
|
17519
17551
|
});
|
|
17520
17552
|
Object.defineProperty(exports, "decodeMono16k", {
|
|
17521
17553
|
enumerable: true,
|
|
17522
|
-
get: function () { return
|
|
17554
|
+
get: function () { return chunkHE4AQEWB_cjs.decodeMono16k; }
|
|
17523
17555
|
});
|
|
17524
17556
|
Object.defineProperty(exports, "decryptPart", {
|
|
17525
17557
|
enumerable: true,
|
|
17526
|
-
get: function () { return
|
|
17558
|
+
get: function () { return chunkHE4AQEWB_cjs.decryptPart; }
|
|
17527
17559
|
});
|
|
17528
17560
|
Object.defineProperty(exports, "encodeCallChatPacket", {
|
|
17529
17561
|
enumerable: true,
|
|
17530
|
-
get: function () { return
|
|
17562
|
+
get: function () { return chunkHE4AQEWB_cjs.encodeCallChatPacket; }
|
|
17531
17563
|
});
|
|
17532
17564
|
Object.defineProperty(exports, "encodeCaptionPacket", {
|
|
17533
17565
|
enumerable: true,
|
|
17534
|
-
get: function () { return
|
|
17566
|
+
get: function () { return chunkHE4AQEWB_cjs.encodeCaptionPacket; }
|
|
17535
17567
|
});
|
|
17536
17568
|
Object.defineProperty(exports, "encodeWav", {
|
|
17537
17569
|
enumerable: true,
|
|
17538
|
-
get: function () { return
|
|
17570
|
+
get: function () { return chunkHE4AQEWB_cjs.encodeWav; }
|
|
17539
17571
|
});
|
|
17540
17572
|
Object.defineProperty(exports, "encryptPart", {
|
|
17541
17573
|
enumerable: true,
|
|
17542
|
-
get: function () { return
|
|
17574
|
+
get: function () { return chunkHE4AQEWB_cjs.encryptPart; }
|
|
17543
17575
|
});
|
|
17544
17576
|
Object.defineProperty(exports, "ensureMeetingChat", {
|
|
17545
17577
|
enumerable: true,
|
|
17546
|
-
get: function () { return
|
|
17578
|
+
get: function () { return chunkHE4AQEWB_cjs.ensureMeetingChat; }
|
|
17547
17579
|
});
|
|
17548
17580
|
Object.defineProperty(exports, "entitlementRefusal", {
|
|
17549
17581
|
enumerable: true,
|
|
17550
|
-
get: function () { return
|
|
17582
|
+
get: function () { return chunkHE4AQEWB_cjs.entitlementRefusal; }
|
|
17551
17583
|
});
|
|
17552
17584
|
Object.defineProperty(exports, "extensionFor", {
|
|
17553
17585
|
enumerable: true,
|
|
17554
|
-
get: function () { return
|
|
17586
|
+
get: function () { return chunkHE4AQEWB_cjs.extensionFor; }
|
|
17555
17587
|
});
|
|
17556
17588
|
Object.defineProperty(exports, "fetchPart", {
|
|
17557
17589
|
enumerable: true,
|
|
17558
|
-
get: function () { return
|
|
17590
|
+
get: function () { return chunkHE4AQEWB_cjs.fetchPart; }
|
|
17559
17591
|
});
|
|
17560
17592
|
Object.defineProperty(exports, "fileSafe", {
|
|
17561
17593
|
enumerable: true,
|
|
17562
|
-
get: function () { return
|
|
17594
|
+
get: function () { return chunkHE4AQEWB_cjs.fileSafe; }
|
|
17563
17595
|
});
|
|
17564
17596
|
Object.defineProperty(exports, "findConversation", {
|
|
17565
17597
|
enumerable: true,
|
|
17566
|
-
get: function () { return
|
|
17598
|
+
get: function () { return chunkHE4AQEWB_cjs.findConversation; }
|
|
17567
17599
|
});
|
|
17568
17600
|
Object.defineProperty(exports, "floatToWav", {
|
|
17569
17601
|
enumerable: true,
|
|
17570
|
-
get: function () { return
|
|
17602
|
+
get: function () { return chunkHE4AQEWB_cjs.floatToWav; }
|
|
17571
17603
|
});
|
|
17572
17604
|
Object.defineProperty(exports, "formatTranscriptMarkdown", {
|
|
17573
17605
|
enumerable: true,
|
|
17574
|
-
get: function () { return
|
|
17606
|
+
get: function () { return chunkHE4AQEWB_cjs.formatTranscriptMarkdown; }
|
|
17575
17607
|
});
|
|
17576
17608
|
Object.defineProperty(exports, "getOpenChat", {
|
|
17577
17609
|
enumerable: true,
|
|
17578
|
-
get: function () { return
|
|
17610
|
+
get: function () { return chunkHE4AQEWB_cjs.getOpenChat; }
|
|
17579
17611
|
});
|
|
17580
17612
|
Object.defineProperty(exports, "hasRecordingTranscript", {
|
|
17581
17613
|
enumerable: true,
|
|
17582
|
-
get: function () { return
|
|
17614
|
+
get: function () { return chunkHE4AQEWB_cjs.hasRecordingTranscript; }
|
|
17583
17615
|
});
|
|
17584
17616
|
Object.defineProperty(exports, "invalidateCall", {
|
|
17585
17617
|
enumerable: true,
|
|
17586
|
-
get: function () { return
|
|
17618
|
+
get: function () { return chunkHE4AQEWB_cjs.invalidateCall; }
|
|
17587
17619
|
});
|
|
17588
17620
|
Object.defineProperty(exports, "invalidateConversationDetails", {
|
|
17589
17621
|
enumerable: true,
|
|
17590
|
-
get: function () { return
|
|
17622
|
+
get: function () { return chunkHE4AQEWB_cjs.invalidateConversationDetails; }
|
|
17591
17623
|
});
|
|
17592
17624
|
Object.defineProperty(exports, "invalidateConversationLists", {
|
|
17593
17625
|
enumerable: true,
|
|
17594
|
-
get: function () { return
|
|
17626
|
+
get: function () { return chunkHE4AQEWB_cjs.invalidateConversationLists; }
|
|
17595
17627
|
});
|
|
17596
17628
|
Object.defineProperty(exports, "isConversationListKey", {
|
|
17597
17629
|
enumerable: true,
|
|
17598
|
-
get: function () { return
|
|
17630
|
+
get: function () { return chunkHE4AQEWB_cjs.isConversationListKey; }
|
|
17599
17631
|
});
|
|
17600
17632
|
Object.defineProperty(exports, "isConversationShared", {
|
|
17601
17633
|
enumerable: true,
|
|
17602
|
-
get: function () { return
|
|
17634
|
+
get: function () { return chunkHE4AQEWB_cjs.isConversationShared; }
|
|
17603
17635
|
});
|
|
17604
17636
|
Object.defineProperty(exports, "isRecordingOver", {
|
|
17605
17637
|
enumerable: true,
|
|
17606
|
-
get: function () { return
|
|
17638
|
+
get: function () { return chunkHE4AQEWB_cjs.isRecordingOver; }
|
|
17607
17639
|
});
|
|
17608
17640
|
Object.defineProperty(exports, "isRecordingSegmentId", {
|
|
17609
17641
|
enumerable: true,
|
|
17610
|
-
get: function () { return
|
|
17642
|
+
get: function () { return chunkHE4AQEWB_cjs.isRecordingSegmentId; }
|
|
17611
17643
|
});
|
|
17612
17644
|
Object.defineProperty(exports, "isRetryable", {
|
|
17613
17645
|
enumerable: true,
|
|
17614
|
-
get: function () { return
|
|
17646
|
+
get: function () { return chunkHE4AQEWB_cjs.isRetryable; }
|
|
17615
17647
|
});
|
|
17616
17648
|
Object.defineProperty(exports, "isWorkspaceGuestOf", {
|
|
17617
17649
|
enumerable: true,
|
|
17618
|
-
get: function () { return
|
|
17650
|
+
get: function () { return chunkHE4AQEWB_cjs.isWorkspaceGuestOf; }
|
|
17619
17651
|
});
|
|
17620
17652
|
Object.defineProperty(exports, "joinFromPreJoin", {
|
|
17621
17653
|
enumerable: true,
|
|
17622
|
-
get: function () { return
|
|
17654
|
+
get: function () { return chunkHE4AQEWB_cjs.joinFromPreJoin; }
|
|
17623
17655
|
});
|
|
17624
17656
|
Object.defineProperty(exports, "knownMeetingChat", {
|
|
17625
17657
|
enumerable: true,
|
|
17626
|
-
get: function () { return
|
|
17658
|
+
get: function () { return chunkHE4AQEWB_cjs.knownMeetingChat; }
|
|
17627
17659
|
});
|
|
17628
17660
|
Object.defineProperty(exports, "loadMeetingHistory", {
|
|
17629
17661
|
enumerable: true,
|
|
17630
|
-
get: function () { return
|
|
17662
|
+
get: function () { return chunkHE4AQEWB_cjs.loadMeetingHistory; }
|
|
17631
17663
|
});
|
|
17632
17664
|
Object.defineProperty(exports, "markRejoining", {
|
|
17633
17665
|
enumerable: true,
|
|
17634
|
-
get: function () { return
|
|
17666
|
+
get: function () { return chunkHE4AQEWB_cjs.markRejoining; }
|
|
17635
17667
|
});
|
|
17636
17668
|
Object.defineProperty(exports, "meetingChatRefFrom", {
|
|
17637
17669
|
enumerable: true,
|
|
17638
|
-
get: function () { return
|
|
17670
|
+
get: function () { return chunkHE4AQEWB_cjs.meetingChatRefFrom; }
|
|
17639
17671
|
});
|
|
17640
17672
|
Object.defineProperty(exports, "meetingRefForCall", {
|
|
17641
17673
|
enumerable: true,
|
|
17642
|
-
get: function () { return
|
|
17674
|
+
get: function () { return chunkHE4AQEWB_cjs.meetingRefForCall; }
|
|
17643
17675
|
});
|
|
17644
17676
|
Object.defineProperty(exports, "mergeChatLines", {
|
|
17645
17677
|
enumerable: true,
|
|
17646
|
-
get: function () { return
|
|
17678
|
+
get: function () { return chunkHE4AQEWB_cjs.mergeChatLines; }
|
|
17647
17679
|
});
|
|
17648
17680
|
Object.defineProperty(exports, "mutedNoticeFromEvent", {
|
|
17649
17681
|
enumerable: true,
|
|
17650
|
-
get: function () { return
|
|
17682
|
+
get: function () { return chunkHE4AQEWB_cjs.mutedNoticeFromEvent; }
|
|
17651
17683
|
});
|
|
17652
17684
|
Object.defineProperty(exports, "mutedNoticeFromPacket", {
|
|
17653
17685
|
enumerable: true,
|
|
17654
|
-
get: function () { return
|
|
17686
|
+
get: function () { return chunkHE4AQEWB_cjs.mutedNoticeFromPacket; }
|
|
17655
17687
|
});
|
|
17656
17688
|
Object.defineProperty(exports, "mutedNoticeText", {
|
|
17657
17689
|
enumerable: true,
|
|
17658
|
-
get: function () { return
|
|
17690
|
+
get: function () { return chunkHE4AQEWB_cjs.mutedNoticeText; }
|
|
17659
17691
|
});
|
|
17660
17692
|
Object.defineProperty(exports, "myChatId", {
|
|
17661
17693
|
enumerable: true,
|
|
17662
|
-
get: function () { return
|
|
17694
|
+
get: function () { return chunkHE4AQEWB_cjs.myChatId; }
|
|
17663
17695
|
});
|
|
17664
17696
|
Object.defineProperty(exports, "newPacketId", {
|
|
17665
17697
|
enumerable: true,
|
|
17666
|
-
get: function () { return
|
|
17698
|
+
get: function () { return chunkHE4AQEWB_cjs.newPacketId; }
|
|
17667
17699
|
});
|
|
17668
17700
|
Object.defineProperty(exports, "newSegmentId", {
|
|
17669
17701
|
enumerable: true,
|
|
17670
|
-
get: function () { return
|
|
17702
|
+
get: function () { return chunkHE4AQEWB_cjs.newSegmentId; }
|
|
17671
17703
|
});
|
|
17672
17704
|
Object.defineProperty(exports, "newTrackKey", {
|
|
17673
17705
|
enumerable: true,
|
|
17674
|
-
get: function () { return
|
|
17706
|
+
get: function () { return chunkHE4AQEWB_cjs.newTrackKey; }
|
|
17675
17707
|
});
|
|
17676
17708
|
Object.defineProperty(exports, "nextSeqAfter", {
|
|
17677
17709
|
enumerable: true,
|
|
17678
|
-
get: function () { return
|
|
17710
|
+
get: function () { return chunkHE4AQEWB_cjs.nextSeqAfter; }
|
|
17679
17711
|
});
|
|
17680
17712
|
Object.defineProperty(exports, "onCallEvent", {
|
|
17681
17713
|
enumerable: true,
|
|
17682
|
-
get: function () { return
|
|
17714
|
+
get: function () { return chunkHE4AQEWB_cjs.onCallEvent; }
|
|
17683
17715
|
});
|
|
17684
17716
|
Object.defineProperty(exports, "openCall", {
|
|
17685
17717
|
enumerable: true,
|
|
17686
|
-
get: function () { return
|
|
17718
|
+
get: function () { return chunkHE4AQEWB_cjs.openCall; }
|
|
17687
17719
|
});
|
|
17688
17720
|
Object.defineProperty(exports, "openQuestion", {
|
|
17689
17721
|
enumerable: true,
|
|
17690
|
-
get: function () { return
|
|
17722
|
+
get: function () { return chunkHE4AQEWB_cjs.openQuestion; }
|
|
17691
17723
|
});
|
|
17692
17724
|
Object.defineProperty(exports, "openRecording", {
|
|
17693
17725
|
enumerable: true,
|
|
17694
|
-
get: function () { return
|
|
17726
|
+
get: function () { return chunkHE4AQEWB_cjs.openRecording; }
|
|
17695
17727
|
});
|
|
17696
17728
|
Object.defineProperty(exports, "parseWebinarPacket", {
|
|
17697
17729
|
enumerable: true,
|
|
17698
|
-
get: function () { return
|
|
17730
|
+
get: function () { return chunkHE4AQEWB_cjs.parseWebinarPacket; }
|
|
17699
17731
|
});
|
|
17700
17732
|
Object.defineProperty(exports, "partKey", {
|
|
17701
17733
|
enumerable: true,
|
|
17702
|
-
get: function () { return
|
|
17734
|
+
get: function () { return chunkHE4AQEWB_cjs.partKey; }
|
|
17703
17735
|
});
|
|
17704
17736
|
Object.defineProperty(exports, "partOffsetMs", {
|
|
17705
17737
|
enumerable: true,
|
|
17706
|
-
get: function () { return
|
|
17738
|
+
get: function () { return chunkHE4AQEWB_cjs.partOffsetMs; }
|
|
17707
17739
|
});
|
|
17708
17740
|
Object.defineProperty(exports, "partsDue", {
|
|
17709
17741
|
enumerable: true,
|
|
17710
|
-
get: function () { return
|
|
17742
|
+
get: function () { return chunkHE4AQEWB_cjs.partsDue; }
|
|
17711
17743
|
});
|
|
17712
17744
|
Object.defineProperty(exports, "patchConversation", {
|
|
17713
17745
|
enumerable: true,
|
|
17714
|
-
get: function () { return
|
|
17746
|
+
get: function () { return chunkHE4AQEWB_cjs.patchConversation; }
|
|
17715
17747
|
});
|
|
17716
17748
|
Object.defineProperty(exports, "patchConversationList", {
|
|
17717
17749
|
enumerable: true,
|
|
17718
|
-
get: function () { return
|
|
17750
|
+
get: function () { return chunkHE4AQEWB_cjs.patchConversationList; }
|
|
17719
17751
|
});
|
|
17720
17752
|
Object.defineProperty(exports, "persistMeetingMessage", {
|
|
17721
17753
|
enumerable: true,
|
|
17722
|
-
get: function () { return
|
|
17754
|
+
get: function () { return chunkHE4AQEWB_cjs.persistMeetingMessage; }
|
|
17723
17755
|
});
|
|
17724
17756
|
Object.defineProperty(exports, "persistTranscriptSegment", {
|
|
17725
17757
|
enumerable: true,
|
|
17726
|
-
get: function () { return
|
|
17758
|
+
get: function () { return chunkHE4AQEWB_cjs.persistTranscriptSegment; }
|
|
17727
17759
|
});
|
|
17728
17760
|
Object.defineProperty(exports, "playheadAt", {
|
|
17729
17761
|
enumerable: true,
|
|
17730
|
-
get: function () { return
|
|
17762
|
+
get: function () { return chunkHE4AQEWB_cjs.playheadAt; }
|
|
17731
17763
|
});
|
|
17732
17764
|
Object.defineProperty(exports, "postRecordingDocsToThread", {
|
|
17733
17765
|
enumerable: true,
|
|
17734
|
-
get: function () { return
|
|
17766
|
+
get: function () { return chunkHE4AQEWB_cjs.postRecordingDocsToThread; }
|
|
17735
17767
|
});
|
|
17736
17768
|
Object.defineProperty(exports, "postTranscriptToThread", {
|
|
17737
17769
|
enumerable: true,
|
|
17738
|
-
get: function () { return
|
|
17770
|
+
get: function () { return chunkHE4AQEWB_cjs.postTranscriptToThread; }
|
|
17739
17771
|
});
|
|
17740
17772
|
Object.defineProperty(exports, "readLocalFeature", {
|
|
17741
17773
|
enumerable: true,
|
|
17742
|
-
get: function () { return
|
|
17774
|
+
get: function () { return chunkHE4AQEWB_cjs.readLocalFeature; }
|
|
17743
17775
|
});
|
|
17744
17776
|
Object.defineProperty(exports, "recordingFiles", {
|
|
17745
17777
|
enumerable: true,
|
|
17746
|
-
get: function () { return
|
|
17778
|
+
get: function () { return chunkHE4AQEWB_cjs.recordingFiles; }
|
|
17747
17779
|
});
|
|
17748
17780
|
Object.defineProperty(exports, "recordingWindowsOf", {
|
|
17749
17781
|
enumerable: true,
|
|
17750
|
-
get: function () { return
|
|
17782
|
+
get: function () { return chunkHE4AQEWB_cjs.recordingWindowsOf; }
|
|
17751
17783
|
});
|
|
17752
17784
|
Object.defineProperty(exports, "rejoinAsAudience", {
|
|
17753
17785
|
enumerable: true,
|
|
17754
|
-
get: function () { return
|
|
17786
|
+
get: function () { return chunkHE4AQEWB_cjs.rejoinAsAudience; }
|
|
17755
17787
|
});
|
|
17756
17788
|
Object.defineProperty(exports, "removeChat", {
|
|
17757
17789
|
enumerable: true,
|
|
17758
|
-
get: function () { return
|
|
17790
|
+
get: function () { return chunkHE4AQEWB_cjs.removeChat; }
|
|
17759
17791
|
});
|
|
17760
17792
|
Object.defineProperty(exports, "removeConversationFromLists", {
|
|
17761
17793
|
enumerable: true,
|
|
17762
|
-
get: function () { return
|
|
17794
|
+
get: function () { return chunkHE4AQEWB_cjs.removeConversationFromLists; }
|
|
17763
17795
|
});
|
|
17764
17796
|
Object.defineProperty(exports, "resetCallSession", {
|
|
17765
17797
|
enumerable: true,
|
|
17766
|
-
get: function () { return
|
|
17798
|
+
get: function () { return chunkHE4AQEWB_cjs.resetCallSession; }
|
|
17767
17799
|
});
|
|
17768
17800
|
Object.defineProperty(exports, "resolveMeetingChat", {
|
|
17769
17801
|
enumerable: true,
|
|
17770
|
-
get: function () { return
|
|
17802
|
+
get: function () { return chunkHE4AQEWB_cjs.resolveMeetingChat; }
|
|
17771
17803
|
});
|
|
17772
17804
|
Object.defineProperty(exports, "saveRecordingFilesToThread", {
|
|
17773
17805
|
enumerable: true,
|
|
17774
|
-
get: function () { return
|
|
17806
|
+
get: function () { return chunkHE4AQEWB_cjs.saveRecordingFilesToThread; }
|
|
17775
17807
|
});
|
|
17776
17808
|
Object.defineProperty(exports, "schedulePart", {
|
|
17777
17809
|
enumerable: true,
|
|
17778
|
-
get: function () { return
|
|
17810
|
+
get: function () { return chunkHE4AQEWB_cjs.schedulePart; }
|
|
17779
17811
|
});
|
|
17780
17812
|
Object.defineProperty(exports, "sealQuestionText", {
|
|
17781
17813
|
enumerable: true,
|
|
17782
|
-
get: function () { return
|
|
17814
|
+
get: function () { return chunkHE4AQEWB_cjs.sealQuestionText; }
|
|
17783
17815
|
});
|
|
17784
17816
|
Object.defineProperty(exports, "serverCallsExperimental", {
|
|
17785
17817
|
enumerable: true,
|
|
17786
|
-
get: function () { return
|
|
17818
|
+
get: function () { return chunkHE4AQEWB_cjs.serverCallsExperimental; }
|
|
17787
17819
|
});
|
|
17788
17820
|
Object.defineProperty(exports, "setOpenChat", {
|
|
17789
17821
|
enumerable: true,
|
|
17790
|
-
get: function () { return
|
|
17822
|
+
get: function () { return chunkHE4AQEWB_cjs.setOpenChat; }
|
|
17791
17823
|
});
|
|
17792
17824
|
Object.defineProperty(exports, "sortTranscriptMessages", {
|
|
17793
17825
|
enumerable: true,
|
|
17794
|
-
get: function () { return
|
|
17826
|
+
get: function () { return chunkHE4AQEWB_cjs.sortTranscriptMessages; }
|
|
17795
17827
|
});
|
|
17796
17828
|
Object.defineProperty(exports, "sortedParts", {
|
|
17797
17829
|
enumerable: true,
|
|
17798
|
-
get: function () { return
|
|
17830
|
+
get: function () { return chunkHE4AQEWB_cjs.sortedParts; }
|
|
17799
17831
|
});
|
|
17800
17832
|
Object.defineProperty(exports, "speakerTracks", {
|
|
17801
17833
|
enumerable: true,
|
|
17802
|
-
get: function () { return
|
|
17834
|
+
get: function () { return chunkHE4AQEWB_cjs.speakerTracks; }
|
|
17803
17835
|
});
|
|
17804
17836
|
Object.defineProperty(exports, "speakerWav", {
|
|
17805
17837
|
enumerable: true,
|
|
17806
|
-
get: function () { return
|
|
17838
|
+
get: function () { return chunkHE4AQEWB_cjs.speakerWav; }
|
|
17807
17839
|
});
|
|
17808
17840
|
Object.defineProperty(exports, "splitIntoFiles", {
|
|
17809
17841
|
enumerable: true,
|
|
17810
|
-
get: function () { return
|
|
17842
|
+
get: function () { return chunkHE4AQEWB_cjs.splitIntoFiles; }
|
|
17811
17843
|
});
|
|
17812
17844
|
Object.defineProperty(exports, "standalone", {
|
|
17813
17845
|
enumerable: true,
|
|
17814
|
-
get: function () { return
|
|
17846
|
+
get: function () { return chunkHE4AQEWB_cjs.standalone; }
|
|
17815
17847
|
});
|
|
17816
17848
|
Object.defineProperty(exports, "startChatCall", {
|
|
17817
17849
|
enumerable: true,
|
|
17818
|
-
get: function () { return
|
|
17850
|
+
get: function () { return chunkHE4AQEWB_cjs.startChatCall; }
|
|
17819
17851
|
});
|
|
17820
17852
|
Object.defineProperty(exports, "startContactsCall", {
|
|
17821
17853
|
enumerable: true,
|
|
17822
|
-
get: function () { return
|
|
17854
|
+
get: function () { return chunkHE4AQEWB_cjs.startContactsCall; }
|
|
17823
17855
|
});
|
|
17824
17856
|
Object.defineProperty(exports, "startDmCall", {
|
|
17825
17857
|
enumerable: true,
|
|
17826
|
-
get: function () { return
|
|
17858
|
+
get: function () { return chunkHE4AQEWB_cjs.startDmCall; }
|
|
17827
17859
|
});
|
|
17828
17860
|
Object.defineProperty(exports, "startThreadCall", {
|
|
17829
17861
|
enumerable: true,
|
|
17830
|
-
get: function () { return
|
|
17862
|
+
get: function () { return chunkHE4AQEWB_cjs.startThreadCall; }
|
|
17831
17863
|
});
|
|
17832
17864
|
Object.defineProperty(exports, "startsMediaFile", {
|
|
17833
17865
|
enumerable: true,
|
|
17834
|
-
get: function () { return
|
|
17866
|
+
get: function () { return chunkHE4AQEWB_cjs.startsMediaFile; }
|
|
17835
17867
|
});
|
|
17836
17868
|
Object.defineProperty(exports, "storeTranscriptSegment", {
|
|
17837
17869
|
enumerable: true,
|
|
17838
|
-
get: function () { return
|
|
17870
|
+
get: function () { return chunkHE4AQEWB_cjs.storeTranscriptSegment; }
|
|
17839
17871
|
});
|
|
17840
17872
|
Object.defineProperty(exports, "stripSpeakerPrefix", {
|
|
17841
17873
|
enumerable: true,
|
|
17842
|
-
get: function () { return
|
|
17874
|
+
get: function () { return chunkHE4AQEWB_cjs.stripSpeakerPrefix; }
|
|
17843
17875
|
});
|
|
17844
17876
|
Object.defineProperty(exports, "supersedeLiveTranscript", {
|
|
17845
17877
|
enumerable: true,
|
|
17846
|
-
get: function () { return
|
|
17878
|
+
get: function () { return chunkHE4AQEWB_cjs.supersedeLiveTranscript; }
|
|
17847
17879
|
});
|
|
17848
17880
|
Object.defineProperty(exports, "supersededTranscriptLines", {
|
|
17849
17881
|
enumerable: true,
|
|
17850
|
-
get: function () { return
|
|
17882
|
+
get: function () { return chunkHE4AQEWB_cjs.supersededTranscriptLines; }
|
|
17851
17883
|
});
|
|
17852
17884
|
Object.defineProperty(exports, "threadHasLiveCall", {
|
|
17853
17885
|
enumerable: true,
|
|
17854
|
-
get: function () { return
|
|
17886
|
+
get: function () { return chunkHE4AQEWB_cjs.threadHasLiveCall; }
|
|
17855
17887
|
});
|
|
17856
17888
|
Object.defineProperty(exports, "threadLiveCallId", {
|
|
17857
17889
|
enumerable: true,
|
|
17858
|
-
get: function () { return
|
|
17890
|
+
get: function () { return chunkHE4AQEWB_cjs.threadLiveCallId; }
|
|
17859
17891
|
});
|
|
17860
17892
|
Object.defineProperty(exports, "threadTranscriptLines", {
|
|
17861
17893
|
enumerable: true,
|
|
17862
|
-
get: function () { return
|
|
17894
|
+
get: function () { return chunkHE4AQEWB_cjs.threadTranscriptLines; }
|
|
17863
17895
|
});
|
|
17864
17896
|
Object.defineProperty(exports, "threadTranscriptRef", {
|
|
17865
17897
|
enumerable: true,
|
|
17866
|
-
get: function () { return
|
|
17898
|
+
get: function () { return chunkHE4AQEWB_cjs.threadTranscriptRef; }
|
|
17867
17899
|
});
|
|
17868
17900
|
Object.defineProperty(exports, "threadTranscriptText", {
|
|
17869
17901
|
enumerable: true,
|
|
17870
|
-
get: function () { return
|
|
17902
|
+
get: function () { return chunkHE4AQEWB_cjs.threadTranscriptText; }
|
|
17871
17903
|
});
|
|
17872
17904
|
Object.defineProperty(exports, "timelineDurationMs", {
|
|
17873
17905
|
enumerable: true,
|
|
17874
|
-
get: function () { return
|
|
17906
|
+
get: function () { return chunkHE4AQEWB_cjs.timelineDurationMs; }
|
|
17875
17907
|
});
|
|
17876
17908
|
Object.defineProperty(exports, "timelineOf", {
|
|
17877
17909
|
enumerable: true,
|
|
17878
|
-
get: function () { return
|
|
17910
|
+
get: function () { return chunkHE4AQEWB_cjs.timelineOf; }
|
|
17879
17911
|
});
|
|
17880
17912
|
Object.defineProperty(exports, "toProfileView", {
|
|
17881
17913
|
enumerable: true,
|
|
17882
|
-
get: function () { return
|
|
17914
|
+
get: function () { return chunkHE4AQEWB_cjs.toProfileView; }
|
|
17883
17915
|
});
|
|
17884
17916
|
Object.defineProperty(exports, "trackUploaderFor", {
|
|
17885
17917
|
enumerable: true,
|
|
17886
|
-
get: function () { return
|
|
17918
|
+
get: function () { return chunkHE4AQEWB_cjs.trackUploaderFor; }
|
|
17887
17919
|
});
|
|
17888
17920
|
Object.defineProperty(exports, "transcribeRecording", {
|
|
17889
17921
|
enumerable: true,
|
|
17890
|
-
get: function () { return
|
|
17922
|
+
get: function () { return chunkHE4AQEWB_cjs.transcribeRecording; }
|
|
17891
17923
|
});
|
|
17892
17924
|
Object.defineProperty(exports, "transcriptPersistRole", {
|
|
17893
17925
|
enumerable: true,
|
|
17894
|
-
get: function () { return
|
|
17926
|
+
get: function () { return chunkHE4AQEWB_cjs.transcriptPersistRole; }
|
|
17895
17927
|
});
|
|
17896
17928
|
Object.defineProperty(exports, "transcriptSegmentOf", {
|
|
17897
17929
|
enumerable: true,
|
|
17898
|
-
get: function () { return
|
|
17930
|
+
get: function () { return chunkHE4AQEWB_cjs.transcriptSegmentOf; }
|
|
17899
17931
|
});
|
|
17900
17932
|
Object.defineProperty(exports, "unwrapTrackKey", {
|
|
17901
17933
|
enumerable: true,
|
|
17902
|
-
get: function () { return
|
|
17934
|
+
get: function () { return chunkHE4AQEWB_cjs.unwrapTrackKey; }
|
|
17903
17935
|
});
|
|
17904
17936
|
Object.defineProperty(exports, "upsertChat", {
|
|
17905
17937
|
enumerable: true,
|
|
17906
|
-
get: function () { return
|
|
17938
|
+
get: function () { return chunkHE4AQEWB_cjs.upsertChat; }
|
|
17907
17939
|
});
|
|
17908
17940
|
Object.defineProperty(exports, "useAccountClient", {
|
|
17909
17941
|
enumerable: true,
|
|
17910
|
-
get: function () { return
|
|
17942
|
+
get: function () { return chunkHE4AQEWB_cjs.useAccountClient; }
|
|
17911
17943
|
});
|
|
17912
17944
|
Object.defineProperty(exports, "useAvatarCrop", {
|
|
17913
17945
|
enumerable: true,
|
|
17914
|
-
get: function () { return
|
|
17946
|
+
get: function () { return chunkHE4AQEWB_cjs.useAvatarCrop; }
|
|
17915
17947
|
});
|
|
17916
17948
|
Object.defineProperty(exports, "useCall", {
|
|
17917
17949
|
enumerable: true,
|
|
17918
|
-
get: function () { return
|
|
17950
|
+
get: function () { return chunkHE4AQEWB_cjs.useCall; }
|
|
17919
17951
|
});
|
|
17920
17952
|
Object.defineProperty(exports, "useCallInviteLinks", {
|
|
17921
17953
|
enumerable: true,
|
|
17922
|
-
get: function () { return
|
|
17954
|
+
get: function () { return chunkHE4AQEWB_cjs.useCallInviteLinks; }
|
|
17923
17955
|
});
|
|
17924
17956
|
Object.defineProperty(exports, "useCallRecording", {
|
|
17925
17957
|
enumerable: true,
|
|
17926
|
-
get: function () { return
|
|
17958
|
+
get: function () { return chunkHE4AQEWB_cjs.useCallRecording; }
|
|
17927
17959
|
});
|
|
17928
17960
|
Object.defineProperty(exports, "useCallRecordings", {
|
|
17929
17961
|
enumerable: true,
|
|
17930
|
-
get: function () { return
|
|
17962
|
+
get: function () { return chunkHE4AQEWB_cjs.useCallRecordings; }
|
|
17931
17963
|
});
|
|
17932
17964
|
Object.defineProperty(exports, "useCallSession", {
|
|
17933
17965
|
enumerable: true,
|
|
17934
|
-
get: function () { return
|
|
17966
|
+
get: function () { return chunkHE4AQEWB_cjs.useCallSession; }
|
|
17935
17967
|
});
|
|
17936
17968
|
Object.defineProperty(exports, "useCallTranscriptionAvailable", {
|
|
17937
17969
|
enumerable: true,
|
|
17938
|
-
get: function () { return
|
|
17970
|
+
get: function () { return chunkHE4AQEWB_cjs.useCallTranscriptionAvailable; }
|
|
17939
17971
|
});
|
|
17940
17972
|
Object.defineProperty(exports, "useCallsConfig", {
|
|
17941
17973
|
enumerable: true,
|
|
17942
|
-
get: function () { return
|
|
17974
|
+
get: function () { return chunkHE4AQEWB_cjs.useCallsConfig; }
|
|
17943
17975
|
});
|
|
17944
17976
|
Object.defineProperty(exports, "useCallsEnabled", {
|
|
17945
17977
|
enumerable: true,
|
|
17946
|
-
get: function () { return
|
|
17978
|
+
get: function () { return chunkHE4AQEWB_cjs.useCallsEnabled; }
|
|
17947
17979
|
});
|
|
17948
17980
|
Object.defineProperty(exports, "useCanHostCalls", {
|
|
17949
17981
|
enumerable: true,
|
|
17950
|
-
get: function () { return
|
|
17982
|
+
get: function () { return chunkHE4AQEWB_cjs.useCanHostCalls; }
|
|
17951
17983
|
});
|
|
17952
17984
|
Object.defineProperty(exports, "useEntitlements", {
|
|
17953
17985
|
enumerable: true,
|
|
17954
|
-
get: function () { return
|
|
17986
|
+
get: function () { return chunkHE4AQEWB_cjs.useEntitlements; }
|
|
17955
17987
|
});
|
|
17956
17988
|
Object.defineProperty(exports, "useFeature", {
|
|
17957
17989
|
enumerable: true,
|
|
17958
|
-
get: function () { return
|
|
17990
|
+
get: function () { return chunkHE4AQEWB_cjs.useFeature; }
|
|
17959
17991
|
});
|
|
17960
17992
|
Object.defineProperty(exports, "useFeatureCheck", {
|
|
17961
17993
|
enumerable: true,
|
|
17962
|
-
get: function () { return
|
|
17994
|
+
get: function () { return chunkHE4AQEWB_cjs.useFeatureCheck; }
|
|
17963
17995
|
});
|
|
17964
17996
|
Object.defineProperty(exports, "useFeatureSwitch", {
|
|
17965
17997
|
enumerable: true,
|
|
17966
|
-
get: function () { return
|
|
17998
|
+
get: function () { return chunkHE4AQEWB_cjs.useFeatureSwitch; }
|
|
17967
17999
|
});
|
|
17968
18000
|
Object.defineProperty(exports, "useInvalidateEntitlements", {
|
|
17969
18001
|
enumerable: true,
|
|
17970
|
-
get: function () { return
|
|
18002
|
+
get: function () { return chunkHE4AQEWB_cjs.useInvalidateEntitlements; }
|
|
17971
18003
|
});
|
|
17972
18004
|
Object.defineProperty(exports, "useIsEntitled", {
|
|
17973
18005
|
enumerable: true,
|
|
17974
|
-
get: function () { return
|
|
18006
|
+
get: function () { return chunkHE4AQEWB_cjs.useIsEntitled; }
|
|
17975
18007
|
});
|
|
17976
18008
|
Object.defineProperty(exports, "useMeetingReadOnly", {
|
|
17977
18009
|
enumerable: true,
|
|
17978
|
-
get: function () { return
|
|
18010
|
+
get: function () { return chunkHE4AQEWB_cjs.useMeetingReadOnly; }
|
|
17979
18011
|
});
|
|
17980
18012
|
Object.defineProperty(exports, "useNameEditor", {
|
|
17981
18013
|
enumerable: true,
|
|
17982
|
-
get: function () { return
|
|
18014
|
+
get: function () { return chunkHE4AQEWB_cjs.useNameEditor; }
|
|
17983
18015
|
});
|
|
17984
18016
|
Object.defineProperty(exports, "useOpenCallMeetingChat", {
|
|
17985
18017
|
enumerable: true,
|
|
17986
|
-
get: function () { return
|
|
18018
|
+
get: function () { return chunkHE4AQEWB_cjs.useOpenCallMeetingChat; }
|
|
17987
18019
|
});
|
|
17988
18020
|
Object.defineProperty(exports, "useProfile", {
|
|
17989
18021
|
enumerable: true,
|
|
17990
|
-
get: function () { return
|
|
18022
|
+
get: function () { return chunkHE4AQEWB_cjs.useProfile; }
|
|
17991
18023
|
});
|
|
17992
18024
|
Object.defineProperty(exports, "useRecordingActions", {
|
|
17993
18025
|
enumerable: true,
|
|
17994
|
-
get: function () { return
|
|
18026
|
+
get: function () { return chunkHE4AQEWB_cjs.useRecordingActions; }
|
|
17995
18027
|
});
|
|
17996
18028
|
Object.defineProperty(exports, "useRecordingWindows", {
|
|
17997
18029
|
enumerable: true,
|
|
17998
|
-
get: function () { return
|
|
18030
|
+
get: function () { return chunkHE4AQEWB_cjs.useRecordingWindows; }
|
|
17999
18031
|
});
|
|
18000
18032
|
Object.defineProperty(exports, "useRevokeCallInviteLink", {
|
|
18001
18033
|
enumerable: true,
|
|
18002
|
-
get: function () { return
|
|
18034
|
+
get: function () { return chunkHE4AQEWB_cjs.useRevokeCallInviteLink; }
|
|
18003
18035
|
});
|
|
18004
18036
|
Object.defineProperty(exports, "useSaveToThread", {
|
|
18005
18037
|
enumerable: true,
|
|
18006
|
-
get: function () { return
|
|
18038
|
+
get: function () { return chunkHE4AQEWB_cjs.useSaveToThread; }
|
|
18007
18039
|
});
|
|
18008
18040
|
Object.defineProperty(exports, "useServerCallsEnabled", {
|
|
18009
18041
|
enumerable: true,
|
|
18010
|
-
get: function () { return
|
|
18042
|
+
get: function () { return chunkHE4AQEWB_cjs.useServerCallsEnabled; }
|
|
18011
18043
|
});
|
|
18012
18044
|
Object.defineProperty(exports, "useServerCallsExperimental", {
|
|
18013
18045
|
enumerable: true,
|
|
18014
|
-
get: function () { return
|
|
18046
|
+
get: function () { return chunkHE4AQEWB_cjs.useServerCallsExperimental; }
|
|
18015
18047
|
});
|
|
18016
18048
|
Object.defineProperty(exports, "useUpdateProfile", {
|
|
18017
18049
|
enumerable: true,
|
|
18018
|
-
get: function () { return
|
|
18050
|
+
get: function () { return chunkHE4AQEWB_cjs.useUpdateProfile; }
|
|
18019
18051
|
});
|
|
18020
18052
|
Object.defineProperty(exports, "useUpdateUserSettings", {
|
|
18021
18053
|
enumerable: true,
|
|
18022
|
-
get: function () { return
|
|
18054
|
+
get: function () { return chunkHE4AQEWB_cjs.useUpdateUserSettings; }
|
|
18023
18055
|
});
|
|
18024
18056
|
Object.defineProperty(exports, "useUserSettings", {
|
|
18025
18057
|
enumerable: true,
|
|
18026
|
-
get: function () { return
|
|
18058
|
+
get: function () { return chunkHE4AQEWB_cjs.useUserSettings; }
|
|
18027
18059
|
});
|
|
18028
18060
|
Object.defineProperty(exports, "wipeOfflineMail", {
|
|
18029
18061
|
enumerable: true,
|
|
18030
|
-
get: function () { return
|
|
18062
|
+
get: function () { return chunkHE4AQEWB_cjs.wipeOfflineMail; }
|
|
18031
18063
|
});
|
|
18032
18064
|
Object.defineProperty(exports, "wrapTrackKey", {
|
|
18033
18065
|
enumerable: true,
|
|
18034
|
-
get: function () { return
|
|
18066
|
+
get: function () { return chunkHE4AQEWB_cjs.wrapTrackKey; }
|
|
18035
18067
|
});
|
|
18036
18068
|
Object.defineProperty(exports, "writeSamples", {
|
|
18037
18069
|
enumerable: true,
|
|
18038
|
-
get: function () { return
|
|
18070
|
+
get: function () { return chunkHE4AQEWB_cjs.writeSamples; }
|
|
18039
18071
|
});
|
|
18040
18072
|
Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
|
|
18041
18073
|
enumerable: true,
|
|
@@ -18223,323 +18255,331 @@ Object.defineProperty(exports, "useUpdateTagKindSchema", {
|
|
|
18223
18255
|
});
|
|
18224
18256
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
|
|
18225
18257
|
enumerable: true,
|
|
18226
|
-
get: function () { return
|
|
18258
|
+
get: function () { return chunkMDSWUCCL_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
|
|
18227
18259
|
});
|
|
18228
18260
|
Object.defineProperty(exports, "DOCUMENT_VIEWER_PANEL", {
|
|
18229
18261
|
enumerable: true,
|
|
18230
|
-
get: function () { return
|
|
18262
|
+
get: function () { return chunkMDSWUCCL_cjs.DOCUMENT_VIEWER_PANEL; }
|
|
18231
18263
|
});
|
|
18232
18264
|
Object.defineProperty(exports, "EMPTY_CHAT_STATE", {
|
|
18233
18265
|
enumerable: true,
|
|
18234
|
-
get: function () { return
|
|
18266
|
+
get: function () { return chunkMDSWUCCL_cjs.EMPTY_CHAT_STATE; }
|
|
18235
18267
|
});
|
|
18236
18268
|
Object.defineProperty(exports, "EMPTY_DOCUMENT_STATE", {
|
|
18237
18269
|
enumerable: true,
|
|
18238
|
-
get: function () { return
|
|
18270
|
+
get: function () { return chunkMDSWUCCL_cjs.EMPTY_DOCUMENT_STATE; }
|
|
18239
18271
|
});
|
|
18240
18272
|
Object.defineProperty(exports, "EMPTY_SESSION_STATE", {
|
|
18241
18273
|
enumerable: true,
|
|
18242
|
-
get: function () { return
|
|
18274
|
+
get: function () { return chunkMDSWUCCL_cjs.EMPTY_SESSION_STATE; }
|
|
18243
18275
|
});
|
|
18244
18276
|
Object.defineProperty(exports, "MAX_THREAD_TABS", {
|
|
18245
18277
|
enumerable: true,
|
|
18246
|
-
get: function () { return
|
|
18278
|
+
get: function () { return chunkMDSWUCCL_cjs.MAX_THREAD_TABS; }
|
|
18247
18279
|
});
|
|
18248
18280
|
Object.defineProperty(exports, "MIN_QUEUED_MESSAGE_VISIBILITY_MS", {
|
|
18249
18281
|
enumerable: true,
|
|
18250
|
-
get: function () { return
|
|
18282
|
+
get: function () { return chunkMDSWUCCL_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
|
|
18251
18283
|
});
|
|
18252
18284
|
Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
|
|
18253
18285
|
enumerable: true,
|
|
18254
|
-
get: function () { return
|
|
18286
|
+
get: function () { return chunkMDSWUCCL_cjs.PROJECT_CREATION_DENIED_REASON; }
|
|
18255
18287
|
});
|
|
18256
18288
|
Object.defineProperty(exports, "WORKSPACE_LAST_OPENED_KEY", {
|
|
18257
18289
|
enumerable: true,
|
|
18258
|
-
get: function () { return
|
|
18290
|
+
get: function () { return chunkMDSWUCCL_cjs.WORKSPACE_LAST_OPENED_KEY; }
|
|
18259
18291
|
});
|
|
18260
18292
|
Object.defineProperty(exports, "WORKSPACE_STORAGE_KEY", {
|
|
18261
18293
|
enumerable: true,
|
|
18262
|
-
get: function () { return
|
|
18294
|
+
get: function () { return chunkMDSWUCCL_cjs.WORKSPACE_STORAGE_KEY; }
|
|
18263
18295
|
});
|
|
18264
18296
|
Object.defineProperty(exports, "agentControl", {
|
|
18265
18297
|
enumerable: true,
|
|
18266
|
-
get: function () { return
|
|
18298
|
+
get: function () { return chunkMDSWUCCL_cjs.agentControl; }
|
|
18267
18299
|
});
|
|
18268
18300
|
Object.defineProperty(exports, "browserWorkspaceStorage", {
|
|
18269
18301
|
enumerable: true,
|
|
18270
|
-
get: function () { return
|
|
18302
|
+
get: function () { return chunkMDSWUCCL_cjs.browserWorkspaceStorage; }
|
|
18271
18303
|
});
|
|
18272
18304
|
Object.defineProperty(exports, "clearSealedDrafts", {
|
|
18273
18305
|
enumerable: true,
|
|
18274
|
-
get: function () { return
|
|
18306
|
+
get: function () { return chunkMDSWUCCL_cjs.clearSealedDrafts; }
|
|
18275
18307
|
});
|
|
18276
18308
|
Object.defineProperty(exports, "closePanelIn", {
|
|
18277
18309
|
enumerable: true,
|
|
18278
|
-
get: function () { return
|
|
18310
|
+
get: function () { return chunkMDSWUCCL_cjs.closePanelIn; }
|
|
18279
18311
|
});
|
|
18280
18312
|
Object.defineProperty(exports, "composeArbiSessionStore", {
|
|
18281
18313
|
enumerable: true,
|
|
18282
|
-
get: function () { return
|
|
18314
|
+
get: function () { return chunkMDSWUCCL_cjs.composeArbiSessionStore; }
|
|
18283
18315
|
});
|
|
18284
18316
|
Object.defineProperty(exports, "conversationKey", {
|
|
18285
18317
|
enumerable: true,
|
|
18286
|
-
get: function () { return
|
|
18318
|
+
get: function () { return chunkMDSWUCCL_cjs.conversationKey; }
|
|
18287
18319
|
});
|
|
18288
18320
|
Object.defineProperty(exports, "createArbiChatStore", {
|
|
18289
18321
|
enumerable: true,
|
|
18290
|
-
get: function () { return
|
|
18322
|
+
get: function () { return chunkMDSWUCCL_cjs.createArbiChatStore; }
|
|
18291
18323
|
});
|
|
18292
18324
|
Object.defineProperty(exports, "createArbiDocumentSessionStore", {
|
|
18293
18325
|
enumerable: true,
|
|
18294
|
-
get: function () { return
|
|
18326
|
+
get: function () { return chunkMDSWUCCL_cjs.createArbiDocumentSessionStore; }
|
|
18295
18327
|
});
|
|
18296
18328
|
Object.defineProperty(exports, "createArbiLayoutStore", {
|
|
18297
18329
|
enumerable: true,
|
|
18298
|
-
get: function () { return
|
|
18330
|
+
get: function () { return chunkMDSWUCCL_cjs.createArbiLayoutStore; }
|
|
18299
18331
|
});
|
|
18300
18332
|
Object.defineProperty(exports, "createArbiSessionStore", {
|
|
18301
18333
|
enumerable: true,
|
|
18302
|
-
get: function () { return
|
|
18334
|
+
get: function () { return chunkMDSWUCCL_cjs.createArbiSessionStore; }
|
|
18303
18335
|
});
|
|
18304
18336
|
Object.defineProperty(exports, "createArbiWorkspaceStore", {
|
|
18305
18337
|
enumerable: true,
|
|
18306
|
-
get: function () { return
|
|
18338
|
+
get: function () { return chunkMDSWUCCL_cjs.createArbiWorkspaceStore; }
|
|
18307
18339
|
});
|
|
18308
18340
|
Object.defineProperty(exports, "createDebouncedWriter", {
|
|
18309
18341
|
enumerable: true,
|
|
18310
|
-
get: function () { return
|
|
18342
|
+
get: function () { return chunkMDSWUCCL_cjs.createDebouncedWriter; }
|
|
18311
18343
|
});
|
|
18312
18344
|
Object.defineProperty(exports, "createSealedDraftStorage", {
|
|
18313
18345
|
enumerable: true,
|
|
18314
|
-
get: function () { return
|
|
18346
|
+
get: function () { return chunkMDSWUCCL_cjs.createSealedDraftStorage; }
|
|
18315
18347
|
});
|
|
18316
18348
|
Object.defineProperty(exports, "createStoragePersist", {
|
|
18317
18349
|
enumerable: true,
|
|
18318
|
-
get: function () { return
|
|
18350
|
+
get: function () { return chunkMDSWUCCL_cjs.createStoragePersist; }
|
|
18319
18351
|
});
|
|
18320
18352
|
Object.defineProperty(exports, "createUiStateStorage", {
|
|
18321
18353
|
enumerable: true,
|
|
18322
|
-
get: function () { return
|
|
18354
|
+
get: function () { return chunkMDSWUCCL_cjs.createUiStateStorage; }
|
|
18323
18355
|
});
|
|
18324
18356
|
Object.defineProperty(exports, "defaultLayoutState", {
|
|
18325
18357
|
enumerable: true,
|
|
18326
|
-
get: function () { return
|
|
18358
|
+
get: function () { return chunkMDSWUCCL_cjs.defaultLayoutState; }
|
|
18327
18359
|
});
|
|
18328
18360
|
Object.defineProperty(exports, "dmTabId", {
|
|
18329
18361
|
enumerable: true,
|
|
18330
|
-
get: function () { return
|
|
18362
|
+
get: function () { return chunkMDSWUCCL_cjs.dmTabId; }
|
|
18331
18363
|
});
|
|
18332
18364
|
Object.defineProperty(exports, "flushOnPageExit", {
|
|
18333
18365
|
enumerable: true,
|
|
18334
|
-
get: function () { return
|
|
18366
|
+
get: function () { return chunkMDSWUCCL_cjs.flushOnPageExit; }
|
|
18335
18367
|
});
|
|
18336
18368
|
Object.defineProperty(exports, "isPanelOpen", {
|
|
18337
18369
|
enumerable: true,
|
|
18338
|
-
get: function () { return
|
|
18370
|
+
get: function () { return chunkMDSWUCCL_cjs.isPanelOpen; }
|
|
18339
18371
|
});
|
|
18340
18372
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
18341
18373
|
enumerable: true,
|
|
18342
|
-
get: function () { return
|
|
18374
|
+
get: function () { return chunkMDSWUCCL_cjs.isUsageMetered; }
|
|
18343
18375
|
});
|
|
18344
18376
|
Object.defineProperty(exports, "layoutActionsOf", {
|
|
18345
18377
|
enumerable: true,
|
|
18346
|
-
get: function () { return
|
|
18378
|
+
get: function () { return chunkMDSWUCCL_cjs.layoutActionsOf; }
|
|
18347
18379
|
});
|
|
18348
18380
|
Object.defineProperty(exports, "nextViewingDocument", {
|
|
18349
18381
|
enumerable: true,
|
|
18350
|
-
get: function () { return
|
|
18382
|
+
get: function () { return chunkMDSWUCCL_cjs.nextViewingDocument; }
|
|
18351
18383
|
});
|
|
18352
18384
|
Object.defineProperty(exports, "openPanelIn", {
|
|
18353
18385
|
enumerable: true,
|
|
18354
|
-
get: function () { return
|
|
18386
|
+
get: function () { return chunkMDSWUCCL_cjs.openPanelIn; }
|
|
18355
18387
|
});
|
|
18356
18388
|
Object.defineProperty(exports, "panelPlace", {
|
|
18357
18389
|
enumerable: true,
|
|
18358
|
-
get: function () { return
|
|
18390
|
+
get: function () { return chunkMDSWUCCL_cjs.panelPlace; }
|
|
18359
18391
|
});
|
|
18360
18392
|
Object.defineProperty(exports, "parseSavedChat", {
|
|
18361
18393
|
enumerable: true,
|
|
18362
|
-
get: function () { return
|
|
18394
|
+
get: function () { return chunkMDSWUCCL_cjs.parseSavedChat; }
|
|
18363
18395
|
});
|
|
18364
18396
|
Object.defineProperty(exports, "parseSavedDocuments", {
|
|
18365
18397
|
enumerable: true,
|
|
18366
|
-
get: function () { return
|
|
18398
|
+
get: function () { return chunkMDSWUCCL_cjs.parseSavedDocuments; }
|
|
18367
18399
|
});
|
|
18368
18400
|
Object.defineProperty(exports, "parseSavedLayout", {
|
|
18369
18401
|
enumerable: true,
|
|
18370
|
-
get: function () { return
|
|
18402
|
+
get: function () { return chunkMDSWUCCL_cjs.parseSavedLayout; }
|
|
18371
18403
|
});
|
|
18372
18404
|
Object.defineProperty(exports, "queuedMessages", {
|
|
18373
18405
|
enumerable: true,
|
|
18374
|
-
get: function () { return
|
|
18406
|
+
get: function () { return chunkMDSWUCCL_cjs.queuedMessages; }
|
|
18375
18407
|
});
|
|
18376
18408
|
Object.defineProperty(exports, "readWorkspaceLastOpened", {
|
|
18377
18409
|
enumerable: true,
|
|
18378
|
-
get: function () { return
|
|
18410
|
+
get: function () { return chunkMDSWUCCL_cjs.readWorkspaceLastOpened; }
|
|
18379
18411
|
});
|
|
18380
18412
|
Object.defineProperty(exports, "restoreLayout", {
|
|
18381
18413
|
enumerable: true,
|
|
18382
|
-
get: function () { return
|
|
18414
|
+
get: function () { return chunkMDSWUCCL_cjs.restoreLayout; }
|
|
18383
18415
|
});
|
|
18384
18416
|
Object.defineProperty(exports, "restoreSavedDocuments", {
|
|
18385
18417
|
enumerable: true,
|
|
18386
|
-
get: function () { return
|
|
18418
|
+
get: function () { return chunkMDSWUCCL_cjs.restoreSavedDocuments; }
|
|
18387
18419
|
});
|
|
18388
18420
|
Object.defineProperty(exports, "savedChatOf", {
|
|
18389
18421
|
enumerable: true,
|
|
18390
|
-
get: function () { return
|
|
18422
|
+
get: function () { return chunkMDSWUCCL_cjs.savedChatOf; }
|
|
18391
18423
|
});
|
|
18392
18424
|
Object.defineProperty(exports, "savedDocumentsOf", {
|
|
18393
18425
|
enumerable: true,
|
|
18394
|
-
get: function () { return
|
|
18426
|
+
get: function () { return chunkMDSWUCCL_cjs.savedDocumentsOf; }
|
|
18395
18427
|
});
|
|
18396
18428
|
Object.defineProperty(exports, "savedLayoutOf", {
|
|
18397
18429
|
enumerable: true,
|
|
18398
|
-
get: function () { return
|
|
18430
|
+
get: function () { return chunkMDSWUCCL_cjs.savedLayoutOf; }
|
|
18399
18431
|
});
|
|
18400
18432
|
Object.defineProperty(exports, "selectDraft", {
|
|
18401
18433
|
enumerable: true,
|
|
18402
|
-
get: function () { return
|
|
18434
|
+
get: function () { return chunkMDSWUCCL_cjs.selectDraft; }
|
|
18403
18435
|
});
|
|
18404
18436
|
Object.defineProperty(exports, "selectIsGenerating", {
|
|
18405
18437
|
enumerable: true,
|
|
18406
|
-
get: function () { return
|
|
18438
|
+
get: function () { return chunkMDSWUCCL_cjs.selectIsGenerating; }
|
|
18407
18439
|
});
|
|
18408
18440
|
Object.defineProperty(exports, "selectViewingDocumentId", {
|
|
18409
18441
|
enumerable: true,
|
|
18410
|
-
get: function () { return
|
|
18442
|
+
get: function () { return chunkMDSWUCCL_cjs.selectViewingDocumentId; }
|
|
18411
18443
|
});
|
|
18412
18444
|
Object.defineProperty(exports, "threadTabId", {
|
|
18413
18445
|
enumerable: true,
|
|
18414
|
-
get: function () { return
|
|
18446
|
+
get: function () { return chunkMDSWUCCL_cjs.threadTabId; }
|
|
18415
18447
|
});
|
|
18416
18448
|
Object.defineProperty(exports, "useActivity", {
|
|
18417
18449
|
enumerable: true,
|
|
18418
|
-
get: function () { return
|
|
18450
|
+
get: function () { return chunkMDSWUCCL_cjs.useActivity; }
|
|
18419
18451
|
});
|
|
18420
18452
|
Object.defineProperty(exports, "useAgents", {
|
|
18421
18453
|
enumerable: true,
|
|
18422
|
-
get: function () { return
|
|
18454
|
+
get: function () { return chunkMDSWUCCL_cjs.useAgents; }
|
|
18423
18455
|
});
|
|
18424
18456
|
Object.defineProperty(exports, "useArbiSession", {
|
|
18425
18457
|
enumerable: true,
|
|
18426
|
-
get: function () { return
|
|
18458
|
+
get: function () { return chunkMDSWUCCL_cjs.useArbiSession; }
|
|
18427
18459
|
});
|
|
18428
18460
|
Object.defineProperty(exports, "useArbiSessionState", {
|
|
18429
18461
|
enumerable: true,
|
|
18430
|
-
get: function () { return
|
|
18462
|
+
get: function () { return chunkMDSWUCCL_cjs.useArbiSessionState; }
|
|
18431
18463
|
});
|
|
18432
18464
|
Object.defineProperty(exports, "useArbiSessionStore", {
|
|
18433
18465
|
enumerable: true,
|
|
18434
|
-
get: function () { return
|
|
18466
|
+
get: function () { return chunkMDSWUCCL_cjs.useArbiSessionStore; }
|
|
18435
18467
|
});
|
|
18436
18468
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
18437
18469
|
enumerable: true,
|
|
18438
|
-
get: function () { return
|
|
18470
|
+
get: function () { return chunkMDSWUCCL_cjs.useAssistantQuery; }
|
|
18439
18471
|
});
|
|
18440
18472
|
Object.defineProperty(exports, "useAvailableModels", {
|
|
18441
18473
|
enumerable: true,
|
|
18442
|
-
get: function () { return
|
|
18474
|
+
get: function () { return chunkMDSWUCCL_cjs.useAvailableModels; }
|
|
18443
18475
|
});
|
|
18444
18476
|
Object.defineProperty(exports, "useBoxRole", {
|
|
18445
18477
|
enumerable: true,
|
|
18446
|
-
get: function () { return
|
|
18478
|
+
get: function () { return chunkMDSWUCCL_cjs.useBoxRole; }
|
|
18447
18479
|
});
|
|
18448
18480
|
Object.defineProperty(exports, "useBuiltinCommands", {
|
|
18449
18481
|
enumerable: true,
|
|
18450
|
-
get: function () { return
|
|
18482
|
+
get: function () { return chunkMDSWUCCL_cjs.useBuiltinCommands; }
|
|
18451
18483
|
});
|
|
18452
18484
|
Object.defineProperty(exports, "useCanCreateProjects", {
|
|
18453
18485
|
enumerable: true,
|
|
18454
|
-
get: function () { return
|
|
18486
|
+
get: function () { return chunkMDSWUCCL_cjs.useCanCreateProjects; }
|
|
18487
|
+
});
|
|
18488
|
+
Object.defineProperty(exports, "useCanCreateWorkspaces", {
|
|
18489
|
+
enumerable: true,
|
|
18490
|
+
get: function () { return chunkMDSWUCCL_cjs.useCanCreateWorkspaces; }
|
|
18455
18491
|
});
|
|
18456
18492
|
Object.defineProperty(exports, "useConfig", {
|
|
18457
18493
|
enumerable: true,
|
|
18458
|
-
get: function () { return
|
|
18494
|
+
get: function () { return chunkMDSWUCCL_cjs.useConfig; }
|
|
18459
18495
|
});
|
|
18460
18496
|
Object.defineProperty(exports, "useConfigs", {
|
|
18461
18497
|
enumerable: true,
|
|
18462
|
-
get: function () { return
|
|
18498
|
+
get: function () { return chunkMDSWUCCL_cjs.useConfigs; }
|
|
18463
18499
|
});
|
|
18464
18500
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
18465
18501
|
enumerable: true,
|
|
18466
|
-
get: function () { return
|
|
18502
|
+
get: function () { return chunkMDSWUCCL_cjs.useConversationThreads; }
|
|
18467
18503
|
});
|
|
18468
18504
|
Object.defineProperty(exports, "useConversations", {
|
|
18469
18505
|
enumerable: true,
|
|
18470
|
-
get: function () { return
|
|
18506
|
+
get: function () { return chunkMDSWUCCL_cjs.useConversations; }
|
|
18471
18507
|
});
|
|
18472
18508
|
Object.defineProperty(exports, "useCurrentUser", {
|
|
18473
18509
|
enumerable: true,
|
|
18474
|
-
get: function () { return
|
|
18510
|
+
get: function () { return chunkMDSWUCCL_cjs.useCurrentUser; }
|
|
18475
18511
|
});
|
|
18476
18512
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
18477
18513
|
enumerable: true,
|
|
18478
|
-
get: function () { return
|
|
18514
|
+
get: function () { return chunkMDSWUCCL_cjs.useDeleteAgents; }
|
|
18479
18515
|
});
|
|
18480
18516
|
Object.defineProperty(exports, "useDocumentVersionList", {
|
|
18481
18517
|
enumerable: true,
|
|
18482
|
-
get: function () { return
|
|
18518
|
+
get: function () { return chunkMDSWUCCL_cjs.useDocumentVersionList; }
|
|
18483
18519
|
});
|
|
18484
18520
|
Object.defineProperty(exports, "useHealth", {
|
|
18485
18521
|
enumerable: true,
|
|
18486
|
-
get: function () { return
|
|
18522
|
+
get: function () { return chunkMDSWUCCL_cjs.useHealth; }
|
|
18487
18523
|
});
|
|
18488
18524
|
Object.defineProperty(exports, "useMessageDetails", {
|
|
18489
18525
|
enumerable: true,
|
|
18490
|
-
get: function () { return
|
|
18526
|
+
get: function () { return chunkMDSWUCCL_cjs.useMessageDetails; }
|
|
18491
18527
|
});
|
|
18492
18528
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
18493
18529
|
enumerable: true,
|
|
18494
|
-
get: function () { return
|
|
18530
|
+
get: function () { return chunkMDSWUCCL_cjs.useParsedDocument; }
|
|
18531
|
+
});
|
|
18532
|
+
Object.defineProperty(exports, "useProjectCreationDenial", {
|
|
18533
|
+
enumerable: true,
|
|
18534
|
+
get: function () { return chunkMDSWUCCL_cjs.useProjectCreationDenial; }
|
|
18495
18535
|
});
|
|
18496
18536
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
18497
18537
|
enumerable: true,
|
|
18498
|
-
get: function () { return
|
|
18538
|
+
get: function () { return chunkMDSWUCCL_cjs.useProjectInvoices; }
|
|
18499
18539
|
});
|
|
18500
18540
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
18501
18541
|
enumerable: true,
|
|
18502
|
-
get: function () { return
|
|
18542
|
+
get: function () { return chunkMDSWUCCL_cjs.useProjectUsage; }
|
|
18503
18543
|
});
|
|
18504
18544
|
Object.defineProperty(exports, "useProjects", {
|
|
18505
18545
|
enumerable: true,
|
|
18506
|
-
get: function () { return
|
|
18546
|
+
get: function () { return chunkMDSWUCCL_cjs.useProjects; }
|
|
18507
18547
|
});
|
|
18508
18548
|
Object.defineProperty(exports, "useSessionPageTab", {
|
|
18509
18549
|
enumerable: true,
|
|
18510
|
-
get: function () { return
|
|
18550
|
+
get: function () { return chunkMDSWUCCL_cjs.useSessionPageTab; }
|
|
18511
18551
|
});
|
|
18512
18552
|
Object.defineProperty(exports, "useSessionView", {
|
|
18513
18553
|
enumerable: true,
|
|
18514
|
-
get: function () { return
|
|
18554
|
+
get: function () { return chunkMDSWUCCL_cjs.useSessionView; }
|
|
18515
18555
|
});
|
|
18516
18556
|
Object.defineProperty(exports, "useSignedInSession", {
|
|
18517
18557
|
enumerable: true,
|
|
18518
|
-
get: function () { return
|
|
18558
|
+
get: function () { return chunkMDSWUCCL_cjs.useSignedInSession; }
|
|
18519
18559
|
});
|
|
18520
18560
|
Object.defineProperty(exports, "useTags", {
|
|
18521
18561
|
enumerable: true,
|
|
18522
|
-
get: function () { return
|
|
18562
|
+
get: function () { return chunkMDSWUCCL_cjs.useTags; }
|
|
18523
18563
|
});
|
|
18524
18564
|
Object.defineProperty(exports, "useThumbnails", {
|
|
18525
18565
|
enumerable: true,
|
|
18526
|
-
get: function () { return
|
|
18566
|
+
get: function () { return chunkMDSWUCCL_cjs.useThumbnails; }
|
|
18527
18567
|
});
|
|
18528
18568
|
Object.defineProperty(exports, "useTransientView", {
|
|
18529
18569
|
enumerable: true,
|
|
18530
|
-
get: function () { return
|
|
18570
|
+
get: function () { return chunkMDSWUCCL_cjs.useTransientView; }
|
|
18531
18571
|
});
|
|
18532
18572
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
18533
18573
|
enumerable: true,
|
|
18534
|
-
get: function () { return
|
|
18574
|
+
get: function () { return chunkMDSWUCCL_cjs.useUserUsageToday; }
|
|
18535
18575
|
});
|
|
18536
18576
|
Object.defineProperty(exports, "useWorkspaceActivity", {
|
|
18537
18577
|
enumerable: true,
|
|
18538
|
-
get: function () { return
|
|
18578
|
+
get: function () { return chunkMDSWUCCL_cjs.useWorkspaceActivity; }
|
|
18539
18579
|
});
|
|
18540
18580
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
18541
18581
|
enumerable: true,
|
|
18542
|
-
get: function () { return
|
|
18582
|
+
get: function () { return chunkMDSWUCCL_cjs.useWorkspaces; }
|
|
18543
18583
|
});
|
|
18544
18584
|
Object.defineProperty(exports, "arbiMutationKeys", {
|
|
18545
18585
|
enumerable: true,
|
|
@@ -20221,6 +20261,7 @@ exports.useClaimSecureMail = useClaimSecureMail;
|
|
|
20221
20261
|
exports.useCloseAgentSession = useCloseAgentSession;
|
|
20222
20262
|
exports.useConfigSchema = useConfigSchema;
|
|
20223
20263
|
exports.useConfirmEmailChange = useConfirmEmailChange;
|
|
20264
|
+
exports.useConfirmProjectSpendLimits = useConfirmProjectSpendLimits;
|
|
20224
20265
|
exports.useConnectCalDavAccount = useConnectCalDavAccount;
|
|
20225
20266
|
exports.useConnectMailAccount = useConnectMailAccount;
|
|
20226
20267
|
exports.useConnectOAuthAccount = useConnectOAuthAccount;
|
|
@@ -20399,6 +20440,7 @@ exports.usePreviewProjectPlanChange = usePreviewProjectPlanChange;
|
|
|
20399
20440
|
exports.useProcessingTask = useProcessingTask;
|
|
20400
20441
|
exports.useProcessingTasks = useProcessingTasks;
|
|
20401
20442
|
exports.useProducts = useProducts;
|
|
20443
|
+
exports.useProjectBillingCache = useProjectBillingCache;
|
|
20402
20444
|
exports.useProjectBillingPortal = useProjectBillingPortal;
|
|
20403
20445
|
exports.useProjectConversationUsage = useProjectConversationUsage;
|
|
20404
20446
|
exports.usePublishCalendar = usePublishCalendar;
|