import type { CappedAssistantMessage } from "./assistant-message-render-limit.shared"; export { getUtf8ByteLength, type CappedAssistantMessage, } from "./assistant-message-render-limit.shared"; // Native passes a single string to the C++ parser, without the web renderer's // React-node fan-out. Keep complete messages selectable across all paragraphs. export function capAssistantMessageForRender(message: string): CappedAssistantMessage { return { text: message, capped: false }; }