Structured API methods for programmatic access
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Currently, we can send commands like /resume, /doctor etc. and receive information through chat/contentReceived notifications. This works, however it doesn't integrate well with existing UI patterns in different IDEs and editors.
Example use case: I would like to get a list of all chats as structured data in Emacs, so I can use native completion UI for quick chat selection with fuzzy search and filtering.
Question: Is there a way to get this information programmatically? If not, could this be added? I think this would significantly improve the UX.
I'm not sure if my request is relevant, but I couldn't find a way to do this in the protocol documentation
Yeah you are right, I want to improve this communication with probably a new message in protocol to not couple to chat and have details programatically, especially about commands communication (user do something, expect something, in loop).
But before that I need to understand the use cases so we can think in the best protocol message that would work for all editors. For example, the list of chats available/open are already in client side, they already have that in their session so one could add a function in the client to list all clients with no changes in server