There are a few ways that/contexts from which the File Picker can be invoked (Add File.., Insert Image into TinyMCE, Insert Media into TinyMCE etc.).
Is there a way to know which of these triggered the File Picker, from within your Repository Plugin?
I'm looking for a way to tell my Repository plugin to filter its listings based on how it was invoked.
(originally here, reposting in Respositories Topic for more exposure)