react-v1.15.0
Based on my analysis of the commits and changed files, here are the release notes:
What's New
- Agent tools for document automation β
superdoc_inspectandsuperdoc_perform_actiontools expose the full Document API to language models. Run headless in Node.js; bring your own LLM for redlining, template workflows, and document automation. - Comment API and export β Full CRUD on comments: create, edit, delete, resolve/reopen, move between ranges. Comments export to DOCX, including comments anchored to tracked changes. Anchor comments to tracked-change IDs directly without calculating text ranges.
- Side-targeted tracked-change decisions β Accept or reject just the inserted or deleted branch of a replacement, leaving the other half as a standalone change. Decide by id or by range.
- Tracked paragraph-property changes in the review API β Tracked numbering and alignment changes (w:pPrChange) now surface in
trackChanges.listand can be accepted/rejected viatrackChanges.decide, matching tracked text behavior. - List and paragraph numbering metadata β
blocks.listreturns computed numbering (marker, path, kind) for clause-numbered headings and list items, plus paragraph indentation for layout-aware agents. - Agent presets for OpenAI, Anthropic, Vercel, and generic providers β Tool catalog and system prompt selection by preset; dispatch tool calls through the preset's validated schema.
- CLI commands for agent presets β
preset list,preset get-catalog,preset get-tools,preset get-system-prompt,preset get-mcp-prompt,preset dispatch. - Tracked citation hyperlinks β Export and import tracked hyperlinks with revision marks preserved, so Word round-trips linked tracked text correctly for reviewable citations.
Improvements
- Large-document performance β Skip linked-style decorations in headless mode; ~50s β ~16s on a 38-page redline.
- Visible text model in blocks.list β Text, length, ref, and formatting now use visible text (skipping tracked-deleted runs), so agents resolve offsets against the same text the plan engine applies against.
- Word-safe revision IDs β Tracked changes export with decimal IDs instead of UUIDs, so Word accepts them without repair.
- Better tracked-change edge cases β Handle one-sided replacement survivors, pPrChange inside kept tracked tables, and no-user guards for tracked operations.
Bug Fixes
- Resolve merge conflict markers in border-utils that broke the build.
- Citation hyperlinks now export with correct revision mark wrapping (w:hyperlink containing w:ins/w:del).
- Reject a tracked table by id now cascades to contained paragraph-property changes.
- Cell background shading now clears on cell-scoped
tables.setShading({ color: null }). - Tracked changes no longer leak as spurious empty comments in export.
- Formatted text from styled tracked-deleted runs no longer bleeds into blocks.list formatting.