mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-04 04:53:30 -05:00
bookmark_suggest's structure path always said truncated: false, though pdfcraft_a11y::headings stops silently at 10000 headings, at a tree nested past 256 levels and after a million visits. headings_with_truncation returns the same list and whether one of those limits stopped the walk where a heading could have been; headings keeps its signature and output. The heading cap is now checked when a heading is met, so exactly 10000 headings is not reported as cut. The tool description told callers to edit levels; a suggested bookmark has no level and bookmark_import refuses one. It now says to move bookmarks into or out of children. Co-Authored-By: Claude Opus 5.5 <[email protected]>