mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-04 00:07:34 +01:00
The model button, the bring-your-own-key sheet and the link under a failed
turn ("Get a pass") were built in Heidi. They are the chat's experience, so
they belong here: ModelChip for the header, ModelSheet driven by the
product's vendor allowlist and key check, and ChatFailure.action/retry so a
transport can say what the reader can do next and when Retry cannot help.
Claude-Session: https://claude.ai/code/session_019MDtmteJuDGFouA1itJ5tM
Co-authored-by: Claude <noreply@anthropic.com>
31 lines
1.9 KiB
JavaScript
31 lines
1.9 KiB
JavaScript
/**
|
|
* @bitbaum/chatkit/react — the chat every product uses.
|
|
*
|
|
* import { Composer, ChatThread, ChatStarters } from "@bitbaum/chatkit/react";
|
|
* import "@bitbaum/chatkit/styles.css";
|
|
*
|
|
* Behaviour is fixed here and identical everywhere; the look follows the
|
|
* app's tokens through `--ck-*` variables (see styles.css).
|
|
*/
|
|
export { Composer, DEFAULT_COMPOSER_LABELS } from "./Composer.js";
|
|
export { ChatThread, ChatMessage, ChatReplies, ChatStarters, starterParts, ThinkingRow, formatThinkingDuration, DEFAULT_THREAD_LABELS, } from "./Thread.js";
|
|
export { DictationField, DEFAULT_DICTATION_FIELD_LABELS } from "./DictationField.js";
|
|
export { CommentThread, CommentRefused, commentFailure, DEFAULT_COMMENT_THREAD_LABELS, } from "./CommentThread.js";
|
|
export { ChatScreen } from "./Screen.js";
|
|
export { Markdown, SourcesRow, defaultRenderLink, defaultRenderCitation } from "./Markdown.js";
|
|
export { AnswerActions, DEFAULT_ANSWER_ACTIONS_LABELS } from "./AnswerActions.js";
|
|
export { useSpeech } from "./use-speech.js";
|
|
export { useVoiceMode } from "./use-voice-mode.js";
|
|
export { VoiceMode, DEFAULT_VOICE_MODE_LABELS } from "./VoiceMode.js";
|
|
export { Sheet, prefersSheet } from "./Sheet.js";
|
|
export { ModelSheet, ModelChip, DEFAULT_MODEL_SHEET_LABELS } from "./ModelSheet.js";
|
|
export { useDictation } from "./use-dictation.js";
|
|
export { AttachMenu, DEFAULT_ATTACH_MENU_LABELS } from "./AttachMenu.js";
|
|
export { useAttachments, readAttachmentFile, readAttachmentFiles } from "./use-attachments.js";
|
|
export { useClipboard, useStickToBottom, useViewportHeight, useAutoGrow } from "./hooks.js";
|
|
export { RichAnswerBlock, ChartTableFigure } from "./RichBlock.js";
|
|
export { RichRenderersContext, useRichRenderers } from "./renderers.js";
|
|
export { ChatApp, DEFAULT_CHAT_APP_LABELS, takeDeepLink } from "./ChatApp.js";
|
|
export { ChatHistory } from "./ChatHistory.js";
|
|
export { useChatApp, isTemporaryId, ChatTurnError, chatTurnFailure } from "./use-chat-app.js";
|
|
//# sourceMappingURL=index.js.map
|