Skip to content

fonts-v0.2.0

Choose a tag to compare

@superdoc-bot superdoc-bot released this 15 Jul 00:42

What's New

  • Core preset for AI agents β€” Replace intent-grouped tools with a deterministic action surface: superdoc_inspect reads document snapshots, superdoc_perform_action applies one of 40 named, validated edits and returns receipts with verification. Pass preset: 'core' to createAgentToolkit() (Node.js and Python) or specify it in CLI preset commands. Two tools guarantee consistency across your agent loop; mixing presets between hand-assembled calls is impossible.
  • trackChanges.decide operation β€” Accept or reject tracked changes by ID, by text range, by logical anchor range, or all at once. Range targets can partially resolve a change, splitting surviving content into new fragments with stable IDs. Optional move-pairing assertions verify change intent before deciding. Supports optional side parameter to resolve only one half of paired replacements.

Improvements

  • Agent toolkit ensures preset consistency β€” Node.js and Python SDKs now offer createAgentToolkit() that returns tools, system prompt, and dispatcher all bound to the same preset. Eliminates the most common integration mistake: mixing preset tool definitions with legacy prompts.
  • CLI preset commands β€” Query and dispatch agent presets from the command line: preset list, preset get-catalog, preset get-tools, preset get-system-prompt, and preset dispatch for running tool calls against live documents with automatic session tracking.
  • Hyperlink handling improvements β€” Better round-trip fidelity for hyperlinks in imported and exported documents, including improved handling of complex hyperlink attributes and relationships.
  • Table cell rendering improvements β€” Refined table cell border logic and cell content layout for more accurate visual representation of complex table structures with nested content and conditional styling.
  • Document property cascade improvements β€” Enhanced paragraph and list properties resolution to better respect OOXML style cascades and conditional formatting rules.
  • GitHub releases stable-only β€” Release pages now focus on shipped stable versions; prerelease versions skip GitHub releases but maintain Git tags and npm next distribution. Linear prerelease breadcrumbs link to Git tags instead of missing release pages.

Fixes

  • Tracked change range decisions now support partial resolution β€” Range-based decisions that span less than the full tracked change now properly split the change into fragments instead of accepting or rejecting the entire logical change.
  • Comment anchor remapping on tracked change decisions β€” Comments anchored within partially decided tracked changes are now correctly remapped to surviving content, and cascade-deleted comment IDs are reported in receipts.