0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-ai/spec/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
automation FEATURE: extract text from document uploads for LLM prompts (#39634) 2026-05-05 08:16:23 +10:00
completions FEATURE: add AI agent thinking effort (#41280) 2026-07-01 17:03:19 -03:00
discord/bot FIX: Run Discord agents as their associated user (#40914) 2026-06-15 18:00:30 -03:00
discourse_automation FIX: Avoid duplicate AI triage reviewables for spam flags (#41043) 2026-06-22 13:01:42 +08:00
discourse_workflows/nodes FEATURE: Support AI agent workflow uploads and runner (#41042) 2026-06-19 18:06:17 +02:00
inference
inferred_concepts DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
mcp DEV: Support other OAuth token auth methods (#41219) 2026-06-26 20:30:53 +08:00
modules FIX: Avoid duplicate AI triage reviewables when review precedes spam (#41079) 2026-06-22 15:48:56 +08: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_spec.rb FEATURE: AI highlights for new dashboard (#40740) 2026-06-10 23:00:35 +08:00
ai_api_audit_log_cleanup_spec.rb FEATURE: Also delete api logs when user / user content is deleted (#41122) 2026-06-24 15:21:00 +08:00
guardian_extensions_spec.rb SECURITY: Force regeneration for edit-outdated summaries and block stale fallback 2026-03-31 15:12:45 +01:00