@tiptap-pro/client-ai-toolkit changelog

Changelog for @tiptap-pro/client-ai-toolkit

0.17.3

Patch Changes

  • Include customer documentation in the published package.

0.17.2

Patch Changes

  • Keep remaining suggestions aligned with their content after accepting or rejecting a filtered batch.

0.17.1

Patch Changes

  • Keep streamed template previews out of the document until their suggestions are accepted.
  • Keep streamed template updates within their target after switching out of preview mode.

0.17.0

Minor Changes

  • getHtmlSchemaAwareness now describes the charts and diagrams of @tiptap-pro/extension-diagrams when the editor has the Diagrams extension, so the AI can read, add and change them with the existing tools. A description from addHtmlSchemaAwareness or customNodes still replaces it.

Patch Changes

  • Reduce array initialization overhead during document comparisons.

0.16.4

Patch Changes

  • Rejecting a newly created tracked mark change now restores the original mark when the new mark excludes it, for example when bold text was changed to inline code. Suggestions created before this update keep the old behavior.
  • Keep existing content unchanged when a text or HTML stream produces no content.
  • Return an unknown-tool error for unsupported names such as constructor and __proto__ in direct and streaming tool calls.
  • Release stream transaction listeners even when the error handler throws.

0.16.3

Patch Changes

  • Avoid extra work during document edits after replacing or clearing the active selection.
  • Keep pending AI suggestions at the correct position after local edits followed by remote collaboration updates.

0.16.2

Patch Changes

  • Fix vulnerability GHSA-mrhx-c7xc-m3w5 in zod dependency that caused excessive memory use when validating oversized constrained collections.

0.16.1

0.16.0

Minor Changes

  • Align tracked-change suggestions with the AI Server, preserving attribution across overlapping edits and nested suggestions within block changes.

Patch Changes

  • Improve performance of comparing long documents with many nodes.
  • Improve text comparison performance for AI suggestions and tracked changes.
  • License updates

0.15.4

Patch Changes

  • Keep changed emojis whole in document diffs across all comparison modes and settings.

0.15.3

Patch Changes

  • Release custom node views when AI Toolkit previews are removed or Compare previews fail to render.

0.15.2

Patch Changes

  • Fix formatted suggestion previews inheriting neighboring text marks while preserving their own formatting and plain-text replacement behavior.

0.15.1

Patch Changes

  • Restore the findContentRange API for finding document ranges by hash, HTML, or both.

0.15.0

Minor Changes

  • Allow custom node attribute comparators in inline, smart, and block diffs.
  • Remove the experimental findContentRange method.
  • Remove the undocumented getRangeFromNodeRange method.

Patch Changes

  • Fix an extra item being inserted when the AI edits custom nodes that render as tables.

0.14.2

Patch Changes

  • Preserve structural and insertion node splits when AI edits tracked content.

    Keep node formatting changes inside insertion splits and prevent rejected edits spanning multiple blocks from restoring pending insertions.

  • Preserve separate deletion suggestions that share the same position in the final document.

  • Keep adjacent insertions after deleted content in the correct order.

  • Represent block-wide formatting changes as text suggestions so their formatting can be rejected.

  • Report a suggestion spanning formatted text as one complete range.

  • Track moved formatting boundaries without duplicating unchanged text.

  • Keep suggestion marks in valid schema order alongside existing formatting.

  • Split mixed formatting changes into suggestions that can be reviewed independently.

  • Preserve existing nested suggestions with their original attribution when annotating surrounding content.

  • Preserve structural changes as replacement suggestions when the text stays the same.

  • Preserve structural edits when the same suggestion also changes text formatting.

0.14.1

Patch Changes

  • Prevent pending document comparisons from running after an editor is destroyed.

0.14.0

Minor Changes

  • Tracked Changes integration now supports block splits.

Patch Changes

  • Fix an extra empty row being inserted when the AI edits custom nodes that render as tables.

0.13.3

Patch Changes

  • Fix CommonJS type declaration export paths.

0.13.2

Patch Changes

  • Preserve boundary whitespace consistently when inserting HTML.

0.13.1

Patch Changes

  • Use namespaced AI Toolkit events to synchronize tracked-change comment threads without conflicting with the Tracked Changes extension event payloads.

0.13.0

0.12.2

Patch Changes

  • Add disclaimer banner to build

0.12.1

Patch Changes

  • Fix node hashes assigned by tiptapRead not persisting to the collaborative document when a read runs during an incoming remote update, which could cause later operations to fail with "Node with this hash not found" after a reload

0.12.0

Minor Changes

  • Add client AI Toolkit packages and retain the existing package names as compatibility aliases.