mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-06 02:19:05 +01:00
From heidi's downscale.ts: a phone screenshot goes out as a ~1024px JPEG instead of a multi-MB PNG — cheaper vision calls, and the full screenshot never leaves the device. Attach notes become labels (attachNotes). Browser test sends a 1290x2796 screenshot and asserts a 1024px JPEG under the limit; mutation-checked (fails with maxImageEdge 0). Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
21 lines
1.2 KiB
TypeScript
21 lines
1.2 KiB
TypeScript
/**
|
|
* @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 type { ComposerProps, ComposerLabels, ComposerLabelOverrides, ComposerVoice, } from "./Composer.js";
|
|
export { ChatThread, ChatMessage, ChatStarters, DEFAULT_THREAD_LABELS } from "./Thread.js";
|
|
export type { ChatMessageData, ChatSpeaker, LiveTurn, Starter, ThreadLabels } from "./Thread.js";
|
|
export { Markdown, defaultRenderLink } from "./Markdown.js";
|
|
export type { CitationMap, RenderLink } from "./Markdown.js";
|
|
export { useDictation } from "./use-dictation.js";
|
|
export type { DictationController, DictationStatus, UseDictationOptions } from "./use-dictation.js";
|
|
export { useAttachments } from "./use-attachments.js";
|
|
export type { AttachmentsController } from "./use-attachments.js";
|
|
export { useClipboard, useStickToBottom, useViewportHeight, useAutoGrow } from "./hooks.js";
|
|
//# sourceMappingURL=index.d.ts.map
|