@arbidocs/react 0.3.159 → 0.3.161

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/index.d.cts CHANGED
@@ -193,6 +193,17 @@ interface ChatBubbleProps {
193
193
  deleted?: boolean;
194
194
  read?: boolean;
195
195
  onDelete?: () => void;
196
+ /**
197
+ * Copy a shareable deep link to this exact message. Optional — the host
198
+ * builds the URL (it knows the workspace/deployment domain, the light
199
+ * package doesn't), this just renders the affordance and calls back.
200
+ */
201
+ onCopyLink?: () => void;
202
+ /** Stable DOM anchor for scroll-to-message (a notification deep link, a
203
+ * "jump to this message" action). Typically the message's external id. */
204
+ id?: string;
205
+ /** Brief highlight flash — set true right after scrolling into view. */
206
+ highlighted?: boolean;
196
207
  /** Last bubble in a same-sender run; shows the timestamp and read receipt. */
197
208
  isLastOfRun?: boolean;
198
209
  /**
@@ -1647,7 +1658,7 @@ declare function getTagTypeLabel(type?: string | null): string;
1647
1658
  * "Common" keeps the neutral, non-inverted muted pill.
1648
1659
  *
1649
1660
  * Promoted from the ARBI app and DECOUPLED: no store/stripe deps. The icon
1650
- * defaults to a generic `Package` glyph and can be overridden via `icon`, and
1661
+ * defaults to the `CreditCard` glyph and can be overridden via `icon`, and
1651
1662
  * the display text via `label` (falls back to `name`) so consumers can relabel
1652
1663
  * a "project" as a "matter", "case", etc.
1653
1664
  */
@@ -1657,7 +1668,7 @@ interface ProjectEntityProps {
1657
1668
  name: string;
1658
1669
  /** Display text override (defaults to `name`) — lets a consumer relabel. */
1659
1670
  label?: string;
1660
- /** Icon override (defaults to a generic Package glyph). */
1671
+ /** Icon override (defaults to the CreditCard glyph). */
1661
1672
  icon?: React__default.ReactNode;
1662
1673
  subscription?: string;
1663
1674
  hasCollaborators?: boolean;
@@ -2249,6 +2260,17 @@ interface AppNotification {
2249
2260
  read: boolean;
2250
2261
  /** Optional in-app link the entry deep-links to (passed to the bell's onNavigate). */
2251
2262
  href?: string;
2263
+ /** Optional click action — wins over `href` when both are present. Session
2264
+ * history only; entries are never serialized, so a closure is safe here. */
2265
+ onSelect?: () => void;
2266
+ /** Routine session activity ("Opening workspace…", "Saved") — kept for the
2267
+ * log but not something that demands attention: excluded from the unread
2268
+ * badge and from the bell's default list (shown under "All activity"). */
2269
+ ambient?: boolean;
2270
+ /** Where the entry comes from. Session entries (`record`) have none; a
2271
+ * backend bridge stamps its own (e.g. 'server') so {@link syncSource} can
2272
+ * replace exactly its slice on every refetch without touching the rest. */
2273
+ source?: string;
2252
2274
  }
2253
2275
  interface NotifyOptions {
2254
2276
  description?: string;
@@ -2263,6 +2285,8 @@ interface NotifyOptions {
2263
2285
  };
2264
2286
  /** Override the toast glyph (sonner). */
2265
2287
  icon?: ReactNode;
2288
+ /** Record as routine session activity (see {@link AppNotification.ambient}). */
2289
+ ambient?: boolean;
2266
2290
  }
2267
2291
  interface NotifyState {
2268
2292
  notifications: AppNotification[];
@@ -2274,6 +2298,11 @@ interface NotifyState {
2274
2298
  seed: (items: AppNotification[]) => void;
2275
2299
  /** Record a centre entry (used by `notify.*`; sonner renders the toast). */
2276
2300
  record: (note: AppNotification) => void;
2301
+ /** Reconcile one source's slice with fresh truth (e.g. a backend list on
2302
+ * every refetch): entries stamped with `source` are replaced wholesale —
2303
+ * including their read state, which the source owns — while entries from
2304
+ * other sources (session activity) stay untouched. Newest first. */
2305
+ syncSource: (source: string, items: AppNotification[]) => void;
2277
2306
  }
2278
2307
  declare const useNotify: zustand.UseBoundStore<zustand.StoreApi<NotifyState>>;
2279
2308
  declare const notify: {
@@ -2284,7 +2313,8 @@ declare const notify: {
2284
2313
  };
2285
2314
  /** Replace the notification centre's history — inject a seed/initial set. */
2286
2315
  declare function seedNotifications(items: AppNotification[]): void;
2287
- /** Unread count selector for the topbar bell. */
2316
+ /** Unread count selector for the topbar bell — ambient session activity never
2317
+ * demands attention, so it never counts. */
2288
2318
  declare const selectUnread: (s: NotifyState) => number;
2289
2319
  /** Default glyph colour per variant (raw palette, override via `toneClassNames`). */
2290
2320
  declare const DEFAULT_NOTIFY_TONE: Record<NotifyVariant, string>;
@@ -2292,12 +2322,24 @@ declare const DEFAULT_NOTIFY_TONE: Record<NotifyVariant, string>;
2292
2322
  interface NotificationBellProps {
2293
2323
  /** Called with an entry's `href` when it's clicked (e.g. router navigate). */
2294
2324
  onNavigate?: (href: string) => void;
2325
+ /** Called after an entry is locally marked read — the hook for a backend
2326
+ * bridge to propagate read state upstream (filter by the ids it owns). */
2327
+ onMarkRead?: (id: string) => void;
2328
+ /** Called after "Mark all read" — same upstream-propagation hook. */
2329
+ onMarkAllRead?: () => void;
2330
+ /** Toast muting — the bell is where notification behaviour is controlled, so
2331
+ * the mute switch lives in its header. Omit `onToggleMute` to hide it. */
2332
+ muted?: boolean;
2333
+ onToggleMute?: () => void;
2295
2334
  /** Override per-variant glyph colours (e.g. brand emerald for success). */
2296
2335
  toneClassNames?: Partial<Record<NotifyVariant, string>>;
2297
2336
  emptyText?: string;
2337
+ /** Footer link to the app's full notification surface. Omit to hide. */
2338
+ onViewAll?: () => void;
2339
+ viewAllLabel?: string;
2298
2340
  testId?: string;
2299
2341
  }
2300
- declare function NotificationBell({ onNavigate, toneClassNames, emptyText, testId, }: NotificationBellProps): React$1.JSX.Element;
2342
+ declare function NotificationBell({ onNavigate, onMarkRead, onMarkAllRead, muted, onToggleMute, toneClassNames, emptyText, onViewAll, viewAllLabel, testId, }: NotificationBellProps): React$1.JSX.Element;
2301
2343
 
2302
2344
  declare function Toaster({ toastOptions, ...props }: ToasterProps): React$1.JSX.Element;
2303
2345
 
@@ -2725,12 +2767,24 @@ interface UserMenuItem {
2725
2767
  onSelect: () => void;
2726
2768
  testId?: string;
2727
2769
  }
2770
+ /** Connection/presence state shown as a dot on the avatar and a line under the
2771
+ * email — the account menu is where "am I connected" belongs. */
2772
+ interface UserMenuStatus {
2773
+ /** Short state word — "Connected", "Working offline". */
2774
+ label: string;
2775
+ tone: 'online' | 'busy' | 'offline';
2776
+ /** Fine print under the label (e.g. the server domain). */
2777
+ detail?: string;
2778
+ testId?: string;
2779
+ }
2728
2780
  interface UserMenuProps {
2729
2781
  user: {
2730
2782
  name: string;
2731
2783
  email?: string | null;
2732
2784
  picture?: string | null;
2733
2785
  };
2786
+ /** Optional connection status: avatar dot + a line in the dropdown header. */
2787
+ status?: UserMenuStatus;
2734
2788
  /** Account actions above the sign-out divider (e.g. Settings). */
2735
2789
  items?: UserMenuItem[];
2736
2790
  onLogout: () => void;
@@ -2743,7 +2797,7 @@ interface UserMenuProps {
2743
2797
  testId?: string;
2744
2798
  logoutTestId?: string;
2745
2799
  }
2746
- declare function UserMenu({ user, items, onLogout, logoutLabel, align, classNames, testId, logoutTestId, }: UserMenuProps): React$1.JSX.Element;
2800
+ declare function UserMenu({ user, status, items, onLogout, logoutLabel, align, classNames, testId, logoutTestId, }: UserMenuProps): React$1.JSX.Element;
2747
2801
 
2748
2802
  /**
2749
2803
  * DocumentTable — a reusable AG Grid (community) block that renders a
@@ -2933,4 +2987,4 @@ interface ArbiUiState {
2933
2987
  }
2934
2988
  declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
2935
2989
 
2936
- export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, AgentBadge, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, type AppNotification, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, type ArbiChatLabels, ArbiChatPanel, type ArbiChatPanelProps, type ArbiChatProps, type ArbiChatTheme, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, BASE_COLORS, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, DateSeparator, type DateSeparatorProps, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCard, DocumentCardMenu, type DocumentCardMenuProps, type DocumentCardProps, DocumentEntity, type DocumentEntityProps, DocumentGallery, type DocumentGalleryProps, type DocumentLike, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, ENTITY_MAPPINGS, EmlIcon, EntityIcon, type EntityIconComponent, EntityPill, type EntityRegistryOverride, type EntityType, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, LinkedInIcon, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, NEUTRAL_GRAY, NotificationBell, type NotificationBellProps, type NotificationTypeMeta, type NotifyOptions, type NotifyVariant, OpenAIIcon, PLACEHOLDER_COLOR, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PassageCard, type PassageCardProps, PdfIcon, type PresenceDisplayStatus, PresenceLabel, ProjectEntity, type ProjectEntityProps, type ProjectRelation, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type Rag, RagDot, RelevanceDot, type RenderMarkdown, type SearchChunk, SemanticSearch, type SemanticSearchProps, type StatusBadgeComponent, type StatusBadgeProps, StatusPill, type StatusPillProps, type StatusVariant, TAG_TYPE_ICONS, TAG_TYPE_LABELS, TagEntity, type TagEntityProps, type TagLike, type ThreadAccessors, type ThreadItem, Toaster, type ToolResponses, TxtIcon, TypingIndicator, type UseDirectMessagesResult, UserEntity, type UserEntityProps, UserMenu, type UserMenuItem, type UserMenuProps, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, annotateThread, arbiQueryKeys, configureEntityRegistry, configureRagLabels, configureStatusRegistry, cropImage, dayKey, describeActivity, formatRelativeTime, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, useActivity, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments, useFacts, useHealth, useNotify, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSemanticSearch, useSessions, useTags, useTasks, useThumbnails, useUserUsageToday, useWorkspaceDocs, useWorkspaces, userDisplayName, userInitials };
2990
+ export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, AgentBadge, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, type AppNotification, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, type ArbiChatLabels, ArbiChatPanel, type ArbiChatPanelProps, type ArbiChatProps, type ArbiChatTheme, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, BASE_COLORS, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, DateSeparator, type DateSeparatorProps, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCard, DocumentCardMenu, type DocumentCardMenuProps, type DocumentCardProps, DocumentEntity, type DocumentEntityProps, DocumentGallery, type DocumentGalleryProps, type DocumentLike, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, ENTITY_MAPPINGS, EmlIcon, EntityIcon, type EntityIconComponent, EntityPill, type EntityRegistryOverride, type EntityType, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, LinkedInIcon, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, NEUTRAL_GRAY, NotificationBell, type NotificationBellProps, type NotificationTypeMeta, type NotifyOptions, type NotifyVariant, OpenAIIcon, PLACEHOLDER_COLOR, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PassageCard, type PassageCardProps, PdfIcon, type PresenceDisplayStatus, PresenceLabel, ProjectEntity, type ProjectEntityProps, type ProjectRelation, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type Rag, RagDot, RelevanceDot, type RenderMarkdown, type SearchChunk, SemanticSearch, type SemanticSearchProps, type StatusBadgeComponent, type StatusBadgeProps, StatusPill, type StatusPillProps, type StatusVariant, TAG_TYPE_ICONS, TAG_TYPE_LABELS, TagEntity, type TagEntityProps, type TagLike, type ThreadAccessors, type ThreadItem, Toaster, type ToolResponses, TxtIcon, TypingIndicator, type UseDirectMessagesResult, UserEntity, type UserEntityProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuStatus, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, annotateThread, arbiQueryKeys, configureEntityRegistry, configureRagLabels, configureStatusRegistry, cropImage, dayKey, describeActivity, formatRelativeTime, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, useActivity, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments, useFacts, useHealth, useNotify, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSemanticSearch, useSessions, useTags, useTasks, useThumbnails, useUserUsageToday, useWorkspaceDocs, useWorkspaces, userDisplayName, userInitials };
package/dist/index.d.ts CHANGED
@@ -193,6 +193,17 @@ interface ChatBubbleProps {
193
193
  deleted?: boolean;
194
194
  read?: boolean;
195
195
  onDelete?: () => void;
196
+ /**
197
+ * Copy a shareable deep link to this exact message. Optional — the host
198
+ * builds the URL (it knows the workspace/deployment domain, the light
199
+ * package doesn't), this just renders the affordance and calls back.
200
+ */
201
+ onCopyLink?: () => void;
202
+ /** Stable DOM anchor for scroll-to-message (a notification deep link, a
203
+ * "jump to this message" action). Typically the message's external id. */
204
+ id?: string;
205
+ /** Brief highlight flash — set true right after scrolling into view. */
206
+ highlighted?: boolean;
196
207
  /** Last bubble in a same-sender run; shows the timestamp and read receipt. */
197
208
  isLastOfRun?: boolean;
198
209
  /**
@@ -1647,7 +1658,7 @@ declare function getTagTypeLabel(type?: string | null): string;
1647
1658
  * "Common" keeps the neutral, non-inverted muted pill.
1648
1659
  *
1649
1660
  * Promoted from the ARBI app and DECOUPLED: no store/stripe deps. The icon
1650
- * defaults to a generic `Package` glyph and can be overridden via `icon`, and
1661
+ * defaults to the `CreditCard` glyph and can be overridden via `icon`, and
1651
1662
  * the display text via `label` (falls back to `name`) so consumers can relabel
1652
1663
  * a "project" as a "matter", "case", etc.
1653
1664
  */
@@ -1657,7 +1668,7 @@ interface ProjectEntityProps {
1657
1668
  name: string;
1658
1669
  /** Display text override (defaults to `name`) — lets a consumer relabel. */
1659
1670
  label?: string;
1660
- /** Icon override (defaults to a generic Package glyph). */
1671
+ /** Icon override (defaults to the CreditCard glyph). */
1661
1672
  icon?: React__default.ReactNode;
1662
1673
  subscription?: string;
1663
1674
  hasCollaborators?: boolean;
@@ -2249,6 +2260,17 @@ interface AppNotification {
2249
2260
  read: boolean;
2250
2261
  /** Optional in-app link the entry deep-links to (passed to the bell's onNavigate). */
2251
2262
  href?: string;
2263
+ /** Optional click action — wins over `href` when both are present. Session
2264
+ * history only; entries are never serialized, so a closure is safe here. */
2265
+ onSelect?: () => void;
2266
+ /** Routine session activity ("Opening workspace…", "Saved") — kept for the
2267
+ * log but not something that demands attention: excluded from the unread
2268
+ * badge and from the bell's default list (shown under "All activity"). */
2269
+ ambient?: boolean;
2270
+ /** Where the entry comes from. Session entries (`record`) have none; a
2271
+ * backend bridge stamps its own (e.g. 'server') so {@link syncSource} can
2272
+ * replace exactly its slice on every refetch without touching the rest. */
2273
+ source?: string;
2252
2274
  }
2253
2275
  interface NotifyOptions {
2254
2276
  description?: string;
@@ -2263,6 +2285,8 @@ interface NotifyOptions {
2263
2285
  };
2264
2286
  /** Override the toast glyph (sonner). */
2265
2287
  icon?: ReactNode;
2288
+ /** Record as routine session activity (see {@link AppNotification.ambient}). */
2289
+ ambient?: boolean;
2266
2290
  }
2267
2291
  interface NotifyState {
2268
2292
  notifications: AppNotification[];
@@ -2274,6 +2298,11 @@ interface NotifyState {
2274
2298
  seed: (items: AppNotification[]) => void;
2275
2299
  /** Record a centre entry (used by `notify.*`; sonner renders the toast). */
2276
2300
  record: (note: AppNotification) => void;
2301
+ /** Reconcile one source's slice with fresh truth (e.g. a backend list on
2302
+ * every refetch): entries stamped with `source` are replaced wholesale —
2303
+ * including their read state, which the source owns — while entries from
2304
+ * other sources (session activity) stay untouched. Newest first. */
2305
+ syncSource: (source: string, items: AppNotification[]) => void;
2277
2306
  }
2278
2307
  declare const useNotify: zustand.UseBoundStore<zustand.StoreApi<NotifyState>>;
2279
2308
  declare const notify: {
@@ -2284,7 +2313,8 @@ declare const notify: {
2284
2313
  };
2285
2314
  /** Replace the notification centre's history — inject a seed/initial set. */
2286
2315
  declare function seedNotifications(items: AppNotification[]): void;
2287
- /** Unread count selector for the topbar bell. */
2316
+ /** Unread count selector for the topbar bell — ambient session activity never
2317
+ * demands attention, so it never counts. */
2288
2318
  declare const selectUnread: (s: NotifyState) => number;
2289
2319
  /** Default glyph colour per variant (raw palette, override via `toneClassNames`). */
2290
2320
  declare const DEFAULT_NOTIFY_TONE: Record<NotifyVariant, string>;
@@ -2292,12 +2322,24 @@ declare const DEFAULT_NOTIFY_TONE: Record<NotifyVariant, string>;
2292
2322
  interface NotificationBellProps {
2293
2323
  /** Called with an entry's `href` when it's clicked (e.g. router navigate). */
2294
2324
  onNavigate?: (href: string) => void;
2325
+ /** Called after an entry is locally marked read — the hook for a backend
2326
+ * bridge to propagate read state upstream (filter by the ids it owns). */
2327
+ onMarkRead?: (id: string) => void;
2328
+ /** Called after "Mark all read" — same upstream-propagation hook. */
2329
+ onMarkAllRead?: () => void;
2330
+ /** Toast muting — the bell is where notification behaviour is controlled, so
2331
+ * the mute switch lives in its header. Omit `onToggleMute` to hide it. */
2332
+ muted?: boolean;
2333
+ onToggleMute?: () => void;
2295
2334
  /** Override per-variant glyph colours (e.g. brand emerald for success). */
2296
2335
  toneClassNames?: Partial<Record<NotifyVariant, string>>;
2297
2336
  emptyText?: string;
2337
+ /** Footer link to the app's full notification surface. Omit to hide. */
2338
+ onViewAll?: () => void;
2339
+ viewAllLabel?: string;
2298
2340
  testId?: string;
2299
2341
  }
2300
- declare function NotificationBell({ onNavigate, toneClassNames, emptyText, testId, }: NotificationBellProps): React$1.JSX.Element;
2342
+ declare function NotificationBell({ onNavigate, onMarkRead, onMarkAllRead, muted, onToggleMute, toneClassNames, emptyText, onViewAll, viewAllLabel, testId, }: NotificationBellProps): React$1.JSX.Element;
2301
2343
 
2302
2344
  declare function Toaster({ toastOptions, ...props }: ToasterProps): React$1.JSX.Element;
2303
2345
 
@@ -2725,12 +2767,24 @@ interface UserMenuItem {
2725
2767
  onSelect: () => void;
2726
2768
  testId?: string;
2727
2769
  }
2770
+ /** Connection/presence state shown as a dot on the avatar and a line under the
2771
+ * email — the account menu is where "am I connected" belongs. */
2772
+ interface UserMenuStatus {
2773
+ /** Short state word — "Connected", "Working offline". */
2774
+ label: string;
2775
+ tone: 'online' | 'busy' | 'offline';
2776
+ /** Fine print under the label (e.g. the server domain). */
2777
+ detail?: string;
2778
+ testId?: string;
2779
+ }
2728
2780
  interface UserMenuProps {
2729
2781
  user: {
2730
2782
  name: string;
2731
2783
  email?: string | null;
2732
2784
  picture?: string | null;
2733
2785
  };
2786
+ /** Optional connection status: avatar dot + a line in the dropdown header. */
2787
+ status?: UserMenuStatus;
2734
2788
  /** Account actions above the sign-out divider (e.g. Settings). */
2735
2789
  items?: UserMenuItem[];
2736
2790
  onLogout: () => void;
@@ -2743,7 +2797,7 @@ interface UserMenuProps {
2743
2797
  testId?: string;
2744
2798
  logoutTestId?: string;
2745
2799
  }
2746
- declare function UserMenu({ user, items, onLogout, logoutLabel, align, classNames, testId, logoutTestId, }: UserMenuProps): React$1.JSX.Element;
2800
+ declare function UserMenu({ user, status, items, onLogout, logoutLabel, align, classNames, testId, logoutTestId, }: UserMenuProps): React$1.JSX.Element;
2747
2801
 
2748
2802
  /**
2749
2803
  * DocumentTable — a reusable AG Grid (community) block that renders a
@@ -2933,4 +2987,4 @@ interface ArbiUiState {
2933
2987
  }
2934
2988
  declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
2935
2989
 
2936
- export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, AgentBadge, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, type AppNotification, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, type ArbiChatLabels, ArbiChatPanel, type ArbiChatPanelProps, type ArbiChatProps, type ArbiChatTheme, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, BASE_COLORS, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, DateSeparator, type DateSeparatorProps, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCard, DocumentCardMenu, type DocumentCardMenuProps, type DocumentCardProps, DocumentEntity, type DocumentEntityProps, DocumentGallery, type DocumentGalleryProps, type DocumentLike, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, ENTITY_MAPPINGS, EmlIcon, EntityIcon, type EntityIconComponent, EntityPill, type EntityRegistryOverride, type EntityType, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, LinkedInIcon, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, NEUTRAL_GRAY, NotificationBell, type NotificationBellProps, type NotificationTypeMeta, type NotifyOptions, type NotifyVariant, OpenAIIcon, PLACEHOLDER_COLOR, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PassageCard, type PassageCardProps, PdfIcon, type PresenceDisplayStatus, PresenceLabel, ProjectEntity, type ProjectEntityProps, type ProjectRelation, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type Rag, RagDot, RelevanceDot, type RenderMarkdown, type SearchChunk, SemanticSearch, type SemanticSearchProps, type StatusBadgeComponent, type StatusBadgeProps, StatusPill, type StatusPillProps, type StatusVariant, TAG_TYPE_ICONS, TAG_TYPE_LABELS, TagEntity, type TagEntityProps, type TagLike, type ThreadAccessors, type ThreadItem, Toaster, type ToolResponses, TxtIcon, TypingIndicator, type UseDirectMessagesResult, UserEntity, type UserEntityProps, UserMenu, type UserMenuItem, type UserMenuProps, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, annotateThread, arbiQueryKeys, configureEntityRegistry, configureRagLabels, configureStatusRegistry, cropImage, dayKey, describeActivity, formatRelativeTime, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, useActivity, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments, useFacts, useHealth, useNotify, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSemanticSearch, useSessions, useTags, useTasks, useThumbnails, useUserUsageToday, useWorkspaceDocs, useWorkspaces, userDisplayName, userInitials };
2990
+ export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, AgentBadge, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, type AppNotification, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, ArbiChat, type ArbiChatLabels, ArbiChatPanel, type ArbiChatPanelProps, type ArbiChatProps, type ArbiChatTheme, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, BASE_COLORS, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_NOTIFY_TONE, DateSeparator, type DateSeparatorProps, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCard, DocumentCardMenu, type DocumentCardMenuProps, type DocumentCardProps, DocumentEntity, type DocumentEntityProps, DocumentGallery, type DocumentGalleryProps, type DocumentLike, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, ENTITY_MAPPINGS, EmlIcon, EntityIcon, type EntityIconComponent, EntityPill, type EntityRegistryOverride, type EntityType, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, LinkedInIcon, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, NEUTRAL_GRAY, NotificationBell, type NotificationBellProps, type NotificationTypeMeta, type NotifyOptions, type NotifyVariant, OpenAIIcon, PLACEHOLDER_COLOR, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, PassageCard, type PassageCardProps, PdfIcon, type PresenceDisplayStatus, PresenceLabel, ProjectEntity, type ProjectEntityProps, type ProjectRelation, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type Rag, RagDot, RelevanceDot, type RenderMarkdown, type SearchChunk, SemanticSearch, type SemanticSearchProps, type StatusBadgeComponent, type StatusBadgeProps, StatusPill, type StatusPillProps, type StatusVariant, TAG_TYPE_ICONS, TAG_TYPE_LABELS, TagEntity, type TagEntityProps, type TagLike, type ThreadAccessors, type ThreadItem, Toaster, type ToolResponses, TxtIcon, TypingIndicator, type UseDirectMessagesResult, UserEntity, type UserEntityProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuStatus, VISIBILITY_ICONS, VidIcon, VisibilityIcon, XlsIcon, annotateThread, arbiQueryKeys, configureEntityRegistry, configureRagLabels, configureStatusRegistry, cropImage, dayKey, describeActivity, formatRelativeTime, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getNotificationTypeMeta, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceActionText, getWorkspaceColor, getWorkspaceSentPhrase, isWorkspaceNotificationType, notify, parseActivityContent, redlineStats, seedNotifications, selectUnread, textToArtifact, toRedlineMarkdown, useActivity, useAgents, useAiTask, useArbi, useArbiConnected, useArbiDocumentSync, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useCommandPalette, useConfigs, useConversations, useDeleteAgents, useDirectMessages, useDocuments, useFacts, useHealth, useNotify, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSemanticSearch, useSessions, useTags, useTasks, useThumbnails, useUserUsageToday, useWorkspaceDocs, useWorkspaces, userDisplayName, userInitials };