In the document editor, I'd like to be able to mention @Polleps. But I can't because the /query endpoint only searches in my current drive / hierarchy.
Some options:
Default search in current drive + all agents
- All agents can be messy / a lot. If a lot of agents are on your server, it will be messy.
Default search in all "my" drives + all agents
Front-end does a second query, specifically for agents
- We may need to change some indexing logic for this
IncludeAgents option in /query endpoint
- We only use this when doing a mention
Keep track of "friends" or "connections" somewhere
If we store user profiles in a drive context, we don't need custom search. But we'll do need to store profile data in drive scope.