feat: add comment support (list, get, create, update, delete) #3
Reference in New Issue
Block a user
Delete Branch "ITSalt/feat/comment-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
list_comments,get_comment,create_comment,update_comment,delete_commentparentCommentIdNew Tools
list_commentsget_commentcreate_commentupdate_commentdelete_commentImplementation Details
/comments/*API endpoints (available in open-source core)convertProseMirrorToMarkdown()for reading commentsmarkdownToTiptapJson()utility (viamarked+@tiptap/html generateJSON) for writingfilterComment()infilters.tsfor consistent response formattingregisterTool()patternTest plan
list_commentsreturns comments for a page with Markdown contentget_commentreturns a single comment with correct fieldscreate_commentcreates a page-level comment visible in Docmost UIcreate_commentwithtype: "inline"andselectioncreates inline commentcreate_commentwithparentCommentIdcreates a replyupdate_commentupdates comment contentdelete_commentremoves the comment🤖 Generated with Claude Code
Pull request closed