mattermost-mobile-upstream/docs/database
Matty Code 20545f1b37 Require agents plugin 2.x, consolidate agent list on /ai_bots, add is_default and turn_count columns
- Raise the plugin version floor to 2.0.0; Agents hides entirely on older plugins
- Rename the agent-list-based observeIsAgentsEnabled to observeHasAgents to
  resolve the collision with the version-based gate of the same name
- Drop the bridge /api/v4/agents client method; fetchAgents now projects the
  plugin /ai_bots response (same bot-user ID space, superset of fields) into
  the rewrite store while persisting bots to the database
- Read the camelCase isDefault field the plugin actually sends; sort cached
  bots default-first so server ordering survives caching
- Drop the bridge-only service_type from the agent selector subtitle
- Add resolveAgentSelection: shared >1-agent picker rule for action entry points
- Single schema migration to v21: ai_bot.is_default, ai_thread.turn_count
  (transformer, comparator, models, docs updated)

Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com>
2026-08-07 05:09:33 -04:00
..
app_database server DB migration to add persistence flag needed by ephemeral mode … (#9740) 2026-05-12 20:50:03 +02:00
server Require agents plugin 2.x, consolidate agent list on /ai_bots, add is_default and turn_count columns 2026-08-07 05:09:33 -04:00