Skip to content

ChatComponents

View as Markdown

Defined in: react-ui/src/context.tsx:6

Property Type Defined in
ApprovalCard ComponentType<{ approval: { allowedScopes: ("once" | "session")[]; availableDecisions: ("deny" | "allow_once" | "allow_session")[]; category: "mcp" | "file" | "shell" | "network" | "other"; createdAt: string; decision?: "deny" | "allow"; description?: string; expiresAt: string; id: string; runId: string; runtimeId: string; sessionId: string; state: | "failed" | "cancelled" | "pending" | "submitting" | "approved" | "denied" | "expired" | "reconciling"; target: { command?: string; cwd?: string; host?: string; path?: string; }; title: string; toolId?: string; version: number; }; }> react-ui/src/context.tsx:10
AssistantMessage ComponentType<{ message: MessageView; }> react-ui/src/context.tsx:8
Composer ComponentType react-ui/src/context.tsx:11
EmptyState ComponentType react-ui/src/context.tsx:12
ToolSteps ComponentType<{ running: boolean; tools: ToolView[]; }> react-ui/src/context.tsx:9
UserMessage ComponentType<{ message: MessageView; }> react-ui/src/context.tsx:7