0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/plugins/discourse-ai/lib
Gabriel Grubba cc14e6e402
FEATURE: Add AI agent suspend/silence tools with inline approval review (#41497)
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>
2026-07-10 10:59:51 -03:00
..
admin_dashboard FEATURE: Scoped AI highlights to user-selected categories (#41506) 2026-07-09 11:38:30 +08:00
agents FEATURE: Add AI agent suspend/silence tools with inline approval review (#41497) 2026-07-10 10:59:51 -03:00
ai_bot FIX: Allow AI bot conversations when PM creation is restricted (#41232) 2026-06-29 11:06:39 -05:00
ai_helper FIX: Bust cache so that group additions to AI helper can take effect (#41539) 2026-07-08 21:41:30 +08:00
ai_moderation DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00
ai_tool_scripts FEATURE: Add category definition filters and AI filterTopics binding (#39478) 2026-04-23 17:07:07 +10:00
automation FIX: Avoid duplicate AI triage reviewables when review precedes spam (#41079) 2026-06-22 15:48:56 +08:00
completions FEATURE: add AI agent thinking effort (#41280) 2026-07-01 17:03:19 -03:00
configuration FEATURE: Provider-native built-in tools for agents (web search) (#40809) 2026-06-16 14:37:51 -03:00
database
discord/bot FIX: Run Discord agents as their associated user (#40914) 2026-06-15 18:00:30 -03:00
discover DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
embeddings DEV: Tidy plugin API key scope resource names (#38640) 2026-03-17 13:03:42 +11:00
inference DEV: Make persona image tools platform agnostic (#36195) 2025-11-26 09:36:24 -08:00
inferred_concepts DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
mcp FEATURE: Add advanced OAuth options for MCP servers (#38913) 2026-04-01 08:47:23 +11:00
sentiment DEV: Let plugins exclude reports from the customisable dashboard (#40463) 2026-06-03 16:36:01 +03:00
summarization DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
tasks FEATURE: Add agent-backed sentiment classification (#40136) 2026-05-26 10:32:54 -03:00
translation FEATURE: Add category scope for AI translations (#41585) 2026-07-10 09:39:20 +08:00
utils SECURITY: Harden imagemagick execution 2026-06-30 16:10:52 +02:00
admin_dashboard.rb FEATURE: AI highlights for new dashboard (#40740) 2026-06-10 23:00:35 +08:00
ai_api_audit_log_cleaner.rb FEATURE: Also delete api logs when user / user content is deleted (#41122) 2026-06-24 15:21:00 +08:00
ai_bot.rb FIX: Allow AI bot conversations when PM creation is restricted (#41232) 2026-06-29 11:06:39 -05:00
automation.rb FIX: Avoid duplicate AI triage reviewables for spam flags (#41043) 2026-06-22 13:01:42 +08:00
embeddings.rb
engine.rb DEV: Add DiscourseAi.register_feature public API (#39127) 2026-05-12 10:16:07 +08:00
guardian_extensions.rb FIX: Allow AI bot conversations when PM creation is restricted (#41232) 2026-06-29 11:06:39 -05:00
multisite_hash.rb
post_extensions.rb
summarization.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
topic_extensions.rb FEATURE: Star AI bot conversations in sidebar (#39869) 2026-05-14 15:04:31 +10:00
translation.rb FEATURE: Add category scope for AI translations (#41585) 2026-07-10 09:39:20 +08:00