Shared byte-budget constants and vocabularies used by
the metadata text helpers. Extracted from text-utils.ts so the
truncation/extraction helpers can live in text-truncate.ts
without creating a circular import — both modules import from
here, and text-utils.ts re-exports the truncators for back-compat
with existing call-sites.
No imports. This is a pure leaf module: only constants and
vocabularies, no functions, no I/O.
Description
Shared byte-budget constants and vocabularies used by the metadata text helpers. Extracted from
text-utils.tsso the truncation/extraction helpers can live intext-truncate.tswithout creating a circular import — both modules import from here, andtext-utils.tsre-exports the truncators for back-compat with existing call-sites.No imports. This is a pure leaf module: only constants and vocabularies, no functions, no I/O.