@invergent/agent-chat-react 1.5.9 → 1.6.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/README.md +13 -0
- package/dist/index.cjs +761 -65
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +81 -3
- package/dist/index.d.ts +81 -3
- package/dist/index.js +757 -66
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { Streamdown } from 'streamdown';
|
|
|
5
5
|
|
|
6
6
|
type AgentChatRole = "user" | "assistant" | "system";
|
|
7
7
|
type AgentChatMessageStatus = "complete" | "streaming" | "error";
|
|
8
|
-
type AgentChatSystemKind = "skill_invoked" | "artifact" | "error";
|
|
8
|
+
type AgentChatSystemKind = "skill_invoked" | "artifact" | "error" | "browser_marker" | "browser_marker_warning";
|
|
9
9
|
interface AgentChatImageAttachment {
|
|
10
10
|
/** data: URL (data:image/png;base64,...) or raw base64 string */
|
|
11
11
|
data: string;
|
|
@@ -72,6 +72,7 @@ interface AgentChatSession {
|
|
|
72
72
|
model?: string | null;
|
|
73
73
|
config?: Record<string, unknown>;
|
|
74
74
|
parentId?: string | null;
|
|
75
|
+
runKind?: string | null;
|
|
75
76
|
messageCount?: number;
|
|
76
77
|
toolCallCount?: number;
|
|
77
78
|
inputTokens?: number;
|
|
@@ -91,6 +92,7 @@ interface AgentChatSessionTreeNode {
|
|
|
91
92
|
depth?: number;
|
|
92
93
|
agentId?: string | null;
|
|
93
94
|
agentType?: string | null;
|
|
95
|
+
runKind?: string | null;
|
|
94
96
|
channel?: string | null;
|
|
95
97
|
status: "active" | "paused" | "completed" | "failed" | string;
|
|
96
98
|
title?: string | null;
|
|
@@ -104,12 +106,51 @@ interface AgentChatSessionTree {
|
|
|
104
106
|
nodes: AgentChatSessionTreeNode[];
|
|
105
107
|
total: number;
|
|
106
108
|
}
|
|
107
|
-
type
|
|
109
|
+
type AgentChatScheduledWorkKind = "cron" | "dynamic_loop" | "one_shot" | "scheduled" | (string & {});
|
|
110
|
+
interface AgentChatScheduledWorkItem {
|
|
111
|
+
id: string;
|
|
112
|
+
agentId?: string | null;
|
|
113
|
+
name?: string | null;
|
|
114
|
+
prompt: string;
|
|
115
|
+
status: "active" | "paused" | "completed" | "failed" | string;
|
|
116
|
+
kind?: AgentChatScheduledWorkKind | null;
|
|
117
|
+
source?: string | null;
|
|
118
|
+
scheduleDisplay: string;
|
|
119
|
+
timezone?: string | null;
|
|
120
|
+
runCount: number;
|
|
121
|
+
repeatLimit?: number | null;
|
|
122
|
+
nextRunAt?: string | null;
|
|
123
|
+
lastRunAt?: string | null;
|
|
124
|
+
lastSessionId?: string | null;
|
|
125
|
+
lastError?: string | null;
|
|
126
|
+
expiresAt?: string | null;
|
|
127
|
+
createdFromSessionId?: string | null;
|
|
128
|
+
createdAt: string;
|
|
129
|
+
updatedAt: string;
|
|
130
|
+
}
|
|
131
|
+
interface AgentChatScheduledWorkList {
|
|
132
|
+
items: AgentChatScheduledWorkItem[];
|
|
133
|
+
total: number;
|
|
134
|
+
}
|
|
135
|
+
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" | "artifact.created" | "artifact.updated" | "browser.provisioned" | "browser.destroyed" | "browser.control_granted" | "browser.control_returned" | "clarify.response";
|
|
108
136
|
interface AgentChatRuntimeEvent {
|
|
109
137
|
type: AgentChatEventType;
|
|
110
138
|
eventId: number;
|
|
111
139
|
data: Record<string, unknown>;
|
|
112
140
|
}
|
|
141
|
+
interface AgentChatBrowserState {
|
|
142
|
+
status: "provisioning" | "live" | "user-control" | "closed";
|
|
143
|
+
controlOwner: string | null;
|
|
144
|
+
}
|
|
145
|
+
interface AgentChatBrowserStateResponse {
|
|
146
|
+
status: "live" | "user-control";
|
|
147
|
+
controlOwner: string | null;
|
|
148
|
+
liveViewPath: string;
|
|
149
|
+
}
|
|
150
|
+
interface AgentChatBrowserControlResponse {
|
|
151
|
+
outcome: "granted" | "refreshed" | "conflict";
|
|
152
|
+
ownerUserId: string;
|
|
153
|
+
}
|
|
113
154
|
interface AgentChatState {
|
|
114
155
|
messages: AgentChatMessage[];
|
|
115
156
|
isRunning: boolean;
|
|
@@ -121,6 +162,7 @@ interface AgentChatState {
|
|
|
121
162
|
hadDeltas: boolean;
|
|
122
163
|
terminal: boolean;
|
|
123
164
|
workspaceRefreshKey: number;
|
|
165
|
+
browser: AgentChatBrowserState | null;
|
|
124
166
|
}
|
|
125
167
|
type AgentChatArtifactKind = "markdown" | "table" | "chart" | "html" | "svg";
|
|
126
168
|
interface AgentChatArtifactMeta {
|
|
@@ -265,6 +307,20 @@ interface AgentChatAdapter {
|
|
|
265
307
|
stopSession?(input: {
|
|
266
308
|
sessionId: string;
|
|
267
309
|
}): Promise<void>;
|
|
310
|
+
listScheduledWork?(input: {
|
|
311
|
+
agentId?: string;
|
|
312
|
+
status?: string;
|
|
313
|
+
limit?: number;
|
|
314
|
+
offset?: number;
|
|
315
|
+
}): Promise<AgentChatScheduledWorkList>;
|
|
316
|
+
runScheduledWorkNow?(input: {
|
|
317
|
+
scheduleId: string;
|
|
318
|
+
}): Promise<{
|
|
319
|
+
sessionId?: string;
|
|
320
|
+
} | void>;
|
|
321
|
+
cancelScheduledWork?(input: {
|
|
322
|
+
scheduleId: string;
|
|
323
|
+
}): Promise<void>;
|
|
268
324
|
getArtifact(input: {
|
|
269
325
|
sessionId: string;
|
|
270
326
|
artifactId: string;
|
|
@@ -317,8 +373,14 @@ interface AgentChatAdapter {
|
|
|
317
373
|
sessionId: string;
|
|
318
374
|
after: number;
|
|
319
375
|
}): AgentChatEventStream;
|
|
376
|
+
getBrowserState(sessionId: string): Promise<AgentChatBrowserStateResponse | null>;
|
|
377
|
+
acquireBrowserControl(sessionId: string): Promise<AgentChatBrowserControlResponse>;
|
|
378
|
+
releaseBrowserControl(sessionId: string): Promise<void>;
|
|
379
|
+
browserLiveViewUrl(sessionId: string): string;
|
|
320
380
|
}
|
|
321
381
|
interface AgentChatRuntimeApi {
|
|
382
|
+
state: AgentChatState;
|
|
383
|
+
session: AgentChatSession | null;
|
|
322
384
|
messages: AgentChatMessage[];
|
|
323
385
|
isRunning: boolean;
|
|
324
386
|
isLoadingHistory: boolean;
|
|
@@ -334,6 +396,8 @@ interface AgentChatRuntimeApi {
|
|
|
334
396
|
type ChatMessage = AgentChatMessage;
|
|
335
397
|
type SessionTreeNode = AgentChatSessionTreeNode;
|
|
336
398
|
type SessionTree = AgentChatSessionTree;
|
|
399
|
+
type ScheduledWorkItem = AgentChatScheduledWorkItem;
|
|
400
|
+
type ScheduledWorkList = AgentChatScheduledWorkList;
|
|
337
401
|
type ToolCallInfo = AgentChatToolCallInfo;
|
|
338
402
|
type TokenUsage = AgentChatTokenUsage;
|
|
339
403
|
type RetryIndicator = AgentChatRetryIndicator;
|
|
@@ -384,6 +448,20 @@ declare function useAgentChatRuntime({ adapter, agentId, sessionId, onSessionCha
|
|
|
384
448
|
type MessageResponseProps = ComponentProps<typeof Streamdown>;
|
|
385
449
|
declare const MessageResponse: React.MemoExoticComponent<({ className, ...props }: MessageResponseProps) => react_jsx_runtime.JSX.Element>;
|
|
386
450
|
|
|
451
|
+
interface ScheduledWorkPanelProps {
|
|
452
|
+
adapter: AgentChatAdapter;
|
|
453
|
+
agentId?: string;
|
|
454
|
+
title?: string;
|
|
455
|
+
limit?: number;
|
|
456
|
+
status?: string;
|
|
457
|
+
hideHeader?: boolean;
|
|
458
|
+
pollIntervalMs?: number;
|
|
459
|
+
onSessionSelect?: (sessionId: string) => void;
|
|
460
|
+
onScheduleCancel?: (scheduleId: string) => void;
|
|
461
|
+
onScheduleRunNow?: (scheduleId: string, sessionId?: string) => void;
|
|
462
|
+
}
|
|
463
|
+
declare function ScheduledWorkPanel({ adapter, agentId, title, limit, status, hideHeader, pollIntervalMs, onSessionSelect, onScheduleCancel, onScheduleRunNow, }: ScheduledWorkPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
464
|
+
|
|
387
465
|
interface SessionTreePanelProps {
|
|
388
466
|
adapter: AgentChatAdapter;
|
|
389
467
|
sessionId?: string | null;
|
|
@@ -406,4 +484,4 @@ interface SessionTreePanelProps {
|
|
|
406
484
|
}
|
|
407
485
|
declare function SessionTreePanel({ adapter, sessionId, activeSessionId, agentId, title, sessionListLimit, hideRoot, hideHeader, loadList, onSessionSelect, onSessionDelete, }: SessionTreePanelProps): react_jsx_runtime.JSX.Element | null;
|
|
408
486
|
|
|
409
|
-
export { AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatChartArtifactSpec, type AgentChatClarifyAnswer, type AgentChatClarifyArgs, type AgentChatClarifyChoice, type AgentChatClarifyQuestion, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatImageAttachment, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, type AgentChatProps, type AgentChatRole, type AgentChatRuntimeApi, type AgentChatRuntimeEvent, 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 ChatMessage, type ClarifyAnswer, type ClarifyArgs, type ClarifyChoice, type ClarifyQuestion, type ErrorInfo, type HtmlArtifactSpec, type MarkdownArtifactSpec, MessageResponse, type MessageResponseProps, type RetryIndicator, 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 };
|
|
487
|
+
export { AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatChartArtifactSpec, type AgentChatClarifyAnswer, type AgentChatClarifyArgs, type AgentChatClarifyChoice, type AgentChatClarifyQuestion, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatImageAttachment, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, 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 ChatMessage, type ClarifyAnswer, type ClarifyArgs, type ClarifyChoice, type ClarifyQuestion, type ErrorInfo, type HtmlArtifactSpec, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { Streamdown } from 'streamdown';
|
|
|
5
5
|
|
|
6
6
|
type AgentChatRole = "user" | "assistant" | "system";
|
|
7
7
|
type AgentChatMessageStatus = "complete" | "streaming" | "error";
|
|
8
|
-
type AgentChatSystemKind = "skill_invoked" | "artifact" | "error";
|
|
8
|
+
type AgentChatSystemKind = "skill_invoked" | "artifact" | "error" | "browser_marker" | "browser_marker_warning";
|
|
9
9
|
interface AgentChatImageAttachment {
|
|
10
10
|
/** data: URL (data:image/png;base64,...) or raw base64 string */
|
|
11
11
|
data: string;
|
|
@@ -72,6 +72,7 @@ interface AgentChatSession {
|
|
|
72
72
|
model?: string | null;
|
|
73
73
|
config?: Record<string, unknown>;
|
|
74
74
|
parentId?: string | null;
|
|
75
|
+
runKind?: string | null;
|
|
75
76
|
messageCount?: number;
|
|
76
77
|
toolCallCount?: number;
|
|
77
78
|
inputTokens?: number;
|
|
@@ -91,6 +92,7 @@ interface AgentChatSessionTreeNode {
|
|
|
91
92
|
depth?: number;
|
|
92
93
|
agentId?: string | null;
|
|
93
94
|
agentType?: string | null;
|
|
95
|
+
runKind?: string | null;
|
|
94
96
|
channel?: string | null;
|
|
95
97
|
status: "active" | "paused" | "completed" | "failed" | string;
|
|
96
98
|
title?: string | null;
|
|
@@ -104,12 +106,51 @@ interface AgentChatSessionTree {
|
|
|
104
106
|
nodes: AgentChatSessionTreeNode[];
|
|
105
107
|
total: number;
|
|
106
108
|
}
|
|
107
|
-
type
|
|
109
|
+
type AgentChatScheduledWorkKind = "cron" | "dynamic_loop" | "one_shot" | "scheduled" | (string & {});
|
|
110
|
+
interface AgentChatScheduledWorkItem {
|
|
111
|
+
id: string;
|
|
112
|
+
agentId?: string | null;
|
|
113
|
+
name?: string | null;
|
|
114
|
+
prompt: string;
|
|
115
|
+
status: "active" | "paused" | "completed" | "failed" | string;
|
|
116
|
+
kind?: AgentChatScheduledWorkKind | null;
|
|
117
|
+
source?: string | null;
|
|
118
|
+
scheduleDisplay: string;
|
|
119
|
+
timezone?: string | null;
|
|
120
|
+
runCount: number;
|
|
121
|
+
repeatLimit?: number | null;
|
|
122
|
+
nextRunAt?: string | null;
|
|
123
|
+
lastRunAt?: string | null;
|
|
124
|
+
lastSessionId?: string | null;
|
|
125
|
+
lastError?: string | null;
|
|
126
|
+
expiresAt?: string | null;
|
|
127
|
+
createdFromSessionId?: string | null;
|
|
128
|
+
createdAt: string;
|
|
129
|
+
updatedAt: string;
|
|
130
|
+
}
|
|
131
|
+
interface AgentChatScheduledWorkList {
|
|
132
|
+
items: AgentChatScheduledWorkItem[];
|
|
133
|
+
total: number;
|
|
134
|
+
}
|
|
135
|
+
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" | "artifact.created" | "artifact.updated" | "browser.provisioned" | "browser.destroyed" | "browser.control_granted" | "browser.control_returned" | "clarify.response";
|
|
108
136
|
interface AgentChatRuntimeEvent {
|
|
109
137
|
type: AgentChatEventType;
|
|
110
138
|
eventId: number;
|
|
111
139
|
data: Record<string, unknown>;
|
|
112
140
|
}
|
|
141
|
+
interface AgentChatBrowserState {
|
|
142
|
+
status: "provisioning" | "live" | "user-control" | "closed";
|
|
143
|
+
controlOwner: string | null;
|
|
144
|
+
}
|
|
145
|
+
interface AgentChatBrowserStateResponse {
|
|
146
|
+
status: "live" | "user-control";
|
|
147
|
+
controlOwner: string | null;
|
|
148
|
+
liveViewPath: string;
|
|
149
|
+
}
|
|
150
|
+
interface AgentChatBrowserControlResponse {
|
|
151
|
+
outcome: "granted" | "refreshed" | "conflict";
|
|
152
|
+
ownerUserId: string;
|
|
153
|
+
}
|
|
113
154
|
interface AgentChatState {
|
|
114
155
|
messages: AgentChatMessage[];
|
|
115
156
|
isRunning: boolean;
|
|
@@ -121,6 +162,7 @@ interface AgentChatState {
|
|
|
121
162
|
hadDeltas: boolean;
|
|
122
163
|
terminal: boolean;
|
|
123
164
|
workspaceRefreshKey: number;
|
|
165
|
+
browser: AgentChatBrowserState | null;
|
|
124
166
|
}
|
|
125
167
|
type AgentChatArtifactKind = "markdown" | "table" | "chart" | "html" | "svg";
|
|
126
168
|
interface AgentChatArtifactMeta {
|
|
@@ -265,6 +307,20 @@ interface AgentChatAdapter {
|
|
|
265
307
|
stopSession?(input: {
|
|
266
308
|
sessionId: string;
|
|
267
309
|
}): Promise<void>;
|
|
310
|
+
listScheduledWork?(input: {
|
|
311
|
+
agentId?: string;
|
|
312
|
+
status?: string;
|
|
313
|
+
limit?: number;
|
|
314
|
+
offset?: number;
|
|
315
|
+
}): Promise<AgentChatScheduledWorkList>;
|
|
316
|
+
runScheduledWorkNow?(input: {
|
|
317
|
+
scheduleId: string;
|
|
318
|
+
}): Promise<{
|
|
319
|
+
sessionId?: string;
|
|
320
|
+
} | void>;
|
|
321
|
+
cancelScheduledWork?(input: {
|
|
322
|
+
scheduleId: string;
|
|
323
|
+
}): Promise<void>;
|
|
268
324
|
getArtifact(input: {
|
|
269
325
|
sessionId: string;
|
|
270
326
|
artifactId: string;
|
|
@@ -317,8 +373,14 @@ interface AgentChatAdapter {
|
|
|
317
373
|
sessionId: string;
|
|
318
374
|
after: number;
|
|
319
375
|
}): AgentChatEventStream;
|
|
376
|
+
getBrowserState(sessionId: string): Promise<AgentChatBrowserStateResponse | null>;
|
|
377
|
+
acquireBrowserControl(sessionId: string): Promise<AgentChatBrowserControlResponse>;
|
|
378
|
+
releaseBrowserControl(sessionId: string): Promise<void>;
|
|
379
|
+
browserLiveViewUrl(sessionId: string): string;
|
|
320
380
|
}
|
|
321
381
|
interface AgentChatRuntimeApi {
|
|
382
|
+
state: AgentChatState;
|
|
383
|
+
session: AgentChatSession | null;
|
|
322
384
|
messages: AgentChatMessage[];
|
|
323
385
|
isRunning: boolean;
|
|
324
386
|
isLoadingHistory: boolean;
|
|
@@ -334,6 +396,8 @@ interface AgentChatRuntimeApi {
|
|
|
334
396
|
type ChatMessage = AgentChatMessage;
|
|
335
397
|
type SessionTreeNode = AgentChatSessionTreeNode;
|
|
336
398
|
type SessionTree = AgentChatSessionTree;
|
|
399
|
+
type ScheduledWorkItem = AgentChatScheduledWorkItem;
|
|
400
|
+
type ScheduledWorkList = AgentChatScheduledWorkList;
|
|
337
401
|
type ToolCallInfo = AgentChatToolCallInfo;
|
|
338
402
|
type TokenUsage = AgentChatTokenUsage;
|
|
339
403
|
type RetryIndicator = AgentChatRetryIndicator;
|
|
@@ -384,6 +448,20 @@ declare function useAgentChatRuntime({ adapter, agentId, sessionId, onSessionCha
|
|
|
384
448
|
type MessageResponseProps = ComponentProps<typeof Streamdown>;
|
|
385
449
|
declare const MessageResponse: React.MemoExoticComponent<({ className, ...props }: MessageResponseProps) => react_jsx_runtime.JSX.Element>;
|
|
386
450
|
|
|
451
|
+
interface ScheduledWorkPanelProps {
|
|
452
|
+
adapter: AgentChatAdapter;
|
|
453
|
+
agentId?: string;
|
|
454
|
+
title?: string;
|
|
455
|
+
limit?: number;
|
|
456
|
+
status?: string;
|
|
457
|
+
hideHeader?: boolean;
|
|
458
|
+
pollIntervalMs?: number;
|
|
459
|
+
onSessionSelect?: (sessionId: string) => void;
|
|
460
|
+
onScheduleCancel?: (scheduleId: string) => void;
|
|
461
|
+
onScheduleRunNow?: (scheduleId: string, sessionId?: string) => void;
|
|
462
|
+
}
|
|
463
|
+
declare function ScheduledWorkPanel({ adapter, agentId, title, limit, status, hideHeader, pollIntervalMs, onSessionSelect, onScheduleCancel, onScheduleRunNow, }: ScheduledWorkPanelProps): react_jsx_runtime.JSX.Element | null;
|
|
464
|
+
|
|
387
465
|
interface SessionTreePanelProps {
|
|
388
466
|
adapter: AgentChatAdapter;
|
|
389
467
|
sessionId?: string | null;
|
|
@@ -406,4 +484,4 @@ interface SessionTreePanelProps {
|
|
|
406
484
|
}
|
|
407
485
|
declare function SessionTreePanel({ adapter, sessionId, activeSessionId, agentId, title, sessionListLimit, hideRoot, hideHeader, loadList, onSessionSelect, onSessionDelete, }: SessionTreePanelProps): react_jsx_runtime.JSX.Element | null;
|
|
408
486
|
|
|
409
|
-
export { AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatChartArtifactSpec, type AgentChatClarifyAnswer, type AgentChatClarifyArgs, type AgentChatClarifyChoice, type AgentChatClarifyQuestion, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatImageAttachment, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, type AgentChatProps, type AgentChatRole, type AgentChatRuntimeApi, type AgentChatRuntimeEvent, 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 ChatMessage, type ClarifyAnswer, type ClarifyArgs, type ClarifyChoice, type ClarifyQuestion, type ErrorInfo, type HtmlArtifactSpec, type MarkdownArtifactSpec, MessageResponse, type MessageResponseProps, type RetryIndicator, 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 };
|
|
487
|
+
export { AgentChat, type AgentChatAdapter, type AgentChatAdapterContextValue, AgentChatAdapterProvider, type AgentChatArtifactKind, type AgentChatArtifactMeta, type AgentChatArtifactPayload, type AgentChatChartArtifactSpec, type AgentChatClarifyAnswer, type AgentChatClarifyArgs, type AgentChatClarifyChoice, type AgentChatClarifyQuestion, type AgentChatErrorCategory, type AgentChatErrorInfo, type AgentChatEventStream, type AgentChatEventType, type AgentChatExpertFeedbackRating, type AgentChatHtmlArtifactSpec, type AgentChatImageAttachment, type AgentChatMarkdownArtifactSpec, type AgentChatMessage, type AgentChatMessageStatus, 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 ChatMessage, type ClarifyAnswer, type ClarifyArgs, type ClarifyChoice, type ClarifyQuestion, type ErrorInfo, type HtmlArtifactSpec, 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 };
|