You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plate's markdown/TS guideline: "JSDoc must be first-class for agents in
all API surfaces". This sweep upgrades the five remaining exports that
either lacked JSDoc or carried a one-line summary insufficient for
agent + human discoverability:
- mapping.buildMappingIndex — new JSDoc; documents the positional
pageIndex invariant (PR #438) as the
reason it's the only safe projection
- projection.fragmentRects — multi-line; documents fragment-by-
fragment iteration semantics, the
mapping dependency, and the empty-
result conditions
- projection.blockLinePosition — multi-line; documents line-within-
fragment math and the null contract
- alignContent.computePageStart — new JSDoc; documents the simplified
Spacers formula (Gemini PR #442) and what
keys appear in the returned map
- geometry.getPageGeometry — upgraded from one-liner; documents
placement shape, gap semantics, and
the total-{width,height} convention
No behavior change. Suite: 85/85 ✓.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: CodeRabbitAI <noreply@github.com>
0 commit comments