@invergent/agent-chat-react 1.8.1 → 1.9.0

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
@@ -172,6 +172,57 @@ interface AgentChatScheduledWorkList {
172
172
  items: AgentChatScheduledWorkItem[];
173
173
  total: number;
174
174
  }
175
+ type AgentChatMissionStatus = "active" | "paused" | "satisfied" | "blocked" | "failed" | "cancelled" | "max_iterations_reached" | (string & {});
176
+ interface AgentChatMissionSummary {
177
+ id: string;
178
+ orgId: string;
179
+ userId: string;
180
+ sessionId: string;
181
+ agentId: string;
182
+ description: string;
183
+ rubric: string;
184
+ status: AgentChatMissionStatus;
185
+ iteration: number;
186
+ maxIterations: number;
187
+ lastEvaluationResult: string | null;
188
+ lastEvaluationExplanation: string | null;
189
+ lastEvaluationFeedback: string | null;
190
+ lastEvaluationAt: string | null;
191
+ evaluatorParseFailures: number;
192
+ pausedReason: string | null;
193
+ cancelledReason: string | null;
194
+ createdAt: string;
195
+ updatedAt: string;
196
+ }
197
+ interface AgentChatMissionTask {
198
+ id: string;
199
+ goal: string;
200
+ status: string;
201
+ attemptCount: number;
202
+ maxAttempts: number;
203
+ agentDefName: string | null;
204
+ result: string | null;
205
+ resultMetadata: Record<string, unknown> | null;
206
+ parentIds: string[];
207
+ currentSessionId: string | null;
208
+ createdAt: string | null;
209
+ completedAt: string | null;
210
+ }
211
+ interface AgentChatMissionWorker {
212
+ taskId: string;
213
+ workerSessionId: string;
214
+ agentDefName: string | null;
215
+ taskStatus: string;
216
+ sessionStatus: string;
217
+ latestEventId: number | null;
218
+ latestEventKind: string | null;
219
+ latestEventAt: string | null;
220
+ latestEventSummary: string | null;
221
+ transcriptUrl: string;
222
+ }
223
+ interface AgentChatMissionList {
224
+ missions: AgentChatMissionSummary[];
225
+ }
175
226
  type AgentChatInboxKind = "input_required" | "action_required" | "task_complete" | "governance_gate" | "progress_checkin" | (string & {});
176
227
  type AgentChatInboxStatus = "pending" | "acknowledged" | "responded" | "expired" | (string & {});
177
228
  interface AgentChatInboxItem {
@@ -416,6 +467,35 @@ interface AgentChatAdapter {
416
467
  cancelScheduledWork?(input: {
417
468
  scheduleId: string;
418
469
  }): Promise<void>;
470
+ listMissions?(input?: {
471
+ status?: string;
472
+ agentId?: string;
473
+ }): Promise<AgentChatMissionList>;
474
+ getMission?(input: {
475
+ missionId: string;
476
+ }): Promise<AgentChatMissionSummary>;
477
+ getMissionTasks?(input: {
478
+ missionId: string;
479
+ }): Promise<{
480
+ tasks: AgentChatMissionTask[];
481
+ }>;
482
+ getMissionWorkers?(input: {
483
+ missionId: string;
484
+ }): Promise<{
485
+ workers: AgentChatMissionWorker[];
486
+ }>;
487
+ pauseMission?(input: {
488
+ missionId: string;
489
+ reason?: string;
490
+ }): Promise<void>;
491
+ resumeMission?(input: {
492
+ missionId: string;
493
+ }): Promise<void>;
494
+ cancelMission?(input: {
495
+ missionId: string;
496
+ reason?: string;
497
+ cascadeToWorkers?: boolean;
498
+ }): Promise<void>;
419
499
  listInbox?(input?: AgentChatInboxListInput): Promise<AgentChatInboxList>;
420
500
  getInboxItem?(input: {
421
501
  itemId: number;
@@ -602,6 +682,52 @@ interface InboxUnreadCountState {
602
682
  }
603
683
  declare function useInboxUnreadCount(adapter: AgentChatAdapter): InboxUnreadCountState;
604
684
 
685
+ interface MissionDashboardProps {
686
+ adapter: AgentChatAdapter;
687
+ missionId: string;
688
+ /** Override the 5s default while testing or in lower-traffic embeddings. */
689
+ pollIntervalMs?: number;
690
+ /** Optional click handler for the "Back" button shown on terminal missions. */
691
+ onNavigateBack?: () => void;
692
+ /** Optional click handler for a worker row's transcript link.
693
+ * When unset, the dashboard renders the raw URL the server provided as
694
+ * an `<a target="_blank">` link — appropriate for hosts that haven't
695
+ * registered an in-app session view. */
696
+ onOpenTranscript?: (workerSessionId: string) => void;
697
+ }
698
+ declare function MissionDashboard({ adapter, missionId, pollIntervalMs, onNavigateBack, onOpenTranscript, }: MissionDashboardProps): react_jsx_runtime.JSX.Element;
699
+
700
+ interface MissionsPanelProps {
701
+ adapter: AgentChatAdapter;
702
+ agentId?: string;
703
+ title?: string;
704
+ /** Comma-separated status filter passed to ``listMissions``. */
705
+ status?: string;
706
+ hideHeader?: boolean;
707
+ pollIntervalMs?: number;
708
+ onMissionSelect?: (missionId: string) => void;
709
+ onMissionPause?: (missionId: string) => void;
710
+ onMissionResume?: (missionId: string) => void;
711
+ onMissionCancel?: (missionId: string) => void;
712
+ }
713
+ declare function MissionsPanel({ adapter, agentId, title, status, hideHeader, pollIntervalMs, onMissionSelect, onMissionPause, onMissionResume, onMissionCancel, }: MissionsPanelProps): react_jsx_runtime.JSX.Element | null;
714
+
715
+ /** Mission statuses that are still actively producing events. */
716
+ declare const ACTIVE_MISSION_STATUSES: ReadonlySet<AgentChatMissionStatus>;
717
+ /** Mission statuses past which no further work happens. */
718
+ declare function isTerminalMissionStatus(status: AgentChatMissionStatus): boolean;
719
+ /** Bucket label for grouping tasks in the dashboard. */
720
+ type MissionTaskBucket = "in_flight" | "done" | "blocked" | "failed_or_cancelled";
721
+ declare function missionTaskBucket(status: string): MissionTaskBucket;
722
+ declare function groupMissionTasksByBucket(tasks: AgentChatMissionTask[]): Record<MissionTaskBucket, AgentChatMissionTask[]>;
723
+ /**
724
+ * Derive a human-friendly activity label for a worker row. The server
725
+ * exposes raw event metadata; the client picks the most informative
726
+ * signal in this order: a recent tool.call summary, a recent
727
+ * llm.response, else the worker's session status.
728
+ */
729
+ declare function deriveMissionWorkerActivityLabel(worker: AgentChatMissionWorker): string;
730
+
605
731
  interface ScheduledWorkPanelProps {
606
732
  adapter: AgentChatAdapter;
607
733
  agentId?: string;
@@ -638,4 +764,4 @@ interface SessionTreePanelProps {
638
764
  }
639
765
  declare function SessionTreePanel({ adapter, sessionId, activeSessionId, agentId, title, sessionListLimit, hideRoot, hideHeader, loadList, onSessionSelect, onSessionDelete, }: SessionTreePanelProps): react_jsx_runtime.JSX.Element | null;
640
766
 
641
- export { AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatAttachment, type AgentChatChartArtifactSpec, type AgentChatClarifyAnswer, type AgentChatClarifyArgs, type AgentChatClarifyChoice, type AgentChatClarifyQuestion, type AgentChatDisplayAttachment, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatImageAttachment, type AgentChatInboxEventStream, type AgentChatInboxItem, type AgentChatInboxKind, type AgentChatInboxList, type AgentChatInboxListInput, type AgentChatInboxStatus, type AgentChatInboxStreamEvent, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, type AgentChatPendingAttachment, type AgentChatProps, 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 ChartArtifactSpec, type ChatComposerError, type ChatMessage, type ClarifyAnswer, type ClarifyArgs, type ClarifyChoice, type ClarifyQuestion, type ErrorInfo, type HtmlArtifactSpec, type InboxItem, type InboxList, InboxPanel, type InboxPanelProps, type InboxUnreadCountState, type MarkdownArtifactSpec, MessageResponse, type MessageResponseProps, 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, useAgentChatAdapterContext, useAgentChatRuntime, useInboxUnreadCount };
767
+ export { ACTIVE_MISSION_STATUSES, AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatAttachment, type AgentChatChartArtifactSpec, type AgentChatClarifyAnswer, type AgentChatClarifyArgs, type AgentChatClarifyChoice, type AgentChatClarifyQuestion, type AgentChatDisplayAttachment, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatImageAttachment, type AgentChatInboxEventStream, type AgentChatInboxItem, type AgentChatInboxKind, type AgentChatInboxList, type AgentChatInboxListInput, type AgentChatInboxStatus, type AgentChatInboxStreamEvent, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, type AgentChatMissionList, type AgentChatMissionStatus, type AgentChatMissionSummary, type AgentChatMissionTask, type AgentChatMissionWorker, type AgentChatPendingAttachment, type AgentChatProps, 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 ChartArtifactSpec, type ChatComposerError, type ChatMessage, type ClarifyAnswer, type ClarifyArgs, type ClarifyChoice, type ClarifyQuestion, type ErrorInfo, type HtmlArtifactSpec, type InboxItem, type InboxList, InboxPanel, type InboxPanelProps, type InboxUnreadCountState, type MarkdownArtifactSpec, MessageResponse, type MessageResponseProps, MissionDashboard, type MissionDashboardProps, type MissionTaskBucket, MissionsPanel, type MissionsPanelProps, 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, deriveMissionWorkerActivityLabel, groupMissionTasksByBucket, isTerminalMissionStatus, missionTaskBucket, useAgentChatAdapterContext, useAgentChatRuntime, useInboxUnreadCount };
package/dist/index.d.ts CHANGED
@@ -172,6 +172,57 @@ interface AgentChatScheduledWorkList {
172
172
  items: AgentChatScheduledWorkItem[];
173
173
  total: number;
174
174
  }
175
+ type AgentChatMissionStatus = "active" | "paused" | "satisfied" | "blocked" | "failed" | "cancelled" | "max_iterations_reached" | (string & {});
176
+ interface AgentChatMissionSummary {
177
+ id: string;
178
+ orgId: string;
179
+ userId: string;
180
+ sessionId: string;
181
+ agentId: string;
182
+ description: string;
183
+ rubric: string;
184
+ status: AgentChatMissionStatus;
185
+ iteration: number;
186
+ maxIterations: number;
187
+ lastEvaluationResult: string | null;
188
+ lastEvaluationExplanation: string | null;
189
+ lastEvaluationFeedback: string | null;
190
+ lastEvaluationAt: string | null;
191
+ evaluatorParseFailures: number;
192
+ pausedReason: string | null;
193
+ cancelledReason: string | null;
194
+ createdAt: string;
195
+ updatedAt: string;
196
+ }
197
+ interface AgentChatMissionTask {
198
+ id: string;
199
+ goal: string;
200
+ status: string;
201
+ attemptCount: number;
202
+ maxAttempts: number;
203
+ agentDefName: string | null;
204
+ result: string | null;
205
+ resultMetadata: Record<string, unknown> | null;
206
+ parentIds: string[];
207
+ currentSessionId: string | null;
208
+ createdAt: string | null;
209
+ completedAt: string | null;
210
+ }
211
+ interface AgentChatMissionWorker {
212
+ taskId: string;
213
+ workerSessionId: string;
214
+ agentDefName: string | null;
215
+ taskStatus: string;
216
+ sessionStatus: string;
217
+ latestEventId: number | null;
218
+ latestEventKind: string | null;
219
+ latestEventAt: string | null;
220
+ latestEventSummary: string | null;
221
+ transcriptUrl: string;
222
+ }
223
+ interface AgentChatMissionList {
224
+ missions: AgentChatMissionSummary[];
225
+ }
175
226
  type AgentChatInboxKind = "input_required" | "action_required" | "task_complete" | "governance_gate" | "progress_checkin" | (string & {});
176
227
  type AgentChatInboxStatus = "pending" | "acknowledged" | "responded" | "expired" | (string & {});
177
228
  interface AgentChatInboxItem {
@@ -416,6 +467,35 @@ interface AgentChatAdapter {
416
467
  cancelScheduledWork?(input: {
417
468
  scheduleId: string;
418
469
  }): Promise<void>;
470
+ listMissions?(input?: {
471
+ status?: string;
472
+ agentId?: string;
473
+ }): Promise<AgentChatMissionList>;
474
+ getMission?(input: {
475
+ missionId: string;
476
+ }): Promise<AgentChatMissionSummary>;
477
+ getMissionTasks?(input: {
478
+ missionId: string;
479
+ }): Promise<{
480
+ tasks: AgentChatMissionTask[];
481
+ }>;
482
+ getMissionWorkers?(input: {
483
+ missionId: string;
484
+ }): Promise<{
485
+ workers: AgentChatMissionWorker[];
486
+ }>;
487
+ pauseMission?(input: {
488
+ missionId: string;
489
+ reason?: string;
490
+ }): Promise<void>;
491
+ resumeMission?(input: {
492
+ missionId: string;
493
+ }): Promise<void>;
494
+ cancelMission?(input: {
495
+ missionId: string;
496
+ reason?: string;
497
+ cascadeToWorkers?: boolean;
498
+ }): Promise<void>;
419
499
  listInbox?(input?: AgentChatInboxListInput): Promise<AgentChatInboxList>;
420
500
  getInboxItem?(input: {
421
501
  itemId: number;
@@ -602,6 +682,52 @@ interface InboxUnreadCountState {
602
682
  }
603
683
  declare function useInboxUnreadCount(adapter: AgentChatAdapter): InboxUnreadCountState;
604
684
 
685
+ interface MissionDashboardProps {
686
+ adapter: AgentChatAdapter;
687
+ missionId: string;
688
+ /** Override the 5s default while testing or in lower-traffic embeddings. */
689
+ pollIntervalMs?: number;
690
+ /** Optional click handler for the "Back" button shown on terminal missions. */
691
+ onNavigateBack?: () => void;
692
+ /** Optional click handler for a worker row's transcript link.
693
+ * When unset, the dashboard renders the raw URL the server provided as
694
+ * an `<a target="_blank">` link — appropriate for hosts that haven't
695
+ * registered an in-app session view. */
696
+ onOpenTranscript?: (workerSessionId: string) => void;
697
+ }
698
+ declare function MissionDashboard({ adapter, missionId, pollIntervalMs, onNavigateBack, onOpenTranscript, }: MissionDashboardProps): react_jsx_runtime.JSX.Element;
699
+
700
+ interface MissionsPanelProps {
701
+ adapter: AgentChatAdapter;
702
+ agentId?: string;
703
+ title?: string;
704
+ /** Comma-separated status filter passed to ``listMissions``. */
705
+ status?: string;
706
+ hideHeader?: boolean;
707
+ pollIntervalMs?: number;
708
+ onMissionSelect?: (missionId: string) => void;
709
+ onMissionPause?: (missionId: string) => void;
710
+ onMissionResume?: (missionId: string) => void;
711
+ onMissionCancel?: (missionId: string) => void;
712
+ }
713
+ declare function MissionsPanel({ adapter, agentId, title, status, hideHeader, pollIntervalMs, onMissionSelect, onMissionPause, onMissionResume, onMissionCancel, }: MissionsPanelProps): react_jsx_runtime.JSX.Element | null;
714
+
715
+ /** Mission statuses that are still actively producing events. */
716
+ declare const ACTIVE_MISSION_STATUSES: ReadonlySet<AgentChatMissionStatus>;
717
+ /** Mission statuses past which no further work happens. */
718
+ declare function isTerminalMissionStatus(status: AgentChatMissionStatus): boolean;
719
+ /** Bucket label for grouping tasks in the dashboard. */
720
+ type MissionTaskBucket = "in_flight" | "done" | "blocked" | "failed_or_cancelled";
721
+ declare function missionTaskBucket(status: string): MissionTaskBucket;
722
+ declare function groupMissionTasksByBucket(tasks: AgentChatMissionTask[]): Record<MissionTaskBucket, AgentChatMissionTask[]>;
723
+ /**
724
+ * Derive a human-friendly activity label for a worker row. The server
725
+ * exposes raw event metadata; the client picks the most informative
726
+ * signal in this order: a recent tool.call summary, a recent
727
+ * llm.response, else the worker's session status.
728
+ */
729
+ declare function deriveMissionWorkerActivityLabel(worker: AgentChatMissionWorker): string;
730
+
605
731
  interface ScheduledWorkPanelProps {
606
732
  adapter: AgentChatAdapter;
607
733
  agentId?: string;
@@ -638,4 +764,4 @@ interface SessionTreePanelProps {
638
764
  }
639
765
  declare function SessionTreePanel({ adapter, sessionId, activeSessionId, agentId, title, sessionListLimit, hideRoot, hideHeader, loadList, onSessionSelect, onSessionDelete, }: SessionTreePanelProps): react_jsx_runtime.JSX.Element | null;
640
766
 
641
- export { AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatAttachment, type AgentChatChartArtifactSpec, type AgentChatClarifyAnswer, type AgentChatClarifyArgs, type AgentChatClarifyChoice, type AgentChatClarifyQuestion, type AgentChatDisplayAttachment, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatImageAttachment, type AgentChatInboxEventStream, type AgentChatInboxItem, type AgentChatInboxKind, type AgentChatInboxList, type AgentChatInboxListInput, type AgentChatInboxStatus, type AgentChatInboxStreamEvent, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, type AgentChatPendingAttachment, type AgentChatProps, 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 ChartArtifactSpec, type ChatComposerError, type ChatMessage, type ClarifyAnswer, type ClarifyArgs, type ClarifyChoice, type ClarifyQuestion, type ErrorInfo, type HtmlArtifactSpec, type InboxItem, type InboxList, InboxPanel, type InboxPanelProps, type InboxUnreadCountState, type MarkdownArtifactSpec, MessageResponse, type MessageResponseProps, 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, useAgentChatAdapterContext, useAgentChatRuntime, useInboxUnreadCount };
767
+ export { ACTIVE_MISSION_STATUSES, AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatAttachment, type AgentChatChartArtifactSpec, type AgentChatClarifyAnswer, type AgentChatClarifyArgs, type AgentChatClarifyChoice, type AgentChatClarifyQuestion, type AgentChatDisplayAttachment, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatImageAttachment, type AgentChatInboxEventStream, type AgentChatInboxItem, type AgentChatInboxKind, type AgentChatInboxList, type AgentChatInboxListInput, type AgentChatInboxStatus, type AgentChatInboxStreamEvent, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, type AgentChatMissionList, type AgentChatMissionStatus, type AgentChatMissionSummary, type AgentChatMissionTask, type AgentChatMissionWorker, type AgentChatPendingAttachment, type AgentChatProps, 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 ChartArtifactSpec, type ChatComposerError, type ChatMessage, type ClarifyAnswer, type ClarifyArgs, type ClarifyChoice, type ClarifyQuestion, type ErrorInfo, type HtmlArtifactSpec, type InboxItem, type InboxList, InboxPanel, type InboxPanelProps, type InboxUnreadCountState, type MarkdownArtifactSpec, MessageResponse, type MessageResponseProps, MissionDashboard, type MissionDashboardProps, type MissionTaskBucket, MissionsPanel, type MissionsPanelProps, 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, deriveMissionWorkerActivityLabel, groupMissionTasksByBucket, isTerminalMissionStatus, missionTaskBucket, useAgentChatAdapterContext, useAgentChatRuntime, useInboxUnreadCount };