mattermost-mobile-upstream/app/components/autocomplete/at_mention_item
Nick Misasi 7508a583ba
Add AGENT tag in at-mention autocomplete for AI agents (#9507)
* Add agent tag and autocomplete support for AI agents

Display AGENT tag instead of BOT tag for mattermost-ai plugin bots in
at-mention autocomplete and user items. Uses the server's autocomplete
API to reliably distinguish agents from regular bots.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Harden agent e2e test setup: fail on missing bots, surface real errors

Made-with: Cursor

* Address review feedback: add agent tag tests, fix error handling, include agents in search mode

- Add agent_tag.test.tsx unit test matching existing tag test patterns
- Surface real errors in isAgentsPluginActive and getAgentBots instead of swallowing them
- Include agents section in search-mode autocomplete results

Made-with: Cursor

* Apply suggestion from @nickmisasi

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 09:39:26 -04:00
..
index.tsx Add AGENT tag in at-mention autocomplete for AI agents (#9507) 2026-03-26 09:39:26 -04:00