@invergent/agent-chat-react 2.0.9 → 2.1.3
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.cjs +2455 -1261
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +70 -15
- package/dist/index.d.ts +70 -15
- package/dist/index.js +2444 -1251
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -69,6 +69,29 @@ interface AgentChatMessage {
|
|
|
69
69
|
rating: "up" | "down";
|
|
70
70
|
reason?: string;
|
|
71
71
|
};
|
|
72
|
+
turnId?: string;
|
|
73
|
+
iterationIndex?: number;
|
|
74
|
+
iterationSummary?: AgentChatIterationSummary;
|
|
75
|
+
turnSummary?: AgentChatTurnSummary;
|
|
76
|
+
}
|
|
77
|
+
interface AgentChatIterationSummary {
|
|
78
|
+
iterationIndex: number;
|
|
79
|
+
summary: string;
|
|
80
|
+
toolCallIds: string[];
|
|
81
|
+
startedAt: string;
|
|
82
|
+
endedAt: string;
|
|
83
|
+
}
|
|
84
|
+
type AgentChatTurnArtifactKind = "file" | "artifact" | "url" | "command";
|
|
85
|
+
interface AgentChatTurnArtifactRef {
|
|
86
|
+
kind: AgentChatTurnArtifactKind;
|
|
87
|
+
label: string;
|
|
88
|
+
ref: string;
|
|
89
|
+
meta?: Record<string, unknown>;
|
|
90
|
+
}
|
|
91
|
+
interface AgentChatTurnSummary {
|
|
92
|
+
turnId: string;
|
|
93
|
+
recap: string;
|
|
94
|
+
artifacts: AgentChatTurnArtifactRef[];
|
|
72
95
|
}
|
|
73
96
|
interface AgentChatToolCallInfo {
|
|
74
97
|
id: string;
|
|
@@ -82,7 +105,7 @@ interface AgentChatToolCallInfo {
|
|
|
82
105
|
rating: "up" | "down";
|
|
83
106
|
reason?: string;
|
|
84
107
|
};
|
|
85
|
-
|
|
108
|
+
askUserQuestionAnswers?: AgentChatAskUserQuestionAnswer[];
|
|
86
109
|
cancelled?: boolean;
|
|
87
110
|
}
|
|
88
111
|
interface AgentChatTokenUsage {
|
|
@@ -280,7 +303,7 @@ interface AgentChatInboxEventStream {
|
|
|
280
303
|
close(): void;
|
|
281
304
|
onerror: (() => void) | null;
|
|
282
305
|
}
|
|
283
|
-
type AgentChatEventType = "user.message" | "llm.request" | "llm.response" | "llm.thinking" | "llm.delta" | "tool.call" | "tool.result" | "session.start" | "session.pause" | "session.resume" | "session.complete" | "session.fail" | "session.done" | "harness.wake" | "harness.crash" | "context.compact" | "skill.invoked" | "policy.denied" | "stream.timeout" | "expert.result" | "expert.endorse" | "expert.override" | "user.feedback" | "artifact.created" | "artifact.updated" | "browser.provisioned" | "browser.destroyed" | "browser.control_granted" | "browser.control_returned" | "
|
|
306
|
+
type AgentChatEventType = "user.message" | "llm.request" | "llm.response" | "llm.thinking" | "llm.delta" | "tool.call" | "tool.result" | "session.start" | "session.pause" | "session.resume" | "session.complete" | "session.fail" | "session.done" | "harness.wake" | "harness.crash" | "context.compact" | "skill.invoked" | "policy.denied" | "stream.timeout" | "expert.delegation" | "expert.result" | "expert.failure" | "expert.endorse" | "expert.override" | "user.feedback" | "artifact.created" | "artifact.updated" | "browser.provisioned" | "browser.destroyed" | "browser.control_granted" | "browser.control_returned" | "ask_user_question.response" | "iteration.summary" | "turn.summary";
|
|
284
307
|
interface AgentChatRuntimeEvent {
|
|
285
308
|
type: AgentChatEventType;
|
|
286
309
|
eventId: number;
|
|
@@ -315,7 +338,9 @@ interface AgentChatState {
|
|
|
315
338
|
terminal: boolean;
|
|
316
339
|
workspaceRefreshKey: number;
|
|
317
340
|
browser: AgentChatBrowserState | null;
|
|
341
|
+
viewMode: AgentChatViewMode;
|
|
318
342
|
}
|
|
343
|
+
type AgentChatViewMode = "simple" | "expert";
|
|
319
344
|
type AgentChatArtifactKind = "markdown" | "table" | "chart" | "html" | "svg";
|
|
320
345
|
interface AgentChatArtifactMeta {
|
|
321
346
|
artifact_id: string;
|
|
@@ -367,19 +392,19 @@ type AgentChatArtifactPayload = {
|
|
|
367
392
|
kind: "svg";
|
|
368
393
|
spec: AgentChatSvgArtifactSpec;
|
|
369
394
|
};
|
|
370
|
-
interface
|
|
395
|
+
interface AgentChatAskUserQuestionChoice {
|
|
371
396
|
label: string;
|
|
372
397
|
description?: string;
|
|
373
398
|
}
|
|
374
|
-
interface
|
|
399
|
+
interface AgentChatAskUserQuestionQuestion {
|
|
375
400
|
prompt: string;
|
|
376
|
-
choices?:
|
|
401
|
+
choices?: AgentChatAskUserQuestionChoice[];
|
|
377
402
|
allow_other?: boolean;
|
|
378
403
|
}
|
|
379
|
-
interface
|
|
380
|
-
questions:
|
|
404
|
+
interface AgentChatAskUserQuestionArgs {
|
|
405
|
+
questions: AgentChatAskUserQuestionQuestion[];
|
|
381
406
|
}
|
|
382
|
-
interface
|
|
407
|
+
interface AgentChatAskUserQuestionAnswer {
|
|
383
408
|
question: string;
|
|
384
409
|
answer: string;
|
|
385
410
|
is_other: boolean;
|
|
@@ -388,6 +413,13 @@ interface AgentChatSlashCommand {
|
|
|
388
413
|
value: string;
|
|
389
414
|
label: string;
|
|
390
415
|
description: string;
|
|
416
|
+
/**
|
|
417
|
+
* True when this entry is backed by an active expert model (consulted
|
|
418
|
+
* via the harness mini-loop) rather than a prompt-based skill. The UI
|
|
419
|
+
* shows an "EXPERT" badge so the user can distinguish a multi-second
|
|
420
|
+
* specialist consultation from a body-inline skill.
|
|
421
|
+
*/
|
|
422
|
+
isExpert?: boolean;
|
|
391
423
|
}
|
|
392
424
|
interface AgentChatWorkspaceEntry {
|
|
393
425
|
name: string;
|
|
@@ -539,10 +571,10 @@ interface AgentChatAdapter {
|
|
|
539
571
|
sessionId: string;
|
|
540
572
|
artifactId: string;
|
|
541
573
|
}): Promise<AgentChatArtifactPayload>;
|
|
542
|
-
|
|
574
|
+
submitAskUserQuestionResponse(input: {
|
|
543
575
|
sessionId: string;
|
|
544
576
|
toolCallId: string;
|
|
545
|
-
responses:
|
|
577
|
+
responses: AgentChatAskUserQuestionAnswer[];
|
|
546
578
|
}): Promise<{
|
|
547
579
|
eventId?: number;
|
|
548
580
|
}>;
|
|
@@ -601,6 +633,25 @@ interface AgentChatAdapter {
|
|
|
601
633
|
acquireBrowserControl(sessionId: string): Promise<AgentChatBrowserControlResponse>;
|
|
602
634
|
releaseBrowserControl(sessionId: string): Promise<void>;
|
|
603
635
|
browserLiveViewUrl(sessionId: string): string;
|
|
636
|
+
/**
|
|
637
|
+
* Permanently terminate the session's browser sandbox (destroys the
|
|
638
|
+
* pod / container, drops the registry entry). Optional — when
|
|
639
|
+
* undefined, the BrowserPane's Close button skips this step and
|
|
640
|
+
* just hides the pane via the local onClose callback.
|
|
641
|
+
*/
|
|
642
|
+
closeBrowserSession?(sessionId: string): Promise<void>;
|
|
643
|
+
/**
|
|
644
|
+
* Read the user's persisted Simple/Expert chat view mode. Optional —
|
|
645
|
+
* when missing, the runtime falls back to a localStorage cache.
|
|
646
|
+
* Returning ``null`` is treated as "no preference yet" and leaves the
|
|
647
|
+
* default (``"simple"``) in place.
|
|
648
|
+
*/
|
|
649
|
+
getChatViewMode?(): Promise<AgentChatViewMode | null>;
|
|
650
|
+
/**
|
|
651
|
+
* Persist the user's Simple/Expert chat view mode. Optional —
|
|
652
|
+
* when missing, the runtime writes to localStorage instead.
|
|
653
|
+
*/
|
|
654
|
+
setChatViewMode?(mode: AgentChatViewMode): Promise<void>;
|
|
604
655
|
}
|
|
605
656
|
interface AgentChatRuntimeApi {
|
|
606
657
|
state: AgentChatState;
|
|
@@ -616,6 +667,10 @@ interface AgentChatRuntimeApi {
|
|
|
616
667
|
retry(): Promise<void>;
|
|
617
668
|
markSending(content: string): void;
|
|
618
669
|
markSendError(errorText: string): void;
|
|
670
|
+
/** Current Simple/Expert chat view mode. */
|
|
671
|
+
viewMode: AgentChatViewMode;
|
|
672
|
+
/** Update the chat view mode + persist via adapter / localStorage. */
|
|
673
|
+
setViewMode(mode: AgentChatViewMode): void;
|
|
619
674
|
}
|
|
620
675
|
type ChatMessage = AgentChatMessage;
|
|
621
676
|
type SessionTreeNode = AgentChatSessionTreeNode;
|
|
@@ -635,10 +690,10 @@ type TableArtifactSpec = AgentChatTableArtifactSpec;
|
|
|
635
690
|
type ChartArtifactSpec = AgentChatChartArtifactSpec;
|
|
636
691
|
type HtmlArtifactSpec = AgentChatHtmlArtifactSpec;
|
|
637
692
|
type SvgArtifactSpec = AgentChatSvgArtifactSpec;
|
|
638
|
-
type
|
|
639
|
-
type
|
|
640
|
-
type
|
|
641
|
-
type
|
|
693
|
+
type AskUserQuestionChoice = AgentChatAskUserQuestionChoice;
|
|
694
|
+
type AskUserQuestionQuestion = AgentChatAskUserQuestionQuestion;
|
|
695
|
+
type AskUserQuestionArgs = AgentChatAskUserQuestionArgs;
|
|
696
|
+
type AskUserQuestionAnswer = AgentChatAskUserQuestionAnswer;
|
|
642
697
|
type WorkspaceEntry = AgentChatWorkspaceEntry;
|
|
643
698
|
type WorkspaceTree = AgentChatWorkspaceTree;
|
|
644
699
|
type WorkspaceFile = AgentChatWorkspaceFile;
|
|
@@ -791,4 +846,4 @@ interface SessionTreePanelProps {
|
|
|
791
846
|
}
|
|
792
847
|
declare function SessionTreePanel({ adapter, sessionId, activeSessionId, agentId, title, sessionListLimit, hideRoot, hideHeader, loadList, onSessionSelect, onSessionDelete, }: SessionTreePanelProps): react_jsx_runtime.JSX.Element | null;
|
|
793
848
|
|
|
794
|
-
export { ACTIVE_MISSION_STATUSES, AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type
|
|
849
|
+
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 AgentChatChartArtifactSpec, 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 AskUserQuestionAnswer, type AskUserQuestionArgs, type AskUserQuestionChoice, type AskUserQuestionQuestion, type ChartArtifactSpec, type ChatComposerError, type ChatMessage, 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
|
@@ -69,6 +69,29 @@ interface AgentChatMessage {
|
|
|
69
69
|
rating: "up" | "down";
|
|
70
70
|
reason?: string;
|
|
71
71
|
};
|
|
72
|
+
turnId?: string;
|
|
73
|
+
iterationIndex?: number;
|
|
74
|
+
iterationSummary?: AgentChatIterationSummary;
|
|
75
|
+
turnSummary?: AgentChatTurnSummary;
|
|
76
|
+
}
|
|
77
|
+
interface AgentChatIterationSummary {
|
|
78
|
+
iterationIndex: number;
|
|
79
|
+
summary: string;
|
|
80
|
+
toolCallIds: string[];
|
|
81
|
+
startedAt: string;
|
|
82
|
+
endedAt: string;
|
|
83
|
+
}
|
|
84
|
+
type AgentChatTurnArtifactKind = "file" | "artifact" | "url" | "command";
|
|
85
|
+
interface AgentChatTurnArtifactRef {
|
|
86
|
+
kind: AgentChatTurnArtifactKind;
|
|
87
|
+
label: string;
|
|
88
|
+
ref: string;
|
|
89
|
+
meta?: Record<string, unknown>;
|
|
90
|
+
}
|
|
91
|
+
interface AgentChatTurnSummary {
|
|
92
|
+
turnId: string;
|
|
93
|
+
recap: string;
|
|
94
|
+
artifacts: AgentChatTurnArtifactRef[];
|
|
72
95
|
}
|
|
73
96
|
interface AgentChatToolCallInfo {
|
|
74
97
|
id: string;
|
|
@@ -82,7 +105,7 @@ interface AgentChatToolCallInfo {
|
|
|
82
105
|
rating: "up" | "down";
|
|
83
106
|
reason?: string;
|
|
84
107
|
};
|
|
85
|
-
|
|
108
|
+
askUserQuestionAnswers?: AgentChatAskUserQuestionAnswer[];
|
|
86
109
|
cancelled?: boolean;
|
|
87
110
|
}
|
|
88
111
|
interface AgentChatTokenUsage {
|
|
@@ -280,7 +303,7 @@ interface AgentChatInboxEventStream {
|
|
|
280
303
|
close(): void;
|
|
281
304
|
onerror: (() => void) | null;
|
|
282
305
|
}
|
|
283
|
-
type AgentChatEventType = "user.message" | "llm.request" | "llm.response" | "llm.thinking" | "llm.delta" | "tool.call" | "tool.result" | "session.start" | "session.pause" | "session.resume" | "session.complete" | "session.fail" | "session.done" | "harness.wake" | "harness.crash" | "context.compact" | "skill.invoked" | "policy.denied" | "stream.timeout" | "expert.result" | "expert.endorse" | "expert.override" | "user.feedback" | "artifact.created" | "artifact.updated" | "browser.provisioned" | "browser.destroyed" | "browser.control_granted" | "browser.control_returned" | "
|
|
306
|
+
type AgentChatEventType = "user.message" | "llm.request" | "llm.response" | "llm.thinking" | "llm.delta" | "tool.call" | "tool.result" | "session.start" | "session.pause" | "session.resume" | "session.complete" | "session.fail" | "session.done" | "harness.wake" | "harness.crash" | "context.compact" | "skill.invoked" | "policy.denied" | "stream.timeout" | "expert.delegation" | "expert.result" | "expert.failure" | "expert.endorse" | "expert.override" | "user.feedback" | "artifact.created" | "artifact.updated" | "browser.provisioned" | "browser.destroyed" | "browser.control_granted" | "browser.control_returned" | "ask_user_question.response" | "iteration.summary" | "turn.summary";
|
|
284
307
|
interface AgentChatRuntimeEvent {
|
|
285
308
|
type: AgentChatEventType;
|
|
286
309
|
eventId: number;
|
|
@@ -315,7 +338,9 @@ interface AgentChatState {
|
|
|
315
338
|
terminal: boolean;
|
|
316
339
|
workspaceRefreshKey: number;
|
|
317
340
|
browser: AgentChatBrowserState | null;
|
|
341
|
+
viewMode: AgentChatViewMode;
|
|
318
342
|
}
|
|
343
|
+
type AgentChatViewMode = "simple" | "expert";
|
|
319
344
|
type AgentChatArtifactKind = "markdown" | "table" | "chart" | "html" | "svg";
|
|
320
345
|
interface AgentChatArtifactMeta {
|
|
321
346
|
artifact_id: string;
|
|
@@ -367,19 +392,19 @@ type AgentChatArtifactPayload = {
|
|
|
367
392
|
kind: "svg";
|
|
368
393
|
spec: AgentChatSvgArtifactSpec;
|
|
369
394
|
};
|
|
370
|
-
interface
|
|
395
|
+
interface AgentChatAskUserQuestionChoice {
|
|
371
396
|
label: string;
|
|
372
397
|
description?: string;
|
|
373
398
|
}
|
|
374
|
-
interface
|
|
399
|
+
interface AgentChatAskUserQuestionQuestion {
|
|
375
400
|
prompt: string;
|
|
376
|
-
choices?:
|
|
401
|
+
choices?: AgentChatAskUserQuestionChoice[];
|
|
377
402
|
allow_other?: boolean;
|
|
378
403
|
}
|
|
379
|
-
interface
|
|
380
|
-
questions:
|
|
404
|
+
interface AgentChatAskUserQuestionArgs {
|
|
405
|
+
questions: AgentChatAskUserQuestionQuestion[];
|
|
381
406
|
}
|
|
382
|
-
interface
|
|
407
|
+
interface AgentChatAskUserQuestionAnswer {
|
|
383
408
|
question: string;
|
|
384
409
|
answer: string;
|
|
385
410
|
is_other: boolean;
|
|
@@ -388,6 +413,13 @@ interface AgentChatSlashCommand {
|
|
|
388
413
|
value: string;
|
|
389
414
|
label: string;
|
|
390
415
|
description: string;
|
|
416
|
+
/**
|
|
417
|
+
* True when this entry is backed by an active expert model (consulted
|
|
418
|
+
* via the harness mini-loop) rather than a prompt-based skill. The UI
|
|
419
|
+
* shows an "EXPERT" badge so the user can distinguish a multi-second
|
|
420
|
+
* specialist consultation from a body-inline skill.
|
|
421
|
+
*/
|
|
422
|
+
isExpert?: boolean;
|
|
391
423
|
}
|
|
392
424
|
interface AgentChatWorkspaceEntry {
|
|
393
425
|
name: string;
|
|
@@ -539,10 +571,10 @@ interface AgentChatAdapter {
|
|
|
539
571
|
sessionId: string;
|
|
540
572
|
artifactId: string;
|
|
541
573
|
}): Promise<AgentChatArtifactPayload>;
|
|
542
|
-
|
|
574
|
+
submitAskUserQuestionResponse(input: {
|
|
543
575
|
sessionId: string;
|
|
544
576
|
toolCallId: string;
|
|
545
|
-
responses:
|
|
577
|
+
responses: AgentChatAskUserQuestionAnswer[];
|
|
546
578
|
}): Promise<{
|
|
547
579
|
eventId?: number;
|
|
548
580
|
}>;
|
|
@@ -601,6 +633,25 @@ interface AgentChatAdapter {
|
|
|
601
633
|
acquireBrowserControl(sessionId: string): Promise<AgentChatBrowserControlResponse>;
|
|
602
634
|
releaseBrowserControl(sessionId: string): Promise<void>;
|
|
603
635
|
browserLiveViewUrl(sessionId: string): string;
|
|
636
|
+
/**
|
|
637
|
+
* Permanently terminate the session's browser sandbox (destroys the
|
|
638
|
+
* pod / container, drops the registry entry). Optional — when
|
|
639
|
+
* undefined, the BrowserPane's Close button skips this step and
|
|
640
|
+
* just hides the pane via the local onClose callback.
|
|
641
|
+
*/
|
|
642
|
+
closeBrowserSession?(sessionId: string): Promise<void>;
|
|
643
|
+
/**
|
|
644
|
+
* Read the user's persisted Simple/Expert chat view mode. Optional —
|
|
645
|
+
* when missing, the runtime falls back to a localStorage cache.
|
|
646
|
+
* Returning ``null`` is treated as "no preference yet" and leaves the
|
|
647
|
+
* default (``"simple"``) in place.
|
|
648
|
+
*/
|
|
649
|
+
getChatViewMode?(): Promise<AgentChatViewMode | null>;
|
|
650
|
+
/**
|
|
651
|
+
* Persist the user's Simple/Expert chat view mode. Optional —
|
|
652
|
+
* when missing, the runtime writes to localStorage instead.
|
|
653
|
+
*/
|
|
654
|
+
setChatViewMode?(mode: AgentChatViewMode): Promise<void>;
|
|
604
655
|
}
|
|
605
656
|
interface AgentChatRuntimeApi {
|
|
606
657
|
state: AgentChatState;
|
|
@@ -616,6 +667,10 @@ interface AgentChatRuntimeApi {
|
|
|
616
667
|
retry(): Promise<void>;
|
|
617
668
|
markSending(content: string): void;
|
|
618
669
|
markSendError(errorText: string): void;
|
|
670
|
+
/** Current Simple/Expert chat view mode. */
|
|
671
|
+
viewMode: AgentChatViewMode;
|
|
672
|
+
/** Update the chat view mode + persist via adapter / localStorage. */
|
|
673
|
+
setViewMode(mode: AgentChatViewMode): void;
|
|
619
674
|
}
|
|
620
675
|
type ChatMessage = AgentChatMessage;
|
|
621
676
|
type SessionTreeNode = AgentChatSessionTreeNode;
|
|
@@ -635,10 +690,10 @@ type TableArtifactSpec = AgentChatTableArtifactSpec;
|
|
|
635
690
|
type ChartArtifactSpec = AgentChatChartArtifactSpec;
|
|
636
691
|
type HtmlArtifactSpec = AgentChatHtmlArtifactSpec;
|
|
637
692
|
type SvgArtifactSpec = AgentChatSvgArtifactSpec;
|
|
638
|
-
type
|
|
639
|
-
type
|
|
640
|
-
type
|
|
641
|
-
type
|
|
693
|
+
type AskUserQuestionChoice = AgentChatAskUserQuestionChoice;
|
|
694
|
+
type AskUserQuestionQuestion = AgentChatAskUserQuestionQuestion;
|
|
695
|
+
type AskUserQuestionArgs = AgentChatAskUserQuestionArgs;
|
|
696
|
+
type AskUserQuestionAnswer = AgentChatAskUserQuestionAnswer;
|
|
642
697
|
type WorkspaceEntry = AgentChatWorkspaceEntry;
|
|
643
698
|
type WorkspaceTree = AgentChatWorkspaceTree;
|
|
644
699
|
type WorkspaceFile = AgentChatWorkspaceFile;
|
|
@@ -791,4 +846,4 @@ interface SessionTreePanelProps {
|
|
|
791
846
|
}
|
|
792
847
|
declare function SessionTreePanel({ adapter, sessionId, activeSessionId, agentId, title, sessionListLimit, hideRoot, hideHeader, loadList, onSessionSelect, onSessionDelete, }: SessionTreePanelProps): react_jsx_runtime.JSX.Element | null;
|
|
793
848
|
|
|
794
|
-
export { ACTIVE_MISSION_STATUSES, AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type
|
|
849
|
+
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 AgentChatChartArtifactSpec, 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 AskUserQuestionAnswer, type AskUserQuestionArgs, type AskUserQuestionChoice, type AskUserQuestionQuestion, type ChartArtifactSpec, type ChatComposerError, type ChatMessage, 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 };
|