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.3
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.2
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.