Bounds constants move into the docx kernel

↗ view on GitHub · Eli Ziff · 2026-07-29 · c0d23447

docx/{pathology,stories,numbering,redline} imported
MAX_DRAFTING_DOCX_BYTES / MAX_DRAFTING_XML_ENTRY_BYTES from
docxDraftingSource while docxDraftingSource imports getZipEntry from
docx/core - a cycle that blocks docxDraftingSource from ever consuming
stories. The constants now live in docx/core.ts; docxDraftingSource
re-exports them so no other caller changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012AgUm5EcRKbT3duVFMbrQD
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 9007fcfc
Stats 6 files changed , +19 , -10
Part of SourceDoc / DOCX engine: redlines, tracked changes, editing benchmark

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-c0d23447.md from inside the repo you want the change in.

⬇ Download capture-commit-c0d23447.md