Improve tool definition of editThreads tool to avoid errors where the AI would sometimes fail to create threads.
Improve prompt of the Comments workflow to avoid errors where the AI would sometimes fail to create threads.
3.0.0-alpha.29
Patch Changes
Improved the tool definition of tiptapEdit to make edits more efficient.
3.0.0-alpha.28
Patch Changes
Bump version to align with refactored Tiptap edit implementation in the core AI Toolkit.
3.0.0-alpha.27
Patch Changes
Bump version to align with updated getThreads pagination semantics in the core AI Toolkit.
3.0.0-alpha.26
Patch Changes
Update getThreads tool schema to require a from index for pagination.
3.0.0-alpha.25
Major Changes
Breaking: Remove server tool definitions and exports from this package.
3.0.0-alpha.24
Major Changes
Breaking: Change editThreads tool to use a new, more efficient format. The new format is faster, more efficient, uses fewer tokens, and avoids diff mismatch errors completely, significantly improving the accuracy of the tool.
3.0.0-alpha.23
Patch Changes
Enable structured outputs by default for tiptapRead and tiptapEdit tools. This fixes a bug where Claude Haiku 4.5 would sometimes not call the tools correctly.
3.0.0-alpha.22
Major Changes
Upgrade to Vercel AI SDK v6.
3.0.0-alpha.21
Minor Changes
Server AI Toolkit tool definitions
3.0.0-alpha.20
Major Changes
Add tiptapEdit, tiptapRead, and tiptapReadSelection tools and set them as default. Remove readNodeRange, readSelection, insertContent and applyPatch tools.
3.0.0-alpha.19
Minor Changes
Add tiptapEdit, tiptapRead, and tiptapReadSelection tools that make edits faster and more efficient. These tools are experimental and opt-in.
3.0.0-alpha.18
Patch Changes
Fix bug that caused the AI to not read the document at the beginning of the chat interaction.
3.0.0-alpha.17
Patch Changes
Fix bug that caused the AI to read the entire document when it was not necessary to do so.
3.0.0-alpha.16
Patch Changes
Fix bug that caused the AI to read the incorrect content of the document after updating the document.
3.0.0-alpha.15
Patch Changes
Fix bug where new threads and comments were not created in the right position of the document.
3.0.0-alpha.14
Major Changes
New format for the tool input of the applyPatch tool. This format makes the tool definitions simpler and more consistent.
Improved tool output and tool definitions of all the built-in tools.
Requires upgrading to a version of the @tiptap-pro/ai-toolkit package that is equal or higher than 3.0.0-alpha.37
3.0.0-alpha.13
Major Changes
Makes the insertContent tool independent of the format of the content, by renaming the "html" property to "content".
Requires upgrading to a version of the @tiptap-pro/ai-toolkit package that is equal or higher than 3.0.0-alpha.36
Patch Changes
Fixes bug in insertContent tool where the activeNodeRange is not a valid value for the position.
Fixes bug where the insertContent tool would cause the activeNodeRange to always reset to 0.
3.0.0-alpha.12
Major Changes
Add new editThreads and getThreads tools for AI-powered comment and thread management
Requires upgrading to a version of the @tiptap-pro/ai-toolkit package that is equal or higher than 3.0.0-alpha.26
3.0.0-alpha.11
Major Changes
Rename applyDiff tool to applyPatch
Improve format and tool definition of the applyDiff tool (now called applyPatch) so that the AI generates a list of patch operations. This improves accuracy (because the AI is not tempted to do unnecessary jumps) and reduces token usage significantly
3.0.0-alpha.10
Minor Changes
Add activeNodeRange position to the insertContent tool to allow the AI to insert content at the active node range. This improves the accuracy of the edits when the applyDiff tool is disabled.
3.0.0-alpha.9
Minor Changes
Experimental implementation of the AI Toolkit + Pages extension integration. Introduces the readPage tool.
3.0.0-alpha.8
Major changes
Improve tool definitions of readSelection and insertContent tools to fix a bug where the AI inserts the content in the wrong place if the user changes the selection after the AI reads the selection. Requires a version of the AI Toolkit equal or higher than 3.0.0-alpha-17
3.0.0-alpha.7
Major Changes
Requires upgrading to a version of the @tiptap-pro/ai-toolkit package that is equal or higher than 3.0.0-alpha.14
Improved tool definitions for reading and editing the document
3.0.0-alpha.6
Minor Changes
Improve readFirstChunk tool description
3.0.0-alpha.5
Patch Changes
Refactor: Get tool definitions from @tiptap-pro/ai-toolkit-tool-definitions package
3.0.0-alpha.4
Patch Changes
Improve tool description of the insertContent tool to avoid being called with invalid input.
3.0.0-alpha.3
Minor changes
Simplify and improve prompt to use applyDiff tool more often
3.1.0-alpha.2
Patch Changes
Improve tool definitions so that the behaviour or the AI agent is correct when no system prompt is provided.
3.1.0-alpha.1
Major changes
Initial alpha release of the AI Toolkit for the AI SDK by Vercel