The previous commit incorrectly removed this function and its test as dead code. While the local implementations in other files have different return types (MessageData[], MessagePart[]) and cannot be replaced by this shared version, the function is a valid tested utility. Deleting tests is an anti-pattern in this project.
35 lines
1.4 KiB
TypeScript
35 lines
1.4 KiB
TypeScript
export { generatePartId } from "./storage/part-id"
|
|
export { getMessageDir } from "./storage/message-dir"
|
|
export { readMessages } from "./storage/messages-reader"
|
|
export { readMessagesFromSDK } from "./storage/messages-reader"
|
|
export { readParts } from "./storage/parts-reader"
|
|
export { readPartsFromSDK } from "./storage/parts-reader"
|
|
export { hasContent, messageHasContent } from "./storage/part-content"
|
|
export { injectTextPart } from "./storage/text-part-injector"
|
|
export { injectTextPartAsync } from "./storage/text-part-injector"
|
|
|
|
export {
|
|
findEmptyMessages,
|
|
findEmptyMessageByIndex,
|
|
findFirstEmptyMessage,
|
|
} from "./storage/empty-messages"
|
|
export { findMessagesWithEmptyTextParts } from "./storage/empty-text"
|
|
export { findMessagesWithEmptyTextPartsFromSDK } from "./storage/empty-text"
|
|
|
|
export {
|
|
findMessagesWithThinkingBlocks,
|
|
findMessagesWithThinkingOnly,
|
|
} from "./storage/thinking-block-search"
|
|
export {
|
|
findMessagesWithOrphanThinking,
|
|
findMessageByIndexNeedingThinking,
|
|
} from "./storage/orphan-thinking-search"
|
|
|
|
export { prependThinkingPart } from "./storage/thinking-prepend"
|
|
export { stripThinkingParts } from "./storage/thinking-strip"
|
|
export { replaceEmptyTextParts } from "./storage/empty-text"
|
|
|
|
export { prependThinkingPartAsync } from "./storage/thinking-prepend"
|
|
export { stripThinkingPartsAsync } from "./storage/thinking-strip"
|
|
export { replaceEmptyTextPartsAsync } from "./storage/empty-text"
|