Files
CatoandClaude 9d5c25a26f feat(chat): run every in-page chat on chatkit's thread and composer (#328)
Seven hand-built chats (/demo, the professional demos, quick-create, /try,
/my-data documents, custom bots and the guided demo) now share one
EmbeddedChat panel: chatkit's ChatThread and Composer with the microphone,
Copy/Listen, Stop, Retry on a failed turn, starters and suggested replies.
Each surface keeps its own prompt, route and persistence through a small
useChatTurns hook.

Also fixes /demo and the /my-data document chat reading the answer from the
wrong level of the jsonSuccess envelope, which showed empty answers.


Claude-Session: https://claude.ai/code/session_019MDtmuMRAXYWNkfowAXVfi

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-15 18:48:44 +01:00

28 lines
726 B
TypeScript

export { BotSection } from './BotSection';
export { BotNotFoundFallback } from './BotNotFoundFallback';
export {
BotHeroSection,
type BotHeroConfig,
type HeroChatMessage,
type HeroBadge,
type HeroKeyBenefit,
type HeroCTA,
} from './BotHeroSection';
export { BotFeatureCard, BotFeatureGrid, type BotFeature } from './BotFeatureCard';
export { BotStepsSection, type BotStep } from './BotStepsSection';
export { Logo } from './Logo';
export { Avatar } from './Avatar';
export { UserAvatar } from './UserAvatar';
// Demo system components
export { DemoSection } from './demo';
export {
DemoProgress,
DemoIntake,
DemoChat,
DemoFileUpload,
DemoContextPanel,
DemoDisclaimer,
useDemoState,
} from './demo';