Gosh darn AppIntents. For the life of me, I can’t get EntityStringQuery working in a widget configuration. The UI shows the search box, but it just doesn’t call entities(matching:). Literally already wasted hours on this.
(╯°□°)╯︵ ┻━┻
Finally figured it out after some more random trial and error.
The fix was incredibly silly:
Do *not* provide your query struct as the optionsProvider of the @Parameter. Instead rely on the magic to use your type’s static var defaultQuery.