ZIm/crates/context_servers/src
David Soria Parra 5bae6eb493
context_servers: Completion support for context server slash commands (#17085)
This PR adds support for completions via MCP. The protocol now supports
a new request type "completion/complete"
that can either complete a resource URI template (which we currently
don't use in Zed), or a prompt argument.
We use this to add autocompletion to our context server slash commands!


https://github.com/user-attachments/assets/08c9cf04-cbeb-49a7-903f-5049fb3b3d9f



Release Notes:

- context_servers: Added support for argument completions for context
server prompts. These show up as regular completions to slash commands.
2024-08-29 16:56:58 -04:00
..
client.rs context_servers: Add initial implementation (#16103) 2024-08-15 10:49:30 -04:00
context_servers.rs context_servers: Log errors from detached context server tasks (#16377) 2024-08-16 13:50:19 -07:00
manager.rs context_servers: Log errors from detached context server tasks (#16377) 2024-08-16 13:50:19 -07:00
protocol.rs context_servers: Completion support for context server slash commands (#17085) 2024-08-29 16:56:58 -04:00
registry.rs context_servers: Add initial implementation (#16103) 2024-08-15 10:49:30 -04:00
types.rs context_servers: Completion support for context server slash commands (#17085) 2024-08-29 16:56:58 -04:00