Files
chatkit/dist/react/messenger.js
T
CatoandClaude aa5fba7351 feat(messenger): voice messages (0.34.0) (#98)
Record in the box's +, listen, add to the message. The take is a file like
any other. The microphone is open only while recording and is closed on every
way out.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 21:51:00 +01:00

27 lines
1.4 KiB
JavaScript

/**
* @bitbaum/chatkit/messenger — people talking to people, and to the agents
* among them.
*
* import { Messenger } from "@bitbaum/chatkit/messenger";
* import "@bitbaum/chatkit/styles/messenger.css";
*
* <Messenger viewer={{ id: user.id }} transport={transport} agents={[cat]} />
*
* `Messenger` is the whole screen; `useMessenger`, `ConversationList` and
* `MessageThread` are the parts, for an app with its own arrangement. The
* shapes (`MessengerTransport` and friends) and every decision that needs no
* DOM are re-exported from the framework-free half. The rules — who may read,
* what is unread, what may be attached — are `@bitbaum/threadkit`'s.
*/
export { Messenger } from "./MessengerScreen.js";
export { VoiceRecorder, VOICE_MESSAGE_MAX_MS, canRecordVoice, voiceFileName, voiceMimeType, } from "./VoiceRecorder.js";
export { useMessenger } from "./use-messenger.js";
export { ConversationList } from "./ConversationList.js";
export { MessageThread } from "./MessageThread.js";
export { MessageAttachments, MediaViewer, MessengerAvatar } from "./MessageAttachments.js";
export { useUploads, DEFAULT_UPLOAD_OPTIONS } from "./use-uploads.js";
export { DEFAULT_MESSENGER_LABELS, messengerLabels } from "./messenger-labels.js";
export * from "../messenger.js";
export * from "../messenger-state.js";
export * from "../thread-rules.js";
//# sourceMappingURL=messenger.js.map