As an extension to the new text processing OCP API (#38854), we would like to implement a frontend component using this API. It would allow apps to push text content to a UI element that would then let users choose a task to perform. The result would be passed back to the app's frontend.
The event bus could be used to let apps communication with this widget.