@invergent/agent-chat-react 2.10.5 → 2.11.1

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
@@ -1,6 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import { ComponentProps } from 'react';
2
+ import * as react from 'react';
3
+ import { ReactNode, ComponentProps } from 'react';
4
+ import { OrbState } from 'thinking-orbs';
5
+ export { OrbState } from 'thinking-orbs';
4
6
  import { Streamdown } from 'streamdown';
5
7
 
6
8
  type AgentChatRole = "user" | "assistant" | "system";
@@ -1015,7 +1017,7 @@ interface AgentChatAdapterContextValue {
1015
1017
  * ``AgentChat``; consumed by the insufficient-credits card. */
1016
1018
  onOpenBilling?: () => void;
1017
1019
  }
1018
- declare const AgentChatAdapterProvider: React.Provider<AgentChatAdapterContextValue | null>;
1020
+ declare const AgentChatAdapterProvider: react.Provider<AgentChatAdapterContextValue | null>;
1019
1021
  declare function useAgentChatAdapterContext(): AgentChatAdapterContextValue;
1020
1022
 
1021
1023
  declare function useChatViewMode(): "simple" | "expert";
@@ -1064,8 +1066,104 @@ declare class FetchSseEventStream {
1064
1066
  private flushEvent;
1065
1067
  }
1066
1068
 
1069
+ /** A resolved activity: which orb animation to show and its label. */
1070
+ interface OrbActivity {
1071
+ state: OrbState;
1072
+ /** Human label for the activity, e.g. "Searching…". */
1073
+ label: string;
1074
+ }
1075
+ /**
1076
+ * Default per-state labels. `working` deliberately keeps the historical
1077
+ * "Working on it..." copy so the bottom-of-thread indicator reads the
1078
+ * same as before when nothing more specific is known.
1079
+ */
1080
+ declare const ORB_STATE_LABELS: Readonly<Record<OrbState, string>>;
1081
+ /**
1082
+ * Resolve a tool name to an orb state. MCP tools
1083
+ * (``mcp__{server}__{tool}``) have no fixed vocabulary, so their leaf
1084
+ * name is classified by verb: retrieval verbs → `searching`, creation
1085
+ * verbs → `shaping`, anything else → `working`.
1086
+ */
1087
+ declare function toolOrbState(toolName: string): OrbState;
1088
+ interface OrbDerivationOptions {
1089
+ /**
1090
+ * Restricts which running tool calls may drive the orb. Simple mode
1091
+ * passes its hidden-plumbing-tool filter here so an internal
1092
+ * ``list_files`` reads as a quiet solving/working orb, matching the
1093
+ * equally quiet "Thinking…" label — the orb must not leak activity
1094
+ * the label deliberately hides.
1095
+ */
1096
+ toolFilter?: (tc: AgentChatToolCallInfo) => boolean;
1097
+ }
1098
+ /**
1099
+ * Orb state for a single assistant message (one iteration). Priority:
1100
+ * a pending ``ask_user_question`` wins (the agent is parked on the
1101
+ * user), then the most recently started running tool, then visible
1102
+ * text streaming (`composing`), then the reasoning stream (`solving`).
1103
+ * A message with none of those — e.g. the request is in flight but
1104
+ * nothing has streamed yet — is plain `working`.
1105
+ */
1106
+ declare function messageOrbState(message: AgentChatMessage, options?: OrbDerivationOptions): OrbState;
1107
+ /**
1108
+ * Orb activity for the thread as a whole — what the bottom-of-thread
1109
+ * running indicator should show. Scans backward to the most recent
1110
+ * assistant message (skipping trailing system markers the reducer
1111
+ * appends after a turn, mirroring ``isAwaitingUserInput`` in the chat
1112
+ * thread) and derives its state; a trailing user message means the
1113
+ * turn hasn't produced anything yet → `working`.
1114
+ */
1115
+ declare function deriveOrbActivity(messages: AgentChatMessage[], options?: OrbDerivationOptions): OrbActivity;
1116
+
1117
+ declare const SIMPLE_MODE_HIDDEN_TOOLS: ReadonlySet<string>;
1118
+ declare function isHiddenSimpleTool(tc: AgentChatToolCallInfo): boolean;
1119
+ /** Orb derivation options implementing Simple mode's hidden-tool policy. */
1120
+ declare const SIMPLE_MODE_ORB_OPTIONS: OrbDerivationOptions;
1121
+
1122
+ interface OrbShimmerLabelProps {
1123
+ state: OrbState;
1124
+ label: string;
1125
+ /** Shimmer sweep duration in seconds. @default 3 */
1126
+ duration?: number;
1127
+ /** Shimmer spread; omitted uses the Shimmer default. */
1128
+ spread?: number;
1129
+ className?: string;
1130
+ }
1131
+ declare function OrbShimmerLabel({ state, label, duration, spread, className, }: OrbShimmerLabelProps): react_jsx_runtime.JSX.Element;
1132
+
1133
+ /**
1134
+ * Size/type preset for the border beam effect
1135
+ *
1136
+ * Rotate family (traveling/spinning beam):
1137
+ * - 'sm': Small button-sized with compact glow
1138
+ * - 'md': Medium card-sized with full border glow
1139
+ * - 'line': Bottom-only traveling glow with breathe and spike animations
1140
+ *
1141
+ * Pulse family (breathing glow, no rotation):
1142
+ * - 'pulse-outside': Glow blooms OUTWARD beyond the element (uncropped halo)
1143
+ * - 'pulse-inner': Glow breathes contained within the element's border
1144
+ */
1145
+ type BorderBeamSize = 'sm' | 'md' | 'line' | 'pulse-outside' | 'pulse-inner';
1146
+
1147
+ interface BrandBeamProps {
1148
+ children: ReactNode;
1149
+ /** Beam preset. Rotate: sm|md|line; pulse: pulse-inner|pulse-outside. */
1150
+ size?: BorderBeamSize;
1151
+ /** Whether the beam is showing; fades smoothly on change. */
1152
+ active?: boolean;
1153
+ /** Effect opacity 0–1; only affects the beam layers. */
1154
+ strength?: number;
1155
+ /** Explicit border radius in px; auto-detected from the child when omitted. */
1156
+ borderRadius?: number;
1157
+ className?: string;
1158
+ }
1159
+ /**
1160
+ * Wrap an element in the Surogate-branded border beam. Renders the
1161
+ * amber ramp in both themes and honors `prefers-reduced-motion`.
1162
+ */
1163
+ declare function BrandBeam({ children, size, active, strength, borderRadius, className, }: BrandBeamProps): react_jsx_runtime.JSX.Element;
1164
+
1067
1165
  type MessageResponseProps = ComponentProps<typeof Streamdown>;
1068
- declare const MessageResponse: React.MemoExoticComponent<({ className, ...props }: MessageResponseProps) => react_jsx_runtime.JSX.Element>;
1166
+ declare const MessageResponse: react.MemoExoticComponent<({ className, ...props }: MessageResponseProps) => react_jsx_runtime.JSX.Element>;
1069
1167
 
1070
1168
  interface BrowserLiveViewProps {
1071
1169
  src: string;
@@ -1330,4 +1428,4 @@ interface SessionTreePanelProps {
1330
1428
  }
1331
1429
  declare function SessionTreePanel({ adapter, sessionId, activeSessionId, agentId, title, sessionListLimit, hideRoot, hideHeader, loadList, onSessionSelect, onSessionDelete, }: SessionTreePanelProps): react_jsx_runtime.JSX.Element | null;
1332
1430
 
1333
- export { ACTIVE_MISSION_STATUSES, AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatAskUserQuestionAnswer, type AgentChatAskUserQuestionArgs, type AgentChatAskUserQuestionChoice, type AgentChatAskUserQuestionQuestion, type AgentChatAttachment, type AgentChatBrowserProfile, type AgentChatChartArtifactSpec, type AgentChatDisplayAttachment, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatEventsPage, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatIdeaNode, type AgentChatImageAttachment, type AgentChatInboxEventStream, type AgentChatInboxItem, type AgentChatInboxKind, type AgentChatInboxList, type AgentChatInboxListInput, type AgentChatInboxStatus, type AgentChatInboxStreamEvent, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, type AgentChatMissionEvent, type AgentChatMissionEventSession, type AgentChatMissionEventsPage, type AgentChatMissionList, type AgentChatMissionResearch, type AgentChatMissionStatus, type AgentChatMissionSummary, type AgentChatMissionTask, type AgentChatMissionWorker, type AgentChatPendingAttachment, type AgentChatPolledEvent, type AgentChatProps, type AgentChatResearchRun, type AgentChatResearchSource, type AgentChatRole, type AgentChatRuntimeApi, type AgentChatRuntimeEvent, type AgentChatScheduledWorkItem, type AgentChatScheduledWorkKind, type AgentChatScheduledWorkList, type AgentChatSession, type AgentChatSessionList, type AgentChatSessionTree, type AgentChatSessionTreeNode, type AgentChatSlashCommand, type AgentChatSseMessageEvent, type AgentChatState, type AgentChatSvgArtifactSpec, type AgentChatSystemKind, type AgentChatTableArtifactSpec, type AgentChatTokenUsage, type AgentChatToolCallInfo, type AgentChatWorkspaceEntry, type AgentChatWorkspaceFile, type AgentChatWorkspaceTree, type AgentChatWorkspaceUpload, type ArtifactKind, type ArtifactPayload, type AskUserQuestionAnswer, type AskUserQuestionArgs, type AskUserQuestionChoice, type AskUserQuestionQuestion, BrowserLiveView, type ChartArtifactSpec, type ChatComposerError, type ChatMessage, type CitationSegment, CitationText, type CodingAgentConnection, CodingAgentsPanel, type CodingAgentsPanelProps, ComposioConnectCard, type ComposioConnectCardProps, type ErrorInfo, FetchSseEventStream, type FetchSseEventStreamOptions, type HtmlArtifactSpec, type InboxItem, type InboxList, InboxPanel, type InboxPanelProps, type InboxUnreadCountState, IntegrationsBand, type IntegrationsBandProps, IntegrationsPage, type IntegrationsPageProps, MISSION_EVENT_CATEGORIES, type MarkdownArtifactSpec, MessageResponse, type MessageResponseProps, MissionDashboard, type MissionDashboardProps, type MissionEventCategory, type MissionEventsFeed, type MissionTaskBucket, type MissionTaskRailGroup, type MissionTaskRailGroupKey, MissionsPanel, type MissionsPanelProps, ResearchSourcesPanel, type RetryIndicator, type ScheduledWorkItem, type ScheduledWorkList, ScheduledWorkPanel, type ScheduledWorkPanelProps, type SessionTree, type SessionTreeNode, SessionTreePanel, type SessionTreePanelProps, type SvgArtifactSpec, type TableArtifactSpec, type TokenUsage, type ToolCallInfo, type WorkspaceEntry, type WorkspaceFile, type WorkspaceTree, type WorkspaceUpload, defaultSelectedMissionTaskId, deriveMissionWorkerActivityLabel, formatMissionTimestamp, groupMissionTasksByBucket, isTerminalMissionStatus, mergeMissionEvents, missionEventActorLabel, missionEventCategory, missionEventSummary, missionEventTaskId, missionTaskBlocks, missionTaskBucket, missionTaskRailGroups, missionTaskStatusDotClass, missionTaskTitle, missionWorkerTaskCounts, splitCitations, stripMissionControlMarkup, useAgentChatAdapterContext, useAgentChatRuntime, useChatViewMode, useInboxUnreadCount, useMissionEvents };
1431
+ export { ACTIVE_MISSION_STATUSES, AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatAskUserQuestionAnswer, type AgentChatAskUserQuestionArgs, type AgentChatAskUserQuestionChoice, type AgentChatAskUserQuestionQuestion, type AgentChatAttachment, type AgentChatBrowserProfile, type AgentChatChartArtifactSpec, type AgentChatDisplayAttachment, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatEventsPage, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatIdeaNode, type AgentChatImageAttachment, type AgentChatInboxEventStream, type AgentChatInboxItem, type AgentChatInboxKind, type AgentChatInboxList, type AgentChatInboxListInput, type AgentChatInboxStatus, type AgentChatInboxStreamEvent, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, type AgentChatMissionEvent, type AgentChatMissionEventSession, type AgentChatMissionEventsPage, type AgentChatMissionList, type AgentChatMissionResearch, type AgentChatMissionStatus, type AgentChatMissionSummary, type AgentChatMissionTask, type AgentChatMissionWorker, type AgentChatPendingAttachment, type AgentChatPolledEvent, type AgentChatProps, type AgentChatResearchRun, type AgentChatResearchSource, type AgentChatRole, type AgentChatRuntimeApi, type AgentChatRuntimeEvent, type AgentChatScheduledWorkItem, type AgentChatScheduledWorkKind, type AgentChatScheduledWorkList, type AgentChatSession, type AgentChatSessionList, type AgentChatSessionTree, type AgentChatSessionTreeNode, type AgentChatSlashCommand, type AgentChatSseMessageEvent, type AgentChatState, type AgentChatSvgArtifactSpec, type AgentChatSystemKind, type AgentChatTableArtifactSpec, type AgentChatTokenUsage, type AgentChatToolCallInfo, type AgentChatWorkspaceEntry, type AgentChatWorkspaceFile, type AgentChatWorkspaceTree, type AgentChatWorkspaceUpload, type ArtifactKind, type ArtifactPayload, type AskUserQuestionAnswer, type AskUserQuestionArgs, type AskUserQuestionChoice, type AskUserQuestionQuestion, type BorderBeamSize, BrandBeam, type BrandBeamProps, BrowserLiveView, type ChartArtifactSpec, type ChatComposerError, type ChatMessage, type CitationSegment, CitationText, type CodingAgentConnection, CodingAgentsPanel, type CodingAgentsPanelProps, ComposioConnectCard, type ComposioConnectCardProps, type ErrorInfo, FetchSseEventStream, type FetchSseEventStreamOptions, type HtmlArtifactSpec, type InboxItem, type InboxList, InboxPanel, type InboxPanelProps, type InboxUnreadCountState, IntegrationsBand, type IntegrationsBandProps, IntegrationsPage, type IntegrationsPageProps, MISSION_EVENT_CATEGORIES, type MarkdownArtifactSpec, MessageResponse, type MessageResponseProps, MissionDashboard, type MissionDashboardProps, type MissionEventCategory, type MissionEventsFeed, type MissionTaskBucket, type MissionTaskRailGroup, type MissionTaskRailGroupKey, MissionsPanel, type MissionsPanelProps, ORB_STATE_LABELS, type OrbActivity, type OrbDerivationOptions, OrbShimmerLabel, type OrbShimmerLabelProps, ResearchSourcesPanel, type RetryIndicator, SIMPLE_MODE_HIDDEN_TOOLS, SIMPLE_MODE_ORB_OPTIONS, type ScheduledWorkItem, type ScheduledWorkList, ScheduledWorkPanel, type ScheduledWorkPanelProps, type SessionTree, type SessionTreeNode, SessionTreePanel, type SessionTreePanelProps, type SvgArtifactSpec, type TableArtifactSpec, type TokenUsage, type ToolCallInfo, type WorkspaceEntry, type WorkspaceFile, type WorkspaceTree, type WorkspaceUpload, defaultSelectedMissionTaskId, deriveMissionWorkerActivityLabel, deriveOrbActivity, formatMissionTimestamp, groupMissionTasksByBucket, isHiddenSimpleTool, isTerminalMissionStatus, mergeMissionEvents, messageOrbState, missionEventActorLabel, missionEventCategory, missionEventSummary, missionEventTaskId, missionTaskBlocks, missionTaskBucket, missionTaskRailGroups, missionTaskStatusDotClass, missionTaskTitle, missionWorkerTaskCounts, splitCitations, stripMissionControlMarkup, toolOrbState, useAgentChatAdapterContext, useAgentChatRuntime, useChatViewMode, useInboxUnreadCount, useMissionEvents };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import { ComponentProps } from 'react';
2
+ import * as react from 'react';
3
+ import { ReactNode, ComponentProps } from 'react';
4
+ import { OrbState } from 'thinking-orbs';
5
+ export { OrbState } from 'thinking-orbs';
4
6
  import { Streamdown } from 'streamdown';
5
7
 
6
8
  type AgentChatRole = "user" | "assistant" | "system";
@@ -1015,7 +1017,7 @@ interface AgentChatAdapterContextValue {
1015
1017
  * ``AgentChat``; consumed by the insufficient-credits card. */
1016
1018
  onOpenBilling?: () => void;
1017
1019
  }
1018
- declare const AgentChatAdapterProvider: React.Provider<AgentChatAdapterContextValue | null>;
1020
+ declare const AgentChatAdapterProvider: react.Provider<AgentChatAdapterContextValue | null>;
1019
1021
  declare function useAgentChatAdapterContext(): AgentChatAdapterContextValue;
1020
1022
 
1021
1023
  declare function useChatViewMode(): "simple" | "expert";
@@ -1064,8 +1066,104 @@ declare class FetchSseEventStream {
1064
1066
  private flushEvent;
1065
1067
  }
1066
1068
 
1069
+ /** A resolved activity: which orb animation to show and its label. */
1070
+ interface OrbActivity {
1071
+ state: OrbState;
1072
+ /** Human label for the activity, e.g. "Searching…". */
1073
+ label: string;
1074
+ }
1075
+ /**
1076
+ * Default per-state labels. `working` deliberately keeps the historical
1077
+ * "Working on it..." copy so the bottom-of-thread indicator reads the
1078
+ * same as before when nothing more specific is known.
1079
+ */
1080
+ declare const ORB_STATE_LABELS: Readonly<Record<OrbState, string>>;
1081
+ /**
1082
+ * Resolve a tool name to an orb state. MCP tools
1083
+ * (``mcp__{server}__{tool}``) have no fixed vocabulary, so their leaf
1084
+ * name is classified by verb: retrieval verbs → `searching`, creation
1085
+ * verbs → `shaping`, anything else → `working`.
1086
+ */
1087
+ declare function toolOrbState(toolName: string): OrbState;
1088
+ interface OrbDerivationOptions {
1089
+ /**
1090
+ * Restricts which running tool calls may drive the orb. Simple mode
1091
+ * passes its hidden-plumbing-tool filter here so an internal
1092
+ * ``list_files`` reads as a quiet solving/working orb, matching the
1093
+ * equally quiet "Thinking…" label — the orb must not leak activity
1094
+ * the label deliberately hides.
1095
+ */
1096
+ toolFilter?: (tc: AgentChatToolCallInfo) => boolean;
1097
+ }
1098
+ /**
1099
+ * Orb state for a single assistant message (one iteration). Priority:
1100
+ * a pending ``ask_user_question`` wins (the agent is parked on the
1101
+ * user), then the most recently started running tool, then visible
1102
+ * text streaming (`composing`), then the reasoning stream (`solving`).
1103
+ * A message with none of those — e.g. the request is in flight but
1104
+ * nothing has streamed yet — is plain `working`.
1105
+ */
1106
+ declare function messageOrbState(message: AgentChatMessage, options?: OrbDerivationOptions): OrbState;
1107
+ /**
1108
+ * Orb activity for the thread as a whole — what the bottom-of-thread
1109
+ * running indicator should show. Scans backward to the most recent
1110
+ * assistant message (skipping trailing system markers the reducer
1111
+ * appends after a turn, mirroring ``isAwaitingUserInput`` in the chat
1112
+ * thread) and derives its state; a trailing user message means the
1113
+ * turn hasn't produced anything yet → `working`.
1114
+ */
1115
+ declare function deriveOrbActivity(messages: AgentChatMessage[], options?: OrbDerivationOptions): OrbActivity;
1116
+
1117
+ declare const SIMPLE_MODE_HIDDEN_TOOLS: ReadonlySet<string>;
1118
+ declare function isHiddenSimpleTool(tc: AgentChatToolCallInfo): boolean;
1119
+ /** Orb derivation options implementing Simple mode's hidden-tool policy. */
1120
+ declare const SIMPLE_MODE_ORB_OPTIONS: OrbDerivationOptions;
1121
+
1122
+ interface OrbShimmerLabelProps {
1123
+ state: OrbState;
1124
+ label: string;
1125
+ /** Shimmer sweep duration in seconds. @default 3 */
1126
+ duration?: number;
1127
+ /** Shimmer spread; omitted uses the Shimmer default. */
1128
+ spread?: number;
1129
+ className?: string;
1130
+ }
1131
+ declare function OrbShimmerLabel({ state, label, duration, spread, className, }: OrbShimmerLabelProps): react_jsx_runtime.JSX.Element;
1132
+
1133
+ /**
1134
+ * Size/type preset for the border beam effect
1135
+ *
1136
+ * Rotate family (traveling/spinning beam):
1137
+ * - 'sm': Small button-sized with compact glow
1138
+ * - 'md': Medium card-sized with full border glow
1139
+ * - 'line': Bottom-only traveling glow with breathe and spike animations
1140
+ *
1141
+ * Pulse family (breathing glow, no rotation):
1142
+ * - 'pulse-outside': Glow blooms OUTWARD beyond the element (uncropped halo)
1143
+ * - 'pulse-inner': Glow breathes contained within the element's border
1144
+ */
1145
+ type BorderBeamSize = 'sm' | 'md' | 'line' | 'pulse-outside' | 'pulse-inner';
1146
+
1147
+ interface BrandBeamProps {
1148
+ children: ReactNode;
1149
+ /** Beam preset. Rotate: sm|md|line; pulse: pulse-inner|pulse-outside. */
1150
+ size?: BorderBeamSize;
1151
+ /** Whether the beam is showing; fades smoothly on change. */
1152
+ active?: boolean;
1153
+ /** Effect opacity 0–1; only affects the beam layers. */
1154
+ strength?: number;
1155
+ /** Explicit border radius in px; auto-detected from the child when omitted. */
1156
+ borderRadius?: number;
1157
+ className?: string;
1158
+ }
1159
+ /**
1160
+ * Wrap an element in the Surogate-branded border beam. Renders the
1161
+ * amber ramp in both themes and honors `prefers-reduced-motion`.
1162
+ */
1163
+ declare function BrandBeam({ children, size, active, strength, borderRadius, className, }: BrandBeamProps): react_jsx_runtime.JSX.Element;
1164
+
1067
1165
  type MessageResponseProps = ComponentProps<typeof Streamdown>;
1068
- declare const MessageResponse: React.MemoExoticComponent<({ className, ...props }: MessageResponseProps) => react_jsx_runtime.JSX.Element>;
1166
+ declare const MessageResponse: react.MemoExoticComponent<({ className, ...props }: MessageResponseProps) => react_jsx_runtime.JSX.Element>;
1069
1167
 
1070
1168
  interface BrowserLiveViewProps {
1071
1169
  src: string;
@@ -1330,4 +1428,4 @@ interface SessionTreePanelProps {
1330
1428
  }
1331
1429
  declare function SessionTreePanel({ adapter, sessionId, activeSessionId, agentId, title, sessionListLimit, hideRoot, hideHeader, loadList, onSessionSelect, onSessionDelete, }: SessionTreePanelProps): react_jsx_runtime.JSX.Element | null;
1332
1430
 
1333
- export { ACTIVE_MISSION_STATUSES, AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatAskUserQuestionAnswer, type AgentChatAskUserQuestionArgs, type AgentChatAskUserQuestionChoice, type AgentChatAskUserQuestionQuestion, type AgentChatAttachment, type AgentChatBrowserProfile, type AgentChatChartArtifactSpec, type AgentChatDisplayAttachment, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatEventsPage, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatIdeaNode, type AgentChatImageAttachment, type AgentChatInboxEventStream, type AgentChatInboxItem, type AgentChatInboxKind, type AgentChatInboxList, type AgentChatInboxListInput, type AgentChatInboxStatus, type AgentChatInboxStreamEvent, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, type AgentChatMissionEvent, type AgentChatMissionEventSession, type AgentChatMissionEventsPage, type AgentChatMissionList, type AgentChatMissionResearch, type AgentChatMissionStatus, type AgentChatMissionSummary, type AgentChatMissionTask, type AgentChatMissionWorker, type AgentChatPendingAttachment, type AgentChatPolledEvent, type AgentChatProps, type AgentChatResearchRun, type AgentChatResearchSource, type AgentChatRole, type AgentChatRuntimeApi, type AgentChatRuntimeEvent, type AgentChatScheduledWorkItem, type AgentChatScheduledWorkKind, type AgentChatScheduledWorkList, type AgentChatSession, type AgentChatSessionList, type AgentChatSessionTree, type AgentChatSessionTreeNode, type AgentChatSlashCommand, type AgentChatSseMessageEvent, type AgentChatState, type AgentChatSvgArtifactSpec, type AgentChatSystemKind, type AgentChatTableArtifactSpec, type AgentChatTokenUsage, type AgentChatToolCallInfo, type AgentChatWorkspaceEntry, type AgentChatWorkspaceFile, type AgentChatWorkspaceTree, type AgentChatWorkspaceUpload, type ArtifactKind, type ArtifactPayload, type AskUserQuestionAnswer, type AskUserQuestionArgs, type AskUserQuestionChoice, type AskUserQuestionQuestion, BrowserLiveView, type ChartArtifactSpec, type ChatComposerError, type ChatMessage, type CitationSegment, CitationText, type CodingAgentConnection, CodingAgentsPanel, type CodingAgentsPanelProps, ComposioConnectCard, type ComposioConnectCardProps, type ErrorInfo, FetchSseEventStream, type FetchSseEventStreamOptions, type HtmlArtifactSpec, type InboxItem, type InboxList, InboxPanel, type InboxPanelProps, type InboxUnreadCountState, IntegrationsBand, type IntegrationsBandProps, IntegrationsPage, type IntegrationsPageProps, MISSION_EVENT_CATEGORIES, type MarkdownArtifactSpec, MessageResponse, type MessageResponseProps, MissionDashboard, type MissionDashboardProps, type MissionEventCategory, type MissionEventsFeed, type MissionTaskBucket, type MissionTaskRailGroup, type MissionTaskRailGroupKey, MissionsPanel, type MissionsPanelProps, ResearchSourcesPanel, type RetryIndicator, type ScheduledWorkItem, type ScheduledWorkList, ScheduledWorkPanel, type ScheduledWorkPanelProps, type SessionTree, type SessionTreeNode, SessionTreePanel, type SessionTreePanelProps, type SvgArtifactSpec, type TableArtifactSpec, type TokenUsage, type ToolCallInfo, type WorkspaceEntry, type WorkspaceFile, type WorkspaceTree, type WorkspaceUpload, defaultSelectedMissionTaskId, deriveMissionWorkerActivityLabel, formatMissionTimestamp, groupMissionTasksByBucket, isTerminalMissionStatus, mergeMissionEvents, missionEventActorLabel, missionEventCategory, missionEventSummary, missionEventTaskId, missionTaskBlocks, missionTaskBucket, missionTaskRailGroups, missionTaskStatusDotClass, missionTaskTitle, missionWorkerTaskCounts, splitCitations, stripMissionControlMarkup, useAgentChatAdapterContext, useAgentChatRuntime, useChatViewMode, useInboxUnreadCount, useMissionEvents };
1431
+ export { ACTIVE_MISSION_STATUSES, AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatAskUserQuestionAnswer, type AgentChatAskUserQuestionArgs, type AgentChatAskUserQuestionChoice, type AgentChatAskUserQuestionQuestion, type AgentChatAttachment, type AgentChatBrowserProfile, type AgentChatChartArtifactSpec, type AgentChatDisplayAttachment, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatEventsPage, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatIdeaNode, type AgentChatImageAttachment, type AgentChatInboxEventStream, type AgentChatInboxItem, type AgentChatInboxKind, type AgentChatInboxList, type AgentChatInboxListInput, type AgentChatInboxStatus, type AgentChatInboxStreamEvent, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, type AgentChatMissionEvent, type AgentChatMissionEventSession, type AgentChatMissionEventsPage, type AgentChatMissionList, type AgentChatMissionResearch, type AgentChatMissionStatus, type AgentChatMissionSummary, type AgentChatMissionTask, type AgentChatMissionWorker, type AgentChatPendingAttachment, type AgentChatPolledEvent, type AgentChatProps, type AgentChatResearchRun, type AgentChatResearchSource, type AgentChatRole, type AgentChatRuntimeApi, type AgentChatRuntimeEvent, type AgentChatScheduledWorkItem, type AgentChatScheduledWorkKind, type AgentChatScheduledWorkList, type AgentChatSession, type AgentChatSessionList, type AgentChatSessionTree, type AgentChatSessionTreeNode, type AgentChatSlashCommand, type AgentChatSseMessageEvent, type AgentChatState, type AgentChatSvgArtifactSpec, type AgentChatSystemKind, type AgentChatTableArtifactSpec, type AgentChatTokenUsage, type AgentChatToolCallInfo, type AgentChatWorkspaceEntry, type AgentChatWorkspaceFile, type AgentChatWorkspaceTree, type AgentChatWorkspaceUpload, type ArtifactKind, type ArtifactPayload, type AskUserQuestionAnswer, type AskUserQuestionArgs, type AskUserQuestionChoice, type AskUserQuestionQuestion, type BorderBeamSize, BrandBeam, type BrandBeamProps, BrowserLiveView, type ChartArtifactSpec, type ChatComposerError, type ChatMessage, type CitationSegment, CitationText, type CodingAgentConnection, CodingAgentsPanel, type CodingAgentsPanelProps, ComposioConnectCard, type ComposioConnectCardProps, type ErrorInfo, FetchSseEventStream, type FetchSseEventStreamOptions, type HtmlArtifactSpec, type InboxItem, type InboxList, InboxPanel, type InboxPanelProps, type InboxUnreadCountState, IntegrationsBand, type IntegrationsBandProps, IntegrationsPage, type IntegrationsPageProps, MISSION_EVENT_CATEGORIES, type MarkdownArtifactSpec, MessageResponse, type MessageResponseProps, MissionDashboard, type MissionDashboardProps, type MissionEventCategory, type MissionEventsFeed, type MissionTaskBucket, type MissionTaskRailGroup, type MissionTaskRailGroupKey, MissionsPanel, type MissionsPanelProps, ORB_STATE_LABELS, type OrbActivity, type OrbDerivationOptions, OrbShimmerLabel, type OrbShimmerLabelProps, ResearchSourcesPanel, type RetryIndicator, SIMPLE_MODE_HIDDEN_TOOLS, SIMPLE_MODE_ORB_OPTIONS, type ScheduledWorkItem, type ScheduledWorkList, ScheduledWorkPanel, type ScheduledWorkPanelProps, type SessionTree, type SessionTreeNode, SessionTreePanel, type SessionTreePanelProps, type SvgArtifactSpec, type TableArtifactSpec, type TokenUsage, type ToolCallInfo, type WorkspaceEntry, type WorkspaceFile, type WorkspaceTree, type WorkspaceUpload, defaultSelectedMissionTaskId, deriveMissionWorkerActivityLabel, deriveOrbActivity, formatMissionTimestamp, groupMissionTasksByBucket, isHiddenSimpleTool, isTerminalMissionStatus, mergeMissionEvents, messageOrbState, missionEventActorLabel, missionEventCategory, missionEventSummary, missionEventTaskId, missionTaskBlocks, missionTaskBucket, missionTaskRailGroups, missionTaskStatusDotClass, missionTaskTitle, missionWorkerTaskCounts, splitCitations, stripMissionControlMarkup, toolOrbState, useAgentChatAdapterContext, useAgentChatRuntime, useChatViewMode, useInboxUnreadCount, useMissionEvents };