mirror of
https://github.com/discourse/discourse.git
synced 2026-08-07 13:19:19 +08:00
Previously, AI agents had no way to suspend or silence users, and approving any moderation tool action meant leaving the conversation for the `/review` queue. This change adds `suspend_user`/`silence_user` tools that always require moderator approval, and lets moderators approve or reject those actions from an inline review card right in the bot conversation — credited to the approving moderator (not the bot) in the staff action log — instead of switching to the `/review` queue. Demo of this feature: https://github.com/user-attachments/assets/b9605511-e53d-483d-b435-b212694cdf53 https://github.com/user-attachments/assets/383bda5d-93ee-4758-a51e-6162ea0d57ee --------- Co-authored-by: Penar Musaraj <pmusaraj@gmail.com> |
||
|---|---|---|
| .. | ||
| add_reviewable_note.rb | ||
| assign.rb | ||
| close_topic.rb | ||
| create_artifact.rb | ||
| create_image.rb | ||
| custom.rb | ||
| db_schema.rb | ||
| delete_topic.rb | ||
| discourse_meta_search.rb | ||
| edit_category.rb | ||
| edit_image.rb | ||
| edit_post.rb | ||
| edit_tags.rb | ||
| flag_post.rb | ||
| github_diff.rb | ||
| github_file_content.rb | ||
| github_search_code.rb | ||
| github_search_files.rb | ||
| google.rb | ||
| grant_badge.rb | ||
| image.rb | ||
| javascript_evaluator.rb | ||
| list_categories.rb | ||
| list_reviewables.rb | ||
| list_tags.rb | ||
| lock_post.rb | ||
| mark_as_solved.rb | ||
| mcp.rb | ||
| move_posts.rb | ||
| option.rb | ||
| perform_reviewable_action.rb | ||
| random_picker.rb | ||
| read.rb | ||
| read_artifact.rb | ||
| researcher.rb | ||
| search.rb | ||
| search_settings.rb | ||
| search_uploaded_documents.rb | ||
| set_slow_mode.rb | ||
| set_topic_timer.rb | ||
| setting_context.rb | ||
| silence_user.rb | ||
| summarize.rb | ||
| suspend_user.rb | ||
| time.rb | ||
| tool.rb | ||
| unlist_topic.rb | ||
| update_artifact.rb | ||
| web_browser.rb | ||