@arbidocs/blocks 0.4.144 → 0.4.145

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.
Files changed (146) hide show
  1. package/dist/agents/index.cjs +267 -267
  2. package/dist/agents/index.js +10 -10
  3. package/dist/chat/index.cjs +1 -1
  4. package/dist/chat/index.js +1 -1
  5. package/dist/{chunk-BUWBXJ2N.cjs → chunk-34GDGE77.cjs} +5 -5
  6. package/dist/{chunk-BUWBXJ2N.cjs.map → chunk-34GDGE77.cjs.map} +1 -1
  7. package/dist/{chunk-ON3TKY5Y.js → chunk-5YHEHEJT.js} +242 -4
  8. package/dist/chunk-5YHEHEJT.js.map +1 -0
  9. package/dist/{chunk-YFY3TQ6Q.cjs → chunk-COCGRJLA.cjs} +7 -7
  10. package/dist/{chunk-YFY3TQ6Q.cjs.map → chunk-COCGRJLA.cjs.map} +1 -1
  11. package/dist/{chunk-45LRMW54.js → chunk-DN2KI4BU.js} +8 -10
  12. package/dist/chunk-DN2KI4BU.js.map +1 -0
  13. package/dist/{chunk-R26BK7YL.cjs → chunk-DTROMMDX.cjs} +4 -4
  14. package/dist/{chunk-R26BK7YL.cjs.map → chunk-DTROMMDX.cjs.map} +1 -1
  15. package/dist/{chunk-65THHQVB.cjs → chunk-ECW2R2KF.cjs} +27 -27
  16. package/dist/{chunk-65THHQVB.cjs.map → chunk-ECW2R2KF.cjs.map} +1 -1
  17. package/dist/{chunk-RI6DZA5X.js → chunk-EF4ZLKRM.js} +3 -3
  18. package/dist/{chunk-RI6DZA5X.js.map → chunk-EF4ZLKRM.js.map} +1 -1
  19. package/dist/{chunk-WS5EX7DN.cjs → chunk-EYKISBDO.cjs} +5 -5
  20. package/dist/{chunk-WS5EX7DN.cjs.map → chunk-EYKISBDO.cjs.map} +1 -1
  21. package/dist/{chunk-JZNXRMLH.cjs → chunk-GAYMJWTC.cjs} +8 -10
  22. package/dist/chunk-GAYMJWTC.cjs.map +1 -0
  23. package/dist/{chunk-I7WG3JRD.js → chunk-H4D7WKDY.js} +3 -3
  24. package/dist/{chunk-I7WG3JRD.js.map → chunk-H4D7WKDY.js.map} +1 -1
  25. package/dist/{chunk-3RJN2VTL.js → chunk-IXWJGOM2.js} +3 -3
  26. package/dist/{chunk-3RJN2VTL.js.map → chunk-IXWJGOM2.js.map} +1 -1
  27. package/dist/{chunk-7NGAWGA3.js → chunk-J4M37SXY.js} +3 -3
  28. package/dist/{chunk-7NGAWGA3.js.map → chunk-J4M37SXY.js.map} +1 -1
  29. package/dist/{chunk-CYNF5PZI.js → chunk-J5CWKFSC.js} +3 -3
  30. package/dist/{chunk-CYNF5PZI.js.map → chunk-J5CWKFSC.js.map} +1 -1
  31. package/dist/{chunk-TP6PLDNM.cjs → chunk-KMZWKSKO.cjs} +8 -8
  32. package/dist/{chunk-TP6PLDNM.cjs.map → chunk-KMZWKSKO.cjs.map} +1 -1
  33. package/dist/{chunk-XGZX22ET.cjs → chunk-KPO67GBR.cjs} +39 -39
  34. package/dist/{chunk-XGZX22ET.cjs.map → chunk-KPO67GBR.cjs.map} +1 -1
  35. package/dist/{chunk-C4WSHRR6.cjs → chunk-KPZZ5FHE.cjs} +32 -12
  36. package/dist/chunk-KPZZ5FHE.cjs.map +1 -0
  37. package/dist/{chunk-X3TGXEFS.js → chunk-KTSF4HFC.js} +7 -7
  38. package/dist/{chunk-X3TGXEFS.js.map → chunk-KTSF4HFC.js.map} +1 -1
  39. package/dist/{chunk-33ZOUJXA.js → chunk-NGDXDHLG.js} +13 -32
  40. package/dist/chunk-NGDXDHLG.js.map +1 -0
  41. package/dist/chunk-NHZK64TQ.js +75 -0
  42. package/dist/chunk-NHZK64TQ.js.map +1 -0
  43. package/dist/{chunk-BPBSSMRB.js → chunk-NRFAWUVD.js} +3 -3
  44. package/dist/{chunk-BPBSSMRB.js.map → chunk-NRFAWUVD.js.map} +1 -1
  45. package/dist/{chunk-O2ODDTMA.cjs → chunk-NSNHRZBH.cjs} +8 -8
  46. package/dist/{chunk-O2ODDTMA.cjs.map → chunk-NSNHRZBH.cjs.map} +1 -1
  47. package/dist/chunk-NWNVWO6L.cjs +80 -0
  48. package/dist/chunk-NWNVWO6L.cjs.map +1 -0
  49. package/dist/{chunk-Y3KA6X7B.js → chunk-OVR3XMYL.js} +4 -4
  50. package/dist/{chunk-Y3KA6X7B.js.map → chunk-OVR3XMYL.js.map} +1 -1
  51. package/dist/{chunk-2FJMTZNJ.js → chunk-QOL3M4FJ.js} +9 -9
  52. package/dist/{chunk-2FJMTZNJ.js.map → chunk-QOL3M4FJ.js.map} +1 -1
  53. package/dist/{chunk-LYUO3E6V.js → chunk-SZOFGU7W.js} +3 -3
  54. package/dist/{chunk-LYUO3E6V.js.map → chunk-SZOFGU7W.js.map} +1 -1
  55. package/dist/{chunk-YNIBUKV5.js → chunk-TBEVGWY3.js} +32 -14
  56. package/dist/chunk-TBEVGWY3.js.map +1 -0
  57. package/dist/{chunk-MJCCBMM5.cjs → chunk-TC3RQNEX.cjs} +6 -80
  58. package/dist/chunk-TC3RQNEX.cjs.map +1 -0
  59. package/dist/{chunk-QIMVTGKS.cjs → chunk-U73KPFYH.cjs} +255 -2
  60. package/dist/chunk-U73KPFYH.cjs.map +1 -0
  61. package/dist/{chunk-RA3ZJ45L.cjs → chunk-ULPFRK3J.cjs} +25 -44
  62. package/dist/chunk-ULPFRK3J.cjs.map +1 -0
  63. package/dist/{chunk-HFGXA5CL.cjs → chunk-UTTTJSQU.cjs} +4 -4
  64. package/dist/{chunk-HFGXA5CL.cjs.map → chunk-UTTTJSQU.cjs.map} +1 -1
  65. package/dist/{chunk-DLBUFHLY.js → chunk-VTTZZ4FN.js} +4 -74
  66. package/dist/chunk-VTTZZ4FN.js.map +1 -0
  67. package/dist/{chunk-A6J2IBUG.js → chunk-VVZ34A2P.js} +3 -3
  68. package/dist/{chunk-A6J2IBUG.js.map → chunk-VVZ34A2P.js.map} +1 -1
  69. package/dist/{chunk-ABUO6PIQ.cjs → chunk-WO7QAVTL.cjs} +13 -13
  70. package/dist/{chunk-ABUO6PIQ.cjs.map → chunk-WO7QAVTL.cjs.map} +1 -1
  71. package/dist/{chunk-5FTIHRZH.cjs → chunk-XVUOMWMD.cjs} +4 -4
  72. package/dist/{chunk-5FTIHRZH.cjs.map → chunk-XVUOMWMD.cjs.map} +1 -1
  73. package/dist/{chunk-444XKG46.js → chunk-YKQ2DPIP.js} +3 -3
  74. package/dist/{chunk-444XKG46.js.map → chunk-YKQ2DPIP.js.map} +1 -1
  75. package/dist/{chunk-HEMU73OP.cjs → chunk-YSHIC4NJ.cjs} +4 -4
  76. package/dist/{chunk-HEMU73OP.cjs.map → chunk-YSHIC4NJ.cjs.map} +1 -1
  77. package/dist/citations/index.cjs +12 -12
  78. package/dist/citations/index.js +3 -3
  79. package/dist/collaboration/index.cjs +9 -9
  80. package/dist/collaboration/index.js +1 -1
  81. package/dist/connect/docx.cjs +11 -11
  82. package/dist/connect/docx.js +8 -8
  83. package/dist/connect/index.cjs +716 -329
  84. package/dist/connect/index.cjs.map +1 -1
  85. package/dist/connect/index.d.ts +1 -0
  86. package/dist/connect/index.js +591 -217
  87. package/dist/connect/index.js.map +1 -1
  88. package/dist/connection/ConnectedSettings.d.ts +3 -2
  89. package/dist/connection/ai.d.ts +27 -72
  90. package/dist/connection/settings-page/ConnectedAccountSettings.d.ts +35 -0
  91. package/dist/connection/settings-page/ConnectedMailSettings.d.ts +13 -0
  92. package/dist/connection/settings-page/ConnectedPremiumModels.d.ts +1 -0
  93. package/dist/connection/settings-page/ConnectedPrivacySettings.d.ts +12 -0
  94. package/dist/connection/settings-page/ConnectedSettingsPage.d.ts +29 -0
  95. package/dist/connection/settings-page/SessionStatusIcon.d.ts +7 -0
  96. package/dist/connection/settings-page/index.d.ts +6 -0
  97. package/dist/connection/workspaceData.d.ts +6 -6
  98. package/dist/document-tools/index.cjs +1 -1
  99. package/dist/document-tools/index.js +1 -1
  100. package/dist/facts/index.cjs +4 -4
  101. package/dist/facts/index.js +3 -3
  102. package/dist/files/index.cjs +3 -3
  103. package/dist/files/index.js +2 -2
  104. package/dist/home/index.cjs +20 -20
  105. package/dist/home/index.js +4 -4
  106. package/dist/index.cjs +476 -467
  107. package/dist/index.cjs.map +1 -1
  108. package/dist/index.d.ts +1 -0
  109. package/dist/index.js +23 -22
  110. package/dist/index.js.map +1 -1
  111. package/dist/provider/BlocksProvider.d.ts +5 -1
  112. package/dist/provider/settings-section.d.ts +9 -0
  113. package/dist/retrieval/index.cjs +4 -4
  114. package/dist/retrieval/index.js +2 -2
  115. package/dist/settings/AppearanceSettings.d.ts +18 -0
  116. package/dist/settings/ServerConnectionControls.d.ts +16 -0
  117. package/dist/settings/SettingsPage.d.ts +31 -0
  118. package/dist/settings/index.cjs +187 -250
  119. package/dist/settings/index.cjs.map +1 -1
  120. package/dist/settings/index.d.ts +3 -1
  121. package/dist/settings/index.js +87 -199
  122. package/dist/settings/index.js.map +1 -1
  123. package/dist/shell/index.cjs +44 -44
  124. package/dist/shell/index.js +3 -3
  125. package/dist/site/index.cjs +75 -74
  126. package/dist/site/index.js +4 -3
  127. package/dist/studio/index.cjs +80 -79
  128. package/dist/studio/index.cjs.map +1 -1
  129. package/dist/studio/index.js +12 -11
  130. package/dist/studio/index.js.map +1 -1
  131. package/dist/workflow-canvas/index.cjs +28 -28
  132. package/dist/workflow-canvas/index.js +11 -11
  133. package/dist/workspaces/index.cjs +3 -3
  134. package/dist/workspaces/index.js +2 -2
  135. package/node_modules/@arbidocs/coedit/package.json +1 -1
  136. package/package.json +4 -4
  137. package/dist/chunk-33ZOUJXA.js.map +0 -1
  138. package/dist/chunk-45LRMW54.js.map +0 -1
  139. package/dist/chunk-C4WSHRR6.cjs.map +0 -1
  140. package/dist/chunk-DLBUFHLY.js.map +0 -1
  141. package/dist/chunk-JZNXRMLH.cjs.map +0 -1
  142. package/dist/chunk-MJCCBMM5.cjs.map +0 -1
  143. package/dist/chunk-ON3TKY5Y.js.map +0 -1
  144. package/dist/chunk-QIMVTGKS.cjs.map +0 -1
  145. package/dist/chunk-RA3ZJ45L.cjs.map +0 -1
  146. package/dist/chunk-YNIBUKV5.js.map +0 -1
@@ -1,34 +1,34 @@
1
1
  "use client";
2
- import { DraggableHeader, SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, PasswordChangeDialog, SettingsCard, SettingsActionRow, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-ON3TKY5Y.js';
2
+ import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
3
+ import { DraggableHeader, SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, PasswordChangeDialog, SettingsCard, SettingsActionRow, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews, SettingsPanel, PremiumModelsFrame, SettingsPage, serverConnectionView, ServerConnectionButton, ModelProviderLabel } from '../chunk-5YHEHEJT.js';
3
4
  export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-CSI2B2H5.js';
4
- import { useConnectedWorkspaceRole, ConnectedNativeDocxEditor } from '../chunk-33ZOUJXA.js';
5
- export { ConnectedWorkflowDocumentsField, ConnectedWorkflowLauncher, ConnectedWorkflowsTable, DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS, NativeDocxSupportProvider, toWorkflowFieldDocument, useConnectedAgentOptions, useConnectedWorkflowScopeSource, useConnectedWorkspaceRole, useNativeDocxSupport } from '../chunk-33ZOUJXA.js';
6
- export { ConnectedWorkspaceDataProvider, useConnectedConversations, useConnectedDocuments, useConnectedTags } from '../chunk-45LRMW54.js';
5
+ import { useConnectedWorkspaceRole, ConnectedNativeDocxEditor } from '../chunk-NGDXDHLG.js';
6
+ export { ConnectedWorkflowDocumentsField, ConnectedWorkflowLauncher, ConnectedWorkflowsTable, DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS, NativeDocxSupportProvider, toWorkflowFieldDocument, useConnectedAgentOptions, useConnectedWorkflowScopeSource, useConnectedWorkspaceRole, useNativeDocxSupport } from '../chunk-NGDXDHLG.js';
7
+ export { ConnectedWorkspaceDataProvider, useConnectedConversations, useConnectedDocuments, useConnectedTags } from '../chunk-DN2KI4BU.js';
7
8
  import { ConnectionProvider, useConnection, useConnectedWorkspace } from '../chunk-US3S4DCB.js';
8
9
  export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnectedWorkspace, useConnection } from '../chunk-US3S4DCB.js';
9
10
  import { SignDocumentDialog } from '../chunk-2YOVK524.js';
10
11
  import '../chunk-MTSKK3BN.js';
11
12
  import '../chunk-2FL7QJKJ.js';
12
13
  import '../chunk-HFZ45FD3.js';
13
- import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
14
- import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-7NGAWGA3.js';
14
+ import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-J4M37SXY.js';
15
15
  import { workspaceKindColor } from '../chunk-A3XPS2EU.js';
16
16
  import { PlainMailBodyEditor, draftMailCompose, replyMailCompose, emptyMailCompose, MailGrid, MailMessageView, MailDocumentPicker, parseMailRecipients } from '../chunk-6HCJ3ZEU.js';
17
17
  import '../chunk-SV65E4QW.js';
18
18
  import { DOCX_MIME_TYPE } from '../chunk-QXMR5YHC.js';
19
19
  import '../chunk-AF6RDAJF.js';
20
- import { buildLibrarySkills, filterLibrarySkills, SKILL_SOURCE_LABELS, SKILL_TYPE_LABELS, SkillViewToggle, SkillFilterChips, SkillTile, SkillGenerateForm, SkillLibraryDetail, parseSkillFrontmatter, SKILL_MAIN_FILENAME, SkillEditForm, DEFAULT_AGENT_CAPABILITIES, stripPersonaPreamble, AgentCreator, DEFAULT_AGENT_TYPES, DEFAULT_AGENT_TEMPLATES, AgentAvatarField, isValidAgentName, AgentConnectInstructions, TaskRunsDialog, TaskActivityDialog, WorkflowStepBar, composePersona, importSkillFile, importSkillFromUrl, WorkflowRunner, skillSlug, serializeSkill, fromPlanSteps, toPlanSteps, useWorkflowView, workflowToSkillMarkdown } from '../chunk-X3TGXEFS.js';
20
+ import { buildLibrarySkills, filterLibrarySkills, SKILL_SOURCE_LABELS, SKILL_TYPE_LABELS, SkillViewToggle, SkillFilterChips, SkillTile, SkillGenerateForm, SkillLibraryDetail, parseSkillFrontmatter, SKILL_MAIN_FILENAME, SkillEditForm, DEFAULT_AGENT_CAPABILITIES, stripPersonaPreamble, AgentCreator, DEFAULT_AGENT_TYPES, DEFAULT_AGENT_TEMPLATES, AgentAvatarField, isValidAgentName, AgentConnectInstructions, TaskRunsDialog, TaskActivityDialog, WorkflowStepBar, composePersona, importSkillFile, importSkillFromUrl, WorkflowRunner, skillSlug, serializeSkill, fromPlanSteps, toPlanSteps, useWorkflowView, workflowToSkillMarkdown } from '../chunk-KTSF4HFC.js';
21
+ import '../chunk-EVUEIBNU.js';
21
22
  import { MultiSelect } from '../chunk-CQCC7LE7.js';
22
- import { PersonPill } from '../chunk-A6J2IBUG.js';
23
- import '../chunk-3RJN2VTL.js';
23
+ import { PersonPill } from '../chunk-VVZ34A2P.js';
24
24
  import { TriStateFilterMenu } from '../chunk-KSHKTOY2.js';
25
25
  import '../chunk-RLWIUUQ5.js';
26
26
  import '../chunk-P6GHJSLR.js';
27
- import '../chunk-EVUEIBNU.js';
28
- import '../chunk-444XKG46.js';
29
27
  import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
30
28
  import { FilterInput } from '../chunk-YU2KUMGE.js';
31
29
  import { GridView } from '../chunk-N5YEF3LC.js';
30
+ import '../chunk-IXWJGOM2.js';
31
+ import '../chunk-YKQ2DPIP.js';
32
32
  import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
33
33
  import '../chunk-VILAPTCB.js';
34
34
  import { upcomingOf, conferenceUrl, isWebinarConference, canJoinEvent, calendarToListItem, buildGridEvents, pendingCreateToGrid, newEventDraft, MiniMonth, CalendarList, CalendarGrid, printCalendar, EventDetails, ScopeDialog, CalendarFormDialog, ProposeTimeDialog, isCalendarAttachment, parseIcsInvite, formatEventWhen, groupSlotsByDay, publicBookingMessage, formatSlotRange, zoneOptions, buildTimeChangeRequest, eventToDraft, needsScope, validateDraft, CALENDAR_DEFAULT_LABELS, buildCreateBody, attendeeKey, buildDeleteTarget, EventEditor, toSettingsValue, CalendarSettingsForm, describeCalendarError, normalizeFeedUrl, parseOverlayLink, isAllDayDraft, draftRangeUtc, freeBusyToRows, SchedulingAssistant, applySuggestion, toSuggestionViews, RoomFinder, bookingLink, defaultRoomWindow, bookingToForm, emptyBookingForm, slugify, WeeklyHoursEditor, validateBookingForm, formToBookingBody, WEEKDAY_NAMES, formatBusy, setupSteps, buildEditRequest } from '../chunk-B3AHCIV5.js';
@@ -40,23 +40,23 @@ import '../chunk-7XF5SFJ2.js';
40
40
  import { takeOpenDocumentForTurn, useRegisterOpenDocument } from '../chunk-YBLIKTJK.js';
41
41
  import { splitDocRef, stepLevels, stepDocuments, stepKindOf, initialRunInputs, workflowSteps, stepStatesFromActivity, runThreadTitle, stepFields } from '../chunk-PDKM27DF.js';
42
42
  import '../chunk-TZGBRLPK.js';
43
- import '../chunk-AA3PT6KR.js';
44
43
  import '../chunk-AUS3KBHJ.js';
44
+ import '../chunk-AA3PT6KR.js';
45
45
  import '../chunk-SLSBJRWW.js';
46
46
  import '../chunk-NPLYHR2E.js';
47
47
  import '../chunk-7F6CBP3Z.js';
48
- import { useCopyText } from '../chunk-CYNF5PZI.js';
49
- import { useBlocksEnvironment } from '../chunk-YNIBUKV5.js';
48
+ import { useCopyText } from '../chunk-J5CWKFSC.js';
49
+ import { useBlocksEnvironment, useRequestedSettingsSection } from '../chunk-TBEVGWY3.js';
50
50
  import { ModalScaffold } from '../chunk-TX2ZICS7.js';
51
51
  import { fmtDate, initials } from '../chunk-OXF2IFXG.js';
52
52
  import '../chunk-VUNV25KB.js';
53
53
  import { lazy, useState, useMemo, useEffect, useCallback, useRef, Suspense, useSyncExternalStore, useLayoutEffect } from 'react';
54
54
  import { QueryClient, QueryClientProvider, useQueryClient, useQuery } from '@tanstack/react-query';
55
- import { ArbiProvider, useConversations, useRunConversation, useWorkspaceActivity, useWorkspaceUsers, isWorkspaceNotificationType, useArbi, useNotifications, useDeleteNotifications, useMarkNotificationsRead, useWorkspaces, useWorkspaceNotificationLevel, useFollowThread, useUploadSkillFiles, useSkills, useSetSkillVisibility, useDeleteSkill, useSkillSource, useAgentModels, useMcpTools, useAgentConfig, useAgentWorkspaces, useCreateAgent, useSaveAgentConfig, useGrantAgentAccess, useRevokeAgentAccess, useGenerateAgentAvatar, useWorkflowRuns, useConversationActivity, useAgents, ArtifactCanvas, useArbiChat, useDocuments, useTagKindSchema, useTags, useSetTagValues, useUpdateTagKindSchema, useInvalidateTagData, useShellWorkspaces, useProfile, useUpdateProfile, useRequestEmailChange, useConfirmEmailChange, useNameEditor, useAvatarCrop, useEmailChange, ImageCropModal, useIdentityVerification, usePasswordChange, usePasswordChangeForm, useNotificationPreferences, useSessions, useCurrentSessionId, useTerminateSession, useSignOut, useDeleteAccount, useDeleteAccountFlow, useArbiWebSocket, useWorkNotifications, mailDraftIdFromContent, useMailClient, defaultMailAlias, useClaimNativeAlias, useMailOnline, useConnectMailAccount, useDisconnectMailAccount, useMailPolicy, useMailAccounts, useMailUnlock, useMailFolders, useMailMessages, useMailDraftCompose, useMailMessage, useMailCache, MailOfflineUnavailableError, accountPath, useCalendarEvents, useCalendars, useFetchCalendarEvent, useCalendarSettings, useCalendarOverlays, useCalendarOutbox, useCalendarAccounts, useSyncAccountsOnOpen, useResumeCalendarAccountConnect, useCreateEvent, useUpdateEvent, useDeleteEvent, useMoveEvent, useRespondToEvent, useCreateCalendar, useUpdateCalendar, useDeleteCalendar, useImportCalendar, useSaveCalendarSettings, useRefreshCalendar, useCalendarEvent, useMailAttachmentText, useCalendarEventByUid, getPublicBookingPage, bookPublicSlot, PublicBookingError, useAgentSession, useStartAgentSession, useCloseAgentSession, isQueuedCalendarWrite, isAliasTakenError, nextAliasSuggestion, aliasTakenMessage, mailJson, ArbiWebSocketProvider, isDeploymentUserNotification, getWorkspaceActionText, getWorkspaceSentPhrase, describeServerNotification, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_TITLE, documentActivityPhrase, isSignatureNotificationType, inputRequestTitle, WORK_NOTIFICATION_LABELS, useArbiSessionState, documentDisplayName, getWorkspaceKind, formatRelativeTime, useCreateWork, useActOnStep, useConversationThreads, fileAttachment, useMailProjects, useSaveMailDraft, useSendMail, useMailDraftReplaced, useCalendarInvitations, useDecideCounter, useSearchContacts, usePublishCalendar, useCalendarShares, useShareCalendar, useUnshareCalendar, useSubscribeCalendar, useHolidayCountries, useAddHolidayCalendar, cancelPublicBooking, AiAnswer, signatureNotificationPhrase, signatureRequestMeta, getNotificationTypeMeta, useMailDraftEditor, useFreeBusy, useRooms, useFindTime, useCalendarSupport, useStartCalendarAccountOAuth, useConnectOAuthAccount, useAppPasswords, splitAppPasswords, useBookingPages, useDeleteBookingPage, useSyncCalendarAccount, useUpdateCalendarAccount, useDisconnectCalendarAccount, ACCOUNT_VENDOR, useCalDavProfiles, useConnectCalDavAccount, useCreateAppPassword, useCreateFeed, useSaveBookingPage, useCreateRoom, useRevokeAppPassword } from '@arbidocs/react';
55
+ import { ArbiProvider, useConversations, useRunConversation, useWorkspaceActivity, useWorkspaceUsers, isWorkspaceNotificationType, useArbi, useNotifications, useDeleteNotifications, useMarkNotificationsRead, useWorkspaces, useWorkspaceNotificationLevel, useFollowThread, useUploadSkillFiles, useSkills, useSetSkillVisibility, useDeleteSkill, useSkillSource, useAgentModels, useMcpTools, useAgentConfig, useAgentWorkspaces, useCreateAgent, useSaveAgentConfig, useGrantAgentAccess, useRevokeAgentAccess, useGenerateAgentAvatar, useWorkflowRuns, useConversationActivity, useAgents, ArtifactCanvas, useArbiChat, useDocuments, useTagKindSchema, useTags, useSetTagValues, useUpdateTagKindSchema, useInvalidateTagData, useShellWorkspaces, ArbiBotHeadIcon, useProfile, useUpdateProfile, useRequestEmailChange, useConfirmEmailChange, useNameEditor, useAvatarCrop, useEmailChange, ImageCropModal, useIdentityVerification, usePasswordChange, usePasswordChangeForm, useNotificationPreferences, useSessions, useCurrentSessionId, useTerminateSession, useSignOut, useDeleteAccount, useDeleteAccountFlow, useMailClient, defaultMailAlias, useClaimNativeAlias, useMailOnline, useConnectMailAccount, useDisconnectMailAccount, useMailPolicy, useMailAccounts, useUserSettings, useUpdateUserSettings, useAvailableModels, useArbiWebSocket, useWorkNotifications, mailDraftIdFromContent, useMailUnlock, useMailFolders, useMailMessages, useMailDraftCompose, useMailMessage, useMailCache, MailOfflineUnavailableError, accountPath, useCalendarEvents, useCalendars, useFetchCalendarEvent, useCalendarSettings, useCalendarOverlays, useCalendarOutbox, useCalendarAccounts, useSyncAccountsOnOpen, useResumeCalendarAccountConnect, useCreateEvent, useUpdateEvent, useDeleteEvent, useMoveEvent, useRespondToEvent, useCreateCalendar, useUpdateCalendar, useDeleteCalendar, useImportCalendar, useSaveCalendarSettings, useRefreshCalendar, useCalendarEvent, useMailAttachmentText, useCalendarEventByUid, getPublicBookingPage, bookPublicSlot, PublicBookingError, useAgentSession, useStartAgentSession, useCloseAgentSession, isQueuedCalendarWrite, isAliasTakenError, nextAliasSuggestion, aliasTakenMessage, mailJson, ArbiWebSocketProvider, isDeploymentUserNotification, getWorkspaceActionText, getWorkspaceSentPhrase, describeServerNotification, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_TITLE, documentActivityPhrase, isSignatureNotificationType, inputRequestTitle, WORK_NOTIFICATION_LABELS, useArbiSessionState, documentDisplayName, getWorkspaceKind, formatRelativeTime, useCreateWork, useActOnStep, useConversationThreads, ProviderIcon, formatGbpPerMillionTokens, fileAttachment, useMailProjects, useSaveMailDraft, useSendMail, useMailDraftReplaced, useCalendarInvitations, useDecideCounter, useSearchContacts, usePublishCalendar, useCalendarShares, useShareCalendar, useUnshareCalendar, useSubscribeCalendar, useHolidayCountries, useAddHolidayCalendar, cancelPublicBooking, AiAnswer, signatureNotificationPhrase, signatureRequestMeta, getNotificationTypeMeta, useMailDraftEditor, useFreeBusy, useRooms, useFindTime, useCalendarSupport, useStartCalendarAccountOAuth, useConnectOAuthAccount, useAppPasswords, splitAppPasswords, useBookingPages, useDeleteBookingPage, useSyncCalendarAccount, useUpdateCalendarAccount, useDisconnectCalendarAccount, ACCOUNT_VENDOR, useCalDavProfiles, useConnectCalDavAccount, useCreateAppPassword, useCreateFeed, useSaveBookingPage, useCreateRoom, useRevokeAppPassword } from '@arbidocs/react';
56
56
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
57
- import { Button, Label, Input, cn, Textarea, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DocumentEntity, EntityPill, ShieldIcon, EntityIcon, Tooltip, TooltipTrigger, TooltipContent, Popover, PopoverTrigger, PopoverContent, Tabs, TabsList, TabsTrigger, TabsContent, DialogFooter, UserEntity, Switch } from '@arbidocs/react/ui';
57
+ import { Button, Label, Input, cn, Textarea, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, Switch, DocumentEntity, EntityPill, ShieldIcon, EntityIcon, Tooltip, TooltipTrigger, TooltipContent, Popover, PopoverTrigger, PopoverContent, Tabs, TabsList, TabsTrigger, TabsContent, DialogFooter, UserEntity } from '@arbidocs/react/ui';
58
58
  import { useNotify } from '@arbidocs/react/shell';
59
- import { Bell, Activity, Info, UserCheck, Trash2, Loader2, Upload, Link2, Search, Plus, ArrowLeft, ExternalLink, UserCircle, KeyRound, Radio, Mail, Settings, Video, Printer, CalendarDays, Clock, MapPin, Globe, X, Paperclip, Send, Inbox, CalendarX, CalendarCheck, MessageSquare, CalendarSearch, Pencil, DoorOpen, RefreshCw, CheckCircle2, AlertTriangle, Check, Copy } from 'lucide-react';
59
+ import { Bell, Activity, Info, UserCheck, Trash2, Loader2, Upload, Link2, Search, Plus, ArrowLeft, ExternalLink, Monitor, UserCircle, KeyRound, Radio, LogOut, Wifi, RotateCcw, User, Mail, HatGlasses, MessageSquare, Settings, Video, Printer, CalendarDays, Clock, MapPin, Globe, X, Paperclip, Send, Inbox, CalendarX, CalendarCheck, CalendarSearch, Pencil, DoorOpen, RefreshCw, CheckCircle2, AlertTriangle, Check, Copy } from 'lucide-react';
60
60
  import { useIsOnline, downloadBlob, useOptionalDocumentTools, fetchDocumentPdf, DocumentToolsProvider } from '@arbidocs/react/document-tools';
61
61
  import { useStreamedArtifact } from '@arbidocs/react/artifacts';
62
62
  import { bytesToBase64 } from '@arbidocs/client';
@@ -2743,6 +2743,11 @@ function useConnectedShellWorkspaces(options = {}) {
2743
2743
  select: (workspace) => setWorkspace(workspace.id)
2744
2744
  });
2745
2745
  }
2746
+ function SessionStatusIcon({ status, className }) {
2747
+ if (status === "agent") return /* @__PURE__ */ jsx(ArbiBotHeadIcon, { className: className ?? "w-4 h-4" });
2748
+ return /* @__PURE__ */ jsx(Monitor, { className: className ?? "w-4 h-4 text-muted-foreground" });
2749
+ }
2750
+ var renderSessionStatusIcon = (status) => /* @__PURE__ */ jsx(SessionStatusIcon, { status });
2746
2751
  function errorText2(error, fallback) {
2747
2752
  const body = error?.apiError;
2748
2753
  return typeof body?.detail === "string" ? body.detail : fallback;
@@ -2980,7 +2985,9 @@ function ConnectedNotificationPreferences({
2980
2985
  }
2981
2986
  ) }) });
2982
2987
  }
2983
- function ConnectedSessionsRow({ renderSessionIcon }) {
2988
+ function ConnectedSessionsRow({
2989
+ renderSessionIcon = renderSessionStatusIcon
2990
+ }) {
2984
2991
  const { notify, confirm } = useBlocksEnvironment();
2985
2992
  const [open, setOpen] = useState(false);
2986
2993
  const sessions = useSessions({ enabled: open });
@@ -3046,7 +3053,7 @@ function ConnectedLogoutDialog({
3046
3053
  onClose,
3047
3054
  canLogoutAll = true,
3048
3055
  confirmSignOut,
3049
- renderSessionIcon
3056
+ renderSessionIcon = renderSessionStatusIcon
3050
3057
  }) {
3051
3058
  const sessions = useSessions({ enabled: open });
3052
3059
  const signOut = useSignOut();
@@ -3124,211 +3131,80 @@ function ConnectedDangerZone({ renderSubscriptionLink }) {
3124
3131
  )
3125
3132
  ] });
3126
3133
  }
3127
- function useConnectedDocxNotifications(onOpen) {
3128
- const arbi = useArbi();
3129
- const { status, user, apiUrl } = useConnection();
3130
- const { notify } = useBlocksEnvironment();
3131
- const queries = useQueryClient();
3132
- const source = `docx-mentions:${apiUrl}:${user?.externalId || ""}`;
3133
- const queryKey = ["docx-mentions", apiUrl, user?.externalId];
3134
- const { data = [] } = useQuery({
3135
- queryKey,
3136
- queryFn: () => arbi.notifications.list({ type: "docx_mention" }),
3137
- enabled: status === "authenticated",
3138
- refetchInterval: 3e4
3139
- });
3140
- useArbiWebSocket((message) => {
3141
- if (message.type === "docx_mention") void queries.invalidateQueries({ queryKey });
3142
- });
3143
- useEffect(() => {
3144
- const items = [];
3145
- if (status === "authenticated")
3146
- for (const note of data) {
3147
- if (note.recipient.external_id !== user?.externalId || !note.workspace_ext_id) continue;
3148
- try {
3149
- const target = JSON.parse(note.content || "{}");
3150
- if (!target.document_id?.startsWith("doc-") || !target.comment_id) continue;
3151
- const documentId = target.document_id, commentId = target.comment_id, workspaceId = note.workspace_ext_id;
3152
- items.push({
3153
- id: `docx:${note.external_id}`,
3154
- title: "Mentioned you in a document comment",
3155
- description: [note.sender.given_name, note.sender.family_name].filter(Boolean).join(" "),
3156
- variant: "info",
3157
- ts: Date.parse(note.created_at),
3158
- read: note.read,
3159
- source,
3160
- onSelect: () => {
3161
- void Promise.resolve(onOpen({ documentId, commentId, workspaceId })).catch(
3162
- (error) => notify(
3163
- error instanceof Error ? error.message : "Could not open the document.",
3164
- "error"
3165
- )
3166
- );
3167
- }
3168
- });
3169
- } catch {
3170
- }
3171
- }
3172
- useNotify.getState().syncSource(source, items);
3173
- return () => useNotify.getState().syncSource(source, []);
3174
- }, [data, status, user?.externalId, source, onOpen, notify]);
3175
- const markRead = async (ids) => {
3176
- try {
3177
- await arbi.notifications.markRead(ids);
3178
- await queries.invalidateQueries({ queryKey });
3179
- } catch {
3180
- notify("Could not mark document mentions read.", "error");
3181
- }
3182
- };
3183
- return {
3184
- onMarkRead: (id) => {
3185
- if (id.startsWith("docx:")) void markRead([id.slice(5)]);
3186
- },
3187
- onMarkAllRead: () => {
3188
- void markRead(
3189
- data.filter((note) => !note.read && note.recipient.external_id === user?.externalId).map((note) => note.external_id)
3190
- );
3191
- }
3192
- };
3193
- }
3194
- function useConnectedWorkNotifications(onOpen) {
3195
- const { status, user, apiUrl } = useConnection();
3196
- const { notify } = useBlocksEnvironment();
3197
- const source = `work-notifications:${apiUrl}:${user?.externalId || ""}`;
3198
- const { data = [], markRead: persistRead } = useWorkNotifications({
3199
- apiUrl,
3200
- userId: user?.externalId,
3201
- enabled: status === "authenticated"
3202
- });
3203
- useEffect(() => {
3204
- const items = [];
3205
- if (status === "authenticated")
3206
- for (const note of data) {
3207
- if (note.recipient.external_id !== user?.externalId) continue;
3208
- const mapped = mapWorkNotification(note);
3209
- if (!mapped) continue;
3210
- items.push({
3211
- id: `work:${note.external_id}`,
3212
- title: mapped.title,
3213
- variant: note.type === "workflow_failed" ? "error" : note.type === "conversation_done" ? "success" : "info",
3214
- ts: Date.parse(note.created_at),
3215
- read: note.read,
3216
- source,
3217
- onSelect: () => {
3218
- void Promise.resolve().then(() => onOpen(mapped.target)).catch(
3219
- (error) => notify(
3220
- error instanceof Error ? error.message : "Could not open this notification.",
3221
- "error"
3222
- )
3223
- );
3224
- }
3225
- });
3226
- }
3227
- useNotify.getState().syncSource(source, items);
3228
- return () => useNotify.getState().syncSource(source, []);
3229
- }, [data, status, user?.externalId, source, onOpen, notify]);
3230
- const markRead = async (ids) => {
3231
- if (!ids.length) return;
3134
+ function ServerConnectionRow({ onRefresh, ...status }) {
3135
+ const { runtimeConfig } = useBlocksEnvironment();
3136
+ const [isRefreshing, setIsRefreshing] = useState(false);
3137
+ const view = serverConnectionView(status, runtimeConfig.deploymentDomain || "server");
3138
+ const refresh = async () => {
3139
+ setIsRefreshing(true);
3232
3140
  try {
3233
- await persistRead(ids);
3234
- } catch {
3235
- notify("Could not mark work notifications read.", "error");
3141
+ await onRefresh();
3142
+ } finally {
3143
+ setIsRefreshing(false);
3236
3144
  }
3237
3145
  };
3238
- return {
3239
- onMarkRead: (id) => {
3240
- if (data.some(
3241
- (note) => `work:${note.external_id}` === id && note.recipient.external_id === user?.externalId && mapWorkNotification(note)
3242
- ))
3243
- void markRead([id.slice(5)]);
3244
- },
3245
- onMarkAllRead: () => {
3246
- void markRead(
3247
- data.filter(
3248
- (note) => !note.read && note.recipient.external_id === user?.externalId && mapWorkNotification(note)
3249
- ).map((note) => note.external_id)
3250
- );
3146
+ return /* @__PURE__ */ jsx(SettingsRow, { label: "Server connection", description: view.description, children: /* @__PURE__ */ jsx(
3147
+ ServerConnectionButton,
3148
+ {
3149
+ state: view.state,
3150
+ label: view.label,
3151
+ isRefreshing,
3152
+ onRefresh: () => void refresh()
3251
3153
  }
3252
- };
3154
+ ) });
3253
3155
  }
3254
- function mapWorkNotification(note) {
3255
- const sender = [note.sender.given_name, note.sender.family_name].filter(Boolean).join(" ") || note.sender.email;
3256
- if (note.type === "workflow_failed") {
3257
- try {
3258
- const payload = JSON.parse(note.content || "{}");
3259
- if (!payload.workflow_ext_id?.match(/^wfl-[a-zA-Z0-9]+$/)) return null;
3260
- if (note.workspace_ext_id?.match(/^wrk-[a-zA-Z0-9]+$/) && note.conversation_ext_id?.match(/^con-[a-zA-Z0-9]+$/)) {
3261
- return {
3262
- title: "A workflow failed to run",
3263
- target: {
3264
- kind: "conversation",
3265
- workspaceId: note.workspace_ext_id,
3266
- conversationId: note.conversation_ext_id
3267
- }
3268
- };
3156
+ function ConnectedAccountSettings({
3157
+ avatarClassName,
3158
+ onManageBilling,
3159
+ formatIdentityPrice,
3160
+ afterProfile,
3161
+ getUnmetPasswordRequirement,
3162
+ securityRows,
3163
+ connection,
3164
+ onLogout,
3165
+ renderSessionIcon,
3166
+ renderSubscriptionLink
3167
+ }) {
3168
+ const [logoutOpen, setLogoutOpen] = useState(false);
3169
+ return /* @__PURE__ */ jsxs(SettingsPanel, { className: "max-w-2xl", children: [
3170
+ /* @__PURE__ */ jsx(ConnectedProfileCard, { avatarClassName, children: /* @__PURE__ */ jsx(
3171
+ ConnectedIdentityVerification,
3172
+ {
3173
+ onManageBilling,
3174
+ formatPrice: formatIdentityPrice
3269
3175
  }
3270
- return {
3271
- title: "A workflow failed to run",
3272
- target: {
3273
- kind: "workflow",
3274
- workflowId: payload.workflow_ext_id,
3275
- workspaceId: note.workspace_ext_id || void 0
3176
+ ) }),
3177
+ afterProfile,
3178
+ /* @__PURE__ */ jsx(ConnectedSecuritySection, { getUnmetRequirement: getUnmetPasswordRequirement, children: securityRows }),
3179
+ /* @__PURE__ */ jsx(SettingsSection, { icon: /* @__PURE__ */ jsx(Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxs(SettingsCard, { children: [
3180
+ connection && /* @__PURE__ */ jsx(ServerConnectionRow, { ...connection }),
3181
+ /* @__PURE__ */ jsx(ConnectedSessionsRow, { renderSessionIcon }),
3182
+ /* @__PURE__ */ jsx(SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxs(
3183
+ Button,
3184
+ {
3185
+ type: "button",
3186
+ variant: "secondary",
3187
+ size: "sm",
3188
+ onClick: onLogout ?? (() => setLogoutOpen(true)),
3189
+ className: "flex items-center gap-2",
3190
+ "data-testid": "logout-button",
3191
+ children: [
3192
+ /* @__PURE__ */ jsx(LogOut, { className: "w-4 h-4" }),
3193
+ "Logout"
3194
+ ]
3276
3195
  }
3277
- };
3278
- } catch {
3279
- return null;
3280
- }
3281
- }
3282
- if (note.type === "mail_draft_ready") {
3283
- const draftId = mailDraftIdFromContent(note.content);
3284
- if (!draftId) return null;
3285
- return {
3286
- title: `${sender} left a draft email for you to review`,
3287
- target: { kind: "mail_draft", draftId, mailbox: "native" }
3288
- };
3289
- }
3290
- const titles = {
3291
- mention: `${sender} mentioned you in a conversation`,
3292
- workspace_access_request: `${sender} needs workspace access to run a thread`,
3293
- conversation_ready: note.sender.external_id === note.recipient.external_id ? "Your thread is ready" : `${sender}\u2019s thread is ready`,
3294
- conversation_done: `${sender} marked a thread done`
3295
- };
3296
- const title = titles[note.type];
3297
- if (!title || !note.workspace_ext_id || !note.conversation_ext_id?.match(/^con-[a-zA-Z0-9]+$/))
3298
- return null;
3299
- return {
3300
- title,
3301
- target: {
3302
- kind: "conversation",
3303
- workspaceId: note.workspace_ext_id,
3304
- conversationId: note.conversation_ext_id,
3305
- ...note.message_ext_id ? { messageId: note.message_ext_id } : {}
3306
- }
3307
- };
3308
- }
3309
- function attachmentPath(accountId, messageId, attachmentId) {
3310
- return `${accountPath(accountId)}/messages/${encodeURIComponent(messageId)}/attachments/${encodeURIComponent(attachmentId)}`;
3311
- }
3312
- function saveFile(blob, name) {
3313
- const url = URL.createObjectURL(blob);
3314
- const link = document.createElement("a");
3315
- link.href = url;
3316
- link.download = name;
3317
- link.click();
3318
- setTimeout(() => URL.revokeObjectURL(url), 1e3);
3319
- }
3320
- function hydrateMailAttachments(client, account, messageId, attachments, { isOnline, offline }) {
3321
- return Promise.all(
3322
- attachments.map(async (a) => {
3323
- if (a.content_base64 != null) return a;
3324
- if (!isOnline) {
3325
- const file = await offline?.loadAttachment(account.id, messageId, a);
3326
- return file ? { ...a, content_base64: bytesToBase64(new Uint8Array(await file.arrayBuffer())) } : { ...a, content_base64: null };
3196
+ ) })
3197
+ ] }) }),
3198
+ /* @__PURE__ */ jsx(ConnectedDangerZone, { renderSubscriptionLink }),
3199
+ !onLogout && /* @__PURE__ */ jsx(
3200
+ ConnectedLogoutDialog,
3201
+ {
3202
+ open: logoutOpen,
3203
+ onClose: () => setLogoutOpen(false),
3204
+ renderSessionIcon
3327
3205
  }
3328
- const response = await client.fetch(attachmentPath(account.id, messageId, a.id));
3329
- return fileAttachment(new File([await response.blob()], a.name, { type: a.content_type }));
3330
- })
3331
- );
3206
+ )
3207
+ ] });
3332
3208
  }
3333
3209
  function ConnectedMailAccounts({
3334
3210
  policy,
@@ -3553,6 +3429,504 @@ function ConnectedMailAccounts({
3553
3429
  }
3554
3430
  );
3555
3431
  }
3432
+ var noop = () => {
3433
+ };
3434
+ function ConnectedMailSettings({ oauthReturnPath, settings }) {
3435
+ const { data: policy } = useMailPolicy();
3436
+ const accounts = useMailAccounts({ enabled: !!policy?.enabled });
3437
+ const { data: profile } = useProfile();
3438
+ if (accounts.isError) {
3439
+ return /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: accounts.error.message });
3440
+ }
3441
+ if (!policy || !accounts.isSuccess) return /* @__PURE__ */ jsx("p", { children: "Loading mail accounts\u2026" });
3442
+ return /* @__PURE__ */ jsx(
3443
+ ConnectedMailAccounts,
3444
+ {
3445
+ embedded: true,
3446
+ policy,
3447
+ accounts: accounts.data,
3448
+ user: profile && { given_name: profile.givenName, family_name: profile.familyName },
3449
+ oauthReturnPath,
3450
+ settings,
3451
+ onClose: noop
3452
+ },
3453
+ profile ? "named" : "unnamed"
3454
+ );
3455
+ }
3456
+ function ConnectedPrivacySettings({
3457
+ rows,
3458
+ showTipsReset = false
3459
+ }) {
3460
+ const { data: settings } = useUserSettings();
3461
+ const update = useUpdateUserSettings();
3462
+ const hideOnlineStatus = settings?.hide_online_status ?? false;
3463
+ const dismissedTips = settings?.dismissed_tips ?? [];
3464
+ return /* @__PURE__ */ jsxs(SettingsPanel, { className: "max-w-2xl", children: [
3465
+ /* @__PURE__ */ jsx(SettingsSection, { title: "Privacy and tips", children: /* @__PURE__ */ jsxs(SettingsCard, { children: [
3466
+ /* @__PURE__ */ jsx(
3467
+ SettingsRow,
3468
+ {
3469
+ label: "Show Online Status",
3470
+ labelFor: "showOnlineStatus",
3471
+ description: "When on, other users can see when you're online",
3472
+ children: /* @__PURE__ */ jsx(
3473
+ Switch,
3474
+ {
3475
+ id: "showOnlineStatus",
3476
+ checked: !hideOnlineStatus,
3477
+ onCheckedChange: (value) => update.mutate({ hide_online_status: !value }),
3478
+ "data-testid": "toggle-show-online-status"
3479
+ }
3480
+ )
3481
+ }
3482
+ ),
3483
+ rows,
3484
+ showTipsReset && /* @__PURE__ */ jsx(
3485
+ SettingsRow,
3486
+ {
3487
+ label: "Hidden tips",
3488
+ description: "Restore any Smart Tips you\u2019ve hidden with \u201Cdon\u2019t show again\u201D.",
3489
+ children: /* @__PURE__ */ jsxs(
3490
+ Button,
3491
+ {
3492
+ type: "button",
3493
+ variant: "outline",
3494
+ size: "sm",
3495
+ onClick: () => update.mutate({ dismissed_tips: [] }),
3496
+ disabled: dismissedTips.length === 0,
3497
+ className: "gap-1.5",
3498
+ "data-testid": "reset-tips-button",
3499
+ children: [
3500
+ /* @__PURE__ */ jsx(RotateCcw, { className: "h-4 w-4" }),
3501
+ "Reset tips"
3502
+ ]
3503
+ }
3504
+ )
3505
+ }
3506
+ )
3507
+ ] }) }),
3508
+ /* @__PURE__ */ jsx(ConnectedNotificationPreferences, {})
3509
+ ] });
3510
+ }
3511
+ var PROVIDER_NAMES = {
3512
+ openai: "OpenAI",
3513
+ fireworks_ai: "Fireworks AI",
3514
+ "vertex_ai-language-models": "Google",
3515
+ vertex_ai: "Google",
3516
+ gemini: "Google",
3517
+ anthropic: "Anthropic"
3518
+ };
3519
+ var isStandard = (model) => !!model?.tags?.includes("Standard");
3520
+ function PremiumCostHeader() {
3521
+ return /* @__PURE__ */ jsx("span", { className: "flex items-center gap-0.5", children: "\xA3/MT in-out" });
3522
+ }
3523
+ function cheapest(models) {
3524
+ return [...models].sort((a, b) => {
3525
+ const ao = a.output_cost_per_token;
3526
+ const bo = b.output_cost_per_token;
3527
+ if (ao == null && bo == null) return 0;
3528
+ if (ao == null) return 1;
3529
+ if (bo == null) return -1;
3530
+ return ao - bo;
3531
+ })[0];
3532
+ }
3533
+ var COLUMNS = [
3534
+ {
3535
+ colId: "model_name",
3536
+ headerName: "Model",
3537
+ field: "model_name",
3538
+ flex: 2,
3539
+ minWidth: 130,
3540
+ tooltipField: "model_name"
3541
+ },
3542
+ {
3543
+ colId: "provider",
3544
+ headerName: "Provider",
3545
+ field: "provider",
3546
+ flex: 1,
3547
+ minWidth: 120,
3548
+ cellRenderer: (params) => isStandard(params.data) ? /* @__PURE__ */ jsx(
3549
+ ModelProviderLabel,
3550
+ {
3551
+ logo: /* @__PURE__ */ jsx("img", { src: "/favicon.svg", alt: "ARBI", className: "size-3.5 flex-shrink-0 rounded-sm" }),
3552
+ children: "ARBI CITY"
3553
+ }
3554
+ ) : /* @__PURE__ */ jsx(
3555
+ ModelProviderLabel,
3556
+ {
3557
+ logo: /* @__PURE__ */ jsx(ProviderIcon, { modelName: params.data?.model_name, provider: params.value, size: 14 }),
3558
+ children: PROVIDER_NAMES[params.value ?? ""] || params.value || "\u2014"
3559
+ }
3560
+ )
3561
+ },
3562
+ {
3563
+ // Input and output cost in one column so the table fits the panel; sorted by output cost.
3564
+ colId: "cost",
3565
+ headerName: "Cost / MTok",
3566
+ headerComponentParams: { innerHeaderComponent: PremiumCostHeader },
3567
+ headerTooltip: "\xA3 per million tokens \u2014 input then output",
3568
+ field: "output_cost_per_token",
3569
+ flex: 1,
3570
+ minWidth: 120,
3571
+ type: "rightAligned",
3572
+ cellRenderer: (params) => /* @__PURE__ */ jsxs("span", { className: "tabular-nums", children: [
3573
+ formatGbpPerMillionTokens(params.data?.input_cost_per_token) ?? "\xA30",
3574
+ "-",
3575
+ formatGbpPerMillionTokens(params.data?.output_cost_per_token) ?? "\xA30"
3576
+ ] })
3577
+ }
3578
+ ];
3579
+ function ConnectedPremiumModels() {
3580
+ const { notify } = useBlocksEnvironment();
3581
+ const { data: settings } = useUserSettings();
3582
+ const update = useUpdateUserSettings();
3583
+ const { data: available } = useAvailableModels();
3584
+ const isDeveloper = settings?.developer === true;
3585
+ const premiumModel = settings?.premium_model;
3586
+ const premiumModels = useMemo(
3587
+ () => (available?.models ?? []).filter(
3588
+ (m) => m.tags?.includes("Premium") && (isDeveloper || !m.model_name.includes("@"))
3589
+ ),
3590
+ [available, isDeveloper]
3591
+ );
3592
+ const rows = useMemo(() => {
3593
+ const standards = (available?.models ?? []).filter(isStandard);
3594
+ if (standards.length === 0) return premiumModels;
3595
+ const reference = {
3596
+ ...standards[0],
3597
+ model_name: `Standard (${standards.map((m) => m.model_name).join(", ")})`
3598
+ };
3599
+ return [reference, ...premiumModels];
3600
+ }, [available, premiumModels]);
3601
+ const current = premiumModel ?? available?.premium_default ?? "";
3602
+ const save = useCallback(
3603
+ (model) => update.mutate(
3604
+ { premium_model: model },
3605
+ {
3606
+ onError: (err) => notify(`Failed to update Premium setting: ${String(err)}`, "error")
3607
+ }
3608
+ ),
3609
+ [update, notify]
3610
+ );
3611
+ const currentRef = useRef(current);
3612
+ currentRef.current = current;
3613
+ const [selected, setSelected] = useState([]);
3614
+ useEffect(() => {
3615
+ const match = premiumModels.filter((m) => m.model_name === current);
3616
+ setSelected(
3617
+ (prev) => prev.length === match.length && prev[0]?.model_name === match[0]?.model_name ? prev : match
3618
+ );
3619
+ }, [current, premiumModels]);
3620
+ const onSelectionChange = useCallback(
3621
+ (items) => {
3622
+ const picked = items.filter((m) => !isStandard(m));
3623
+ const next = picked[0]?.model_name;
3624
+ if (!next || next === currentRef.current) return;
3625
+ setSelected(picked);
3626
+ save(next);
3627
+ },
3628
+ [save]
3629
+ );
3630
+ if (premiumModels.length === 0) return null;
3631
+ return /* @__PURE__ */ jsx(SettingsPanel, { className: "max-w-2xl space-y-4", children: /* @__PURE__ */ jsx(SettingsSection, { title: "Premium models", children: /* @__PURE__ */ jsx(SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsx(
3632
+ PremiumModelsFrame,
3633
+ {
3634
+ enabled: premiumModel !== "",
3635
+ onEnabledChange: (enabled) => {
3636
+ const target = enabled ? cheapest(premiumModels)?.model_name : "";
3637
+ if (target !== void 0) save(target);
3638
+ },
3639
+ children: /* @__PURE__ */ jsx(
3640
+ GridView,
3641
+ {
3642
+ items: rows,
3643
+ columnDefs: COLUMNS,
3644
+ getItemId: (m) => m.model_name,
3645
+ selection: { mode: "single", selected, onSelectionChange },
3646
+ gridOptions: {
3647
+ rowClassRules: { "opacity-60 italic": (p) => isStandard(p.data) }
3648
+ },
3649
+ height: Math.min(rows.length * 40 + 48, 320),
3650
+ testId: "premium-model-grid"
3651
+ }
3652
+ )
3653
+ }
3654
+ ) }) }) });
3655
+ }
3656
+ var SETTINGS_SECTION_IDS = {
3657
+ account: "account",
3658
+ mail: "mail",
3659
+ privacy: "privacy",
3660
+ chat: "chat"
3661
+ };
3662
+ function accountSettingsSection(props) {
3663
+ return {
3664
+ id: SETTINGS_SECTION_IDS.account,
3665
+ label: "Account",
3666
+ icon: /* @__PURE__ */ jsx(User, { className: "w-6 h-6" }),
3667
+ render: () => /* @__PURE__ */ jsx(ConnectedAccountSettings, { ...props })
3668
+ };
3669
+ }
3670
+ function mailSettingsSection(props) {
3671
+ return {
3672
+ id: SETTINGS_SECTION_IDS.mail,
3673
+ label: "Mail",
3674
+ icon: /* @__PURE__ */ jsx(Mail, { className: "w-6 h-6" }),
3675
+ render: () => /* @__PURE__ */ jsx(ConnectedMailSettings, { ...props })
3676
+ };
3677
+ }
3678
+ function privacySettingsSection(props) {
3679
+ return {
3680
+ id: SETTINGS_SECTION_IDS.privacy,
3681
+ label: "Privacy",
3682
+ icon: /* @__PURE__ */ jsx(HatGlasses, { className: "w-6 h-6" }),
3683
+ render: () => /* @__PURE__ */ jsx(ConnectedPrivacySettings, { ...props })
3684
+ };
3685
+ }
3686
+ function chatSettingsSection() {
3687
+ return {
3688
+ id: SETTINGS_SECTION_IDS.chat,
3689
+ label: "Chat",
3690
+ icon: /* @__PURE__ */ jsx(MessageSquare, { className: "w-6 h-6" }),
3691
+ render: () => /* @__PURE__ */ jsx(ConnectedPremiumModels, {})
3692
+ };
3693
+ }
3694
+ var DEFAULT_SETTINGS_SECTIONS = [
3695
+ accountSettingsSection(),
3696
+ privacySettingsSection(),
3697
+ chatSettingsSection()
3698
+ ];
3699
+ function ConnectedSettingsPage({
3700
+ sections = DEFAULT_SETTINGS_SECTIONS,
3701
+ section,
3702
+ onSectionChange,
3703
+ ...page
3704
+ }) {
3705
+ const requested = useRequestedSettingsSection();
3706
+ const [local, setLocal] = useState(requested?.section);
3707
+ useEffect(() => {
3708
+ if (requested) setLocal(requested.section);
3709
+ }, [requested]);
3710
+ const controlled = section !== void 0;
3711
+ return /* @__PURE__ */ jsx(
3712
+ SettingsPage,
3713
+ {
3714
+ ...page,
3715
+ sections,
3716
+ activeSectionId: controlled ? section : local,
3717
+ onSectionChange: (id) => {
3718
+ if (!controlled) setLocal(id);
3719
+ onSectionChange?.(id);
3720
+ }
3721
+ }
3722
+ );
3723
+ }
3724
+ function useConnectedDocxNotifications(onOpen) {
3725
+ const arbi = useArbi();
3726
+ const { status, user, apiUrl } = useConnection();
3727
+ const { notify } = useBlocksEnvironment();
3728
+ const queries = useQueryClient();
3729
+ const source = `docx-mentions:${apiUrl}:${user?.externalId || ""}`;
3730
+ const queryKey = ["docx-mentions", apiUrl, user?.externalId];
3731
+ const { data = [] } = useQuery({
3732
+ queryKey,
3733
+ queryFn: () => arbi.notifications.list({ type: "docx_mention" }),
3734
+ enabled: status === "authenticated",
3735
+ refetchInterval: 3e4
3736
+ });
3737
+ useArbiWebSocket((message) => {
3738
+ if (message.type === "docx_mention") void queries.invalidateQueries({ queryKey });
3739
+ });
3740
+ useEffect(() => {
3741
+ const items = [];
3742
+ if (status === "authenticated")
3743
+ for (const note of data) {
3744
+ if (note.recipient.external_id !== user?.externalId || !note.workspace_ext_id) continue;
3745
+ try {
3746
+ const target = JSON.parse(note.content || "{}");
3747
+ if (!target.document_id?.startsWith("doc-") || !target.comment_id) continue;
3748
+ const documentId = target.document_id, commentId = target.comment_id, workspaceId = note.workspace_ext_id;
3749
+ items.push({
3750
+ id: `docx:${note.external_id}`,
3751
+ title: "Mentioned you in a document comment",
3752
+ description: [note.sender.given_name, note.sender.family_name].filter(Boolean).join(" "),
3753
+ variant: "info",
3754
+ ts: Date.parse(note.created_at),
3755
+ read: note.read,
3756
+ source,
3757
+ onSelect: () => {
3758
+ void Promise.resolve(onOpen({ documentId, commentId, workspaceId })).catch(
3759
+ (error) => notify(
3760
+ error instanceof Error ? error.message : "Could not open the document.",
3761
+ "error"
3762
+ )
3763
+ );
3764
+ }
3765
+ });
3766
+ } catch {
3767
+ }
3768
+ }
3769
+ useNotify.getState().syncSource(source, items);
3770
+ return () => useNotify.getState().syncSource(source, []);
3771
+ }, [data, status, user?.externalId, source, onOpen, notify]);
3772
+ const markRead = async (ids) => {
3773
+ try {
3774
+ await arbi.notifications.markRead(ids);
3775
+ await queries.invalidateQueries({ queryKey });
3776
+ } catch {
3777
+ notify("Could not mark document mentions read.", "error");
3778
+ }
3779
+ };
3780
+ return {
3781
+ onMarkRead: (id) => {
3782
+ if (id.startsWith("docx:")) void markRead([id.slice(5)]);
3783
+ },
3784
+ onMarkAllRead: () => {
3785
+ void markRead(
3786
+ data.filter((note) => !note.read && note.recipient.external_id === user?.externalId).map((note) => note.external_id)
3787
+ );
3788
+ }
3789
+ };
3790
+ }
3791
+ function useConnectedWorkNotifications(onOpen) {
3792
+ const { status, user, apiUrl } = useConnection();
3793
+ const { notify } = useBlocksEnvironment();
3794
+ const source = `work-notifications:${apiUrl}:${user?.externalId || ""}`;
3795
+ const { data = [], markRead: persistRead } = useWorkNotifications({
3796
+ apiUrl,
3797
+ userId: user?.externalId,
3798
+ enabled: status === "authenticated"
3799
+ });
3800
+ useEffect(() => {
3801
+ const items = [];
3802
+ if (status === "authenticated")
3803
+ for (const note of data) {
3804
+ if (note.recipient.external_id !== user?.externalId) continue;
3805
+ const mapped = mapWorkNotification(note);
3806
+ if (!mapped) continue;
3807
+ items.push({
3808
+ id: `work:${note.external_id}`,
3809
+ title: mapped.title,
3810
+ variant: note.type === "workflow_failed" ? "error" : note.type === "conversation_done" ? "success" : "info",
3811
+ ts: Date.parse(note.created_at),
3812
+ read: note.read,
3813
+ source,
3814
+ onSelect: () => {
3815
+ void Promise.resolve().then(() => onOpen(mapped.target)).catch(
3816
+ (error) => notify(
3817
+ error instanceof Error ? error.message : "Could not open this notification.",
3818
+ "error"
3819
+ )
3820
+ );
3821
+ }
3822
+ });
3823
+ }
3824
+ useNotify.getState().syncSource(source, items);
3825
+ return () => useNotify.getState().syncSource(source, []);
3826
+ }, [data, status, user?.externalId, source, onOpen, notify]);
3827
+ const markRead = async (ids) => {
3828
+ if (!ids.length) return;
3829
+ try {
3830
+ await persistRead(ids);
3831
+ } catch {
3832
+ notify("Could not mark work notifications read.", "error");
3833
+ }
3834
+ };
3835
+ return {
3836
+ onMarkRead: (id) => {
3837
+ if (data.some(
3838
+ (note) => `work:${note.external_id}` === id && note.recipient.external_id === user?.externalId && mapWorkNotification(note)
3839
+ ))
3840
+ void markRead([id.slice(5)]);
3841
+ },
3842
+ onMarkAllRead: () => {
3843
+ void markRead(
3844
+ data.filter(
3845
+ (note) => !note.read && note.recipient.external_id === user?.externalId && mapWorkNotification(note)
3846
+ ).map((note) => note.external_id)
3847
+ );
3848
+ }
3849
+ };
3850
+ }
3851
+ function mapWorkNotification(note) {
3852
+ const sender = [note.sender.given_name, note.sender.family_name].filter(Boolean).join(" ") || note.sender.email;
3853
+ if (note.type === "workflow_failed") {
3854
+ try {
3855
+ const payload = JSON.parse(note.content || "{}");
3856
+ if (!payload.workflow_ext_id?.match(/^wfl-[a-zA-Z0-9]+$/)) return null;
3857
+ if (note.workspace_ext_id?.match(/^wrk-[a-zA-Z0-9]+$/) && note.conversation_ext_id?.match(/^con-[a-zA-Z0-9]+$/)) {
3858
+ return {
3859
+ title: "A workflow failed to run",
3860
+ target: {
3861
+ kind: "conversation",
3862
+ workspaceId: note.workspace_ext_id,
3863
+ conversationId: note.conversation_ext_id
3864
+ }
3865
+ };
3866
+ }
3867
+ return {
3868
+ title: "A workflow failed to run",
3869
+ target: {
3870
+ kind: "workflow",
3871
+ workflowId: payload.workflow_ext_id,
3872
+ workspaceId: note.workspace_ext_id || void 0
3873
+ }
3874
+ };
3875
+ } catch {
3876
+ return null;
3877
+ }
3878
+ }
3879
+ if (note.type === "mail_draft_ready") {
3880
+ const draftId = mailDraftIdFromContent(note.content);
3881
+ if (!draftId) return null;
3882
+ return {
3883
+ title: `${sender} left a draft email for you to review`,
3884
+ target: { kind: "mail_draft", draftId, mailbox: "native" }
3885
+ };
3886
+ }
3887
+ const titles = {
3888
+ mention: `${sender} mentioned you in a conversation`,
3889
+ workspace_access_request: `${sender} needs workspace access to run a thread`,
3890
+ conversation_ready: note.sender.external_id === note.recipient.external_id ? "Your thread is ready" : `${sender}\u2019s thread is ready`,
3891
+ conversation_done: `${sender} marked a thread done`
3892
+ };
3893
+ const title = titles[note.type];
3894
+ if (!title || !note.workspace_ext_id || !note.conversation_ext_id?.match(/^con-[a-zA-Z0-9]+$/))
3895
+ return null;
3896
+ return {
3897
+ title,
3898
+ target: {
3899
+ kind: "conversation",
3900
+ workspaceId: note.workspace_ext_id,
3901
+ conversationId: note.conversation_ext_id,
3902
+ ...note.message_ext_id ? { messageId: note.message_ext_id } : {}
3903
+ }
3904
+ };
3905
+ }
3906
+ function attachmentPath(accountId, messageId, attachmentId) {
3907
+ return `${accountPath(accountId)}/messages/${encodeURIComponent(messageId)}/attachments/${encodeURIComponent(attachmentId)}`;
3908
+ }
3909
+ function saveFile(blob, name) {
3910
+ const url = URL.createObjectURL(blob);
3911
+ const link = document.createElement("a");
3912
+ link.href = url;
3913
+ link.download = name;
3914
+ link.click();
3915
+ setTimeout(() => URL.revokeObjectURL(url), 1e3);
3916
+ }
3917
+ function hydrateMailAttachments(client, account, messageId, attachments, { isOnline, offline }) {
3918
+ return Promise.all(
3919
+ attachments.map(async (a) => {
3920
+ if (a.content_base64 != null) return a;
3921
+ if (!isOnline) {
3922
+ const file = await offline?.loadAttachment(account.id, messageId, a);
3923
+ return file ? { ...a, content_base64: bytesToBase64(new Uint8Array(await file.arrayBuffer())) } : { ...a, content_base64: null };
3924
+ }
3925
+ const response = await client.fetch(attachmentPath(account.id, messageId, a.id));
3926
+ return fileAttachment(new File([await response.blob()], a.name, { type: a.content_type }));
3927
+ })
3928
+ );
3929
+ }
3556
3930
  var sessionRooms = /* @__PURE__ */ new Map();
3557
3931
  function useWordBody({
3558
3932
  word,
@@ -8893,6 +9267,6 @@ function ConnectedAgentChatPanel({
8893
9267
  ] });
8894
9268
  }
8895
9269
 
8896
- export { ArbiAppProvider, ConnectedAgentChatPanel, ConnectedAgentCreator, ConnectedCalendar, ConnectedDangerZone, ConnectedIdentityVerification, ConnectedLogoutDialog, ConnectedMailAccounts, ConnectedMailComposer, ConnectedMailInviteCard, ConnectedMailMessage, ConnectedMailSetup, ConnectedMailbox, ConnectedNotificationCenter, ConnectedNotificationPreferences, ConnectedPasswordChangeDialog, ConnectedProfileCard, ConnectedPublicBooking, ConnectedRequireVerified, ConnectedSecuritySection, ConnectedSessionsRow, ConnectedSkillUpload, ConnectedSkillsLibrary, ConnectedTagTable, ConnectedTaskAccessRequest, ConnectedTaskActivityDialog, ConnectedThreadFollow, ConnectedUpcomingEvents, ConnectedWorkflowHistory, ConnectedWorkflowRunner, ConnectedWorkspaceActivity, ConnectedWorkspaceNotificationMenu, DEFAULT_CONNECTED_SKILL_UPLOAD_LABELS, DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS, NotificationCenter, NotificationEvent, StreamedArtifact, WorkflowRunThread, bookingCancelLink, buildNotificationCenterItems, countNotificationTypes, defaultUnmetPasswordRequirement, filterNotificationCenterItems, openMeetingLink, requestCalendarComposer, requestCalendarEvent, resolveMailbox, useCalendarViewStore, useConnectedDocxNotifications, useConnectedShellWorkspaces, useConnectedWorkNotifications, workflowRunView };
9270
+ export { ArbiAppProvider, ConnectedAccountSettings, ConnectedAgentChatPanel, ConnectedAgentCreator, ConnectedCalendar, ConnectedDangerZone, ConnectedIdentityVerification, ConnectedLogoutDialog, ConnectedMailAccounts, ConnectedMailComposer, ConnectedMailInviteCard, ConnectedMailMessage, ConnectedMailSettings, ConnectedMailSetup, ConnectedMailbox, ConnectedNotificationCenter, ConnectedNotificationPreferences, ConnectedPasswordChangeDialog, ConnectedPremiumModels, ConnectedPrivacySettings, ConnectedProfileCard, ConnectedPublicBooking, ConnectedRequireVerified, ConnectedSecuritySection, ConnectedSessionsRow, ConnectedSettingsPage, ConnectedSkillUpload, ConnectedSkillsLibrary, ConnectedTagTable, ConnectedTaskAccessRequest, ConnectedTaskActivityDialog, ConnectedThreadFollow, ConnectedUpcomingEvents, ConnectedWorkflowHistory, ConnectedWorkflowRunner, ConnectedWorkspaceActivity, ConnectedWorkspaceNotificationMenu, DEFAULT_CONNECTED_SKILL_UPLOAD_LABELS, DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS, DEFAULT_SETTINGS_SECTIONS, NotificationCenter, NotificationEvent, SETTINGS_SECTION_IDS, SessionStatusIcon, StreamedArtifact, WorkflowRunThread, accountSettingsSection, bookingCancelLink, buildNotificationCenterItems, chatSettingsSection, countNotificationTypes, defaultUnmetPasswordRequirement, filterNotificationCenterItems, mailSettingsSection, openMeetingLink, privacySettingsSection, renderSessionStatusIcon, requestCalendarComposer, requestCalendarEvent, resolveMailbox, useCalendarViewStore, useConnectedDocxNotifications, useConnectedShellWorkspaces, useConnectedWorkNotifications, workflowRunView };
8897
9271
  //# sourceMappingURL=index.js.map
8898
9272
  //# sourceMappingURL=index.js.map