UNPKG

histoire

Version:

A fast story book powered by Vite

9 lines (8 loc) • 523 B
import { indexStoryContent as indexContent } from '../../runtime/content/index.js'; import { readRegisteredText } from './containment.js'; export { hashContent } from '../../runtime/content/hash.js'; export { CatalogContentChangedError, isPathWithinRoot, MAX_CONTENT_BYTES, readRegisteredText } from './containment.js'; /** Compatibility entry applies MCP containment to canonical content indexing. */ export function indexStoryContent(root, file) { return indexContent(root, file, { readText: readRegisteredText }); }