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/test/javascripts/integration/components
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
..
ai-admin-dashboard-highlight-test.gjs FIX: Prevent off-by-one date periods for dashboard highlights vs sections (#41315) 2026-07-01 14:55:29 +08:00
ai-default-llm-selector-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
ai-features-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
ai-helper-custom-prompt-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
ai-indicator-wave-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
ai-mcp-server-editor-form-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
ai-search-discoveries-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
ai-tool-approval-test.gjs FEATURE: Add AI agent suspend/silence tools with inline approval review (#41497) 2026-07-10 10:59:51 -03:00
ai-tool-list-editor-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
ai-topic-gist-test.gjs DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00